Python SDK for capella.pics
Project description
Python SDK for capella.pics
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size pycapella-0.1.6-py3-none-any.whl (3.8 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size pycapella-0.1.6.tar.gz (3.5 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for pycapella-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6528e1c094fd6325e55174b25ec7ad4440d08d706a389ccce54e53b11b153137 |
|
MD5 | f48ac2c52afaf71d7b226466015f17b9 |
|
BLAKE2-256 | 3e590efc98b59a6756e28b9f25f6b214a739202752fb1400e02d6017ddec0374 |