Module: Dependabot::Python::Package

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

Defined Under Namespace

Classes: PackageDetailsFetcher, PackageRegistryFinder

Constant Summary collapse

CREDENTIALS_USERNAME =
"username"
CREDENTIALS_PASSWORD =
"password"
APPLICATION_JSON =
"application/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\-_]+)*/