All Projects â†’ dawidkopczyk â†’ dash-editor-components

dawidkopczyk / dash-editor-components

Licence: MIT license
Simple Python Code Editor in Dash 📜

Programming Languages

python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
r
7636 projects
HTML
75241 projects

Projects that are alternatives of or similar to dash-editor-components

Fitly
Self hosted web analytics for endurance athletes
Stars: ✭ 65 (+71.05%)
Mutual labels:  plotly-dash
Dash Detr
A User Interface for DETR built with Dash. 100% Python.
Stars: ✭ 154 (+305.26%)
Mutual labels:  plotly-dash
Dash.jl
Dash for Julia - A Julia interface to the Dash ecosystem for creating analytic web applications in Julia. No JavaScript required.
Stars: ✭ 248 (+552.63%)
Mutual labels:  plotly-dash
Plotly.py
The interactive graphing library for Python (includes Plotly Express) ✨
Stars: ✭ 10,701 (+28060.53%)
Mutual labels:  plotly-dash
Dash Svm
Interactive SVM Explorer, using Dash and scikit-learn
Stars: ✭ 147 (+286.84%)
Mutual labels:  plotly-dash
Plotly.js
Open-source JavaScript charting library behind Plotly and Dash
Stars: ✭ 14,268 (+37447.37%)
Mutual labels:  plotly-dash
Dash Recipes
A collection of scripts and examples created while answering questions from the greater Dash community
Stars: ✭ 774 (+1936.84%)
Mutual labels:  plotly-dash
2019-nCoV-dash
新型冠状病毒(2019-nCoV)肺炎(COVID-19)疫情展示
Stars: ✭ 13 (-65.79%)
Mutual labels:  plotly-dash
Dash Component Boilerplate
Get started creating your own Dash components here.
Stars: ✭ 149 (+292.11%)
Mutual labels:  plotly-dash
Dash Core Components
A dash component starter pack 🌠
Stars: ✭ 236 (+521.05%)
Mutual labels:  plotly-dash
Dash Sample Apps
Open-source demos hosted on Dash Gallery
Stars: ✭ 2,090 (+5400%)
Mutual labels:  plotly-dash
Docker Flask Gunicorn Nginx
Bootstrap example of a Flask app served via Gunicorn and Nginx using Docker conteiners
Stars: ✭ 138 (+263.16%)
Mutual labels:  plotly-dash
Slapdash
Boilerplate for bootstrapping scalable multi-page Dash applications
Stars: ✭ 225 (+492.11%)
Mutual labels:  plotly-dash
Dash Renderer
OBSOLETE has been merged into dash
Stars: ✭ 88 (+131.58%)
Mutual labels:  plotly-dash
Interactive-Dashboards-and-Data-Apps-with-Plotly-and-Dash
Interactive Dashboards and Data Apps with Plotly and Dash, published by Packt
Stars: ✭ 181 (+376.32%)
Mutual labels:  plotly-dash
Front End
Coronavirus COVID19 US Cases Dashboard
Stars: ✭ 42 (+10.53%)
Mutual labels:  plotly-dash
Dtale
Visualizer for pandas data structures
Stars: ✭ 2,864 (+7436.84%)
Mutual labels:  plotly-dash
gaitutils
Extract and visualize gait data
Stars: ✭ 28 (-26.32%)
Mutual labels:  plotly-dash
covid-19
Coronavirus COVID-19 Dashboard - Global Kaggle Data
Stars: ✭ 31 (-18.42%)
Mutual labels:  plotly-dash
Dash
Analytical Web Apps for Python, R, Julia, and Jupyter. No JavaScript Required.
Stars: ✭ 15,592 (+40931.58%)
Mutual labels:  plotly-dash

dash-editor-components

Python code editor with syntax highlighting in Plotly Dash!

dash-editor-components relies on react simple code editor and prismJS.

Installation

PyPI

You can install dash-editor-components with pip:

pip install dash-editor-components

Motivation

dash-editor-components was created by Quantee, a company providing statistical and data science solutions in the insurance sector. In one of the apps that we provide for our insurance clients, we have created a module to tweak existing machine learning models by editing Python code. This is a by-product of this project and we share it with the community!

Example

Just include PythonEditor component in your app and you are ready to go!

import dash_editor_components
import dash
import dash_html_components as html


app = dash.Dash(__name__)

app.layout = html.Div([
    dash_editor_components.PythonEditor(
        id='input'
    )
])

if __name__ == '__main__':
    app.run_server(debug=True)

pythoneditor

FAQ

  • How can I change the font size?

Just include style={'fontSize': your_value} property, where your_value is for example '16px'.

  • Is it possible to use other prism themes?

dash-editor-components comes with preloaded css for styling, however you can change container__editor and token css with your own stylesheet.

  • How to access current code in PythonEditor in Dash callback?

Just write Dash callback with Input(your_id, 'value') or State(your_id, 'value'), where your_id is ID of PythonEditor component.

Contributing

This project was generated by the dash-component-boilerplate it contains the minimal set of code required to create your own custom Dash component.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].