Helpers to generate JSON input files for the default chemiscope visualizer at https://chemiscope.org
Project description
chemiscope Python package
This package contains Python code to help generate input files for the chemiscope default visualizer.
Installation
You should use pip to install this package:
pip install chemiscope
This installs both a chemiscope-input
command line tool, and the chemiscope
package.
Usage
From your own code:
import chemiscope
# read frames using ase
frames = ...
# add additional properties
properties = {
"<name>": {
target: "atom",
values: [3, 4, 2, 8, 9, 10],
}
}
chemiscope.write_input("my-input.json.gz", frames, extra=properties)
Contributing
You can install this package locally after a git clone with
python setup.py install
If you make changes, please make sure to add tests in tests
; and run existing
tests with tox
:
pip install tox
tox
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
chemiscope-0.3.0.tar.gz
(794.5 kB
view hashes)
Built Distribution
chemiscope-0.3.0-py2.py3-none-any.whl
(797.7 kB
view hashes)
Close
Hashes for chemiscope-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17a44b6133bbdd7d1c3d5b889ee58cdb5f04ffe69596048411f0fc9063ee49d3 |
|
MD5 | 0029b6277a55272f048f2cf52e4a3d30 |
|
BLAKE2b-256 | 99397125b8641b48926ea47e9b6950971612826cca9ff4dcd0d457b1de2a4696 |