Skip to main content

LPU

version python license

LPU is a collection of utility classes/functions for language processing.

日本語版のドキュメントは README.ja.md にあります。

Requirements

  • Python 3.10 or later

The core features depend only on the standard library. The features listed under Optional features additionally require the smt extra.

Installation

Installing from PyPI release

$ pip install lpu

To also use the word alignment models and the Double-Array Trie:

$ pip install 'lpu[smt]'

Installing from GitHub master

$ pip install 'lpu[smt] @ git+https://github.com/akivajp/lpu.git'

Modules

lpu.common.config

Inheritable and serializable configuration classes, useful for calling functions with many arguments.

from lpu.common.config import Config

conf = Config({'threshold': 0.5, 'nested': {'depth': 3}})
conf.update(threshold=0.8)
print(conf.data.threshold)   # 0.8
print(conf['nested.depth'])  # 3
print(conf.to_json())        # {"threshold": 0.8, "nested": {"depth": 3}}

A Config keeps two layers: values passed positionally form the inherited base layer, while values assigned afterwards go to the main layer. to_dict() returns the main layer only; pass upstream=True (the default of to_json()) to include the inherited values.

lpu.common.environ

Handling environment variables with stacks, useful for changing and reverting global settings such as debugging modes.

import os
from lpu.common import environ

with environ.push(LPU_DEBUG='1') as layer:
    layer.set('MY_SETTING', 'temporary')
    ...
# both variables are restored here

Only variables assigned through set() (or given to push()) are tracked and restored.

lpu.common.files

Utility functions for file handling, including transparent access to gzip files.

from lpu.common import files

# opens plain or gzip files alike, detected by extension and magic number
with files.open('corpus.txt.gz', 'rt') as f:
    for line in f:
        ...

files.getContentSize('corpus.txt.gz')  # uncompressed size
files.wait_file('lockfile', timeout=60)

lpu.common.logging

Enhanced logging objects (built on the standard logging library) with colorizing features and control through environment variables.

from lpu.common import logging

logger = logging.getColorLogger(__name__)
with logging.using_config(__name__, debug=True):
    some_variable = 42
    logger.debug_print(some_variable)   # some_variable => int(42)

debug_print parses the caller's source line, so the printed value is labelled with the expression it came from. The level follows the LPU_DEBUG / DEBUG and LPU_QUIET / QUIET environment variables.

lpu.common.progress

Utility classes and functions for progress reporting (progress bars) that work with file-type objects and iterators.

from lpu.common import files, progress

# progress over a gzip file is measured by the position in the
# compressed stream, so the percentage is known without decompressing
# the whole file first
for line in progress.view(files.open('corpus.txt.gz', 'rb'), 'loading'):
    ...

for item in progress.view(iter(range(1000)), 'processing'):
    ...

lpu.common.text

Conversion between bytes and str: to_str (tolerates invalid byte sequences), to_unicode (strict) and to_bytes.

lpu.common.numbers

toNumber converts a value to int when it is close enough to an integer, plus intToBytes / intFromBytes.

lpu.common.colors

put_color wraps text in ANSI escape sequences.

lpu.common.validation

check_argument_type raises a TypeError with a readable message listing the expected types.

lpu.common.vocab

StringEnumerator maps strings to sequential IDs and back. The phrase-level helpers (phrase2id, id2phrase, phraseMap) are backed by the Double-Array Trie and therefore need the smt extra; the enumerator itself does not.

lpu.data_structs.trees

Tree expressions and operations: TreeNode, parseSExpression, calcEditDistance (sequence edit distance) and calcTreeEditDistance.

from lpu.data_structs import trees

tree = trees.TreeNode.fromS('(S (NP the cat) (VP sat))')
trees.calcEditDistance('kitten', 'sitting')                       # 3
trees.calcTreeEditDistance('(S (NP a))', '(S (NP b))')            # 1

lpu.metrics

Evaluation metrics for machine translation.

from lpu.metrics import bleu, ribes

