Skip to main content

quartors

quartors は、Quarto のゲーム処理、探索、自己対戦、評価対局、学習データ処理を Rust で実装し、PyO3 を介して Python から利用するためのライブラリです。

公開済みの Python パッケージと配布 workflow を収録しています。公開 API と初期リリースの完了条件は spec/initial/roadmap.md、実際の TestPyPI/PyPI 公開操作は 公開手順 を参照してください。

ゲーム状態、探索、自己対戦、評価対局、versioned dataset は、Python の top-level API から利用できます。release matrix は Python 3.13/3.14 と Linux、macOS、Windows を対象とします。wheel-only consumer acceptance、sdist 再 build、型情報、CycloneDX SBOM、format v2 fixture の検証を release workflow で行います。

import quartors

state = quartors.State.initial()
state = state.apply(quartors.Action.give_only(5))
state = state.apply(quartors.Action.place_and_give(6, 10))
assert state.board[6] == 5
assert state.observation().shape == (26, 4, 4)
assert state.action_mask().shape == (17, 17)

仕様

ライセンスは MIT License です。

開発環境

Rust stable と uv を使用します。Python 3.13 のロック済み開発環境を作成し、ネイティブ拡張を導入する手順は次のとおりです。

uv sync --locked --dev
uv run maturin develop --locked
uv run python -c "import quartors; print(quartors.__version__)"

品質ゲートと変更手順は CONTRIBUTING.md に記載しています。

Metadata

Release files for quartors 0.2.0

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

Source distribution (sdist)

Source distribution for quartors 0.2.0
File Size Uploaded
quartors-0.2.0.tar.gz 109.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for quartors 0.2.0
File
quartors-0.2.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
quartors-0.2.0-cp314-cp314-manylinux_2_34_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.34+ x86-64 Details
quartors-0.2.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
quartors-0.2.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
quartors-0.2.0-cp313-cp313-manylinux_2_34_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.34+ x86-64 Details
quartors-0.2.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details

Total release size: 3.5 MB

Release files / quartors-0.2.0.tar.gz

Download URL quartors-0.2.0.tar.gz
Size 109.2 kB
Tags Source
SHA-256 checksum
How to use checksums
72c02ca937c03f79d25eff5fe1a3e4bae8dfcb43c5f9dc800d118e12725ecf58
BLAKE2b-256 checksum
How to use checksums
f345e1209a3a21d7a015d72640f7d84454ed84a9c3fb9efbb6f84871d05b3700
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 Aug 7, 2026.

Transparency log

Release files / quartors-0.2.0-cp314-cp314-win_amd64.whl

Download URL quartors-0.2.0-cp314-cp314-win_amd64.whl
Size 463.0 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
dd3be5f61c028c4cd139a4cdba401e024b0d7de0e0ac6a93e3ee9d3af6f5e420
BLAKE2b-256 checksum
How to use checksums
21647b3003c017f03ff469dd82e3063287c3a9c7fc6c68b892584e3dd21632e7
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 Aug 7, 2026.

Transparency log

Release files / quartors-0.2.0-cp314-cp314-manylinux_2_34_x86_64.whl

Download URL quartors-0.2.0-cp314-cp314-manylinux_2_34_x86_64.whl
Size 646.5 kB
Tags CPython 3.14 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
3096ba2044925bf8fab09c8aa229b6162f22136e0f96217f69e09bc631f3391e
BLAKE2b-256 checksum
How to use checksums
395465d86838863a3d5460a8acb91f3f22b82aed1bb070c0dc133be598b7e582
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 Aug 7, 2026.

Transparency log

Release files / quartors-0.2.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL quartors-0.2.0-cp314-cp314-macosx_11_0_arm64.whl
Size 581.9 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
738e07d403e41e22288d46c6fffba0e177453a3c93f7d8ddd803a3333030b553
BLAKE2b-256 checksum
How to use checksums
514f102b2d4219be482caffbad12c20d38eec2f7c4eaf42e22b22b5ea091a51a
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 Aug 7, 2026.

Transparency log

Release files / quartors-0.2.0-cp313-cp313-win_amd64.whl

Download URL quartors-0.2.0-cp313-cp313-win_amd64.whl
Size 462.7 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
dc8e334a18c1e165152cd449f04f63592012b023b52955263545a440a695c305
BLAKE2b-256 checksum
How to use checksums
925492cd410a0c37ae77bbc80fe901fc33d5fa570188b69c9cda1771e8cf43fe
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 Aug 7, 2026.

Transparency log

Release files / quartors-0.2.0-cp313-cp313-manylinux_2_34_x86_64.whl

Download URL quartors-0.2.0-cp313-cp313-manylinux_2_34_x86_64.whl
Size 645.9 kB
Tags CPython 3.13 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
cb44c425cfb1fd74a84cb495d03ba24f2d978e71e1f7468066b3ca57be610930
BLAKE2b-256 checksum
How to use checksums
8c47d099f8ba8fd223a83cf1ae117a96b2f516f3bee0d2ee6d84663948045611
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 Aug 7, 2026.

Transparency log

Release files / quartors-0.2.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL quartors-0.2.0-cp313-cp313-macosx_11_0_arm64.whl
Size 579.7 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6781f96aaa0352851f12e0221bb01ac6c64fab490be3df9cc3bec23f9f12c1c7
BLAKE2b-256 checksum
How to use checksums
5c0dbe7e29a777ce8cc179c0c0d8db63ae3f32c3a23f1068dd51ea8011d10454
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 Aug 7, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

7 release files

0.1.1

7 release files

0.1.0

7 release files

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