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.0.tar.gz (855.6 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.0-pp310-pypy310_pp73-win_amd64.whl (1.7 MB view details)

Uploaded PyPyWindows x86-64

tcod-21.2.0-pp310-pypy310_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.0-pp310-pypy310_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.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl (2.7 MB view details)

Uploaded PyPymacOS 11.0+ ARM64

tcod-21.2.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl (2.7 MB view details)

Uploaded PyPymacOS 10.15+ x86-64

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

Uploaded CPython 3.14tWindows ARM64

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

Uploaded CPython 3.14tWindows x86-64

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

Uploaded CPython 3.14tWindows x86

tcod-21.2.0-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.0-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.0-cp314-cp314t-macosx_10_13_universal2.whl (3.9 MB view details)

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

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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

tcod-21.2.0-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.0-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.0-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.0.tar.gz.

File metadata

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

File hashes

Hashes for tcod-21.2.0.tar.gz
Algorithm Hash digest
SHA256 18e49262472b1acb9baefee9a735c16f3b30598f49d76a2a6e553195b268699b
MD5 8bb8cfb2be615ce56211711507f40988
BLAKE2b-256 f3a72c684354e20063b7069abc3488c0a2d7110a65d4b0bc742b5026f714fd9f

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.0.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.0-pp310-pypy310_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for tcod-21.2.0-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 1e518b0523bd08b4a3ef220777f50083044a68228f83fe3898cb0c80b075a89d
MD5 9b6caa0acb9ba7d94aca0557f930dd71
BLAKE2b-256 dc44c6e42b454e30148bd178c47de0770f6d50d25ff49cb267939ac4c970e68c

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.0-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.0-pp310-pypy310_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tcod-21.2.0-pp310-pypy310_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 305f4c28975125c0060adbb8570fbfca02f83bc45bfa3e2b990c2c4fbad855ac
MD5 752e86a5040d7a529c66758645e3b997
BLAKE2b-256 f29381fee6ac5545d02c72ced127d3c9500f4595d72c384d043a5402363c1e8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.0-pp310-pypy310_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.0-pp310-pypy310_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tcod-21.2.0-pp310-pypy310_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 73426e583c194de59a2ab6a224843d078fc4296876b4ac6a0c749af602408f12
MD5 a2075e3a394509975c55a860b45c98f8
BLAKE2b-256 75c5882948761977a4f0ccc7603fd098e69bb30ddd5f7418a314e7c41d8c09b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.0-pp310-pypy310_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.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tcod-21.2.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b27533024a590ddc36c4839d2dcfbc97a92310c1e6654d7237da895888119c5c
MD5 8704254b7b345562de2678273241cab8
BLAKE2b-256 beaf9c7bc225c008f85263879ef441ee30ea73e6fe235197a92a8233dd929c71

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.0-pp310-pypy310_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.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for tcod-21.2.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 b07c09dc5ab880d2f5b5595bdc64c56677dcc5883a4d5dca89285ba022a3d9ce
MD5 5ea84f8a115dbadcc938771832538cec
BLAKE2b-256 46b1c31323e94f59d2171e59c99f7e5091d967b561b633a893517ca9213c9a9d

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.0-pp310-pypy310_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.0-cp314-cp314t-win_arm64.whl.

File metadata

  • Download URL: tcod-21.2.0-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.7

File hashes

Hashes for tcod-21.2.0-cp314-cp314t-win_arm64.whl
Algorithm Hash digest
SHA256 a15f99ffaf8e4e8e9adc6c95cc98e321d5cdfeee2c93a92aeef21171b4465c30
MD5 c56aa832e8b67fcac7e8dbe73bc2350f
BLAKE2b-256 d78d38835ff4cfaeeb547fc086daae76bac5de9c585498f45508d15f3870bbe5

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.0-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.0-cp314-cp314t-win_amd64.whl.

File metadata

  • Download URL: tcod-21.2.0-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.7

File hashes

Hashes for tcod-21.2.0-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 897a3ba7d476772b392a15702a1c9dc30e62a6ec68958601acede12f7e8cf4e1
MD5 c4b4a807cf72e0218131d2a232b1b415
BLAKE2b-256 a7391568f750d2fb606f591fb0067b69d686788a3574945976db53d8268327b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.0-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.0-cp314-cp314t-win32.whl.

File metadata

  • Download URL: tcod-21.2.0-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.7

File hashes

Hashes for tcod-21.2.0-cp314-cp314t-win32.whl
Algorithm Hash digest
SHA256 51fd3b14f731363473ca64c54d59377c50ff10f394a5d2051568e20ac571a190
MD5 d835017a3eed99aa1a7921c810fe2dfa
BLAKE2b-256 54a3b1b0a71635c7fbae497aa8c9f782e6b4eb7a98ca06330fe5dac63d6aae05

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.0-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.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tcod-21.2.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1e9e9411a34601b8d5b4dc0c4b80b34853381b4ca02446446727cc22d0cda1ff
MD5 3a224d1047f0bd8cbc2c0b08254b6e89
BLAKE2b-256 a4594b34637f46ae1553b28c776c037e3aa38d97078361f988ccd623ec94a423

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.0-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.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tcod-21.2.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c3c422a17513c5be48741cac93f5ac4fc28043879f6c4e1119c05a02bc990b21
MD5 8fdbc87c2655df11b53519caf11ca8d3
BLAKE2b-256 a1d21cf4b0909523356e00a3c201ffc8d6a700f5bb475ad0e912a9d8389ae73b

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.0-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.0-cp314-cp314t-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for tcod-21.2.0-cp314-cp314t-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 e8b0ea057f78b94b7a21c96d9aa23a190e6de32bb7b4176047bba03b5660a9f1
MD5 ffe7b6a9039988ff8f84c874f99be631
BLAKE2b-256 008c78718866cd95ca4751d37e86e591c78782bd3117ba338953602f0387246d

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.0-cp314-cp314t-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.

File details

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

File metadata

  • Download URL: tcod-21.2.0-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.7

File hashes

Hashes for tcod-21.2.0-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 176cf08205c30446b14acaea0d3fb2672c23683605305a447636590cc9923a25
MD5 fa73e0c71d78377212e1b80641fd960b
BLAKE2b-256 bef1ebc4ad67d2bc416ac033244e9e115697a00387c2ada5adf54ec52be819ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.0-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.0-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: tcod-21.2.0-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.7

File hashes

Hashes for tcod-21.2.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 72fcac821cebdf96868ec77897ef3da3ed088ea710c355f772d44afd93b5d3d5
MD5 de47d5b450487960cf125b3f2b4dab6e
BLAKE2b-256 e3e9d04dbf24ac1e2b3571acb89a4db9cac07dc255b7f406a63dff001216ec52

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.0-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.0-cp310-abi3-win32.whl.

File metadata

  • Download URL: tcod-21.2.0-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.7

File hashes

Hashes for tcod-21.2.0-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 d8cfe8d7746c4f1a7fe626134421edd8d52c3323c678788cf8bcea5bef2cbc14
MD5 024c5751c44328aa565a49b369d0eef2
BLAKE2b-256 1c4090c33cf0e3c07eb2aa36a023bef8669418d366b942d58d6fdad9e388e475

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.0-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.0-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tcod-21.2.0-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3809bbdd4c0fbb7b67b109a3eace9b5c1de5c88f2ab05e13950deed1da7adbd4
MD5 82745dba4e25f6fd433b6e8d83e801af
BLAKE2b-256 c9987ca8cc013c45cf0546c3a2ab3e64598053e50990c1f6bb74db00ccde5578

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.0-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.0-cp310-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tcod-21.2.0-cp310-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 62492887ceb1f205db930d42cc77333c38331340ca8c024f71a2a92e1d014a63
MD5 8cfe7ffffc4f0c984c62e7fce7e859c3
BLAKE2b-256 606a58101522558e3f3b67d1d4c7ebee449950e213fae5020ec7c73bf30290a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.0-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.0-cp310-abi3-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for tcod-21.2.0-cp310-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 8b482d4a7a203620c3d0a568c80901af68e87f6cab4733c44498fd7032665cb1
MD5 6762cdd5f45e69c189cd8a2a87b159b6
BLAKE2b-256 6a1387e905dbfdb4c397cc25ad5f87ba0e713986509431c861d5f17b2ddfbd63

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-21.2.0-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