Skip to main content

Pulse - Full-stack framework for building real-time React applications in Python

Project description

Pulse

[!WARNING] Pulse is currently very early and absolutely not production-ready. I am currently piloting it for internal usage. I do not recommend it using it for an application at this stage, as project support in the CLI is non-existent and you will likely encounter problems.

Pulse is a full-stack Python framework to build React applications. It aims to be the best way to build complex web applications from Python.

Pulse's guiding principles are:

  • Straightforward code, it's "just Python". Pulse tries really hard to avoid surprises and magic.
  • Performance. Your app should respond to user interactions as fast as the speed of light allows. Your dev workflow should be the same: fast starts and instant reloads.
  • Extremely easy integration with the JavaScript and React ecosystems. Want to install a library and use its React components from Python? Want to add your own custom React components to your project? You got it.

Project structure

A Pulse project has two parts:

  • The Pulse Python server, where most of your application is defined.
  • The React application, using Vite and React Router. Pulse generates routes and runs the app for you, but you are free to modify and extend the project as you wish.

You can see an example in the pulse-demo/ folder. Typically, a Pulse project contains the Python server at the top-level and the React application in a subfolder, named pulse-web/ by default. This is not a prescription however, you can configure Pulse to have the React application anywhere you want it.

Pulse's CLI is currently limited to running the Pulse application, or just generating the Pulse routes in the React application. There are no utilities to help with project setup. If you want to use Pulse, you will need to install the pulse-ui-client package from NPM and the pulse Python package from Git, and imitate the setup in pulse-demo/ yourself.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

pulse_framework-0.1.0.tar.gz (234.6 kB view details)

Uploaded Source

Built Distribution

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

pulse_framework-0.1.0-py3-none-any.whl (119.9 kB view details)

Uploaded Python 3

File details

Details for the file pulse_framework-0.1.0.tar.gz.

File metadata

  • Download URL: pulse_framework-0.1.0.tar.gz
  • Upload date:
  • Size: 234.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for pulse_framework-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3eab81270b3b1ddb28e94053db050ec75b91397d07932821ea3f18e53d9134a4
MD5 0c1c3d1c8f8e13d737952a0b3218b0b9
BLAKE2b-256 4c4228e2ef9b4fc62cf6b5656fa73b4de76e5e8805895b205612746f915a30b3

See more details on using hashes here.

File details

Details for the file pulse_framework-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pulse_framework-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b3d023cf2f6af534b956df5f438dcbcee38761f5aed03921730d2bdcbb0f3e7
MD5 14065e6a03e1a63da74559b02d890f98
BLAKE2b-256 e99b583e5dea3bcb708b3e12aa2b5c840058474fcec8b84ea58e97861e6df3f5

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