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.4.tar.gz
(653.0 kB
view details)
Built Distribution
File details
Details for the file one-piece-wanted-poster-0.0.4.tar.gz
.
File metadata
- Download URL: one-piece-wanted-poster-0.0.4.tar.gz
- Upload date:
- Size: 653.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29faf72caf1f72af76ce13fdcfcc6fd16106ac418a1dcdda9ad5320a53594c7f |
|
MD5 | 99210d4fb7d1ac787ea8260835fb091c |
|
BLAKE2b-256 | 206fe1c8d28edd896457a127c261c785cf2e7592519f4911d0c33575737cd392 |
File details
Details for the file one_piece_wanted_poster-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: one_piece_wanted_poster-0.0.4-py3-none-any.whl
- Upload date:
- Size: 652.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 438cb2d96ebaac295e75b24ca510f37c3d2df22479837c15d181cc25bb5ffb43 |
|
MD5 | 20922e00c6d53ff9562210e376947447 |
|
BLAKE2b-256 | 0f338cdb01074faf215db24902fa4b3b03da6d28f1d046b4a26b39047a895130 |