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.3.tar.gz (94.4 kB view details)

Uploaded Source

Built Distribution

cgse_common-2023.1.3-py3-none-any.whl (105.1 kB view details)

Uploaded Python 3

File details

Details for the file cgse-common-2023.1.3.tar.gz.

File metadata

  • Download URL: cgse-common-2023.1.3.tar.gz
  • Upload date:
  • Size: 94.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.17

File hashes

Hashes for cgse-common-2023.1.3.tar.gz
Algorithm Hash digest
SHA256 6d70b1f057d96bed95cb6c58a7ec95106f823203aed7cd6b46f370870f129c93
MD5 1b3763a5ab7ebcb1f6cd4c4f6fd1ed2f
BLAKE2b-256 390f1ebde4edab6d997b847c24678652d524c75a72545083d4b071d61d2fc289

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cgse_common-2023.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7e008b2c7c49c485922ae5927f352eeebaa4908257f2c35d43811bc675ef7825
MD5 2c0eaf03017ddc3625e6b30648bc56cc
BLAKE2b-256 f8f8406a8e25e3209f86fd42abcc837fa976a6489ec5ebb454768d84e7f47e03

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