Skip to main content

ayva-ingest

Thin Python client for AYVA automated data sources.

Upload a pandas DataFrame, CSV file, or Parquet file to the source bound to your API key. The client normalizes to Snappy Parquet and enforces the 1 MiB canonical limit before the request leaves your machine.

Install

pip install ayva-ingest

Usage

import pandas as pd
from ayva_ingest import AyvaSource

source = AyvaSource(
    api_key="ayva_live_…",
    # Use your AYVA deployment origin (no trailing path).
    base_url="https://ayva-staging.onrender.com",
)

source.upload(
    pd.DataFrame({"period": ["2026-Q1"], "revenue": [100]}),
    idempotency_key="revenue-2026-q1",
)
source.upload("revenue.csv", idempotency_key="revenue-csv-2026-q2")
source.upload("revenue.parquet", idempotency_key="revenue-pq-2026-q3")

Create and rotate keys in Report Library → Data Integration → Keys.

API contract (summary)

  • PUT {base_url}/api/v1/source/data
  • Authorization: Bearer ayva_live_…
  • Required unique Idempotency-Key
  • Body: canonical Parquet (application/vnd.apache.parquet)

Publish (maintainers)

cd sdk/python
python -m pip install -U build twine
python -m build
python -m twine check dist/*
python -m twine upload dist/*

Use __token__ as the username and a PyPI API token as the password. Bump version in pyproject.toml for every release (PyPI versions are immutable).

License

MIT

Metadata

Release files for ayva-ingest 0.1.0

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

Source distribution (sdist)

Source distribution for ayva-ingest 0.1.0
File Size Uploaded Provenance
ayva_ingest-0.1.0.tar.gz 4.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ayva-ingest 0.1.0
File Interpreter ABI Platform
ayva_ingest-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 kB

Release files / ayva_ingest-0.1.0.tar.gz

Download URL ayva_ingest-0.1.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4c60ee13d7b441a6a10397ff985d4471874c178914001960e82fd6095a3c496e
BLAKE2b-256 checksum
How to use checksums
ac8ec10300aeb2513025df04ca939a22449e0d40ef81b1cfc4960e0382792939
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / ayva_ingest-0.1.0-py3-none-any.whl

Download URL ayva_ingest-0.1.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04d989a627bdf47ff0fe13c5480f29638db7cf56a3977d2208f38f49672976a3
BLAKE2b-256 checksum
How to use checksums
e50caf9e287a9f7d927ac77b780a4f771938426293f9addbe3fa92f07e13e19b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Security for ayva-ingest 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 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