Skip to main content

Fast and customizable text tokenization library with BPE and SentencePiece support

Project description

pyonmttok

pyonmttok is the Python wrapper for OpenNMT/Tokenizer, a fast and customizable text tokenization library with BPE and SentencePiece support.

Installation:

pip install pyonmttok

Requirements:

  • OS: Linux, macOS, Windows
  • Python version: >= 3.6
  • pip version: >= 19.0

Table of contents

  1. Tokenization
  2. Subword learning
  3. Vocabulary
  4. Token API
  5. Utilities

Tokenization

Example

>>> import pyonmtok
>>> tokenizer = pyonmttok.Tokenizer("aggressive", joiner_annotate=True)
>>> tokens = tokenizer("Hello World!")
>>> tokens
['Hello', 'World', '■!']
>>> tokenizer.detokenize(tokens)
'Hello World!'

Interface

Constructor

tokenizer = pyonmttok.Tokenizer(
    mode: str,
    *,
    lang: Optional[str] = None,
    bpe_model_path: Optional[str] = None,
    bpe_dropout: float = 0,
    vocabulary_path: Optional[str] = None,
    vocabulary_threshold: int = 0,
    sp_model_path: Optional[str] = None,
    sp_nbest_size: int = 0,
    sp_alpha: float = 0.1,
    joiner: str = "■",
    joiner_annotate: bool = False,
    joiner_new: bool = False,
    support_prior_joiners: bool = False,
    spacer_annotate: bool = False,
    spacer_new: bool = False,
    case_feature: bool = False,
    case_markup: bool = False,
    soft_case_regions: bool = False,
    no_substitution: bool = False,
    with_separators: bool = False,
    preserve_placeholders: bool = False,
    preserve_segmented_tokens: bool = False,
    segment_case: bool = False,
    segment_numbers: bool = False,
    segment_alphabet_change: bool = False,
    segment_alphabet: Optional[List[str]] = None,
)

# SentencePiece-compatible tokenizer.
tokenizer = pyonmttok.SentencePieceTokenizer(
    model_path: str,
    vocabulary_path: Optional[str] = None,
    vocabulary_threshold: int = 0,
    nbest_size: int = 0,
    alpha: float = 0.1,
)

# Copy constructor.
tokenizer = pyonmttok.Tokenizer(tokenizer: pyonmttok.Tokenizer)

# Return the tokenization options (excluding options related to subword).
tokenizer.options

See the documentation for a description of each tokenization option.

Tokenization

# Tokenize a text.
# When training=False, subword regularization such as BPE dropout is disabled.
tokenizer.__call__(text: str, training: bool = True) -> List[str]

# Tokenize a text and return optional features.
# When as_token_objects=True, the method returns Token objects (see below).
tokenizer.tokenize(
    text: str,
    as_token_objects: bool = False,
    training: bool = True,
) -> Union[Tuple[List[str], Optional[List[List[str]]]], List[pyonmttok.Token]]

# Tokenize a batch of text.
tokenizer.tokenize_batch(
    batch_text: List[str],
    as_token_objects: bool = False,
    training: bool = True,
) -> Union[Tuple[List[List[str]], List[Optional[List[List[str]]]]], List[List[pyonmttok.Token]]]

# Tokenize a file.
tokenizer.tokenize_file(
    input_path: str,
    output_path: str,
    num_threads: int = 1,
    verbose: bool = False,
    training: bool = True,
    tokens_delimiter: str = " ",
)

Detokenization

# The detokenize method converts a list of tokens back to a string.
tokenizer.detokenize(
    tokens: List[str],
    features: Optional[List[List[str]]] = None,
) -> str
tokenizer.detokenize(tokens: List[pyonmttok.Token]) -> str

