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
cgse-common-2023.1.2.tar.gz
(94.4 kB
view details)
Built Distribution
File details
Details for the file cgse-common-2023.1.2.tar.gz
.
File metadata
- Download URL: cgse-common-2023.1.2.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 | af53e702643aa01f8a1289182dc57a66b818ebeb3c8a54b9f2bbd443c2726c40 |
|
MD5 | 1386e5c623d88fbd7253b8b38437a8e8 |
|
BLAKE2b-256 | d2c08b6e5c4a6d66355896ac23f608a025352bedf5a507ec697e04902b7294b1 |
File details
Details for the file cgse_common-2023.1.2-py3-none-any.whl
.
File metadata
- Download URL: cgse_common-2023.1.2-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 | 0d4151c41442ac00934fda74909414a0612893b5fb3ce2d74f549fe1d61012a5 |
|
MD5 | 8b37bd2a5e8e1e96a96a278d5cecd602 |
|
BLAKE2b-256 | 96f2491fb7cefda35f034498d76fd9b748c757a2326bcc861a125d23ce9b47d2 |