Skip to main content

Chython [ˈkʌɪθ(ə)n]

Library for processing molecules and reactions in python way.

Features:
  • Read/write/convert formats: MDL .RDF (.RXN) and .SDF (.MOL), .MRV, SMILES, INCHI (inchi-trust library), .XYZ, .PDB

  • Standardize molecules and reactions and valid structures checker

  • Supported python-magic

  • Tetrahedron, Allene and CIS-TRANS stereo supporting

  • Perform subgraph search

  • Build/edit molecules and reactions

  • Produce template based reactions and molecules

  • Atom-to-atom mapping checker and rule-based fixer

  • Perform MCS search

  • 2d coordinates generation (based on SmilesDrawer)

  • 2d/3d depiction

  • Produce CGRs (Condensed Graph of Reaction)

Full documentation can be found here.

Chython is fork of CGRtools.

INSTALL

Only python 3.8+.

Note: for using clean2d install NodeJS into system.

  • stable version available through PyPI:

    pip install chython
  • Install chython library DEV version for features that are not well tested:

    pip install -U git+https://github.com/chython/chython.git@master#egg=chython

TESTS

Run unit tests:

git clone https://github.com/chython/chython.git && cd chython  # skip if already got sources
pip install -e .
pytest --pyargs chython

CONTRIBUTORS

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chython-1.1.tar.gz (2.3 MB view details)

Uploaded Source

File details

Details for the file chython-1.1.tar.gz.

File metadata

  • Download URL: chython-1.1.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.10

File hashes

Hashes for chython-1.1.tar.gz
Algorithm Hash digest
SHA256 41625dc5268412e7311054cff16a6da894ec197b2a82fe645be6398295e57087
MD5 d0bbc5a861183b7135220730902b489a
BLAKE2b-256 6047f22f42c607c8a04bfb5836ffe244b0c2f39878638aeae5cbd09b8cf0534d

See more details on using hashes here.

Release history Release notifications | RSS feed

3.0.2

21 files

2.24

20 files

2.22

20 files

2.21

20 files

2.20

20 files

2.19

15 files

2.18

9 files

2.17

9 files

2.16

9 files

2.15.1

9 files

2.13

9 files

2.12

9 files

2.11.1

9 files

2.11

9 files

2.10

9 files

2.9.1

9 files

2.8.1

9 files

2.7.2

14 files

2.6

9 files

2.5

9 files

2.4

13 files

2.3

12 files

1.78

12 files

1.75

12 files

1.70

16 files

1.68

7 files

1.64.1

1 file

1.64

6 files

1.57

7 files

1.54

7 files

1.48.1

7 files

1.45

7 files

1.44

4 files

1.42

1 file

1.41

1 file

1.38

1 file

1.36

1 file

1.34

1 file

1.33

1 file

1.31

1 file

1.27

1 file

1.23

1 file

1.22

1 file

1.20

1 file

1.19

1 file

1.17

1 file

1.16.1

1 file

1.15

1 file

1.11.1

1 file

1.10

1 file

1.8

1 file

1.6

1 file

This release

1.1 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page