Skip to content

Commit

Permalink
Major: Refactor to packages
Browse files Browse the repository at this point in the history
  • Loading branch information
houtianze committed Jan 2, 2017
1 parent 05525eb commit 87b5431
Show file tree
Hide file tree
Showing 56 changed files with 11,290 additions and 241 deletions.
2 changes: 1 addition & 1 deletion .idea/bypy.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 3 additions & 10 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

289 changes: 240 additions & 49 deletions .idea/workspace.xml

Large diffs are not rendered by default.

9 changes: 3 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,9 @@ install:
- pip install coveralls
# command to run tests, e.g. python setup.py test
script:
- pyflakes bypy.py
- pyflakes setup.py
- pyflakes bypygui.pyw
- python setup.py test
- python -m doctest -v bypy.py
- cd test && coverage run test.py
- pyflakes bypy
- echo "[disabled] python -m doctest -v bypy.py"
- python -m coverage run -m bypy
notifications:
email:
on_success: change # default: change
Expand Down
13 changes: 13 additions & 0 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
First of all, thank you very much for submitting codes / pull requests
to this little project. :smile:

I want the whole project to be licensed under the permissive **MIT
license**, so that anybody can use it pretty much anyway they want. So
by submitting codes / changes to this project, you agree to license all
of them under the **MIT license** to this project.

--------------

首先,非常感谢你对这个小工具提交的代码/改动。 :smile:

我希望整个项目都是使用\ **MIT授权协议**\ 的,好让每个人使用的时候几乎不受任何限制。所以通过向这个项目提交代码/改动,你同意将它们全部用\ **MIT协议**\ 授权给这个项目。
31 changes: 31 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Version History:
~~~~~~~~~~~~~~~~

- 1.2.22: Fix "TypeError: b'xxxxxx' is not JSON serializable" for cache
- 1.2.21: Support aria2 downloading resuming (disable preallocation)
- 1.2.20: Fix an error in upload resuming; Add in retries for aria2
- 1.2.19: Add in aria2 download support
- 1.2.18: Add in upload resuming using slices; Fix Unicode issue with
py2\_jsondump(); Fix the pypi setup package
- 1.2.17: Fix UnicodeEncodeError on redirect; Add in retry on urllib3
TimeOutError
- 1.2.16: Add in proxy prompts
- 1.2.15: Fix a severe bug (accidental directory deletion) in
``download`` command intoduced in 1.2.14
- 1.2.14: Add in ``download`` command
- 1.2.13: Remove argcomplete; Improve encoding handling prompting
- 1.2.12: Add in (optional) argcomplete
- 1.2.11: Fix Exception in error dump introduced in 1.2.10
- 1.2.10: Handle (32, 'EPIPE'); Warn LOUDLY on encoding failures;
Remove 'is\_revision'
- 1.2.9: Fix formatex() Syntax Error; Handle (110, 'ETIMEDOUT')
- 1.2.8: Fix a Syntax Error; Handle {'error\_code': 0, 'error\_msg':
'no error'}
- 1.2.7: Fix Hash Cache JSON saving (need to using string for Hashes)
- 1.2.6: Fix Hash Cache JSON dumping (``Unicode`` again)
- 1.2.5: Add in offline (cloud) download; Fix stack printing
- 1.2.4: Fix command line parsing for Python 3 (``Unicode`` by default)
- 1.2.3: Fix GUI for Python 3
- 1.2.2: Fix division for Python 3
- 1.2.1: Make it ``universal`` (Python 2 & 3 compatible)
- 1.0.20: Initial release
6 changes: 3 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include LICENSE
include README.md
include HISTORY.md
include CONTRIBUTING.md
include README.rst
include HISTORY.rst
include CONTRIBUTING.rst
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,5 +199,9 @@ Tips / Sharing
Please go to [wiki](../../wiki)

===
Copyright 2015: Hou Tianze (GitHub: houtianze)

PCS API Document: http://developer.baidu.com/wiki/index.php?title=docs/pcs/rest/file_data_apis_list

===
Copyright 2015: Hou Tianze and contributors (see https://github.com/houtianze/bypy/graphs/contributors for more details)
License: MIT
Loading

0 comments on commit 87b5431

Please sign in to comment.