asyncio-for-ynab
Asyncio client for the YNAB API.
This package is generated from the YNAB OpenAPI spec and uses the OpenAPI Generator Python httpx client.
This project is not affiliated with, endorsed by, or officially connected with YNAB.
Install
python -m pip install asyncio-for-ynab
For local development:
python -m pip install -e ".[dev]"
Quick Start
import asyncio
from asyncio_for_ynab import ApiClient
from asyncio_for_ynab import Configuration
from asyncio_for_ynab import PlansApi
from asyncio_for_ynab import UserApi
async def main() -> None:
configuration = Configuration(access_token="your-access-token")
async with ApiClient(configuration) as api_client:
user_api = UserApi(api_client)
plans_api = PlansApi(api_client)
user = await user_api.get_user()
plans = await plans_api.get_plans()
print(user)
print(plans)
asyncio.run(main())
Common Patterns
Create a client once and pass it to any generated API class:
from asyncio_for_ynab import AccountsApi
from asyncio_for_ynab import ApiClient
from asyncio_for_ynab import Configuration
configuration = Configuration(access_token="your-access-token")
async with ApiClient(configuration) as api_client:
accounts_api = AccountsApi(api_client)
accounts = await accounts_api.get_accounts()
The package also exports generated models, response objects, and exceptions at the top level:
from asyncio_for_ynab import AccountResponse
from asyncio_for_ynab import ApiException
from asyncio_for_ynab import TransactionResponse
Development
Run the repository checks with pre-commit:
pre-commit run --all-files
Run the test suite:
tox -e py
Versioning
Package versions mirror the YNAB API spec version. For example, spec 1.83.0 is published as
asyncio-for-ynab==1.83.0.
Sometimes YNAB updates the spec without raising the version (for example, documentation updates). Releases are not
created in this case. Install from main to pull in these changes.
Changelog / Release Notes
This project publishes auto-generated release notes. For YNAB API release notes, see https://api.ynab.com/#changelog
Metadata
Release files for asyncio-for-ynab 1.87.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| asyncio_for_ynab-1.87.0.tar.gz | 108.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| asyncio_for_ynab-1.87.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 512.8 kB
Release files / asyncio_for_ynab-1.87.0.tar.gz
| Download URL | asyncio_for_ynab-1.87.0.tar.gz |
|---|---|
| Size | 108.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
889be57f5a66c6904c64e0cb36b0845ee753fd383916d165ddb33162218aaaa7
|
|
BLAKE2b-256 checksum How to use checksums |
d70ac39e361f3922715058fdb5b38b97e4da4a076bfc64c90c34b052ef03745a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 23, 2026.
Transparency logRelease files / asyncio_for_ynab-1.87.0-py3-none-any.whl
| Download URL | asyncio_for_ynab-1.87.0-py3-none-any.whl |
|---|---|
| Size | 404.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5a3388e31b3a7474d1e2ec1f79d698a2c48bdc52386b0a33182398e1178dc434
|
|
BLAKE2b-256 checksum How to use checksums |
08696407f858e0a4d615f81f621153f6ae1b0e23570c06f0e3db32877f131cdd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 23, 2026.
Transparency log