Skip to main content

ac-library-python-stubs

日本語のREADME

A package that adds type stubs for static analysis to not522/ac-library-python.

Mainly adds Generic types to SegTree, LazySegmentTree, and FenwickTree.

Specifically, this allows you to specify types in places where typing.Any was previously used:

Mono = tuple[int, int]
def op(x: Mono, y: Mono) -> Mono:
    return (x[0] + y[0], x[1] + y[1])
seg = SegTree(op, (0, 0), 10)
# > seg.prod(l: int, r: int) -> Mono

fen = FenwickTree[float](10)
# > fen.add(x: int, v: float) -> None

Installation

pip install ac-library-python-stubs

Requirement

Metadata

Release files for ac-library-python-stubs 0.1.0.20250722

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

Source distribution (sdist)

Source distribution for ac-library-python-stubs 0.1.0.20250722
File Size Uploaded Provenance
ac_library_python_stubs-0.1.0.20250722.tar.gz 8.9 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ac-library-python-stubs 0.1.0.20250722
File Interpreter ABI Platform
ac_library_python_stubs-0.1.0.20250722-py3-none-any.whl Python 3 none any Details

Total release size: 15.4 kB

Release files / ac_library_python_stubs-0.1.0.20250722.tar.gz

Download URL ac_library_python_stubs-0.1.0.20250722.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ee253313432e2a15c3066907e5d1ca81a5f31dc22e92554fd6451587773a743c
BLAKE2b-256 checksum
How to use checksums
d01b8e37fb0ac579200ba1ee4470360eefef191da6129aa3285baa0973e554ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Jul 22, 2025.

Transparency log

Release files / ac_library_python_stubs-0.1.0.20250722-py3-none-any.whl

Download URL ac_library_python_stubs-0.1.0.20250722-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f45b6901780692ff37e6398e8eb815551fbf1d324d6132335ef6e3f010ecc40e
BLAKE2b-256 checksum
How to use checksums
84e03a865136d8a66ff12ef77ba647d6cdb8f65eb9f59a8a84836b239bc8c9c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Jul 22, 2025.

Transparency log

Security for ac-library-python-stubs 0.1.0.20250722

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 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ac_library_python_stubs-0.1.0.20250722.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 Jul 22, 2025.

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.

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