Name | widget-periodictable JSON |
Version |
4.1.3
JSON |
| download |
home_page | None |
Summary | A jupyter widget of the periodic table of elements. |
upload_time | 2024-07-11 20:47:08 |
maintainer | None |
docs_url | None |
author | The OSSCAR team |
requires_python | >=3.9 |
license | BSD 3-Clause License Copyright (c) 2024, OSSCAR (Open Software Services for Classrooms and Research) team, EPFL, Lausanne, Switzerland 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 |
anywidget
jupyter
jupyterlab
mendeleev
osscar
widget
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# `widget-periodictable`: A Interactive Perodic Table in Jupyter
[![PyPI version](https://badge.fury.io/py/widget-periodictable.svg)](https://badge.fury.io/py/widget-periodictable)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/osscar-org/widget-periodictable/main?urlpath=%2Fvoila%2Frender%2Fexamples%2Fintroduction.ipynb)
[![widget test](https://github.com/osscar-org/widget-periodictable/actions/workflows/widget-test.yml/badge.svg)](https://github.com/osscar-org/widget-periodictable/actions/workflows/widget-test.yml)
[![screenshot comparison](https://github.com/osscar-org/widget-periodictable/actions/workflows/screenshot-comparison.yml/badge.svg)](https://github.com/osscar-org/widget-periodictable/actions/workflows/screenshot-comparison.yml)
![demo](https://raw.githubusercontent.com/osscar-org/widget-periodictable/main/example/demo.gif)
## Installation & usage
```sh
pip install widget-periodictable
```
For usage examples, see `examples/`.
## Development
Install the python code:
```sh
pip install -e .[dev]
```
You then need to install the JavaScript dependencies and run the development server.
```sh
npm install
npm run dev
```
Open the example notebook in JupyterLab, VS Code, or your favorite editor to start developing. Changes made in `js/` will be reflected in the notebook.
### Releasing and publishing a new version
In order to make a new release of the library and publish to PYPI, run
```bash
bumpver update --major/--minor/--patch
```
This will
- update version numbers, make a corresponding `git commit` and a `git tag`;
- push this commit and tag to Github, which triggers the Github Action that makes a new Github Release and publishes the package to PYPI.
### Github workflow testing
[![widget test](https://github.com/osscar-org/widget-periodictable/actions/workflows/widget-test.yml/badge.svg)](https://github.com/osscar-org/widget-periodictable/actions/workflows/widget-test.yml)
If the `widget test` fails, it indicates there is something wrong with the code, and the widget is NOT
being displayed correctly in the test.
[![screenshot comparison](https://github.com/osscar-org/widget-periodictable/actions/workflows/screenshot-comparison.yml/badge.svg)](https://github.com/osscar-org/widget-periodictable/actions/workflows/screenshot-comparison.yml)
If the `widget test` passes but the `screenshot comparison` fails, it indicates the appearance of the widget
is different from the previous version. In this case, you'll need to manually download the artifact from
the `widget test` and use it to replace the `widget-sample.png` figure in the `test` folder.
## Acknowledgements
We acknowledge support from the EPFL Open Science Fund via the [OSSCAR](http://www.osscar.org) project.
<img src='https://www.osscar.org/_images/logos.png' width='1200'>
Raw data
{
"_id": null,
"home_page": null,
"name": "widget-periodictable",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "anywidget, jupyter, jupyterlab, mendeleev, osscar, widget",
"author": "The OSSCAR team",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/92/13/3a2a49cf456612c599e70d1ed12acee7d1dc3430220f6fb5027199f37eb8/widget_periodictable-4.1.3.tar.gz",
"platform": null,
"description": "# `widget-periodictable`: A Interactive Perodic Table in Jupyter\n\n[![PyPI version](https://badge.fury.io/py/widget-periodictable.svg)](https://badge.fury.io/py/widget-periodictable)\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/osscar-org/widget-periodictable/main?urlpath=%2Fvoila%2Frender%2Fexamples%2Fintroduction.ipynb)\n[![widget test](https://github.com/osscar-org/widget-periodictable/actions/workflows/widget-test.yml/badge.svg)](https://github.com/osscar-org/widget-periodictable/actions/workflows/widget-test.yml)\n[![screenshot comparison](https://github.com/osscar-org/widget-periodictable/actions/workflows/screenshot-comparison.yml/badge.svg)](https://github.com/osscar-org/widget-periodictable/actions/workflows/screenshot-comparison.yml)\n\n![demo](https://raw.githubusercontent.com/osscar-org/widget-periodictable/main/example/demo.gif)\n\n## Installation & usage\n\n```sh\npip install widget-periodictable\n```\n\nFor usage examples, see `examples/`.\n\n## Development\n\nInstall the python code:\n\n```sh\npip install -e .[dev]\n```\n\nYou then need to install the JavaScript dependencies and run the development server.\n\n```sh\nnpm install\nnpm run dev\n```\n\nOpen the example notebook in JupyterLab, VS Code, or your favorite editor to start developing. Changes made in `js/` will be reflected in the notebook.\n\n### Releasing and publishing a new version\n\nIn order to make a new release of the library and publish to PYPI, run\n\n```bash\nbumpver update --major/--minor/--patch\n```\n\nThis will\n\n- update version numbers, make a corresponding `git commit` and a `git tag`;\n- push this commit and tag to Github, which triggers the Github Action that makes a new Github Release and publishes the package to PYPI.\n\n\n### Github workflow testing\n\n[![widget test](https://github.com/osscar-org/widget-periodictable/actions/workflows/widget-test.yml/badge.svg)](https://github.com/osscar-org/widget-periodictable/actions/workflows/widget-test.yml)\n\nIf the `widget test` fails, it indicates there is something wrong with the code, and the widget is NOT\nbeing displayed correctly in the test.\n\n[![screenshot comparison](https://github.com/osscar-org/widget-periodictable/actions/workflows/screenshot-comparison.yml/badge.svg)](https://github.com/osscar-org/widget-periodictable/actions/workflows/screenshot-comparison.yml)\n\nIf the `widget test` passes but the `screenshot comparison` fails, it indicates the appearance of the widget \nis different from the previous version. In this case, you'll need to manually download the artifact from \nthe `widget test` and use it to replace the `widget-sample.png` figure in the `test` folder.\n\n## Acknowledgements\n\nWe acknowledge support from the EPFL Open Science Fund via the [OSSCAR](http://www.osscar.org) project.\n\n<img src='https://www.osscar.org/_images/logos.png' width='1200'>\n",
"bugtrack_url": null,
"license": "BSD 3-Clause License Copyright (c) 2024, OSSCAR (Open Software Services for Classrooms and Research) team, EPFL, Lausanne, Switzerland 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": "A jupyter widget of the periodic table of elements.",
"version": "4.1.3",
"project_urls": {
"Home": "https://www.osscar.org/",
"Source": "https://github.com/osscar-org/widget-periodictable"
},
"split_keywords": [
"anywidget",
" jupyter",
" jupyterlab",
" mendeleev",
" osscar",
" widget"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e2d324fecc14205f2af08edfe3edc97999b003d3c0eea842763b5ecb5d6e6687",
"md5": "a1f24da15416e36eaccce67d98207cfa",
"sha256": "d64f697d24b3261d99e08e0311ae04e2547b9e39acda87e64809f25e8132eccf"
},
"downloads": -1,
"filename": "widget_periodictable-4.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a1f24da15416e36eaccce67d98207cfa",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 48031,
"upload_time": "2024-07-11T20:47:06",
"upload_time_iso_8601": "2024-07-11T20:47:06.053765Z",
"url": "https://files.pythonhosted.org/packages/e2/d3/24fecc14205f2af08edfe3edc97999b003d3c0eea842763b5ecb5d6e6687/widget_periodictable-4.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "92133a2a49cf456612c599e70d1ed12acee7d1dc3430220f6fb5027199f37eb8",
"md5": "c4a16cf75452e90d3b3362d6b729ea04",
"sha256": "14cad684ebe66bb4fcfbef52392b3cc772ebf7a434437eaa3cf14f0b5662bf21"
},
"downloads": -1,
"filename": "widget_periodictable-4.1.3.tar.gz",
"has_sig": false,
"md5_digest": "c4a16cf75452e90d3b3362d6b729ea04",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 46521,
"upload_time": "2024-07-11T20:47:08",
"upload_time_iso_8601": "2024-07-11T20:47:08.981092Z",
"url": "https://files.pythonhosted.org/packages/92/13/3a2a49cf456612c599e70d1ed12acee7d1dc3430220f6fb5027199f37eb8/widget_periodictable-4.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-11 20:47:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "osscar-org",
"github_project": "widget-periodictable",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "widget-periodictable"
}