PyPI and direct package downloading.
Class |
|
A null content checker that defines the interface for checking content |
Class |
|
A username/password pair. Use like a namedtuple. |
Class |
|
No class docstring; 0/3 instance variable, 0/1 class variable, 0/4 method, 1/1 class method documented |
Class |
|
A distribution index that scans web pages for download URLs |
Class |
|
No class docstring; 0/1 property, 2/3 methods documented |
Function | decode |
Undocumented |
Function | distros |
Yield possible egg or source distribution objects based on a filename |
Function | distros |
Yield egg or source distribution objects based on basename |
Function | distros |
Yield egg or source distribution objects that might be found at a URL |
Function | egg |
Undocumented |
Function | find |
Find rel="homepage" and rel="download" links in `page`, yielding URLs |
Function | fix |
Undocumented |
Function | htmldecode |
Decode HTML entities in the given text. |
Function | interpret |
Generate the interpretation of a source distro name |
Function | local |
Read a local path, with special support for directories |
Function | open |
Open a urllib2 request, handling HTTP authentication |
Function | parse |
Return (base,pyversion) or (None,None) for possible .exe name |
Function | parse |
Undocumented |
Function | socket |
Undocumented |
Function | unique |
Wrap a function returning an iterable such that the resulting iterable only ever yields unique items. |
Constant | EGG |
Undocumented |
Constant | EXTENSIONS |
Undocumented |
Constant | HREF |
Undocumented |
Constant | PYPI |
Undocumented |
Constant | REL |
Regex for an HTML tag with 'rel="val"' attributes. |
Constant | URL |
Undocumented |
Variable | entity |
Undocumented |
Variable | user |
Undocumented |
Function | _encode |
Encode auth from a URL suitable for an HTTP header. >>> str(_encode_auth('username%3Apassword')) 'dXNlcm5hbWU6cGFzc3dvcmQ=' |
Function | _splituser |
splituser('user[:passwd]@host[:port]') --> 'user[:passwd]', 'host[:port]'. |
Constant | _SOCKET |
Undocumented |
Variable | _tmpl |
Undocumented |
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'
Generate the interpretation 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!
Wrap a function returning an iterable such that the resulting iterable only ever yields unique items.
Undocumented
Value |
|
Regex for an HTML tag with 'rel="val"' attributes.
Value |
|
Encode auth from a URL suitable for an HTTP header. >>> str(_encode_auth('username%3Apassword')) 'dXNlcm5hbWU6cGFzc3dvcmQ=' Long auth strings should not cause a newline to be inserted. >>> long_auth = 'username:' + 'password'*10 >>> chr(10) in str(_encode_auth(long_auth)) False