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.1.tar.gz (6.6 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.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: star_dresden_gs_lib-0.1.1.tar.gz
  • Upload date:
  • Size: 6.6 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.1.tar.gz
Algorithm Hash digest
SHA256 cdc7bc249693d3c19735a9cee641a8e8decc6f285633ef97126528e73f10502b
MD5 399f002894d615323f0acd8c344b7079
BLAKE2b-256 5561dd130540337f1e1f6455acaa72e17345aafefed28598f5fce432fcdc1acc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for star_dresden_gs_lib-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8ccda001af5ba4d1a2f13aa7d14cf39c5f2d497f26acea49a5a65bd9d9c0eb22
MD5 f46a9cd29b5f89a0406a41a59eb71570
BLAKE2b-256 7900e22165ab43ad97a567dd69d5b15dc2b64e6f0ad81edfc832b8ed01b4718e

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