Skip to content

Commit

Permalink
Refactor api.py and change directory structure (#698)
Browse files Browse the repository at this point in the history
* Refactor api.py and change directory structure

* [Fix] use bytearray in 2 and 3

* [Fix] avoid possible conflicts between pycrypto and pycryptodome

* Update README
  • Loading branch information
kigawas authored May 21, 2018
1 parent 23bedaf commit 502d3e7
Show file tree
Hide file tree
Showing 24 changed files with 498 additions and 492 deletions.
89 changes: 62 additions & 27 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,26 +1,35 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
bin/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
Expand All @@ -30,47 +39,73 @@ pip-delete-this-directory.txt
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo

# Mr Developer
.mr.developer.cfg
.project
.pydevproject

# Rope
.ropeproject
*.pot

# Django stuff:
*.log
*.pot
local_settings.py
db.sqlite3

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# ctags
tags
# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

src/.idea/*
.idea/*
# celery beat schedule file
celerybeat-schedule

# ignore mac file
.DS_Store
src/.DS_Store
# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
venv2/
venv3/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# ignore demo
out.gif
# mkdocs documentation
/site

# ignore swp files
NEMbox/*.swp
# mypy
.mypy_cache/

# ignore TEST files
TEST
# vscode
.vscode/

# virtualenv
venv
/test.py
setup.cfg
12 changes: 6 additions & 6 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@

2015-10-14 版本 0.1.9.7 新增歌曲播放提醒

2015-10-13 版本 0.1.9.6 修复因 cookie 过期导致的登陆问题
2015-10-13 版本 0.1.9.6 修复因 cookie 过期导致的登录问题

2015-10-13 版本 0.1.9.5 新增自定义全局快捷键功能

2015-09-25 版本 0.1.9.4 修复部分列表无法暂停问题

2015-09-25 版本 0.1.9.2 新增版本检查和更新提醒功能

2015-09-24 版本 0.1.9.0 优化登陆逻辑,修复每日推荐的登陆问题
2015-09-24 版本 0.1.9.0 优化登录逻辑,修复每日推荐的登录问题

2015-09-23 版本 0.1.8.5 优化电台FM功能逻辑

Expand All @@ -80,7 +80,7 @@

2015-08-02 版本 0.1.6.2 新增显示播放进度

2015-07-30 版本 0.1.6.0 修复由于接口更换导致的用户登陆问题
2015-07-30 版本 0.1.6.0 修复由于接口更换导致的用户登录问题

2015-06-17 版本 0.1.5.6 优化对过长歌曲信息的显示

Expand All @@ -102,7 +102,7 @@

2015-03-18 版本 0.1.3.3 修复Ubuntu等系统SSL登录报错问题

2015-02-28 版本 0.1.3.2 修复170等新增号段手机用户无法登陆的问题
2015-02-28 版本 0.1.3.2 修复170等新增号段手机用户无法登录的问题

2015-02-05 版本 0.1.3.1 修复登录无法保存的问题

Expand All @@ -114,6 +114,6 @@

2015-01-08 版本 0.1.2.0 增加音量控制

2015-01-03 版本 0.1.1.1 修复部分仅手机注册用户登录无法登陆 (感谢Catofes反馈)
2015-01-03 版本 0.1.1.1 修复部分仅手机注册用户登录无法登录 (感谢Catofes反馈)

2015-01-02 版本 0.1.1.0 新增退出并清除用户信息功能
2015-01-02 版本 0.1.1.0 新增退出并清除用户信息功能
18 changes: 8 additions & 10 deletions NEMbox/__init__.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
#!/usr/bin/env python
# encoding: UTF-8
# -*- coding: utf-8 -*-
'''
网易云音乐 Entry
'''
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import division
from __future__ import absolute_import
from builtins import str
from future import standard_library
standard_library.install_aliases()

from __future__ import (
print_function, unicode_literals, division, absolute_import
)
import curses
import traceback
import argparse
import sys

from future.builtins import str

from .menu import Menu
version = "0.2.4.2"

version = '0.2.4.3'


def start():
Expand Down
Loading

0 comments on commit 502d3e7

Please sign in to comment.