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.6.tar.gz
(820.7 kB
view details)
Built Distribution
File details
Details for the file one-piece-wanted-poster-0.0.6.tar.gz
.
File metadata
- Download URL: one-piece-wanted-poster-0.0.6.tar.gz
- Upload date:
- Size: 820.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f5a494294abbdd8086282eddfa48e2298f3c93f12ffd474088e49798929e2ac |
|
MD5 | 2bd775ee99cc8c847043d17d6e416b11 |
|
BLAKE2b-256 | 1243f99c424bd61cfb2d05a13d84bd2f4bdf6da83b3c371417c991e498ea1ead |
File details
Details for the file one_piece_wanted_poster-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: one_piece_wanted_poster-0.0.6-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 | e01f6c54652fddcf8b9ecd28735b8069dcd1f31bf5894fa528853567aafb5c98 |
|
MD5 | 12c022195c23061fed3ac9c5610287dc |
|
BLAKE2b-256 | c7a0793e00de9051e357e39774aa71405531c802c4be99c9e5988759a38879ca |