Skip to main content

Gesttalt snippets CRUD bindings powered by Zig

Project description

Gesttalt Python Bindings

Snippets CRUD bindings for Gesttalt, powered by Zig.

Install

pip install gesttalt

Usage

from gesttalt import create_snippet, read_snippet, update_snippet, delete_snippet

project_dir = "."
timestamp = 1735148400

path = create_snippet(project_dir, timestamp, "Example snippet", "const x = 1;", "example.zig")
print(path)

snippet = read_snippet(project_dir, timestamp)
print(snippet)

update_snippet(project_dir, timestamp, description="Updated description")

delete_snippet(project_dir, timestamp)

Development

# From project root
zig build -Doptimize=ReleaseFast

cd bindings/python
pip install -e .
pytest

License

MIT

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

gesttalt-0.1.0.tar.gz (38.0 kB view details)

Uploaded Source

Built Distribution

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

gesttalt-0.1.0-py3-none-any.whl (36.6 kB view details)

Uploaded Python 3

File details

Details for the file gesttalt-0.1.0.tar.gz.

File metadata

  • Download URL: gesttalt-0.1.0.tar.gz
  • Upload date:
  • Size: 38.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.1

File hashes

Hashes for gesttalt-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c09a07461b803e02fc2da4a0e2e1f7c993d7fe376af1cc9a9ba12741b97d8421
MD5 3ae0336e03722951db8b52f1a185b1a9
BLAKE2b-256 3bd993c942ca0650e8ec00c9ab776a34d09c0a774114e929b7b1cee79d21cf91

See more details on using hashes here.

File details

Details for the file gesttalt-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gesttalt-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 36.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.1

File hashes

Hashes for gesttalt-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bece7828e8274afd49c43297b73798205772a18993b0b50416336c04fbaf1e2e
MD5 aebb5a91a31b773bcfd5fc0734bdd1ab
BLAKE2b-256 11e6a3e7eeb04822ca8e4ce4919e1a44114e751b2f41f1367a36d39742812a63

See more details on using hashes here.

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