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.3.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.3.0
File Size Uploaded Provenance
lpu-0.3.0.tar.gz 103.6 kB With provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for lpu 0.3.0
File
lpu-0.3.0-cp314-cp314-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 Linux musl 1.2+ x86-64 Details
lpu-0.3.0-cp314-cp314-musllinux_1_2_aarch64.whl CPython 3.14 CPython 3.14 Linux musl 1.2+ ARM64 Details
lpu-0.3.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details
lpu-0.3.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.3.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
lpu-0.3.0-cp314-cp314-macosx_10_15_x86_64.whl CPython 3.14 CPython 3.14 macOS 10.15+ x86-64 Details
lpu-0.3.0-cp313-cp313-musllinux_1_2_x86_64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-64 Details
lpu-0.3.0-cp313-cp313-musllinux_1_2_aarch64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ ARM64 Details
lpu-0.3.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details
lpu-0.3.0-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details
lpu-0.3.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
lpu-0.3.0-cp313-cp313-macosx_10_13_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.13+ x86-64 Details
lpu-0.3.0-cp312-cp312-musllinux_1_2_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-64 Details
lpu-0.3.0-cp312-cp312-musllinux_1_2_aarch64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ ARM64 Details
lpu-0.3.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details
lpu-0.3.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.3.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
lpu-0.3.0-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details
lpu-0.3.0-cp311-cp311-musllinux_1_2_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-64 Details
lpu-0.3.0-cp311-cp311-musllinux_1_2_aarch64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ ARM64 Details
lpu-0.3.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details
lpu-0.3.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.3.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
lpu-0.3.0-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details
lpu-0.3.0-cp310-cp310-musllinux_1_2_x86_64.whl CPython 3.10 CPython 3.10 Linux musl 1.2+ x86-64 Details
lpu-0.3.0-cp310-cp310-musllinux_1_2_aarch64.whl CPython 3.10 CPython 3.10 Linux musl 1.2+ ARM64 Details
lpu-0.3.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
lpu-0.3.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.3.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
lpu-0.3.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.2 MB

Release files / lpu-0.3.0.tar.gz