ref = 'the cat sat on the mat'.split()
hyp = 'the cat sat on a mat'.split()
bleu.eval_bleu(ref, hyp, 4)
ribes.eval_ribes(ref, hyp)

bleu is a simple sentence-level implementation with no tokenization of its own; use sacrebleu for publishable, comparable scores. ribes implements NKT * P**alpha * BP**beta following Isozaki et al. (2010).

Optional features

These require the smt extra (pip install 'lpu[smt]'), which pulls in numpy and pycedar, and a compiled build of the package.

lpu.data_structs.trie

Dictionaries and ID maps implemented on a Double-Array Trie: IDMap, TwoWayIDMap and Dict.

lpu.smt.align.ibm_models

Classes to train and estimate word alignment based on the IBM models (model 1 and model 2).

lpu.smt.trans_models

Records, tables and operations over Moses / Travatar style phrase and rule tables, including phrase table triangulation for pivot translation.

These modules come from work on statistical machine translation and are kept for reference; for current word alignment work, tools such as fast_align, awesome-align or SimAlign are the usual choice.

Commands

LPU also installs directly executable commands.

lpu-abspath

$ lpu-abspath [-h] filepath [filepath ...]

Get absolute paths of given files or directories.

lpu-clean-parallel

$ lpu-clean-parallel [-h] [--min min_length] [--max max_length] \
    [--ratio ratio] [--target-directory directory_path] [--escape] \
    [--normalize] filepath [filepath ...] output_tag

Filter a parallel corpus by length and length ratio, keeping the lines of every side aligned.

lpu-dialog

$ lpu-dialog [-h] [--exist filepath] [--continue] [--yes] [--no]

Show a message on condition, wait and receive the user's response.

lpu-exec-parallel

$ lpu-exec-parallel [-h] [--input filepath] [--output filepath] \
    [--splitsize num_lines] [--chunks num_files] [--threads num_threads] \
    [--tmpdir directory_path] [--verbose] [--interval seconds] command

Execute a command in multiple processes by splitting the target file.

lpu-guess-langcode

$ lpu-guess-langcode [-h] filepath [filepath ...]

Guess the language codes from the given file names.

lpu-progress

$ lpu-progress [-h] [--lines] [--refresh seconds] [--header string] \
    [filepath [filepath ...]]

Show the progress of pipe I/O.

lpu-random-split

$ lpu-random-split [-h] --input filepath [filepath ...] \
    [--prefixes prefix [prefix ...]] [--suffixes suffix [suffix ...]] \
    --tags tag [tag ...] --split-sizes size [size ...] [--ignore-empty] \
    [--quiet] [--debug] [--random-seed seed] [--ids [suffix]]

Split a parallel corpus at random into several parts, keeping the line correspondence between the sides. One of --prefixes or --suffixes is required.

lpu-wait-files

$ lpu-wait-files [-h] [--quiet] [--debug] [--delay seconds] \
    [--interval seconds] [--timeout seconds] filepath [filepath ...]

Wait until the files are found.

Word alignment commands

$ lpu-word-align-train [-h] [--save-scores filepath] \
    [--decode-align filepath] [--iteration-limit num_iterations] \
    [--threshold min_probability] [--nbest integer] [--character] \
    [--debug] [--quiet] src_path trg_path save_trans_path [save_align_path]

$ lpu-word-align-score [-h] [--save-scores filepath] \
    [--decode-align filepath] [--character] [--debug] [--quiet] \
    src_path trg_path trans_path [align_path]

Train the IBM word alignment models on a parallel corpus, and score or decode alignments with a trained model. Requires the smt extra.

Phrase / rule table commands

$ lpu-smt-convert-extract [-h] ...
$ lpu-smt-filter [-h] ...
$ lpu-smt-make-glue-rules [-h] ...
$ lpu-smt-normalize [-h] ...
$ lpu-smt-triangulate [-h] ...

Operations over Moses / Travatar style phrase and rule tables. lpu-smt-triangulate builds a pivot phrase table from two tables sharing a pivot language. Requires the smt extra. Pass --help to each command for its options.

