./databases/py-tortoise-orm, Easy async ORM for Python, built with relations in mind

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


Branch: CURRENT, Version: 0.16.21, Package name: py38-tortoise-orm-0.16.21, Maintainer: pkgsrc-users

Tortoise ORM is an easy-to-use asyncio ORM (Object Relational Mapper) inspired
by Django.

Tortoise ORM was build with relations in mind and admiration for the excellent
and popular Django ORM. It's engraved in it's design that you are working not
with just tables, you work with relational data.


Required to run:
[devel/py-setuptools] [time/py-iso8601] [devel/py-uvloop] [lang/python37] [devel/py-typing-extensions] [databases/py-aiosqlite] [time/py-ciso8601] [databases/py-pypika] [textproc/py-rapidjson]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 1a03ea6a99239529b32611a453ce96d60720a117
RMD160: 992edc15bfd966ec4f2e8b5297f9c871bd285244
Filesize: 105.892 KB

Version history: (Expand)


CVS history: (Expand)


   2021-02-05 08:51:22 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-tortoise-orm: updated to 0.16.21

0.16.21
- Fixed validating JSON before decoding.
- Add model method `update_or_create`.
- Add `batch_size` parameter for `bulk_create` method.
- Fix save with F expression and field with source_field.
   2021-01-24 21:10:34 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-tortoise-orm: updated to 0.16.20

0.16.20
- Add model field validators.
- Allow function results in group by.
   2021-01-03 10:57:41 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-tortoise-orm: updated to 0.16.19

0.16.19
- Replace set `TZ` environment variable to `TIMEZONE` to avoid affecting global \ 
timezone.
- Allow passing module objects to `models_paths` param of `Tortoise.init_models()`.
- Implement `PydanticMeta.backward_relations`.
- Allow overriding `PydanticMeta` in `PydanticModelCreator`.
- Fixed make_native typo to make_naive in timezone module
   2020-11-17 10:49:36 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-tortoise-orm: updated to 0.16.18

0.16.18

Support custom function in update.
Add Model.refresh_from_db.
Add timezone support, be careful to upgrade to this version, see docs for details.
Remove aerich in case of cyclic dependency.
   2020-10-26 10:06:53 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-tortoise-orm: updated to 0.16.17

0.16.17
Add on_delete in ManyToManyField.
Support F expression in annotate.
Fix QuerySet.select_related in case of join same table twice.
Integrate Aerich into the install.
   2020-09-29 11:54:38 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-tortoise-orm: updated to 0.16.16

0.16.16
Fixed inconsistency in integrity error exception of FastAPI
add OSError to _get_comments except block
   2020-09-18 15:11:58 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-tortoise-orm: updated to 0.16.15

0.16.15
Make DateField accept valid date str.
Add QuerySet.select_for_update().
check default for not None on pydantic model creation
propagate default to pydantic model
Add QuerySet.select_related().
Add custom attribute name for Prefetch instruction.
Add db_constraint for RelationalField family.
   2020-07-27 08:39:14 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-tortoise-orm: updated to 0.16.14

0.16.14
Make F expression work with QuerySet.filter().
Include py.typed in source distribution.
Added datetime parsing from int for fields.DatetimeField.
get_or_create passes the using_db= on if provided.
Allow custom loop and connection_class parameters to be passed on to asyncpg.