Skip to main content

The official Python port of libtcod.

Project description

Status

VersionsBadge ImplementationBadge LicenseBadge

PyPI Documentation Status Codecov Updates

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

  • 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

tcod-13.6.0.tar.gz (777.2 kB view details)

Uploaded Source

Built Distributions

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

tcod-13.6.0-pp37-pypy37_pp73-win_amd64.whl (1.2 MB view details)

Uploaded PyPyWindows x86-64

tcod-13.6.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

tcod-13.6.0-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.3 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ ARM64

tcod-13.6.0-pp37-pypy37_pp73-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded PyPymacOS 10.9+ x86-64

tcod-13.6.0-cp36-abi3-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.6+Windows x86-64

tcod-13.6.0-cp36-abi3-win32.whl (1.2 MB view details)

Uploaded CPython 3.6+Windows x86

tcod-13.6.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ x86-64

tcod-13.6.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.2 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

tcod-13.6.0-cp36-abi3-macosx_11_0_arm64.whl (2.1 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

tcod-13.6.0-cp36-abi3-macosx_10_9_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

tcod-13.6.0-cp36-abi3-macosx_10_9_universal2.whl (2.9 MB view details)

Uploaded CPython 3.6+macOS 10.9+ universal2 (ARM64, x86-64)

File details

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

File metadata

  • Download URL: tcod-13.6.0.tar.gz
  • Upload date:
  • Size: 777.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for tcod-13.6.0.tar.gz
Algorithm Hash digest
SHA256 8af710595c327f0ed37aa47ed70ede404733c5d94cf7c5763c238e40136f08bc
MD5 23f66a607f63d203df29fe20b3ea98e4
BLAKE2b-256 6170ab8a1f58e82de6d27432853daa00f5c5f42e08a9eb7e3a29b611ba648245

See more details on using hashes here.

File details

Details for the file tcod-13.6.0-pp37-pypy37_pp73-win_amd64.whl.

File metadata

  • Download URL: tcod-13.6.0-pp37-pypy37_pp73-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: PyPy, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 PyPy/7.3.7

File hashes

Hashes for tcod-13.6.0-pp37-pypy37_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 fd3120a2339100818f0d241b146e3c967e6fe0760d08c12da5f4e99f6da1da7a
MD5 8097367fd1d5efbcf80844abb860e6f8
BLAKE2b-256 db2f0dfeec42bff54b5c0137398b697c19a3304d51c14230c78c6a2df0ba9e7c

See more details on using hashes here.

File details

Details for the file tcod-13.6.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: tcod-13.6.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: PyPy, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for tcod-13.6.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d153014dee8a93104021f8a88729c10a164c7198b12152acb77e993deca08375
MD5 8949427103de2b2943a2491cc622b853
BLAKE2b-256 5cdb034296a80838aa9d33bef72d1a01b955d961cb8a9c274ac0291a39b5999f

See more details on using hashes here.

File details

Details for the file tcod-13.6.0-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

  • Download URL: tcod-13.6.0-pp37-pypy37_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? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for tcod-13.6.0-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 35710853664bfab1a4c2e8c5b7390f9929706f4d8ada9f15bad982c3b830bf8d
MD5 6e6407a2598a806e4beae1562f3ede9f
BLAKE2b-256 6527d6137e1864959aac5d455785fb612b010caad170d75b6384c1fc8537f950

See more details on using hashes here.

File details

Details for the file tcod-13.6.0-pp37-pypy37_pp73-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: tcod-13.6.0-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: PyPy, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for tcod-13.6.0-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2a15e6516047e32c85939e32e8da7068765c3869be15cce1d2041efaadff3cbb
MD5 7bacf939332fc192ac334daa8472167f
BLAKE2b-256 fd4278ffb9b008100cc09e3ac6aa01776824847f7e7896d034edf0c1af6a6426

See more details on using hashes here.

File details

Details for the file tcod-13.6.0-cp36-abi3-win_amd64.whl.

File metadata

  • Download URL: tcod-13.6.0-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.6+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for tcod-13.6.0-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b178e8446160ec011fc6a4b572522a20c3175e9291f6059b52501419a24e54fe
MD5 040ad1eee1f657728fdbe61ba495d298
BLAKE2b-256 98c8ad52997b43d7351daa9cd89425a85475cdef2abb7d06a2ecbab159f84858

See more details on using hashes here.

File details

Details for the file tcod-13.6.0-cp36-abi3-win32.whl.

File metadata

  • Download URL: tcod-13.6.0-cp36-abi3-win32.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.6+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for tcod-13.6.0-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 ca79200bd244d1854494f41861e827622788336fa4e066591372c3e6583f0314
MD5 d886f72967c2c0288d1efacbca021cd0
BLAKE2b-256 e5eb15778820df035ee9711582257d1ff22abd1008836a255532362018cbfa21

See more details on using hashes here.

File details

Details for the file tcod-13.6.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: tcod-13.6.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 3.5 MB
  • Tags: CPython 3.6+, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for tcod-13.6.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0716f144a604c0ff866e9d35cbdf26787266139b8cf63201d5a61f1ba9f43400
MD5 8db914c9d1c50f15cd7fd7e50ffb9f72
BLAKE2b-256 ab39ee643bf7450943c7882aa0cc0a0e658896ff3d6dad13798826a8d92d3d04

See more details on using hashes here.

File details

Details for the file tcod-13.6.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

  • Download URL: tcod-13.6.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.6+, manylinux: glibc 2.17+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for tcod-13.6.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3c2992aa49d1aa81541c6ed0637afebf033ef5e0f96fedf47a7b9b1e47d3d4c5
MD5 66bfa76f778e825d7804054d26c822e4
BLAKE2b-256 831b1b33fc178c1e835c3d150e6921de0d8ac04f8261c519f857bee20f1ddd32

See more details on using hashes here.

File details

Details for the file tcod-13.6.0-cp36-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: tcod-13.6.0-cp36-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.6+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for tcod-13.6.0-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 113005c7932a6c89df8ff1e25a69ca84c808f8c6683e079929014401c4603471
MD5 72120be6babe5592a62a03a96b9acf70
BLAKE2b-256 c2d8fdd53e26c6a1b519979ba9d2e99826c8cd469863b54d8a5cf86cb46e55a9

See more details on using hashes here.

File details

Details for the file tcod-13.6.0-cp36-abi3-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: tcod-13.6.0-cp36-abi3-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.6+, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for tcod-13.6.0-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d2579f5d859bdc5e68450dd4f2929d571bcd2a0b394bfcef1a5adcde650302f7
MD5 90e162b88566e9d5791c717af2e1fded
BLAKE2b-256 0192d56073635eaa70af730f408273eaec79ed0a7daa6127101a9c9c0160d6a5

See more details on using hashes here.

File details

Details for the file tcod-13.6.0-cp36-abi3-macosx_10_9_universal2.whl.

File metadata

  • Download URL: tcod-13.6.0-cp36-abi3-macosx_10_9_universal2.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: CPython 3.6+, macOS 10.9+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for tcod-13.6.0-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 38df6bcabb4fdb5a8bac75be76ec97418fc94060099ad9e3444c6517b80df07f
MD5 52fd5095614d5cdde9ed12f63d564df1
BLAKE2b-256 68e3e2ce2251c59c41aac2504562a471b11d2b1bca85d2e85b10ba78984cdd2a

See more details on using hashes here.

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