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
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
Built Distribution
File details
Details for the file cgse-common-2023.1.1.tar.gz
.
File metadata
- Download URL: cgse-common-2023.1.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78cb077969a84eacecd9fec9fc4d89490639d9e2633d50c0b49ffd6539cdf370 |
|
MD5 | 677ab1a40244ba077cf1e2792d2dd3b9 |
|
BLAKE2b-256 | 91507f0bd7b37f6cbf95b601512341e643252fee5290d453540b68eefb34c71a |
File details
Details for the file cgse_common-2023.1.1-py3-none-any.whl
.
File metadata
- Download URL: cgse_common-2023.1.1-py3-none-any.whl
- Upload date:
- Size: 105.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db4192acfb6c95c7266b160c0202473788a4d4d8b6cb69007fcb5f35d4afc2a1 |
|
MD5 | 8663f89b672ed0c4bfebf4fc58f08e85 |
|
BLAKE2b-256 | 25535a71e735ed273a25c7bda801feeb650e0479abe8ae8e25c2945e412a98da |