P3orm

Latest version: v0.10.3

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.6.2

What's Changed
* 🐛 Auto-Commit SQLite transactions by rafalstapinski in https://github.com/rafalstapinski/p3orm/pull/29


**Full Changelog**: https://github.com/rafalstapinski/p3orm/compare/0.6.1...0.6.2

0.6.1

What's Changed
* ➕ Add dependency extras by rafalstapinski in https://github.com/rafalstapinski/p3orm/pull/22
* 🔖 Version 0.6.1 by rafalstapinski in https://github.com/rafalstapinski/p3orm/pull/23


**Full Changelog**: https://github.com/rafalstapinski/p3orm/compare/0.6.0...0.6.1

0.6.0

Breaking changes
* Removed `Porm` singleton in favor of database-specific drivers

Features
* Added SQLite support. Minimum supported SQLite engine is `3.35.0`
* Updated return type on `Column` to include field type and `_PormField`
* Added "meta tables" which can be used to define a base-entity that itself doesn't have a tablename, but can have base columns such as `id`, `created_at`, etc.

Bug Fixes
* `insert_many` with an empty list is now a no-op instead of raising an error at the database level

**Full Changelog**: https://github.com/rafalstapinski/p3orm/compare/0.5.0...0.6.0

0.5.0

Breaking changes

* `Relationship`s are defined with functions rather than classes
* `Relationship.self_field` and `Relationship.other_field` have been renamed to `self_column` and `other_column` respectively
* `_PormField.name` has been renamed to `_PormField.column_name` for clarity

Features
* Columns no longer require the specification of a column name. If one is not provided, the field name will be used

Bug fixes
* Properly handling optional/nullable columns

0.4.0

Breaking Changes

* `_Porm.fetch_one` and `_Porm.fetch_many` swapped order of arguments

Features

* All `Table` queries now operate using parameterized queries
* `Table.fetch_all` supports `order` and `limit`

0.3.3

Bug fixes

* Introduce a helper function `_load_relationships_for_items` to properly load nested relationships

Page 3 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.