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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

one_piece_wanted_poster-0.0.11-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for one_piece_wanted_poster-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 b976fe34e77d9c130dba19d0cfd970ff2b13bb7b8adf6b79f12971e6da664e95
MD5 69626d46d24a8b69cdb52905633765fe
BLAKE2b-256 3004b96b3e321ed6d54d4fe6a86edb6be7c2a719d843d8faff34cdb75314ee53

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