Skip to main content

Typed Python client for the Aryeo API.

Project description

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.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aryeo-0.1.0.tar.gz (76.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aryeo-0.1.0-py3-none-any.whl (56.8 kB view details)

Uploaded Python 3

File details

Details for the file aryeo-0.1.0.tar.gz.

File metadata

  • Download URL: aryeo-0.1.0.tar.gz
  • Upload date:
  • Size: 76.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aryeo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8ba9faa55ce4aa7e68d1dd272d11c6478b2eaf59f858d75196079d5d6f1a53b1
MD5 07d474492d621be676f6c22bb1ad3376
BLAKE2b-256 1d7013293d2544c623cb4bba1916b0fb95bdefef744e20fe2a0cd513f34824e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for aryeo-0.1.0.tar.gz:

Publisher: release.yml on theperrygroup/aryeo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aryeo-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aryeo-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 56.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aryeo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17a58e4f67f3426d5f0b84f0c0002d1b8bc305f84437a7ec58d0b22c3e89da5a
MD5 79362a2a3d3ac64e66791d2e8a8c6009
BLAKE2b-256 9013ea84be1f16749e35b8a86991e126e942ece452a0cfb6c3b023eea1b61cf7

See more details on using hashes here.

Provenance

The following attestation bundles were made for aryeo-0.1.0-py3-none-any.whl:

Publisher: release.yml on theperrygroup/aryeo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page