Skip to main content

종목 무관 스포츠 경기장/코트 시각화 라이브러리 (스포츠경기분석 아카데미)

Project description

ksme_visuals

종목 무관 스포츠 경기장/코트 시각화 라이브러리. 46개 종목(올림픽·패럴림픽·아시안게임)을 지원합니다. Pitch 가 배경(코트)을 그려주고, 그 위에 점·화살표·히트맵은 표준 matplotlib 으로 얹습니다.

설치

pip install ksme_visuals

사용

from ksme_visuals import Pitch

pitch = Pitch(sport="soccer", pitch_color="#16243a", line_color="white")
fig, ax = pitch.draw(figsize=(9, 6))
ax.scatter(df.x, df.y)            # 내 데이터 얹기

print(Pitch.available())          # 지원 종목 목록

좌표계: 원점(0,0)=왼쪽 아래, x=길이(length), y=폭(width), 단위 m. 한글 종목명도 인식합니다: Pitch(sport="농구"), Pitch(sport="배드민턴").

라이선스

MIT

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

ksme_visuals-0.2.0.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ksme_visuals-0.2.0-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file ksme_visuals-0.2.0.tar.gz.

File metadata

  • Download URL: ksme_visuals-0.2.0.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for ksme_visuals-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ea637a449334401056d4a9961dd49074da5a1f31218508c2ce470c54c7d78ec3
MD5 58702850e0ccea701909f6bec544f141
BLAKE2b-256 66a1160128a45d791911eb9b7160dcb633a94184ac7f0e71a6a925032d08ce60

See more details on using hashes here.

File details

Details for the file ksme_visuals-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ksme_visuals-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for ksme_visuals-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ffdde9567f99e7f6a7f4a308eb3e9ff1fd9a190112a106826cf821ffb6842cd
MD5 d8335e87bc69482233e247229d46fd9f
BLAKE2b-256 6c91149f6049ed3f732c30ae0d2d5d5ca4b14471100bf5d83d5824dfbe3e3125

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