ciscosupportsdk
Python API wrapper for the Cisco Support APIs.
The ciscosupportsdk supports all of the Cisco Support API interactions via a native Python library. This makes working with these APIs a more natural experience and eases the burden of writing your own boilerplate code to deal with API semantics, like authentication and pagination.
For detailed information and onboarding information, see the support api documentation on DevNet.
Quick Usage
from ciscosupportsdk.api import CiscoSupportAPI
api = CiscoSupportAPI(CS_API_KEY, CS_API_SECRET)
# find if a serial number is covered and when it's warranty expires
for item in api.serial_information.get_coverage_status(['FXS2130Q286']):
print(f'{item.is_covered} {item.warranty_end_date}')
Features
- Represents all of the Cisco Support API interactions in native python
Authentication and connection management
All APIs organized hierarchically as attributes and methods under the main API object
Returned data objects are all native python objects
Pagination is automatic and transparent
API documentation will appear in your IDE to ease development
Installation
Installing and upgrading the ciscosupportsdk is easy with pip
pip install ciscosupportsdk
# or to upgrade use...
pip install ciscosupportsdk --upgrade
If you want to setup a development environment, use uv instead:
# Install uv (see https://docs.astral.sh/uv/ for other methods)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Clone repository
git clone https://github.com/supermanny81/ciscosupportsdk.git
cd ciscosupportsdk/
# Install dependencies into a local .venv
uv sync
# Run the test suite
uv run pytest
Examples
Looking for some sample usage? Check out the examples folder!
Metadata
Release files for ciscosupportsdk 0.4.0
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 | |
|---|---|---|---|---|
| ciscosupportsdk-0.4.0.tar.gz | 49.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ciscosupportsdk-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 82.4 kB
Release files / ciscosupportsdk-0.4.0.tar.gz
| Download URL | ciscosupportsdk-0.4.0.tar.gz |
|---|---|
| Size | 49.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8de86fb726ea6252790c6e7b1ba70c1c0db5240523fe74532cf096da29351e11
|
|
BLAKE2b-256 checksum How to use checksums |
dd69dbf8a28ea0dcad40eccdf2173a1e70cdbcfe07d0b15b159d7d91166098d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / ciscosupportsdk-0.4.0-py3-none-any.whl
| Download URL | ciscosupportsdk-0.4.0-py3-none-any.whl |
|---|---|
| Size | 32.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28d7e751bc07437530958d4f3036b80d33f61b477ac3b2eeb4ca0f8183c8d266
|
|
BLAKE2b-256 checksum How to use checksums |
1082ebb18bf660f1055a085475c8f35cb87d892f8f6a240fe5df399ca3a8a8eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for ciscosupportsdk 0.4.0
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.