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.1.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.1-py3-none-any.whl (163.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: smiles2mol-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 b5a42cc6391094d9861193c27019a11e781ffdca189924b94baf0292b6c65e0b
MD5 a74ba5d0b45cd2837225615adebde052
BLAKE2b-256 86c3a653f5c171c92609420938697eb13cb558d2db71611ce54b0fc1508794d7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: smiles2mol-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eb99456c8023af22dd441eed72b9a0e359a7db7c805099e26564fc7be713399a
MD5 2eba4b61b2618634d5503ca7c4efc3c8
BLAKE2b-256 f43334a30bbdda8caf56d8c8d743475eff30fdf3814ed72e93af9fb29e98f913

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