Skip to main content

build docs License: GPL v3

Molecular builder

This package facilitates building molecular systems. It has functions for creating bulk crystals and for fetching periodic boxes of non-crystalline systems from the internet. After generating bulk crystals, the user may carve out specific geometries, and combine several elements to create a system.

We also support adding water using packmol. This requires having packmol installed.

Dependencies

This molecular builder relies heavily on the atomic simulation environment (ase) and ovito. Ase is used to generate crystals from space group descriptions, ovito is used to create bonds and to output molecular systems in the lammps data format.

This molecular builder is made with LAMMPS in mind. Usually, saving to input files for other simulators will work just fine, but anywhere a choice has to be made, convenience when preparing systems for LAMMPS will be prioritized.

Installation

pip install molecular-builder 

Usage

Simple use case for creating a bulk alpha-quartz crystal.

from molecular_builder import create_bulk_crystal, write
atoms = create_bulk_crystal("alpha_quartz", [50,100,200])
write(atoms, "alpha_quartz.data)

Please refer to the documentation for more usage examples.

Metadata

Release files for molecular-builder 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for molecular-builder 0.3.1
File Size Uploaded Provenance Actions
molecular_builder-0.3.1.tar.gz 16.5 kB Without provenance Details for molecular_builder-0.3.1.tar.gz

Release files / molecular_builder-0.3.1.tar.gz

Download URL molecular_builder-0.3.1.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
34bb1d4fc3753afa63a81cf74a180039ac7c1604f96c58a66e70cf3944c3b0d5
BLAKE2b-256 checksum
How to use checksums
3588a7f38516547b900db413664602e6dab63225f0b2a9a20dd703ad2fad4f87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.2

Security for molecular-builder 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page