Skip to main content

A lightweight and modular Python backend framework

Project description

IgniteBoot Framework Documentation

IgniteBoot is a lightweight and modular Python backend framework designed to simplify web application development. It provides support for routing, database modeling, session management, authentication, and plugin-based extensibility.

Table of Contents

  1. Installation
  2. Getting Started
  3. Core Features
  4. Configuration
  5. CLI Commands
  6. License

Installation

  1. Clone the repository:

    git clone https://github.com/m3r0n9/igniteboot.git
    cd igniteboot
    
  2. Install the required dependencies:

    pip install -r requirements.txt
    

https://github.com/m3r0n9/igniteboot/blob/main/README.md

Getting Started

Initialize the Project

Create a new project and generate a configuration file:

python -m ignite.cli init

This creates a default ignite.yaml configuration file in your project directory:

DEBUG: true
DATABASE_URL: "sqlite:///ignite.db"
JWT_SECRET: "ignite-jwt-secret"
plugins_folder: "plugins"

Run the Server

Start the server using the CLI:

python -m ignite.cli runserver

The server will start on http://127.0.0.1:8000 by default.


Core Features

Routing

Define routes in your application using the Router class.

Database Modeling

Define database models using the Model class.

Session Management

Manage sessions with the SessionManager.

Authentication

Handle JWT-based authentication.

Plugins

Add custom functionality using the PluginManager.

Events

Use the event-driven system for decoupled logic.


Configuration

Edit the ignite.yaml file to customize settings:

DEBUG: true
DATABASE_URL: "sqlite:///ignite.db"
JWT_SECRET: "your-secret-key"
PLUGINS_FOLDER: "plugins"

CLI Commands

Initialize Configuration

python -m ignite.cli init

Start the Server

python -m ignite.cli runserver

Database Management

python -m ignite.cli db sync

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

igniteboot-0.1.1.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

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

igniteboot-0.1.1-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file igniteboot-0.1.1.tar.gz.

File metadata

  • Download URL: igniteboot-0.1.1.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.6

File hashes

Hashes for igniteboot-0.1.1.tar.gz
Algorithm Hash digest
SHA256 54ff568f4d723a150c1693872aeae8176f54c121c2a762ddc49d25c1c69bc02b
MD5 340045aae5485919b0f30d56278eb593
BLAKE2b-256 fad200b94d07ea4f6bdbf9b46a7e23b7196cfba1b61abddc085c1fefa3eb46f7

See more details on using hashes here.

File details

Details for the file igniteboot-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: igniteboot-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.6

File hashes

Hashes for igniteboot-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2e5d6605151b7d489d82030dbc7731a61d2bc417a510733a79dfae508b1c0f56
MD5 66b3b8865d859a1e13ddc94a5bdaecba
BLAKE2b-256 5664f31fe13f2d84b3e9f12c7b74f1f3c4a9e5d1543da544c68bf7fd2343a426

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