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
Built Distribution
File details
Details for the file one-piece-wanted-poster-0.0.10.tar.gz
.
File metadata
- Download URL: one-piece-wanted-poster-0.0.10.tar.gz
- Upload date:
- Size: 821.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40e4e793ab2c351afbe5760f5f16618312aa81086ab5017e5e19e1be2e4f4a52 |
|
MD5 | 00e3f9bbaef92b24bb3fe33c29a60616 |
|
BLAKE2b-256 | 44baec03350f241855ab29f4754f79722520833e176397d53ffcde7d7600c92c |
File details
Details for the file one_piece_wanted_poster-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: one_piece_wanted_poster-0.0.10-py3-none-any.whl
- Upload date:
- Size: 821.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8edcae4e7e27758c1f323afb1968369cbb0fc364bb9bb2f2f94ac34172904383 |
|
MD5 | 989a1c909eb00ea97cd404b344ebce7a |
|
BLAKE2b-256 | cb617268ab2d6ec7a6f3293f26788b5cb679981429f5cb189ce1a45ef73056d9 |