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.
For more details, check out the documentation.
Here are some examples screenshots of the widgets you can create:
Button-Grid:
Binary-Label:
Calendar:
Entry-Grid:
Multi-Slot Frame
Graph:
Key-Value:
Label-Grid:
LED: (size can be scaled)
SevenSegment and SevenSegmentDisplay
Gauge
Rotary-Scale: (Tachometer)
Testing
Basic testing has been instantiated however it is currently limited. To execute style testing:
flake8 tk_tools
To execute automated tests:
py.test test.py
More testing will be added to new widgets as they are brought online while further testing will be added to old widgets as the project matures.
Contributions
Contributions for new widgets, documentation, tests, and resolving issues are welcomed.
Contribution guidelines:
- Fork the repository to your account.
- Clone your account repository to your local development environment.
- Create/checkout a new branch appropriately named by feature, bug, issue number, whatever.
- Make your changes on your branch. The ideal changes would:
- have working examples in the examples directory
- have documentation in the docs directory
- Push your changes to your github account.
- Create a pull request from within github.
All code is to be passing flake8 before it is merged into master!
Release files for tk-tools 0.10.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tk_tools-0.10.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / tk_tools-0.10.4-py3-none-any.whl
| Download URL | tk_tools-0.10.4-py3-none-any.whl |
|---|---|
| Size | 171.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
072951dade671f4dd11be05c9c3d9589d506eeb31f99c0d74f1b9665c57fc3f0
|
|
BLAKE2b-256 checksum How to use checksums |
b2f768b788a96a31b44772bdd388fa6b245bddfbdd33ec3290ff3301381f8b31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |