Skip to main content

EYESY unofficial Python3 API stub

Project description

eyesy-api-stub

EYESY の Python API のスタブです。

EYESY のコーディング支援を目的として作成されました。

コーディング時の補完機能やドキュメントの参照に利用してください(コーディングには VS Code & Python 拡張機能の利用を推奨します)。

注意点: このパッケージ自体は機能を持っておらず、あくまで EYESY API の型定義とドキュメントを提供します。

このパッケージは EYESY のマニュアルを参考に作成しました。

https://umbrella-company.jp/corporate/wp-content/uploads/2023/01/critter_and_guitari_eyesy_manual.pdf

使い方

このパッケージが提供する型ヒントは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


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)

Uploaded Source

Built Distribution

eyesy_api_stubs-0.2.0-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

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