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 hashes)

Uploaded Source

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