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 | |
|---|---|---|---|
| pycapella-0.1.6.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pycapella-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
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
|