Development

$ uv sync
$ uv run pytest

The test suite runs against an editable build, so the C extensions are exercised. Tests that need the extensions, numpy or pycedar skip themselves when those are unavailable.

To install without building any C extension:

$ LPU_NO_EXTENSIONS=1 pip install .

License

MIT. See LICENSE.

Metadata

Release files for lpu 0.4.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 lpu 0.4.0
File Size Uploaded Provenance
lpu-0.4.0.tar.gz 109.0 kB With provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for lpu 0.4.0
File
lpu-0.4.0-cp314-cp314-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 Linux musl 1.2+ x86-64 Details
lpu-0.4.0-cp314-cp314-musllinux_1_2_aarch64.whl CPython 3.14 CPython 3.14 Linux musl 1.2+ ARM64 Details
lpu-0.4.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
lpu-0.4.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ ARM64, Linux glibc 2.24+ ARM64 Details
lpu-0.4.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
lpu-0.4.0-cp314-cp314-macosx_10_15_x86_64.whl CPython 3.14 CPython 3.14 macOS 10.15+ x86-64 Details
lpu-0.4.0-cp313-cp313-musllinux_1_2_x86_64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-64 Details
lpu-0.4.0-cp313-cp313-musllinux_1_2_aarch64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ ARM64 Details
lpu-0.4.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
lpu-0.4.0-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64, Linux glibc 2.24+ ARM64 Details
lpu-0.4.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
lpu-0.4.0-cp313-cp313-macosx_10_13_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.13+ x86-64 Details
lpu-0.4.0-cp312-cp312-musllinux_1_2_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-64 Details
lpu-0.4.0-cp312-cp312-musllinux_1_2_aarch64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ ARM64 Details
lpu-0.4.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
lpu-0.4.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details
lpu-0.4.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
lpu-0.4.0-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details
lpu-0.4.0-cp311-cp311-musllinux_1_2_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-64 Details
lpu-0.4.0-cp311-cp311-musllinux_1_2_aarch64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ ARM64 Details
lpu-0.4.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
lpu-0.4.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details
lpu-0.4.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
lpu-0.4.0-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details
lpu-0.4.0-cp310-cp310-musllinux_1_2_x86_64.whl CPython 3.10 CPython 3.10 Linux musl 1.2+ x86-64 Details
lpu-0.4.0-cp310-cp310-musllinux_1_2_aarch64.whl CPython 3.10 CPython 3.10 Linux musl 1.2+ ARM64 Details
lpu-0.4.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details
lpu-0.4.0-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details
lpu-0.4.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
lpu-0.4.0-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details

Total release size: 85.3 MB

Release files / lpu-0.4.0.tar.gz

Download URL lpu-0.4.0.tar.gz
Size 109.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8545aca304e77cf2ca7f5fd0c968ec9580a858ac8549efd47c7f7925b463c00f
BLAKE2b-256 checksum
How to use checksums
3f8327b2dbeec7ffc95a3d3ce0d9b574cfbc7ea7d5cda75fbac19f5e5dcf57da
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp314-cp314-musllinux_1_2_x86_64.whl

Download URL lpu-0.4.0-cp314-cp314-musllinux_1_2_x86_64.whl
Size 4.5 MB
Tags CPython 3.14 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
ccdaf8845031bb03534b8a88f19c40fb66f26b6000fef29259daf996b4541004
BLAKE2b-256 checksum
How to use checksums
6d186c74fa3c05c2d20bfceb28c625b77de8608a01fba3950e23270b8a6c2549
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp314-cp314-musllinux_1_2_aarch64.whl

