ournotes-sim
The deck model of ournotes-deck for Python: the chart statistics of
the Rust crate ournotes-sim on a deck data document, measured in parallel in native code.
pip install ournotes-sim
Wheels are built for CPython 3.11 and later (one abi3 wheel per platform) on Linux (x86_64, aarch64; manylinux 2.28), Windows (x64) and macOS 11 or later (x86_64, arm64).
Use
import json
import ournotes_sim
text = open("deck-data.json", encoding="utf-8").read() # nnnotes.deck-data/1
stats = json.loads(ournotes_sim.chart_stats(text)) # ournotes-deck.chart-stats/3
print(ournotes_sim.info())
| name | does |
|---|---|
chart_stats(data, seeds=None, workers=None, aptitude=True) |
the chart statistics document (JSON text) of a deck data document (JSON text); seeds: replay seeds (default 8), workers: threads (default: the available parallelism), aptitude: include the single Gekisou skill shapes. Raises ValueError for invalid data or a failed expectation check |
chart_stats_cached(data, seeds=None, workers=None, aptitude=True, *, cache_dir) |
chart_stats with the simulation programs kept in cache_dir, and the cache's counters (requests, hits, computed, writes, invalid, bytes); the document is the same as chart_stats's |
info() |
the model: name, version, source, commit (the source commit of a release build, None for other builds), sourceSha256 (the SHA-256 of the ournotes-sim sources: equal for builds that run the same model), dataFormat and format |
MASTER_TABLES |
the master tables a deck data document holds (each one is required, zero rows are allowed) |
Every version of the package carries one model, the ournotes-sim of the same release. The package contains no game data: deck data documents are made from each user's own master data, for example with nnnotes.
Building
pip install ./python[test] # from the repository root: builds the extension module with maturin
pytest python/tests
Licence
MIT OR Apache-2.0.
Metadata
Release files for ournotes-sim 0.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| ournotes_sim-0.0.11-cp311-abi3-win_amd64.whl | CPython 3.11 | abi3 | Windows x86-64 | Details for ournotes_sim-0.0.11-cp311-abi3-win_amd64.whl |
| ournotes_sim-0.0.11-cp311-abi3-manylinux_2_28_x86_64.whl | CPython 3.11 | abi3 | Linux glibc 2.28+ x86-64 | Details for ournotes_sim-0.0.11-cp311-abi3-manylinux_2_28_x86_64.whl |
| ournotes_sim-0.0.11-cp311-abi3-manylinux_2_28_aarch64.whl | CPython 3.11 | abi3 | Linux glibc 2.28+ ARM64 | Details for ournotes_sim-0.0.11-cp311-abi3-manylinux_2_28_aarch64.whl |
| ournotes_sim-0.0.11-cp311-abi3-macosx_11_0_x86_64.whl | CPython 3.11 | abi3 | macOS 11.0+ x86-64 | Details for ournotes_sim-0.0.11-cp311-abi3-macosx_11_0_x86_64.whl |
| ournotes_sim-0.0.11-cp311-abi3-macosx_11_0_arm64.whl | CPython 3.11 | abi3 | macOS 11.0+ ARM64 | Details for ournotes_sim-0.0.11-cp311-abi3-macosx_11_0_arm64.whl |
Total release size: 6.3 MB
Release files / ournotes_sim-0.0.11-cp311-abi3-win_amd64.whl
| Download URL | ournotes_sim-0.0.11-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
54cf2acc375d3086730d9b09d8c461b77b3fc94a656e5ec17a2e39cd4181a4da
|
|
BLAKE2b-256 checksum How to use checksums |
7f1598930f18b836e019576703bfedff2805bf782574f96f46839bf2489d77b6
|
| 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 Oct 15, 2026.
Transparency logRelease files / ournotes_sim-0.0.11-cp311-abi3-manylinux_2_28_x86_64.whl
| Download URL | ournotes_sim-0.0.11-cp311-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
5524dabcf8115407f7b9a88f47d0ad44725542641de3851482547e35e94af5fe
|
|
BLAKE2b-256 checksum How to use checksums |
a8c422712aa669dbd89d95fb57fda7f569304af912deb1d05aa067b7dd911830
|
| 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 Oct 15, 2026.
Transparency logRelease files / ournotes_sim-0.0.11-cp311-abi3-manylinux_2_28_aarch64.whl
| Download URL | ournotes_sim-0.0.11-cp311-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
63bd321a14d05c546ca746b5e666825ab14427e3e1b5624196503f337a4b5c3f
|
|
BLAKE2b-256 checksum How to use checksums |
d6f5ee6663f35a07604025d6428d69699ce5e898be2f0d5736f200f17bb3fe28
|
| 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 Oct 15, 2026.
Transparency logRelease files / ournotes_sim-0.0.11-cp311-abi3-macosx_11_0_x86_64.whl
| Download URL | ournotes_sim-0.0.11-cp311-abi3-macosx_11_0_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.11 abi3 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
5a62bdac7a6d45ec381bc8a3708f78425aa05fc7d338bf2d317bc5bb123abeea
|
|
BLAKE2b-256 checksum How to use checksums |
a6a396806bd3651ae469a7b9f740abe38b2ed8c89575b8fc58934a05bdb98f40
|
| 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 Oct 15, 2026.
Transparency logRelease files / ournotes_sim-0.0.11-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | ournotes_sim-0.0.11-cp311-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.11 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
58924d63e6e0f8c329358ae239c3b0340d9523097cf24af0d8183302e0404b53
|
|
BLAKE2b-256 checksum How to use checksums |
59f4228226b670b9e4674e6f738ca0cad2645b73d9cd4d919b278a3fa886b50a
|
| 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 Oct 15, 2026.
Transparency logSecurity for ournotes-sim 0.0.11
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 5 files in this release have been uploaded with provenance metadata.
Attestation for ournotes_sim-0.0.11-cp311-abi3-win_amd64.whl
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 Oct 15, 2026.
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.