Skip to main content

Print bank checks

Project description

checkgen

Print checks on 3 checks per page in bulk.

Installation

$ pip install checkgen

Sample usage

from datetime import datetime

from checkgen.models import Issuer, Bank
from checkgen.printer import Printer

issuer = Issuer('Samantha Johnson', '123 Main Street', Bank('Lakeside National Bank', '123456789'), '9876543210')
printer = Printer(issuer)
printer.distribute_payment('John Smith', 3000, 1200, datetime(2025, 1, 1), memo='Not a real check')

checks, _ = printer.print()

with open('checks.pdf', 'wb') as f:
    checks.to_file(f)

Credits

Inspired and adapted from https://github.com/veterinarian/checkprint/

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

checkgen-0.3.3.tar.gz (145.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

checkgen-0.3.3-py3-none-any.whl (142.4 kB view details)

Uploaded Python 3

File details

Details for the file checkgen-0.3.3.tar.gz.

File metadata

  • Download URL: checkgen-0.3.3.tar.gz
  • Upload date:
  • Size: 145.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.9

File hashes

Hashes for checkgen-0.3.3.tar.gz
Algorithm Hash digest
SHA256 27afcd0444c11f33226fae6e04cf638268be3bf35be70e9978acf1910e1a37a6
MD5 517203748a9bce061f9c6a1141c92b87
BLAKE2b-256 80b4cd5ee1542c28fc764013e84437002a4f0871fb460a2ec3e6632365b5bc62

See more details on using hashes here.

File details

Details for the file checkgen-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: checkgen-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 142.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.9

File hashes

Hashes for checkgen-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 95be7ce6c177fe350a78ad3ef7a5734f5318160e103254b0b7a4ccad457224d5
MD5 114ed55f7c98345b63b64e89a23a3fd3
BLAKE2b-256 d86d667e745f7f7e6a46d78e0a24c39ccfa187134cf07cfb545f17ad82b7ace8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page