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.2.tar.gz
(652.9 kB
view details)
Built Distribution
File details
Details for the file one-piece-wanted-poster-0.0.2.tar.gz
.
File metadata
- Download URL: one-piece-wanted-poster-0.0.2.tar.gz
- Upload date:
- Size: 652.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62ee093b543586a4c3dc492ef3f1a6e952bbfeae9c3196772914e475a687f8b9 |
|
MD5 | 95725efa4642132f337ba72b5a59effc |
|
BLAKE2b-256 | f48eeae387f610e5d19330369554525411c8b0da1969c97716c6fae669d97486 |
File details
Details for the file one_piece_wanted_poster-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: one_piece_wanted_poster-0.0.2-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 | c2e4cb1a512d2bfa79a29989d9da39f63cfab6284b355567772ee950c487921a |
|
MD5 | 29a9a2df8ae1a967d65db1b4bd8a1e80 |
|
BLAKE2b-256 | 570f5d7f736b9fe60072f7aa03631796a019f9d4d39fe17905abe2c3d9216d65 |