Skip to main content

A common dependencies checker/resolver.

Project description

dependency-inspector

Release Build status codecov Commit activity License

A common dependencies checker/resolver.

Installation

pip install dependency-inspector

Getting started

Assuming you have two interdependent services, write the dependencies into artifact.yaml in the following format:

name: app-frontend
version: "1.1.2"
dependencies:
  - name: app-backend
    version: "1.x.x"
---
name: app-backend
version: "1.0.1"
dependencies:
  - name: app-frontend
    version: ">1.0"
---
name: app-backend
version: "1.0.10"
dependencies:
  - name: app-frontend
    version: ">1.1"

Run this command to resolve the dependencies:

dependency_inspector --artifacts artifact.yaml      

--- Dependency Graph ---
* --> app-frontend, app-backend
app-frontend --> app-backend
app-backend --> app-frontend

--- Solution ---
app-frontend==1.1.2
app-backend==1.0.10

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

dependency_inspector-0.1.2.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dependency_inspector-0.1.2-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file dependency_inspector-0.1.2.tar.gz.

File metadata

  • Download URL: dependency_inspector-0.1.2.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.3 Darwin/22.5.0

File hashes

Hashes for dependency_inspector-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cbf4fc7f86f75be234af3766812deda075a5ec569a180039a35fd5b4c0637e82
MD5 261a2d269ac4717dc029cc1b558638d0
BLAKE2b-256 39ac8bc91e19c4cd6457d527351a67ebb9512e2f6829156f2ae3fb2f92554477

See more details on using hashes here.

File details

Details for the file dependency_inspector-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for dependency_inspector-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6bee8034d359402550a0836169f0aebcf0fdd2548f90b4bbcb248d4964ab46ad
MD5 847543db5800e6e4d9c77251ff161d91
BLAKE2b-256 0b39866a04c3f1aed98370724321c636320b24cc086e6f1bbcf1c4fb34a481e9

See more details on using hashes here.

Supported by

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