Socket
Socket
Sign inDemoInstall

pycapella

Package Overview
Dependencies
1
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    pycapella

Python SDK for capella.pics


Maintainers
1

Readme

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

FAQs


Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc