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


Release history Release notifications

This version
History Node

1.0.4

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pkgdependency-1.0.4.tar.gz (3.9 kB) Copy SHA256 hash SHA256 Source None Jun 3, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page