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.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (575.5 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

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

Uploaded Python 3macOS 11.0+ ARM64

gesttalt-0.7.7-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.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for gesttalt-0.7.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b753740e856458ab9bdeea06f9025a3855131fda345e53067075b89556f5aa2d
MD5 1beb2cbb129585d5b0b374648145e734
BLAKE2b-256 4bf0b03cd586727a23a77688286e036faa8cec12762d12a75cdb5c17b27ef8d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for gesttalt-0.7.7-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.7-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gesttalt-0.7.7-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 adf2067fc7ea12501c21bca56c9e218d920640f23c1812f26b81683a08db9681
MD5 70fe2f72af9da9636d1d29518ec34932
BLAKE2b-256 623569a8fbce6b13decfb6f80c8265eacf1f3f9f2323047e01928c9b23b4c7b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for gesttalt-0.7.7-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.7-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for gesttalt-0.7.7-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8662a212aaad1f4a292b80c42f400b814153c12cfaee1520bac63e247a63aaf3
MD5 21ceb8128c0d787c296624b03fd03600
BLAKE2b-256 33fea4e3163260842ce3963437504734ff4a0ccde40bb77a361b9ba4b33cc804

See more details on using hashes here.

Provenance

The following attestation bundles were made for gesttalt-0.7.7-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