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.8.1.tar.gz
(11.7 kB
view hashes)
Built Distribution
quiltplus-0.8.1-py3-none-any.whl
(16.5 kB
view hashes)
Close
Hashes for quiltplus-0.8.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4f6fe1c5db9db0cb4dda173489a33ad23b4ec8092247da52f9761b3ed08daeb |
|
MD5 | 8ad69c4078586c62fd441380e87aaa28 |
|
BLAKE2b-256 | a2f3f2efb0548d371669be3f6dc8147aed6122d51807fdcd8b10104f592a6415 |