A Python package for creating, editing and rendering atoms and molecules structures using Blender.
Project description
Beautiful Atoms
Batoms is a Python package for editing and rendering atoms and molecules objects using blender. A Python interface that allows for automating workflows.
Features:
- Model: space-filling, ball-stick, polyhedral, cavity and so on.
- Supported File type: cif, xyz, cube, pdb, json, VASP-out and so on.
- Supported structure: ASE and Pymatgen
- Volumetric data (Isosurface)
- Ribbon diagram for protein
- Site occupancy
- Animation
- GUI
- Support periodic boundary conditions
- Support fetch structures from MaterialProject, Pubchem and RSCB
Flexible: Python script, run interactively or in background.High quality rendering: 3D modelsFree, Open Source: Easy to download and install.Cross-platform: (Linux, Windows, macOS)
How to use
Please vist: https://beautiful-atoms.readthedocs.io/en/latest/
How to contribute
Editor
We recommend using Visual Studio Code with the Blender extension.
Test
We recommend using pytest-blender. To run the tests, run:
pip install pytest-blender
blender_python="$(pytest-blender)"
$blender_python -m ensurepip
# Install the development dependencies:
$blender_python -m pip install -r test-requirements.txt
cd tests
pytest
Pre-commit
To install the pre-commit hooks, run:
$ pre-commit install
Contact
- Xing Wang xingwang1991@gmail.com
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file batoms-2.4.0.1.tar.gz.
File metadata
- Download URL: batoms-2.4.0.1.tar.gz
- Upload date:
- Size: 454.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.13.0 pkginfo/1.6.1 requests/2.31.0 requests-toolbelt/0.10.1 tqdm/4.51.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6a48cabe79256c6f44c543011e0adac1762a2ad39b8fbb36c02d0dfe1b9f6d3
|
|
| MD5 |
a4eaa85c2a54f3c9cd0a653527a7cd56
|
|
| BLAKE2b-256 |
81fa86f1e7fecdb3e7cb56202a436f7f9bb818b68e108abce1849bab7da0768e
|
File details
Details for the file batoms-2.4.0.1-py3-none-any.whl.
File metadata
- Download URL: batoms-2.4.0.1-py3-none-any.whl
- Upload date:
- Size: 500.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.13.0 pkginfo/1.6.1 requests/2.31.0 requests-toolbelt/0.10.1 tqdm/4.51.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4261bf62ab541cb7ebf91ae1b13b5ec0ae73dfb37e8b90abe72dd0ea86d3e78e
|
|
| MD5 |
436d743ae047840f1cfe7ba596a306b8
|
|
| BLAKE2b-256 |
8dbf8e794f19d26a8852a3a2ff1ad457702fc34cd6b99aa61ec6addc484920db
|