Resource-oriented Python API/CLI for Quilt's decentralized social knowledge platform
Project description
quiltplus
Resource-oriented API for Quilt's decentralized social knowledge platform
Command-Line QuickStart
pip install quiltplus
qp -U "quilt+s3://quilt-example#package=examples/echarts" pkg # get
qp list
qp --help
Detailed Command-Line
export WRITE_BUCKET=writeable_s3_bucket
# create empty package and save to config
qp -U "quilt+s3://$(WRITE_BUCKET)#package=test/quiltplus" pkg -x post
time > README.md
qp stage -a README.md
qp stage # displays staged files
qp pkg -x patch # uploads staged files
Developmment
Uses the trio version of Python's async
I/O
git clone https://github.com/quiltdata/quiltplus
cd quiltplus
poetry self update
poetry install
export WRITE_BUCKET=writeable_s3_bucket
poetry run pytest --cov-report html && open htmlcov/index.html
poetry run ptw --now .
Pushing Changes
Be sure you to first set your API token using poetry config pypi-token.pypi <pypi-api-token>
# merge PR
poetry version patch # minor major
poetry build
poetry publish
# create new branch
poetry version prepatch # preminor premajor
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 Distribution
quiltplus-0.7.4.tar.gz
(10.9 kB
view hashes)
Built Distribution
quiltplus-0.7.4-py3-none-any.whl
(14.7 kB
view hashes)
Close
Hashes for quiltplus-0.7.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6d0ec3e13c9c4419ca99eaefa60fd39978a1ede106b25dd51a50f47970f5304 |
|
MD5 | 7f19fafa460051f558f8c56cac665bfc |
|
BLAKE2b-256 | 170cabf9eecd81dafd2be1691f6d3fd9cd23a21a067ddfdb75deca77fb2bb437 |