GithubHelp home page GithubHelp logo

dethon / show-the-flow Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 453 KB

A small app to draw Sankey charts

License: MIT License

Shell 0.25% Dockerfile 3.60% CSS 8.43% Python 87.71%
dash docker plotly python

show-the-flow's Introduction

Show the Flow

CodeQL Hadolint Testing Publishing License: MIT Codacy Badge Codacy Badge

Fast visualization tool to generate a Sankey graph from a CSV file with path information.

Description

The app can be used both though an UI and an API:

  • API: Documentation can be fount in /docs after launching the application webserver.
  • UI: Accessible in the / path.

There are two options to deploy the application:

Docker

Other than the development one there is a deployment Docker image definition in the Dockerfile. This is the recommended approach, to start the container just type:

docker-compose up -d --build deploy

By default the container will be listening to the port 8190. You can personalize it by editing the .env file.

Run with Poetry

If you have a local Redis server and want to quickly spin up the application for your own use you can also install it and its dependencies in a virtual environment with Poetry. This approach requires python 3.10.

First install Poetry if you don't have it already:

pip install poetry

Then install the application and all its dependencies and run the server:

poetry install
poetry run app

Voila! You should have the application ready and listening on port 8000

show-the-flow's People

Contributors

dethon avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 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.