Skip to main content

The official Python port of libtcod.

Project description

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

Changelog

You can find the most recent changelog here.

License

python-tcod is distributed under the Simplified 2-clause FreeBSD license.

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.

Files for tcod, version 13.1.0
Filename, size File type Python version Upload date Hashes
Filename, size tcod-13.1.0-cp36-abi3-macosx_10_9_universal2.whl (2.7 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size tcod-13.1.0-cp36-abi3-macosx_10_9_x86_64.whl (2.0 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size tcod-13.1.0-cp36-abi3-macosx_11_0_arm64.whl (1.9 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size tcod-13.1.0-cp36-abi3-win32.whl (1.0 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size tcod-13.1.0-cp36-abi3-win_amd64.whl (1.2 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size tcod-13.1.0-pp37-pypy37_pp73-macosx_10_9_x86_64.whl (1.8 MB) File type Wheel Python version pp37 Upload date Hashes View
Filename, size tcod-13.1.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB) File type Wheel Python version pp37 Upload date Hashes View
Filename, size tcod-13.1.0-pp37-pypy37_pp73-win_amd64.whl (1.1 MB) File type Wheel Python version pp37 Upload date Hashes View
Filename, size tcod-13.1.0.tar.gz (743.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page