surreal-orm-lite 0.20.0__tar.gz → 0.20.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/PKG-INFO +6 -6
  2. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/README.md +5 -5
  3. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/pyproject.toml +1 -1
  4. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/src/surreal_orm_lite/__init__.py +1 -1
  5. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/.gitignore +0 -0
  6. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/CHANGELOG.md +0 -0
  7. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/LICENSE +0 -0
  8. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/Makefile +0 -0
  9. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/src/surreal_orm_lite/_sdk.py +0 -0
  10. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/src/surreal_orm_lite/aggregations.py +0 -0
  11. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/src/surreal_orm_lite/auth.py +0 -0
  12. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/src/surreal_orm_lite/concurrency.py +0 -0
  13. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/src/surreal_orm_lite/connection_manager.py +0 -0
  14. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/src/surreal_orm_lite/constants.py +0 -0
  15. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/src/surreal_orm_lite/enum.py +0 -0
  16. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/src/surreal_orm_lite/exceptions.py +0 -0
  17. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/src/surreal_orm_lite/functions.py +0 -0
  18. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/src/surreal_orm_lite/live.py +0 -0
  19. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/src/surreal_orm_lite/model_auth.py +0 -0
  20. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/src/surreal_orm_lite/model_base.py +0 -0
  21. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/src/surreal_orm_lite/py.typed +0 -0
  22. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/src/surreal_orm_lite/q.py +0 -0
  23. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/src/surreal_orm_lite/query_set.py +0 -0
  24. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/src/surreal_orm_lite/signals.py +0 -0
  25. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/src/surreal_orm_lite/surql_literal.py +0 -0
  26. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/src/surreal_orm_lite/transaction.py +0 -0
  27. {surreal_orm_lite-0.20.0 → surreal_orm_lite-0.20.1}/src/surreal_orm_lite/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: surreal-orm-lite
3
- Version: 0.20.0
3
+ Version: 0.20.1
4
4
  Summary: Lightweight Django-style ORM for SurrealDB using the official Python SDK. Async support with Pydantic validation.
5
5
  Project-URL: Homepage, https://github.com/EulogySnowfall/SurrealDB-ORM-lite
6
6
  Project-URL: Documentation, https://github.com/EulogySnowfall/SurrealDB-ORM-lite
@@ -51,7 +51,7 @@ Description-Content-Type: text/markdown
51
51
  # Surreal ORM Lite
52
52
 
