Skip to content

Latest commit

 

History

History
69 lines (47 loc) · 1.38 KB

README.raw.md

File metadata and controls

69 lines (47 loc) · 1.38 KB

toml-bench

deps

Which toml package to use in python?

See also: toml-lang and PEP 680

{{latest-report}}

Other reports

Run your own report

Install

pip install -U toml-bench

Generate your own report

toml-bench

Use a different data directory than the default one

toml-bench --datadir /tmp/toml-bench

Write the report to a markdown file

toml-bench --report ./README.md

Test with a different version of compliance set (BurntSushi/toml-test)

toml-bench --comver 1.0.0

Use a different number of iterations in speed tests

toml-bench --iter 5000

Test with different versions of packages

git clone https://github.com/pwwang/toml-bench.git
cd toml-bench
# See https://python-poetry.org/docs/cli/#add
# for how to specify a version constraint
poetry add "tomli=2.0.0"
poetry update
poetry install
poetry run toml-bench