Skip to main content

A package that modifies Techsmart's Tsapp

Project description

Tsapp Wrapper

An extension for Pygame adding useful features, developed by Zephyros1938.

Overview

This project provides additional functionality to Python and Pygame, enhancing the capabilities of the TechSmart Graphics Library (tsapp). It includes various graphical objects, utilities, and configurations to create and manage graphical applications more efficiently.

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/tsapp_wrapper.git
    
  2. Navigate to the project directory:
    cd tsapp_wrapper
    
  3. Install the required dependencies:
    pip install -r requirements.txt
    

Usage

Example

Here's a basic example of how to create a window and add a polygonal object:

import zephyros1938.tsapp as tsapp
import zephyros1938.tsappMod as tsappMod

# Create a window
window = tsappMod.Surface(width=800, height=600, background_color=tsapp.WHITE, title="Example Window")

# Create a polygonal object
config = tsappMod.PolygonalObjectConfig(points=[[0, 0], [100, 0], [50, 100]], center=[400, 300], color=tsapp.RED)
polygon = tsappMod.PolygonalObject(config=config)

# Add the polygon to the window
window.add_object(polygon)

# Main loop
while window.is_running:
    window.finish_frame()

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any inquiries, please contact Zephyros1938 at zephyros@zephyros1938.org.

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

tsappwrapper_zephyros1938-0.0.4.1.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

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

tsappwrapper_zephyros1938-0.0.4.1-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file tsappwrapper_zephyros1938-0.0.4.1.tar.gz.

File metadata

File hashes

Hashes for tsappwrapper_zephyros1938-0.0.4.1.tar.gz
Algorithm Hash digest
SHA256 90558a77de821e5ac3a6b4dbabecaa45b531cd74e56d00cfd8eb51e655792f09
MD5 4589df08cfdb85b4ab11ccc3580c3cc8
BLAKE2b-256 de2903b9d4ab3aa358a38d9821c8219a2eaaf91c2e345009738dd0b89301524f

See more details on using hashes here.

Provenance

The following attestation bundles were made for tsappwrapper_zephyros1938-0.0.4.1.tar.gz:

Publisher: python-publish.yml on Zephyros1938/tsapp_wrapper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tsappwrapper_zephyros1938-0.0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for tsappwrapper_zephyros1938-0.0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 36f3c0fc0f272fda8f0459b28aac832d4f05976723f2bb5dc66f742cda951fe2
MD5 a125a92329918f6570b171eafdd27d75
BLAKE2b-256 24db64b37b38dbe16bd4598d7dc7cb43c1fb219c1951a268a904f49fe682bae1

See more details on using hashes here.

Provenance

The following attestation bundles were made for tsappwrapper_zephyros1938-0.0.4.1-py3-none-any.whl:

Publisher: python-publish.yml on Zephyros1938/tsapp_wrapper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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