Skip to main content

unipkainfer

unipkainfer is a standalone, inference-only packaging of Uni-pKa, Uni-Mol, and the minimal pure-Python Uni-Core runtime they require. It supports CPU and single-GPU inference through PyTorch and does not build Uni-Core's optional fused CUDA extensions.

This distribution contains code derived from Uni-pKa (Apache-2.0), and code derived from Uni-Mol and Uni-Core (MIT). Copyright and license notices are preserved in the accompanying license and third-party notice files.

The Uni-pKa models distributed with unipkainfer were trained using data from:

Jonathan Zheng, & Lafontant-Joseph, O. (2026). IUPAC/Dissociation-Constants: v2.3d (Versions v2-3d) [Dataset]. Zenodo. https://doi.org/10.5281/zenodo.19112621 (CC BY-NC 4.0 Licence).

Commercial use of the model weights is not authorised without additional permission from the relevant rights holders.

Installation

python -m pip install unipkainfer

The selected model fold is downloaded from Hugging Face on first use and verified by its SHA-256 checksum. The default is fold 1. Checkpoints are cached in the user data directory, normally:

~/.local/share/unipkainfer/models

The download can be prepared ahead of time, for example when building a container:

unipka-download-model --fold 1

Use multiple values to prefetch several folds:

unipka-download-model --fold 0 1 2 3 4 --output-folder /path/to/models

Python API

from rdkit import Chem
from unipkainfer import predict_standard_free_energy

free_energy = predict_standard_free_energy(Chem.MolFromSmiles("CCO"))

Use UnipkaFreeEnergyConfig(folds=...) to select folds and model_dir=... to override the cache location. A CUDA-enabled PyTorch installation and compatible NVIDIA driver are required for GPU inference.

See THIRD_PARTY_NOTICES.md, unipkainfer/unicoreinfer/UPSTREAM.md, and the included licenses for upstream provenance.

Metadata

Release files for unipkainfer 0.3.1

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

Source distribution (sdist)

Source distribution for unipkainfer 0.3.1
File Size Uploaded Provenance Actions
unipkainfer-0.3.1.tar.gz 98.9 kB With provenance Details for unipkainfer-0.3.1.tar.gz

Built distribution (wheel)

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

Total release size: 241.2 kB

Release files / unipkainfer-0.3.1.tar.gz

Download URL unipkainfer-0.3.1.tar.gz
Size 98.9 kB
Tags Source
SHA-256 checksum
How to use checksums
41aae4271c97bbe4fc94ddbed9117f7b499401d1a486a3605a33246456a3fcb8
BLAKE2b-256 checksum
How to use checksums
88a6db107182f626f0d5a63c5c839dd6b6a137e22bb96f5ffb9c1b3df56f64d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 17, 2026.

Transparency log

Release files / unipkainfer-0.3.1-py3-none-any.whl

Download URL unipkainfer-0.3.1-py3-none-any.whl
Size 142.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c808a6b395f258753b31d40fba4dbd68edbf7910a8aaeb7f6d3e8bc028a7124
BLAKE2b-256 checksum
How to use checksums
0b0b11b1f7a1c50422061f6c975fb311742db6350a49c62fb6c9ac5823b96fd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 17, 2026.

Transparency log

Security for unipkainfer 0.3.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for unipkainfer-0.3.1.tar.gz

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 Nov 17, 2026.

Transparency log

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