Skip to main content

A package to easily create and manage windows in Python

Project description

SimpleWindow

A package to easily create and manage windows in Python

Installation

pip install SimpleWindow

Usage

import SimpleWindow
import numpy as np

# initialize the window, the window wont be shown until show() is called
window = SimpleWindow.Window(name="Example Window",
                             size=(1280, 720),
                             position=(100, 100),
                             title_bar_color=(0, 0, 0),
                             border_color=(None, None, None), # None so we don't overwrite the windows default color
                             resizable=True,
                             topmost=False,
                             foreground=True,
                             minimized=False,
                             undestroyable=False,
                             icon="",
                             no_warnings=False)

# create an image
image = np.zeros((720, 1280, 3), dtype=np.uint8)

while True:
    # the window will be shown now since its the first call of show()
    window.show(frame=image)

    # check if the window is open
    if window.get_open() == False:
        break

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

simplewindow-1.0.tar.gz (42.8 kB view details)

Uploaded Source

Built Distribution

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

simplewindow-1.0-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file simplewindow-1.0.tar.gz.

File metadata

  • Download URL: simplewindow-1.0.tar.gz
  • Upload date:
  • Size: 42.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for simplewindow-1.0.tar.gz
Algorithm Hash digest
SHA256 05b48402126575db946012b4fabcb87c159acdd3327d0422834e962bae9941f2
MD5 f263f9c8681cb6aa1890e53b86640257
BLAKE2b-256 fa7adabd28e448ccf7958d0260cc8a8ea0e98d58ee0cd28006984cf53b997eb3

See more details on using hashes here.

File details

Details for the file simplewindow-1.0-py3-none-any.whl.

File metadata

  • Download URL: simplewindow-1.0-py3-none-any.whl
  • Upload date:
  • Size: 30.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for simplewindow-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7f91e8e65b8cb692f02fca649a9f0c15007858ba8d8f378ba6690a6e01f84c3e
MD5 25411396862bc8e9a31f894ef48f2e36
BLAKE2b-256 e36893070ecc2cc58a70fffb5656610b8e43159fa94981011d037e33da8c9f96

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