Skip to main content

Sista is a memory-safe and OS-agnostic library for making terminal videogames and animations

Project description

Sista - Python C extension for Sista C++ Library

This repository contains a Python C extension that provides bindings to the Sista C++ library, enabling Python developers to leverage its functionality for ANSI terminal graphics manipulation, videogame and animation development.

Features

  • Full access to Sista C API functions
  • Enum values exposed for foreground colors, background colors, and text attributes
  • Automatic memory management through Python capsules and objects

Dependencies

Installation

Since the wheel package is available on PyPI, you can easily install it using pip:

pip install sista

Usage

After successful installation, you can use the sista module in your Python scripts:

import sista

Documentation

The documentation is generated with...

python -m pdoc --html sista --output-dir docs --force

...and can be found in the docs directory. You can also host it locally using:

python -m http.server --directory docs

Then, open your web browser and navigate to http://localhost:8000/sista/index.html to view the documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

sista-3.0.0b2-cp312-cp312-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

sista-3.0.0b2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (158.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

sista-3.0.0b2-cp312-cp312-macosx_15_0_arm64.whl (94.8 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

sista-3.0.0b2-cp311-cp311-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

sista-3.0.0b2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (158.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

sista-3.0.0b2-cp311-cp311-macosx_15_0_arm64.whl (94.7 kB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

sista-3.0.0b2-cp310-cp310-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

sista-3.0.0b2-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (158.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

sista-3.0.0b2-cp310-cp310-macosx_15_0_arm64.whl (94.6 kB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

File details

Details for the file sista-3.0.0b2-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for sista-3.0.0b2-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2092f66852e01bfb625afa0b3b9d58ccae945c7082402d7dbc3452ee3af4fde5
MD5 68ef333d01ea3da113687b54d9ecaa77
BLAKE2b-256 6969b0ece49de1db8aa30f7b814ec3fd00d20dbc55ff23cd4547994bf002b14a

See more details on using hashes here.

Provenance

The following attestation bundles were made for sista-3.0.0b2-cp312-cp312-musllinux_1_2_x86_64.whl:

Publisher: python-publish.yml on FLAK-ZOSO/Sista

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sista-3.0.0b2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for sista-3.0.0b2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 508b8e24aa0ff6391792e9b4eebabaa760534a283ce7b65c7096271e2399521f
MD5 f14b39cfa63251bfff21c38ab0d6ed58
BLAKE2b-256 07d80d8bd5fa9ff69034d9eba724f0a62a66cf1466ffe9165dd98634850a8572

See more details on using hashes here.

Provenance

The following attestation bundles were made for sista-3.0.0b2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python-publish.yml on FLAK-ZOSO/Sista

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sista-3.0.0b2-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sista-3.0.0b2-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 0f20553228dfa5239b406084711a2c8fb6d63e56bf1207b7b2a3de1d52a30e49
MD5 7486793b1c22d205726474afa73b1328
BLAKE2b-256 34e6ab9ce3f34494889a6edbc6a97d6e400311b955084fa7a936cb7311a15e79

See more details on using hashes here.

Provenance

The following attestation bundles were made for sista-3.0.0b2-cp312-cp312-macosx_15_0_arm64.whl:

Publisher: python-publish.yml on FLAK-ZOSO/Sista

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sista-3.0.0b2-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for sista-3.0.0b2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 053c01c00afdaab84fb242c070b525bd902dba5266dc4278a324669fe41482ad
MD5 71ebf4962a0232507abebf982952d381
BLAKE2b-256 f8204f76b6772a9fc7454aeefec15c8427dd7f80ab8d6cef43e66c9ad5db05eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for sista-3.0.0b2-cp311-cp311-musllinux_1_2_x86_64.whl:

Publisher: python-publish.yml on FLAK-ZOSO/Sista

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sista-3.0.0b2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for sista-3.0.0b2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1f0d946ab9342286abc6d9035aeb392c9de54128af685e183b7311c755e655be
MD5 2d72c45205d8a6ac66a21eecdbfe7862
BLAKE2b-256 f3545cda302c3caa93d168d8b9c5f2293bd22e4112b34eee86e40c8dc2838c1c

See more details on using hashes here.

Provenance

The following attestation bundles were made for sista-3.0.0b2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python-publish.yml on FLAK-ZOSO/Sista

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sista-3.0.0b2-cp311-cp311-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sista-3.0.0b2-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 47a39dfc60027549720f656850cbafdd717dd816e51f9432b3336d30ce689307
MD5 6041877b03b972eeac2158f7a337e6ae
BLAKE2b-256 b5eb7737e6091c3349193243aef13ba44f3a9d5e70cfbeb6849f33de2a39d056

See more details on using hashes here.

Provenance

The following attestation bundles were made for sista-3.0.0b2-cp311-cp311-macosx_15_0_arm64.whl:

Publisher: python-publish.yml on FLAK-ZOSO/Sista

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sista-3.0.0b2-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for sista-3.0.0b2-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 908102b2601e385b7559d673acd9bde0d3dcb59cd0de25b1a8dc814ab65c2472
MD5 3bdb52b62212eef52b8c2eb7d066ec42
BLAKE2b-256 864347e5f45f9722653a2c0667457d48808fbcb02490c632ec5754a151412be6

See more details on using hashes here.

Provenance

The following attestation bundles were made for sista-3.0.0b2-cp310-cp310-musllinux_1_2_x86_64.whl:

Publisher: python-publish.yml on FLAK-ZOSO/Sista

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sista-3.0.0b2-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for sista-3.0.0b2-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3f7e6292fe0ee9f1556b223e3ce6c66ccd0a53630e6000a87daaf5245f5eaa53
MD5 9a7e1f3a12f45fc7b67eba9d1b17e575
BLAKE2b-256 c4ab2d255a2202d67925a1464d51f767772557ca63663ca2d6d2b9e01c092ee6

See more details on using hashes here.

Provenance

The following attestation bundles were made for sista-3.0.0b2-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python-publish.yml on FLAK-ZOSO/Sista

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sista-3.0.0b2-cp310-cp310-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sista-3.0.0b2-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 00105f7c9ca291a9dd25100824173169587d1aafb84e728aecfb2bffcfc9ca39
MD5 4486944d664687de7a93e402c28981e2
BLAKE2b-256 fd2a6652a7272922f78c536f9c8903ad2d67371e5bff630e19331553684a88ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for sista-3.0.0b2-cp310-cp310-macosx_15_0_arm64.whl:

Publisher: python-publish.yml on FLAK-ZOSO/Sista

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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