53
53
  ![Python](https://img.shields.io/badge/python-3.11%2B-blue)
54
- ![SurrealDB](https://img.shields.io/badge/SurrealDB-2.7.0%20%7C%203.3.0-purple)
54
+ ![SurrealDB](https://img.shields.io/badge/SurrealDB-2.7.0%20%7C%203.3.3-purple)
55
55
  ![SDK](https://img.shields.io/badge/SDK-Official%202.0-green)
56
56
  ![License](https://img.shields.io/badge/license-MIT-blue)
57
57
  [![codecov](https://codecov.io/gh/EulogySnowfall/SurrealDB-ORM-lite/graph/badge.svg)](https://codecov.io/gh/EulogySnowfall/SurrealDB-ORM-lite)
@@ -78,7 +78,7 @@ This ORM is designed to:
78
78
  | Official SDK | surrealdb[pydantic]>=2.0.0,<3.0.0 |
79
79
  | Pydantic | >=2.13.4 |
80
80
 
81
- > **Note**: As of v0.7.0, Surreal ORM Lite targets the SurrealDB Python SDK 2.x (`surrealdb[pydantic]>=2.0.0,<3.0.0`), which supports the SurrealDB 3.x protocol. It is tested against SurrealDB **v2.7.0** and **v3.3.0**; up to v0.19.0 the pins were v2.6.5 and v3.2.4. The 2.x line behaves identically on 2.7.0, and 3.3.0 differs from 3.2.4 in one server behaviour, listed in the behaviour table. SurrealDB 3.1.x is no longer a supported line as of v0.14.0 — the suite is still run against 3.1.5 as a backward-compatibility check, but a regression there does not block a release.
81
+ > **Note**: As of v0.7.0, Surreal ORM Lite targets the SurrealDB Python SDK 2.x (`surrealdb[pydantic]>=2.0.0,<3.0.0`), which supports the SurrealDB 3.x protocol. It is tested against SurrealDB **v2.7.0** and **v3.3.3**; up to v0.19.0 the pins were v2.6.5 and v3.2.4. The 2.x line behaves identically on 2.7.0, and 3.3.0 differs from 3.2.4 in one server behaviour, listed in the behaviour table. SurrealDB 3.1.x is no longer a supported line as of v0.14.0 — the suite is still run against 3.1.5 as a backward-compatibility check, but a regression there does not block a release.
82
82
 
83
83
  ---
84
84
 
@@ -634,7 +634,7 @@ await user.merge(plan="pro", server_values={"updated_at": SurrealFunc.call(Surre
634
634
 
635
635
  `SurrealFunc.call(fn, *args)` builds `fn(arg, …)` from a function name — a plain string or a
636
636
  member of the shipped enums, which give you autocompletion over a **curated catalog whose every
637
- member is tested against SurrealDB 2.7.0 and 3.3.0**:
637
+ member is tested against SurrealDB 2.7.0 and 3.3.3**:
638
638
 
639
639
  | Enum | Covers |
640
640
  | ----------------------- | ---------------------------------------------------------------- |
@@ -1455,7 +1455,7 @@ As of v0.7.0, Surreal ORM Lite uses `surrealdb[pydantic]>=2.0.0,<3.0.0` (Surreal
1455
1455
 
1456
1456
  | SurrealDB Version | SDK Version | Status |
1457
1457
  | ----------------------------- | ----------- | ------------------------------------ |
1458
- | 3.3.0 | 2.0 | ✅ Tested |
1458
+ | 3.3.3 | 2.0 | ✅ Tested |
1459
1459
  | 2.7.0 | 2.0 | ✅ Tested |
1460
1460
  | 3.2.4 | 2.0 | ✅ Compatible (tested up to v0.19.0) |
1461
1461
  | 2.6.5 | 2.0 | ✅ Compatible (tested up to v0.19.0) |
@@ -1487,7 +1487,7 @@ Rows added in v0.20.0 were measured directly on 2.7.0 and 3.3.0.
1487
1487
  | `patch()` / `atomic_append` / `atomic_set_add` / `atomic_remove` / `atomic_increment` | same on both lines (portable `array::*` fns chosen over divergent `+=`/`-=`) | same on both lines | v0.11.0 |
1488
1488
  | `retry_on_conflict` / `SurrealDbConflictError` (retryable conflict) | same type + decorator; conflicts rarer (engine serialises more) | same type + decorator; conflicts are the normal optimistic-MVCC failure | v0.12.0 |
1489
1489
  | `SurrealFunc` / `server_values=` / `extra_vars=` on `save`/`merge` | same on both lines (compiled to portable `CREATE`/`UPDATE … SET`) | same on both lines | v0.13.0 |
1490
- | Shipped function-name enums (`SurrealTimeFunction`, `SurrealCryptoFunction`, …) | every catalogued member verified on 2.7.0 | every catalogued member verified on 3.3.0 | v0.13.0 |
1490
+ | Shipped function-name enums (`SurrealTimeFunction`, `SurrealCryptoFunction`, …) | every catalogued member verified on 2.7.0 | every catalogued member verified on 3.3.3 | v0.13.0 |
1491
1491
  | `server_values` inside a transaction — when the instance sees the computed value | only after commit (buffered; `refresh()` to read it) | immediately (interactive returns the row) | v0.13.0 |
1492
1492
  | `merge(server_values=)` on a missing record / never-created table | server returns no rows → ORM raises `SurrealDbError` | server raises `NotFound` for a missing table → ORM raises the same error | v0.13.0 |
1493
1493
  | Computed fields (`Computed[...]` → `DEFINE FIELD … VALUE`) | same on both lines (DDL, recompute triggers, precedence over client data) | same on both lines | v0.14.0 |
@@ -1,7 +1,7 @@
1
1
  # Surreal ORM Lite
2
2
 
3
3
  ![Python](https://img.shields.io/badge/python-3.11%2B-blue)
4
- ![SurrealDB](https://img.shields.io/badge/SurrealDB-2.7.0%20%7C%203.3.0-purple)
4
+ ![SurrealDB](https://img.shields.io/badge/SurrealDB-2.7.0%20%7C%203.3.3-purple)
5
5
  ![SDK](https://img.shields.io/badge/SDK-Official%202.0-green)
6
6
  ![License](https://img.shields.io/badge/license-MIT-blue)
7
7
  [![codecov](https://codecov.io/gh/EulogySnowfall/SurrealDB-ORM-lite/graph/badge.svg)](https://codecov.io/gh/EulogySnowfall/SurrealDB-ORM-lite)
@@ -28,7 +28,7 @@ This ORM is designed to:
28
28
  | Official SDK | surrealdb[pydantic]>=2.0.0,<3.0.0 |
29
29
  | Pydantic | >=2.13.4 |
30
30
 
31
- > **Note**: As of v0.7.0, Surreal ORM Lite targets the SurrealDB Python SDK 2.x (`surrealdb[pydantic]>=2.0.0,<3.0.0`), which supports the SurrealDB 3.x protocol. It is tested against SurrealDB **v2.7.0** and **v3.3.0**; up to v0.19.0 the pins were v2.6.5 and v3.2.4. The 2.x line behaves identically on 2.7.0, and 3.3.0 differs from 3.2.4 in one server behaviour, listed in the behaviour table. SurrealDB 3.1.x is no longer a supported line as of v0.14.0 — the suite is still run against 3.1.5 as a backward-compatibility check, but a regression there does not block a release.
31
+ > **Note**: As of v0.7.0, Surreal ORM Lite targets the SurrealDB Python SDK 2.x (`surrealdb[pydantic]>=2.0.0,<3.0.0`), which supports the SurrealDB 3.x protocol. It is tested against SurrealDB **v2.7.0** and **v3.3.3**; up to v0.19.0 the pins were v2.6.5 and v3.2.4. The 2.x line behaves identically on 2.7.0, and 3.3.0 differs from 3.2.4 in one server behaviour, listed in the behaviour table. SurrealDB 3.1.x is no longer a supported line as of v0.14.0 — the suite is still run against 3.1.5 as a backward-compatibility check, but a regression there does not block a release.
32
32
 
33
33
  ---
34
34
 
@@ -584,7 +584,7 @@ await user.merge(plan="pro", server_values={"updated_at": SurrealFunc.call(Surre
584
584
 
585
585
  `SurrealFunc.call(fn, *args)` builds `fn(arg, …)` from a function name — a plain string or a
586
586
  member of the shipped enums, which give you autocompletion over a **curated catalog whose every
587
- member is tested against SurrealDB 2.7.0 and 3.3.0**:
587
+ member is tested against SurrealDB 2.7.0 and 3.3.3**:
588
588
 
589
589
  | Enum | Covers |
590
590
  | ----------------------- | ---------------------------------------------------------------- |
@@ -1405,7 +1405,7 @@ As of v0.7.0, Surreal ORM Lite uses `surrealdb[pydantic]>=2.0.0,<3.0.0` (Surreal
1405
1405
 
1406
1406
  | SurrealDB Version | SDK Version | Status |
1407
1407
  | ----------------------------- | ----------- | ------------------------------------ |
1408
- | 3.3.0 | 2.0 | ✅ Tested |
1408
+ | 3.3.3 | 2.0 | ✅ Tested |
1409
1409
  | 2.7.0 | 2.0 | ✅ Tested |
1410
1410
  | 3.2.4 | 2.0 | ✅ Compatible (tested up to v0.19.0) |
1411
1411
  | 2.6.5 | 2.0 | ✅ Compatible (tested up to v0.19.0) |
@@ -1437,7 +1437,7 @@ Rows added in v0.20.0 were measured directly on 2.7.0 and 3.3.0.
1437
1437
  | `patch()` / `atomic_append` / `atomic_set_add` / `atomic_remove` / `atomic_increment` | same on both lines (portable `array::*` fns chosen over divergent `+=`/`-=`) | same on both lines | v0.11.0 |
1438
1438
  | `retry_on_conflict` / `SurrealDbConflictError` (retryable conflict) | same type + decorator; conflicts rarer (engine serialises more) | same type + decorator; conflicts are the normal optimistic-MVCC failure | v0.12.0 |
1439
1439
  | `SurrealFunc` / `server_values=` / `extra_vars=` on `save`/`merge` | same on both lines (compiled to portable `CREATE`/`UPDATE … SET`) | same on both lines | v0.13.0 |
1440
- | Shipped function-name enums (`SurrealTimeFunction`, `SurrealCryptoFunction`, …) | every catalogued member verified on 2.7.0 | every catalogued member verified on 3.3.0 | v0.13.0 |
1440
+ | Shipped function-name enums (`SurrealTimeFunction`, `SurrealCryptoFunction`, …) | every catalogued member verified on 2.7.0 | every catalogued member verified on 3.3.3 | v0.13.0 |
1441
1441
  | `server_values` inside a transaction — when the instance sees the computed value | only after commit (buffered; `refresh()` to read it) | immediately (interactive returns the row) | v0.13.0 |
1442
1442
  | `merge(server_values=)` on a missing record / never-created table | server returns no rows → ORM raises `SurrealDbError` | server raises `NotFound` for a missing table → ORM raises the same error | v0.13.0 |
1443
1443
  | Computed fields (`Computed[...]` → `DEFINE FIELD … VALUE`) | same on both lines (DDL, recompute triggers, precedence over client data) | same on both lines | v0.14.0 |
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "surreal-orm-lite"
3
- version = "0.20.0"
3
+ version = "0.20.1"
4
4
  description = "Lightweight Django-style ORM for SurrealDB using the official Python SDK. Async support with Pydantic validation."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -1,4 +1,4 @@
1
- __version__ = "0.20.0"
1
+ __version__ = "0.20.1"
2
2
 
3
3
  from .aggregations import Aggregation, Avg, Count, Max, Min, Sum
4
4
  from .auth import AuthTokens