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.4.tar.gz
(95.5 kB
view details)
Built Distribution
File details
Details for the file cgse_common-2023.1.4.tar.gz
.
File metadata
- Download URL: cgse_common-2023.1.4.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.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5f17d59b81f5c31d23d7e63a939e0a630645fda95d5c898e0d86e759b8bb953 |
|
MD5 | 795029723e2a029e27788648eccd8736 |
|
BLAKE2b-256 | cd0294a891fb7d2cb55930d17d161bf0a1e9f09607f48b2ed2ce291b8182a02b |
File details
Details for the file cgse_common-2023.1.4-py3-none-any.whl
.
File metadata
- Download URL: cgse_common-2023.1.4-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.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0c19fcffd4cd98382fc1224d7f45b5571d08b3ec5822a2d4b897a43b13483c3 |
|
MD5 | eb97503c72f6d8d005739bbdac8c9192 |
|
BLAKE2b-256 | 970dc7897c4862f5dce804fba9ad0ac57abcd8497879741ff1ac385d10ab9e83 |