🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

pycapella

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pycapella

Python SDK for capella.pics

0.1.6
PyPI
Maintainers
1

Pycapella

.. image:: 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

.. code:: python

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_

.. _capella.pics: https://capella.pics .. _PyCapella: https://pypi.python.org/pypi/PyCapella/ .. _create issue page: https://github.com/codex-team/pycapella/issues/new .. _Fork it: https://github.com/codex-team/pycapella .. _CodeX Team’s email: mailto:team@ifmo.su .. _MIT: https://github.com/codex-team/codex.notes/blob/master/LICENSE

Keywords

capella image upload crop resize filter transformation manipulation cdn

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts