dorkhub

python-tcod

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

libtcod
Python47743 forksBSD-2-Clauseupdated 1 week ago
git clone https://github.com/libtcod/python-tcod.gitlibtcod/python-tcod

Contents

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.

more like this

FyWorld

FyWorld - Base-Building / Simulation Game & Tutorial in Unity

C#331

meine

meine 🌒 - A CLI file manager and system utility built with Textual. It combines intuitive command parsing with rich t…

Python50

bit_gossip

Pathfinding library for calculating all node pairs' shortest paths in an unweighted undirected graph.

Rust50

search

search projects, people, and tags