Langton's Ant
An implementation of Langton's Ant in Python for fun.
Installation
pip install lant
Usage
To get started, you may invoke the program with:
ant-walk 100000 output.mp4
This produces the evolution of the ant on the grid until it walks over the edge, or the maximum number of steps is met, in this case 100k.
For more advanced usage, see the helptext:
ant-walk --help
Metadata
Release files for lant 0.0.2
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 |
|---|---|---|---|---|
| lant-0.0.2.tar.gz | 5.9 kB | Without provenance | Details for lant-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lant-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for lant-0.0.2-py3-none-any.whl |
Total release size: 11.1 kB
Release files / lant-0.0.2.tar.gz
| Download URL | lant-0.0.2.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3a9993ef145ebf4168c692299721ba5d9f788e5435f0e046fe5bd1f19f80719
|
|
BLAKE2b-256 checksum How to use checksums |
a72aed252809e16fd9f71e5df63b74e712de6bfdbbe3c37bdc5435992a17bcbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / lant-0.0.2-py3-none-any.whl
| Download URL | lant-0.0.2-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70a1947a5c03808b7a0c43ce6c03c01b8708bf1356d7e56a36609a450c05ce55
|
|
BLAKE2b-256 checksum How to use checksums |
7b932a1090436225b47b3dd08469aa4e981f5a8eec2d0ee32b8b070b33f068d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for lant 0.0.2
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.