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.2.0.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for eyesy_api_stubs-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7ae2f55e4c5eb868cbbe7801bc36a7654c268be5a332c3e2e7fb591d9cf3138 |
|
MD5 | 31eae0770921031524cf9e8798b47972 |
|
BLAKE2b-256 | 4dc153608a6f905d72333c728564e60f4dac9fdd37beafafaca31369f00ba5dc |