Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 811 Bytes

File metadata and controls

15 lines (12 loc) · 811 Bytes

TinyDB: A Lightweight JSON Database for Small Projects

This repository contains the downloadable code for the Real Python tutorial: TinyDB: A Lightweight JSON Database for Small Projects

Contents

  • create_db.py — Code from the CREATE section of the tutorial
  • read.py — Code from the READ section of the tutorial
  • update_db.py — Code from the UPDATE section of the tutorial
  • update_db_v2.py — Additional update code from the UPDATE section
  • update_db_v3.py — Additional update code from the UPDATE section
  • delete.py — Code from the DELETE section of the tutorial
  • countries_file.csv — CSV data used to create TinyDB documents
  • ten_countries.json — Sample JSON file containing data for ten countries