Skip to main content

A wrapper for quickly creating Tkinter code

Reason this release was yanked:

Missing Assets

Project description

RapidTk

a wrapper for Tkinter to create objects faster

rapidTk is a simple and modifiable wrapper for the Tkinter GUI framework.

As Tkinter was one of the first things i learnt while using python i though it would make a good learning excersise into complex tasks and creating packages.

The goal of this project is to move away from the basic boxes of Tkinter and create some very complex objects in a simple and easy to use way while keeping the flexability of Tkinter widgets.

Every object will be a collection of Tkinter widgets with additional logic and features stacked over them.

e.g. autoEntry which provides a basic Entry widget with autocompletion options in a smooth and natrual way, or The WindowManager alongside moveable windows for creating and managing lots of grabbable canvas widgets.

Why not use a better framework like Qt or wx ? Because Tkinter is free for both personal and commercial use. Tkinter is basic which allows high expandability on its widgets, and its simple and easy to learn.

This project does not aim to be the best project in the world or even a concice package. Just a collection of objects that will work with or without eachother and make creating interfaces faster, smoother and much easier.

Feel free to add your own ideas, widgets, expansions and logic to this project.

Examples are in the rapidTk/examples/ directory.

example of basic start. Creates a Frame, a Label, a Button and an Entry, then packs them all.

    root = rapidTk() ##replacment for root = Tk()
    pp = PackProcess() ## creates a process loop to pack objects
    main = pp.add(cFrame(root), side=TOP, fill=BOTH, expand=1) ## creates a basic cFrame (replacemnt Frame) and adds it to the process loop to pack.
    pp.add(cLabel(main, text="This is a basic rapidTk Label."), side=TOP, fill=X) ## creates a basic cLabel and adds it to the process loop to pack.
    pp.add(cButton(main, text="cButton"), side=TOP) ## crates a basic cButton and adds it to the process loop to pack.
    myEntry = pp.add(cEntry(main, value="Some Default Text"), side=TOP, fill=X) ## creates a basic cEntry and adds it to the process loop to pack.
    pp.pack() ## runs the process loop that loops through all added widgets and packs them all with the configured options.
    root.mainloop() ## calls mainloop on the normal Tk() object.

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

rapidTk-0.0.6.tar.gz (47.2 kB view details)

Uploaded Source

Built Distribution

rapidTk-0.0.6-py3-none-any.whl (53.7 kB view details)

Uploaded Python 3

File details

Details for the file rapidTk-0.0.6.tar.gz.

File metadata

  • Download URL: rapidTk-0.0.6.tar.gz
  • Upload date:
  • Size: 47.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for rapidTk-0.0.6.tar.gz
Algorithm Hash digest
SHA256 249248190faf3ea79bd1fe8d0e8072602fc0c107343c891d952415a23eda32b2
MD5 00fbc772a824ffa2e70565e37edcd416
BLAKE2b-256 83c0e1ce81255e547f4c1625823c6b4640110544f271351ba3f3d64fbb6334df

See more details on using hashes here.

File details

Details for the file rapidTk-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: rapidTk-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 53.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for rapidTk-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4231b34940197c710f24081224b696c026a8f6104b8d39e41f009a8a89992bd4
MD5 639a389b32bd97d945c7958e280ea296
BLAKE2b-256 6fe40797a01d3996741c1cfed419982c33f9700b8cc9eec3ab6996d016db6e54

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