No project description provided
Project description
Molecular visualization in Jupyter (Package under development!).
Features:
Geometry
Volumes from Cube Files
Supports:
xyz files
Psi4 geometries
QCElemental molecules
Installation
- git:
git clone https://github.com/VHchavez/moly.git cd moly pip install .
- pip:
pip install moly
- conda:
coming soon!
-
Basic Geometry
Define a figure and add molecules to it.
import moly
fig = moly.Figure()
molecule = moly.Molecule.from_file("caffeine.xyz")
fig.add_molecule("caffeine", molecule)
fig.show()
-
Basic Layering
Geometries can be brought from different sources and be thrown in the same figure
#Molecules from QCArchive
import qcportal as ptl
client = ptl.FractalClient()
#Get molecule from QCArchive
ds = client.get_collection("ReactionDataset", "S22")
dimers = ds.get_molecules()
ammonia_dimer = dimers.loc['Ammonia Dimer', 'molecule'][0]
#Different surfaces are available.
#Resolution can be increased if saving figure is desired.
fig = moly.Figure(figsize=(800,800), surface="shiny")
fig.add_molecule("dimer", ammonia_dimer)
fig.add_molecule("bucky ball", moly.Molecue.from_file("bucky.xyz"))
fig.show()
Copyright
Copyright (c) 2020, VH Chavez
Acknowledgements
Project based on the
Computational Molecular Science Python Cookiecutter version 1.1.
Victor H. Chavez was supported by a fellowship from The Molecular Sciences Software Institute under NSF grant OAC-1547580.
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
Built Distribution
File details
Details for the file moly-0.2.1.tar.gz
.
File metadata
- Download URL: moly-0.2.1.tar.gz
- Upload date:
- Size: 96.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0.post20200710 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a563c40e136a0e9a6c6412e755582646a8576fdfd67af2a905e977426465adf |
|
MD5 | f81421d194c003f92d6e46d7225359ab |
|
BLAKE2b-256 | 42273ecf8c4548e7b62c79789e74ea008d2732cfe5a26be0b371aeacd1ba697a |
File details
Details for the file moly-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: moly-0.2.1-py3-none-any.whl
- Upload date:
- Size: 98.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0.post20200710 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e5f2971a7fa502c0f3ffe45a365c3d34fa128c94f9b2f35b3c565aa15cf3529 |
|
MD5 | b1e68f6b39eb8350efe0e6a1b3f39e1a |
|
BLAKE2b-256 | 12e521bbe8baacba330d13035d3e76cb18d6c71da7a2b13ccb39a7ede70a3346 |