Catalog PyPI
Back to packageRELEASE DETAILS

0.1.0.20250812

PyPI

ac-library-python-stubs

Type stubs for not522/ac-library-python

Published11 Aug 2025
Direct dependencies1
Transitive dependenciesNot calculated

README

Version 0.1.0.20250812 documentation

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

[!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 from 0.1.0.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 1

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
ac-library-python
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
ac-library-python==0.1.0runtime

Distribution files

2 collected
ac_library_python_stubs-0.1.0.20250812-py3-none-any.whl

bdist_wheel · 6.53 KB · Python py3

Source file
ac_library_python_stubs-0.1.0.20250812.tar.gz

sdist · 8.78 KB · Python source

Source file

Repository

PENDING
kairi003/ac-library-python-stubs

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:16 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:0cebbd0d5b642685404ab058ab2672bfb3771dccfe3bdbb465985b3218a32359

Other collected versions

View all collected versions →