Metadata-Version: 2.1
Name: pycapella
Version: 0.1.6
Summary: Python SDK for capella.pics
Home-page: https://github.com/codex-team/pycapella
Author: CodeX Team
Author-email: team@ifmo.su
License: MIT
Keywords: capella image upload crop resize filter transformation manipulation cdn
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Multimedia :: Graphics
Classifier: Topic :: Multimedia :: Graphics :: Graphics Conversion
Classifier: Environment :: Console
Classifier: Environment :: Web Environment
Requires-Dist: requests

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


