This release is a pre-release and may not be stable for production use.
tetris
A small command-line implementation of the Tetris game engine.
Table of Contents
Installation
Local installation (editable/development):
pip install -e .
Install normally:
pip install .
Usage
Run the package from the repository (no install required):
python -m tetris < input.txt > output.txt
If the package is installed, you can run the console script directly:
tetris < input.txt > output.txt
Testing
Run the test suite with pytest:
uv run pytest
License
tetris is distributed under the terms of the GPL-3.0-or-later license.
Metadata
Release files for tetromino 0.0.0.dev0
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 |
|---|---|---|---|---|
| tetromino-0.0.0.dev0.tar.gz | 93.5 kB | Without provenance | Details for tetromino-0.0.0.dev0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tetromino-0.0.0.dev0-py3-none-any.whl | Python 3 | none | any | Details for tetromino-0.0.0.dev0-py3-none-any.whl |
Total release size: 102.3 kB
Release files / tetromino-0.0.0.dev0.tar.gz
| Download URL | tetromino-0.0.0.dev0.tar.gz |
|---|---|
| Size | 93.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b39d8ad264dc1fc92c53b0b3e286558e981f509ab73b999336a1e339ad54f07
|
|
BLAKE2b-256 checksum How to use checksums |
094d26d7a958a6dbf972fdac17a4b650923e7d2214a4585fdc7ae38bc152a271
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|
Release files / tetromino-0.0.0.dev0-py3-none-any.whl
| Download URL | tetromino-0.0.0.dev0-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4734e80b5f1e8e5743f3024fb27e167828a71af4be6b4f573686edba192ad7e
|
|
BLAKE2b-256 checksum How to use checksums |
4b95e828d878776d75cdd2a9913097cd1d95cda638327cfabe52fa435586a630
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|
Security for tetromino 0.0.0.dev0
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.