legit-api-client
Inventory
What it is and what it does
legit-api-client is an auto-generated Python REST client for an inventory management API, built by OpenAPI Generator. It wraps HTTP endpoints for managing certificates, cloud instances, container images, compliance frameworks, and integrations like Amazon ECR. The client handles authentication via bearer tokens and provides typed API classes for each resource category.
The package is designed for developers who need programmatic access to an inventory system's API. It depends on urllib3, python-dateutil, pydantic, and typing-extensions to handle HTTP requests, date parsing, and data validation. Since it is auto-generated, its API surface mirrors the underlying OpenAPI specification exactly, making it suitable for scripting, CI/CD integration, or building higher-level tools around the inventory service.
Use it for:
- Automate certificate lifecycle management (creation, upload, deletion) in a CI/CD pipeline.
- Query and correlate container images with cloud instances programmatically.
- Generate compliance reports and manage automatic compliance checks across frameworks.
- Integrate inventory data into monitoring or alerting systems via API calls.
- Manage Amazon ECR integrations and other cloud provider credentials at scale.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python client library for interacting with an inventory management API, auto-generated from OpenAPI specifications with support for certificate management, cloud instances, compliance, and container image operations.
Yes, if you need to interact with the underlying inventory API and have access to it. The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and installs with low friction. The main caveat is that it is auto-generated and offers no additional abstraction or documentation beyond the OpenAPI spec—you will need to understand the API itself to use it effectively.
Install
legit-api-client on PyPI
pip
pip install legit-api-clientuv
uv add legit-api-clientpoetry
poetry add legit-api-clientInstalling legit-api-client
Before you install
Low install friction with a pure Python wheel and four common runtime dependencies. Active maintenance with a release 1 day old. No known vulnerabilities.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it safe for most projects.
Quickstart
pip install legit-api-client
import legit_api_client
from legit_api_client.rest import ApiException
configuration = legit_api_client.Configuration(
access_token="your_bearer_token"
)
with legit_api_client.ApiClient(configuration) as api_client:
api_instance = legit_api_client.AmazonEcrKeyIntegrationApi(api_client)
api_instance.amazon_ecr_key_integration_delete(id='example_id')
Requires Python 3.9 or later; bearer token authentication required for API access.
Verify before relying
- Whether the underlying API service is publicly accessible or requires internal network access.
- Stability guarantees for the auto-generated client across API version changes.
- Whether documentation beyond the auto-generated stubs is available for specific endpoints.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — urllib3, python-dateutil, pydantic, typing-extensions |
| Maintenance | actively maintained — 1 days since the last release |
| First released | |
| Downloads | 102,670/month — #12,857 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: legit_api_client-1.1.5161-py3-none-any.whl
Keywords: OpenAPI, OpenAPI-Generator, Inventory
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
trieve-py-clientProvides a Python client library for the Trieve…
unclear · top 15,000 on PyPI
whylabs-clientA Python client library for the WhyLabs API…
permissive · top 15,000 on PyPI
ubai-clientubai-client is a Python client for the…
unclear · top 15,000 on PyPI
openapi-generator-cliProvides a Python CLI wrapper for OpenAPI…
permissive · top 15,000 on PyPI
harborapiAsync Python client for the Harbor container…
permissive · top 15,000 on PyPI
turnkey-httpTurnkey HTTP is an HTTP client for the Turnkey…
permissive · top 15,000 on PyPI
qase-api-v2-clientA Python client library for the Qase TestOps…
unclear · top 15,000 on PyPI
scc-firewall-manager-sdkProvides a Python SDK for interacting with…
unclear · top 15,000 on PyPI
onfido-pythonOfficial Python client library for the Onfido…
permissive · top 5,000 on PyPI
akeylessProvides Python client access to the Akeyless…
unclear · top 5,000 on PyPI