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.7.tar.gz
(821.3 kB
view details)
Built Distribution
File details
Details for the file one-piece-wanted-poster-0.0.7.tar.gz
.
File metadata
- Download URL: one-piece-wanted-poster-0.0.7.tar.gz
- Upload date:
- Size: 821.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21bca6184490a7e0cc86778340cf5e1cdc21d4363f282ab5f41f9de9ffeb5090 |
|
MD5 | 6abe17bf92262ce9dc6746b98f49a1a2 |
|
BLAKE2b-256 | d175938370d28ae509071fa48f09de7c6ad5b8b36a82238ba5b0fbc937b41233 |
File details
Details for the file one_piece_wanted_poster-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: one_piece_wanted_poster-0.0.7-py3-none-any.whl
- Upload date:
- Size: 821.6 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 | 97fcb8e987e0f6dcdc920c953243539e27d293b411835b1f0e35343bebb9d06f |
|
MD5 | 285aea771acef1f0ee257495a4c61b62 |
|
BLAKE2b-256 | 7ab7c03971f11d4e5e026862275b1bf72d7879243234c27a7b406a53f72e09ad |