# The detokenize_with_ranges method also returns a dictionary mapping a token
# index to a range in the detokenized text.
# Set merge_ranges=True to merge consecutive ranges, e.g. subwords of the same
# token in case of subword tokenization.
# Set unicode_ranges=True to return ranges over Unicode characters instead of bytes.
tokenizer.detokenize_with_ranges(
    tokens: Union[List[str], List[pyonmttok.Token]],
    merge_ranges: bool = False,
    unicode_ranges: bool = False,
) -> Tuple[str, Dict[int, Tuple[int, int]]]

# Detokenize a file.
tokenizer.detokenize_file(
    input_path: str,
    output_path: str,
    tokens_delimiter: str = " ",
)

Subword learning

Example

The Python wrapper supports BPE and SentencePiece subword learning through a common interface:

1. Create the subword learner with the tokenization you want to apply, e.g.:

# BPE is trained and applied on the tokenization output before joiner (or spacer) annotations.
tokenizer = pyonmttok.Tokenizer("aggressive", joiner_annotate=True, segment_numbers=True)
learner = pyonmttok.BPELearner(tokenizer=tokenizer, symbols=32000)

# SentencePiece can learn from raw sentences so a tokenizer in not required.
learner = pyonmttok.SentencePieceLearner(vocab_size=32000, character_coverage=0.98)

2. Feed some raw data:

# Feed detokenized sentences:
learner.ingest("Hello world!")
learner.ingest("How are you?")

# or detokenized text files:
learner.ingest_file("/data/train1.en")
learner.ingest_file("/data/train2.en")

3. Start the learning process:

tokenizer = learner.learn("/data/model-32k")

The returned tokenizer instance can be used to apply subword tokenization on new data.

Interface

# See https://github.com/rsennrich/subword-nmt/blob/master/subword_nmt/learn_bpe.py
# for argument documentation.
learner = pyonmttok.BPELearner(
    tokenizer: Optional[pyonmttok.Tokenizer] = None,  # Defaults to tokenization mode "space".
    symbols: int = 10000,
    min_frequency: int = 2,
    total_symbols: bool = False,
)

# See https://github.com/google/sentencepiece/blob/master/src/spm_train_main.cc
# for available training options.
learner = pyonmttok.SentencePieceLearner(
    tokenizer: Optional[pyonmttok.Tokenizer] = None,  # Defaults to tokenization mode "none".
    keep_vocab: bool = False,  # Keep the generated vocabulary (model_path will act like model_prefix in spm_train)
    **training_options,
)

learner.ingest(text: str)
learner.ingest_file(path: str)
learner.ingest_token(token: Union[str, pyonmttok.Token])

learner.learn(model_path: str, verbose: bool = False) -> pyonmttok.Tokenizer

Vocabulary

Example

tokenizer = pyonmttok.Tokenizer("aggressive", joiner_annotate=True)

with open("train.txt") as train_file:
    vocab = pyonmttok.build_vocab_from_lines(
        train_file,
        tokenizer=tokenizer,
        maximum_size=32000,
        special_tokens=["<blank>", "<unk>", "<s>", "</s>"],
    )

with open("vocab.txt", "w") as vocab_file:
    for token in vocab.ids_to_tokens:
        vocab_file.write("%s\n" % token)

Interface

# Special tokens are added with ids 0, 1, etc., and are never removed by a resize.
vocab = pyonmttok.Vocab(special_tokens: Optional[List[str]] = None)

# Read-only properties.
vocab.tokens_to_ids -> Dict[str, int]
vocab.ids_to_tokens -> List[str]

# Get or set the ID returned for out-of-vocabulary tokens.
# By default, it is the ID of the token <unk> if present in the vocabulary, len(vocab) otherwise.
vocab.default_id -> int

vocab.lookup_token(token: str) -> int
vocab.lookup_index(index: int) -> str

# Calls lookup_token on a batch of tokens.
vocab.__call__(tokens: List[str]) -> List[int]

vocab.__len__() -> int                  # Implements: len(vocab)
vocab.__contains__(token: str) -> bool  # Implements: "hello" in vocab
vocab.__getitem__(token: str) -> int    # Implements: vocab["hello"]

