You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
morpheus65535
2b9d892ca9
|
3 years ago | |
---|---|---|
.. | ||
_pysqlite | 3 years ago | |
README.md | 3 years ago | |
__init__.py | 3 years ago | |
_sqlite_ext.pyx | 3 years ago | |
_sqlite_udf.pyx | 3 years ago | |
apsw_ext.py | 3 years ago | |
cockroachdb.py | 3 years ago | |
dataset.py | 3 years ago | |
db_url.py | 3 years ago | |
fields.py | 3 years ago | |
flask_utils.py | 3 years ago | |
hybrid.py | 3 years ago | |
kv.py | 3 years ago | |
migrate.py | 3 years ago | |
mysql_ext.py | 3 years ago | |
pool.py | 3 years ago | |
postgres_ext.py | 3 years ago | |
reflection.py | 3 years ago | |
shortcuts.py | 3 years ago | |
signals.py | 3 years ago | |
sqlcipher_ext.py | 3 years ago | |
sqlite_changelog.py | 3 years ago | |
sqlite_ext.py | 3 years ago | |
sqlite_udf.py | 3 years ago | |
sqliteq.py | 3 years ago | |
test_utils.py | 3 years ago |
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
- Extra fields
- Compressed field
- PickleField
- Shortcuts / helpers
- Model-to-dict serializer
- Dict-to-model deserializer
- Hybrid attributes
- Signals: pre/post-save, pre/post-delete, pre-init.
- Dataset: high-level API for working with databases popuarlized by the project of the same name.
- Key/Value Store: key/value store using SQLite. Supports smart indexing, for Pandas-style queries.
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.