1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-27 10:07:22 +00:00
bazarr/libs/playhouse
2022-01-23 23:07:52 -05:00
..
_pysqlite
__init__.py
_sqlite_ext.c Upgraded vendored Python dependencies to the latest versions and removed the unused dependencies. 2022-01-23 23:07:52 -05:00
_sqlite_ext.pyx Upgraded vendored Python dependencies to the latest versions and removed the unused dependencies. 2022-01-23 23:07:52 -05:00
_sqlite_udf.c Upgraded vendored Python dependencies to the latest versions and removed the unused dependencies. 2022-01-23 23:07:52 -05:00
_sqlite_udf.pyx
apsw_ext.py Upgraded vendored Python dependencies to the latest versions and removed the unused dependencies. 2022-01-23 23:07:52 -05:00
cockroachdb.py Upgraded vendored Python dependencies to the latest versions and removed the unused dependencies. 2022-01-23 23:07:52 -05:00
dataset.py Upgraded vendored Python dependencies to the latest versions and removed the unused dependencies. 2022-01-23 23:07:52 -05:00
db_url.py
fields.py Upgraded vendored Python dependencies to the latest versions and removed the unused dependencies. 2022-01-23 23:07:52 -05:00
flask_utils.py
hybrid.py
kv.py
migrate.py
mysql_ext.py Upgraded vendored Python dependencies to the latest versions and removed the unused dependencies. 2022-01-23 23:07:52 -05:00
pool.py
postgres_ext.py
psycopg3_ext.py Upgraded vendored Python dependencies to the latest versions and removed the unused dependencies. 2022-01-23 23:07:52 -05:00
README.md
reflection.py
shortcuts.py Upgraded vendored Python dependencies to the latest versions and removed the unused dependencies. 2022-01-23 23:07:52 -05:00
signals.py
sqlcipher_ext.py Upgraded vendored Python dependencies to the latest versions and removed the unused dependencies. 2022-01-23 23:07:52 -05:00
sqlite_changelog.py
sqlite_ext.py Upgraded vendored Python dependencies to the latest versions and removed the unused dependencies. 2022-01-23 23:07:52 -05:00
sqlite_udf.py
sqliteq.py
test_utils.py

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.