Skip to main content

Build Status codecov.io PyPI version

Tomli

A lil' TOML parser

Table of Contents generated with mdformat-toc

Intro

Tomli is a Python library for parsing TOML. It is fully compatible with TOML v1.0.0.

A version of Tomli, the tomllib module, was added to the standard library in Python 3.11 via PEP 680. Tomli continues to provide a backport on PyPI for Python versions where the standard library module is not available and that have not yet reached their end-of-life.

Tomli uses mypyc to generate binary wheels for most of the widely used platforms, so Python 3.11+ users may prefer it over tomllib for improved performance. Pure Python wheels are available on any platform and should perform the same as tomllib.

Installation

pip install tomli

Usage

Parse a TOML string

import tomli

toml_str = """
[[players]]
name = "Lehtinen"
number = 26

[[players]]
name = "Numminen"
number = 27
"""

toml_dict = tomli.loads(toml_str)
assert toml_dict == {
    "players": [{"name": "Lehtinen", "number": 26}, {"name": "Numminen", "number": 27}]
}

Parse a TOML file

import tomli

with open("path_to_file/conf.toml", "rb") as f:
    toml_dict = tomli.load(f)

The file must be opened in binary mode (with the "rb" flag). Binary mode will enforce decoding the file as UTF-8 with universal newlines disabled, both of which are required to correctly parse TOML.

Handle invalid TOML

import tomli

try:
    toml_dict = tomli.loads("]] this is invalid TOML [[")
except tomli.TOMLDecodeError:
    print("Yep, definitely not valid.")

Note that error messages are considered informational only. They should not be assumed to stay constant across Tomli versions.

Construct decimal.Decimals from TOML floats

from decimal import Decimal
import tomli

toml_dict = tomli.loads("precision-matters = 0.982492", parse_float=Decimal)
assert isinstance(toml_dict["precision-matters"], Decimal)
assert toml_dict["precision-matters"] == Decimal("0.982492")

Note that decimal.Decimal can be replaced with another callable that converts a TOML float from string to a Python type. The decimal.Decimal is, however, a practical choice for use cases where float inaccuracies can not be tolerated.

Illegal types are dict and list, and their subtypes. A ValueError will be raised if parse_float produces illegal types.

Building a tomli/tomllib compatibility layer

Python versions 3.11+ ship with a version of Tomli: the tomllib standard library module. To build code that uses the standard library if available, but still works seamlessly with Python 3.6+, do the following.

Instead of a hard Tomli dependency, use the following dependency specifier to only require Tomli when the standard library module is not available:

tomli >= 1.1.0 ; python_version < "3.11"

Then, in your code, import a TOML parser using the following fallback mechanism:

import sys

if sys.version_info >= (3, 11):
    import tomllib
else:
    import tomli as tomllib

tomllib.loads("['This parses fine with Python 3.6+']")

FAQ

Why this parser?

  • it's lil'
  • pure Python with zero dependencies
  • the fastest pure Python parser *: 18x as fast as tomlkit, 2.1x as fast as toml
  • outputs basic data types only
  • 100% spec compliant: passes all tests in BurntSushi/toml-test test suite
  • thoroughly tested: 100% branch coverage

Is comment preserving round-trip parsing supported?

No.

The tomli.loads function returns a plain dict that is populated with builtin types and types from the standard library only. Preserving comments requires a custom type to be returned so will not be supported, at least not by the tomli.loads and tomli.load functions.

Look into TOML Kit if preservation of style is what you need.

Is there a dumps, write or encode function?

Tomli-W is the write-only counterpart of Tomli, providing dump and dumps functions.

The core library does not include write capability, as most TOML use cases are read-only, and Tomli intends to be minimal.

How do TOML types map into Python types?

TOML type Python type Details
Document Root dict
Key str
String str
Integer int
Float float
Boolean bool
Offset Date-Time datetime.datetime tzinfo attribute set to an instance of datetime.timezone
Local Date-Time datetime.datetime tzinfo attribute set to None
Local Date datetime.date
Local Time datetime.time
Array list
Table dict
Inline Table dict

Performance

The benchmark/ folder in this repository contains a performance benchmark for comparing the various Python TOML parsers.

Below are the results for commit 0724e2a.

Pure Python

foo@bar:~/dev/tomli$ python --version
Python 3.12.7
foo@bar:~/dev/tomli$ pip freeze
attrs==21.4.0
click==8.1.7
pytomlpp==1.0.13
qtoml==0.3.1
rtoml==0.11.0
toml==0.10.2
tomli @ file:///home/foo/dev/tomli
tomlkit==0.13.2
foo@bar:~/dev/tomli$ python benchmark/run.py
Parsing data.toml 5000 times:
------------------------------------------------------
    parser |  exec time | performance (more is better)
-----------+------------+-----------------------------
     rtoml |    0.647 s | baseline (100%)
  pytomlpp |    0.891 s | 72.62%
     tomli |     3.14 s | 20.56%
      toml |     6.69 s | 9.67%
     qtoml |     8.27 s | 7.82%
   tomlkit |     56.1 s | 1.15%

Mypyc generated wheel

foo@bar:~/dev/tomli$ python benchmark/run.py
Parsing data.toml 5000 times:
------------------------------------------------------
    parser |  exec time | performance (more is better)
-----------+------------+-----------------------------
     rtoml |    0.668 s | baseline (100%)
  pytomlpp |    0.893 s | 74.81%
     tomli |     1.96 s | 34.18%
      toml |     6.64 s | 10.07%
     qtoml |     8.26 s | 8.09%
   tomlkit |     52.9 s | 1.26%

Metadata

Release files for tomli 2.2.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 tomli 2.2.1
File Size Uploaded Provenance Actions
tomli-2.2.1.tar.gz 17.2 kB Without provenance Details for tomli-2.2.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for tomli 2.2.1
File Actions
tomli-2.2.1-py3-none-any.whl Python 3 none any Details for tomli-2.2.1-py3-none-any.whl
tomli-2.2.1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for tomli-2.2.1-cp313-cp313-win_amd64.whl
tomli-2.2.1-cp313-cp313-win32.whl CPython 3.13 CPython 3.13 Windows x86-32 Details for tomli-2.2.1-cp313-cp313-win32.whl
tomli-2.2.1-cp313-cp313-musllinux_1_2_x86_64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-64 Details for tomli-2.2.1-cp313-cp313-musllinux_1_2_x86_64.whl
tomli-2.2.1-cp313-cp313-musllinux_1_2_i686.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-32 Details for tomli-2.2.1-cp313-cp313-musllinux_1_2_i686.whl
tomli-2.2.1-cp313-cp313-musllinux_1_2_aarch64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ ARM64 Details for tomli-2.2.1-cp313-cp313-musllinux_1_2_aarch64.whl
tomli-2.2.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details for tomli-2.2.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
tomli-2.2.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64 Details for tomli-2.2.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
tomli-2.2.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-32, Linux glibc 2.5+ x86-32 Details for tomli-2.2.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
tomli-2.2.1-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for tomli-2.2.1-cp313-cp313-macosx_11_0_arm64.whl
tomli-2.2.1-cp313-cp313-macosx_10_13_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.13+ x86-64 Details for tomli-2.2.1-cp313-cp313-macosx_10_13_x86_64.whl
tomli-2.2.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for tomli-2.2.1-cp312-cp312-win_amd64.whl
tomli-2.2.1-cp312-cp312-win32.whl CPython 3.12 CPython 3.12 Windows x86-32 Details for tomli-2.2.1-cp312-cp312-win32.whl
tomli-2.2.1-cp312-cp312-musllinux_1_2_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-64 Details for tomli-2.2.1-cp312-cp312-musllinux_1_2_x86_64.whl
tomli-2.2.1-cp312-cp312-musllinux_1_2_i686.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-32 Details for tomli-2.2.1-cp312-cp312-musllinux_1_2_i686.whl
tomli-2.2.1-cp312-cp312-musllinux_1_2_aarch64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ ARM64 Details for tomli-2.2.1-cp312-cp312-musllinux_1_2_aarch64.whl
tomli-2.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for tomli-2.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
tomli-2.2.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details for tomli-2.2.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
tomli-2.2.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl CPython 3.12 CPython 3.12 Linux glibc 2.5+ x86-32, Linux glibc 2.17+ x86-32 Details for tomli-2.2.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
tomli-2.2.1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for tomli-2.2.1-cp312-cp312-macosx_11_0_arm64.whl
tomli-2.2.1-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details for tomli-2.2.1-cp312-cp312-macosx_10_13_x86_64.whl
tomli-2.2.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for tomli-2.2.1-cp311-cp311-win_amd64.whl
tomli-2.2.1-cp311-cp311-win32.whl CPython 3.11 CPython 3.11 Windows x86-32 Details for tomli-2.2.1-cp311-cp311-win32.whl
tomli-2.2.1-cp311-cp311-musllinux_1_2_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-64 Details for tomli-2.2.1-cp311-cp311-musllinux_1_2_x86_64.whl
tomli-2.2.1-cp311-cp311-musllinux_1_2_i686.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-32 Details for tomli-2.2.1-cp311-cp311-musllinux_1_2_i686.whl
tomli-2.2.1-cp311-cp311-musllinux_1_2_aarch64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ ARM64 Details for tomli-2.2.1-cp311-cp311-musllinux_1_2_aarch64.whl
tomli-2.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details for tomli-2.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
tomli-2.2.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details for tomli-2.2.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
tomli-2.2.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl CPython 3.11 CPython 3.11 Linux glibc 2.5+ x86-32, Linux glibc 2.17+ x86-32 Details for tomli-2.2.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
tomli-2.2.1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for tomli-2.2.1-cp311-cp311-macosx_11_0_arm64.whl
tomli-2.2.1-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details for tomli-2.2.1-cp311-cp311-macosx_10_9_x86_64.whl

