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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file one_piece_wanted_poster-0.0.11-py3-none-any.whl
.
File metadata
- Download URL: one_piece_wanted_poster-0.0.11-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b976fe34e77d9c130dba19d0cfd970ff2b13bb7b8adf6b79f12971e6da664e95 |
|
MD5 | 69626d46d24a8b69cdb52905633765fe |
|
BLAKE2b-256 | 3004b96b3e321ed6d54d4fe6a86edb6be7c2a719d843d8faff34cdb75314ee53 |