pydims


Namepydims JSON
Version 0.6.0 PyPI version JSON
download
home_pageNone
SummaryPython arrays with named dimension and physical units
upload_time2024-06-23 07:24:39
maintainerNone
docs_urlNone
authorScipp contributors
requires_python>=3.12
licenseBSD 3-Clause License Copyright (c) 2024, Pydims contributors (https://github.com/pydims) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md)
[![PyPI badge](http://img.shields.io/pypi/v/pydims.svg)](https://pypi.python.org/pypi/pydims)
[![Anaconda-Server Badge](https://anaconda.org/pydims/pydims/badges/version.svg)](https://anaconda.org/pydims/pydims)
[![License: BSD 3-Clause](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](LICENSE)

# PyDims

## About

Python arrays with named dimension and physical units.

Our goal is to provide a library wrapping any array library that supports the [Python array API standard](https://data-apis.org/array-api/latest/), adding named dimensions as well as physical units.
This is an alternative to Xarray's `NamedArray`.
The two main differences are
1. NamedArray supports `attrs`, which we think add unnecessary complexity while suffering from [conceptual problems](https://scipp.github.io/development/adr/0016-do-not-support-attrs.html).
2. PyDims supports physical units via a `unit` attribute, which we consider central and tightly linked to the concept of an array.

## Installation

```sh
python -m pip install pydims
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pydims",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": null,
    "keywords": null,
    "author": "Scipp contributors",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/a1/ec/07bec7d2c20128e17d8a88c54dd623951bc7cb178bdf59c15e5562a08b59/pydims-0.6.0.tar.gz",
    "platform": null,
    "description": "[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md)\n[![PyPI badge](http://img.shields.io/pypi/v/pydims.svg)](https://pypi.python.org/pypi/pydims)\n[![Anaconda-Server Badge](https://anaconda.org/pydims/pydims/badges/version.svg)](https://anaconda.org/pydims/pydims)\n[![License: BSD 3-Clause](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](LICENSE)\n\n# PyDims\n\n## About\n\nPython arrays with named dimension and physical units.\n\nOur goal is to provide a library wrapping any array library that supports the [Python array API standard](https://data-apis.org/array-api/latest/), adding named dimensions as well as physical units.\nThis is an alternative to Xarray's `NamedArray`.\nThe two main differences are\n1. NamedArray supports `attrs`, which we think add unnecessary complexity while suffering from [conceptual problems](https://scipp.github.io/development/adr/0016-do-not-support-attrs.html).\n2. PyDims supports physical units via a `unit` attribute, which we consider central and tightly linked to the concept of an array.\n\n## Installation\n\n```sh\npython -m pip install pydims\n```\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause License  Copyright (c) 2024, Pydims contributors (https://github.com/pydims) All rights reserved.  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ",
    "summary": "Python arrays with named dimension and physical units",
    "version": "0.6.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/pydims/pydims/issues",
        "Documentation": "https://pydims.github.io/pydims",
        "Source": "https://github.com/pydims/pydims"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6116a9fcea9ff9dd84f5236e5cd878c96e4ce41ca69be04f9d2e04c6aa7eb468",
                "md5": "8f7bb074ee19a05085b98f5fdc328e68",
                "sha256": "a250cbf92aa0dc89c56e68643b62dea2d997fa10536d86d1510c1aae8736f1ef"
            },
            "downloads": -1,
            "filename": "pydims-0.6.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8f7bb074ee19a05085b98f5fdc328e68",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 16660,
            "upload_time": "2024-06-23T07:24:37",
            "upload_time_iso_8601": "2024-06-23T07:24:37.661109Z",
            "url": "https://files.pythonhosted.org/packages/61/16/a9fcea9ff9dd84f5236e5cd878c96e4ce41ca69be04f9d2e04c6aa7eb468/pydims-0.6.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a1ec07bec7d2c20128e17d8a88c54dd623951bc7cb178bdf59c15e5562a08b59",
                "md5": "d0362221877cccbdc412ae4679ca44d4",
                "sha256": "074b3b0885f5cb4c871eae5ed84c5c88e7e958d51748cc55281c76bee6e12691"
            },
            "downloads": -1,
            "filename": "pydims-0.6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d0362221877cccbdc412ae4679ca44d4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 42444,
            "upload_time": "2024-06-23T07:24:39",
            "upload_time_iso_8601": "2024-06-23T07:24:39.428922Z",
            "url": "https://files.pythonhosted.org/packages/a1/ec/07bec7d2c20128e17d8a88c54dd623951bc7cb178bdf59c15e5562a08b59/pydims-0.6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-23 07:24:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pydims",
    "github_project": "pydims",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "pydims"
}
        
Elapsed time: 0.43267s