The official Python port of libtcod.
Project description
Status
About
This is a Python cffi port of libtcod.
This library is hosted on GitHub.
Any issues you have with this module can be reported at the GitHub issue tracker.
Usage
This module was designed to be backward compatible with the original libtcodpy module distributed with libtcod. If you had code that runs on libtcodpy then you can use this library as a drop-in replacement. This installs a libtcodpy module so you’ll only need to delete the libtcodpy/ folder that’s usually bundled in an older libtcodpy project.
Guides and Tutorials for libtcodpy should work with the tcod module.
The latest documentation can be found here: https://python-tcod.readthedocs.io/en/latest/
Installation
Detailed installation instructions are here: https://python-tcod.readthedocs.io/en/latest/installation.html
For the most part it’s just:
pip3 install tcod
Requirements
Python 3.8+
Windows, Linux, or MacOS X 10.9+.
On Linux, requires libsdl2 (2.0.10+).
Changelog
You can find the most recent changelog here.
License
python-tcod is distributed under the Simplified 2-clause FreeBSD license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file tcod-16.2.3.tar.gz
.
File metadata
- Download URL: tcod-16.2.3.tar.gz
- Upload date:
- Size: 769.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72f3527c7fd07d62d35c62bad42efb8651f3324ca965da04b6365630ddd51c1c |
|
MD5 | 7dc0c360c398f34458a303b77293da33 |
|
BLAKE2b-256 | 49bcb48910cf590d82a779ebc591fb7e4a5ddafc7852b057e6d34300823ef031 |
File details
Details for the file tcod-16.2.3-pp38-pypy38_pp73-win_amd64.whl
.
File metadata
- Download URL: tcod-16.2.3-pp38-pypy38_pp73-win_amd64.whl
- Upload date:
- Size: 1.4 MB
- Tags: PyPy, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7261720f5df5ce8c135a05a274dcdbb839bf4d313c7537863309b34b4fe7704b |
|
MD5 | 83e07ca97c61d3746275026aaa73f274 |
|
BLAKE2b-256 | f3d721378e7dd0338bf1d53ddac3b8a44a1056e5e4620e8fee758be02653d024 |
File details
Details for the file tcod-16.2.3-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: tcod-16.2.3-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.4 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c6c6e1edfafbf90a2b8cfecc6977fbb26805022dbb8d40bd2b50e3a25c730d0 |
|
MD5 | 42ac69c953b896e1744fdcb5e04870ec |
|
BLAKE2b-256 | cfca1e36d86e1a37b0ddc8e6231db39f0489b5274564e958b22391a3d00f497d |
File details
Details for the file tcod-16.2.3-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: tcod-16.2.3-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 2.3 MB
- Tags: PyPy, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c0b089070166cdf611896ad23060ece1ee87e615936d75bb8db18db468245be |
|
MD5 | 7c0dc49b92c554d85bfb99250d5fd0f2 |
|
BLAKE2b-256 | 9dbd2b34f002aa70c39854b176a4e14b1771f0e68a62433df8ea8644f646e8bd |
File details
Details for the file tcod-16.2.3-pp38-pypy38_pp73-macosx_11_0_arm64.whl
.
File metadata
- Download URL: tcod-16.2.3-pp38-pypy38_pp73-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.0 MB
- Tags: PyPy, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c6e3f80f6ccdf9afdb2c525e6ba1622d2614df8e67672b0cb612551044272d5 |
|
MD5 | 0620cb5e9bdae451555fa36d985d0c37 |
|
BLAKE2b-256 | afdf262e930979d7c3debdf59e8537e72c3e329e60682872cee5c48fd336949a |
File details
Details for the file tcod-16.2.3-pp38-pypy38_pp73-macosx_10_11_x86_64.whl
.
File metadata
- Download URL: tcod-16.2.3-pp38-pypy38_pp73-macosx_10_11_x86_64.whl
- Upload date:
- Size: 2.0 MB
- Tags: PyPy, macOS 10.11+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e5013fa27833b8c03f40cc487282de3a05c950c31538b927dc9297ca44ec93a |
|
MD5 | 329efb0f8847733ef5c3168f014897f0 |
|
BLAKE2b-256 | 71b36fa1c67ff67fe2e527c8062cd35169bed68e4ea1e368d74d14af51837103 |
File details
Details for the file tcod-16.2.3-cp38-abi3-win_amd64.whl
.
File metadata
- Download URL: tcod-16.2.3-cp38-abi3-win_amd64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.8+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bf8935b2a92af164cc011a563f9d8d345e8e148246606b07e9a069ce6e2b6f4 |
|
MD5 | 60c7be473d811f123075a8659c9bb171 |
|
BLAKE2b-256 | 781936fe27af2eae75e713cebf36da0a02c5255b44b6043c361f17e08503ac88 |
File details
Details for the file tcod-16.2.3-cp38-abi3-win32.whl
.
File metadata
- Download URL: tcod-16.2.3-cp38-abi3-win32.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.8+, Windows x86
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20975de29b6fdd24043df004ef09f95923ed4e57756c41a38d4ffd5d0f994e06 |
|
MD5 | 04a5fa8a7e1c3a00c1f411c7ea86445f |
|
BLAKE2b-256 | 8f532f981fbf91e46ab08c432629d0636811912a28fa8de5738ee63edd80817c |
File details
Details for the file tcod-16.2.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: tcod-16.2.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.5 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abf6c4e3032a906ed86b85ec317d1e44fd3651dca270793d7490fe2a2a81bc64 |
|
MD5 | 2c1120c2103f69b7a9084598f2857149 |
|
BLAKE2b-256 | 4b7d610381f267455c1d516c10884993440b3135ccca3ecee83ca035646e3dde |
File details
Details for the file tcod-16.2.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: tcod-16.2.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06ae9f145da0e6abf70078e2b08e6f07563c8855e84309a73e478f8de0602d6f |
|
MD5 | 4ced6b7d768a355e18a7eacd2fee1360 |
|
BLAKE2b-256 | 63b476d900fcf69ceebe4a7a3b8cd62840c9c8a13c870539bbf1074f88ddcea2 |
File details
Details for the file tcod-16.2.3-cp38-abi3-macosx_10_11_x86_64.whl
.
File metadata
- Download URL: tcod-16.2.3-cp38-abi3-macosx_10_11_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.8+, macOS 10.11+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c97a4e61e9a880348f0982657b0b30ab6e36c182db4a807acdb405589ee9a051 |
|
MD5 | cc50e426e539cf500976ecbd07a463a8 |
|
BLAKE2b-256 | 4f9a01ed6e62e728e5202ef458b991b2971194f06830b7b016cabf3dcf1471a5 |
File details
Details for the file tcod-16.2.3-cp38-abi3-macosx_10_11_universal2.whl
.
File metadata
- Download URL: tcod-16.2.3-cp38-abi3-macosx_10_11_universal2.whl
- Upload date:
- Size: 3.0 MB
- Tags: CPython 3.8+, macOS 10.11+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0929be98121f3154f935bf5f5a2d4cff7d866f7afd84ff2bc4914b5d3091fcbd |
|
MD5 | 7dbf98ca19fce68989276f27fcfc339d |
|
BLAKE2b-256 | c9047efdf0c700f98b71f5504207cd3b6c9e018bc1f5b7cc3898ccee9adf7623 |