Skip to main content

Software framework to support hardware testing

Project description

PyPI - Version Supported OS Python Version from PEP 621 TOML PyPI - Wheel

Generic Functionality used in the 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 also 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


Release history Release notifications | RSS feed

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

Uploaded Source

Built Distribution

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

cgse_common-0.5.1-py3-none-any.whl (143.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cgse_common-0.5.1.tar.gz
  • Upload date:
  • Size: 125.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.1

File hashes

Hashes for cgse_common-0.5.1.tar.gz
Algorithm Hash digest
SHA256 47aaa2f2d6048db73d197d8b2d7fcef4cf35845b92d6283c01a86528d0e43ebf
MD5 56fc068264f2ca8c9aa2269996425b2c
BLAKE2b-256 a8599c73ab1f145c895a807bf87cff1a81322676b914573be3eeeb1d13267edb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cgse_common-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d528d684a1373a47f0044e332773931bc0baaa240d583a065d5f1c2d061d8fc3
MD5 3a2a1ed233d20c8585592609a060eed2
BLAKE2b-256 014a08bd1429669d6aaf6f3c5597da500e676a828432c48128c042da409534df

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