Skip to content

A high-performance Python port of libtcod. Includes the libtcodpy module for backwards compatibility with older projects.

License

Notifications You must be signed in to change notification settings

libtcod/python-tcod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1ba890c · Nov 25, 2024
Jul 16, 2024
Jul 16, 2024
Jul 16, 2024
Nov 25, 2024
Jun 16, 2023
Jun 4, 2023
Mar 12, 2024
Nov 25, 2024
Oct 19, 2024
May 27, 2023
May 25, 2023
Jul 2, 2015
Mar 27, 2023
Jun 3, 2021
Nov 25, 2024
May 25, 2023
Jun 27, 2023
Aug 14, 2024
Jan 16, 2024
Jan 1, 2023
May 29, 2023
Jun 28, 2023
Nov 25, 2024
Mar 12, 2024
Mar 12, 2024
Nov 25, 2024
Nov 25, 2024
Mar 12, 2024
Oct 30, 2023

VersionsBadge ImplementationBadge LicenseBadge

PyPI Documentation Status Codecov Updates CommitsSinceLastRelease

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.

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/

Detailed installation instructions are here: https://python-tcod.readthedocs.io/en/latest/installation.html

For the most part it's just:

pip3 install tcod
  • Python 3.8+
  • Windows, Linux, or MacOS X 10.9+.
  • On Linux, requires libsdl2 (2.0.10+).

You can find the most recent changelog here.

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