Skip to main content

Sniptide Python SDK

Install the published package:

python -m pip install sniptide
from sniptide import SniptideClient, SniptideError
client = SniptideClient("snpt_...")
page = client.list_pastes(limit=20)
if page["nextCursor"]:
    next_page = client.list_pastes(cursor=page["nextCursor"])
created = client.create_paste({"title": "Example", "files": [{"name": "hello.py", "content": "print('hello')"}]})

Methods me, usage, read_paste, create_paste, update_paste, update_settings, trash_paste, list_collections, create_collection, and collection_pastes return API JSON dictionaries. Create methods accept an optional idempotency_key; current main ignores these keys; support requires a server version with idempotency enabled. SniptideError exposes status, code, and retry_after. Requests are not automatically retried. Set base_url for a self-hosted instance; HTTPS is required except on loopback. Redirects are rejected.

Environment group reads and writes return variable values, which can contain secrets. Handle responses accordingly. Listing groups returns counts, not values.

The response limit defaults to 64 MiB. Set max_response_bytes to a positive integer for a different limit.

License

This package is licensed under the MIT License.

Metadata

Release files for sniptide 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sniptide 0.1.0
File Size Uploaded Provenance Actions
sniptide-0.1.0.tar.gz 5.2 kB With provenance Details for sniptide-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sniptide 0.1.0
File Interpreter ABI Platform Actions
sniptide-0.1.0-py3-none-any.whl Python 3 none any Details for sniptide-0.1.0-py3-none-any.whl

Total release size: 9.8 kB

Release files / sniptide-0.1.0.tar.gz

Download URL sniptide-0.1.0.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
85f752d1438d7209351040942a57aeaf1ed24949b25ee3d14ebdab5dfca7a78c
BLAKE2b-256 checksum
How to use checksums
9813948cf7fc78ac1fdb5ca22fe04bd67d0d7de8c4a697395d6463a346e753cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Release files / sniptide-0.1.0-py3-none-any.whl

Download URL sniptide-0.1.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c838e41c55027ce9b7357160735d887e6eaee56acf9722361e91adf9f4cfd814
BLAKE2b-256 checksum
How to use checksums
a811c2b64bd8067ee8f3de3c98c324b74b0e1c69e163a7db415d0742651c2197
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Security for sniptide 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sniptide-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page