Total release size: 5.8 MB

Release files / tomli-2.2.1.tar.gz

Download URL tomli-2.2.1.tar.gz
Size 17.2 kB
Tags Source
SHA-256 checksum
How to use checksums
cd45e1dc79c835ce60f7404ec8119f2eb06d38b1deba146f07ced3bbc44505ff
BLAKE2b-256 checksum
How to use checksums
1887302344fed471e44a87289cf4967697d07e532f2421fdaf868a303cbae4ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-py3-none-any.whl

Download URL tomli-2.2.1-py3-none-any.whl
Size 14.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb55c73c5f4408779d0cf3eef9f762b9c9f147a77de7b258bef0a5628adc85cc
BLAKE2b-256 checksum
How to use checksums
6ec261d3e0f47e2b74ef40a68b9e6ad5984f6241a942f7cd3bbfbdbd03861ea9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp313-cp313-win_amd64.whl

Download URL tomli-2.2.1-cp313-cp313-win_amd64.whl
Size 109.4 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
a38aa0308e754b0e3c67e344754dff64999ff9b513e691d0e786265c93583c69
BLAKE2b-256 checksum
How to use checksums
c732b0963458706accd9afcfeb867c0f9175a741bf7b19cd424230714d722198
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp313-cp313-win32.whl

Download URL tomli-2.2.1-cp313-cp313-win32.whl
Size 98.7 kB
Tags CPython 3.13 Windows x86-32
SHA-256 checksum
How to use checksums
d3f5614314d758649ab2ab3a62d4f2004c825922f9e370b29416484086b264ec
BLAKE2b-256 checksum
How to use checksums
5bb91ed31d167be802da0fc95020d04cd27b7d7065cc6fbefdd2f9186f60d7bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp313-cp313-musllinux_1_2_x86_64.whl