# Add tokens to the vocabulary after tokenization.
# If a tokenizer is not set, the text is split on spaces.
vocab.add_from_text(text: str, tokenizer: Optional[pyonmttok.Tokenizer] = None) -> None
vocab.add_from_file(path: str, tokenizer: Optional[pyonmttok.Tokenizer] = None) -> None
vocab.add_token(token: str) -> None

vocab.resize(maximum_size: int = 0, minimum_frequency: int = 1) -> None


# Build a vocabulary from an iterator of lines.
# If a tokenizer is not set, the lines are split on spaces.
pyonmttok.build_vocab_from_lines(
    lines: Iterable[str],
    tokenizer: Optional[pyonmttok.Tokenizer] = None,
    maximum_size: int = 0,
    minimum_frequency: int = 1,
    special_tokens: Optional[List[str]] = None,
) -> pyonmttok.Vocab

# Build a vocabulary from an iterator of tokens.
pyonmttok.build_vocab_from_tokens(
    tokens: Iterable[str],
    maximum_size: int = 0,
    minimum_frequency: int = 1,
    special_tokens: Optional[List[str]] = None,
) -> pyonmttok.Vocab

Token API

The Token API allows to tokenize text into pyonmttok.Token objects. This API can be useful to apply some logics at the token level but still retain enough information to write the tokenization on disk or detokenize.

Example

>>> tokenizer = pyonmttok.Tokenizer("aggressive", joiner_annotate=True)
>>> tokens = tokenizer.tokenize("Hello World!", as_token_objects=True)
>>> tokens
[Token('Hello'), Token('World'), Token('!', join_left=True)]
>>> tokens[-1].surface
'!'
>>> tokenizer.serialize_tokens(tokens)[0]
['Hello', 'World', '■!']
>>> tokens[-1].surface = '.'
>>> tokenizer.serialize_tokens(tokens)[0]
['Hello', 'World', '■.']
>>> tokenizer.detokenize(tokens)
'Hello World.'

Interface

The pyonmttok.Token class has the following attributes:

  • surface: a string, the token value
  • type: a pyonmttok.TokenType value, the type of the token
  • join_left: a boolean, whether the token should be joined to the token on the left or not
  • join_right: a boolean, whether the token should be joined to the token on the right or not
  • preserve: a boolean, whether joiners and spacers can be attached to this token or not
  • features: a list of string, the features attached to the token
  • spacer: a boolean, whether the token is prefixed by a SentencePiece spacer or not (only set when using SentencePiece)
  • casing: a pyonmttok.Casing value, the casing of the token (only set when tokenizing with case_feature or case_markup)

The pyonmttok.TokenType enumeration is used to identify tokens that were split by a subword tokenization. The enumeration has the following values:

  • TokenType.WORD
  • TokenType.LEADING_SUBWORD
  • TokenType.TRAILING_SUBWORD

The pyonmttok.Casing enumeration is used to identify the original casing of a token that was lowercased by the case_feature or case_markup tokenization options. The enumeration has the following values:

  • Casing.LOWERCASE
  • Casing.UPPERCASE
  • Casing.MIXED
  • Casing.CAPITALIZED
  • Casing.NONE

The Tokenizer instances provide methods to serialize or deserialize Token objects:

# Serialize Token objects to strings that can be saved on disk.
tokenizer.serialize_tokens(
    tokens: List[pyonmttok.Token],
) -> Tuple[List[str], Optional[List[List[str]]]]

# Deserialize strings into Token objects.
tokenizer.deserialize_tokens(
    tokens: List[str],
    features: Optional[List[List[str]]] = None,
) -> List[pyonmttok.Token]

Utilities

Interface

# Returns True if the string has the placeholder format.
pyonmttok.is_placeholder(token: str)

# Sets the random seed for reproducible tokenization.
pyonmttok.set_random_seed(seed: int)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyonmttok-1.31.0-cp310-cp310-win_amd64.whl (13.9 MB view details)

