.. contents::
:backlinks: top
========
Status
========
|VersionsBadge| |ImplementationBadge| |LicenseBadge|
|PyPI| |RTD| |Codecov| |Pyup| |CommitsSinceLastRelease|
=======
About
=======
This is a Python cffi_ port of libtcod_.
This library is `hosted on GitHub <https://github.com/libtcod/python-tcod>`_.
Any issues you have with this module can be reported at the
`GitHub issue tracker <https://github.com/libtcod/python-tcod/issues>`_.
=======
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 <https://github.com/libtcod/python-tcod/blob/main/CHANGELOG.md>`_.
=========
License
=========
python-tcod is distributed under the `Simplified 2-clause FreeBSD license
<https://github.com/HexDecimal/python-tdl/blob/master/LICENSE.txt>`_.
.. _LICENSE.txt: https://github.com/libtcod/python-tcod/blob/master/LICENSE.txt
.. _python-tdl: https://github.com/libtcod/python-tcod/
.. _cffi: https://cffi.readthedocs.io/en/latest/
.. _numpy: https://docs.scipy.org/doc/numpy/user/index.html
.. _libtcod: https://github.com/libtcod/libtcod
.. _pip: https://pip.pypa.io/en/stable/installing/
.. |VersionsBadge| image:: https://img.shields.io/pypi/pyversions/tcod.svg?maxAge=2592000
:target: https://pypi.python.org/pypi/tcod
.. |ImplementationBadge| image:: https://img.shields.io/pypi/implementation/tcod.svg?maxAge=2592000
:target: https://pypi.python.org/pypi/tcod
.. |LicenseBadge| image:: https://img.shields.io/pypi/l/tcod.svg?maxAge=2592000
:target: https://github.com/HexDecimal/tcod/blob/master/LICENSE.txt
.. |PyPI| image:: https://img.shields.io/pypi/v/tcod.svg?maxAge=10800
:target: https://pypi.python.org/pypi/tcod
.. |RTD| image:: https://readthedocs.org/projects/python-tcod/badge/?version=latest
:target: http://python-tcod.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. |Codecov| image:: https://codecov.io/gh/libtcod/python-tcod/branch/master/graph/badge.svg
:target: https://codecov.io/gh/libtcod/python-tcod
.. |Issues| image:: https://img.shields.io/github/issues/libtcod/python-tcod.svg?maxAge=3600
:target: https://github.com/libtcod/python-tcod/issues
.. |Pyup| image:: https://pyup.io/repos/github/libtcod/python-tcod/shield.svg
:target: https://pyup.io/repos/github/libtcod/python-tcod/
:alt: Updates
.. |CommitsSinceLastRelease| image:: https://img.shields.io/github/commits-since/libtcod/python-tcod/latest
:target: https://github.com/libtcod/python-tcod/blob/main/CHANGELOG.md
Raw data
{
"_id": null,
"home_page": null,
"name": "tcod",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "roguelike, cffi, Unicode, libtcod, field-of-view, pathfinding",
"author": null,
"author_email": "Kyle Benesch <4b796c65+tcod@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/49/bc/b48910cf590d82a779ebc591fb7e4a5ddafc7852b057e6d34300823ef031/tcod-16.2.3.tar.gz",
"platform": "Windows",
"description": ".. contents::\n :backlinks: top\n\n========\n Status\n========\n|VersionsBadge| |ImplementationBadge| |LicenseBadge|\n\n|PyPI| |RTD| |Codecov| |Pyup| |CommitsSinceLastRelease|\n\n=======\n About\n=======\nThis is a Python cffi_ port of libtcod_.\n\nThis library is `hosted on GitHub <https://github.com/libtcod/python-tcod>`_.\n\nAny issues you have with this module can be reported at the\n`GitHub issue tracker <https://github.com/libtcod/python-tcod/issues>`_.\n\n=======\n Usage\n=======\nThis module was designed to be backward compatible with the original libtcodpy\nmodule distributed with libtcod.\nIf you had code that runs on libtcodpy then you can use this library as a\ndrop-in replacement. This installs a libtcodpy module so you'll only need to\ndelete the libtcodpy/ folder that's usually bundled in an older libtcodpy\nproject.\n\nGuides and Tutorials for libtcodpy should work with the tcod module.\n\nThe latest documentation can be found here:\nhttps://python-tcod.readthedocs.io/en/latest/\n\n==============\n Installation\n==============\nDetailed installation instructions are here:\nhttps://python-tcod.readthedocs.io/en/latest/installation.html\n\nFor the most part it's just::\n\n pip3 install tcod\n\n==============\n Requirements\n==============\n* Python 3.8+\n* Windows, Linux, or MacOS X 10.9+.\n* On Linux, requires libsdl2 (2.0.10+).\n\n===========\n Changelog\n===========\n\nYou can find the most recent changelog\n`here <https://github.com/libtcod/python-tcod/blob/main/CHANGELOG.md>`_.\n\n=========\n License\n=========\npython-tcod is distributed under the `Simplified 2-clause FreeBSD license\n<https://github.com/HexDecimal/python-tdl/blob/master/LICENSE.txt>`_.\n\n.. _LICENSE.txt: https://github.com/libtcod/python-tcod/blob/master/LICENSE.txt\n\n.. _python-tdl: https://github.com/libtcod/python-tcod/\n\n.. _cffi: https://cffi.readthedocs.io/en/latest/\n\n.. _numpy: https://docs.scipy.org/doc/numpy/user/index.html\n\n.. _libtcod: https://github.com/libtcod/libtcod\n\n.. _pip: https://pip.pypa.io/en/stable/installing/\n\n.. |VersionsBadge| image:: https://img.shields.io/pypi/pyversions/tcod.svg?maxAge=2592000\n :target: https://pypi.python.org/pypi/tcod\n\n.. |ImplementationBadge| image:: https://img.shields.io/pypi/implementation/tcod.svg?maxAge=2592000\n :target: https://pypi.python.org/pypi/tcod\n\n.. |LicenseBadge| image:: https://img.shields.io/pypi/l/tcod.svg?maxAge=2592000\n :target: https://github.com/HexDecimal/tcod/blob/master/LICENSE.txt\n\n.. |PyPI| image:: https://img.shields.io/pypi/v/tcod.svg?maxAge=10800\n :target: https://pypi.python.org/pypi/tcod\n\n.. |RTD| image:: https://readthedocs.org/projects/python-tcod/badge/?version=latest\n :target: http://python-tcod.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. |Codecov| image:: https://codecov.io/gh/libtcod/python-tcod/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/libtcod/python-tcod\n\n.. |Issues| image:: https://img.shields.io/github/issues/libtcod/python-tcod.svg?maxAge=3600\n :target: https://github.com/libtcod/python-tcod/issues\n\n.. |Pyup| image:: https://pyup.io/repos/github/libtcod/python-tcod/shield.svg\n :target: https://pyup.io/repos/github/libtcod/python-tcod/\n :alt: Updates\n\n.. |CommitsSinceLastRelease| image:: https://img.shields.io/github/commits-since/libtcod/python-tcod/latest\n :target: https://github.com/libtcod/python-tcod/blob/main/CHANGELOG.md\n",
"bugtrack_url": null,
"license": "Simplified BSD License",
"summary": "The official Python port of libtcod.",
"version": "16.2.3",
"project_urls": {
"Changelog": "https://github.com/libtcod/python-tcod/blob/main/CHANGELOG.md",
"Documentation": "https://python-tcod.readthedocs.io",
"Forum": "https://github.com/libtcod/python-tcod/discussions",
"Homepage": "https://github.com/libtcod/python-tcod",
"Source": "https://github.com/libtcod/python-tcod",
"Tracker": "https://github.com/libtcod/python-tcod/issues"
},
"split_keywords": [
"roguelike",
" cffi",
" unicode",
" libtcod",
" field-of-view",
" pathfinding"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c9047efdf0c700f98b71f5504207cd3b6c9e018bc1f5b7cc3898ccee9adf7623",
"md5": "7dbf98ca19fce68989276f27fcfc339d",
"sha256": "0929be98121f3154f935bf5f5a2d4cff7d866f7afd84ff2bc4914b5d3091fcbd"
},
"downloads": -1,
"filename": "tcod-16.2.3-cp38-abi3-macosx_10_11_universal2.whl",
"has_sig": false,
"md5_digest": "7dbf98ca19fce68989276f27fcfc339d",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 3043880,
"upload_time": "2024-07-16T22:40:28",
"upload_time_iso_8601": "2024-07-16T22:40:28.519901Z",
"url": "https://files.pythonhosted.org/packages/c9/04/7efdf0c700f98b71f5504207cd3b6c9e018bc1f5b7cc3898ccee9adf7623/tcod-16.2.3-cp38-abi3-macosx_10_11_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4f9a01ed6e62e728e5202ef458b991b2971194f06830b7b016cabf3dcf1471a5",
"md5": "cc50e426e539cf500976ecbd07a463a8",
"sha256": "c97a4e61e9a880348f0982657b0b30ab6e36c182db4a807acdb405589ee9a051"
},
"downloads": -1,
"filename": "tcod-16.2.3-cp38-abi3-macosx_10_11_x86_64.whl",
"has_sig": false,
"md5_digest": "cc50e426e539cf500976ecbd07a463a8",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 2282844,
"upload_time": "2024-07-16T22:40:32",
"upload_time_iso_8601": "2024-07-16T22:40:32.522765Z",
"url": "https://files.pythonhosted.org/packages/4f/9a/01ed6e62e728e5202ef458b991b2971194f06830b7b016cabf3dcf1471a5/tcod-16.2.3-cp38-abi3-macosx_10_11_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "63b476d900fcf69ceebe4a7a3b8cd62840c9c8a13c870539bbf1074f88ddcea2",
"md5": "4ced6b7d768a355e18a7eacd2fee1360",
"sha256": "06ae9f145da0e6abf70078e2b08e6f07563c8855e84309a73e478f8de0602d6f"
},
"downloads": -1,
"filename": "tcod-16.2.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"has_sig": false,
"md5_digest": "4ced6b7d768a355e18a7eacd2fee1360",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 3219437,
"upload_time": "2024-07-16T22:40:35",
"upload_time_iso_8601": "2024-07-16T22:40:35.149036Z",
"url": "https://files.pythonhosted.org/packages/63/b4/76d900fcf69ceebe4a7a3b8cd62840c9c8a13c870539bbf1074f88ddcea2/tcod-16.2.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4b7d610381f267455c1d516c10884993440b3135ccca3ecee83ca035646e3dde",
"md5": "2c1120c2103f69b7a9084598f2857149",
"sha256": "abf6c4e3032a906ed86b85ec317d1e44fd3651dca270793d7490fe2a2a81bc64"
},
"downloads": -1,
"filename": "tcod-16.2.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "2c1120c2103f69b7a9084598f2857149",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 3469082,
"upload_time": "2024-07-16T22:40:38",
"upload_time_iso_8601": "2024-07-16T22:40:38.017037Z",
"url": "https://files.pythonhosted.org/packages/4b/7d/610381f267455c1d516c10884993440b3135ccca3ecee83ca035646e3dde/tcod-16.2.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8f532f981fbf91e46ab08c432629d0636811912a28fa8de5738ee63edd80817c",
"md5": "04a5fa8a7e1c3a00c1f411c7ea86445f",
"sha256": "20975de29b6fdd24043df004ef09f95923ed4e57756c41a38d4ffd5d0f994e06"
},
"downloads": -1,
"filename": "tcod-16.2.3-cp38-abi3-win32.whl",
"has_sig": false,
"md5_digest": "04a5fa8a7e1c3a00c1f411c7ea86445f",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 1327706,
"upload_time": "2024-07-16T22:40:40",
"upload_time_iso_8601": "2024-07-16T22:40:40.154000Z",
"url": "https://files.pythonhosted.org/packages/8f/53/2f981fbf91e46ab08c432629d0636811912a28fa8de5738ee63edd80817c/tcod-16.2.3-cp38-abi3-win32.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "781936fe27af2eae75e713cebf36da0a02c5255b44b6043c361f17e08503ac88",
"md5": "60c7be473d811f123075a8659c9bb171",
"sha256": "8bf8935b2a92af164cc011a563f9d8d345e8e148246606b07e9a069ce6e2b6f4"
},
"downloads": -1,
"filename": "tcod-16.2.3-cp38-abi3-win_amd64.whl",
"has_sig": false,
"md5_digest": "60c7be473d811f123075a8659c9bb171",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 1553241,
"upload_time": "2024-07-16T22:40:42",
"upload_time_iso_8601": "2024-07-16T22:40:42.427315Z",
"url": "https://files.pythonhosted.org/packages/78/19/36fe27af2eae75e713cebf36da0a02c5255b44b6043c361f17e08503ac88/tcod-16.2.3-cp38-abi3-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "71b36fa1c67ff67fe2e527c8062cd35169bed68e4ea1e368d74d14af51837103",
"md5": "329efb0f8847733ef5c3168f014897f0",
"sha256": "4e5013fa27833b8c03f40cc487282de3a05c950c31538b927dc9297ca44ec93a"
},
"downloads": -1,
"filename": "tcod-16.2.3-pp38-pypy38_pp73-macosx_10_11_x86_64.whl",
"has_sig": false,
"md5_digest": "329efb0f8847733ef5c3168f014897f0",
"packagetype": "bdist_wheel",
"python_version": "pp38",
"requires_python": ">=3.8",
"size": 2048920,
"upload_time": "2024-07-16T22:40:45",
"upload_time_iso_8601": "2024-07-16T22:40:45.062485Z",
"url": "https://files.pythonhosted.org/packages/71/b3/6fa1c67ff67fe2e527c8062cd35169bed68e4ea1e368d74d14af51837103/tcod-16.2.3-pp38-pypy38_pp73-macosx_10_11_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "afdf262e930979d7c3debdf59e8537e72c3e329e60682872cee5c48fd336949a",
"md5": "0620cb5e9bdae451555fa36d985d0c37",
"sha256": "7c6e3f80f6ccdf9afdb2c525e6ba1622d2614df8e67672b0cb612551044272d5"
},
"downloads": -1,
"filename": "tcod-16.2.3-pp38-pypy38_pp73-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "0620cb5e9bdae451555fa36d985d0c37",
"packagetype": "bdist_wheel",
"python_version": "pp38",
"requires_python": ">=3.8",
"size": 1998718,
"upload_time": "2024-07-16T22:40:47",
"upload_time_iso_8601": "2024-07-16T22:40:47.451142Z",
"url": "https://files.pythonhosted.org/packages/af/df/262e930979d7c3debdf59e8537e72c3e329e60682872cee5c48fd336949a/tcod-16.2.3-pp38-pypy38_pp73-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9dbd2b34f002aa70c39854b176a4e14b1771f0e68a62433df8ea8644f646e8bd",
"md5": "7c0dc49b92c554d85bfb99250d5fd0f2",
"sha256": "8c0b089070166cdf611896ad23060ece1ee87e615936d75bb8db18db468245be"
},
"downloads": -1,
"filename": "tcod-16.2.3-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"has_sig": false,
"md5_digest": "7c0dc49b92c554d85bfb99250d5fd0f2",
"packagetype": "bdist_wheel",
"python_version": "pp38",
"requires_python": ">=3.8",
"size": 2288128,
"upload_time": "2024-07-16T22:40:49",
"upload_time_iso_8601": "2024-07-16T22:40:49.742396Z",
"url": "https://files.pythonhosted.org/packages/9d/bd/2b34f002aa70c39854b176a4e14b1771f0e68a62433df8ea8644f646e8bd/tcod-16.2.3-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cfca1e36d86e1a37b0ddc8e6231db39f0489b5274564e958b22391a3d00f497d",
"md5": "42ac69c953b896e1744fdcb5e04870ec",
"sha256": "0c6c6e1edfafbf90a2b8cfecc6977fbb26805022dbb8d40bd2b50e3a25c730d0"
},
"downloads": -1,
"filename": "tcod-16.2.3-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "42ac69c953b896e1744fdcb5e04870ec",
"packagetype": "bdist_wheel",
"python_version": "pp38",
"requires_python": ">=3.8",
"size": 2434835,
"upload_time": "2024-07-16T22:40:52",
"upload_time_iso_8601": "2024-07-16T22:40:52.262250Z",
"url": "https://files.pythonhosted.org/packages/cf/ca/1e36d86e1a37b0ddc8e6231db39f0489b5274564e958b22391a3d00f497d/tcod-16.2.3-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f3d721378e7dd0338bf1d53ddac3b8a44a1056e5e4620e8fee758be02653d024",
"md5": "83e07ca97c61d3746275026aaa73f274",
"sha256": "7261720f5df5ce8c135a05a274dcdbb839bf4d313c7537863309b34b4fe7704b"
},
"downloads": -1,
"filename": "tcod-16.2.3-pp38-pypy38_pp73-win_amd64.whl",
"has_sig": false,
"md5_digest": "83e07ca97c61d3746275026aaa73f274",
"packagetype": "bdist_wheel",
"python_version": "pp38",
"requires_python": ">=3.8",
"size": 1367351,
"upload_time": "2024-07-16T22:40:54",
"upload_time_iso_8601": "2024-07-16T22:40:54.625292Z",
"url": "https://files.pythonhosted.org/packages/f3/d7/21378e7dd0338bf1d53ddac3b8a44a1056e5e4620e8fee758be02653d024/tcod-16.2.3-pp38-pypy38_pp73-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "49bcb48910cf590d82a779ebc591fb7e4a5ddafc7852b057e6d34300823ef031",
"md5": "7dc0c360c398f34458a303b77293da33",
"sha256": "72f3527c7fd07d62d35c62bad42efb8651f3324ca965da04b6365630ddd51c1c"
},
"downloads": -1,
"filename": "tcod-16.2.3.tar.gz",
"has_sig": false,
"md5_digest": "7dc0c360c398f34458a303b77293da33",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 769661,
"upload_time": "2024-07-16T22:40:56",
"upload_time_iso_8601": "2024-07-16T22:40:56.825036Z",
"url": "https://files.pythonhosted.org/packages/49/bc/b48910cf590d82a779ebc591fb7e4a5ddafc7852b057e6d34300823ef031/tcod-16.2.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-16 22:40:56",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "libtcod",
"github_project": "python-tcod",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "attrs",
"specs": [
[
">=",
"23.1.0"
]
]
},
{
"name": "cffi",
"specs": [
[
">=",
"1.15"
]
]
},
{
"name": "numpy",
"specs": [
[
">=",
"1.21.4"
]
]
},
{
"name": "pycparser",
"specs": [
[
">=",
"2.14"
]
]
},
{
"name": "requests",
"specs": [
[
">=",
"2.28.1"
]
]
},
{
"name": "setuptools",
"specs": [
[
"==",
"70.0.0"
]
]
},
{
"name": "types-cffi",
"specs": []
},
{
"name": "types-requests",
"specs": []
},
{
"name": "types-Pillow",
"specs": []
},
{
"name": "types-setuptools",
"specs": []
},
{
"name": "types-tabulate",
"specs": []
},
{
"name": "typing_extensions",
"specs": []
},
{
"name": "pcpp",
"specs": [
[
"==",
"1.30"
]
]
}
],
"tox": true,
"lcname": "tcod"
}