Skip to main content

Upload image

Project description

Python Casim

PyPI PyPI - Python Version Build Status Documentation Status codecov Codacy Badge Requirements Status

Python package and cli to upload image on Casimages.

In python project

from py_casim import Casim

c = Casim("my_image.jpg")

link = c.get_link()


To resize an image :

from py_casim import Casim

c = Casim("my_image.jpg", resize=640)

link = c.get_link()


To get another url/code return :

from py_casim import Casim

c = Casim("my_image.jpg", resize=640)

link = c.get_share_code(3)  # return HTML code

See the doc for details.

From command line

foo@bar:~$ py-casim my_image.jpg

or with options :

foo@bar:~$ py-casim --size 640 my_image.jpg


  • upload image and get his url
  • python package (import) OR command line tool


There's an alternative to make called invoke (Makefile equivalent is pip install invoke

inv test
inv lint
inv coverage
inv --list


This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.




1.0.0 (2020-07-22)

  • Stable release

0.2.0 (2020-02-28)

  • Better Doc

0.1.0 (2020-02-16)

  • Configure Travis CI
  • First release on PyPI.

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

py-casim-2.0.2.tar.gz (2.2 MB view hashes)

Uploaded source

Built Distribution

py_casim-2.0.2-py2.py3-none-any.whl (8.1 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page