Skip to main content

A universal OAuth2.0 client written in Zig concurrency-ready

Project description

Gesttalt Python Bindings

A universal OAuth2.0 client written in Zig concurrency-ready.

Install

pip install gesttalt

Usage

from gesttalt import (
    create_snippet, list_snippets, read_snippet, update_snippet, delete_snippet,
    create_post, list_posts, read_post, update_post, delete_post,
    create_note, list_notes, read_note, update_note, delete_note,
)

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)

posts = list_posts(project_dir)
post = read_post(project_dir, "hello-world")
create_post(project_dir, "hello-world", "Hello", "My first post", tags=["zig", "oauth2"])
update_post(project_dir, "hello-world", title="Updated title")
delete_post(project_dir, "hello-world")

notes = list_notes(project_dir)
note = read_note(project_dir, "1735148400")
create_note(project_dir, timestamp, body="Quick update")
update_note(project_dir, "1735148400", body="Edited")
delete_note(project_dir, "1735148400")

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

gesttalt-0.7.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (583.7 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

gesttalt-0.7.9-py3-none-macosx_11_0_arm64.whl (92.2 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

gesttalt-0.7.9-py3-none-macosx_10_9_x86_64.whl (92.3 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file gesttalt-0.7.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for gesttalt-0.7.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5e3a820cb7795f0177e585549c358c44fb757c0822a6492a11c5e45d5bb16838
MD5 75b83c907e60e06de3bf425e06d888ca
BLAKE2b-256 2bea069f574a531ac3026ff6fb0c6ff22b7e397ada43ce3613857d467813b910

See more details on using hashes here.

Provenance

The following attestation bundles were made for gesttalt-0.7.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on pepicrft/gesttalt

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

File details

Details for the file gesttalt-0.7.9-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gesttalt-0.7.9-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 55a3ba02ccea510d4b0b6cb004480595b16c8f445fa4b1f49e890cca0ad3be12
MD5 f77cafb5c3c9074bf9b9ac0694c9ee40
BLAKE2b-256 e5a39eee3aa80fae53089e78949114d815c4e79ccd63fa9e0a0c7968b2be2a29

See more details on using hashes here.

Provenance

The following attestation bundles were made for gesttalt-0.7.9-py3-none-macosx_11_0_arm64.whl:

Publisher: release.yml on pepicrft/gesttalt

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

File details

Details for the file gesttalt-0.7.9-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for gesttalt-0.7.9-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 900f4ef93e41b4fe1a4c405fed1c29e27c96de6b9fbb9f032955d311d57ce3a1
MD5 26a2f98f46d2f351b9f7d67d8e60eb0a
BLAKE2b-256 ccdd9b6ceeafa5d160d0326aa26916881f5926c317751f81a973afd38de0ee86

See more details on using hashes here.

Provenance

The following attestation bundles were made for gesttalt-0.7.9-py3-none-macosx_10_9_x86_64.whl:

Publisher: release.yml on pepicrft/gesttalt

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