Pycapella
Python SDK for capella.pics
Installation
This package is called PyCapella on PyPI. Install using:
$ pip install pycapella
Usage
import pycapella
api = pycapella.Capella()
# Save local file 'image.jpg' to the Capella
response = api.upload_file("image.jpg")
assert response['success'] == True
print("Success! Image URL is {}".format(response['url']))
# Save remote image by url to the Capella
response = api.upload_url("https://ifmo.su/public/app/img/products/capella.png")
assert response['success'] == True
print("Success! Image URL is {}".format(response['url']))
API Documentation
Full documentation can be found on GitHub – https://github.com/codex-team/capella
Issues and improvements
Ask a question or report a bug on the create issue page.
Know how to improve PyCapella? Fork it and send pull request.
You can also write questions and suggestions to the CodeX Team’s email.
License
Metadata
Release files for pycapella 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pycapella-0.1.6.tar.gz | 3.5 kB | Without provenance | Details for pycapella-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pycapella-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for pycapella-0.1.6-py3-none-any.whl |
Total release size: 7.3 kB
Release files / pycapella-0.1.6.tar.gz
| Download URL | pycapella-0.1.6.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8990011d2693dc32a513ed60e51ce42f99e72bb85f56a71142f4069e13db350
|
|
BLAKE2b-256 checksum How to use checksums |
6f909328522648e797357f7a03fa207c6dc97bf40885ae00942b718eab8333f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.1
|
Release files / pycapella-0.1.6-py3-none-any.whl
| Download URL | pycapella-0.1.6-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6528e1c094fd6325e55174b25ec7ad4440d08d706a389ccce54e53b11b153137
|
|
BLAKE2b-256 checksum How to use checksums |
3e590efc98b59a6756e28b9f25f6b214a739202752fb1400e02d6017ddec0374
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.1
|
Security for pycapella 0.1.6
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.