Name | dimans JSON |
Version |
0.0.24
JSON |
| download |
home_page | None |
Summary | Dimensional analysis and unit conversion library |
upload_time | 2024-08-29 16:41:18 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.10 |
license | None |
keywords |
units
calculation
calculator
constants
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# dimAns
**Dimensional analysis and unit conversion library**
[![PyPI - Version](https://img.shields.io/pypi/v/dimans?link=https%3A%2F%2Fpypi.org%2Fproject%2Fdimans%2F)](https://pypi.org/project/dimans/#history)
[![GitHub Tag](https://img.shields.io/github/v/tag/emreozcan/dimans)](https://github.com/emreozcan/dimAns/tags)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/dimans)](https://pypi.org/project/dimans/)
[![GitHub License](https://img.shields.io/github/license/emreozcan/dimans)](https://github.com/emreozcan/dimAns/blob/master/LICENSE)
[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/emreozcan/dimAns/test.yml)](https://github.com/emreozcan/dimAns/actions/workflows/test.yml)
[![Codacy Code Quality Badge](https://app.codacy.com/project/badge/Grade/91ba463964c947c1af99446e92d1cd24)](https://app.codacy.com/gh/EmreOzcan/dimAns/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
[![Codacy Coverage Badge](https://app.codacy.com/project/badge/Coverage/91ba463964c947c1af99446e92d1cd24)](https://app.codacy.com/gh/EmreOzcan/dimAns/coverage/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_coverage)
## Installation
```bash
pip install --upgrade dimans
```
If you want to use the calculator, you will need to install the "cli" extra to
install some additional dependencies:
```bash
pip install --upgrade dimans[cli]
```
If you are using a Linux distribution like Arch that disallows installing
packages using pip, you will need to use a tool such as `pipx`:
```bash
pipx install --upgrade dimans[cli]
```
## Usage
```python-repl
>>> from dimans.units import gram, kilogram, metre
>>> (32_000 * gram).to(kilogram)
<Quantity 32.0 kg>
```
## Calculator
```bash
dimans
```
<p>
<img
src="https://raw.githubusercontent.com/emreozcan/dimAns/master/imgs/calculator.svg"
alt="dimAns Calculator Screenshot: Main Screen"
width="50%"><img
src="https://raw.githubusercontent.com/emreozcan/dimAns/master/imgs/search.svg"
alt="dimAns Calculator Screenshot: Command Search"
width="50%">
</p>
Raw data
{
"_id": null,
"home_page": null,
"name": "dimans",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "Emre \u00d6zcan <emre@emreis.com>",
"keywords": "units, calculation, calculator, constants",
"author": null,
"author_email": "Emre \u00d6zcan <emre@emreis.com>",
"download_url": "https://files.pythonhosted.org/packages/9c/fc/eafa3855ad14e7c53e2894b7b2b2c36940785e0d55f22036537f967915e3/dimans-0.0.24.tar.gz",
"platform": null,
"description": "# dimAns\n\n**Dimensional analysis and unit conversion library**\n\n[![PyPI - Version](https://img.shields.io/pypi/v/dimans?link=https%3A%2F%2Fpypi.org%2Fproject%2Fdimans%2F)](https://pypi.org/project/dimans/#history)\n[![GitHub Tag](https://img.shields.io/github/v/tag/emreozcan/dimans)](https://github.com/emreozcan/dimAns/tags)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/dimans)](https://pypi.org/project/dimans/)\n[![GitHub License](https://img.shields.io/github/license/emreozcan/dimans)](https://github.com/emreozcan/dimAns/blob/master/LICENSE)\n\n[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/emreozcan/dimAns/test.yml)](https://github.com/emreozcan/dimAns/actions/workflows/test.yml)\n[![Codacy Code Quality Badge](https://app.codacy.com/project/badge/Grade/91ba463964c947c1af99446e92d1cd24)](https://app.codacy.com/gh/EmreOzcan/dimAns/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)\n[![Codacy Coverage Badge](https://app.codacy.com/project/badge/Coverage/91ba463964c947c1af99446e92d1cd24)](https://app.codacy.com/gh/EmreOzcan/dimAns/coverage/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_coverage)\n\n## Installation\n\n```bash\npip install --upgrade dimans\n```\n\nIf you want to use the calculator, you will need to install the \"cli\" extra to\ninstall some additional dependencies:\n\n```bash\npip install --upgrade dimans[cli]\n```\n\nIf you are using a Linux distribution like Arch that disallows installing\npackages using pip, you will need to use a tool such as `pipx`:\n\n```bash\npipx install --upgrade dimans[cli]\n```\n\n## Usage\n\n```python-repl\n>>> from dimans.units import gram, kilogram, metre\n>>> (32_000 * gram).to(kilogram)\n<Quantity 32.0 kg>\n```\n\n## Calculator\n\n```bash\ndimans\n```\n<p>\n<img\n src=\"https://raw.githubusercontent.com/emreozcan/dimAns/master/imgs/calculator.svg\"\n alt=\"dimAns Calculator Screenshot: Main Screen\"\n width=\"50%\"><img\n src=\"https://raw.githubusercontent.com/emreozcan/dimAns/master/imgs/search.svg\"\n alt=\"dimAns Calculator Screenshot: Command Search\"\n width=\"50%\">\n</p>\n",
"bugtrack_url": null,
"license": null,
"summary": "Dimensional analysis and unit conversion library",
"version": "0.0.24",
"project_urls": {
"Issues": "https://github.com/emreozcan/dimans/issues",
"Repository": "https://github.com/emreozcan/dimans"
},
"split_keywords": [
"units",
" calculation",
" calculator",
" constants"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "cac7040de2010cb2cf61fbe0c4868a20a7335dc31210c655757b3721dce24f01",
"md5": "8fde96cf19103053ad07c491f809490f",
"sha256": "dbac1a7ce5677a52d3ed284006f3394741930a9f500edc8b7e7c199f4ff5a08e"
},
"downloads": -1,
"filename": "dimans-0.0.24-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8fde96cf19103053ad07c491f809490f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 50559,
"upload_time": "2024-08-29T16:41:15",
"upload_time_iso_8601": "2024-08-29T16:41:15.489766Z",
"url": "https://files.pythonhosted.org/packages/ca/c7/040de2010cb2cf61fbe0c4868a20a7335dc31210c655757b3721dce24f01/dimans-0.0.24-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "9cfceafa3855ad14e7c53e2894b7b2b2c36940785e0d55f22036537f967915e3",
"md5": "dd00ace6e4462cd6424d3bce0bee8eab",
"sha256": "97a54fa2ac23575b0db0c09f8f13e7b77eebefc6ba09734d7e3bd7d6b20b01cd"
},
"downloads": -1,
"filename": "dimans-0.0.24.tar.gz",
"has_sig": false,
"md5_digest": "dd00ace6e4462cd6424d3bce0bee8eab",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 79462,
"upload_time": "2024-08-29T16:41:18",
"upload_time_iso_8601": "2024-08-29T16:41:18.005138Z",
"url": "https://files.pythonhosted.org/packages/9c/fc/eafa3855ad14e7c53e2894b7b2b2c36940785e0d55f22036537f967915e3/dimans-0.0.24.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-29 16:41:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "emreozcan",
"github_project": "dimans",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "dimans"
}