Skip to main content

athyr

The Athyr automation SDK — the execution core an Athyr worker runs, and the athyr command an author writes and runs automations with. One distribution carries both: there is no second package to install for the CLI.

$ pip install athyr           # the library and the athyr command
$ pip install "athyr[cli]"    # ...and OS keychain storage for `athyr login`

Python 3.12 or newer.

The library

import athyr is the surface an automation is written against, and it is the same module the fleet's worker binds at run time — which is what makes a flow run the same way on a laptop and in a job.

import athyr


@athyr.flow
def invoice_sync(since: str, batch_size: int = 2) -> dict[str, int]:
    """The parameters are the argument schema: `since` required, the other not."""
    endpoint = athyr.asset("sap-endpoint-url")
    password = athyr.credential("sap-gateway")

    with athyr.step("fetch", since=since):
        invoices = fetch(endpoint, since, password)

    athyr.progress(len(invoices), "fetched")
    return {"posted": post_all(invoices, batch_size)}

athyr.log is the logger, athyr.testing runs a flow against a fixture envelope so plain pytest can exercise one, and secrets read through athyr.credential are redacted from everything the run writes.

The command

Command
athyr init Scaffold a new automation project.
athyr login Sign in and store a personal access token for this machine.
athyr whoami Show who the stored token belongs to.
athyr run Run a flow on this machine, the way the fleet runs it.
athyr package Build the deployable artifact and the registration that publishes it.

Licence

Proprietary — see LICENSE. Published by the Athyr project; the source lives in a private repository, so there is no public issue tracker to link.

Metadata

Release files for athyr 0.1.5

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

Source distribution (sdist)

Source distribution for athyr 0.1.5
File Size Uploaded Provenance
athyr-0.1.5.tar.gz 152.5 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 255.3 kB

Release files / athyr-0.1.5.tar.gz

Download URL athyr-0.1.5.tar.gz
Size 152.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4ea6d7ca9bae24799be33c6bc568feb461ae7da4216fbebd57e7e7556c6edfa1
BLAKE2b-256 checksum
How to use checksums
209f06438de264cbbd1114a2dcc7403e274b071bcbb91af6e9f039044d52c884
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / athyr-0.1.5-py3-none-any.whl

Download URL athyr-0.1.5-py3-none-any.whl
Size 102.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2090dadcb7f752fb11cebc0f598aecafda11be4d1b6aa54619698a8d7248908c
BLAKE2b-256 checksum
How to use checksums
e11d8191fa7d2c62df8e296625c4544b8e29679e066048c469c590038a6049de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for athyr 0.1.5

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.

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