Skip to main content

Firenado is a python web framework based on Tornado web framework/server.

Project description

Firenado Framework

Latest PyPI version Number of PyPI downloads Build Status GitHub license

Introduction

Firenado is a Python web framework that encapsulates and extends Tornado organizing the application in components also adding a server side session layer, yaml based configuration files as other features common that will help developers building web applications and services.

Firenado is a web framework that extends the original Tornado Web framework adding new features like loose couple components, server side session layer, yaml based configuration files and more.

Installation

Installing Firenado will only force the installation of pyyaml, Tornado and six. We call it the basic installation:

pip install firenado

It is possible to install extra packages as redis-py, sqlalchemy and pexpect.

Installing only redis-py:

pip install firenado[redis]

Installing only redis-py:

pip install firenado[sqlalchemy pexpect]

Installing only redis (redis-py, hiredis):

pip install firenado[sqlalchemy pexpect]

Installing redis and schedule(croniter):

pip install firenado[redis schedule]

Complete installation(what it is being the case, everytime):

pip install firenado[all]

In the future, the installation logic will be inverted. Redis and pexpect will be added by default, and disabling them using optional parameters.

The sqlalchemy and schedule(croniter) optionals will remain as is.

With that change if you want just add schedule to the redis and pexpect:

pip install firenado[schedule]

Maybe you want an agent with scheduled features and no redis:

pip install firenado[schedule noredis]

Or don't need ProcessLaucher but sqlalchemy support:

pip install firenado[sqlalchemy nopexpect]

See: #401

Usage

Creating and running a new application:

firenado project init helloworld
cd helloworld
firenado app run

An application will be created with the redis based session engine and a redis data source linked to the session.

Firenado won't install redis-py so it is necessary to inform the extra requirement parameter or install it separately. It is possible to change the session to a file based engine or disable the session engine completely.

In order to change the session type to file go to helloworld/conf/firenado.yml and change the session definition to:

# Session types could be:
# file or redis.
session:
  type: file
  enabled: true
  # Redis session handler configuration
  #data:
  #  source: session
  # File session handler related configuration
  path: /tmp

If your helloworld project isn't located in the python path just go helloworld/conf/firenado.yml and changed it to:

app:
  component: helloworld
  data:
    sources:
        # Set here references from sources defined on data.sources
        - session
  pythonpath: ..
  port: 8888

Support

Firenado is one of Candango Open Source Group initiatives. It is available under the Apache License, Version 2.0 .

This web site and all documentation is licensed under Creative Commons 3.0.

Project details


Download files

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

Source Distribution

Firenado-0.9.0a2.tar.gz (63.6 kB view details)

Uploaded Source

Built Distribution

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

Firenado-0.9.0a2-py3-none-any.whl (91.7 kB view details)

Uploaded Python 3

File details

Details for the file Firenado-0.9.0a2.tar.gz.

File metadata

  • Download URL: Firenado-0.9.0a2.tar.gz
  • Upload date:
  • Size: 63.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for Firenado-0.9.0a2.tar.gz
Algorithm Hash digest
SHA256 f36f194103cea5897a82da4274249db81d87f67adec11c9677aa7debbc3926c5
MD5 879ab213bc98730bc2f4ff290104e6f6
BLAKE2b-256 acb5c53b58c0c417833bf427f62d0bcec477d8c0b6645ca72f2a4bbac3c4dfbf

See more details on using hashes here.

File details

Details for the file Firenado-0.9.0a2-py3-none-any.whl.

File metadata

  • Download URL: Firenado-0.9.0a2-py3-none-any.whl
  • Upload date:
  • Size: 91.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for Firenado-0.9.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 2c8352d5d35fb7c4403f8b3d04069e05d56c324a37a8917eb11adc1895db928b
MD5 215ae6b8a393dbd6a66a2c857a91a2ec
BLAKE2b-256 bb181e8e36c69d71619e86673bb63b93659d4610e0765cdc16a56b6334be8af1

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