Skip to main content

Chemical drawing with Python

Project description

applique

Downloads License: GPL v3 Python Versions Code style: black PyPI - Version

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


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.6.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

applique-0.1.6-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file applique-0.1.6.tar.gz.

File metadata

  • Download URL: applique-0.1.6.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for applique-0.1.6.tar.gz
Algorithm Hash digest
SHA256 5c09aa414a3c7a5d65a3fe9e8162e0c1f89235dab700535e1e68f3116c5262a7
MD5 734bf84f37781bac2981d83b2b4a934d
BLAKE2b-256 93a8a1d720d0c07b2c86cbce6fe935ebe0895098c60ee4a00f14b86d287f585c

See more details on using hashes here.

File details

Details for the file applique-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: applique-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for applique-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0d253a01c20646197443fe0e7e0c898bb583d30ae155f793cde884cffc6f66f6
MD5 90cf49e111ecfb8eed0f946a2fb531de
BLAKE2b-256 e9fbb2b4992756eb02f99daec0d6f3f952958ebce87bb1876c36af0913f24159

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