Class | CacheT |
Undocumented |
Class | IntersphinxCache |
An Intersphinx cache. |
Class | InvalidMaxAge |
Raised when a string cannot be parsed as a maximum age. |
Class | SphinxInventory |
Sphinx inventory handler. |
Class | SphinxInventoryWriter |
Sphinx inventory handler. |
Function | parseMaxAge |
Parse a string into a maximum age dictionary. |
Function | prepareCache |
Prepare an Intersphinx cache. |
Constant | MAX_AGE_DEFAULT |
Undocumented |
Constant | MAX_AGE_HELP |
Undocumented |
Constant | USER_INTERSPHINX_CACHE |
Undocumented |
Variable | logger |
Undocumented |
Class | _Unit |
A unit of time for maximum age parsing. |
Function | _parseInventoryLine |
Parse a single line from a Sphinx inventory. @raise ValueError: If the line does not conform to the syntax. |
Variable | _maxAgeUnitNames |
Undocumented |
Variable | _maxAgeUnits |
Undocumented |
Parameters | |
maxAge:str | A string consisting of an integer number followed by a single character unit. |
Returns | |
Dict[ | A dictionary whose keys match datetime.timedelta 's arguments. |
Raises | |
InvalidMaxAge | when a string cannot be parsed. |
Parameters | |
clearCache:bool | Remove the cache? |
enableCache:bool | Enable the cache? |
cachePath:str | Path of the cache directory. |
maxAge:str | The maximum age in seconds of cached Intersphinx objects.inv files. |
sessionFactory:Callable[ | (optional) A zero-argument callable that returns a requests.Session . |
Returns | |
IntersphinxCache | A IntersphinxCache instance. |
Undocumented
Value |
|