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-20.0.0.tar.gz (851.4 kB view details)

Uploaded Source

Built Distributions

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

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

Uploaded PyPyWindows x86-64

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

Uploaded PyPymacOS 11.0+ ARM64

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

Uploaded PyPymacOS 10.15+ x86-64

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

Uploaded CPython 3.14tWindows ARM64

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

Uploaded CPython 3.14tWindows x86-64

tcod-20.0.0-cp314-cp314t-win32.whl (1.6 MB view details)

Uploaded CPython 3.14tWindows x86

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

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

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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

tcod-20.0.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-20.0.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-20.0.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-20.0.0.tar.gz.

File metadata

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

File hashes

Hashes for tcod-20.0.0.tar.gz
Algorithm Hash digest
SHA256 4287bef4c8695b10a6531fef809fca34a78c5d6931693bf615d14528ebc9047d
MD5 dfc082d7186bffde7374ffe54d53c0c3
BLAKE2b-256 c9a9f9f2a5ab867c0070257a8b05d402b15e70afd2afed2df0f1da58eace9f6f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tcod-20.0.0-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 861f6e47dc704897b7e0414e31295473a7575e9c35d805ba86a3c5cdb695ab96
MD5 fcadb1fe4dadbba4713ac0ad3b9680a6
BLAKE2b-256 a88a1d60e5dce2651a30e6a796b555d10c2862c553e12fe6225b1d2cf42386db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tcod-20.0.0-pp310-pypy310_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5e7048685759d76cb82bf80a47925537c0d88ff08b26af8bec4306a090ff220c
MD5 f9e45d34d1a510a86042b06446f6c398
BLAKE2b-256 dc7430fdf4031a276df5837e4dcef5a6fa786c90b619df537a324f0f9a26f786

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tcod-20.0.0-pp310-pypy310_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a32caf524c8ce960a9bc98a48403ff3c3bf5eeffeeea2edb1595cdbe1c9a2bec
MD5 019ae2228afc68b8e2fe4d9c7976e58a
BLAKE2b-256 47336ee500ca28bc049039dfd19ddb44f090ad56250993e3a33d145e02e3133d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tcod-20.0.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4bcc38c98ea63d2a815350c2f3fc0a66044e5b79cf88d5d072b9672c635123c3
MD5 b526653a6e1786626e73b2f6498b988a
BLAKE2b-256 baee92840446e71a9ad037cead11f78df20975249f3af8a85e6e45001690799c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tcod-20.0.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 9a4773c75977760564837a8188de057b0c2fa2b76a6650a830892d728c719b9e
MD5 c1a46ba50df3495f428c7a4d34b7c630
BLAKE2b-256 feeb96599ed19fddbd24c7bb04ae90398162383a87a6eee60eaf7c041a7b0aae

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-20.0.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-20.0.0-cp314-cp314t-win_arm64.whl.

File metadata

  • Download URL: tcod-20.0.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-20.0.0-cp314-cp314t-win_arm64.whl
Algorithm Hash digest
SHA256 19942013b1f34043b52430ff3f9e26f58070c0e94dacd27232b765680b45e1f7
MD5 119236a709c0d2dcf2bb065c750a7f85
BLAKE2b-256 340c9c6d85c5beb46f0f5861bf83ca9d3eac9f15f297d73a96798a0f59f3247d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tcod-20.0.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-20.0.0-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 70911263bf51a3b0040ebaf67a6949ffda75b9dda6c1073cea01d08e5e3ad506
MD5 d64a9a05302601ad66a87228bff96cfc
BLAKE2b-256 7c1a7105e6d95fb8a615b4d23e39c919ae15de532f188dc57037cd94805fc0de

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tcod-20.0.0-cp314-cp314t-win32.whl
  • Upload date:
  • Size: 1.6 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-20.0.0-cp314-cp314t-win32.whl
Algorithm Hash digest
SHA256 83ef5af034a21b5a14524969ec4a7dfc167c66435415ae56c3ea799d7f9a8621
MD5 305d245fe7f2323d9a187a26bbb8c9ee
BLAKE2b-256 9add5850e8beeb1aa8935b9ee18a03b02ee08254c01cc341c322347e4ae5f6bb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tcod-20.0.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 de9a1230684202e38ce0612c3339ec4adb6e48bbd34de5a7910217a354e93986
MD5 89afae0a3077ff89ed9141c58e1b86c5
BLAKE2b-256 9685d545ec5b78e47aa8d877432d5cfffa243afb1a3a4b629d9a27d5c81a0e6e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tcod-20.0.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3bae314786a432462490a7c15e6cda7a74714e83e6a481d55ed68e080a9d87b9
MD5 0feef9354293d52c6c90c5904e1b79a5
BLAKE2b-256 1e7f60662806cfd999c8c00c59a05a913b6964f419eff30f100445be2ce499ac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tcod-20.0.0-cp314-cp314t-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 4bb908e07520ac50ac75ad37670c865010d86e4660baf630d51c5811f1e4ce16
MD5 84e8033af2b47ad9595c11ca76976c35
BLAKE2b-256 8d1e1969ae4a07fc69b505cbd33e3c7502e5410e9d5dc0c27e671c035ce17d5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for tcod-20.0.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-20.0.0-cp310-abi3-win_arm64.whl.

File metadata

  • Download URL: tcod-20.0.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-20.0.0-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 805d9c8b37d8e17c57de6136d3e9eb8d5f30dab359b1bc61bdba59c92c08a0e4
MD5 4edca3691cf2ca8f13553e0954585fac
BLAKE2b-256 fe4eaedcf0451883d376d67975db485ddb422f3bc289d2333a15eef220c96da5

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tcod-20.0.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-20.0.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6496472e4521f818246e65022b5654db2adcdba3830a2bfdd76fb46e153cd36c
MD5 10ee6f4f220b454d76f56d2d6d5cf615
BLAKE2b-256 1d44baf6dee89335a4b608efde7e372081ad87fd62adf860918ad8d5494d065f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tcod-20.0.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-20.0.0-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 77f9e893e2de0cdf4266ee550e906a6a25f04045dcf70372ddd1f5c3529f7487
MD5 d403f938c9257263cae976b27b79c362
BLAKE2b-256 c9f160ae8a2439fb36fb81703b53f705ea7773668fb2f1e20270a73b87ec69d2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tcod-20.0.0-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ab09f2ea0bd5e464c2611b3aa958c3827f5b7dc359a567f4e5afc486bc2b12b6
MD5 4904561884c9718869eb16867877b848
BLAKE2b-256 5144be17451b08708dfda41130796f3a1cbe637efeb9fd527b5be7d903cb23e8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tcod-20.0.0-cp310-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 df2121909cc857558e1d1b64de5561ca2cfb8e0ad1ee36b52866977cac72cc2e
MD5 2bbdcb51ee4427c5d3857cf73d833bd4
BLAKE2b-256 f06fe86e93399c2384f6ff8472e59c6c4bbfd2edfccb57eee7e1b86fd053d286

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tcod-20.0.0-cp310-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 95beab36bb5d35412949f5171c50f5f817db81d269e80e52f0df4d856781a02f
MD5 32edcd1b5bc44412979d321cbca15409
BLAKE2b-256 84a3c3654592de3c71ebd727e1642661c11cb132fdc2e07481bd834546fcdf46

See more details on using hashes here.

Provenance

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