![PyPI - Version](https://img.shields.io/pypi/v/cgse-common)
![Supported OS](https://img.shields.io/badge/Supported%20OS-Linux%20%7C%20macOS-blue)
![Python Version from PEP 621 TOML](https://img.shields.io/python/required-version-toml?tomlFilePath=https%3A%2F%2Fraw.githubusercontent.com%2FIvS-KULeuven%2Fcgse%2Frefs%2Fheads%2Fmain%2Fpyproject.toml)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/cgse-common)
# 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
Raw data
{
"_id": null,
"home_page": null,
"name": "cgse-common",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "Rik Huygen <rik.huygen@kuleuven.be>, Sara Regibo <sara.regibo@kuleuven.be>",
"keywords": "CGSE, Common-EGSE, hardware testing, software framework",
"author": "IVS KU Leuven",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/1b/c7/763d2f4e2ba059676feb927a117bf552f49ec0ba4ecbb62251a1f692484f/cgse_common-2025.0.3.tar.gz",
"platform": null,
"description": "\n![PyPI - Version](https://img.shields.io/pypi/v/cgse-common)\n![Supported OS](https://img.shields.io/badge/Supported%20OS-Linux%20%7C%20macOS-blue)\n![Python Version from PEP 621 TOML](https://img.shields.io/python/required-version-toml?tomlFilePath=https%3A%2F%2Fraw.githubusercontent.com%2FIvS-KULeuven%2Fcgse%2Frefs%2Fheads%2Fmain%2Fpyproject.toml)\n![PyPI - Wheel](https://img.shields.io/pypi/wheel/cgse-common)\n\n# Generic Functionality used in the Common-EGSE\n\nThis 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.\n\n\n## Installation\n\nInstall the package using pip:\n\n $ pip install cgse-common\n\n\n## Usage\n\nAll 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`:\n\n >>> from egse.system import format_datetime\n >>> print(format_datetime())\n 2023-10-10T08:41:51.937+0000\n\n\n## Included Functionality\n\nA non-comprehensive list of available functionality:\n\n### Functionality of General Use\n\n* **egse.bits**: contains a number of convenience functions to work with bits, bytes and integers\n* **egse.decorators**: a collection of useful decorator functions\n* **egse.reload**: a slightly better approach to reloading modules and function than the standard importlib.reload() function.\n* **egse.resource**: provides convenience functions to use resources in your code without the need to specify an absolute path\n* **egse.system**: defines convenience functions that provide information on system specific functionality like, file system interactions, timing, operating system interactions, etc.\n* **egse.version**: functionality to retrieve the package version information\n",
"bugtrack_url": null,
"license": null,
"summary": "Software framework to support hardware testing",
"version": "2025.0.3",
"project_urls": null,
"split_keywords": [
"cgse",
" common-egse",
" hardware testing",
" software framework"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "58f228aa3e865b57c8f56d754e4df16d710be04590bbbbac8ccfd765445fc100",
"md5": "a7e77ad0e1eee355086667c6bdca2d54",
"sha256": "c1f34fec1dd70bfbe3cf48acd8b2dc09d409e9e4e11f32efdd224e4ba7fc9252"
},
"downloads": -1,
"filename": "cgse_common-2025.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a7e77ad0e1eee355086667c6bdca2d54",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 113710,
"upload_time": "2025-01-17T10:09:45",
"upload_time_iso_8601": "2025-01-17T10:09:45.753139Z",
"url": "https://files.pythonhosted.org/packages/58/f2/28aa3e865b57c8f56d754e4df16d710be04590bbbbac8ccfd765445fc100/cgse_common-2025.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "1bc7763d2f4e2ba059676feb927a117bf552f49ec0ba4ecbb62251a1f692484f",
"md5": "72ee8bb4755de9ca3afc45dfc64638e4",
"sha256": "6fc1d2b93bae24f90b1837de99414af7cf5c866c7c4843bc37fdcb8ccf61f3d5"
},
"downloads": -1,
"filename": "cgse_common-2025.0.3.tar.gz",
"has_sig": false,
"md5_digest": "72ee8bb4755de9ca3afc45dfc64638e4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 99127,
"upload_time": "2025-01-17T10:09:48",
"upload_time_iso_8601": "2025-01-17T10:09:48.393049Z",
"url": "https://files.pythonhosted.org/packages/1b/c7/763d2f4e2ba059676feb927a117bf552f49ec0ba4ecbb62251a1f692484f/cgse_common-2025.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-17 10:09:48",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "cgse-common"
}