tenuki
A set of development tools for go/baduk/wéiqí projects.
Installation
Use pip or your favorite package manager to install tenuki:
pip install tenuki
Rank
Rank class is a representation of a player's rank.
from tenuki.rank import Rank
rank_1 = Rank.parse("1d")
rank_2 = Rank.parse("1k")
assert rank_1 > rank_2
assert rank_1.diff(rank_2) == 1
assert rank_1 + 8 == Rank.parse("9d")
EGF
GoR <-> Rank
Convert between GoR and Rank:
from tenuki.rank import Rank
from tenuki.egf import gor_to_rank, rank_to_gor
assert gor_to_rank(2100) == Rank.parse("1d")
assert rank_to_gor(Rank.parse("1d")) == 2100
Metadata
Release files for tenuki 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tenuki-0.2.0.tar.gz | 3.7 kB | Without provenance | Details for tenuki-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tenuki-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for tenuki-0.2.0-py3-none-any.whl |
Total release size: 7.0 kB
Release files / tenuki-0.2.0.tar.gz
| Download URL | tenuki-0.2.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d460d89dd5ed0c6252c5f2a907319c47a0bb9f4f66cfd7e051bb35ca1bb55e0e
|
|
BLAKE2b-256 checksum How to use checksums |
2c07edb5653978e7ba878c409320bda0667b9bebb027e0c96ce5aceb3a0e79ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Release files / tenuki-0.2.0-py3-none-any.whl
| Download URL | tenuki-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fea1a8c6c96704e95bfd824a4b87353126aa89999f0a2ad46122a155a6ffff6e
|
|
BLAKE2b-256 checksum How to use checksums |
e182467a6a608ca597e644c7dfa4f7304a66b9a34d40ddb465815124c7023846
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Security for tenuki 0.2.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.