Skip to main content

Aryeo Python Client

Aryeo is a typed Python client for the Aryeo API. The client is generated from the checked-in OpenAPI wrapper at docs/api/aryeo.json and uses a client-library repository shape: flat resource modules, explicit exports, MkDocs documentation, per-resource tests, and release-quality checks.

Current Scope

  • Sync httpx transport in aryeo/base_client.py
  • Flat resource modules for 16 API tags and 90 operations
  • Generated aryeo/models.py and aryeo/enums.py from the checked-in spec
  • Compatibility exports under aryeo/resources/
  • Python >=3.11 by design

Resource methods intentionally return decoded JSON until each endpoint can be confidently mapped to stable request and response models.

Install

python -m pip install -e ".[dev]"
python -m pip install -r docs/requirements.txt

Quickstart

from aryeo import AryeoClient

with AryeoClient.from_env() as client:
    orders = client.orders.list(params={"page": 1, "per_page": 25})
    listings = client.listings.list(params={"page": 1, "per_page": 25})

Set ARYEO_API_TOKEN before using protected operations. ARYEO_API_KEY is also accepted as a fallback for local .env files. Public operations can be called without a token.

Sentry Reporting

Optional, opt-in, enrich-only Sentry reporting is available behind the aryeo[sentry] extra. The client never calls sentry_sdk.init(); it attaches to your already-initialized Sentry SDK to capture client errors and request breadcrumbs, with bearer-token and PII scrubbing. It is a no-op when reporting is off or Sentry is not active.

python -m pip install "aryeo[sentry]"
import sentry_sdk
from aryeo import AryeoClient

sentry_sdk.init()  # owned by your application

with AryeoClient.from_env() as client:  # or AryeoClient(token=..., report_to_sentry=True)
    client.orders.list(params={"page": 1, "per_page": 25})

Enable it via report_to_sentry=True, or set ARYEO_SENTRY_ENABLED=1 for AryeoClient.from_env. See docs/guides/sentry.md for configuration and data safety details.

Live Integration Checks

Live checks are opt-in and avoid mutating API data by default:

python tools/verify_live_integrations.py

Some resource groups require stable fixture IDs before they can be checked live. Set ARYEO_LIVE_ADDRESS_ID, ARYEO_LIVE_ORDER_ITEM_ID, ARYEO_LIVE_ORDER_ID, or ARYEO_LIVE_VIDEO_ID for fixture-based reads.

Regenerate

python tools/bootstrap_client_repo.py --force-curated
python docs/api/generate_reference.py

Validation

black --check --diff --line-length=88 .
isort --check-only --diff --profile=black --line-length=88 .
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=88 --statistics
mypy aryeo/ --strict --ignore-missing-imports
pytest --cov=aryeo --cov-report=term-missing
mkdocs build --strict
python -m build
python -m twine check dist/*

Resource Groups

Tag Module Operations
Addresses aryeo/addresses.py 3
Appointments aryeo/appointments.py 12
Company Users aryeo/company_users.py 3
Customer Users aryeo/customer_users.py 8
Discounts aryeo/discounts.py 6
Listings aryeo/listings.py 7
Notes aryeo/notes.py 1
Order Forms aryeo/order_forms.py 2
Order Items aryeo/order_items.py 4
Orders aryeo/orders.py 6
Payroll aryeo/payroll.py 2
Products aryeo/products.py 5
Scheduling aryeo/scheduling.py 9
Tags aryeo/tags.py 12
Tasks aryeo/tasks.py 7
Videos aryeo/videos.py 3

Metadata

Release files for aryeo 0.2.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 aryeo 0.2.0
File Size Uploaded Provenance Actions
aryeo-0.2.0.tar.gz 99.0 kB With provenance Details for aryeo-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aryeo 0.2.0
File Interpreter ABI Platform Actions
aryeo-0.2.0-py3-none-any.whl Python 3 none any Details for aryeo-0.2.0-py3-none-any.whl

Total release size: 160.1 kB

Release files / aryeo-0.2.0.tar.gz

Download URL aryeo-0.2.0.tar.gz
Size 99.0 kB
Tags Source
SHA-256 checksum
How to use checksums
357388bf31d2a5a77faec2c38139d97c59b9cca11935c49bc048172793415e22
BLAKE2b-256 checksum
How to use checksums
725315fa922690c13ba9869b2e1ac3920bc41d8d5e4175f5f27c402dac233841
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 28, 2026.

Transparency log

Release files / aryeo-0.2.0-py3-none-any.whl

Download URL aryeo-0.2.0-py3-none-any.whl
Size 61.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b812021e9a8a447e7f35281560c858c0ad49ca4f7f500541b931d926d5ae3680
BLAKE2b-256 checksum
How to use checksums
e409d9852b75ad625cf5ea800833585b0ad2793458ab827d015559fe4fc70176
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 28, 2026.

Transparency log

Security for aryeo 0.2.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for aryeo-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 28, 2026.

Transparency log

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.2.0 This release

2 release files Full 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