Skip to main content

Python SDK for capella.pics

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycapella-0.1.6.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

pycapella-0.1.6-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file pycapella-0.1.6.tar.gz.

File metadata

  • Download URL: pycapella-0.1.6.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.1

File hashes

Hashes for pycapella-0.1.6.tar.gz
Algorithm Hash digest
SHA256 b8990011d2693dc32a513ed60e51ce42f99e72bb85f56a71142f4069e13db350
MD5 0b7f8b6f94091f6ecb34b475ec45d0c5
BLAKE2b-256 6f909328522648e797357f7a03fa207c6dc97bf40885ae00942b718eab8333f1

See more details on using hashes here.

File details

Details for the file pycapella-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: pycapella-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.1

File hashes

Hashes for pycapella-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6528e1c094fd6325e55174b25ec7ad4440d08d706a389ccce54e53b11b153137
MD5 f48ac2c52afaf71d7b226466015f17b9
BLAKE2b-256 3e590efc98b59a6756e28b9f25f6b214a739202752fb1400e02d6017ddec0374

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page