Software framework to support hardware testing
Project description
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cgse_common-0.20.0.tar.gz.
File metadata
- Download URL: cgse_common-0.20.0.tar.gz
- Upload date:
- Size: 119.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb175233c8d2973e566f6e15a4d2f744a9af2a1b35deef37938b691258ae181f
|
|
| MD5 |
c99ca445571a0aaeb79adec63825b3eb
|
|
| BLAKE2b-256 |
8ec03e0ca1d8b40f521340d431581861d786aae3b27b1a4f55b7f192c1705f97
|
File details
Details for the file cgse_common-0.20.0-py3-none-any.whl.
File metadata
- Download URL: cgse_common-0.20.0-py3-none-any.whl
- Upload date:
- Size: 134.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0948f09645308c98f967d5516225170672e13f37ed24fcbaa73fb3dfbc78ea0d
|
|
| MD5 |
37632f4e3576f924f509395e4a58230e
|
|
| BLAKE2b-256 |
8210c42218ba6f40cde49bcae714a204ba73fa9635a283b65b166ee6ed8b00ca
|