./databases/py-peewee, Small, expressive ORM for PostgreSQL, MySQL and SQLite

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.0.18, Package name: py27-peewee-3.0.18, Maintainer: filip

Peewee is a simple and small ORM. It has few (but expressive)
concepts, making it easy to learn and intuitive to use.
Supports SQLite, MySQL and PostgreSQL.


Required to run:
[devel/py-cython] [lang/python27]

Required to build:
[textproc/py-sphinx] [pkgtools/cwrappers]

Master sites:

SHA1: dda9174f362bc501dbd03dcc47d99e6bc5ffa6ea
RMD160: 8b86c75463dff3a0347fbd8dee0cf7e3af25f52b
Filesize: 686.705 KB

Version history: (Expand)


CVS history: (Expand)


   2018-02-19 14:08:53 by Filip Hajny | Files touched by this commit (2) | Package updated
Log message:
databases/py-peewee: Update to 3.0.18.

- Improved error messages when attempting to use a database class
  for which the corresponding driver is not installed.
- Added tests showing the use of custom operator (a-la the docs).
- Fixed indentation issue in docs
- Fixed issue with the SQLite date_part issue
   2018-02-13 16:26:10 by Filip Hajny | Files touched by this commit (2) | Package updated
Log message:
databases/py-peewee: Update to 3.0.17.

3.0.17
- Fix schema inheritance regression
- Add helper method to postgres migrator for setting search_path

3.0.16
- Improve model graph resolution when iterating results of a query
- Allow Model._meta.schema to be changed at run-time
   2018-02-08 13:56:10 by Filip Hajny | Files touched by this commit (2) | Package updated
Log message:
databases/py-peewee: Update to 1.0.5.

1.0.5
- Use same schema used for reflection in generated models.
- Preserve pragmas set on deferred Sqlite database if database is
  re-initialized without re-specifying pragmas.

1.0.4
- Fix bug creating model instances on Postgres when model does not
  have a primary key column.
- Extend postgresql reflection to support array types.
   2018-02-07 17:12:08 by Filip Hajny | Files touched by this commit (2) | Package updated
Log message:
Update databases/py-peewee to 3.0.13

3.0.13
- Fix bug where simple field aliases were being ignored.
- More strict about column type inference for postgres + pwiz.

3.0.12
- Fix queries of the form INSERT ... VALUES (SELECT...) so that
  sub-select is wrapped in parentheses.
- Improve model-graph resolution when selecting from multiple tables
  that are joined by foreign-keys, and an intermediate table is
  omitted from selection.
- Docs update to reflect deletion of post_init signal.

3.0.11
- Add note to changelog about cursor() method.
- Add hash method to postgres indexedfield subclasses.
- Add TableFunction to sqlite_ext module namespace.
- Fix bug regarding NOT IN queries where the right-hand-side is an
  empty set.
- Fallback implementations of bm25f and lucene search ranking
  algorithms.
- Fixed DecimalField issue.
- Fixed issue with BlobField when database is a Proxy object.
   2018-02-04 18:07:18 by Filip Hajny | Files touched by this commit (2) | Package updated
Log message:
databases/py-peewee: Update to 3.0.10.

- Fix Database.drop_tables() signature to support cascade argument
- Fix querying documentation for custom functions
- Added len() method to ModelBase for convenient counting.
- Fix bug related to unsaved relation population (thanks @conqp)
- Fix count() on compound select
- Support coerce keyword argument with fn.XXX()
- Support updating existing model instance with dict_to_model-like API
- Fix equality tests with ArrayField
   2018-02-02 17:00:33 by Filip Hajny | Files touched by this commit (4) | Package updated
Log message:
databases/py-peewee: Update to 3.0.9.

3.0.9
- Add deprecation notice if passing autocommit as keyword argument to
  the Database initializer.
- Add JSONPath and "J" helpers to sqlite extension.

3.0.8
- Add support for passing cascade=True when dropping tables.
- Fix issues with backrefs and inherited foreign-keys.

3.0.7
- Add select_extend() method to extend existing SELECT-ion.
- Accept set() as iterable value type
- Add test for model/field inheritance and fix bug relating to
  recursion error when inheriting foreign-key field.
- Fix regression where consecutive calls to ModelSelect.select() with
  no parameters resulted in an empty selection.

3.0.6
- Add constraints for ON UPDATE/ON DELETE to foreign-key constraint

3.0.5
- Adds Model.index(), a short-hand method for declaring ModelIndex
  instances.

3.0.4
- Re-add a shim for PrimaryKeyField (renamed to AutoField) and log a
  deprecation warning if you try to use it

3.0.3
- Includes fix for bug where column-name to field-name translation was
  not being done when running select queries on models whose field
  name differed from the underlying column name.

3.0.2
- Fixes missing pysqlite header files, which are needed to compile
  certain C extensions.

3.0.0
- Complete rewrite of SQL AST and code-generation.
- Inclusion of new, low-level query builder APIs.
- List of backwards-incompatible changes since 2.x:

  http://docs.peewee-orm.com/en/latest/pe … anges.html
   2017-10-13 16:19:05 by Filip Hajny | Files touched by this commit (2) | Package updated
Log message:
Update databases/py-peewee to 2.10.2

2.10.2
- Update travis-ci build scripts to use Postgres 9.6 and test against
  Python 3.6.
- Added support for returning namedtuple objects when iterating over a
  cursor.
- Added support for specifying the "object id" attribute used when
  declaring a foreign key. By default, it is foreign-key-name_id, but
  it can now be customized.
- Fixed small bug in the calculation of search scores when using the
  SQLite C extension or the sqlite_ext module.
- Support literal column names with the dataset module.

2.10.1
- Removed AESEncryptedField.
   2017-05-10 20:24:05 by Filip Hajny | Files touched by this commit (2) | Package updated
Log message:
Update databases/py-peewee to 2.10.0.

- Remove the playhouse.fields.AESEncryptedField over security concerns
  described in ticket #1264.
- Correctly resolve explicit table dependencies when creating tables, refs
- Implement not equals comparison for CompositeKey.