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.

Download files

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

Source Distribution

athyr-0.1.5.tar.gz (152.5 kB view details)

Uploaded Source

Built Distribution

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

athyr-0.1.5-py3-none-any.whl (102.8 kB view details)

Uploaded Python 3

File details

Details for the file athyr-0.1.5.tar.gz.

File metadata

  • Download URL: athyr-0.1.5.tar.gz
  • Upload date:
  • Size: 152.5 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for athyr-0.1.5.tar.gz
Algorithm Hash digest
SHA256 4ea6d7ca9bae24799be33c6bc568feb461ae7da4216fbebd57e7e7556c6edfa1
MD5 f4bfd3cbf704110d84cbcfe9ffd8e7de
BLAKE2b-256 209f06438de264cbbd1114a2dcc7403e274b071bcbb91af6e9f039044d52c884

See more details on using hashes here.

File details

Details for the file athyr-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: athyr-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 102.8 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for athyr-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2090dadcb7f752fb11cebc0f598aecafda11be4d1b6aa54619698a8d7248908c
MD5 9cea97b329c47de0dc6dc02a236a1e97
BLAKE2b-256 e11d8191fa7d2c62df8e296625c4544b8e29679e066048c469c590038a6049de

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.0

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