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

Uploaded Source

Built Distribution

one_piece_wanted_poster-0.0.3-py3-none-any.whl (652.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for one-piece-wanted-poster-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c713d3ca8c87f93adcafa558f3ebc106775e95e4f7d340dcc3a351fcb76fefc3
MD5 ed3cf2a307fa0ecc89efec6bd9682334
BLAKE2b-256 81a1eb2774692158b4ac3edcb4893544680b109c5a9ca6e607cb63f2649e2b98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for one_piece_wanted_poster-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7339fd211ec68944acc66219f89261482f612cf8a96278887befb31799c35495
MD5 21a2e9b500b00297d1e2a9861ba55b11
BLAKE2b-256 a1f0d47f0f61f0a46048db124048e48f073b9650680303f28389da99f2b42784

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