Code Monkey home page Code Monkey logo

plotly-dash-ketcher's Introduction

plotly-dash-ketcher

A wrapper for EPAM's ketcher

Currently you have to build it locally with npm run buld and you can then copy the plotly_dash_ketcher directory in your app.

You NEED to use React 18. You can either set the environment variable REACT_VERSION=18.2.0 before running your app, or inside the app call dash._dash_renderer._set_react_version("18.2.0"). (this is still experimental in dash be careful)

Install

pip install plotly_dash_ketcher

Development

Getting Started

  1. Create a new python environment:

    python -m venv venv
    . venv/bin/activate

    Note: venv\Scripts\activate for windows

  2. Install python dependencies:

    pip install -r requirements.txt
  3. Install npm packages:

    1. Optional: use nvm to manage node version:
      nvm install
      nvm use
    2. Install:
      npm install
  4. Build:

    npm run build

Component Code

Publish

If publish on npm:

npm build
npm publish

Justfile

Alternatively, use the provided just commands:

  1. Create a Python environment from previous step 1 and install:
    just install
  2. Build
    just build
  3. Publish
    just publish
  4. See all commands with just -l

plotly-dash-ketcher's People

Contributors

bjonnh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.