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 supported

  • 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

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.22.tar.gz (2.6 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: chython-1.22.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for chython-1.22.tar.gz
Algorithm Hash digest
SHA256 3e9ed178ecb0f8bf866ba06a84a5285d87cc79ce86d01b3d4b41e840104d5db6
MD5 1c327cbe7dd9489b870759a6a74a2882
BLAKE2b-256 354926a1313c6147c0e12725831b85c1bc88b84406aedd3efe4ee5bcbf295caf

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

This release

1.22 This release

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

1.1

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