Module: Dependabot::Python::Package

Defined in:
lib/dependabot/python/package/simple_api_parser.rb,
lib/dependabot/python/package/package_details_fetcher.rb,
lib/dependabot/python/package/package_registry_finder.rb

Defined Under Namespace

Classes: PackageDetailsFetcher, PackageRegistryFinder, SimpleApiParser

Constant Summary collapse

CREDENTIALS_USERNAME =
"username"
CREDENTIALS_PASSWORD =
"password"
APPLICATION_JSON =
"application/json"
APPLICATION_PYPI_SIMPLE_JSON =
"application/vnd.pypi.simple.v1+json"
APPLICATION_TEXT =
"text/html"
CPYTHON =
"cpython"
PYTHON =
"python"
UNKNOWN =
"unknown"
MAIN_PYPI_INDEXES =
%w(
  https://pypi.python.org/simple/
  https://pypi.org/simple/
).freeze
VERSION_REGEX =
/[0-9]+(?:\.[A-Za-z0-9\-_]+)*/