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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gesttalt-0.7.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: gesttalt-0.7.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 575.5 kB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b753740e856458ab9bdeea06f9025a3855131fda345e53067075b89556f5aa2d
|
|
| MD5 |
1beb2cbb129585d5b0b374648145e734
|
|
| BLAKE2b-256 |
4bf0b03cd586727a23a77688286e036faa8cec12762d12a75cdb5c17b27ef8d2
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gesttalt-0.7.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
b753740e856458ab9bdeea06f9025a3855131fda345e53067075b89556f5aa2d - Sigstore transparency entry: 822002094
- Sigstore integration time:
-
Permalink:
pepicrft/gesttalt@93be2d81b6c3607cbfcd4511c1e153323e983f3b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/pepicrft
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@93be2d81b6c3607cbfcd4511c1e153323e983f3b -
Trigger Event:
push
-
Statement type:
File details
Details for the file gesttalt-0.7.7-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: gesttalt-0.7.7-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 92.2 kB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adf2067fc7ea12501c21bca56c9e218d920640f23c1812f26b81683a08db9681
|
|
| MD5 |
70fe2f72af9da9636d1d29518ec34932
|
|
| BLAKE2b-256 |
623569a8fbce6b13decfb6f80c8265eacf1f3f9f2323047e01928c9b23b4c7b3
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gesttalt-0.7.7-py3-none-macosx_11_0_arm64.whl -
Subject digest:
adf2067fc7ea12501c21bca56c9e218d920640f23c1812f26b81683a08db9681 - Sigstore transparency entry: 822002179
- Sigstore integration time:
-
Permalink:
pepicrft/gesttalt@93be2d81b6c3607cbfcd4511c1e153323e983f3b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/pepicrft
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@93be2d81b6c3607cbfcd4511c1e153323e983f3b -
Trigger Event:
push
-
Statement type:
File details
Details for the file gesttalt-0.7.7-py3-none-macosx_10_9_x86_64.whl.
File metadata
- Download URL: gesttalt-0.7.7-py3-none-macosx_10_9_x86_64.whl
- Upload date:
- Size: 92.3 kB
- Tags: Python 3, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8662a212aaad1f4a292b80c42f400b814153c12cfaee1520bac63e247a63aaf3
|
|
| MD5 |
21ceb8128c0d787c296624b03fd03600
|
|
| BLAKE2b-256 |
33fea4e3163260842ce3963437504734ff4a0ccde40bb77a361b9ba4b33cc804
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gesttalt-0.7.7-py3-none-macosx_10_9_x86_64.whl -
Subject digest:
8662a212aaad1f4a292b80c42f400b814153c12cfaee1520bac63e247a63aaf3 - Sigstore transparency entry: 822002139
- Sigstore integration time:
-
Permalink:
pepicrft/gesttalt@93be2d81b6c3607cbfcd4511c1e153323e983f3b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/pepicrft
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@93be2d81b6c3607cbfcd4511c1e153323e983f3b -
Trigger Event:
push
-
Statement type: