Skip to main content

Software framework to support testing hardware

Project description

Generic Functionality used in the PLATO Common-EGSE

This package 'cgse-common' contains functionality that is used by all cgse sub-packages, but it is designed to be a stand-alone generic package that can be used in any other project.

Installation

Install the package using pip:

$ pip install cgse-common

Usage

All functionality resides in the package egse. As an example, if you need a standard way to format your timestamp, use the format_datetime() function from egse.system:

>>> from egse.system import format_datetime
>>> print(format_datetime())
2023-10-10T08:41:51.937+0000

Included Functionality

A non-comprehensive list of available functionality:

Functionality of General Use

  • egse.bits: contains a number of convenience functions to work with bits, bytes and integers
  • egse.decorators: a collection of useful decorator functions
  • egse.reload: a slightly better approach to reloading modules and function than the standard importlib.reload() function.
  • egse.resource: provides convenience functions to use resources in your code without the need to specify an absolute path
  • egse.system: defines convenience functions that provide information on system specific functionality like, file system interactions, timing, operating system interactions, etc.
  • egse.version: functionality to retrieve the package version information

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

cgse_common-2023.1.5.tar.gz (95.5 kB view details)

Uploaded Source

Built Distribution

cgse_common-2023.1.5-py3-none-any.whl (106.3 kB view details)

Uploaded Python 3

File details

Details for the file cgse_common-2023.1.5.tar.gz.

File metadata

  • Download URL: cgse_common-2023.1.5.tar.gz
  • Upload date:
  • Size: 95.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.8.17 Darwin/23.2.0

File hashes

Hashes for cgse_common-2023.1.5.tar.gz
Algorithm Hash digest
SHA256 51c48420fb08a7eb6481a303114fbe1c1c7108347eac75d4959f3f24dab28316
MD5 d64c8fab90f7b55ab63efcc98a61d346
BLAKE2b-256 3fd5396d2fdac21ab1496a236e28d4948fc3eea35bb09a5df00925a4ec47f918

See more details on using hashes here.

File details

Details for the file cgse_common-2023.1.5-py3-none-any.whl.

File metadata

  • Download URL: cgse_common-2023.1.5-py3-none-any.whl
  • Upload date:
  • Size: 106.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.8.17 Darwin/23.2.0

File hashes

Hashes for cgse_common-2023.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0f2a03be5d9cce7b892b533315a08f77bb37fd24a47195086a2a3f671ffbe59e
MD5 3107ad7ee89c8e39ea234461d2260124
BLAKE2b-256 0e57d02873622ce6d51fd8d0b57ac3a8c5b05ab47b947a0d4a0388efdf55078c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page