hbmartin commited on
Commit
4bdd262
·
1 Parent(s): a6e02b9

update gitignore and readme

Browse files
.gitignore CHANGED
@@ -1,4 +1,10 @@
1
- *.py[oc]
 
 
 
 
 
 
2
 
3
  # Temp files
4
  *~
@@ -7,17 +13,46 @@
7
  \#*
8
  .#*
9
  *#
10
- dist
11
- .DS_Store
12
 
13
- # Build files
14
- build
15
- dist
16
- pkg
 
 
 
 
 
 
 
 
 
 
 
 
17
  *.egg
18
- *.egg-info
 
 
 
 
 
 
19
 
20
- # Test files
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  .pytest_cache/
22
 
23
  # Debian Files
@@ -30,8 +65,6 @@ doc/_build
30
  # Generated man page
31
  doc/aws_hostname.1
32
 
33
- .coverage
34
- .cache
35
  _run.py
36
  _devfiles/*
37
 
@@ -41,9 +74,54 @@ _templates
41
  _autosummary
42
  .pytest_cache*
43
 
44
- # IDE Files
45
- .idea/
46
- #Pycharm stuff
47
- .idea/*
48
-
49
  .vscode/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
 
9
  # Temp files
10
  *~
 
13
  \#*
14
  .#*
15
  *#
 
 
16
 
17
+ # Distribution / packaging
18
+ .Python
19
+ build/
20
+ develop-eggs/
21
+ dist/
22
+ downloads/
23
+ eggs/
24
+ .eggs/
25
+ lib/
26
+ lib64/
27
+ parts/
28
+ sdist/
29
+ var/
30
+ wheels/
31
+ *.egg-info/
32
+ .installed.cfg
33
  *.egg
34
+ MANIFEST
35
+
36
+ # PyInstaller
37
+ # Usually these files are written by a python script from a template
38
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
39
+ *.manifest
40
+ *.spec
41
 
42
+ # Installer logs
43
+ pip-log.txt
44
+ pip-delete-this-directory.txt
45
+
46
+ # Unit test / coverage reports
47
+ htmlcov/
48
+ .tox/
49
+ .coverage
50
+ .coverage.*
51
+ .cache
52
+ nosetests.xml
53
+ coverage.xml
54
+ *.cover
55
+ .hypothesis/
56
  .pytest_cache/
57
 
58
  # Debian Files
 
65
  # Generated man page
66
  doc/aws_hostname.1
67
 
 
 
68
  _run.py
69
  _devfiles/*
70
 
 
74
  _autosummary
75
  .pytest_cache*
76
 
 
 
 
 
 
77
  .vscode/
78
+
79
+ # mkdocs documentation
80
+ /site
81
+
82
+ # mypy
83
+ .mypy_cache/
84
+
85
+ # Mac
86
+ .DS_Store
87
+ .AppleDouble
88
+ .LSOverride
89
+
90
+ # Icon must end with two \r
91
+ Icon?
92
+ Icon
93
+
94
+
95
+ # Thumbnails
96
+ ._*
97
+
98
+ # Files that might appear in the root of a volume
99
+ .DocumentRevisions-V100
100
+ .fseventsd
101
+ .Spotlight-V100
102
+ .TemporaryItems
103
+ .Trashes
104
+ .VolumeIcon.icns
105
+ .com.apple.timemachine.donotpresent
106
+
107
+ # Directories potentially created on remote AFP share
108
+ .AppleDB
109
+ .AppleDesktop
110
+ Network Trash Folder
111
+ Temporary Items
112
+ .apdisk
113
+
114
+ .dropbox
115
+
116
+ # Generated
117
+ test/**/*.xml
118
+ /*.gv
119
+ /*.dot
120
+ /*.xml
121
+
122
+ # PyCharm
123
+ .idea/workspace.xml
124
+ .idea/usage.statistics.xml
125
+ .idea/tasks.xml
126
+ .idea/modules.xml
127
+ .idea/*.iml
.idea/inspectionProfiles/profiles_settings.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <component name="InspectionProjectProfileManager">
2
+ <settings>
3
+ <option name="USE_PROJECT_PROFILE" value="false" />
4
+ <version value="1.0" />
5
+ </settings>
6
+ </component>
.idea/misc.xml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.7" project-jdk-type="Python SDK" />
4
+ </project>
.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
README.md CHANGED
@@ -1,15 +1,15 @@
1
 
2
  <div align="center">
3
  <p>
4
- <img src="https://github.com/nficano/pytube/blob/master/images/pytube.png?raw=true" width="350" height="328" alt="pytube logo" />
5
  </p>
6
  <p align="center">
7
- <img src="https://img.shields.io/pypi/v/pytube.svg" alt="pypi">
8
- <a href="https://travis-ci.org/nficano/pytube"><img src="https://travis-ci.org/nficano/pytube.svg?branch=master" /></a>
9
  <a href="http://python-pytube.readthedocs.io/en/latest/?badge=latest"><img src="https://readthedocs.org/projects/python-pytube/badge/?version=latest" /></a>
10
- <a href="https://coveralls.io/github/nficano/pytube?branch=master"><img src="https://coveralls.io/repos/github/nficano/pytube/badge.svg?branch=master#23e6f7ac56dd3bde" /></a>
11
- <a href="https://pypi.org/project/pytube/"><img src="https://img.shields.io/pypi/dm/pytube.svg" alt="pypi"></a>
12
- <a href="https://pypi.python.org/pypi/pytube/"><img src="https://img.shields.io/pypi/pyversions/pytube.svg" /></a>
13
  </p>
14
  </div>
15
 
@@ -54,8 +54,9 @@ Finally *pytube* also includes a command-line utility, allowing you to quickly d
54
  Download using pip via pypi.
55
 
56
  ```bash
57
- $ pip install pytube
58
  ```
 
59
 
60
  ## Getting started
61
 
@@ -232,3 +233,11 @@ $ pytube http://youtube.com/watch?v=9bZkp7q19f0 --list
232
  ```
233
 
234
  Finally, if you're filing a bug report, the cli contains a switch called ``--build-playback-report``, which bundles up the state, allowing others to easily replay your issue.
 
 
 
 
 
 
 
 
 
1
 
2
  <div align="center">
3
  <p>
4
+ <img src="https://github.com/hbmartin/pytube3/blob/master/images/pytube.png?raw=true" width="350" height="328" alt="pytube logo" />
5
  </p>
6
  <p align="center">
7
+ <img src="https://img.shields.io/pypi/v/pytube3.svg" alt="pypi">
8
+ <a href="https://travis-ci.org/hbmartin/pytube3"><img src="https://travis-ci.org/hbmartin/pytube3.svg?branch=master" /></a>
9
  <a href="http://python-pytube.readthedocs.io/en/latest/?badge=latest"><img src="https://readthedocs.org/projects/python-pytube/badge/?version=latest" /></a>
10
+ <a href="https://coveralls.io/github/hbmartin/pytube3?branch=master"><img src="https://coveralls.io/repos/github/hbmartin/pytube3/badge.svg?branch=master" /></a>
11
+ <a href="https://pypi.python.org/pypi/pytube3/"><img src="https://img.shields.io/pypi/pyversions/pytube3.svg" /></a>
12
+ <a href="https://github.com/ambv/black"><img src="https://img.shields.io/badge/code%20style-black-000000.svg" /></a>
13
  </p>
14
  </div>
15
 
 
54
  Download using pip via pypi.
55
 
56
  ```bash
57
+ $ pip install pytube3 --upgrade
58
  ```
59
+ Mac/homebrew users may need to use ``pip3``
60
 
61
  ## Getting started
62
 
 
233
  ```
234
 
235
  Finally, if you're filing a bug report, the cli contains a switch called ``--build-playback-report``, which bundles up the state, allowing others to easily replay your issue.
236
+
237
+ ## Contributing
238
+
239
+ Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
240
+
241
+ ### Code Formatting
242
+
243
+ This project is linted with [pyflakes](https://github.com/PyCQA/pyflakes) and makes strict use of [Black](https://github.com/ambv/black) for code formatting.
setup.py CHANGED
@@ -81,7 +81,7 @@ setup(
81
  'Topic :: Terminals',
82
  'Topic :: Utilities',
83
  ],
84
- description=('A pythonic library for downloading YouTube Videos.'),
85
  include_package_data=True,
86
  long_description_content_type='text/markdown',
87
  long_description=long_description,
 
81
  'Topic :: Terminals',
82
  'Topic :: Utilities',
83
  ],
84
+ description=('Python 3 library for downloading YouTube Videos.'),
85
  include_package_data=True,
86
  long_description_content_type='text/markdown',
87
  long_description=long_description,