skillfed

legit-api-client

Inventory

legit-api-client v1.1.5161 102.7K downloads/30d#12,857 on PyPI
Permissive license MIT Active released

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-client

uv

uv add legit-api-client

poetry

poetry add legit-api-client

Installing 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

openapi client libraryinventory api clientauto-generated api wrappercertificate management clientcontainer image apicompliance api clientrest api client python
openapi-generatedrest-clientinventory-management

More WWW/HTTP packages