Giter Site home page Giter Site logo

mzy2240 / flashsync Goto Github PK

View Code? Open in Web Editor NEW

This project forked from writer/writer-framework

3.0 0.0 0.0 18.04 MB

Like Streamlit, but fast. A proof-of-concept framework built using Vue3/Vite + FastAPI + WebSockets + MSGPACK

License: Apache License 2.0

JavaScript 0.26% Python 29.62% HTML 0.43% Vue 49.56% Dockerfile 0.33% Shell 0.10% TypeScript 17.83% CSS 1.87%

flashsync's Introduction

What is Streamsync?

Streamsync is an open-source framework for creating data apps. Build user interfaces using a visual editor; write the backend code in Python. Check out a live demo of an app.

Streamsync Builder screenshot

It's fast.

  • Streamsync enables significantly lower response times, when compared to Streamlit.
  • It only runs the user script once.
  • It uses WebSockets to keep frontend and backend states in sync.

It's neat.

  • Streamsync uses state-driven, reactive user interfaces. A data app's user interface is strictly separated from its logic.
  • It uses a consistent yet customisable UI design system.
  • No caching needed; the script runs once and things remain in memory. You can use globals and module attributes to store app-wide data.
  • Predictable flow of execution. Event handlers are plain, easily testable Python functions. No re-runs, no strange decorators.

Installation and Quickstart

Getting started with Streamsync is easy. It works on Linux, Mac and Windows.

pip install streamsync
streamsync hello
  • The first command will install Streamsync using pip.
  • The second command will create a demo application in the subfolder "hello" and start Streamsync Builder, the framework's visual editor, which will be accessible via a local URL.

We recommend using a virtual environment.

Documentation

Documentation is available online at streamsync.cloud.

License

This project is licensed under the Apache 2.0 License.

flashsync's People

Contributors

ramedina86 avatar mzy2240 avatar

Stargazers

José David González avatar  avatar  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.