Skip to main content

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.rand_num)
# 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 button
  • endpoint: a Callable function used as endpoint by the button presses execute function
  • button: (optional) a custom button for this Component
  • text: (optional) a custom Label for this Component
  • execute_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

Accessible Fields:

  • button: the button for this Component
  • text: the Label for this Component
  • layout: the current layout of this widget

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

star_dresden_gs_lib-0.1.2.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

star_dresden_gs_lib-0.1.2-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file star_dresden_gs_lib-0.1.2.tar.gz.

File metadata

  • Download URL: star_dresden_gs_lib-0.1.2.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.10

File hashes

Hashes for star_dresden_gs_lib-0.1.2.tar.gz
Algorithm Hash digest
SHA256 896537a5cc0e2183cae8bacfbf1b7089ff13f34825c804aa9c1d02a2897430bb
MD5 600f648f7eeabd695e6bad757d10b0f4
BLAKE2b-256 364d38ce0dda1d6ae7cfa06a2f58bb9ee59aeb308cf98beb00c7eb00caeb1f26

See more details on using hashes here.

File details

Details for the file star_dresden_gs_lib-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for star_dresden_gs_lib-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 edb05ff4a27674b3bd65a16aca752b45632d7c2ba31e4b20eab3e0408e25beb4
MD5 2414c27a8d8925b59cb5231fbe192398
BLAKE2b-256 d34108a21a9c9a4428295a348765136697859df3f5848a8ae9f0966d917e17e2

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