Skip to content

Commit 41dbe1f

Browse files
committed
0.4.0: Added 3.6, updated DummyApp, closes #6
1 parent 8ea0aa3 commit 41dbe1f

File tree

7 files changed

+343
-7
lines changed

7 files changed

+343
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Python Standard Library List
22
============================
33

4-
This package includes lists of all of the standard libraries for Python 2.6, 2.7, 3.2, 3.3, 3.4 and 3.5, along with the code for scraping the official Python docs to get said lists.
4+
This package includes lists of all of the standard libraries for Python 2.6, 2.7, 3.2, 3.3, 3.4, 3.5, and 3.6, along with the code for scraping the official Python docs to get said lists.
55

66
Listing the modules in the standard library? Wait, why on Earth would you care about that?!
77
-------------------------------------------------------------------------------------------

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Python Standard Library List
22
----------------------------
33

4-
This package includes lists of all of the standard libraries for Python 2.6, 2.7, 3.2, 3.3, and 3.4, along with the code for scraping the official Python docs to get said lists.
4+
This package includes lists of all of the standard libraries for Python 2.6, 2.7, 3.2, 3.3, 3.4, 3.5, and 3.6, along with the code for scraping the official Python docs to get said lists.
55

66
Listing the modules in the standard library? Wait, why on Earth would you care about that?!
77
===========================================================================================

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
url='https://github.com/jackmaney/python-stdlib-list',
1818
version=__version__,
1919
extras_require={"develop": ["sphinx"]},
20-
description='A list of Python Standard Libraries (2.6-7, 3.2-5).',
20+
description='A list of Python Standard Libraries (2.6-7, 3.2-6).',
2121
long_description=long_description,
2222
include_package_data=True,
2323
packages=setuptools.find_packages()

stdlib_list/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
base_dir = os.path.dirname(os.path.realpath(__file__))
77
list_dir = os.path.join(base_dir, "lists")
88

9-
long_versions = ["2.6.9", "2.7.9", "3.2.6", "3.3.6", "3.4.3", "3.5"]
9+
long_versions = ["2.6.9", "2.7.9", "3.2.6", "3.3.6", "3.4.3", "3.5", "3.6"]
1010

1111
short_versions = [".".join(x.split(".")[:2]) for x in long_versions]
1212

stdlib_list/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.3.4"
1+
__version__ = "0.4.0"

stdlib_list/fetch.py

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
1-
from sphinx.ext.intersphinx import fetch_inventory
2-
import warnings
31
import os
2+
import warnings
3+
4+
from sphinx.ext.intersphinx import fetch_inventory
45

56
from . import base_dir, get_canonical_version, short_versions, list_dir
67

78

9+
class DummyConfig(object):
10+
def __init__(self, intersphinx_mapping=None, intersphinx_cache_limit=5, intersphinx_timeout=None):
11+
self.intersphinx_mapping = intersphinx_mapping or {}
12+
self.intersphinx_cache_limit = intersphinx_cache_limit
13+
self.intersphinx_timeout = intersphinx_timeout
14+
self.tls_verify = True
15+
16+
817
class DummyApp(object):
918
"""
1019
Dummy app object for `fetch_inventory`_ to work.
@@ -16,6 +25,11 @@ def __init__(self):
1625
self.srcdir = base_dir
1726
self.warn = warnings.warn
1827

28+
self.config = DummyConfig()
29+
30+
def info(self, msg):
31+
print("DummyApp.info: {}".format(msg))
32+
1933

2034
def fetch_list(version=None):
2135
"""

stdlib_list/lists/3.6.txt

