pycapella

Python SDK for capella.pics


Keywords
capella, image, upload, crop, resize, filter, transformation, manipulation, cdn, codex, crop-image, image-filters, image-resizer, image-upload, images, python-sdk, thumbnails, upload-pictures, uploader
License
MIT
Install
pip install pycapella==0.1

Documentation

Pycapella

https://travis-ci.org/codex-team/pycapella.svg?branch=master

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

MIT