Skip to content

A program that uses the Peewee ORM to allow Python to create and manipulate an SQL database from a CSV file, and back up the database to another CSV file if requested.

Notifications You must be signed in to change notification settings

ethomas1541/Treehouse-Python-Techdegree-Project-4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Treehouse-Python-Techdegree-Project-4

A program that uses the Peewee ORM to allow Python to create and manipulate an SQL database from a CSV file, and back up the database to another CSV file if requested.

Peewee 3.9.4 is required. A virtualenv is not included.

The user can perform any of 4 actions:

V: View an object inside the database using its ID (determined by the built-in PrimaryKeyField())

A: Add an object to the database. Names are unique, so if the user's chosen name for the object conflicts with an existing one, the newer one (the user's) will overwrite the old one.

B: Back up the database to a CSV file. The contents of the database are preserved as completely as possible.

Q: Quit the program after 3 seconds.

About

A program that uses the Peewee ORM to allow Python to create and manipulate an SQL database from a CSV file, and back up the database to another CSV file if requested.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages