Skip to main content

Chemical structure generator from SMILES strings.

Project description

smiles2mol

Installation

pip install smiles2mol

Usage

Generate Chemical Structure

Specify a SMILES string with the -s or --smiles option.

# e.g.) Ethanol
smiles2mol -s "CCO" -o ethanol.mol

The following formats can be output:

Format Explanation
mol MDL mol file.
mol2 Sybyl mol2 file.
pdb Protein data bank file.
gjf or com Gaussian input file.
orcainp ORCA input file.
svg 2D vector graphics.

Render Chemical Structure

Specifying --render renders the 3D chemical structure using Matplotlib.

smiles2mol -s "CCO" --render

Other options

  • --iter: Specify number of iterations for structural optimization.
  • -v or --version: Display version.
  • -h or --help: Display help.

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

smiles2mol-1.0.2.tar.gz (163.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smiles2mol-1.0.2-py3-none-any.whl (163.6 kB view details)

Uploaded Python 3

File details

Details for the file smiles2mol-1.0.2.tar.gz.

File metadata

  • Download URL: smiles2mol-1.0.2.tar.gz
  • Upload date:
  • Size: 163.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for smiles2mol-1.0.2.tar.gz
Algorithm Hash digest
SHA256 406d442d8e478a20fcf31d9a4c3bddf25487dd98ff4f0f3b7916480867a5db92
MD5 189c9730195aec77ce748f3d751d981e
BLAKE2b-256 0586ede3cb46850b9155011a235947957e755d6b7010b705019da24684a83a73

See more details on using hashes here.

File details

Details for the file smiles2mol-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: smiles2mol-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 163.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for smiles2mol-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e9948b2fd92c7824c42b558aeeb5eea4c905663434b7b46826d741e5b7502e3a
MD5 51e00be1a2bcf3aa4ab70c057b244dc4
BLAKE2b-256 84e85adc683a8a091bd3245edae1a310b2839d05fa3a2ed08c0914020cc4cab6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page