Skip to main content

The official Python port of libtcod.

Project description

Status

VersionsBadge ImplementationBadge LicenseBadge

PyPI Documentation Status Codecov Updates CommitsSinceLastRelease

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.10+

  • Windows, Linux, or MacOS X 10.9+.

  • On Linux, requires libsdl3

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

tcod-21.2.1.tar.gz (855.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

tcod-21.2.1-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (7.2 MB view details)

Uploaded PyPymanylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tcod-21.2.1-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (6.9 MB view details)

Uploaded PyPymanylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

tcod-21.2.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl (2.7 MB view details)

Uploaded PyPymacOS 11.0+ ARM64

tcod-21.2.1-pp311-pypy311_pp73-macosx_10_15_x86_64.whl (2.7 MB view details)

Uploaded PyPymacOS 10.15+ x86-64

tcod-21.2.1-pp310-pypy310_pp73-win_amd64.whl (1.7 MB view details)

Uploaded PyPyWindows x86-64

tcod-21.2.1-cp314-cp314t-win_arm64.whl (1.7 MB view details)

Uploaded CPython 3.14tWindows ARM64

tcod-21.2.1-cp314-cp314t-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.14tWindows x86-64

tcod-21.2.1-cp314-cp314t-win32.whl (1.7 MB view details)

Uploaded CPython 3.14tWindows x86

tcod-21.2.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (8.7 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tcod-21.2.1-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (8.3 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

tcod-21.2.1-cp314-cp314t-macosx_10_15_universal2.whl (3.9 MB view details)

Uploaded CPython 3.14tmacOS 10.15+ universal2 (ARM64, x86-64)

tcod-21.2.1-cp310-abi3-win_arm64.whl (1.7 MB view details)

Uploaded CPython 3.10+Windows ARM64

tcod-21.2.1-cp310-abi3-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.10+Windows x86-64

tcod-21.2.1-cp310-abi3-win32.whl (1.6 MB view details)

Uploaded CPython 3.10+Windows x86

tcod-21.2.1-cp310-abi3-pyemscripten_2025_0_wasm32.whl (673.8 kB view details)

Uploaded CPython 3.10+PyEmscripten 2025.0 wasm32

tcod-21.2.1-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tcod-21.2.1-cp310-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (8.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

tcod-21.2.1-cp310-abi3-macosx_10_13_universal2.whl (3.9 MB view details)

Uploaded CPython 3.10+macOS 10.13+ universal2 (ARM64, x86-64)

File details

Details for the file tcod-21.2.1.tar.gz.

File metadata

  • Download URL: tcod-21.2.1.tar.gz
  • Upload date:
  • Size: 855.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tcod-21.2.1.tar.gz
Algorithm Hash digest
SHA256 7c6700fd3239044c268250874861c0cde96cbd6d80a4055e9b2442ce952d7b0a
MD5 55e8161b85cef6240a28988a6bb449e4
BLAKE2b-256 871b53910bfd5f68cdb6b3412bd65ab7209fdc4cf53d2b277bbd07db8627fecd

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.1.tar.gz:

Publisher: python-package.yml on libtcod/python-tcod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tcod-21.2.1-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tcod-21.2.1-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1e478d751630e2fa77dba94707a30dbdf0695e42c53ae0ff51f3d739f703cd05
MD5 100d125371727cf97206c8ce8d3a264f
BLAKE2b-256 1c291607eeabe30adb6e1a45d98442ee1ccd9712ec73e620adb05ab7f1bacada

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.1-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python-package.yml on libtcod/python-tcod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tcod-21.2.1-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tcod-21.2.1-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 dbc45318271e1c2bc4d3bab745b7a0d97654b8d707b930799da6fbf807b58d83
MD5 c272e3162c13f3353be82d650ef07937
BLAKE2b-256 d8a724530a7598cc97b6231ba4b02a80df6ecc1b473f4a57f0691f2f32f625ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.1-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: python-package.yml on libtcod/python-tcod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tcod-21.2.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tcod-21.2.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6ae2408c4dd8fd6b9d91a0f9aeac4e7c525751887893781c2d374f07d9fc8d4b
MD5 262f486264d83d4224a6944f29a9d215
BLAKE2b-256 4adf75c9d6290fd5db8f4adbc505707fbc25a38b24f649e70762dffa3713827a

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl:

Publisher: python-package.yml on libtcod/python-tcod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tcod-21.2.1-pp311-pypy311_pp73-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for tcod-21.2.1-pp311-pypy311_pp73-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 cd62ec7806a9b772344113d029cdaa92b8c23c2ff0549794df2a01f967ea37c8
MD5 0b3650ce77aa2e5c56ee5aef86560031
BLAKE2b-256 e0c1ea43dd8fc104b8e42c0410b74c9829282dac02f49e2a457c78084391bc95

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.1-pp311-pypy311_pp73-macosx_10_15_x86_64.whl:

Publisher: python-package.yml on libtcod/python-tcod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tcod-21.2.1-pp310-pypy310_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for tcod-21.2.1-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 916d4b710c81f83deb1d571bf771b3ce25a8025638306cf0d8dd79a052a2019c
MD5 7f91a98932dde46f3871cfd1ea94d0cb
BLAKE2b-256 ad5c1bb6a07c24c52d153e93cefd224f0f158b85b3543ce864f82161768e472a

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.1-pp310-pypy310_pp73-win_amd64.whl:

Publisher: python-package.yml on libtcod/python-tcod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tcod-21.2.1-cp314-cp314t-win_arm64.whl.

File metadata

  • Download URL: tcod-21.2.1-cp314-cp314t-win_arm64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.14t, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tcod-21.2.1-cp314-cp314t-win_arm64.whl
Algorithm Hash digest
SHA256 a37b8dbf46b2cac19dfed3e1fcef0fda756ff7aff926a99e038c39e08949c7a7
MD5 147fdf27d96bb676175316ceba5be64b
BLAKE2b-256 46f6b9a2f6110c3f2dd6117e98d52219f88e8d6353ba901173b8c9b6544c9b4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.1-cp314-cp314t-win_arm64.whl:

Publisher: python-package.yml on libtcod/python-tcod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tcod-21.2.1-cp314-cp314t-win_amd64.whl.

File metadata

  • Download URL: tcod-21.2.1-cp314-cp314t-win_amd64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.14t, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tcod-21.2.1-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 c410b5ea1901ed777b221350febfd35ac75b223df52d8913b0737f5ee6ff9024
MD5 da0ede0102fa9c7d8eb16f29f2d5ecf1
BLAKE2b-256 ce156f6ddb088c85d06255551f5c93be91c8326c1793c86394661e799702fc6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.1-cp314-cp314t-win_amd64.whl:

Publisher: python-package.yml on libtcod/python-tcod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tcod-21.2.1-cp314-cp314t-win32.whl.

File metadata

  • Download URL: tcod-21.2.1-cp314-cp314t-win32.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.14t, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tcod-21.2.1-cp314-cp314t-win32.whl
Algorithm Hash digest
SHA256 99da7717398aa07a50161bf4bd7020e4c1ca89022042db4ee1661ca8807aa06e
MD5 655ab8e2a66cf4eefa228ba8f99de143
BLAKE2b-256 30e6ffb330ef056ed924e07882491a9f7cfd5fa96f3bc870c7591c21cab4aef8

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.1-cp314-cp314t-win32.whl:

Publisher: python-package.yml on libtcod/python-tcod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tcod-21.2.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tcod-21.2.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f4479ee77d2bd22079221d8c34c79b14addce6aa9ecdb4b48a26d7b02dfb6289
MD5 f5ce7fae3c2df5b5465a802e290c1957
BLAKE2b-256 cb2306b9c55f91bf4ad41dd970baf888b04b3c264c27acdb61c6434883328fd8

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python-package.yml on libtcod/python-tcod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tcod-21.2.1-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tcod-21.2.1-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b8afd7a8efcb2ff67ffdc1a9ecf0555b0513c7643e62e11a38c4e382ecb80b32
MD5 93389b08e6b64bfe90005d11eaa1de53
BLAKE2b-256 763016a66a1eb97b5ac09115beab1519cd7ea6a7d1289abc2c8692dc06ce00d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.1-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: python-package.yml on libtcod/python-tcod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tcod-21.2.1-cp314-cp314t-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for tcod-21.2.1-cp314-cp314t-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 d90fb26a71328c6ca536d8574290b041277d89f32a5d101c4fc37176d27f9829
MD5 9de090c7de3af2f614821c9e69f63524
BLAKE2b-256 ecc24091f5ed9249101a8069c62fd0200262d940bda7fad8821f427e852620cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.1-cp314-cp314t-macosx_10_15_universal2.whl:

Publisher: python-package.yml on libtcod/python-tcod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tcod-21.2.1-cp310-abi3-win_arm64.whl.

File metadata

  • Download URL: tcod-21.2.1-cp310-abi3-win_arm64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.10+, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tcod-21.2.1-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 ecb4f4b88f2831140d70e7ea02ae70e63a3b2d60cd59f830a05dfde9c0b1aa39
MD5 f53208883e035d64628a4376fc6faa2b
BLAKE2b-256 3ed4225e568159f0d5ab40161f98b54fe53509e1c71c0d097a0adb4942404574

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.1-cp310-abi3-win_arm64.whl:

Publisher: python-package.yml on libtcod/python-tcod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tcod-21.2.1-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: tcod-21.2.1-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tcod-21.2.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a4feab0f9fcb3535478eff170726d54d7473dcc49cda676ca6a44e7199ae9119
MD5 c1817b1f2786a6665854f6c6704d9a26
BLAKE2b-256 2144ce2da32b28acaed697bb9edaf1cfbfd16cb718badf0e49e0ba2db544abb3

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.1-cp310-abi3-win_amd64.whl:

Publisher: python-package.yml on libtcod/python-tcod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tcod-21.2.1-cp310-abi3-win32.whl.

File metadata

  • Download URL: tcod-21.2.1-cp310-abi3-win32.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.10+, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tcod-21.2.1-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 514eb8820b5079f94f375439bad16989c489bcf67d3c4b259f5b5282f139f311
MD5 194ac088d0c20dd024ec8a8658f43284
BLAKE2b-256 9972b513a37c883b51d47e63c24554f6153cb85c28d00fd0dd7f17b1e4b01976

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.1-cp310-abi3-win32.whl:

Publisher: python-package.yml on libtcod/python-tcod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tcod-21.2.1-cp310-abi3-pyemscripten_2025_0_wasm32.whl.

File metadata

File hashes

Hashes for tcod-21.2.1-cp310-abi3-pyemscripten_2025_0_wasm32.whl
Algorithm Hash digest
SHA256 2abdfadbe413a1bf45cab5a228d25b043f440a595ea224349fef4fe93937a8ae
MD5 832e204db4da1d5e2a9f8ef7c8d1998d
BLAKE2b-256 76851a513a94cb8bc1ce465b7ef3d5331f16d1ba48185180cb68f46be37b2162

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.1-cp310-abi3-pyemscripten_2025_0_wasm32.whl:

Publisher: python-package.yml on libtcod/python-tcod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tcod-21.2.1-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tcod-21.2.1-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d8742c9cfd490b53e21acce7773bd02fad9d5e22b224f8d5dad55c0cfc0ad593
MD5 7e3c341ec6abb40bb573158cd97b21f9
BLAKE2b-256 8c7374b30e2602b3630e6371a760938e4842e32937ab3c095edf75ac43d2a628

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.1-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python-package.yml on libtcod/python-tcod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tcod-21.2.1-cp310-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tcod-21.2.1-cp310-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 237becb88e131e41feb9856f731dad6ec4e839c5dcf72cf92d1172b4259ef9c1
MD5 4490ccbc1eeee1cf0ded270d355b4bf8
BLAKE2b-256 d7b77f9073a770322f282ec10484323cd3400fe9ca3506f51c70fbb867448a06

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.1-cp310-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: python-package.yml on libtcod/python-tcod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tcod-21.2.1-cp310-abi3-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for tcod-21.2.1-cp310-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 a481b535f93d0befd71721b198163e69217560a559b044dfb85cf50f1feaae02
MD5 0f720cc2ef8d39ee7ba654d65baf0a81
BLAKE2b-256 651695919304c6552e15803893660e3115e504d01540aa6e12e9f511b12c7d31

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.1-cp310-abi3-macosx_10_13_universal2.whl:

Publisher: python-package.yml on libtcod/python-tcod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page