mirror of
https://github.com/enpaul/peewee-plus.git
synced 2025-10-28 23:37:28 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
c71b205998
|
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@@ -24,8 +24,6 @@ jobs:
|
||||
toxenv: py310
|
||||
- version: "3.11"
|
||||
toxenv: py311
|
||||
- version: "3.12"
|
||||
toxenv: py312
|
||||
fail-fast: true
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
18
README.md
18
README.md
@@ -49,12 +49,11 @@ import peewee_plus
|
||||
|
||||
### Constants
|
||||
|
||||
`SQLITE_DEFAULT_PRAGMAS` - The default pragmas to use with an SQLite database connection,
|
||||
taken directly from the
|
||||
[Peewee docs](http://docs.peewee-orm.com/en/latest/peewee/database.html#recommended-settings).
|
||||
|
||||
`SQLITE_DEFAULT_VARIABLE_LIMIT` - The maximum number of variables an SQL query can use
|
||||
when using SQLite
|
||||
| `SQLITE_DEFAULT_PRAGMAS` | The default pragmas to use with an SQLite database
|
||||
connection, taken directly from the
|
||||
[Peewee docs](http://docs.peewee-orm.com/en/latest/peewee/database.html#recommended-settings)
|
||||
| | `SQLITE_DEFAULT_VARIABLE_LIMIT` | The maximum number of variables an SQL query can use
|
||||
when using SQLite |
|
||||
|
||||
### Functions
|
||||
|
||||
@@ -68,8 +67,8 @@ without creating nested transactions
|
||||
### Classes
|
||||
|
||||
`PathField` - A Peewee database field for storing
|
||||
[Pathlib](https://docs.python.org/3/library/pathlib.html) objects, optionally relative to
|
||||
a runtime value.
|
||||
[pathlib.Path](https://docs.python.org/3/library/pathlib.html#pathlib.Path) objects,
|
||||
optionally relative to a runtime value.
|
||||
|
||||
`PrecisionFloatField` - A Peewee database field for storing floats while specifying the
|
||||
[MySQL precision parameters](https://dev.mysql.com/doc/refman/8.0/en/floating-point-types.html)
|
||||
@@ -77,7 +76,8 @@ a runtime value.
|
||||
|
||||
`JSONField` - A Peewee database field for storing arbitrary JSON-serializable data
|
||||
|
||||
`EnumField` - A Peewee database field for storing Enums by name
|
||||
`EnumField` - A Peewee database field for storing
|
||||
[`enum.Enum`](https://docs.python.org/3/library/enum.html#enum.Enum) objects by name
|
||||
|
||||
`TimedeltaField` A Peewee database field for natively storing
|
||||
[`datetime.timedelta`](https://docs.python.org/3/library/datetime.html#datetime.timedelta)
|
||||
|
||||
@@ -33,7 +33,7 @@ import peewee
|
||||
|
||||
|
||||
__title__ = "peewee-plus"
|
||||
__version__ = "1.3.1"
|
||||
__version__ = "1.3.0"
|
||||
__license__ = "MIT"
|
||||
__summary__ = "Various extensions, helpers, and utilities for Peewee"
|
||||
__url__ = "https://github.com/enpaul/peewee-plus/"
|
||||
|
||||
1379
poetry.lock
generated
1379
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "peewee-plus"
|
||||
version = "1.3.1"
|
||||
version = "1.3.0"
|
||||
description = "Various extensions, helpers, and utilities for Peewee"
|
||||
authors = ["Ethan Paul <24588726+enpaul@users.noreply.github.com>"]
|
||||
repository = "https://github.com/enpaul/peewee-plus/"
|
||||
@@ -22,7 +22,6 @@ classifiers = [
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Programming Language :: Python :: Implementation :: CPython",
|
||||
"Topic :: Database",
|
||||
"Typing :: Typed"
|
||||
@@ -42,8 +41,6 @@ ruamel-yaml = {version = "^0.17.21", python = "^3.10"}
|
||||
#
|
||||
# https://github.com/python-poetry/poetry-plugin-export/issues/176
|
||||
virtualenv = ">=20.15,<20.16"
|
||||
setuptools = {version = "^68.2.2", python = "^3.12"}
|
||||
pip = {version = "^23.2.1", python = "^3.12"}
|
||||
|
||||
[tool.poetry.group.ci.dependencies]
|
||||
poetry = "^1.4.2"
|
||||
|
||||
5
tox.ini
5
tox.ini
@@ -1,6 +1,6 @@
|
||||
[tox]
|
||||
envlist =
|
||||
py{37,38,39,310,311,312}
|
||||
py{37,38,39,310,311}
|
||||
static
|
||||
static-tests
|
||||
security
|
||||
@@ -19,9 +19,6 @@ commands =
|
||||
--cov-config {toxinidir}/.coveragerc \
|
||||
--cov-report term-missing
|
||||
|
||||
[testenv:.package]
|
||||
basepython = python3.10
|
||||
|
||||
[testenv:static]
|
||||
description = Static formatting and quality enforcement
|
||||
basepython = python3.10
|
||||
|
||||
Reference in New Issue
Block a user