constriction 0.2.5

Entropy coders for research and production (Rust and Python).
Documentation
1
2
3
4
5
6
7
8
9
10
import toml

t = toml.load("Cargo.toml")
crate_version = t['package']['version']

t = toml.load("pyproject.toml")
wheel_version = t['tool']['poetry']['version']

assert crate_version == wheel_version
print(crate_version)