Socket
Socket
Sign inDemoInstall

django-reactive-framework

Package Overview
Dependencies
1
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    django-reactive-framework

A minimalistic reactive framework for Django Templates


Maintainers
1

Readme

A minimalistic reactive framework for Django Templates.

This project brings Svelete-like thinking for Django Templates. The computation starts at the backend and continues in the frontend.

This project is licensed under the MIT License.

This project is experimental and under development.

Requirements

This package requires:

  • Python>=3.8 (tested in 3.8, 3.9 & 3.10.0-rc.2)
  • Django>=3.1 (tested in 3.1, 3.2 & 3.2.7)

Installation

You can install this package by two ways:

  • The easy way - Type the following to a command line:

      pip install --upgrade https://github.com/Tal500/django-reactive-framework/archive/master.zip
    
  • The deep way (for internal development):

    1. Clone the package:

       git clone https://github.com/Tal500/django-reactive-framework.git
      
    2. Add the path for the repository directory src to your system PYTHONPATH. This way, the python package, which is in src/django_reactive, will be visible.

Kepp in mind that this package is still under development.

Example

You can start see an example by either one of these three methods:

  • (Recomended) Browse the live example in Heroko (might take time to wake up): https://django-reactive-example.herokuapp.com

  • Starting the example server:

    1. Open the command line in the root directory and execute the following:

       python example/manage.py runserver
      

      You may ignore the following migration warning, since we don't use database at all:

       You have 18 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
       Run 'python manage.py migrate' to apply them.
      
    2. Open your browser and browse to:

       http://127.0.0.1:8000/
      
  • Import the example urls to your server (listed in src/django_reactive_framework/urls.py):

    1. Add the following patterns to yout urls.py:

       urlpatterns += [
           path('reactive_example/', include('django_reactive_framework.urls'))
       ]
      
    2. Then, the example will be in the path reactive_example/example/ in your server.

Look more at src/django_reactive/templates/reactive_example.html for the source of the example.

Communication

For any communication you may start a discussion or report an issue in the GitHub page:

https://github.com/Tal500/django-reactive-framework

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc