Skip to main content

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      

The output is:

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

--- Resolution ---
app-frontend==1.1.2
app-backend==1.0.10

--- Artifacts ---
dependencies:
- enabled: true
  name: app-backend
  version: ~=1.0.10
name: app-frontend
version: 1.1.2
---
dependencies:
- enabled: true
  name: app-frontend
  version: ~=1.1.2
name: app-backend
version: 1.0.10

Metadata

Release files for dependency_inspector 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dependency_inspector 0.2.2
File Size Uploaded Provenance Actions
dependency_inspector-0.2.2.tar.gz 6.0 kB Without provenance Details for dependency_inspector-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dependency_inspector 0.2.2
File Interpreter ABI Platform Actions
dependency_inspector-0.2.2-py3-none-any.whl Python 3 none any Details for dependency_inspector-0.2.2-py3-none-any.whl

Total release size: 13.3 kB

Release files / dependency_inspector-0.2.2.tar.gz

Download URL dependency_inspector-0.2.2.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c7c435d29a7b9164f34dfdbf84bf7bd92c772cc0e4f447a9ee480069d2898671
BLAKE2b-256 checksum
How to use checksums
d5492bcc651bed9518b2826e80bc109266bbfcdda64eebae47017b3e785b7be6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.3 Darwin/23.0.0

Release files / dependency_inspector-0.2.2-py3-none-any.whl

Download URL dependency_inspector-0.2.2-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e45a26fa3ce81d77764d36a6cca0f7f1716ee644f63d08f607750d3702022254
BLAKE2b-256 checksum
How to use checksums
262a2e725e68ffdeeeb5edb6a5958a4e16ab72205adca990b0bfd23f3547dda7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.3 Darwin/23.0.0

Security for dependency_inspector 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page