Peewee is a simple and small ORM. It has few (but expressive) concepts, making it easy to learn and intuitive to use. Peewee will automatically infer the database table name from the name of the class. You can override the default name by specifying a table_name attribute in the inner “Meta” class (alongside the database attribute). To learn more about how Peewee generates table names, refer to the Table Names section. There are lots of field types suitable for storing various types of data. Peewee handles converting between pythonic values and those used by the database, so you can use Python types in your code without having to worry. The real strength of our database is in how it allows us to retrieve data through queries. Relational databases are excellent for making ad-hoc queries. Peewee provides a magical helper fn(), which can be used to call any SQL function.

Features

  • A small, expressive ORM
  • Python 2.7+ and 3.4+ (developed with 3.6)
  • Supports sqlite, mysql, postgresql and cockroachdb
  • Provides tons of extensions
  • Defining models is similar to Django or SQLAlchemy
  • Connect to the database and create tables

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow peewee

peewee Web Site

Other Useful Business Software
Shoplogix Smart Factory Platform Icon
Shoplogix Smart Factory Platform

For manufacturers looking for a powerful Manufacturing Execution solution

Real-time Visibility into Your Shop Floor's Performance. The Shoplogix smart factory platform enables manufacturers to increase overall equipment effectiveness, reduce operational costs, sustain growth and improve profitability by allowing them to visualize, integrate and act on production and machine performance in real-time. Manufacturers that trust us to drive efficiency in their factories. Real-time visual data and analytics provide valuable insights to make better informed decisions. Uncover hidden shop floor potential and drive rapid time to value. Develop a continuously improving culture through training, education and data-driven decisions. Compete in the i4.0 world by making the Shoplogix Smart Factory Platform the cornerstone of your digital transformation. Connect to any equipment or device to automate data collection and exchange it with other manufacturing technologies. Automatically monitor, report and analyze machine states to track real-time production.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of peewee!

Additional Project Details

Programming Language

Python

Related Categories

Python Object-Relational Mapping (ORM) Software

Registered

2021-07-09