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.5.tar.gz
(820.8 kB
view details)
Built Distribution
File details
Details for the file one-piece-wanted-poster-0.0.5.tar.gz
.
File metadata
- Download URL: one-piece-wanted-poster-0.0.5.tar.gz
- Upload date:
- Size: 820.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39f30034c3fe2e512e5ab6bd9635d76b2a664e7b3a2c4dce1201a1530ada9d96 |
|
MD5 | 548d9135e6084c8e6597289068c84363 |
|
BLAKE2b-256 | 08e7f0d9a136b020bf221ac350d01370f08a057f8a0d7b0df466c6de6ed29f34 |
File details
Details for the file one_piece_wanted_poster-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: one_piece_wanted_poster-0.0.5-py3-none-any.whl
- Upload date:
- Size: 821.1 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 | 1c1ae491a3b55664295a696e3efa6b59fd04fe1a602d667d2ae0df82e730e970 |
|
MD5 | aeeee835bb9be49aff21a7f98a287568 |
|
BLAKE2b-256 | 9d14cfe4270a0b13ef508189e4dfddaa6afceec013fd893867cf319f6f1c0196 |