Skip to main content

Dash Ketcher is a component allowing to use Ketcher molecules drawer in Dash.

Project description

Dash Ketcher

About Ketcher

Ketcher is an open-source web-based chemical structure editor available on https://lifescience.opensource.epam.com/ketcher/

About Dash Ketcher

Dash Ketcher is a Dash component library, allowing to use Ketcher in Dash.

Currently, interactions include:

  • output the current drawn structure as a SMILES string,
  • draw the structure corresponding to a provided SMILES string.

Other functionalities will be implemented later.

Get started

All the commands below are given for a regular python installation on Linux-based systems, and can be adapted to other systems or conda-based installation.

  1. Create a local environment

    This step is optional but highly recommended to avoid conflicts with the base environment.

    $ virtualenv venv
    $ . venv/bin/activate
    

    Note: venv\Scripts\activate for windows

  2. Install dash_ketcher

    Dash Ketcher can be installed from PyPI or Github repository.

    • From PyPi

      $ pip install dash_ketcher
      
    • From GitHub

      $ pip install git+https://dash_ketcher
      
  3. Download Ketcher

    Download Ketcher's standalone version >= 3.2 and add it to your Dash project, e.g. in assets/

  4. Adapt & use the code

    • Using the provided exemple

      1. Adapt usage.py with your local settings, notably with the path to your local Ketcher standalone
      2. Run python usage.py
      3. Visit http://localhost:8050 in your web browser to test it
    • Using your own code or Dash app

      Import dash_ketcher and use it as shown in usage.py

Contributing

Everyone is welcome to contribute and send pull requests. This package was initially generated using the dash-component-boilerplate

Copyright

2025-present Philippe Gantzer

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

dash_ketcher-0.1.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dash_ketcher-0.1-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file dash_ketcher-0.1.tar.gz.

File metadata

  • Download URL: dash_ketcher-0.1.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for dash_ketcher-0.1.tar.gz
Algorithm Hash digest
SHA256 6051f1a1cad6d17a9402eb8bd99bb8b22f42c2a509fc4705794703fffae6da3a
MD5 4ed10b44d09d3011c7395dc4f52211fa
BLAKE2b-256 6a967fe54360e0964d016b9149071849ffc454e98028c03b32e4256b6615fa4b

See more details on using hashes here.

File details

Details for the file dash_ketcher-0.1-py3-none-any.whl.

File metadata

  • Download URL: dash_ketcher-0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for dash_ketcher-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a83f5f9de138c1277f4f82377b0119d772f43e93b6d9a7f82d0edc48dcace493
MD5 fb6686d0fa65b2699557118933240fe1
BLAKE2b-256 5d4081af6609becc9711ec38651d98b98c027f400abdc3c7cee1bca56a2d85f3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page