Skip to main content

Tkinter-native toolset and widget library

Project description

[![Build Status](https://travis-ci.org/slightlynybbled/tk_tools.svg?branch=master)](https://travis-ci.org/slightlynybbled/tk_tools)

[![Documentation Status](https://readthedocs.org/projects/tk-tools/badge/?version=latest)](http://tk-tools.readthedocs.io/en/latest/?badge=latest)

# Purpose

This repository holds useful high-level widgets written in pure python. This library used type hints and requires Python 3.5+; it could, however, be back-ported to earlier Python versions without difficulty.

Here are some examples screenshots of the widgets you can create:

#### Button-Grid:

![Button-Grid](docs/img/button-grid.png)

#### Byte-Label:

![Byte-Label](docs/img/byte-label.png)

#### Calendar:

![Calendar](docs/img/calendar.png)

#### Dropdown:

![Dropdown](docs/img/dropdown.png)

#### Entry-Grid:

![Entry-Grid](docs/img/entry-grid.png)

#### Multi-Slot Frame

![Multi-Slot Frame](docs/img/multi-slot-frame.png)

#### Graph:

![Graph](docs/img/graph.png)

#### Key-Value:

![Key-Value](docs/img/key-value.png)

#### Label-Grid:

![Label-Grid](docs/img/label-grid.png)

#### LED: (size can be scaled)

![LED](docs/img/led.gif)

#### SevenSegment and SevenSegmentDisplay

![Seven Segment Display](docs/img/seven-segment-display.png)

#### Gauge

![Gauges](docs/img/gauges.png)

#### Rotary-Scale: (Tachymeter)

![Rotary-Scale](docs/img/rotary-scale.png)

For more details, check out the [documentation](https://tk-tools.readthedocs.io).

# Testing

Currently, style-level tests are implemented. To execute:

flake8 tk_tools

# Contributions

Contributions for new widgets, documentation, tests, and resolving issues are welcomed.

Contribution guidelines:

  1. Fork the repository to your account.

  2. Clone your account repository to your local development environment.

  3. Create/checkout a new branch appropriately named by feature, bug, issue number, whatever.

  4. Make your changes on your branch. The ideal changes would:

  • have working examples in the examples directory

  • have documentation in the docs directory

  1. Push your changes to your github account.

  2. Create a pull request from within github.

All code is to be passing flake8 before it is merged into master!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

tk_tools-0.9.1-py3-none-any.whl (172.5 kB view details)

Uploaded Python 3

File details

Details for the file tk_tools-0.9.1-py3-none-any.whl.

File metadata

File hashes

Hashes for tk_tools-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 589247fb0b640600dfd421d3b7b8d1a0cb8f42963d5e5d8a6482d1ec9abfb01f
MD5 1414067c812309220bf816c8f9e30ccf
BLAKE2b-256 5803815020b91c1da900ea1a280fb224a7a28a8fb4beb63383651c68d558aaf1

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