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

Uploaded Source

File details

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

File metadata

  • Download URL: chython-1.8.tar.gz
  • Upload date:
  • Size: 2.5 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.8.tar.gz
Algorithm Hash digest
SHA256 49e37e4ef4d214648de2f7c4343bf1a05c2f02a24c781820422122765a74f81c
MD5 12ced9a314e328e3497c2cd24b2add11
BLAKE2b-256 f7610d34caacf5c19f44631dcfe4c42e4d4a28397020009d870d306fd01110bb

See more details on using hashes here.

Release history Release notifications | RSS feed

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

This release

1.8 This release

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