# Frequenz Quantities Library
[![Build Status](https://github.com/frequenz-floss/frequenz-quantities-python/actions/workflows/ci.yaml/badge.svg)](https://github.com/frequenz-floss/frequenz-quantities-python/actions/workflows/ci.yaml)
[![PyPI Package](https://img.shields.io/pypi/v/frequenz-quantities)](https://pypi.org/project/frequenz-quantities/)
[![Docs](https://img.shields.io/badge/docs-latest-informational)](https://frequenz-floss.github.io/frequenz-quantities-python/)
## Introduction
This library provide types for holding quantities with units. The main goal is
to avoid mistakes while working with different types of quantities, for example
avoiding adding a length to a time.
It also prevents mistakes when operating between the same quantity but in
different units, like adding a power in Joules to a power in Watts without
converting one of them.
Quantities store the value in a base unit, and then provide methods to get that
quantity as a particular unit.
## Documentation
For more information on how to use this library and examples, please check the
[Documentation website](https://frequenz-floss.github.io/frequenz-quantities-python/).
## Supported Platforms
The following platforms are officially supported (tested):
- **Python:** 3.11
- **Operating System:** Ubuntu Linux 20.04
- **Architectures:** amd64, arm64
## Contributing
If you want to know how to build this project and contribute to it, please
check out the [Contributing Guide](CONTRIBUTING.md).
Raw data
{
"_id": null,
"home_page": null,
"name": "frequenz-quantities",
"maintainer": null,
"docs_url": null,
"requires_python": "<4,>=3.11",
"maintainer_email": null,
"keywords": "frequenz, python, lib, library, quantities, unit, conversion",
"author": null,
"author_email": "Frequenz Energy-as-a-Service GmbH <floss@frequenz.com>",
"download_url": "https://files.pythonhosted.org/packages/c1/fc/96efec053f2b872c30f4ec68c021eeb9961142c6f907cafcd7ac38d360ae/frequenz-quantities-1.0.0rc1.tar.gz",
"platform": null,
"description": "# Frequenz Quantities Library\n\n[![Build Status](https://github.com/frequenz-floss/frequenz-quantities-python/actions/workflows/ci.yaml/badge.svg)](https://github.com/frequenz-floss/frequenz-quantities-python/actions/workflows/ci.yaml)\n[![PyPI Package](https://img.shields.io/pypi/v/frequenz-quantities)](https://pypi.org/project/frequenz-quantities/)\n[![Docs](https://img.shields.io/badge/docs-latest-informational)](https://frequenz-floss.github.io/frequenz-quantities-python/)\n\n## Introduction\n\nThis library provide types for holding quantities with units. The main goal is\nto avoid mistakes while working with different types of quantities, for example\navoiding adding a length to a time.\n\nIt also prevents mistakes when operating between the same quantity but in\ndifferent units, like adding a power in Joules to a power in Watts without\nconverting one of them.\n\nQuantities store the value in a base unit, and then provide methods to get that\nquantity as a particular unit.\n\n## Documentation\n\nFor more information on how to use this library and examples, please check the\n[Documentation website](https://frequenz-floss.github.io/frequenz-quantities-python/).\n\n## Supported Platforms\n\nThe following platforms are officially supported (tested):\n\n- **Python:** 3.11\n- **Operating System:** Ubuntu Linux 20.04\n- **Architectures:** amd64, arm64\n\n## Contributing\n\nIf you want to know how to build this project and contribute to it, please\ncheck out the [Contributing Guide](CONTRIBUTING.md).\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Types for holding quantities with units",
"version": "1.0.0rc1",
"project_urls": {
"Changelog": "https://github.com/frequenz-floss/frequenz-quantities-python/releases",
"Documentation": "https://frequenz-floss.github.io/frequenz-quantities-python/",
"Issues": "https://github.com/frequenz-floss/frequenz-quantities-python/issues",
"Repository": "https://github.com/frequenz-floss/frequenz-quantities-python",
"Support": "https://github.com/frequenz-floss/frequenz-quantities-python/discussions/categories/support"
},
"split_keywords": [
"frequenz",
" python",
" lib",
" library",
" quantities",
" unit",
" conversion"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a726c8f8478b92da7d414fd5acf5f2ae3a8b6d453361d1eba5e133f7b6d0b07a",
"md5": "1ed10d65f35a48a1b6ce621cda1a98f9",
"sha256": "3390175412f36d67bf224bb758f4db82cf0c8f6a89899c11077e25973f7fb81b"
},
"downloads": -1,
"filename": "frequenz_quantities-1.0.0rc1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1ed10d65f35a48a1b6ce621cda1a98f9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.11",
"size": 18139,
"upload_time": "2024-06-26T07:40:13",
"upload_time_iso_8601": "2024-06-26T07:40:13.985320Z",
"url": "https://files.pythonhosted.org/packages/a7/26/c8f8478b92da7d414fd5acf5f2ae3a8b6d453361d1eba5e133f7b6d0b07a/frequenz_quantities-1.0.0rc1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c1fc96efec053f2b872c30f4ec68c021eeb9961142c6f907cafcd7ac38d360ae",
"md5": "764a16b217c08f263daa0983c4fbe30f",
"sha256": "67dd39b533a15a154289e9bbc083edf6a03a486265505463f2dce70425a2b918"
},
"downloads": -1,
"filename": "frequenz-quantities-1.0.0rc1.tar.gz",
"has_sig": false,
"md5_digest": "764a16b217c08f263daa0983c4fbe30f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.11",
"size": 14485,
"upload_time": "2024-06-26T07:40:15",
"upload_time_iso_8601": "2024-06-26T07:40:15.363837Z",
"url": "https://files.pythonhosted.org/packages/c1/fc/96efec053f2b872c30f4ec68c021eeb9961142c6f907cafcd7ac38d360ae/frequenz-quantities-1.0.0rc1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-26 07:40:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "frequenz-floss",
"github_project": "frequenz-quantities-python",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "frequenz-quantities"
}