Veracode API Python
Python helper library for working with the Veracode APIs. Handles retries, pagination, and other features of the modern Veracode REST APIs.
Not an official Veracode product. Heavily based on original work by CTCampbell.
Setup
Install from pypi:
pip install veracode-api-py
Authenticating from a developer machine
Save Veracode API credentials in ~/.veracode/credentials
[default]
veracode_api_key_id = <YOUR_API_KEY_ID>
veracode_api_key_secret = <YOUR_API_KEY_SECRET>
Authenticating from a pipeline
Set Veracode API credentials as environment variables.
export VERACODE_API_KEY_ID=<YOUR_API_KEY_ID>
export VERACODE_API_KEY_SECRET=<YOUR_API_KEY_SECRET>
Authenticating through a proxy
To use this library (or a script based on it) with a proxy server, set environment variables with the address of the proxy:
export HTTP_PROXY='http://10.10.10.10:8000'
export HTTPS_PROXY='http://10.10.10.10:1212'
Use in your applications
Import VeracodeAPI or one of the individual API classes into your code and call the methods. Most methods return JSON or XML depending on the underlying API.
You can find sample scripts for some APIs in the Samples folder.
Docs
For detailed documentation on the available methods, please see the veracode-api-py docs.
Notes
- Different API calls require different roles or permissions. Consult the Veracode Docs.
- This library does not include a complete set of Veracode API methods. In particular, it only provides a handful of XML API methods.
- Contributions are welcome. See the Contributions guidelines.
Metadata
Release files for veracode-api-py 0.9.68
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| veracode_api_py-0.9.68.tar.gz | 37.1 kB | Without provenance | Details for veracode_api_py-0.9.68.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| veracode_api_py-0.9.68-py3-none-any.whl | Python 3 | none | any | Details for veracode_api_py-0.9.68-py3-none-any.whl |
Total release size: 74.6 kB
Release files / veracode_api_py-0.9.68.tar.gz
| Download URL | veracode_api_py-0.9.68.tar.gz |
|---|---|
| Size | 37.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
efe697fca0689b85eb010a204918f08277bdd3ffa9841abbdb2c36f179e38282
|
|
BLAKE2b-256 checksum How to use checksums |
f9837bb9757975ee055f06fe7efd18003635d591361b3385d6c1fec0e67bb80b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / veracode_api_py-0.9.68-py3-none-any.whl
| Download URL | veracode_api_py-0.9.68-py3-none-any.whl |
|---|---|
| Size | 37.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5aeae7ca6b554f23e301174f742d08282842650bf9f667c625cdeb7aee3a80f7
|
|
BLAKE2b-256 checksum How to use checksums |
e85b92d2a4d333f29f1b031500483eb3433262c3323924fed72fb81487e16f76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for veracode-api-py 0.9.68
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.