Download URL lpu-0.3.0.tar.gz
Size 103.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b81f149457a0dc423e6bd52f4628c2fd385395363cebc1e849ca4929192ab060
BLAKE2b-256 checksum
How to use checksums
99f40918ba8fa017aa596ad0aa431ab5c1c3adde1f4561a0d96ab9ddb09361ca
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.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
a6d9a5b9a73617ad83331f0eb8d393caa814c229de32cad2950e90d61234731b
BLAKE2b-256 checksum
How to use checksums
588097a213442b13c0611d80cad15bdf125c40a0f2a97cc9f9abf10e81d6a68c
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.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
d56d20f39ed82a8fad6f16d2bd9b53cb240aa73d4b00d7677d75f757a04f74aa
BLAKE2b-256 checksum
How to use checksums
e0bcd2de8be24030e44dd08c05be126dbf59f25a743f8f20d1f163ff17b6bb10
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.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
53bbedc0d1ce1484a4f7ec2c705be8e660806130939a8f877f6bd8bd44851f94
BLAKE2b-256 checksum
How to use checksums
689610b11b662f24107f2e4d3c5abdf8aef161d2053e877271345640bec557e9
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 3.4 MB
Tags CPython 3.14 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
468d445c1415ab0499aeb25cc406e726f0ff3c94df8626849b5d1f51aa5915a6
BLAKE2b-256 checksum
How to use checksums
650d3155043cfecba85893cf4179058e9623b1f11f3c61fa4a3a11fc13b2fd56
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.0-cp314-cp314-macosx_11_0_arm64.whl
Size 586.1 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
daba437ca904fefdea943e785fc0c7b984386a26f27d0ed76068951d0c552993
BLAKE2b-256 checksum
How to use checksums
86fe01698052ff87c6ea5da4e485a0396c5f0aa52a219e04efaec00eee30103c
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.0-cp314-cp314-macosx_10_15_x86_64.whl
Size 591.1 kB
Tags CPython 3.14 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
07eadfd0db0ed8f426284137a4b8d4f127959f5cf1a163698bd90d6016b26cab
BLAKE2b-256 checksum
How to use checksums
e49c52d676321846a8c23fbd02c22d121daf25c35e1518389242c59e08b00214
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.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
a7e5e2fc86b024ec07e5da96ef48776879041b41f857a3fdc9e5b3f85b2fe09d
BLAKE2b-256 checksum
How to use checksums
aa783407604a29503d0f9835cdb63518a1c77950a58497c8ccadca9a86015a49
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.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
9a79530d2499ca5e20f5224ff090a879716da2bf7aab7158eab9bb1e18470a13
BLAKE2b-256 checksum
How to use checksums
69acf04684fe543581c5676a575bfda6398bc39f8714127205275330993f8c1c
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.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
d83c0ffe9086e0d33b86e0abe1526a60792f6d101c82df30874a609cf2c2c7cf
BLAKE2b-256 checksum
How to use checksums
8d7c701948c7f4634cff27357a34cd3c1522aab16ad3340130b385ec7d0d727f
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.0-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 3.4 MB
Tags CPython 3.13 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
ca5d3ae708ea90f0bfc96769125aa8cbb4ea88043132ea2f8f14a64c1fb25fb1
BLAKE2b-256 checksum
How to use checksums
cf4a27cc204e1427d3e6d52ea3b870db6600738a766300837d6dbe1ca1fb20bb
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.0-cp313-cp313-macosx_11_0_arm64.whl
Size 580.7 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
12e00afa39bd8c91211aa3ff92f4b08833bdccd13880de278424070b809c8365
BLAKE2b-256 checksum
How to use checksums
c059b367eb25b5878fb761a781b4eb173c198923fda289fa5f3719d611cf4795
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.0-cp313-cp313-macosx_10_13_x86_64.whl
Size 589.9 kB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
06aed9b8bf328448afce4c7f873451ce5bd14e48986984ad6deacb1dbc96d909
BLAKE2b-256 checksum
How to use checksums
41856e066b3b7226ef036c97ed38a20f9d11fb9592057cd8da064426c71d17fd
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.0-cp312-cp312-musllinux_1_2_x86_64.whl
Size 4.5 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
e79ad7b7b2aeb30d1593fcf3018ef6cb18b90ed4a27515d3d66bf259f6394706
BLAKE2b-256 checksum
How to use checksums
84518e21f3cb80dfd2ac9f274762d57ff4c03e16d32cb331a999941722b4b8c5
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.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
4bc476f7f9562ce1c07091cc706d67bbd05ee973b8900a57796369649148b2e2
BLAKE2b-256 checksum
How to use checksums
2ae5db37d92a32dc3dac2d38a488b73d34df22e8ea870e4d97865bf181dc6648
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.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
1d633eff026f6bdb74a3dff5b507b6cabfef0b5420c16f8e0b38a5d7e263272e
BLAKE2b-256 checksum
How to use checksums
64a71085933f9ede898c299cb28ebb23f472e7bfa4eaa5b0979a5c1c25cf912e
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.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
bdfad1b459d3e4bfa97eea280fa2f3df98299761aacf215dde1deee5aaced400
BLAKE2b-256 checksum
How to use checksums
1fc4ddf0cb5a09ca5e3d26b0097405f4446f561780c849d26409ec9902f5b6b2
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.0-cp312-cp312-macosx_11_0_arm64.whl
Size 585.0 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
48fcf2102cd81a854ec91bdfbd1beeb549e44792ccdcf1ad79cf9e1bd1695a24
BLAKE2b-256 checksum
How to use checksums
2dfb82182e55a3d684d0116fe0a829f94cd648a837c0744780129307ab49283a
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.0-cp312-cp312-macosx_10_13_x86_64.whl
Size 592.8 kB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
a0c3a501652fc91696db51d58c57189433a668c5ba7a069ec47cd5bd5c80eaef
BLAKE2b-256 checksum
How to use checksums
d3f331aefd0b20b6594e1b5ff8693e430680d257904b8fa9f795840c1668f998
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.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
2dcff73a730d9cc422a72a84b78b0c434134edc58a8aa98d2d8e1c33b722a711
BLAKE2b-256 checksum
How to use checksums
17e72e944759a9eb6f03ad7e5dc4526d49c2d7d6fad37634827a9e470ab20349
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.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
600cd28fe6873182153bb660e455813130ae9ac3c5d5bd0dc237e5cd78b27ddf
BLAKE2b-256 checksum
How to use checksums
52efd1eb8f17958c04ace0eb8df0a746210d91666dd4652d3772a44b6f4a7360
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.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
db7e48e27be647433b6eb89b6f7bb406c5faa26a747c1a60f72f7f36cc21df31
BLAKE2b-256 checksum
How to use checksums
eb2b1eb9ccab0a924ca5547c6123ee66dbac90c53388b3357e32e52741e4095f
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.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
f7701888221540ef20ff858734319974726c414f9180a958cd0890fc94616c89
BLAKE2b-256 checksum
How to use checksums
3d74b2cc85eec8f40c73813dbe59567db4bbacc196b6cb994fb083457c918782
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.0-cp311-cp311-macosx_11_0_arm64.whl
Size 582.1 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
178e35cf6d2e5b90f84b42af808969f1f52719fa832ad081c5b3a0d1d3467de4
BLAKE2b-256 checksum
How to use checksums
509e36b207422eff18fff67f8e611498cb07a905d61e1dc47b16a9bcc8a2c44f
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.0-cp311-cp311-macosx_10_9_x86_64.whl
Size 593.2 kB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
024aceae1a6631b5d1716bf3b53235a5d3c3297b59962d621dced5fa36f7e9e7
BLAKE2b-256 checksum
How to use checksums
da23b53f3680b4411d2e7da05ec1a9f21a25eddfb754b6f82856be99168f64e0
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.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
49c6b8903226097c9dc3b6581d794266c8a02853605e27c8ce306c18dbef4ff9
BLAKE2b-256 checksum
How to use checksums
2c00cb320d37ed116cf41254d6d9c4330a68bb2de3dabeb2e7618868c3ee6ce3
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.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
9db40ea21f6d241bc8a0d9aacbdb3d766bffe1e70e09dba055631bdcb2acb129
BLAKE2b-256 checksum
How to use checksums
1859962270d35f9b0cfec3af934ac5dd65e95e287985f4dd86ca0b422e85c18d
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.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
0b9c88a142d7d9102bce500ad2490522cd7607d38c86b0b844bc37eb2f72e05c
BLAKE2b-256 checksum
How to use checksums
cdf9eedff79d8ac016ddcd686ca2f92e673d04b0ff51230ab163d922aa229a2d
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.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
084477e35f2101725c1e804f187a25eb59589b6ecbc45a1fdf65c8a4958b7bb2
BLAKE2b-256 checksum
How to use checksums
b8674924cb94aebef83d571bf46cd3b0d908e6d2a804604afde230e13cedf330
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.0-cp310-cp310-macosx_11_0_arm64.whl
Size 585.1 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
93dde31389a963c7297244a9dd79603dee733faaa9c5feecaed2510ed616044d
BLAKE2b-256 checksum
How to use checksums
9b74b43646d4e8a4c431cfee438ee307bd003c1d919ab4b8f0debc5af04e91e2
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 16, 2026.

Transparency log

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

Download URL lpu-0.3.0-cp310-cp310-macosx_10_9_x86_64.whl
Size 596.6 kB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
a9e040deee056781c6b0ee36f51afcec4fac854c48812476f446e4d0973cd0e7
BLAKE2b-256 checksum
How to use checksums
ac4ce19489b43715d6bf0137026a9d3cd2d940d7d3bdcbdd7df0b7957e9b2958
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 16, 2026.

Transparency log

Security for lpu 0.3.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.3.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 16, 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.3.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