ac-library-python-stubs
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
- python 3.9+
- ac-library-python v0.1.0
[!NOTE] As of 2025-07-21, https://atcoder.jp judge uses ac-library-python@58f324e, which shows package version
0.0.1, but the code has no differences from0.1.0.
Metadata
Release files for ac-library-python-stubs 0.1.0.20250812
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ac_library_python_stubs-0.1.0.20250812.tar.gz | 9.0 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ac_library_python_stubs-0.1.0.20250812-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.7 kB
Release files / ac_library_python_stubs-0.1.0.20250812.tar.gz
| Download URL | ac_library_python_stubs-0.1.0.20250812.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eabf0d3828fa753f070cfaf12ae9a541a6a6e1285d7a4e4570feac9ec244d921
|
|
BLAKE2b-256 checksum How to use checksums |
012cd0deedd88930ebd2f8a1ca6bfa3edaaf1e748cf189c0a4b9c3bf0d3fa955
|
| 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 Aug 11, 2025.
Transparency logRelease files / ac_library_python_stubs-0.1.0.20250812-py3-none-any.whl
| Download URL | ac_library_python_stubs-0.1.0.20250812-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28f9ee41ad0fede98f33a499c19be8d46a932e64413e2e317cb1ea780a1b7bf1
|
|
BLAKE2b-256 checksum How to use checksums |
b7d7668e40ed4dbfc5697218e48fe755bc2cdb1f3121e6d63d65fc59d1b28454
|
| 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 Aug 11, 2025.
Transparency logSecurity for ac-library-python-stubs 0.1.0.20250812
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.
Attestation for ac_library_python_stubs-0.1.0.20250812.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 Aug 11, 2025.
Transparency logA 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.