Skip to main content

PostgreSQL Flask default templates - College Management, Auth Log, Admission, Custom

Project description

psql-temp

PostgreSQL Flask Default Templates - Ready-to-use templates for Flask applications with PostgreSQL.

Developed BY Tamilselvan Cyber security Researcher

Templates

  1. College Management System - Departments, students, faculty management
  2. Authentication Log Management - Login/logout, auth logs, activity tracking
  3. College Admission Registrations - Courses, applicants, application forms
  4. Custom Template - Choose options 1-3, add custom fields, generate template

Installation

cd psql
pip install -e .

Usage

Interactive CLI

psql-temp
  • Select template 1-4
  • For Custom (4): Choose from options 1, 2, 3; enter 0 to add custom options; Y to create

Direct Template Selection

psql-temp 1 -o ./my_project     # College Management
psql-temp 2 -o ./auth_project   # Auth Log
psql-temp 3 -o ./admission      # Admission
psql-temp --custom              # Custom builder

Run Templates (in package directory)

python run_template.py college_management
python run_template.py auth_log
python run_template.py admission

Python Usage

from psql_temp import create_app
from psql_temp.db import get_db_connection

app = create_app('college_management')  # or 'auth_log', 'admission', 'custom'

Environment

Copy .env.example to .env:

DATABASE_URL=postgresql://user:password@localhost:5432/dbname
FLASK_SECRET_KEY=your-secret-key

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

psql_temp-1.0.0.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

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

psql_temp-1.0.0-py3-none-any.whl (33.6 kB view details)

Uploaded Python 3

File details

Details for the file psql_temp-1.0.0.tar.gz.

File metadata

  • Download URL: psql_temp-1.0.0.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for psql_temp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 42fda6a354c4e87f28bcef82f4ab1a3e3273dac0535bfc8de8cf6874d512d46f
MD5 dea04c170ab3e824a0882e5482fae947
BLAKE2b-256 e5c53f1a3ff6f9f11c7d71dd639a0ad0b8fd155f54cac148cd3d01dc148486b7

See more details on using hashes here.

File details

Details for the file psql_temp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: psql_temp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 33.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for psql_temp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 60538e4c4d408530583b668c07dbec189ba539873815b243d5c831ab83125abc
MD5 32f87090149f66b0b264e6502df51188
BLAKE2b-256 91d8627266e4656f98eb49fdec5736393ac836922e4e7a8542f6343b628f8e55

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