Skip to main content

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.12

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

Built distributions (wheels)

Table of built distributions (wheels) for ournotes-sim 0.0.12
File Actions
ournotes_sim-0.0.12-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for ournotes_sim-0.0.12-cp311-abi3-win_amd64.whl
ournotes_sim-0.0.12-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details for ournotes_sim-0.0.12-cp311-abi3-manylinux_2_28_x86_64.whl
ournotes_sim-0.0.12-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details for ournotes_sim-0.0.12-cp311-abi3-manylinux_2_28_aarch64.whl
ournotes_sim-0.0.12-cp311-abi3-macosx_11_0_x86_64.whl CPython 3.11 abi3 macOS 11.0+ x86-64 Details for ournotes_sim-0.0.12-cp311-abi3-macosx_11_0_x86_64.whl
ournotes_sim-0.0.12-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for ournotes_sim-0.0.12-cp311-abi3-macosx_11_0_arm64.whl

Total release size: 6.3 MB

Release files / ournotes_sim-0.0.12-cp311-abi3-win_amd64.whl

Download URL ournotes_sim-0.0.12-cp311-abi3-win_amd64.whl
Size 1.2 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
812d4c72d95b4ab4aa9f31552696570b71a8c905a5a4e114e4f1dbdee0325381
BLAKE2b-256 checksum
How to use checksums
fa52fbc75f9c5ff98d5c59b7c7d9f3dbec3b0506b4d619115e980dad63a5992b
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 18, 2026.

Transparency log

Release files / ournotes_sim-0.0.12-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL ournotes_sim-0.0.12-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
2ab99e1e572a86b8603cf47441300232f78f1c4e53fc8e9e158e6056f04c5d18
BLAKE2b-256 checksum
How to use checksums
b8a3f1f3ed1c20be95b2772d7d33b19daad235eb05f6013ed583fe3d7239b56d
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 18, 2026.

Transparency log

Release files / ournotes_sim-0.0.12-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL ournotes_sim-0.0.12-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
c2c41866e383a402e304bee2a0b961e85280b107ad672cd3082f6bac469d62db
BLAKE2b-256 checksum
How to use checksums
4c3c315a33d4eaa27632a6639a48a05a53e6bd2a5a38aceb96a107f191827872
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 18, 2026.

Transparency log

Release files / ournotes_sim-0.0.12-cp311-abi3-macosx_11_0_x86_64.whl

Download URL ournotes_sim-0.0.12-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
641c662585c8d0765e1c20459fa63c01cf67366010d32b24f1e8c766d28d21b5
BLAKE2b-256 checksum
How to use checksums
4e457c5f591f84a96c38b96f5ea95c19d0a7d3b160ba519af563b559665db221
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 18, 2026.

Transparency log

Release files / ournotes_sim-0.0.12-cp311-abi3-macosx_11_0_arm64.whl

Download URL ournotes_sim-0.0.12-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
5873aa17abe6a3d0fcc8565e602be5a1e7274cb331187340cb394eabfa47ecae
BLAKE2b-256 checksum
How to use checksums
7d4eeb46553be18aa30bccc427d0477bf3c03e1730b81e96d09b85fb3510047d
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 18, 2026.

Transparency log

Security for ournotes-sim 0.0.12

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.

Select from 5 files

Attestation for ournotes_sim-0.0.12-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 18, 2026.

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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