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

Uploaded Source

File details

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

File metadata

  • Download URL: chython-1.6.tar.gz
  • Upload date:
  • Size: 2.4 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.6.tar.gz
Algorithm Hash digest
SHA256 6a57c46a5e4242b3c215add23b6a0e706106e9a877fc3164a60494716a30d12a
MD5 e7ce116f5cb465e12ca4f634c0fae890
BLAKE2b-256 3826ee365d2d6aeded4e5b8549b77a592ae530ff636781fc99a8e674b542a048

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

1.8

1 file

This release

1.6 This release

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