Skip to main content

Piuma Python library with Django support

Project description

A library to use Piuma with Python and Django

Install

pip install pypiuma

Usage

from pypiuma import piuma_url

piuma_url("http://mypiumahost", "http://myimagehost/static/img/a.png", 200, 200, 80)

Usage with Django

{% load pypiuma_tags %}

<img src="{% piuma 'http://myimagehost/static/img/a.png' width=200 %}">
<img src="{% piuma_static 'img/mylogo.png' width=200 %}">

Run tests

pip install -r requirements-dev.txt
make test

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

pypiuma-1.0.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

pypiuma-1.0.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file pypiuma-1.0.0.tar.gz.

File metadata

  • Download URL: pypiuma-1.0.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/18.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.0

File hashes

Hashes for pypiuma-1.0.0.tar.gz
Algorithm Hash digest
SHA256 959c142409061013e74db8475c84d171297f9b89761b0fc666e0397e05f7f382
MD5 33fa90e614700e9a2cd794a54f018a7e
BLAKE2b-256 c3bdd3a57bd20aa68f05a1d297ba980a84464680728b77e0afcde91a4480a249

See more details on using hashes here.

File details

Details for the file pypiuma-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pypiuma-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/18.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.0

File hashes

Hashes for pypiuma-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 db3e4c8d756a8ab0fbcd0a0c8bf38dd52bfa5cbf59dfcf992fbd1e3a24bb3f7e
MD5 eee670ca42594ff156850f8eb36613cf
BLAKE2b-256 d089c9962c5030844ef76e3cc7a0cd41c21aaa2949bc93c268a032a206776721

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