Skip to main content

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)

Project details


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.0b1.tar.gz (8.5 kB view details)

Uploaded Source

File details

Details for the file chemiscope-0.3.0b1.tar.gz.

File metadata

  • Download URL: chemiscope-0.3.0b1.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.8

File hashes

Hashes for chemiscope-0.3.0b1.tar.gz
Algorithm Hash digest
SHA256 10a74503a1a116dc8344dbed1ecd7d5e2a108b389347435e4372a7559e9f50e4
MD5 5ca2d0c49e9a468cc333559bf55157fd
BLAKE2b-256 4491d21bf53cb6f46b7bf4eeabb8adf1f33c6077f0cd70fe19a593ad9e5102d6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page