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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| norm_toolkit-1.9.1.tar.gz | 57.5 kB | Without provenance | Details for norm_toolkit-1.9.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| norm_toolkit-1.9.1-py3-none-any.whl | Python 3 | none | any | Details for norm_toolkit-1.9.1-py3-none-any.whl |
Total release size: 129.4 kB
Release files / norm_toolkit-1.9.1.tar.gz
| Download URL | norm_toolkit-1.9.1.tar.gz |
|---|---|
| Size | 57.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bbcc87e1aca5cf024c18a25c2b606cdde8be669db7ccf2a66a07e883504f2373
|
|
BLAKE2b-256 checksum How to use checksums |
83de6834b5ebf722d501ef752da05f09c90862f1fcf7171c210e42af555d6b8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","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.1-py3-none-any.whl
| Download URL | norm_toolkit-1.9.1-py3-none-any.whl |
|---|---|
| Size | 72.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df75530482dee3df9c90fad34f39edae9c9af25320b639148edfcb58e7cf3574
|
|
BLAKE2b-256 checksum How to use checksums |
1dc31952c78011f093b960ae8dcf8b4143035342d7345824024b574404f0fc37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","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.1
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.