Lines changed: 322 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,322 @@
1+
__future__
2+
__main__
3+
_dummy_thread
4+
_thread
5+
abc
6+
aifc
7+
argparse
8+
array
9+
ast
10+
asynchat
11+
asyncio
12+
asyncore
13+
atexit
14+
audioop
15+
base64
16+
bdb
17+
binascii
18+
binhex
19+
bisect
20+
builtins
21+
bz2
22+
cProfile
23+
calendar
24+
cgi
25+
cgitb
26+
chunk
27+
cmath
28+
cmd
29+
code
30+
codecs
31+
codeop
32+
collections
33+
collections.abc
34+
colorsys
35+
compileall
36+
concurrent.futures
37+
configparser
38+
contextlib
39+
copy
40+
copyreg
41+
crypt
42+
csv
43+
ctypes
44+
curses
45+
curses.ascii
46+
curses.panel
47+
curses.textpad
48+
datetime
49+
dbm
50+
dbm.dumb
51+
dbm.gnu
52+
dbm.ndbm
53+
decimal
54+
difflib
55+
dis
56+
distutils
57+
distutils.archive_util
58+
distutils.bcppcompiler
59+
distutils.ccompiler
60+
distutils.cmd
61+
distutils.command
62+
distutils.command.bdist
63+
distutils.command.bdist_dumb
64+
distutils.command.bdist_msi
65+
distutils.command.bdist_packager
66+
distutils.command.bdist_rpm
67+
distutils.command.bdist_wininst
68+
distutils.command.build
69+
distutils.command.build_clib
70+
distutils.command.build_ext
71+
distutils.command.build_py
72+
distutils.command.build_scripts
73+
distutils.command.check
74+
distutils.command.clean
75+
distutils.command.config
76+
distutils.command.install
77+
distutils.command.install_data
78+
distutils.command.install_headers
79+
distutils.command.install_lib
80+
distutils.command.install_scripts
81+
distutils.command.register
82+
distutils.command.sdist
83+
distutils.core
84+
distutils.cygwinccompiler
85+
distutils.debug
86+
distutils.dep_util
87+
distutils.dir_util
88+
distutils.dist
89+
distutils.errors
90+
distutils.extension
91+
distutils.fancy_getopt
92+
distutils.file_util
93+
distutils.filelist
94+
distutils.log
95+
distutils.msvccompiler
96+
distutils.spawn
97+
distutils.sysconfig
98+
distutils.text_file
99+
distutils.unixccompiler
100+
distutils.util
101+
distutils.version
102+
doctest
103+
dummy_threading
104+
email
105+
email.charset
106+
email.contentmanager
107+
email.encoders
108+
email.errors
109+
email.generator
110+
email.header
111+
email.headerregistry
112+
email.iterators
113+
email.message
114+
email.mime
115+
email.parser
116+
email.policy
117+
email.utils
118+
encodings.idna
119+
encodings.mbcs
120+
encodings.utf_8_sig
121+
ensurepip
122+
enum
123+
errno
124+
faulthandler
125+
fcntl
126+
filecmp
127+
fileinput
128+
fnmatch
129+
formatter
130+
fpectl
131+
fractions
132+
ftplib
133+
functools
134+
gc
135+
getopt
136+
getpass
137+
gettext
138+
glob
139+
grp
140+
gzip
141+
hashlib
142+
heapq
143+
hmac
144+
html
145+
html.entities
146+
html.parser
147+
http
148+
http.client
149+
http.cookiejar
150+
http.cookies
151+
http.server
152+
imaplib
153+
imghdr
154+
imp
155+
importlib
156+
importlib.abc
157+
importlib.machinery
158+
importlib.util
159+
inspect
160+
io
161+
ipaddress
162+
itertools
163+
json
164+
json.tool
165+
keyword
166+
lib2to3
167+
linecache
168+
locale
169+
logging
170+
logging.config
171+
logging.handlers
172+
lzma
173+
macpath
174+
mailbox
175+
mailcap
176+
marshal
177+
math
178+
mimetypes
179+
mmap
180+
modulefinder
181+
msilib
182+
msvcrt
183+
multiprocessing
184+
multiprocessing.connection
185+
multiprocessing.dummy
186+
multiprocessing.managers
187+
multiprocessing.pool
188+
multiprocessing.sharedctypes
189+
netrc
190+
nis
191+
nntplib
192+
numbers
193+
operator
194+
optparse
195+
os
196+
os.path
197+
ossaudiodev
198+
parser
199+
pathlib
200+
pdb
201+
pickle
202+
pickletools
203+
pipes
204+
pkgutil
205+
platform
206+
plistlib
207+
poplib
208+
posix
209+
pprint
210+
profile
211+
pstats
212+
pty
213+
pwd
214+
py_compile
215+
pyclbr
216+
pydoc
217+
queue
218+
quopri
219+
random
220+
re
221+
readline
222+
reprlib
223+
resource
224+
rlcompleter
225+
runpy
226+
sched
227+
secrets
228+
select
229+
selectors
230+
shelve
231+
shlex
232+
shutil
233+
signal
234+
site
235+
smtpd
236+
smtplib
237+
sndhdr
238+
socket
239+
socketserver
240+
spwd
241+
sqlite3
242+
ssl
243+
stat
244+
statistics
245+
string
246+
stringprep
247+
struct
248+
subprocess
249+
sunau
250+
symbol
251+
symtable
252+
sys
253+
sysconfig
254+
syslog
255+
tabnanny
256+
tarfile
257+
telnetlib
258+
tempfile
259+
termios
260+
test
261+
test.support
262+
textwrap
263+
threading
264+
time
265+
timeit
266+
tkinter
267+
tkinter.scrolledtext
268+
tkinter.tix
269+
tkinter.ttk
270+
token
271+
tokenize
272+
trace
273+
traceback
274+
tracemalloc
275+
tty
276+
turtle
277+
turtledemo
278+
types
279+
typing
280+
unicodedata
281+
unittest
282+
unittest.mock
283+
urllib
284+
urllib.error
285+
urllib.parse
286+
urllib.request
287+
urllib.response
288+
urllib.robotparser
289+
uu
290+
uuid
291+
venv
292+
warnings
293+
wave
294+
weakref
295+
webbrowser
296+
winreg
297+
winsound
298+
wsgiref
299+
wsgiref.handlers
300+
wsgiref.headers
301+
wsgiref.simple_server
302+
wsgiref.util
303+
wsgiref.validate
304+
xdrlib
305+
xml
306+
xml.dom
307+
xml.dom.minidom
308+
xml.dom.pulldom
309+
xml.etree.ElementTree
310+
xml.parsers.expat
311+
xml.parsers.expat.errors
312+
xml.parsers.expat.model
313+
xml.sax
314+
xml.sax.handler
315+
xml.sax.saxutils
316+
xml.sax.xmlreader
317+
xmlrpc.client
318+
xmlrpc.server
319+
zipapp
320+
zipfile
321+
zipimport
322+
zlib

0 commit comments

Comments
 (0)