EYESY unofficial Python3 API stub
Project description
eyesy-api-stub
EYESY の Python API のスタブです。
EYESY のコーディング支援を目的として作成されました。
コーディング時の補完機能やドキュメントの参照に利用してください(コーディングには VS Code & Python 拡張機能の利用を推奨します)。
注意点: このパッケージ自体は機能を持っておらず、あくまで EYESY API の型定義とドキュメントを提供します。
このパッケージは EYESY のマニュアルを参考に作成しました。
使い方
このパッケージが提供する型ヒントは1部、 Pygame に依存しているので Pygame と一緒にインストールしてください。
pip install pygame eyesy-api-stubs
コーディング時には、以下のように型ヒントとして利用してください。
import pygame
from pygame import Surface
from eyesy_api_stubs import Etc
def setup(screen: Surface, etc: Etc):
pass
def draw(screen: Surface, etc: Etc):
size = 640
position = (510, 500)
color = (255, 0, 0)
pygame.draw.circle(screen, color, position, size, 0)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eyesy_api_stubs-0.1.0.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for eyesy_api_stubs-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e1897be39d60d113d4a0ab05bb31baf252890384477598878c19beda0ba45c2 |
|
MD5 | 97f878d9c0b964a3c2cac3347333e77c |
|
BLAKE2b-256 | 4aeb00072730c080fda7be6aa74db2d982b51057f221a90917c6c1e506f09498 |