hub-rest-api-python | HUB REST API Python bindings
kandi X-RAY | hub-rest-api-python Summary
kandi X-RAY | hub-rest-api-python Summary
hub-rest-api-python is a Python library. hub-rest-api-python has no bugs, it has build file available, it has a Permissive License and it has low support. However hub-rest-api-python has 1 vulnerabilities. You can install using 'pip install hub-rest-api-python' or download it from GitHub, PyPI.
The hub-rest-api-python provides Python bindings for Hub REST API. :warning:Recently CVE-2020-27589, a medium severity security defect, was discovered in the blackduck PyPi library which affects versions 0.0.25 – 0.0.52 that could suppress certificate validation if the calling code used either the upload_scan or download_project_scans methods. These methods did not enforce certificate validation. Other methods in the library are not affected. The defect was fixed in version 0.0.53. Customers using the blackduck library should upgrade to version 0.0.53, or later, to implement the fix.
The hub-rest-api-python provides Python bindings for Hub REST API. :warning:Recently CVE-2020-27589, a medium severity security defect, was discovered in the blackduck PyPi library which affects versions 0.0.25 – 0.0.52 that could suppress certificate validation if the calling code used either the upload_scan or download_project_scans methods. These methods did not enforce certificate validation. Other methods in the library are not affected. The defect was fixed in version 0.0.53. Customers using the blackduck library should upgrade to version 0.0.53, or later, to implement the fix.
Support
Quality
Security
License
Reuse
Support
hub-rest-api-python has a low active ecosystem.
It has 82 star(s) with 96 fork(s). There are 20 watchers for this library.
It had no major release in the last 6 months.
There are 15 open issues and 58 have been closed. On average issues are closed in 661 days. There are 10 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of hub-rest-api-python is 1.1.0
Quality
hub-rest-api-python has 0 bugs and 0 code smells.
Security
hub-rest-api-python has 1 vulnerability issues reported (0 critical, 1 high, 0 medium, 0 low).
hub-rest-api-python code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
hub-rest-api-python is licensed under the Apache-2.0 License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
hub-rest-api-python releases are not available. You will need to build from source code and install.
Deployable package is available in PyPI.
Build file is available. You can build the component from source.
Installation instructions, examples and code snippets are available.
hub-rest-api-python saves you 3729 person hours of effort in developing the same functionality from scratch.
It has 7959 lines of code, 355 functions and 135 files.
It has high code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed hub-rest-api-python and discovered the below as its top functions. This is intended to give you an instant insight into hub-rest-api-python implemented functionality, and help decide if they suit your requirements.
- Generator for csv files
- Lists the resources on the hub
- Get a JSON object from the API
- Get a resource by name
- Log HTTP errors
- Show vulnerabilities for a given project
- Create a new version report
- Get the link for a given link name
- Execute a POST request
- Wait for all scan locations
- Assign a user to a project
- Assign a user group to a project
- Deletes codelocations
- Process vulnerability info
- List all the resources on the hub
- Get the scan counts for each scan
- Find vulnerabilities on a given project version
- Get URLs to delete
- Parse the argument parser
- Get a JSON object from a URL
- Overrides an override policy violation violation
- Find all copyrights in previous component versions
- Return a list of jobs related to the given project
- Delete a project version by name
- Remove empty versions
- Delete all empty projects
- Download project scans from the server
Get all kandi verified functions for this library.
hub-rest-api-python Key Features
No Key Features are available at this moment for hub-rest-api-python.
hub-rest-api-python Examples and Code Snippets
Copy
pip3 install blackduck
from blackduck import Client
import logging
import os
logging.basicConfig(
level=logging.INFO,
format="[%(asctime)s] {%(module)s:%(lineno)d} %(levelname)s - %(message)s"
)
bd = Client(
token=os.environ.get('black
Copy
git clone https://github.com/blackducksoftware/hub-rest-api-python.git
cd hub-rest-api-python
# optional but advisable: create/use virtualenv
# you should have 3.x+, e.g. Python 3.8.0+
pip3 install -r requirements.txt
pip3 install .
cd test
pytest
Copy
git clone https://github.com/blackducksoftware/hub-rest-api-python.git
cd hub-rest-api-python
pip3 install -r requirements.txt
pip3 install .
pip3 uninstall blackduck
Community Discussions
No Community Discussions are available at this moment for hub-rest-api-python.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install hub-rest-api-python
Do this when testing a new version.
Support
Documentation for hub-rest-api-python can be found on the base project: Hub REST API Python Wiki.
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page