calcon


Namecalcon JSON
Version 0.3.0 PyPI version JSON
download
home_pagehttps://github.com/ederic-oytas/calcon
SummaryCalculator with physical quantities.
upload_time2024-01-11 23:23:26
maintainer
docs_urlNone
authorEderic Oytas
requires_python>=3.9,<4.0
licenseMIT
keywords calculator math unit quantity dimension physical quantity
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Calcon - Calculator with physical quantities

This is a calculator with support for physical quantities, coded in Python.

## Installation

```
pip install calcon
```

## Usage

Use `calcon --help` to show help.

Use `calcon EXPR` to calculate an expression.

Example output for `calcon "5 * kilogram + 5 * gram"`:

```
((5 * kilogram) + (5 * gram))

  = 5.005 * kilogram
```

Currently, there are only a limited number of units supported, but more will
be supported in the future.

## Changelog

### 0.1.1

- Added this changelog

- Fixed parsing numbers with leading period (`.`)

### 0.2.0

- Added adjacent multiplication (e.g. `5 meters` vs. `5 * meters`)

- Added E notation (e.g. `3.43E+2 m/s`, which equals `343 m/s`)

- Added support for single underscores in numbers (e.g. `1_000` or `1_000_000`)

- Added comments (Python-style) (e.g. `5 meters  # this is a comment`)

- Added more units

### 0.3.0

- Added unit prefixes (e.g. `kilo-`, `centi-`)

- Units can be appended with -s (e.g. `meters`, `liters`)

- Results now display as their unit symbols

- Bug fixes

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ederic-oytas/calcon",
    "name": "calcon",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<4.0",
    "maintainer_email": "",
    "keywords": "calculator,math,unit,quantity,dimension,physical quantity",
    "author": "Ederic Oytas",
    "author_email": "edericoytas@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/99/af/7648fb3f269e88a104f66e01ea4911d2be984911898378de345a19d629fc/calcon-0.3.0.tar.gz",
    "platform": null,
    "description": "\n# Calcon - Calculator with physical quantities\n\nThis is a calculator with support for physical quantities, coded in Python.\n\n## Installation\n\n```\npip install calcon\n```\n\n## Usage\n\nUse `calcon --help` to show help.\n\nUse `calcon EXPR` to calculate an expression.\n\nExample output for `calcon \"5 * kilogram + 5 * gram\"`:\n\n```\n((5 * kilogram) + (5 * gram))\n\n  = 5.005 * kilogram\n```\n\nCurrently, there are only a limited number of units supported, but more will\nbe supported in the future.\n\n## Changelog\n\n### 0.1.1\n\n- Added this changelog\n\n- Fixed parsing numbers with leading period (`.`)\n\n### 0.2.0\n\n- Added adjacent multiplication (e.g. `5 meters` vs. `5 * meters`)\n\n- Added E notation (e.g. `3.43E+2 m/s`, which equals `343 m/s`)\n\n- Added support for single underscores in numbers (e.g. `1_000` or `1_000_000`)\n\n- Added comments (Python-style) (e.g. `5 meters  # this is a comment`)\n\n- Added more units\n\n### 0.3.0\n\n- Added unit prefixes (e.g. `kilo-`, `centi-`)\n\n- Units can be appended with -s (e.g. `meters`, `liters`)\n\n- Results now display as their unit symbols\n\n- Bug fixes\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Calculator with physical quantities.",
    "version": "0.3.0",
    "project_urls": {
        "Homepage": "https://github.com/ederic-oytas/calcon",
        "Repository": "https://github.com/ederic-oytas/calcon"
    },
    "split_keywords": [
        "calculator",
        "math",
        "unit",
        "quantity",
        "dimension",
        "physical quantity"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2828ec97f5ae70c6638741ee7fb3820fafb86bead2e8a4fd6aaec7a145fd52c3",
                "md5": "5e98a10089e9dc7c9e277a5ed99db1e4",
                "sha256": "17a564c66adf92511f9eabf4cfb22a1f9d8df519cd5144b2540cf5f753d7f8e3"
            },
            "downloads": -1,
            "filename": "calcon-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5e98a10089e9dc7c9e277a5ed99db1e4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<4.0",
            "size": 12234,
            "upload_time": "2024-01-11T23:23:24",
            "upload_time_iso_8601": "2024-01-11T23:23:24.776354Z",
            "url": "https://files.pythonhosted.org/packages/28/28/ec97f5ae70c6638741ee7fb3820fafb86bead2e8a4fd6aaec7a145fd52c3/calcon-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "99af7648fb3f269e88a104f66e01ea4911d2be984911898378de345a19d629fc",
                "md5": "d19d674734de9abfd73f49efe51ada7c",
                "sha256": "6e08245f0a7a29ed9030f39bf70b56f5bed5cb5009969422a59a3c4a2214caa1"
            },
            "downloads": -1,
            "filename": "calcon-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d19d674734de9abfd73f49efe51ada7c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<4.0",
            "size": 10204,
            "upload_time": "2024-01-11T23:23:26",
            "upload_time_iso_8601": "2024-01-11T23:23:26.201903Z",
            "url": "https://files.pythonhosted.org/packages/99/af/7648fb3f269e88a104f66e01ea4911d2be984911898378de345a19d629fc/calcon-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-11 23:23:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ederic-oytas",
    "github_project": "calcon",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "calcon"
}
        
Elapsed time: 0.16575s