Skip to main content

Python bindings for OpenTUI - a native terminal UI core written in Zig

Project description

pyopentui

Test

Python bindings for OpenTUI - a native terminal UI core written in Zig.

Installation

pip install pyopentui

Development

Install micromamba, then:

# Create a conda environment and install pip and zig:
git clean -fdx
micromamba create -n pyopentui -y
micromamba activate pyopentui
micromamba install pip zig -y

# Get the latest opentui code:
curl -L -o opentui.zip https://github.com/anomalyco/opentui/archive/refs/tags/v0.1.92.zip
unzip opentui.zip

# Compile the core Zig code:
cd opentui-0.1.92/packages/core/src/zig
zig build -Doptimize=ReleaseSafe

# Copy the shared library in the lib directory:
cd -
mkdir src/pyopentui/lib
cp opentui-0.1.92/packages/core/src/zig/lib/*/* src/pyopentui/lib

# Install the package in editable mode:
pip install -e . --group dev

Run tests:

pytest -v tests

Build the package:

python -m build --wheel
python -m build --sdist
python rename_wheel.py

Project details


Download files

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

Source Distribution

pyopentui-0.1.1.tar.gz (9.3 kB view details)

Uploaded Source

Built Distributions

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

pyopentui-0.1.1-cp314-cp314-win_amd64.whl (396.6 kB view details)

Uploaded CPython 3.14Windows x86-64

pyopentui-0.1.1-cp314-cp314-manylinux_2_39_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.39+ x86-64

pyopentui-0.1.1-cp314-cp314-macosx_15_0_arm64.whl (353.4 kB view details)

Uploaded CPython 3.14macOS 15.0+ ARM64

pyopentui-0.1.1-cp313-cp313-win_amd64.whl (385.2 kB view details)

Uploaded CPython 3.13Windows x86-64

pyopentui-0.1.1-cp313-cp313-manylinux_2_39_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.39+ x86-64

pyopentui-0.1.1-cp313-cp313-macosx_15_0_arm64.whl (353.4 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

pyopentui-0.1.1-cp312-cp312-win_amd64.whl (385.2 kB view details)

Uploaded CPython 3.12Windows x86-64

pyopentui-0.1.1-cp312-cp312-manylinux_2_39_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.39+ x86-64

pyopentui-0.1.1-cp312-cp312-macosx_15_0_arm64.whl (353.4 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

pyopentui-0.1.1-cp311-cp311-win_amd64.whl (385.2 kB view details)

Uploaded CPython 3.11Windows x86-64

pyopentui-0.1.1-cp311-cp311-manylinux_2_39_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.39+ x86-64

pyopentui-0.1.1-cp311-cp311-macosx_15_0_arm64.whl (353.4 kB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

pyopentui-0.1.1-cp310-cp310-win_amd64.whl (385.2 kB view details)

Uploaded CPython 3.10Windows x86-64

pyopentui-0.1.1-cp310-cp310-manylinux_2_39_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.39+ x86-64

pyopentui-0.1.1-cp310-cp310-macosx_15_0_arm64.whl (353.4 kB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

File details

Details for the file pyopentui-0.1.1.tar.gz.

File metadata

  • Download URL: pyopentui-0.1.1.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyopentui-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9a0d2de8a1c7ba19063152736e0c224b094e9fe97ea45d6a18980ad90649f479
MD5 c838f61a708bab259617842495fad547
BLAKE2b-256 5c67d3c00618521f2ae9434984d5f484f285b2ddaeab3afbc451f835149170e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopentui-0.1.1.tar.gz:

Publisher: publish.yml on davidbrochart/pyopentui

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

File details

Details for the file pyopentui-0.1.1-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: pyopentui-0.1.1-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 396.6 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyopentui-0.1.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 750e4de981838c61ac401c071aa0b501d69aff2fe8b56e0e560ab5eb97880da7
MD5 4510d21f74202fcf83a2063b5979bfd7
BLAKE2b-256 6a616d0af28216154026f6f27c9c345c2b3dd22d0e14d2a7742b9fe946ee2319

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopentui-0.1.1-cp314-cp314-win_amd64.whl:

Publisher: publish.yml on davidbrochart/pyopentui

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

File details

Details for the file pyopentui-0.1.1-cp314-cp314-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for pyopentui-0.1.1-cp314-cp314-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 8e4294e0e3246d9a4e03bd09eb4cf6546254712e533001c726aeb17ab2e602c2
MD5 cbb616e5f2ca35e1e5020c5e621a927e
BLAKE2b-256 d3c2ba16154732bcbcd0054b1f648217996114821945223a2f3ed5e12796c73c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopentui-0.1.1-cp314-cp314-manylinux_2_39_x86_64.whl:

Publisher: publish.yml on davidbrochart/pyopentui

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

File details

Details for the file pyopentui-0.1.1-cp314-cp314-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pyopentui-0.1.1-cp314-cp314-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 fa854f738b1f76d37f662dc906ce33da53b5ba1196300a19ff87c5638ca0a239
MD5 c55caa8134a909b865346c396c50eac9
BLAKE2b-256 7a87685be0360bf77cea48fbd8460420aedb5ec714c93fd83b4cd953c68eeed3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopentui-0.1.1-cp314-cp314-macosx_15_0_arm64.whl:

Publisher: publish.yml on davidbrochart/pyopentui

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

File details

Details for the file pyopentui-0.1.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: pyopentui-0.1.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 385.2 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyopentui-0.1.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 164166166529380bfb3ef565f393fdd3cf424b02116633c646d759aa0fb13c32
MD5 9286e048b830e3adbfb29fbdef3eb8f9
BLAKE2b-256 f993f7b715e2c72585092ee5d4d9de4ad7b6f2deca13218d31f91c9c8f9b5e07

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopentui-0.1.1-cp313-cp313-win_amd64.whl:

Publisher: publish.yml on davidbrochart/pyopentui

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

File details

Details for the file pyopentui-0.1.1-cp313-cp313-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for pyopentui-0.1.1-cp313-cp313-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 7aef04b7383e44de4a2cef6b548a32e5f376aed90e418bb8620458c04fb9f828
MD5 2e5d351e30b7c81d2e061be082793948
BLAKE2b-256 2263139a6684fc09c65163bfcd96852b1ee8fad4df1ce727544a995db7797654

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopentui-0.1.1-cp313-cp313-manylinux_2_39_x86_64.whl:

Publisher: publish.yml on davidbrochart/pyopentui

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

File details

Details for the file pyopentui-0.1.1-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pyopentui-0.1.1-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 a1fd500858c539da774a337bd36793f10803569f9d5667b5fd2977de9ee70c61
MD5 80c6f9e37a427f484501db0644177268
BLAKE2b-256 64a24939d6c36d7be6b8eb068fc11fbb21d860333497c09f98e1bd8ca781a085

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopentui-0.1.1-cp313-cp313-macosx_15_0_arm64.whl:

Publisher: publish.yml on davidbrochart/pyopentui

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

File details

Details for the file pyopentui-0.1.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: pyopentui-0.1.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 385.2 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyopentui-0.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 44993fce25be50c4fe0cc29d479cacee7cbfa1f9fd3a4b76ed1f49e6e2673656
MD5 aecf18514f653e7f1dc1ef84f118a7d7
BLAKE2b-256 4a1e0829b5ab9f8e8b9436ff04f28b354db0ce9e44cb80b8d5ac98561118ac39

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopentui-0.1.1-cp312-cp312-win_amd64.whl:

Publisher: publish.yml on davidbrochart/pyopentui

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

File details

Details for the file pyopentui-0.1.1-cp312-cp312-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for pyopentui-0.1.1-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 4b8a644e554439f3f689bcd60090f7b2831624efce6516e393aa8cefc2497ede
MD5 b224aba13921676730248fbf258542c0
BLAKE2b-256 36d939f54941b7e913353ec5270da0503dd99dcb6a42bc4bc0d0ef397e88c14f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopentui-0.1.1-cp312-cp312-manylinux_2_39_x86_64.whl:

Publisher: publish.yml on davidbrochart/pyopentui

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

File details

Details for the file pyopentui-0.1.1-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pyopentui-0.1.1-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 5b6c21dd6ef7603566b46a734d7e247356ceca27e9802505d282519fbfb8734c
MD5 c599ec661f0646e84dc58ce92dfa9719
BLAKE2b-256 bb63ab8c1b4a216939cf40cf09f001990975dced13df46f59face81c3c971c6d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopentui-0.1.1-cp312-cp312-macosx_15_0_arm64.whl:

Publisher: publish.yml on davidbrochart/pyopentui

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

File details

Details for the file pyopentui-0.1.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: pyopentui-0.1.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 385.2 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyopentui-0.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0295ee3e800280ca8e722108589ddd3843cec2aa327fea41bc7d7d3b3b9ce078
MD5 18c4939c747516ddaf4028ac2e6a4e26
BLAKE2b-256 726a4daa321b752681b855f5a9e577a4e44bb9cf313a8be3ec3a5c7d4db17303

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopentui-0.1.1-cp311-cp311-win_amd64.whl:

Publisher: publish.yml on davidbrochart/pyopentui

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

File details

Details for the file pyopentui-0.1.1-cp311-cp311-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for pyopentui-0.1.1-cp311-cp311-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 f75867851456eda4373d4d67a8cf5fc524ec6884f7006b7c0cf1a7b46f7aab21
MD5 95996d8ba5a71c4113b75b79733615be
BLAKE2b-256 e31fae727de2bf0633f4b3b7a2fdb8e5d7f8b36533fe18104111149526403f96

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopentui-0.1.1-cp311-cp311-manylinux_2_39_x86_64.whl:

Publisher: publish.yml on davidbrochart/pyopentui

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

File details

Details for the file pyopentui-0.1.1-cp311-cp311-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pyopentui-0.1.1-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 8929004b348cad3a0980f1e79168b72f7d1390ad0356986265522120c01a5bd2
MD5 8be615f96bdf46d4bd2f31b575c636b4
BLAKE2b-256 669d53d8ec78873437432f228afe44db115b4e452ce9c10cfaa6c0e0f3d2c57e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopentui-0.1.1-cp311-cp311-macosx_15_0_arm64.whl:

Publisher: publish.yml on davidbrochart/pyopentui

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

File details

Details for the file pyopentui-0.1.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pyopentui-0.1.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 385.2 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyopentui-0.1.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d3fb138603f1eb9103c93708d7a888ad64c3fe58025cf2f378e7021da82013f4
MD5 d1cd91454ac85cd91e2e35d0c4edc5fc
BLAKE2b-256 1c23041c4652fbacedb0ecc023b7ba0e9ee1a5faf6e0cfb83f09e265ae2b4db8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopentui-0.1.1-cp310-cp310-win_amd64.whl:

Publisher: publish.yml on davidbrochart/pyopentui

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

File details

Details for the file pyopentui-0.1.1-cp310-cp310-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for pyopentui-0.1.1-cp310-cp310-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 eee59124212aa9142e504923f980efa08455e1266d28755c2852c7b063187715
MD5 343d6263a090cfb9769371edf1e4c027
BLAKE2b-256 bfc88ea85595c203c6036745957dc3283428e5dd0cc78d30e82095d5b709db76

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopentui-0.1.1-cp310-cp310-manylinux_2_39_x86_64.whl:

Publisher: publish.yml on davidbrochart/pyopentui

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

File details

Details for the file pyopentui-0.1.1-cp310-cp310-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pyopentui-0.1.1-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 5db13813b51b73790c9e696a985e1d0c5900f94476b63189f8dbfa63538ead68
MD5 385a9de4bb5ef50ef1d08c5785d9b397
BLAKE2b-256 6e10c99d3face1c522aa2aa818e933f10a7f4fe6f189261c58053401777c3c0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopentui-0.1.1-cp310-cp310-macosx_15_0_arm64.whl:

Publisher: publish.yml on davidbrochart/pyopentui

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