Skip to main content

retok

Regex tokenizer and token encoder/decoder written in Rust, exposed to Python via PyO3.

Prerequisites

  • Python 3.10 or newer
  • Rust toolchain (edition 2024)
  • maturin

Installation

maturin develop

Usage

The tokenization pattern is passed as argument, as any regex string. Text is enclosed with BOS and EOS tokens and padded. With bos_after_first the first token stays in front of BOS, and with eos_before_last the last token stays behind EOS.

import retok

pattern = r"\d+|[A-Za-z]+|[^\s\w]"
retok.tokenize(pattern, "foo 12, bar!")  # ["foo", "12", ",", "bar", "!"]

vocab = ["<pad>", "<s>", "</s>", "foo", "bar", "12", ",", "!"]
token_indices = {t: i for i, t in enumerate(vocab)}
ids, lengths = retok.encode_with_lengths(
    ["foo 12, bar!"],
    min_len=10,
    pattern=pattern,
    token_indices=token_indices,
    pad="<pad>",
    bos="<s>",
    eos="</s>",
)
retok.decode(ids, dict(enumerate(vocab)), {"<pad>", "<s>", "</s>"})  # ["foo12,bar!"]

License

MIT. See LICENSE.

Metadata

Release files for retok 0.1.0

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

Source distribution (sdist)

Source distribution for retok 0.1.0
File Size Uploaded Provenance Actions
retok-0.1.0.tar.gz 12.6 kB With provenance Details for retok-0.1.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for retok 0.1.0
File Actions
retok-0.1.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl PyPy 3.11 PyPy 3.11 7.3 Linux glibc 2.17+ x86-64 Details for retok-0.1.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
retok-0.1.0-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl PyPy 3.11 PyPy 3.11 7.3 Linux glibc 2.17+ ARM64 Details for retok-0.1.0-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
retok-0.1.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64 Details for retok-0.1.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
retok-0.1.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ ARM64 Details for retok-0.1.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
retok-0.1.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for retok-0.1.0-cp314-cp314-win_amd64.whl
retok-0.1.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64 Details for retok-0.1.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
retok-0.1.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ ARM64 Details for retok-0.1.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
retok-0.1.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for retok-0.1.0-cp314-cp314-macosx_11_0_arm64.whl
retok-0.1.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for retok-0.1.0-cp313-cp313-win_amd64.whl
retok-0.1.0-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 retok-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
retok-0.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64 Details for retok-0.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
retok-0.1.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for retok-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
retok-0.1.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for retok-0.1.0-cp312-cp312-win_amd64.whl
retok-0.1.0-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 retok-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
retok-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details for retok-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
retok-0.1.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for retok-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
retok-0.1.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for retok-0.1.0-cp311-cp311-win_amd64.whl
retok-0.1.0-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 retok-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
retok-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details for retok-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
retok-0.1.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for retok-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
retok-0.1.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for retok-0.1.0-cp310-cp310-win_amd64.whl
retok-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details for retok-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
retok-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details for retok-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Total release size: 18.3 MB

Release files / retok-0.1.0.tar.gz

Download URL retok-0.1.0.tar.gz
Size 12.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a36653250dce746e281c852ff09316e67580e0cf8ca12eec0b46a81439933376
BLAKE2b-256 checksum
How to use checksums
a4340b0da30fe86581804f47f4f8776e3481302c017765b230c4e66fee4ed11f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL retok-0.1.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 855.0 kB
Tags Linux glibc 2.17+ x86-64 PyPy 3.11 PyPy 3.11 7.3
SHA-256 checksum
How to use checksums
1f1119d0b371f4fbfc9521639de6311cf8a1cd1c792a66e268a3103b3890db92
BLAKE2b-256 checksum
How to use checksums
8bd0946e9a8d31a36d28d4ff55f00a97b6348a0560ca2cc837c05d969106c368
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL retok-0.1.0-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 823.2 kB
Tags Linux glibc 2.17+ ARM64 PyPy 3.11 PyPy 3.11 7.3
SHA-256 checksum
How to use checksums
c2a7103db2120c2c700ae42f9900364cc5c41714642f78c8251583e3b74e56d4
BLAKE2b-256 checksum
How to use checksums
72516dcb5440bcc44224b1180ee53800bde7ab56d623e5262c009b10772bef96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL retok-0.1.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 852.3 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
3cfea9632b0a2049a2fb9736efdfad9e49ea08a4d271174eb4a59d53c3142735
BLAKE2b-256 checksum
How to use checksums
923d8cbc50c3222c1e80dab48fd5439ccad77654e99bfb89d06380442a511319
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL retok-0.1.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 820.3 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
77af1b826edbed277c6ca14b43c309418ffaf217edf24b5ba073b7ac83f26377
BLAKE2b-256 checksum
How to use checksums
8f1c4c11a97e3357905685ff438789dfcb7c1c4503fcffd1a1b197b84b55a331
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-cp314-cp314-win_amd64.whl

Download URL retok-0.1.0-cp314-cp314-win_amd64.whl
Size 718.2 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
611665cc527f19dc3ee7fed81ccc10e6cfb22f6db32225d4a261aea07d938309
BLAKE2b-256 checksum
How to use checksums
a6b01f7606fcb9c75e9d64a5a39afc90e6d5533d5abb4ef0cba3d9c8f5ebfab3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL retok-0.1.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 853.6 kB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
cb016d590cdcf132c8f74106a42f9e8294d011834360e131802a6243296825b3
BLAKE2b-256 checksum
How to use checksums
f674aa9263c570b0e628597cf9018dbd22b84fde154629622b86c52e4ad268ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL retok-0.1.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 821.8 kB
Tags CPython 3.14 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
71fa8aea5fbdf57b6669e48d163213f51865cd2b30bb99438e64a2ddc472fe77
BLAKE2b-256 checksum
How to use checksums
aea4aa43a0164ffb7e0d212f5c10750c0695f9a1d6c48db7c9aca5dca4d1e927
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL retok-0.1.0-cp314-cp314-macosx_11_0_arm64.whl
Size 749.8 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4ef7b12c08d636287d949f729fcecedd5fcb2b6bd11c294751c4629bb786f31b
BLAKE2b-256 checksum
How to use checksums
43f5e6746602dbb2071029f4c2dd4b04bf336222f05873877e3f1175d747fac5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-cp313-cp313-win_amd64.whl

Download URL retok-0.1.0-cp313-cp313-win_amd64.whl
Size 718.6 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
31260de2fdacad75fe1ece0d9ee73638e5cb90c23ea156e853d5932feb248b37
BLAKE2b-256 checksum
How to use checksums
da5183ee5266ffd046ad54ddffafb60ba02cc1cde9ad1a0095ae7b98983da6df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL retok-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 853.4 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
07ad93fbfd317fd1854679f8803a232c4ecfb3a44b31003abe34e9b974362ce6
BLAKE2b-256 checksum
How to use checksums
c0f171ce9b517f069441ac67133ac2a3d9a42ab32cab84ee8e24d976cb4e7493
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL retok-0.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 821.2 kB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
ebd11b461d241b3ece7c1557421ff2c1b12b94707dbc3eb5c3faa79122ff0b46
BLAKE2b-256 checksum
How to use checksums
e3b388c155218c3f59b9bf4a7d184047de7d4c4b59293503d9bdd74ae911564e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL retok-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
Size 749.6 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5f3a66ddc84f6255187dab66f7a180d5e9839f19edf18fd4eff48fc202a710dc
BLAKE2b-256 checksum
How to use checksums
62a282ad2745425b8c6173f719ab4ba86305bf4ac02d744a81680796f22bfc37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-cp312-cp312-win_amd64.whl

Download URL retok-0.1.0-cp312-cp312-win_amd64.whl
Size 718.7 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
b711834fb40292047ca919f95d6c76801b8f598f8242c341475ab3cd6424bf70
BLAKE2b-256 checksum
How to use checksums
ab3af78b13866baa3f20a0c0cdc4eb23a0aeb9b7622cd22f7da87e7a0410b8db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL retok-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 853.5 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
a7db97bdf2bd88792740a123f01658ab52f17bada5ba1363181dc2dc9bbb4c38
BLAKE2b-256 checksum
How to use checksums
363b6a2df17ec0edded3ff60cd44a479759dd1c26c048f92ccf68ff9b65e08cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL retok-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 821.4 kB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
f3d28d3b90f2f6b191ef1a2e3fb82c855a731996520307dac4c4e8f962d50d36
BLAKE2b-256 checksum
How to use checksums
15a686c377cec92e37ad73a5590ec356f864e742f5b78d22af89b40bf381cedc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL retok-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Size 749.6 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
61fb594e60053c52da13c1bdc76070766c95f2d79881aa2e9a8ff1526fb9fc34
BLAKE2b-256 checksum
How to use checksums
253cbfb0aa98ee24ee5e159bf2fc27efbf78d506a62ac0b2cb180ea7734bbfc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-cp311-cp311-win_amd64.whl

Download URL retok-0.1.0-cp311-cp311-win_amd64.whl
Size 720.5 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
7e46975a3406bdd02c1d13f4a51ca086129dd39f9ff2758a7948f8d0b010c598
BLAKE2b-256 checksum
How to use checksums
8becad13428c64090d583cd9822d0ebe162ea701d6900651e8e40ffc78c8c75f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL retok-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 854.0 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
d05a90c94f869103dde240f40e3fd593354f71a53a2bb5bbbbc0fa33120590f0
BLAKE2b-256 checksum
How to use checksums
ea7b124ecdaea528fe002b808c72a2e23ae9ed9fd1827778df24568c460d2439
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL retok-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 823.5 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
8c9687054ec21ef47277d62a803edc267d96fcd6395ff09207d6d5720f740c93
BLAKE2b-256 checksum
How to use checksums
e7f9eb580035bdf345e8bcfa7fc8ff13337fa16a6d78992dccfb7ce25fb5c625
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL retok-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Size 751.5 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e8422bb1dffaa3da8d4d1adbd5b1229098d12d50875d3bf70a0d69c1f91bcbe7
BLAKE2b-256 checksum
How to use checksums
1352f08666ddebd5122908d0e047e489a5fb098e7b8251dfd05fd26328fa43b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-cp310-cp310-win_amd64.whl

Download URL retok-0.1.0-cp310-cp310-win_amd64.whl
Size 720.4 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
95232c493b2880796c2f1f641d0c17b682a41441eda54fb983849c768e54a183
BLAKE2b-256 checksum
How to use checksums
46de24fa8bd5b211513a9725e91b45bd35093a840f151f672775142d9b6adeff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL retok-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 854.1 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
d0ac302472f6d0ffffb15fa1411f8618d0202c42370e7505bf744ba38d689e39
BLAKE2b-256 checksum
How to use checksums
b757ac262dbc7b40e31e7e294b8f6b755b13af0863155548ab78dacaf881a53b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / retok-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL retok-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 823.8 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
30f716febeb3c670fa6dadc12da88a9e75ec6f2ca0a651c66b6e63132a4c6352
BLAKE2b-256 checksum
How to use checksums
203c45dd70613b20c14dc15acc7dd05554a85d4770f9ee871391caffdfe41fb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Security for retok 0.1.0

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

All 24 files in this release have been uploaded with provenance metadata.

Select from 24 files

Attestation for retok-0.1.0.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 Oct 14, 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

24 release files Full 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