# 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/89/09/4df5afdaa1eefe5e6d6a1841825870a8344e5adf0b6ea1fe247685e0e482/frequenz-quantities-1.0.0.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.0",
"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": "3343f41ca7871e614d8d328af9d1279a9875461e2486796d8a6977994159eb15",
"md5": "5ac85e9658734f8b83d2756139913d6c",
"sha256": "0fba4df79cd1ba954520d31ed308d8ebd5dbda73c6569c89e5156e41f741b35f"
},
"downloads": -1,
"filename": "frequenz_quantities-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5ac85e9658734f8b83d2756139913d6c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.11",
"size": 25148,
"upload_time": "2024-11-19T13:35:40",
"upload_time_iso_8601": "2024-11-19T13:35:40.914267Z",
"url": "https://files.pythonhosted.org/packages/33/43/f41ca7871e614d8d328af9d1279a9875461e2486796d8a6977994159eb15/frequenz_quantities-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "89094df5afdaa1eefe5e6d6a1841825870a8344e5adf0b6ea1fe247685e0e482",
"md5": "f9f72026bd4b397f3207344cd47e7aa3",
"sha256": "b73327bd636852dfc1b8c200a43a2f1d44506426312a4e109c83b92f59128046"
},
"downloads": -1,
"filename": "frequenz-quantities-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "f9f72026bd4b397f3207344cd47e7aa3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.11",
"size": 17737,
"upload_time": "2024-11-19T13:35:42",
"upload_time_iso_8601": "2024-11-19T13:35:42.187132Z",
"url": "https://files.pythonhosted.org/packages/89/09/4df5afdaa1eefe5e6d6a1841825870a8344e5adf0b6ea1fe247685e0e482/frequenz-quantities-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-19 13:35:42",
"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"
}