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

Uploaded Source

Built Distribution

one_piece_wanted_poster-0.0.10-py3-none-any.whl (821.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for one-piece-wanted-poster-0.0.10.tar.gz
Algorithm Hash digest
SHA256 40e4e793ab2c351afbe5760f5f16618312aa81086ab5017e5e19e1be2e4f4a52
MD5 00e3f9bbaef92b24bb3fe33c29a60616
BLAKE2b-256 44baec03350f241855ab29f4754f79722520833e176397d53ffcde7d7600c92c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for one_piece_wanted_poster-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 8edcae4e7e27758c1f323afb1968369cbb0fc364bb9bb2f2f94ac34172904383
MD5 989a1c909eb00ea97cd404b344ebce7a
BLAKE2b-256 cb617268ab2d6ec7a6f3293f26788b5cb679981429f5cb189ce1a45ef73056d9

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