Skip to main content

A framework for creating a groundstation with grpc and PyQt6

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.2.0.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.2.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: star_dresden_gs_lib-0.2.0.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.2.0.tar.gz
Algorithm Hash digest
SHA256 24d86e52e2c61a10867d760f772f2ca0510c61ad2d72275d51dba6f76ae83c66
MD5 3b380b1ba4cb299a81175944152a4967
BLAKE2b-256 726ccf595d6a7cc41145bc07ff47c99bbb525442f663b12cd0c135770ce6610e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for star_dresden_gs_lib-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 200b2a788e4ff53c7b2316edadd1cd4eddf13593605781d8a15f906fabca90a7
MD5 954ef50c90d387ee98ccd467899f104b
BLAKE2b-256 90983d6bcecc9a1e23ae35d166411d370471424f59fc5b88aa1dd370997f86ac

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