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
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
smiles2mol-1.0.1.tar.gz
(163.1 kB
view details)
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
smiles2mol-1.0.1-py3-none-any.whl
(163.6 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5a42cc6391094d9861193c27019a11e781ffdca189924b94baf0292b6c65e0b
|
|
| MD5 |
a74ba5d0b45cd2837225615adebde052
|
|
| BLAKE2b-256 |
86c3a653f5c171c92609420938697eb13cb558d2db71611ce54b0fc1508794d7
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb99456c8023af22dd441eed72b9a0e359a7db7c805099e26564fc7be713399a
|
|
| MD5 |
2eba4b61b2618634d5503ca7c4efc3c8
|
|
| BLAKE2b-256 |
f43334a30bbdda8caf56d8c8d743475eff30fdf3814ed72e93af9fb29e98f913
|