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.1.tar.gz (43.0 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.1-py3-none-any.whl (30.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for simplewindow-1.1.tar.gz
Algorithm Hash digest
SHA256 05912782a23e5c4e87433fcc963cdd5f7fc1d9b437e0eefba495bed8b937edc7
MD5 c799ce322f8a72b64936871ea7b9152b
BLAKE2b-256 7489da7a71a88df74e8a7158bc6ab5e7cd29c45b512d9923728aa8a620177b87

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simplewindow-1.1-py3-none-any.whl
  • Upload date:
  • Size: 30.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f3336444d713548e25802957b9b1727c181496e5d87336a42a3cf86c9af6df8a
MD5 b0e42ad378e0a95df179216df97140fc
BLAKE2b-256 ce7f60ca2def63dc30f691a6feebf30da08f09d29de0a65f1e1e48ee71a87939

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