Download URL tomli-2.2.1-cp313-cp313-musllinux_1_2_x86_64.whl
Size 244.0 kB
Tags CPython 3.13 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
a198f10c4d1b1375d7687bc25294306e551bf1abfa4eace6650070a5c1ae2744
BLAKE2b-256 checksum
How to use checksums
07105af1293da642aded87e8a988753945d0cf7e00a9452d3911dd3bb354c9e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp313-cp313-musllinux_1_2_i686.whl

Download URL tomli-2.2.1-cp313-cp313-musllinux_1_2_i686.whl
Size 258.7 kB
Tags CPython 3.13 Linux musl 1.2+ x86-32
SHA-256 checksum
How to use checksums
d920f33822747519673ee656a4b6ac33e382eca9d331c87770faa3eef562aeb2
BLAKE2b-256 checksum
How to use checksums
38313a76f67da4b0cf37b742ca76beaf819dca0ebef26d78fc794a576e08accf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp313-cp313-musllinux_1_2_aarch64.whl

Download URL tomli-2.2.1-cp313-cp313-musllinux_1_2_aarch64.whl
Size 236.5 kB
Tags CPython 3.13 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
ac065718db92ca818f8d6141b5f66369833d4a80a9d74435a268c52bdfa73140
BLAKE2b-256 checksum
How to use checksums
647b22d713946efe00e0adbcdfd6d1aa119ae03fd0b60ebed51ebb3fa9f5a2e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tomli-2.2.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 241.7 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
9316dc65bed1684c9a98ee68759ceaed29d229e985297003e494aa825ebb0281
BLAKE2b-256 checksum
How to use checksums
d9e582e80ff3b751373f7cead2815bcbe2d51c895b3c990686741a8e56ec42ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL tomli-2.2.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 232.5 kB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
a92ef1a44547e894e2a17d24e7557a5e85a9e1d0048b0b5e7541f76c5032cb13
BLAKE2b-256 checksum
How to use checksums
a0bdb470466d0137b37b68d24556c38a0cc819e8febe392d5b199dcd7f578365
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl

Download URL tomli-2.2.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Size 251.2 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-32 Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
e85e99945e688e32d5a35c1ff38ed0b3f41f43fad8df0bdf79f72b2ba7bc5272
BLAKE2b-256 checksum
How to use checksums
057e2a110bc2713557d6a1bfb06af23dd01e7dde52b6ee7dadc589868f9abfac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp313-cp313-macosx_11_0_arm64.whl

Download URL tomli-2.2.1-cp313-cp313-macosx_11_0_arm64.whl
Size 123.6 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
286f0ca2ffeeb5b9bd4fcc8d6c330534323ec51b2f52da063b11c502da16f30c
BLAKE2b-256 checksum
How to use checksums
c0ec46b4108816de6b385141f082ba99e315501ccd0a2ea23db4a100dd3990ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp313-cp313-macosx_10_13_x86_64.whl

Download URL tomli-2.2.1-cp313-cp313-macosx_10_13_x86_64.whl
Size 132.7 kB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
f4039b9cbc3048b2416cc57ab3bda989a6fcf9b36cf8937f01a6e731b64f80d7
BLAKE2b-256 checksum
How to use checksums
04902ee5f2e0362cb8a0b6499dc44f4d7d48f8fff06d28ba46e6f1eaa61a1388
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp312-cp312-win_amd64.whl

Download URL tomli-2.2.1-cp312-cp312-win_amd64.whl
Size 109.4 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
7fc04e92e1d624a4a63c76474610238576942d6b8950a2d7f908a340494e67e4
BLAKE2b-256 checksum
How to use checksums
ef609b9638f081c6f1261e2688bd487625cd1e660d0a85bd469e91d8db969734
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp312-cp312-win32.whl

Download URL tomli-2.2.1-cp312-cp312-win32.whl
Size 98.9 kB
Tags CPython 3.12 Windows x86-32
SHA-256 checksum
How to use checksums
889f80ef92701b9dbb224e49ec87c645ce5df3fa2cc548664eb8a25e03127a98
BLAKE2b-256 checksum
How to use checksums
1c9a47c0449b98e6e7d1be6cbac02f93dd79003234ddc4aaab6ba07a9a7482e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp312-cp312-musllinux_1_2_x86_64.whl

