Skip to main content

License Python Version

A simple wrapper for the Dependency Track REST API.

Usage

Installation

This project is available as Python package on PyPi.org.

  • Install DependencyTrack and required dependencies:

    pip install dependencytrack requests

Using the API

  • Get a REST API key from the DependencyTrack server under “Administration-> Access Management-> Teams”:

    from dependencytrack import DependencyTrack
    
    url = 'http://10.0.0.1:8080'
    
    api_key = 'YRlAeOAb0uXT7dTGrfsvnGxjxZSF0XbO'
    
    dt = DependencyTrack(url, api_key)
    
    dt.list_projects()
    
    dt.get_project_property('ab36ead0-c7b0-47f5-89ac-7f92a0bbe12e')
    
    dt.list_components()
    
    dt.get_project_dependency('ab36ead0-c7b0-47f5-89ac-7f92a0bbe12e')
    
    dt.get_component_dependency('db6157c2-f0a3-447c-902d-aecd360958bd')
    
    dt.list_concise_licenses()[0]
    
    dt.get_license('MIT')
    
    dt.search('dnsmasq-2.0')

Metadata

Release files for dependency-track 0.0.5

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-track 0.0.5
File Size Uploaded Provenance
dependency-track-0.0.5.tar.gz 3.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dependency-track 0.0.5
File Interpreter ABI Platform
dependency_track-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 10.5 kB

Release files / dependency-track-0.0.5.tar.gz

Download URL dependency-track-0.0.5.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
aaa767ec56868e93cd7e998cf4462b1d575be3a6ccfbd9608ff7a789a79fb87c
BLAKE2b-256 checksum
How to use checksums
9fd52c6ff41b6bf457fed799a3fbe4623d52699292beea8236d08e20a5fffe76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3

Release files / dependency_track-0.0.5-py3-none-any.whl

Download URL dependency_track-0.0.5-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a46712db2e1c181d0975e1ea5c3c5e5ece06aec5a6ce22e22f5d63ccbd366908
BLAKE2b-256 checksum
How to use checksums
47b01f146e29f9ab8ec4a1058803371ee107c68b36a46759bda0169f9aa68fd1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3

Security for dependency-track 0.0.5

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