Download URL lpu-0.4.0-cp314-cp314-musllinux_1_2_aarch64.whl
Size 4.3 MB
Tags CPython 3.14 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
078574e1e65b6fb55b5799ff8c177fdad27d3a0fee55d73797fbbd947c582521
BLAKE2b-256 checksum
How to use checksums
f04c99d24691d4edededcb570aa191e3caf35a53151b15ce4671b95d221bb286
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL lpu-0.4.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 3.5 MB
Tags CPython 3.14 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
dea3c55a35fb44d53c2cf6af4f1486fdfbf820ed05fe9d33debbb1df95ec7ae6
BLAKE2b-256 checksum
How to use checksums
3159ddb5702b8c3e84b3580fe5ad6731e629315a7df7942b647a5685d425bcdc
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL lpu-0.4.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 3.5 MB
Tags CPython 3.14 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
f5903e1b93fbc781af660bbd7a48051067a3532ab1ce31abff5303060e1c5d12
BLAKE2b-256 checksum
How to use checksums
c512d9377fe6d52bc862b15a5730d55324e932d5d269e9a24ea0f1b4eeb3f24e
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL lpu-0.4.0-cp314-cp314-macosx_11_0_arm64.whl
Size 588.6 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fba82ba7d77d1683273408d9637f815c07bd8a2ac051521710dcba5d8ac06259
BLAKE2b-256 checksum
How to use checksums
a403c13546e050f2dca9652f88fa6d34f055cf88e72223d331313613cb6cefb5
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp314-cp314-macosx_10_15_x86_64.whl

Download URL lpu-0.4.0-cp314-cp314-macosx_10_15_x86_64.whl
Size 593.7 kB
Tags CPython 3.14 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
adb89f78eb335abe65c0ede4ccb4896306e99e0c509b1c5b2b172d28217c6f7f
BLAKE2b-256 checksum
How to use checksums
3d4374ed759469d312d975300c36f444b071dfa835c4b24a14fe469856de7a52
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp313-cp313-musllinux_1_2_x86_64.whl

Download URL lpu-0.4.0-cp313-cp313-musllinux_1_2_x86_64.whl
Size 4.5 MB
Tags CPython 3.13 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
561476a25f8c6f8140953e261b3c4586ee0dfc393c06dd36868a2b91f71269f7
BLAKE2b-256 checksum
How to use checksums
8e53be8d848119dacab65ce5a47c2484c1924337ccaefbf0a27dc4a964e9c955
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp313-cp313-musllinux_1_2_aarch64.whl

Download URL lpu-0.4.0-cp313-cp313-musllinux_1_2_aarch64.whl
Size 4.3 MB
Tags CPython 3.13 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
294e897e3596cbb6baf8aa59832913a77f3886fcc5458e99517accc1d7d7ce50
BLAKE2b-256 checksum
How to use checksums
4d65b0f7fed8442908620182f7ea36eb73fd9019b802faf599a9cbaf33aca27d
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL lpu-0.4.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 3.5 MB
Tags CPython 3.13 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9366b67707a1b7fc83b6c5f1fc6503eced317285e58d6cac3d8dcbbe0c83dc24
BLAKE2b-256 checksum
How to use checksums
96e4db4a5c6e5d333a4d9c4fd5fa780b6daa9c921abab2cf89a244b810639cf3
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL lpu-0.4.0-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 3.5 MB
Tags CPython 3.13 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
b602616742af168008c07ec9b6548b6f6fad49192da01dcc3d2add9a4260b7aa
BLAKE2b-256 checksum
How to use checksums
7c1a191bcfaca41cc1c0c2b39c611b2555544003de27fef913c419c6fbd53580
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL lpu-0.4.0-cp313-cp313-macosx_11_0_arm64.whl
Size 583.3 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1a21b7d79c380e5eccf905e13a81c954caae4d978d4a91a2850d52f3ee4e9f80
BLAKE2b-256 checksum
How to use checksums
74bde02a792f3942f586569343c6bc929d22929e95d985359e3bc0b027a18efb
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp313-cp313-macosx_10_13_x86_64.whl

