Skip to main content

Python package to generate One Piece Wanted Posters

Project description

one-piece-wanted-poster

Python Pypi LOC Downloads Downloads License Forks Issues Project Status


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

AlleCosti95

Thanks to ClayStage for providing the original template.

Project details


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)

Uploaded Source

Built Distribution

one_piece_wanted_poster-0.0.6-py3-none-any.whl (821.1 kB view details)

Uploaded Python 3

File details

Details for the file one-piece-wanted-poster-0.0.6.tar.gz.

File metadata

File hashes

Hashes for one-piece-wanted-poster-0.0.6.tar.gz
Algorithm Hash digest
SHA256 5f5a494294abbdd8086282eddfa48e2298f3c93f12ffd474088e49798929e2ac
MD5 2bd775ee99cc8c847043d17d6e416b11
BLAKE2b-256 1243f99c424bd61cfb2d05a13d84bd2f4bdf6da83b3c371417c991e498ea1ead

See more details on using hashes here.

File details

Details for the file one_piece_wanted_poster-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for one_piece_wanted_poster-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e01f6c54652fddcf8b9ecd28735b8069dcd1f31bf5894fa528853567aafb5c98
MD5 12c022195c23061fed3ac9c5610287dc
BLAKE2b-256 c7a0793e00de9051e357e39774aa71405531c802c4be99c9e5988759a38879ca

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page