Skip to main content

Pyrinter

Github licence PyPI version Code style: black Documentation Status

What is it

Pyrinter is a free open source python package for easy way to use physical printers.

As for the moment the package only works on windows, but in the future we want to make it cross-platform

How to Install

with pip:

pip install pyrinter

How to Use

the following code is a hello world for printing text using the printer PDFCreator (the printer name may be empty for default printer):

from pyrinter import Printer
from pyrinter import Document

doc = Document()
doc.add_text("Hello World")

printer = Printer("PDFCreator")
printer.print_doc(doc)

Metadata

Release files for pyrinter 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyrinter 1.0.1
File Size Uploaded
pyrinter-1.0.1.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyrinter 1.0.1
File Interpreter ABI Platform
pyrinter-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.6 kB

Release files / pyrinter-1.0.1.tar.gz

Download URL pyrinter-1.0.1.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
201c6adbf0d988987c4f73b2f420965497f4314925c5b478fc8b4ca82bf92498
BLAKE2b-256 checksum
How to use checksums
3cfa3c71b30b298bab6c7082dcdb88fed293fed3d0a8069cb7784a070bb9e025
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.13

Release files / pyrinter-1.0.1-py3-none-any.whl

Download URL pyrinter-1.0.1-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1429745656eca065143f5ea4373dbcbbe69d8d4fa9cf98a842452a7cfab310e6
BLAKE2b-256 checksum
How to use checksums
6e9c354d02d3064daa76997002c53630a25652819dfb379765519aaf41502931
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.13
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page