Marienbad
A simple toolsuite for help you to win at Marienbad game, a Nim game.
It is recommended to use the PyPy interpreter instead of the CPython standart.
Generator
Pour utiliser cet outil, entrez la commande :
marienbad-generator
Pour voir toutes les options disponibles :
marienbad-generator --help
Vous pouvez aussi le démarrer depuis un script python :
import marienbad
marienbad.generator.main()
Bien sûr, vous pourvez ré-utiliser certaines fonctions :
from marienbad.generator import checkCombination
checkCombination([1,3,5,7]) # True
checkCombination([1,3,6,7]) # False
La fonction generateTable imprime le résultat sur la sortie standart. Pour récupérer cette sortie, utilisez le script suivant :
import sys
from io import StringIO
# rediriger stdout dans un buffer :
sys.stdout = StringIO()
# appel de la fonction qui remplira stdout (donc le buffer)
generateTable(10,10)
# récupérer le contenu du buffer :
s = sys.stdout.getvalue()
# fermer le buffer :
sys.stdout.close()
# rediriger stdout vers la sortie standart :
sys.stdout = sys.__stdout__
# le résultat est maintenant dans la variable s
Metadata
Release files for marienbad 0.1.2.1
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 |
|---|---|---|---|---|
| marienbad-0.1.2.1.tar.gz | 18.2 kB | Without provenance | Details for marienbad-0.1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| marienbad-0.1.2.1-py3-none-any.whl | Python 3 | none | any | Details for marienbad-0.1.2.1-py3-none-any.whl |
Total release size: 38.2 kB
Release files / marienbad-0.1.2.1.tar.gz
| Download URL | marienbad-0.1.2.1.tar.gz |
|---|---|
| Size | 18.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6be8951182d21ba60656a4570e160b20fdfea981e9e5ec2b85c829c1802439dd
|
|
BLAKE2b-256 checksum How to use checksums |
38bd2e35aad412f3936f88724ac83ea00ab1893f6362b34a9332a2da1cc67d2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.2
|
Release files / marienbad-0.1.2.1-py3-none-any.whl
| Download URL | marienbad-0.1.2.1-py3-none-any.whl |
|---|---|
| Size | 20.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1be72b82fec65699147517e80122a7b096a8d85d1fcc4b4a05109631fae7479f
|
|
BLAKE2b-256 checksum How to use checksums |
40553b79791215e6066452b2483d03b7a64f52600f6a19230faad657fd2bfe89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.2
|
Security for marienbad 0.1.2.1
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.