
Security News
Python Tools Are Quickly Adopting the New pylock.toml Standard
pip, PDM, pip-audit, and the packaging library are already adding support for Python’s new lock file format.
This lightweight package is a python implementation of Free JSON Storage API pantry.
The aim of this package is to make
pantry
api usage simple.
pantry-cloud requires python3.7+ to run.
pip install pantry-cloud
or
pip install --upgrade pantry-cloud
pip3 install pantry-cloud
or
pip3 install --upgrade pantry-cloud
from pantry_cloud import Pantry
pantry = Pantry(api_key='your api key')
res = pantry.create(basket='hello', inputfile='path to json file') # Use inputfile if you want to upload data
print(res)
from pantry_cloud import Pantry
pantry = Pantry(api_key='your api key')
res = pantry.basket(basket='hello', outputfile='path to json file') # Use outputfile if you want to write data data
print(res)
usage: pantry [-h] -a API [-o OUTPUT_FILE] [-i INPUT_FILE] [-s] [-b BASKET] [-u UPDATE] [-c CREATE] [-d DELETE]
optional arguments:
-h, --help show this help message and exit
-a API, --api API api key.
-o OUTPUT_FILE, --output OUTPUT_FILE
output file.
-i INPUT_FILE, --input INPUT_FILE
input file.
-s, --show Shows account details.
-b BASKET, --basket BASKET
Shows data of a basket.
-u UPDATE, --update UPDATE
Updates a basket.
-c CREATE, --create CREATE
Creates a new basket , or replace an existing one.
-d DELETE, --delete DELETE
Deletes the entire basket.
FAQs
Free JSON Storage API Implimentation In Python.
We found that pantry-cloud demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pip, PDM, pip-audit, and the packaging library are already adding support for Python’s new lock file format.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
Security News
vlt adds real-time security selectors powered by Socket, enabling developers to query and analyze package risks directly in their dependency graph.