Observed since 20 Oct, 18:16 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
ac-library-python-stubs
Type stubs for not522/ac-library-python
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
pip install ac-library-python-stubs
[!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.
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
ac-library-pythonEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | ac-library-python==0.1.0 | runtime |
bdist_wheel · 6.53 KB · Python py3
sdist · 8.78 KB · Python source
Shared repository data · GitHub
Observed since 20 Oct, 18:16 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:0cebbd0d5b642685404ab058ab2672bfb3771dccfe3bdbb465985b3218a32359