Chemical drawing with Python
Project description
applique
applique
is a simple program that can write .xyz file from .mol files. It really is just a missing puzzle piece in the quantum chemistry world, as some molecular editors went corrupt. Now one can use common Quantum Chemistry software again. It mimics Avogadros behaviour.
Nothing special.
Installation
Simple as always
pip install applique
Usage
Cli
In your venv
applique --i in_file.mol --o out_file.xyz
Easy peasy
Programs
Within programs for example you load a molfile like this
from applique.molecule import Molecule as Mol
mol_file_benzene = "tests/molecules/benzene.mol"
benzene = Mol().from_mol(mol_file_benzene)
Then write the .xyz
like this
from applique.writer import write_xyz
from applique.molecule import Molecule as Mol
mol_file_benzene = "tests/molecules/benzene.mol"
benzene = Mol().from_mol(mol_file_benzene)
file_name_benzene = "./tests/molecules/benzene.xyz"
coordinates = benzene.struct3D() #you can omit if you don't want to preoptimize the structure.
write_xyz(self.benzene, file_name_benzene)
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
applique-0.1.3.tar.gz
(18.2 kB
view details)
Built Distribution
applique-0.1.3-py3-none-any.whl
(16.4 kB
view details)
File details
Details for the file applique-0.1.3.tar.gz
.
File metadata
- Download URL: applique-0.1.3.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06b0950da35bb695c372bba760ee2dd447fd5907079cf98affa41a7a11d0f177 |
|
MD5 | 5f2060cd0d97c22c32723d989e44f4b9 |
|
BLAKE2b-256 | 82a6ed75184868c064bfb7b0b2301445d270e013d2a943a65a04df9427f08bcc |
File details
Details for the file applique-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: applique-0.1.3-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4b658b65052d18948a19604ee78409462c832e44dbe65965fcb6f9ba9219e5c |
|
MD5 | e6966d4b9030543c9e309a1d248d5518 |
|
BLAKE2b-256 | 0a12819dd6fc6239b727e3fc837174267bdaa13369d327c7da5f365508ca8321 |