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.13.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

File details

Details for the file one_piece_wanted_poster-0.0.13.tar.gz.

File metadata

File hashes

Hashes for one_piece_wanted_poster-0.0.13.tar.gz
Algorithm Hash digest
SHA256 5d58def3231c3f7e1bfc6803f50d08ea80e7ad0f1f2e82e7a5899ed5cd5403c8
MD5 0608d6ddb2eeb012c316f0501d27bb39
BLAKE2b-256 2d2e662f54be0f20e29005844df5616b14408578a6b5cee6f1dd6a533bc1a64b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for one_piece_wanted_poster-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 8a0bc8bf9714c86b61341d0f3b0009c24a573668f10cb6035b9d88c0244f8604
MD5 56081be36e35a4441ffb37f17c192574
BLAKE2b-256 a00fc14923aeccc2ff02ea6456f0353957212c3a097032c33e72eaaf57ccd936

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