Skip to main content

Fast, Friendly Python Web Framework

Project description

Panther


Requirements

Python 3.10+

Installation


Usage

  • Create Project

    $ panther create
    
  • 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
  • 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
  • MySQL Connection
  • PostgreSQL Connection
  • Set SQLite As Default

Simple Query

  • 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


Download files

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

Source Distribution

panther-0.1.8.tar.gz (10.6 kB view hashes)

Uploaded source

Built Distribution

panther-0.1.8-py3-none-any.whl (13.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page