Skip to main content

Text Only Window

Project description

TOW.PY

TOW.PY (text only window) is a simple, toy python library that allows for text-based graphical applications to be prototyped and developed. It has been built on top of pygame but developed as to abstract its methods away.

SIDE NOTE: This is not to say that pygame is complicated or necessary to abstract away to create a useable framework.

Philosophy

Why develop a program that is so restricted when libraries such as pygame already exist. Aside from being a toy library to play around with and develop quirky text programs in, I have always taken after the way of thinking that minimilism enhances creativity.

Setup

The only dependency to use TOW.PY is pygame, which can simply be installed with pip install pygame

Code Example

Currently TOW.PY has not been formatted to work as a python library. However, using the files locally in your project would work as follows:

import TextOnlyWindow from tow
import TextObject from textobject

tow = TextOnlyWindow()

txt_obj = TextObject(["Hello", "World"], (10, 10))
tow.add_object(txt_obj)

tow.run()

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

towpy-0.1.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

towpy-0.1-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

Details for the file towpy-0.1.tar.gz.

File metadata

  • Download URL: towpy-0.1.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

File hashes

Hashes for towpy-0.1.tar.gz
Algorithm Hash digest
SHA256 cae722fd1b49538c05cf15c18ce2a041d6a676d93d2169a7c8a89206b137cdec
MD5 29cf0930629a1804d66c12721c2d9ff1
BLAKE2b-256 11650d5c3dbfb8dd09dcc911ed91845389e9802eba40e2276448881a494947ab

See more details on using hashes here.

File details

Details for the file towpy-0.1-py3-none-any.whl.

File metadata

  • Download URL: towpy-0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

File hashes

Hashes for towpy-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 52b490198a2324515ddae9987c48fd6779222f96745f2a3211036fb9f371ad73
MD5 b3160c003a94ffe04aef2f3825fc1d97
BLAKE2b-256 2109e23e345aacfa9f8606746acd7ad1952017bf045d9abc0b5cd5430fece18f

See more details on using hashes here.

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