Skip to main content

o41-metrics-duckdb

DuckDB extension that attaches 041 Metrics as a database, bundled per platform with a load() helper.

import duckdb
import o41_metrics_duckdb

con = duckdb.connect(config={"allow_unsigned_extensions": "true"})
o41_metrics_duckdb.load(con)
con.execute("CREATE SECRET o41 (TYPE o41_metrics, API_KEY 'ak_...')")
con.execute(
    "ATTACH 'metrics.041.io' AS m (TYPE o41_metrics, CACHE_DIR '~/.o41-metrics/duckdb-cache')"
)
print(con.sql("SELECT slug, status FROM m.experiments LIMIT 5"))

The wheel pins the exact DuckDB release the extension was built for. The extension is not signed by DuckDB, so the connection has to allow unsigned extensions before load().

The SQL surface, selector rules, and cache behaviour are documented at https://metrics.041.io/docs.

Metadata

Release files for o41-metrics-duckdb 0.2.0

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

Built distributions (wheels)

Table of built distributions (wheels) for o41-metrics-duckdb 0.2.0
File Interpreter ABI Platform Actions
o41_metrics_duckdb-0.2.0-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for o41_metrics_duckdb-0.2.0-py3-none-manylinux_2_28_x86_64.whl
o41_metrics_duckdb-0.2.0-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for o41_metrics_duckdb-0.2.0-py3-none-manylinux_2_28_aarch64.whl
o41_metrics_duckdb-0.2.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for o41_metrics_duckdb-0.2.0-py3-none-macosx_11_0_arm64.whl

Total release size: 34.8 MB

Release files / o41_metrics_duckdb-0.2.0-py3-none-manylinux_2_28_x86_64.whl

Download URL o41_metrics_duckdb-0.2.0-py3-none-manylinux_2_28_x86_64.whl
Size 13.6 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
6a2804a6a1d1de85d7874363fea2a717c0b3f660b38a0cd2b3890a2cc58d2936
BLAKE2b-256 checksum
How to use checksums
22663f12954b4b6bd2602249658408091c185f3032ca9ea6ad538b6c947e9205
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / o41_metrics_duckdb-0.2.0-py3-none-manylinux_2_28_aarch64.whl

Download URL o41_metrics_duckdb-0.2.0-py3-none-manylinux_2_28_aarch64.whl
Size 12.1 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
ad9dffb4431b3f69b677e3c3154fb0abadd456c2b2eedfa2d6f0e2c10fab78d3
BLAKE2b-256 checksum
How to use checksums
28db89fc7064cfce186137c0849d7757384fa97352e6b6ceb1b34754e478c2d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / o41_metrics_duckdb-0.2.0-py3-none-macosx_11_0_arm64.whl

Download URL o41_metrics_duckdb-0.2.0-py3-none-macosx_11_0_arm64.whl
Size 9.2 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
01c7fa5b6c81b3a2eb198b09c466d005767c3262780752a30a9d2ff44868af6a
BLAKE2b-256 checksum
How to use checksums
5890af0abe27afee20d141ac110d998deaa7b228de62f4036d7d6f6351cb2dca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for o41-metrics-duckdb 0.2.0

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