Skip to main content

Package Dependency: Validates package requirements

Project description

Validates package requirements

Requirements

  • Python:

    • termcolor == 1.1.0

Installation

The last stable release is available on PyPI and can be installed with pip

$ pip install pkgdependency

Example

Using Function

from pkgdependency import verify_dependency
verify_dependency(path/to/requirements)

Using Command

$ pkgdep path/to/requirements

Example of a case in which the requirements are not met

>>> VERSION CONFLICT: examplepkg(1.0.0) => (2.0)
>>> NOT FOUND: examplepkg(any)

Create requirement text

$ my_project $ tree requirements/
/requirements/
├── base.txt
├── local.txt
└── server.txt

Create base requirement

$ pip freeze > base.txt

Create environment requirement

-r base.txt
pytest==2.7.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pkgdependency-1.0.4.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file pkgdependency-1.0.4.tar.gz.

File metadata

File hashes

Hashes for pkgdependency-1.0.4.tar.gz
Algorithm Hash digest
SHA256 ad9cd312ca3d18e7a1fc15bb95cd1d024774e48dcd241df0020caf6a12d8e7e1
MD5 9abe2595a343e8c6b9fafeeee678eb79
BLAKE2b-256 63ba6d605584da86609e53d6d15ff553d55b61471832cf5643c1ad2798b8d5f1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page