Skip to main content

PokemonCard Generator

Project description

Pokemon Card

Install This Library

$ git clone https://github.com/krypton-byte/pocard
$ cd pocard && python3 setup.py build && python3 setup.py install --user

Use

CommandLine

$ pocard index[0-3] "title" "desc" input_image output_image method:[scale, crop, auto]
example:
$ pocard 0 "Title" "desc" in.png out.jpg scale

Python Interpreter

>>> from pocard import CARDS
>>> CARDS[0].maker("Title", "image_input.png", "Desk", font_color=(0, 0, 0), image_method="auto").show()
>>> CARDS[0].maker("Title", "image_input.png", "Desk", font_color=(0, 0, 0), image_method="auto").save("out.png)
# image_input type: BytesIO, Image.open Object, string(path+filename)
# image_merhod: scale, auto, crop

Preview

Donasi

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

pocard-0.0.7.tar.gz (3.7 MB view details)

Uploaded Source

File details

Details for the file pocard-0.0.7.tar.gz.

File metadata

  • Download URL: pocard-0.0.7.tar.gz
  • Upload date:
  • Size: 3.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for pocard-0.0.7.tar.gz
Algorithm Hash digest
SHA256 5060cf327881168a98d9d1654b73f1f3fb00b6aea57b5b618401c80cee4d190f
MD5 e5bb5a700d51b66440b9c0c9f8f6a052
BLAKE2b-256 56a4827dfe19afa8b4cff39677ed3b3eb03230083ec517ae60c380ebbefa7423

See more details on using hashes here.

Supported by

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