Skip to main content

ClickHouse backend

The DuckDB builder remains the source of truth. Build a DuckDB file with build_merged_duckdb, then upload its canonical tables into ClickHouse:

uv run python scripts/upload_clickhouse.py data/dbs_final/SmallMolecule.duckdb --database normalization

The upload shows a progress bar for each copied table; pass --no-progress to silence it.

Connection settings are read from .env with python-dotenv and use the official clickhouse-connect client. Set CH_HTTP, for example http://host:8123/normalization; CH_USER and CH_PASSWORD may be supplied separately and override URL credentials.

Use the ClickHouse backend from Python:

from norm_toolkit import ClickHouseNormalizer

normalizer = ClickHouseNormalizer(database="normalization")
result = normalizer.normalize(["aspirin"], top_k=5)

You can also pass a DSN in code:

normalizer = ClickHouseNormalizer(
    dsn="http://host:8123/normalization",
    database="normalization",
)

Metadata

Release files for norm_toolkit 1.9.3

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

Source distribution (sdist)

Source distribution for norm_toolkit 1.9.3
File Size Uploaded Provenance Actions
norm_toolkit-1.9.3.tar.gz 64.6 kB Without provenance Details for norm_toolkit-1.9.3.tar.gz

Built distribution (wheel)

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

Total release size: 142.9 kB

Release files / norm_toolkit-1.9.3.tar.gz

Download URL norm_toolkit-1.9.3.tar.gz
Size 64.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1c6fe6932b5d6b75a1a769da51014587cd36591f7dd4c3b1a4dfac6e0e35df62
BLAKE2b-256 checksum
How to use checksums
7d6bbfa2b8707d220da9a66a78d7215688e2a88840a282fac47a306053c299f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","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 / norm_toolkit-1.9.3-py3-none-any.whl

Download URL norm_toolkit-1.9.3-py3-none-any.whl
Size 78.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27bcac2e54781af3849dbac8cf131ae8a1d0d54668fb2d48f11ae15000cd5c4f
BLAKE2b-256 checksum
How to use checksums
6bf756ab0c492e080c08a95303d3870010ae363fb2389ab739186de2f6b5eecb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","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 norm_toolkit 1.9.3

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