bazarr/libs/playhouse
morpheus65535 2b9d892ca9
Implemented Peewee ORM in replacement of raw SQL queries.
2021-05-26 16:47:14 -04:00
..
_pysqlite Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
README.md Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
__init__.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
_sqlite_ext.pyx Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
_sqlite_udf.pyx Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
apsw_ext.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
cockroachdb.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
dataset.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
db_url.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
fields.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
flask_utils.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
hybrid.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
kv.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
migrate.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
mysql_ext.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
pool.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
postgres_ext.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
reflection.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
shortcuts.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
signals.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
sqlcipher_ext.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
sqlite_changelog.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
sqlite_ext.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
sqlite_udf.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
sqliteq.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00
test_utils.py Implemented Peewee ORM in replacement of raw SQL queries. 2021-05-26 16:47:14 -04:00

README.md

Playhouse

The playhouse namespace contains numerous extensions to Peewee. These include vendor-specific database extensions, high-level abstractions to simplify working with databases, and tools for low-level database operations and introspection.

Vendor extensions

  • SQLite extensions
    • Full-text search (FTS3/4/5)
    • BM25 ranking algorithm implemented as SQLite C extension, backported to FTS4
    • Virtual tables and C extensions
    • Closure tables
    • JSON extension support
    • LSM1 (key/value database) support
    • BLOB API
    • Online backup API
  • APSW extensions: use Peewee with the powerful APSW SQLite driver.
  • SQLCipher: encrypted SQLite databases.
  • SqliteQ: dedicated writer thread for multi-threaded SQLite applications. More info here.
  • Postgresql extensions
    • JSON and JSONB
    • HStore
    • Arrays
    • Server-side cursors
    • Full-text search
  • MySQL extensions

High-level libraries

Database management and framework support

  • pwiz: generate model code from a pre-existing database.
  • Schema migrations: modify your schema using high-level APIs. Even supports dropping or renaming columns in SQLite.
  • Connection pool: simple connection pooling.
  • Reflection: low-level, cross-platform database introspection
  • Database URLs: use URLs to connect to database
  • Test utils: helpers for unit-testing Peewee applications.
  • Flask utils: paginated object lists, database connection management, and more.