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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 959c142409061013e74db8475c84d171297f9b89761b0fc666e0397e05f7f382 |
|
MD5 | 33fa90e614700e9a2cd794a54f018a7e |
|
BLAKE2b-256 | c3bdd3a57bd20aa68f05a1d297ba980a84464680728b77e0afcde91a4480a249 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | db3e4c8d756a8ab0fbcd0a0c8bf38dd52bfa5cbf59dfcf992fbd1e3a24bb3f7e |
|
MD5 | eee670ca42594ff156850f8eb36613cf |
|
BLAKE2b-256 | d089c9962c5030844ef76e3cc7a0cd41c21aaa2949bc93c268a032a206776721 |