Python package to generate One Piece Wanted Posters
Project description
one-piece-wanted-poster
Install one-piece-wanted-poster from PyPi.
pip install one-piece-wanted-poster
Example
import os
from wantedposter.wantedposter import WantedPoster
from PIL import Image
def main():
# Set "Luffy" as first name and "D. Monkey" as last name
first_name = 'Luffy'
last_name = 'Monkey D.'
# Set bounty amount to 3.000.000.000
bounty_amount = 3_000_000_000
# Create WantedPoster object
wanted_poster = WantedPoster(None, first_name, last_name, bounty_amount)
# Generate poster
path = wanted_poster.generate()
# Show image
Image.open(path).show()
if __name__ == '__main__':
main()
Credits
Thanks to ClayStage for providing the original template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
one-piece-wanted-poster-0.0.1.tar.gz
(657.0 kB
view details)
Built Distribution
File details
Details for the file one-piece-wanted-poster-0.0.1.tar.gz
.
File metadata
- Download URL: one-piece-wanted-poster-0.0.1.tar.gz
- Upload date:
- Size: 657.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73bcb23b498221c3185c9f16708a1b057577ac197a5e72bb5580f23e8da9dabe |
|
MD5 | fd6e37c8439f2abb473a813c08dcf62c |
|
BLAKE2b-256 | 34ff58a89adf35f57d403c09f8fc46d62f30f5e1295c971ebaceb7bb3a1c3356 |
File details
Details for the file one_piece_wanted_poster-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: one_piece_wanted_poster-0.0.1-py3-none-any.whl
- Upload date:
- Size: 656.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1db8530cc244cfd7b093dc6d70f50923b6923352868b58de78b5e6f834549f6e |
|
MD5 | 3eb9f6a967e99f5a33aa12dd890c8872 |
|
BLAKE2b-256 | a830b71e400ce96140373e69858f04f2a1500a89107c064fe47624b0198386ae |