Skip to main content

A lightweight python library to generate two nba team battle image.

Project description

Generate NBA battle Picture Generator

A lightweight python library to generate two nba team battle image.

Installation

$ pip install nbabattle

Usage

from nbabattle import NbaBattle

Photo = NbaBattle('GSW', 'DET')
battle = Photo.create_battle_image()
# Show an image
battle.show()
# Save to the folder
battle.save("generate/gsw-det.png")

Notice

Please use the team's abbreviation as the input.

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

nbabattle-0.0.7.tar.gz (493.1 kB view details)

Uploaded Source

File details

Details for the file nbabattle-0.0.7.tar.gz.

File metadata

  • Download URL: nbabattle-0.0.7.tar.gz
  • Upload date:
  • Size: 493.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.1

File hashes

Hashes for nbabattle-0.0.7.tar.gz
Algorithm Hash digest
SHA256 0f73f67a420bdfc6cd3aaaedd9acb42bca156428030399f65f5bbc0d1201e64d
MD5 5332ef277efe839e21d2dfb5d65f3a03
BLAKE2b-256 9410d796ab8c8c17666434e2aaaf9dd7de75ec6bd1b011f478db18f51f3eedbf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page