Atlas Python SDK
The first public SDK surface is intentionally small:
import atlas_sdk
atlas_sdk.configure(api_url="http://localhost:8000")
managed = atlas_sdk.conn.quack()
direct = atlas_sdk.conn.duck()
crawl = await atlas_sdk.crawls.run(
"https://example.com/",
depth=0,
max_crawls=1,
)
await crawl.completed()
crawl.raise_for_status()
await crawl.materialized()
The PyPI distribution is named atlas-python-sdk; its Python import package
is atlas_sdk. This keeps it safe to install alongside the Atlas backend,
whose import package is atlas.
quack() and duck() return ordinary duckdb.DuckDBPyConnection
instances. quack() uses the managed DuckBasin/Quack connection boundary;
duck() is the development-only direct DuckLake attachment boundary.
Lifecycle waits are local, cancellable polling operations. Timing out or
cancelling a wait never cancels the server-side crawl; call crawl.cancel()
explicitly for that transition. materialized() waits for the ingestion
writes belonging to that crawl and for the fixed document and visit
projections to acknowledge those exact DuckLake snapshots.
Install the released package from PyPI:
python -m pip install atlas-python-sdk
For local development, install directly from the repository:
python -m pip install ./packages/atlas-python-sdk
The standalone end-to-end proof is examples/smoke.py. It uses
ATLAS_API_URL, the standard DUCKBASIN_* managed connection variables,
and either the direct connection variables or ATLAS_DIRECT_ENV_FILE.
Releasing
Repository CI publishes immutable releases from tags named
atlas-python-sdk-v<version>. The tag must exactly match the static version
in pyproject.toml; for example, version 0.1.0 is released with:
git tag atlas-python-sdk-v0.1.0
git push origin atlas-python-sdk-v0.1.0
PyPI publishing uses Trusted Publishing rather than a stored API token. The
PyPI publisher must be configured for GitHub owner ekkuleivonen, repository
atlas, workflow python-sdk-release.yml, and environment pypi. Protect
that GitHub environment with required reviewers before the first release.
Metadata
Release files for atlas-python-sdk 0.1.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 | |
|---|---|---|---|
| atlas_python_sdk-0.1.0.tar.gz | 13.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| atlas_python_sdk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.6 kB
Release files / atlas_python_sdk-0.1.0.tar.gz
| Download URL | atlas_python_sdk-0.1.0.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
769f1c3da760445cb1fc79810c500f54dd4d58fe31f08122848d7c36b098fe1f
|
|
BLAKE2b-256 checksum How to use checksums |
440e1e46e414953d6465a3a17d2543024b0352af771cc2516fe53412c86a30e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 29, 2026.
Transparency logRelease files / atlas_python_sdk-0.1.0-py3-none-any.whl
| Download URL | atlas_python_sdk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a5e6c370993c53d4c5e29e72598998ef7603ffe7e27f47f3fd3ba8e3b413e5e
|
|
BLAKE2b-256 checksum How to use checksums |
f2b44db68ed311892f7ab5cfb41ab6b2ff9ecf0bde468942c4bccd298951bf82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 29, 2026.
Transparency log