thepushkarp / small-db-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simplified Book Management App

Overview

This project is a simplified demonstration of using SQLAlchemy in Python to manage a book database. It includes basic operations such as adding and retrieving books.

Setup

Requirements

  • Python 3
  • SQLAlchemy

Installation

  1. Install the required packages: pip install -r requirements.txt
  2. Run the application: python app.py

SQL Schema

The schema.sql file contains the SQL commands to create the books table and insert sample data.

Application Details

app.py demonstrates how to use SQLAlchemy for basic database operations. It includes a simple Book model and functions for adding and retrieving books from the database.

About


Languages

Language:Python 100.0%