Download URL tomli-2.2.1-cp312-cp312-musllinux_1_2_x86_64.whl
Size 244.6 kB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
b82ebccc8c8a36f2094e969560a1b836758481f3dc360ce9a3277c65f374285e
BLAKE2b-256 checksum
How to use checksums
9cde6b432d66e986e501586da298e28ebeefd3edc2c780f3ad73d22566034239
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp312-cp312-musllinux_1_2_i686.whl

Download URL tomli-2.2.1-cp312-cp312-musllinux_1_2_i686.whl
Size 259.6 kB
Tags CPython 3.12 Linux musl 1.2+ x86-32
SHA-256 checksum
How to use checksums
02abe224de6ae62c19f090f68da4e27b10af2b93213d36cf44e6e1c5abd19fdd
BLAKE2b-256 checksum
How to use checksums
b404885d3b1f650e1153cbb93a6a9782c58a972b94ea4483ae4ac5cedd5e4a09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp312-cp312-musllinux_1_2_aarch64.whl

Download URL tomli-2.2.1-cp312-cp312-musllinux_1_2_aarch64.whl
Size 237.2 kB
Tags CPython 3.12 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
400e720fe168c0f8521520190686ef8ef033fb19fc493da09779e592861b78c6
BLAKE2b-256 checksum
How to use checksums
9e6efa2b916dced65763a5168c6ccb91066f7639bdc88b48adda990db10c8c0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tomli-2.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 242.3 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
db2b95f9de79181805df90bedc5a5ab4c165e6ec3fe99f970d0e302f384ad222
BLAKE2b-256 checksum
How to use checksums
5c5151c3f2884d7bab89af25f678447ea7d297b53b5a3b5730a7cb2ef6069f07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL tomli-2.2.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 233.5 kB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
4e340144ad7ae1533cb897d406382b4b6fede8890a03738ff1683af800d54192
BLAKE2b-256 checksum
How to use checksums
c8d6fc9267af9166f79ac528ff7e8c55c8181ded34eb4b0e93daa767b8841573
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl

Download URL tomli-2.2.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Size 252.2 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-32 Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
40741994320b232529c802f8bc86da4e1aa9f413db394617b9a256ae0f9a7f77
BLAKE2b-256 checksum
How to use checksums
abdfbfa89627d13a5cc22402e441e8a931ef2108403db390ff3345c05253935e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp312-cp312-macosx_11_0_arm64.whl

Download URL tomli-2.2.1-cp312-cp312-macosx_11_0_arm64.whl
Size 123.5 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8d57ca8095a641b8237d5b079147646153d22552f1c637fd3ba7f4b0b29167a8
BLAKE2b-256 checksum
How to use checksums
03b8152c68bb84fc00396b83e7bbddd5ec0bd3dd409db4195e2a9b3e398ad2e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp312-cp312-macosx_10_13_x86_64.whl

Download URL tomli-2.2.1-cp312-cp312-macosx_10_13_x86_64.whl
Size 132.8 kB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
4a8f6e44de52d5e6c657c9fe83b562f5f4256d8ebbfe4ff922c495620a7f6cea
BLAKE2b-256 checksum
How to use checksums
52e1f8af4c2fcde17500422858155aeb0d7e93477a0d59a98e56cbfe75070fd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp311-cp311-win_amd64.whl

Download URL tomli-2.2.1-cp311-cp311-win_amd64.whl
Size 108.3 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
2d0f2fdd22b02c6d81637a3c95f8cd77f995846af7414c5c4b8d0545afa1bc4b
BLAKE2b-256 checksum
How to use checksums
6a1c4a2dcde4a51b81be3530565e92eda625d94dafb46dbeb15069df4caffc34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp311-cp311-win32.whl

