Skip to main content

getpantry.py

A getpantry.cloud API Wrapper written in Python

Example

from pantry_cloud import Pantry

pantry = Pantry("pantry_id")
# you could also optionally add "wait_for_ratelimits = True"
# so the code would wait if there is a ratelimit, which WILL SLOW DOWN your program

# create a basket
bask = pantry.create_basket("basket_name", {"key": "value"}) # returns a Basket object

# get a basket
bask2 = pantry.get_basket("another_basket") # also returns a Basket object

# update a basket
pantry.update_basket("another_basket", {"key": 123, "hello": "world"}) # also returns a Basket object

# delete a basket
pantry.delete_basket("basket_to_delete")

# get a basket's public id
public_id = pantry.get_basket_public_id("public_basket") # retrns a string
# get a public basket
public_bask = Pantry.get_public_basket(public_id) # returns a PublicBasket object

# get pantry info
pantry.get_info() # returns PantryInformation object
# --- or ---
pantry.me # returns PantryInformation object

# update pantry info
pantry.update_info("new name", "new description") # also returns a PantryInformation object

soon there will be asynchronous support

Metadata

Release files for getpantry.py 1.0.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 getpantry.py 1.0.0
File Size Uploaded Provenance
getpantry_py-1.0.0.tar.gz 4.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for getpantry.py 1.0.0
File Interpreter ABI Platform
getpantry_py-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.2 kB

Release files / getpantry_py-1.0.0.tar.gz

Download URL getpantry_py-1.0.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
48464e3aa35e5c1cfd26b87330dd20f8d08933d35ce17a0c8b4da0f206bfaa59
BLAKE2b-256 checksum
How to use checksums
b796d94291664df89bd0a3802b61f7ee57cd70ddc02cd15cddde1a3aceab46bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / getpantry_py-1.0.0-py3-none-any.whl

Download URL getpantry_py-1.0.0-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a73f5015c135f10523fca1c5b8377b2b4f5acea0227b79145258558a01017f1
BLAKE2b-256 checksum
How to use checksums
46cfada09fcab7ed631991fe9bb9dfd1b0988b9ddf68789436424f65c6d4bf61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for getpantry.py 1.0.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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