Uploaded CPython 3.10Windows x86-64

pyonmttok-1.31.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (16.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

pyonmttok-1.31.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (16.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.12+ x86-64

pyonmttok-1.31.0-cp310-cp310-macosx_10_9_x86_64.whl (14.1 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

pyonmttok-1.31.0-cp39-cp39-win_amd64.whl (13.9 MB view details)

Uploaded CPython 3.9Windows x86-64

pyonmttok-1.31.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (16.4 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

pyonmttok-1.31.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (16.4 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.12+ x86-64

pyonmttok-1.31.0-cp39-cp39-macosx_10_9_x86_64.whl (14.1 MB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

pyonmttok-1.31.0-cp38-cp38-win_amd64.whl (13.9 MB view details)

Uploaded CPython 3.8Windows x86-64

pyonmttok-1.31.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (16.4 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

pyonmttok-1.31.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (16.4 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

pyonmttok-1.31.0-cp38-cp38-macosx_10_9_x86_64.whl (14.1 MB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

pyonmttok-1.31.0-cp37-cp37m-win_amd64.whl (13.9 MB view details)

Uploaded CPython 3.7mWindows x86-64

pyonmttok-1.31.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (16.5 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ ARM64

pyonmttok-1.31.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (16.6 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

pyonmttok-1.31.0-cp37-cp37m-macosx_10_9_x86_64.whl (14.1 MB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

pyonmttok-1.31.0-cp36-cp36m-win_amd64.whl (13.9 MB view details)

Uploaded CPython 3.6mWindows x86-64

pyonmttok-1.31.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (16.5 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ ARM64

pyonmttok-1.31.0-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (16.6 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

pyonmttok-1.31.0-cp36-cp36m-macosx_10_9_x86_64.whl (14.1 MB view details)

Uploaded CPython 3.6mmacOS 10.9+ x86-64

File details

Details for the file pyonmttok-1.31.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pyonmttok-1.31.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 13.9 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyonmttok-1.31.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 206f35b617785762fba566701fa92ea31379f2c20a80b95111f0397ba6b28cf3
MD5 691c98ebef575ca131ac8fc74a3cee3f
BLAKE2b-256 8a376861b6f15637d68ac4707e95a6cb6eec484a556b49227b1b7f049b50a224

See more details on using hashes here.

File details

Details for the file pyonmttok-1.31.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

  • Download URL: pyonmttok-1.31.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
  • Upload date:
  • Size: 16.4 MB
  • Tags: CPython 3.10, manylinux: glibc 2.17+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyonmttok-1.31.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 990a1d30ff50c90eb7d2109294c972faa718ff2ce0e35806e7295f3fbbf8ea37
MD5 dc0d49ffe701008f903bdcb5742c08d6
BLAKE2b-256 10109ce930d4c67114887f51c2676ee482908448084c717dbe2d2eca37cf26d5

See more details on using hashes here.

File details

Details for the file pyonmttok-1.31.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyonmttok-1.31.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 16.4 MB
  • Tags: CPython 3.10, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyonmttok-1.31.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 7468732a58e9541baa0d194741f6f3615c77593eb4234515490fa31c24ce1a50
MD5 fd5015ab4027f03f7a41c47b0131c30d
BLAKE2b-256 a727f3da418543be6bf318a24313da383ebd014b5480fa990711d6b79433c374

See more details on using hashes here.

File details

Details for the file pyonmttok-1.31.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: pyonmttok-1.31.0-cp310-cp310-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 14.1 MB
  • Tags: CPython 3.10, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyonmttok-1.31.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 87d835dca55783afbc2ea697998a4305d92b177ca164b4b12b8cb3081f57d6c7
MD5 2d719b4eb0333247dd7aec96926484c1
BLAKE2b-256 85016fdd7033afc1495d73c360de55ceb87aace7f7172dda60fb23047e4cdbbd

See more details on using hashes here.

File details

Details for the file pyonmttok-1.31.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pyonmttok-1.31.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 13.9 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyonmttok-1.31.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f8e2813a6fd4865e2cae07b63215ce30eeb3cc6943cb09e6b5284c6130e5b59e
MD5 aa10e428bdfc2bea898ab82cf48f8dc2
BLAKE2b-256 0fefc03a1cba4ca15619f0ceb7bd5a206792a8f8380b85678e3edc9899f6d8e4

See more details on using hashes here.

File details

Details for the file pyonmttok-1.31.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

  • Download URL: pyonmttok-1.31.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
  • Upload date:
  • Size: 16.4 MB
  • Tags: CPython 3.9, manylinux: glibc 2.17+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyonmttok-1.31.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8a192759e8792a8449d80973773f10b8a07961fc8b7fa443d67fe5c855a26003
MD5 e94f5f8fcbc01ea3991ad0641b8ce59d
BLAKE2b-256 0fdcb236c383515c81c05adbcf14ba06c76f31d5b77b7f4629df867acfa91a29

See more details on using hashes here.

File details

Details for the file pyonmttok-1.31.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyonmttok-1.31.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 16.4 MB
  • Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyonmttok-1.31.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 50cdab0e181314a3907bce5bafb7828bc1bc85829ad03e9d935de18f2a25db8c
MD5 5b5693f382708a4e3aa0decee678abc2
BLAKE2b-256 cc49c716e5ef8839b9bd4f1a561c56980632fdf037d8a9479feaad75d3c43b17

See more details on using hashes here.

File details

Details for the file pyonmttok-1.31.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: pyonmttok-1.31.0-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 14.1 MB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyonmttok-1.31.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e08a02bddfde02f28d3cd73485a60b10e46b860f8c7d403571f5b7de0c6b726b
MD5 47378b7801c20f3ece678a4618514d5c
BLAKE2b-256 d9fec338bdc7b57d483c22a5fc5dadba2c0c0201105ccbf40a678a58103fda01

See more details on using hashes here.

File details

Details for the file pyonmttok-1.31.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pyonmttok-1.31.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 13.9 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyonmttok-1.31.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 dd75959d8915e3fa0a4cf4416e3d73b2149501cc3dca87bcd874f86b60a41074
MD5 8d2aba97d3cc423d6144963f90239f1f
BLAKE2b-256 f4088aab241af0e4b0bd23d8c6e736f22035ca24e8059fc53b210b18f03fd766

See more details on using hashes here.

File details

Details for the file pyonmttok-1.31.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

  • Download URL: pyonmttok-1.31.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
  • Upload date:
  • Size: 16.4 MB
  • Tags: CPython 3.8, manylinux: glibc 2.17+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyonmttok-1.31.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2d07d6d6a1a2e00d11a62a59b7654f393c8a7347a82f8865b7a9b9b77a4119b6
MD5 2dae59955b29756ebe11a68be70b576c
BLAKE2b-256 0484e816abbc8c607cdc1d956ef3e3f79caee9c0381260602745a3767922d9f7

See more details on using hashes here.

File details

Details for the file pyonmttok-1.31.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyonmttok-1.31.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 16.4 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyonmttok-1.31.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 fd06d553a0e08480020cc0dd6aa4f52cfb64fe7cb84fdb3f6842e4fea359cb44
MD5 7bd36aaa325625e21dd4f341eedbe395
BLAKE2b-256 7eca7c68abbf6d46fa4b8dcd44b744e75249ddaf4d544e1002901234f6af18ef

See more details on using hashes here.

File details

Details for the file pyonmttok-1.31.0-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: pyonmttok-1.31.0-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 14.1 MB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyonmttok-1.31.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c53c04be727216264d1ec27078fe59baa7f6240c32c1f80e99ece1c2f9b7ac86
MD5 06b54bb58e5995259c1d51efb1e104f9
BLAKE2b-256 ff8e4c9b810894f48e807b4e607d824e1295bafea3ad82ff2b1596fd4c07811f

See more details on using hashes here.

File details

Details for the file pyonmttok-1.31.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pyonmttok-1.31.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 13.9 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyonmttok-1.31.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 cb26c10ce28f940dd0c7df6c18b854a75fc96a9fdf8b1fac31548f65b1840ba4
MD5 ab035fb45c5ff155f462b356aaf8b2ec
BLAKE2b-256 24c420048f5e5f4a0c30f706d4fcd5b3f9936f21b579a580e0ffc4e0ea2f9392

See more details on using hashes here.

File details

Details for the file pyonmttok-1.31.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

  • Download URL: pyonmttok-1.31.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
  • Upload date:
  • Size: 16.5 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.17+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyonmttok-1.31.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4146cfcebe3a3f7ae37a4e4d4cba91b1a47a23805ab9dc31c0af9ad0e5b693f3
MD5 a4a692ff130228a5ec4e2110abbfe978
BLAKE2b-256 6207648a7ea6673e852a7858f8b9b5cbc0b5dc46b094e7e2e96ae7833862c37a

See more details on using hashes here.

File details

Details for the file pyonmttok-1.31.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyonmttok-1.31.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 16.6 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyonmttok-1.31.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e36875100a19ad44e9e0b025292d124b8e515e597661db561e7f37e868e8706b
MD5 a67927bb4b14b865ac7416d55e10ebf0
BLAKE2b-256 4d037d3b61439f8d265aeab62d716049553207ca96549633a8eff6cdebe0e03c

See more details on using hashes here.

File details

Details for the file pyonmttok-1.31.0-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: pyonmttok-1.31.0-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 14.1 MB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyonmttok-1.31.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5393a7983e9e7c7cb52a621616f1ef713834ad3b349298b258a70b06b172b877
MD5 aa0f47b049ac255d89741e75871b5863
BLAKE2b-256 1309cd9fa17961f98a0e8cb25317ee1ff30d0ab9b60d8bf5b8afe27360f1c3de

See more details on using hashes here.

File details

Details for the file pyonmttok-1.31.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: pyonmttok-1.31.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 13.9 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyonmttok-1.31.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 5ae26f957cfcb5a13fa843bc3804b604d2c67e55c23cbad0809d23dbd9d0f51e
MD5 2aa09547d37af4f583adb6d0b4540e5a
BLAKE2b-256 cb40d15f0ed5142a09a905cfb4d44ea4bce13e7a61e5a7d1ef930b2b30dc8e3e

See more details on using hashes here.

File details

Details for the file pyonmttok-1.31.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

  • Download URL: pyonmttok-1.31.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
  • Upload date:
  • Size: 16.5 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.17+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyonmttok-1.31.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e8e16875accead08a15c05a84b4fbe7dbd4ede84a7da0b8f198634074dadb108
MD5 602ace5ce2555376bb0f0de9b1cdc41e
BLAKE2b-256 3de2b44c47baf74a03728f8ff98212d72ab9ccf18c1bfb0e1fd2a59e46869fc6

See more details on using hashes here.

File details

Details for the file pyonmttok-1.31.0-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyonmttok-1.31.0-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 16.6 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyonmttok-1.31.0-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c4a37ddbb15a3f4e05e4fcedf18f10d0c4169aa7160cb0ed25c68203855f410a
MD5 db142efd0f59d8affe6fcd4f8724982c
BLAKE2b-256 701400fe8c55ed9e9693b8c5e1b1de05ee1c5a19205a3c5f5779ddadbd147f0d

See more details on using hashes here.

File details

Details for the file pyonmttok-1.31.0-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: pyonmttok-1.31.0-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 14.1 MB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyonmttok-1.31.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8a91f46f661082d905ed6a6499b05c8458875f406f7e27e109f2e33f773d05a8
MD5 a879d1edbfb2b01a4aa08697d6ec9b53
BLAKE2b-256 9b82c3204c68fe9b3fb164a1fd32679ae1d7e8facacf78f14fb3a12e39632662

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page