Skip to content

Feat/py3.10 #49

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Python Standard Library List
============================

This package includes lists of all of the standard libraries for Python 2.6, 2.7, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, and 3.9 along with the code for scraping the official Python docs to get said lists.
This package includes lists of all of the standard libraries for Python 2.6, 2.7, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, and 3.10 along with the code for scraping the official Python docs to get said lists.

Listing the modules in the standard library? Wait, why on Earth would you care about that?!
-------------------------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions stdlib_list/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

# Import all the things that used to be in here for backwards-compatibility reasons
from .base import (
base_dir,
list_dir,
stdlib_list,
in_stdlib,
get_canonical_version,
Expand Down
4 changes: 3 additions & 1 deletion stdlib_list/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
from functools32 import lru_cache

long_versions = ["2.6.9", "2.7.9", "3.2.6", "3.3.6", "3.4.3", "3.5", "3.6",
"3.7", "3.8", "3.9"]
"3.7", "3.8", "3.9", "3.10"]

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

base_dir = os.path.dirname(os.path.realpath(__file__))
list_dir = os.path.join(base_dir, "lists")

def get_canonical_version(version):

Expand Down
2 changes: 1 addition & 1 deletion stdlib_list/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def fetch_list(version=None):
:param str|None version: A specified version of Python. If not specified, then all
available versions of Python will have their inventory objects fetched
and parsed, and have their module names written to file.
(one of ``"2.6"``, ``"2.7"``, ``"3.2"``, ``"3.3"``, ``"3.4"``, ``"3.5"``, ``"3.6"``, ``"3.7"``, ``"3.8"``, ``"3.9"`` or ``None``)
(one of ``"2.6"``, ``"2.7"``, ``"3.2"``, ``"3.3"``, ``"3.4"``, ``"3.5"``, ``"3.6"``, ``"3.7"``, ``"3.8"``, ``"3.9"``, ``"3.10``" or ``None``)

"""

Expand Down
335 changes: 335 additions & 0 deletions stdlib_list/lists/3.10.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,335 @@
__future__
__main__
_thread
abc
aifc
argparse
array
ast
asynchat
asyncio
asyncore
atexit
audioop
base64
bdb
binascii
binhex
bisect
builtins
bz2
cProfile
calendar
cgi
cgitb
chunk
cmath
cmd
code
codecs
codeop
collections
collections.abc
colorsys
compileall
concurrent.futures
configparser
contextlib
contextvars
copy
copyreg
crypt
csv
ctypes
curses
curses.ascii
curses.panel
curses.textpad
dataclasses
datetime
dbm
dbm.dumb
dbm.gnu
dbm.ndbm
decimal
difflib
dis
distutils
distutils.archive_util
distutils.bcppcompiler
distutils.ccompiler
distutils.cmd
distutils.command
distutils.command.bdist
distutils.command.bdist_dumb
distutils.command.bdist_msi
distutils.command.bdist_packager
distutils.command.bdist_rpm
distutils.command.build
distutils.command.build_clib
distutils.command.build_ext
distutils.command.build_py
distutils.command.build_scripts
distutils.command.check
distutils.command.clean
distutils.command.config
distutils.command.install
distutils.command.install_data
distutils.command.install_headers
distutils.command.install_lib
distutils.command.install_scripts
distutils.command.register
distutils.command.sdist
distutils.core
distutils.cygwinccompiler
distutils.debug
distutils.dep_util
distutils.dir_util
distutils.dist
distutils.errors
distutils.extension
distutils.fancy_getopt
distutils.file_util
distutils.filelist
distutils.log
distutils.msvccompiler
distutils.spawn
distutils.sysconfig
distutils.text_file
distutils.unixccompiler
distutils.util
distutils.version
doctest
email
email.charset
email.contentmanager
email.encoders
email.errors
email.generator
email.header
email.headerregistry
email.iterators
email.message
email.mime
email.parser
email.policy
email.utils
encodings.idna
encodings.mbcs
encodings.utf_8_sig
ensurepip
enum
errno
faulthandler
fcntl
filecmp
fileinput
fnmatch
fractions
ftplib
functools
gc
getopt
getpass
gettext
glob
graphlib
grp
gzip
hashlib
heapq
hmac
html
html.entities
html.parser
http
http.client
http.cookiejar
http.cookies
http.server
imaplib
imghdr
imp
importlib
importlib.abc
importlib.machinery
importlib.metadata
importlib.resources
importlib.util
inspect
io
ipaddress
itertools
json
json.tool
keyword
lib2to3
linecache
locale
logging
logging.config
logging.handlers
lzma
mailbox
mailcap
marshal
math
mimetypes
mmap
modulefinder
msilib
msvcrt
multiprocessing
multiprocessing.connection
multiprocessing.dummy
multiprocessing.managers
multiprocessing.pool
multiprocessing.shared_memory
multiprocessing.sharedctypes
netrc
nis
nntplib
numbers
operator
optparse
os
os.path
ossaudiodev
pathlib
pdb
pickle
pickletools
pipes
pkgutil
platform
plistlib
poplib
posix
pprint
profile
pstats
pty
pwd
py_compile
pyclbr
pydoc
queue
quopri
random
re
readline
reprlib
resource
rlcompleter
runpy
sched
secrets
select
selectors
shelve
shlex
shutil
signal
site
smtpd
smtplib
sndhdr
socket
socketserver
spwd
sqlite3
ssl
stat
statistics
string
stringprep
struct
subprocess
sunau
symtable
sys
sysconfig
syslog
tabnanny
tarfile
telnetlib
tempfile
termios
test
test.support
test.support.bytecode_helper
test.support.import_helper
test.support.os_helper
test.support.script_helper
test.support.socket_helper
test.support.threading_helper
test.support.warnings_helper
textwrap
threading
time
timeit
tkinter
tkinter.colorchooser
tkinter.commondialog
tkinter.dnd
tkinter.filedialog
tkinter.font
tkinter.messagebox
tkinter.scrolledtext
tkinter.simpledialog
tkinter.tix
tkinter.ttk
token
tokenize
trace
traceback
tracemalloc
tty
turtle
turtledemo
types
typing
unicodedata
unittest
unittest.mock
urllib
urllib.error
urllib.parse
urllib.request
urllib.response
urllib.robotparser
uu
uuid
venv
warnings
wave
weakref
webbrowser
winreg
winsound
wsgiref
wsgiref.handlers
wsgiref.headers
wsgiref.simple_server
wsgiref.util
wsgiref.validate
xdrlib
xml
xml.dom
xml.dom.minidom
xml.dom.pulldom
xml.etree.ElementTree
xml.parsers.expat
xml.parsers.expat.errors
xml.parsers.expat.model
xml.sax
xml.sax.handler
xml.sax.saxutils
xml.sax.xmlreader
xmlrpc.client
xmlrpc.server
zipapp
zipfile
zipimport
zlib
zoneinfo
Loading