Download URL lpu-0.4.0-cp313-cp313-macosx_10_13_x86_64.whl
Size 592.9 kB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
dbbf357515de438e9f145c4942a13c22d77beff2dc6fdb59f5bdc98e08d66d4f
BLAKE2b-256 checksum
How to use checksums
6de2ef18ed6039d405f2c0cf20a84fb166e7efe4670fc52ba1faf701258afbd9
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp312-cp312-musllinux_1_2_x86_64.whl

Download URL lpu-0.4.0-cp312-cp312-musllinux_1_2_x86_64.whl
Size 4.6 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
f038f5de82d81884b562612f23005539871ef2448b5dd2308b4b6005a5bd8d05
BLAKE2b-256 checksum
How to use checksums
3730d8d4292345a0f4b03f3327f0d849d82a26de27942e4dc609ebc234bb3b5e
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp312-cp312-musllinux_1_2_aarch64.whl

Download URL lpu-0.4.0-cp312-cp312-musllinux_1_2_aarch64.whl
Size 4.4 MB
Tags CPython 3.12 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
5c13d370f60179b8c15891c62b7075520dd9ea12744deadcab046316dec52527
BLAKE2b-256 checksum
How to use checksums
0ccaea674840f45e1ef4355ca7c9c41677153a18a384ef222f05d96c882702a7
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL lpu-0.4.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 3.6 MB
Tags CPython 3.12 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
13d1c9cfc91fae7e84db17fecc92f8ced2f7fa697f56ada5049f33a395fe332b
BLAKE2b-256 checksum
How to use checksums
81ffb61f060c46fc8cd797add7427825bdaec8be45fe6a4d5e03b8a44a403133
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL lpu-0.4.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 3.5 MB
Tags CPython 3.12 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
53772928b6a16e6c93c1e532fc603c0ab113e3d422625ff1da686b47ab51d8d4
BLAKE2b-256 checksum
How to use checksums
e873baa68bc54c242714a46c90771a1afe902bcecc7a5209788c878922c9eb7d
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL lpu-0.4.0-cp312-cp312-macosx_11_0_arm64.whl
Size 587.3 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1342a1303644f3b2c8ef9944efba183131016205d42dd59ccb09060546ace031
BLAKE2b-256 checksum
How to use checksums
e9786b89998fdcbd837cd8609d233e47e1fbe3c9ced2f909cd81000c23f09161
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp312-cp312-macosx_10_13_x86_64.whl

Download URL lpu-0.4.0-cp312-cp312-macosx_10_13_x86_64.whl
Size 595.3 kB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
7d30f12238ce6446fd7110a14c0a168d91e7f2a2684a9170595016ef84a91cfe
BLAKE2b-256 checksum
How to use checksums
5a8d9bca4f3419a986093fd3ab757fcffac579da2435dfbcf46c40b7d0bc05d8
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp311-cp311-musllinux_1_2_x86_64.whl

Download URL lpu-0.4.0-cp311-cp311-musllinux_1_2_x86_64.whl
Size 4.6 MB
Tags CPython 3.11 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
a4c26df967155279376aa70810aa15e871f4736a8a36a863d117bf0a80c7a310
BLAKE2b-256 checksum
How to use checksums
53f1f97491eba668f42740daa0f33f1136daf5a9ae7f629658b8f592b252ecf0
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp311-cp311-musllinux_1_2_aarch64.whl

Download URL lpu-0.4.0-cp311-cp311-musllinux_1_2_aarch64.whl
Size 4.5 MB
Tags CPython 3.11 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
32dcaf9ff3f851600ffee3d83006a08c16c60a315e8ffe2fdcb246d0626d9181
BLAKE2b-256 checksum
How to use checksums
fee60d8e48852b98a46c971c4b197c795028b1f8330e374a63d6fefc15c0795f
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL lpu-0.4.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 3.6 MB
Tags CPython 3.11 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
71e4c4f443a568460512174efca77a26dc700d0f739c9aa2c79aea6d9db1d955
BLAKE2b-256 checksum
How to use checksums
f8b1b5c8a9f12dc9ce00d6ddada331899000e22a0acbc0099a4aa48c59c93d47
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL lpu-0.4.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 3.5 MB
Tags CPython 3.11 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
9c72647d2d1e1b44bb299406853d5a2dace4bd35ffb1ab8f66f6749d1a789f1b
BLAKE2b-256 checksum
How to use checksums
1079f54a6730620e5162c92aee7b5468278b83a53ac7f7361723c38617054f9a
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL lpu-0.4.0-cp311-cp311-macosx_11_0_arm64.whl
Size 584.4 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8c3c7ea6950378ec164a5c1a2856dd10fcd8de9050e56ae16f4bde036b3276d2
BLAKE2b-256 checksum
How to use checksums
e40f2922db821479121007e179fbce5c9a5557f96a459355e36ac6513643094f
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp311-cp311-macosx_10_9_x86_64.whl

