Pyglet

PygletはPythonのライブラリであり、オブジェクト指向のアプリケーションプログラミングインタフェースを提供する。Pygl…

Pyglet
Pyglet
開発元 Pyglet User Community
最新版
2.1.3 / 2025年2月24日 (17か月前) (2025-02-24)
リポジトリ ウィキデータを編集
対応OS Cross-platform
種別 ライブラリ
ライセンス 修正BSDライセンス
公式サイト http://pyglet.org/
テンプレートを表示

PygletPythonライブラリであり、オブジェクト指向アプリケーションプログラミングインタフェースを提供する。Pygletはゲームやマルチメディアアプリケーションの作成に用いられる。Pygletはクロスプラットフォームなライブラリであり[1]Microsoft WindowsMac OS XLinux上で動作する。PygletはBSDライセンスの下で提供されている。Pygletは依存するパッケージがないという特徴を持つ[1]

Pygletはウィンドウ表示・フルスクリーン表示・複数のモニタをサポートしている[1]。通常でも多くの形式の画像・動画・音楽ファイルを実行することができるが、AVbinプラグインを導入することで、さらに取り扱える形式が増える。AVbinプラグインはLibavというパッケージを用いており、このパッケージはMP3Ogg/vorbisWindows Media AudioDivXMPEG-2H.264WMVXviDなどの形式を扱うことができる[1]

import pyglet

window = pyglet.window.Window(width=640, height=480, caption="Hello World!")
pyglet.app.run()

出典

  1. ^ a b c d pyglet”. 2014年1月3日閲覧。

関連項目

外部リンク

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.