A framework for creating a groundstation with grpc and tkinter
Project description
STAR Dresden Rover Groundstation Lib
Description
A Library for creating a Groundstation using PyQt6. It contains multiple Components, which can be used as Framework for creating A Groundstation.
Installation
pip install star-dresden-gs-lib
Usage
Note that the Widgets are using CamelCase instead of snake_case because of PyQts Guidelines.
Components
Getter
from components.getter import GetterWidget
# widget with required args name and a callable to execute
self.getter_widget = GetterWidget("rand", self.randnum)
# add the widget to your layout (preferable grid)
self.layout.addWidget(self.getter_widget, 0, 0)
# the callable function used in this case
def rand_num(self):
return random.randint(0, 200)
Parameters:
name: the name of the Widget that will be displayed on the buttonendpoint: a Callable function used as endpoint by the button presses execute functionbutton_pos: (optional) a tuple containing x and y int values for the button position in its internal gridtext_pos: (optional) a tuple containing x and y int values for the label position in its internal gridexecute_func: (optional) a custom function for the button press, note that the endpoint operator is obsolete and the label won't change when using this. Consider just using a Button instead
Authors and acknowledgment
Members of STAR Dresden:
- Lars Lukas Reiche
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file star_dresden_gs_lib-0.1.0.tar.gz.
File metadata
- Download URL: star_dresden_gs_lib-0.1.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
638bfd8dd9c4d122fe30988b5ad91edd9d7e00da093715f36a7e97a1c41c540f
|
|
| MD5 |
e47d2f832b4446bec1e052eac7d416f3
|
|
| BLAKE2b-256 |
c5e452af9ecf4f2851a91a450dc2705ff10ad73fc71e46b5061d8ee78cdd9370
|
File details
Details for the file star_dresden_gs_lib-0.1.0-py3-none-any.whl.
File metadata
- Download URL: star_dresden_gs_lib-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48dbee2f0b7f11d6e8bfca40ad9f3d517b3756c4106cfa050f8742dd2e044e90
|
|
| MD5 |
f2c28b5c8f33d293cdaa18221db9bf76
|
|
| BLAKE2b-256 |
5e96e523863a6dd2692f567bc56ddbb547ffd1464b24c622ede058ddbb26b0b7
|