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.1.tar.gz (657.0 kB view details)

Uploaded Source

Built Distribution

one_piece_wanted_poster-0.0.1-py3-none-any.whl (656.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for one-piece-wanted-poster-0.0.1.tar.gz
Algorithm Hash digest
SHA256 73bcb23b498221c3185c9f16708a1b057577ac197a5e72bb5580f23e8da9dabe
MD5 fd6e37c8439f2abb473a813c08dcf62c
BLAKE2b-256 34ff58a89adf35f57d403c09f8fc46d62f30f5e1295c971ebaceb7bb3a1c3356

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for one_piece_wanted_poster-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1db8530cc244cfd7b093dc6d70f50923b6923352868b58de78b5e6f834549f6e
MD5 3eb9f6a967e99f5a33aa12dd890c8872
BLAKE2b-256 a830b71e400ce96140373e69858f04f2a1500a89107c064fe47624b0198386ae

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