Skip to main content

Package for sending images to the API

Project description

printi pigeon

Python package to send images to the printi API

Example usage:

import printipigeon as pp


Example sending image from memory to :

import printipigeon as pp
import io
from PIL import Image

img ="somewhere/cat.jpg")

for x in range(100):
  for y in range(255):
    img.putpixel((x,y), (y,y,y))

f = io.BytesIO(), format="PNG"),0) # writing to f has moved the position
pp.send_binary_image_data("art.png", f, "gallery")

Project details

Download files

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

Files for printipigeon, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size printipigeon-0.0.4-py3-none-any.whl (3.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size printipigeon-0.0.4.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page