Skip to main content

Valentina Python Client

Deprecated: This package is not developed anymore. The last version is 3.7.x. It is not maintained against newer versions of the Valentina API. Existing installs keep working, but new API features will not be added.

Async and sync Python client library for accessing the Valentina Noir API.

Features

  • Async and sync clients - Both VClient (async) and SyncVClient (sync) built on httpx2
  • Type-safe - Full type hints with Pydantic models for request/response validation
  • Convenient factory pattern - Create a client once, access services from anywhere
  • Automatic pagination - Stream through large datasets with iter_all() or fetch everything with list_all()
  • Robust error handling - Specific exception types for different error conditions
  • Idempotency support - Optional automatic idempotency keys for safe retries
  • Rate limit handling - Built-in support for automatic rate limit retries

Documentation

The full documentation is available at https://natelandau.github.io/valentina-python-client/.

Claude Code Skill

This repo includes a Claude Code skill that gives Claude deep knowledge of vclient's services, models, constants, and testing utilities. Install it so Claude can help you build applications against the Valentina API.

Install

claude install-skill /path/to/valentina-python-client/vclient-guide-skill

Once installed, Claude will automatically activate the skill when you're working with vclient imports, Valentina API endpoints, or FakeVClient testing.

Development Tools

Validate Constants

Verify that the Literal type constants in this package are in sync with the live API's /options endpoint. This catches drift between client and server before a release.

# Via duty task
uv run duty validate_constants

# Via script directly
uv run python scripts/validate_constants.py --api-key <key> --company-id <id>

The script reads configuration from (highest precedence first):

  1. CLI arguments (--api-url, --api-key, --company-id)
  2. System environment variables (VALENTINA_CLIENT_BASE_URL, VALENTINA_CLIENT_API_KEY, VALENTINA_CLIENT_DEFAULT_COMPANY_ID)
  3. A .env.secret file in the project root

Exit codes: 0 = all constants match, 1 = mismatches found, 2 = missing configuration.

Metadata

Release files for valentina-python-client 3.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for valentina-python-client 3.7.1
File Size Uploaded Provenance Actions
valentina_python_client-3.7.1.tar.gz 144.6 kB Without provenance Details for valentina_python_client-3.7.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for valentina-python-client 3.7.1
File Interpreter ABI Platform Actions
valentina_python_client-3.7.1-py3-none-any.whl Python 3 none any Details for valentina_python_client-3.7.1-py3-none-any.whl

Total release size: 341.2 kB

Release files / valentina_python_client-3.7.1.tar.gz

Download URL valentina_python_client-3.7.1.tar.gz
Size 144.6 kB
Tags Source
SHA-256 checksum
How to use checksums
38a3f51dcfcc50e355b3d47fbce2345c9b52f21a8c281466d053ec9c904deec1
BLAKE2b-256 checksum
How to use checksums
802422c7019341536864e7d083c4005356b48524bb1219bedaf50ff308c25138
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / valentina_python_client-3.7.1-py3-none-any.whl

Download URL valentina_python_client-3.7.1-py3-none-any.whl
Size 196.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b83884a025c1d075a4ffbbee791f08374efddd04c83e81181e5358fc5b33e26
BLAKE2b-256 checksum
How to use checksums
eba76c0f1bb0be1e5b8ef4903f0ed702f17d8d28057dde0f857463ff1d30e7ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Security for valentina-python-client 3.7.1

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.

Release history Release notifications | RSS feed

This release

3.7.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page