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.3.tar.gz
(11.2 kB
view hashes)
Built Distribution
quiltplus-0.7.3-py3-none-any.whl
(14.7 kB
view hashes)
Close
Hashes for quiltplus-0.7.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7caa3e533a278543fe31bd8363b264bff0441d18d553679398d7ce8460e8227 |
|
MD5 | 6683200c7bffdc60ed025f845f87de44 |
|
BLAKE2b-256 | ac9f0a9c9df1833208ffeea582bc2622baf8052816163fb3c68972f9d4a4f83d |