Skip to main content

yertle-client

Auto-generated Python client for the Yertle API.

Status: alpha (0.0.1). Generated with openapi-python-client from the backend's OpenAPI spec.

Install

# Not yet on PyPI. Install from this repo:
pip install -e clients/python/

Usage

from yertle_client.auth import client_from_token
from yertle_client.api.organizations import list_organizations_orgs_get

client = client_from_token(
    token="<JWT or PAT>",
    base_url="https://api.yertle.com",
)
orgs = list_organizations_orgs_get.sync(client=client)
for org in orgs or []:
    print(org.id, org.name)

The package re-exports Client and AuthenticatedClient from the top level for direct use, but client_from_token is the recommended entry point.

Regeneration

./generate.sh                                                 # dump from local backend, then regen
OPENAPI_PATH=/path/to/spec.json ./generate.sh                 # use a local spec file
OPENAPI_URL=http://localhost:8000/openapi.json ./generate.sh  # fetch from a running backend

Layout

Path Source Notes
yertle_client/api/ generated one module per API route
yertle_client/models/ generated request/response models (attrs-based)
yertle_client/client.py generated Client and AuthenticatedClient
yertle_client/auth.py hand-written client_from_token helper. May be wiped by regeneration — restore from git.
openapi-config.yaml hand-written codegen options (package name, naming)
generate.sh hand-written regeneration script

Download files

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

Source Distribution

yertle_client-0.1.0.tar.gz (77.4 kB view details)

Uploaded Source

Built Distribution

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

yertle_client-0.1.0-py3-none-any.whl (263.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yertle_client-0.1.0.tar.gz
  • Upload date:
  • Size: 77.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for yertle_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 977648f57b29d08a67757578b444741204467959c3d996714269a53339c7a122
MD5 06fbbbf761c750446378bac1f115e229
BLAKE2b-256 704695e680f669320862ea988a6d8cfb67eb73e4107e45423503b20d0be31d6e

See more details on using hashes here.

Provenance

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

Publisher: publish-client.yml on albertcmiller1/yertle

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

File details

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

File metadata

  • Download URL: yertle_client-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 263.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for yertle_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79fb7e36536c0d8200b14df32d9076d8456127d4dc5aba66df669273b78d9af0
MD5 e4b75ed055a3180864b7f52ba17b8559
BLAKE2b-256 6679bd230cbb191ca09e172864dc25ddef97766b4e1a82e2ec274572fa64bcbd

See more details on using hashes here.

Provenance

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

Publisher: publish-client.yml on albertcmiller1/yertle

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

Release history Release notifications | RSS feed

0.2.0

2 files

This release

0.1.0 This release

2 files

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