printi pigeon
Python package to send images to the printi API
Install using:
python3 -m pip install printipigeon
Example usage:
import printipigeon as pp
pp.send_from_path("somewhere/cat.jpg")
Example sending image from memory to printi.me/gallery :
import printipigeon as pp
import io
from PIL import Image
img = Image.open("somewhere/cat.jpg")
for x in range(100):
for y in range(255):
img.putpixel((x,y), (y,y,y))
f = io.BytesIO()
img.save(f, format="PNG")
f.seek(0,0) # writing to f has moved the position
pp.send_binary_image_data("art.png", f, "gallery")
Release files for printipigeon 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| printipigeon-0.0.5.tar.gz | 1.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| printipigeon-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.0 kB
Release files / printipigeon-0.0.5.tar.gz
| Download URL | printipigeon-0.0.5.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af7655a674ded915941252a0d5f118af7d9e680578a9004e2499745c3877bf72
|
|
BLAKE2b-256 checksum How to use checksums |
e792cb3fbd9552b0cd7db0a55759ab3580b9c74cb400051b19fc315f2c17e52b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.0
|
Release files / printipigeon-0.0.5-py3-none-any.whl
| Download URL | printipigeon-0.0.5-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0cf3898d5771bfdffb9a99b8b3d36373c3e4f9c4e66acd8cc1b7c346c7282aa9
|
|
BLAKE2b-256 checksum How to use checksums |
2b132e0e5d5982d9c8407586ee7184f6ab83f974574eccb73e62d10585fa2135
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.0
|