OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
class | ContentChecker |
class | Credential |
class | HashChecker |
class | PackageIndex |
class | PyPIConfig |
Functions | |
def | parse_requirement_arg (spec) |
def | parse_bdist_wininst (name) |
def | egg_info_for_url (url) |
def | distros_for_url (url, metadata=None) |
def | distros_for_location (location, basename, metadata=None) |
def | distros_for_filename (filename, metadata=None) |
def | interpret_distro_name (location, basename, metadata, py_version=None, precedence=SOURCE_DIST, platform=None) |
def | unique_values (func) |
def | find_external_links (url, page) |
def | decode_entity (match) |
def | htmldecode (text) |
def | socket_timeout (timeout=15) |
def | open_with_auth (url, opener=urllib.request.urlopen) |
def | fix_sf_url (url) |
def | local_open (url) |
Variables | |
EGG_FRAGMENT | |
HREF | |
PYPI_MD5 | |
URL_SCHEME | |
EXTENSIONS | |
user_agent | |
py_major | |
setuptools | |
REL | |
entity_sub | |
open_with_auth | |
PyPI and direct package downloading
def setuptools.package_index.decode_entity | ( | match | ) |
def setuptools.package_index.distros_for_filename | ( | filename, | |
metadata = None |
|||
) |
Yield possible egg or source distribution objects based on a filename
def setuptools.package_index.distros_for_location | ( | location, | |
basename, | |||
metadata = None |
|||
) |
Yield egg or source distribution objects based on basename
def setuptools.package_index.distros_for_url | ( | url, | |
metadata = None |
|||
) |
Yield egg or source distribution objects that might be found at a URL
def setuptools.package_index.egg_info_for_url | ( | url | ) |
def setuptools.package_index.find_external_links | ( | url, | |
page | |||
) |
Find rel="homepage" and rel="download" links in `page`, yielding URLs
def setuptools.package_index.fix_sf_url | ( | url | ) |
def setuptools.package_index.htmldecode | ( | text | ) |
Decode HTML entities in the given text. >>> htmldecode( ... 'https://../package_name-0.1.2.tar.gz' ... '?tokena=A&tokenb=B">package_name-0.1.2.tar.gz') 'https://../package_name-0.1.2.tar.gz?tokena=A&tokenb=B">package_name-0.1.2.tar.gz'
def setuptools.package_index.interpret_distro_name | ( | location, | |
basename, | |||
metadata, | |||
py_version = None , |
|||
precedence = SOURCE_DIST , |
|||
platform = None |
|||
) |
Generate alternative interpretations of a source distro name Note: if `location` is a filesystem filename, you should call ``pkg_resources.normalize_path()`` on it before passing it to this routine!
def setuptools.package_index.local_open | ( | url | ) |
Read a local path, with special support for directories
def setuptools.package_index.open_with_auth | ( | url, | |
opener = urllib.request.urlopen |
|||
) |
Open a urllib2 request, handling HTTP authentication
def setuptools.package_index.parse_bdist_wininst | ( | name | ) |
Return (base,pyversion) or (None,None) for possible .exe name
def setuptools.package_index.parse_requirement_arg | ( | spec | ) |
def setuptools.package_index.socket_timeout | ( | timeout = 15 | ) |
def setuptools.package_index.unique_values | ( | func | ) |
Wrap a function returning an iterable such that the resulting iterable only ever yields unique items.
EGG_FRAGMENT |
entity_sub |
EXTENSIONS |
HREF |
open_with_auth |
py_major |
PYPI_MD5 |
REL |
setuptools |
URL_SCHEME |
user_agent |