# blackduck

> python package for using the Synopsys Black Duck Hub REST API.

**Wikidata**: [Q100153075](https://www.wikidata.org/wiki/Q100153075)  
**Source**: https://4ort.xyz/entity/blackduck-q100153075

## Summary
Blackduck is a Python package that provides an interface for interacting with the Synopsys Black Duck Hub REST API, allowing users to programmatically access and manage software component data. It is distributed under the Apache Software License 2.0 and is classified as free software.

## Key Facts
- **License**: Apache Software License 2.0
- **Latest Version**: 1.0.4 (released on 2021-06-14)
- **Dependencies**: Requires the Requests and python_dateutil libraries
- **Instance Of**: Software library, free software
- **Copyright Status**: Copyrighted
- **Source Code Repository**: Hosted on GitHub at [https://github.com/blackducksoftware/hub-rest-api-python](https://github.com/blackducksoftware/hub-rest-api-python)
- **PyPI Project Name**: blackduck
- **Related To**: Free software

## FAQs
### Q: What is the purpose of the Blackduck Python package?
A: The Blackduck Python package is designed to facilitate interaction with the Synopsys Black Duck Hub REST API, enabling users to programmatically access and manage software component data.

### Q: What license does the Blackduck package use?
A: The Blackduck package is distributed under the Apache Software License 2.0, which allows for free use, modification, and distribution.

### Q: Where can I find the source code for the Blackduck package?
A: The source code for the Blackduck package is available on GitHub at [https://github.com/blackducksoftware/hub-rest-api-python](https://github.com/blackducksoftware/hub-rest-api-python).

### Q: What dependencies does the Blackduck package require?
A: The Blackduck package depends on the Requests and python_dateutil libraries.

### Q: How do I install the Blackduck package?
A: The Blackduck package can be installed via PyPI using the command `pip install blackduck`.

## Why It Matters
The Blackduck Python package plays a crucial role in software development and security by providing a structured way to interact with the Synopsys Black Duck Hub REST API. This tool enables developers and security professionals to automate the process of identifying and managing software components, ensuring compliance with licensing and security policies. By leveraging the Black Duck Hub, organizations can gain visibility into their software supply chain, detect vulnerabilities, and enforce best practices. The package's open-source nature, under the Apache License 2.0, makes it accessible to a wide range of users, fostering collaboration and innovation in the software development ecosystem.

## Notable For
- **Open-Source License**: Distributed under the Apache Software License 2.0, promoting free use and modification.
- **REST API Integration**: Provides a Pythonic interface for interacting with the Synopsys Black Duck Hub REST API.
- **Dependency Management**: Requires the Requests and python_dateutil libraries, ensuring compatibility and ease of use.
- **GitHub Hosting**: Source code is hosted on GitHub, facilitating community contributions and updates.
- **PyPI Availability**: Available on PyPI, making it easily installable via standard Python package managers.

## Body
### Overview
The Blackduck Python package is a software library designed to interact with the Synopsys Black Duck Hub REST API. It is distributed under the Apache Software License 2.0, making it free software that users can freely run, study, change, and distribute.

### Versions
The package has undergone several releases, with the latest version being 1.0.4, released on June 14, 2021. Previous versions include 1.0.3 (May 20, 2021), 1.0.2 (April 26, 2021), and 1.0.1 (April 23, 2021). Earlier versions include 0.0.56 (December 9, 2020), 0.0.55 (November 5, 2020), and 0.0.52 (October 20, 2020).

### Dependencies
The Blackduck package relies on two external libraries: Requests, for handling HTTP requests, and python_dateutil, for parsing and manipulating dates.

### Source Code
The source code for the Blackduck package is hosted on GitHub, where users can access the repository, contribute to the project, and report issues. The repository is linked to the Q186055 and Q364 qualifiers, indicating its association with software development and programming.

### Usage
The package is available on PyPI under the name "blackduck," making it easily installable via the command `pip install blackduck`. Users can then utilize the package to programmatically interact with the Black Duck Hub, enabling tasks such as component identification, vulnerability assessment, and compliance management.

### Significance
The Blackduck Python package is notable for its role in bridging the gap between software development and security management. By providing a Python interface to the Black Duck Hub API, it empowers developers and security teams to automate critical tasks, ensuring that software components are properly tracked, licensed, and secured. Its open-source nature and active development cycle make it a valuable tool in the software supply chain management landscape.

## References

1. [Release 0.0.26. 2019](https://github.com/blackducksoftware/hub-rest-api-python/releases/tag/0.0.26)
2. [Release 0.0.51. 2020](https://github.com/blackducksoftware/hub-rest-api-python/releases/tag/0.0.51)
3. [Release 0.0.52. 2020](https://github.com/blackducksoftware/hub-rest-api-python/releases/tag/0.0.52)
4. [Release 0.0.55. 2020](https://github.com/blackducksoftware/hub-rest-api-python/releases/tag/0.0.55)
5. [Release 0.0.56. 2020](https://github.com/blackducksoftware/hub-rest-api-python/releases/tag/0.0.56)
6. [Release 1.0.1. 2021](https://github.com/blackducksoftware/hub-rest-api-python/releases/tag/1.0.1)
7. [Release 1.0.2. 2021](https://github.com/blackducksoftware/hub-rest-api-python/releases/tag/1.0.2)
8. [Release 1.0.3. 2021](https://github.com/blackducksoftware/hub-rest-api-python/releases/tag/1.0.3)
9. [Release 1.0.4. 2021](https://github.com/blackducksoftware/hub-rest-api-python/releases/tag/1.0.4)
10. [Release 1.0.0. 2021](https://github.com/blackducksoftware/hub-rest-api-python/releases/tag/1.0.0)
11. [Release 1.0.5. 2021](https://github.com/blackducksoftware/hub-rest-api-python/releases/tag/1.0.5)
12. [Release 1.1.0. 2023](https://github.com/blackducksoftware/hub-rest-api-python/releases/tag/1.1.0)