Skip to content

Latest commit

 

History

History
75 lines (61 loc) · 1.92 KB

api.rst

File metadata and controls

75 lines (61 loc) · 1.92 KB

pypi_simple

API

Client

PyPISimple

Core Classes

IndexPage()

ProjectPage()

DistributionPackage()

Progress Trackers

ProgressTracker()

tqdm_progress_factory

Parsing Filenames

parse_filename

Parsing Simple Repository HTML Pages

RepositoryPage()

Link()

Streaming Parsers

parse_links_stream

parse_links_stream_response

Constants

PYPI_SIMPLE_ENDPOINT

SUPPORTED_REPOSITORY_VERSION

Accept Header Values

The following constants can be passed as the accept parameter of PyPISimple and some of its methods in order to indicate to the server which serialization format of the Simple API it should return:

ACCEPT_ANY

ACCEPT_JSON_ONLY

ACCEPT_HTML_ONLY

ACCEPT_JSON_PREFERRED

ACCEPT_HTML_PREFERRED

Exceptions

DigestMismatchError()

NoDigestsError()

NoSuchProjectError()

UnsupportedContentTypeError()

UnsupportedRepoVersionError()

UnexpectedRepoVersionWarning()

UnparsableFilenameError()

Footnotes