Download URL lpu-0.4.0-cp311-cp311-macosx_10_9_x86_64.whl
Size 596.0 kB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
21dfb9fa315e3310b67e021bebbd75be00e8b0f5bf7fffa6e8cff1316d33bf5f
BLAKE2b-256 checksum
How to use checksums
af4da6ac3b1239b5e65d9e295dec3bee95429107e1124418d707626ae5c23adb
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp310-cp310-musllinux_1_2_x86_64.whl

Download URL lpu-0.4.0-cp310-cp310-musllinux_1_2_x86_64.whl
Size 4.4 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
f7f4592568ff95c2d6d902da607c36d382227f1ff1f2218ab34444dd0190a586
BLAKE2b-256 checksum
How to use checksums
c5b8ee864e45c1927fd0b01a0f1a9209d0a9bea372114d3ffd7ba7c113bc89d6
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp310-cp310-musllinux_1_2_aarch64.whl

Download URL lpu-0.4.0-cp310-cp310-musllinux_1_2_aarch64.whl
Size 4.3 MB
Tags CPython 3.10 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
d4ddc1a64234ecd0a29eae7f4a0346ffc8bb0f3c9f9dee68c7f62d4f14574b2c
BLAKE2b-256 checksum
How to use checksums
970b686cef76cd9300f421ac16182d71c817572a998be567ea7ca0b941514f03
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL lpu-0.4.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 3.4 MB
Tags CPython 3.10 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0aee97689bc9d4872fa77b4acd8effd74aa7619b9fe7b06f3c212b9be5820d66
BLAKE2b-256 checksum
How to use checksums
95b0727c0b1c78f91b5daebfcfb9e192cc5e313b33dc19ec535e515fd2e397f8
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL lpu-0.4.0-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 3.4 MB
Tags CPython 3.10 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
3e2d11ded309e478cda56bfadec26943e503c238b4b8b1c6fe539565c89b6fa2
BLAKE2b-256 checksum
How to use checksums
415cf94875e24df9e1458f9e823aa61f87e652598994d0945f922c534b719aab
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL lpu-0.4.0-cp310-cp310-macosx_11_0_arm64.whl
Size 587.3 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
902fad8ffffb87681acb283b1905eb068e20332d98c4df15cd1c974d1ae69a26
BLAKE2b-256 checksum
How to use checksums
65a005d5db0e1373caf66443cd5f88f9b76b25764d60a386d82fc3fb44672e30
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 Sep 17, 2026.

Transparency log

Release files / lpu-0.4.0-cp310-cp310-macosx_10_9_x86_64.whl

Download URL lpu-0.4.0-cp310-cp310-macosx_10_9_x86_64.whl
Size 599.7 kB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
c4ee905925359b6b4d1f115c439c349514a6b9513289a229cdaa4095eaead104
BLAKE2b-256 checksum
How to use checksums
191644549a0340c0a5775e1573e3737c08282a661e31bea6636a18c35de454a6
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 Sep 17, 2026.

Transparency log

Security for lpu 0.4.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 31 files in this release have been uploaded with provenance metadata.

Select from 31 files

Attestation for lpu-0.4.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 Sep 17, 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.

Release history Release notifications | RSS feed

This release

0.4.0 This release

31 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