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

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

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-16.2.2.tar.gz (769.4 kB view hashes)

Uploaded Source

Built Distributions

tcod-16.2.2-pp38-pypy38_pp73-win_amd64.whl (1.4 MB view hashes)

Uploaded PyPy Windows x86-64

tcod-16.2.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

tcod-16.2.2-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.3 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

tcod-16.2.2-pp38-pypy38_pp73-macosx_10_9_x86_64.whl (2.1 MB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

tcod-16.2.2-cp38-abi3-win_amd64.whl (1.6 MB view hashes)

Uploaded CPython 3.8+ Windows x86-64

tcod-16.2.2-cp38-abi3-win32.whl (1.3 MB view hashes)

Uploaded CPython 3.8+ Windows x86

tcod-16.2.2-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.5 MB view hashes)

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

tcod-16.2.2-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.2 MB view hashes)

Uploaded CPython 3.8+ manylinux: glibc 2.17+ ARM64

tcod-16.2.2-cp38-abi3-macosx_11_0_arm64.whl (2.2 MB view hashes)

Uploaded CPython 3.8+ macOS 11.0+ ARM64

tcod-16.2.2-cp38-abi3-macosx_10_9_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.8+ macOS 10.9+ x86-64

tcod-16.2.2-cp38-abi3-macosx_10_9_universal2.whl (3.1 MB view hashes)

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

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page