Skip to main content

Fast, Friendly Python Web Framework

Project description

Panther


Requirements

Python 3.10+

Installation


Usage

  • Create Project

    $ panther create <project_name>
    
  • Run Project

    $ panther run 
    

TODO:

Base

  • Start with Uvicorn
  • Fix URL Routing
  • Read Configs
  • Handle Exceptions
  • Add Custom Logger
  • Request Class
  • Response Class
  • Validate Input
  • Custom Output Model
  • Log Queries
  • Custom Logging
  • Handle Cookie
  • Handle File
  • Handle Form-Data
  • Handle WS
  • Handle GraphQL
  • Add py.typed
  • Add Package Requirements
  • Refactor app call

Database:

  • Structure Of DB Connection
  • SQLite Connection
  • MongoDB Connection
  • Create Custom BaseModel For All Type Of Databases
  • MySQL Connection
  • PostgreSQL Connection
  • Set SQLite As Default

Simple Queries

  • Get One
  • List
  • Create
  • Delete
  • Update
  • Get or Raise
  • Get or Create
  • Test Update

Middleware

  • Add Middlewares To Structure
  • Create BaseMiddleware
  • Pass Custom Parameters To Middlewares
  • Import Custom Middlewares Of User

Authentication

  • Choose Type of Authentication
  • JWT
  • Token Storage
  • Cookie
  • Query Param
  • Store JWT After Logout In Redis

Cache

  • Add Redis To Structure

Throttling

  • Monitor Requests
  • Ban User
  • User Redis For Block His JWT

Migration

  • Add Alembic To Structure
  • Set Custom Name For Migrations
  • Merge Migrations

TUI (for Linux)

  • Create Project with Options
  • Monitor Requests
  • Monitor Query Performance (Time)
  • Monitor Response Time
  • Monitor Fastest & Slowest API
  • Migration
  • Monitor Migration Flow

CLI (for Windows)

  • Create Project
  • Migration

Documentation

  • Read The Doc or MkDoc
  • Framework Performance Ranking

Tests

  • Add Test To Package

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

panther-1.0.5.tar.gz (15.4 kB view hashes)

Uploaded Source

Built Distribution

panther-1.0.5-py3-none-any.whl (18.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page