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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for one-piece-wanted-poster-0.0.8.tar.gz
Algorithm Hash digest
SHA256 30eff511a1102d4108f06c456be9c0a9f2138a7380b1aa41cb7737e61c5ec1f3
MD5 7f324fa7457d4c81762ab108fd31c177
BLAKE2b-256 3e854917ffd50e96e9cea5af90550971234990581859e341101d6b2c7710db12

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for one_piece_wanted_poster-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 0ca0ca9816d7333889205c1e815bd380e53857f3708a12ef5364543ce52663e2
MD5 a141660d1d73a4b4d2595973c3b232b5
BLAKE2b-256 2b502c8f4990680a5f521523b55250bae4e779e0193aea9d74494702046a9286

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