This release is a pre-release and may not be stable for production use.
StereoMolGraph
StereoMolGraph (SMG) is a library for graph representation of molecules and reactions with a focus on Stereochemistry. It provides:
- Graph types for molecules and reactions (with/without stereo and stereo changes)
- Includes non tetrahedral stereocenters and changing stereochemistry in reactions
- Fast approximate hashing via Weisfeiler–Lehman color refinement
- Robust equality/isomorphism via a VF2++-style algorithm extended for stereochemistry and reactions
- Bidirectional conversion from / to RDKit
- Construction from 3D coordinates with automatic local stereo inference
Design philosophy
- Unopinionated about bond orders, charge and electronic state
- SMG focuses just on the connectivity and stereochemistry.
- Stereochemistry describes relative spatial arrangement. No absolute stereochemistry.
- Transparent: Simple 2D visualization in IPython notebooks
RDKit interoperability notes
- Hydrogens must be explicit for bidirectional conversion.
- Supports tetrahedral and non tetrahedral stereochemistry during conversion.
- Bond orders, charges, unpaired electrons and other properties are not used!
Installation
Install from PyPI:
pip install stereomolgraph
Feedback and support
Bug reports are welcome — please open an issue on GitHub. Technical questions and feature requests can be added as discussions.
Issues:
Discussions:
- Q&A: https://github.com/maxim-papusha/StereoMolGraph/discussions/new?category=q-a
- Ideas: https://github.com/maxim-papusha/StereoMolGraph/discussions/new?category=ideas
Citation
If you use StereoMolGraph in your work, please cite the corresponding paper:
License
MIT License — see LICENSE.
Metadata
Release files for StereoMolGraph 0.0.22b0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stereomolgraph-0.0.22b0.tar.gz | 59.9 kB | Without provenance | Details for stereomolgraph-0.0.22b0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stereomolgraph-0.0.22b0-py3-none-any.whl | Python 3 | none | any | Details for stereomolgraph-0.0.22b0-py3-none-any.whl |
Total release size: 129.4 kB
Release files / stereomolgraph-0.0.22b0.tar.gz
| Download URL | stereomolgraph-0.0.22b0.tar.gz |
|---|---|
| Size | 59.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d1c0fd0f7fb2420baa02e51b64cf206b45c2e90c75777a2c1c0e9924414fcb9
|
|
BLAKE2b-256 checksum How to use checksums |
d61bc00f3835938ee0a80f9185046d86ede6ec627a19666be6460ae148440bbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / stereomolgraph-0.0.22b0-py3-none-any.whl
| Download URL | stereomolgraph-0.0.22b0-py3-none-any.whl |
|---|---|
| Size | 69.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2862cc067d543888e5347e8ecdfdbdedb776edf47bde5203e3f1079f0d413ad1
|
|
BLAKE2b-256 checksum How to use checksums |
4b78b7814d82f29baf7e629b9fcf945ca6ff31c516235d7286197ab81b44465a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for StereoMolGraph 0.0.22b0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.