Download URL tomli-2.2.1-cp311-cp311-win32.whl
Size 98.3 kB
Tags CPython 3.11 Windows x86-32
SHA-256 checksum
How to use checksums
465af0e0875402f1d226519c9904f37254b3045fc5084697cefb9bdde1ff99ff
BLAKE2b-256 checksum
How to use checksums
726ffa64ef058ac1446a1e51110c375339b3ec6be245af9d14c87c4a6412dd32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp311-cp311-musllinux_1_2_x86_64.whl

Download URL tomli-2.2.1-cp311-cp311-musllinux_1_2_x86_64.whl
Size 238.3 kB
Tags CPython 3.11 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
33580bccab0338d00994d7f16f4c4ec25b776af3ffaac1ed74e0b3fc95e885a8
BLAKE2b-256 checksum
How to use checksums
92a37ade0576d17f3cdf5ff44d61390d4b3febb8a9fc2b480c75c47ea048c646
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp311-cp311-musllinux_1_2_i686.whl

Download URL tomli-2.2.1-cp311-cp311-musllinux_1_2_i686.whl
Size 245.3 kB
Tags CPython 3.11 Linux musl 1.2+ x86-32
SHA-256 checksum
How to use checksums
e59e304978767a54663af13c07b3d1af22ddee3bb2fb0618ca1593e4f593a106
BLAKE2b-256 checksum
How to use checksums
55185d8bc5b0a0362311ce4d18830a5d28943667599a60d20118074ea1b01bb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp311-cp311-musllinux_1_2_aarch64.whl

Download URL tomli-2.2.1-cp311-cp311-musllinux_1_2_aarch64.whl
Size 229.9 kB
Tags CPython 3.11 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
8dd28b3e155b80f4d54beb40a441d366adcfe740969820caf156c019fb5c7ec4
BLAKE2b-256 checksum
How to use checksums
73410a01279a7ae09ee1573b423318e7934674ce06eb33f50936655071d81a24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tomli-2.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 236.0 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
6972ca9c9cc9f0acaa56a8ca1ff51e7af152a9f87fb64623e31d5c83700080ee
BLAKE2b-256 checksum
How to use checksums
a96bc54ede5dc70d648cc6361eaf429304b02f2871a345bbdd51e993d6cdf550
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL tomli-2.2.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 226.1 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
ece47d672db52ac607a3d9599a9d48dcb2f2f735c6c2d1f34130085bb12b112a
BLAKE2b-256 checksum
How to use checksums
f1dd4f6cd1e7b160041db83c694abc78e100473c15d54620083dbd5aae7b990e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl

Download URL tomli-2.2.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Size 240.9 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-32 Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
c954d2250168d28797dd4e3ac5cf812a406cd5a92674ee4c8f123c889786aa8e
BLAKE2b-256 checksum
How to use checksums
1f47999514fa49cfaf7a92c805a86c3c43f4215621855d151b61c602abb38091
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp311-cp311-macosx_11_0_arm64.whl

Download URL tomli-2.2.1-cp311-cp311-macosx_11_0_arm64.whl
Size 123.4 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
023aa114dd824ade0100497eb2318602af309e5a55595f76b626d6d9f3b7b0a6
BLAKE2b-256 checksum
How to use checksums
c71651ae563a8615d472fdbffc43a3f3d46588c264ac4f024f63f01283becfbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tomli-2.2.1-cp311-cp311-macosx_10_9_x86_64.whl

Download URL tomli-2.2.1-cp311-cp311-macosx_10_9_x86_64.whl
Size 131.1 kB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
678e4fa69e4575eb77d103de3df8a895e1591b48e740211bd1067378c69e8249
BLAKE2b-256 checksum
How to use checksums
43ca75707e6efa2b37c77dadb324ae7d9571cb424e61ea73fad7c56c2d14527f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Security for tomli 2.2.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.

Release history Release notifications | RSS feed

This release

2.2.1 This release

32 release files No provenance

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