pytastic 0.0.5__tar.gz → 0.0.6__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.
- {pytastic-0.0.5 → pytastic-0.0.6}/PKG-INFO +5 -5
- {pytastic-0.0.5 → pytastic-0.0.6}/README.md +4 -4
- {pytastic-0.0.5 → pytastic-0.0.6}/pyproject.toml +1 -1
- {pytastic-0.0.5 → pytastic-0.0.6}/LICENSE +0 -0
- {pytastic-0.0.5 → pytastic-0.0.6}/pytastic/__init__.py +0 -0
- {pytastic-0.0.5 → pytastic-0.0.6}/pytastic/codegen.py +0 -0
- {pytastic-0.0.5 → pytastic-0.0.6}/pytastic/compiler.py +0 -0
- {pytastic-0.0.5 → pytastic-0.0.6}/pytastic/core.py +0 -0
- {pytastic-0.0.5 → pytastic-0.0.6}/pytastic/exceptions.py +0 -0
- {pytastic-0.0.5 → pytastic-0.0.6}/pytastic/schema.py +0 -0
- {pytastic-0.0.5 → pytastic-0.0.6}/pytastic/utils.py +0 -0
- {pytastic-0.0.5 → pytastic-0.0.6}/pytastic/validators.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pytastic
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.6
|
|
4
4
|
Summary: A dependency-free JSON validation library using TypedDict and Annotated
|
|
5
5
|
License-File: LICENSE
|
|
6
6
|
Author: Tersoo
|
|
@@ -33,11 +33,11 @@ Benchmark results (100,000 validation iterations):
|
|
|
33
33
|
|
|
34
34
|
| Library | Time (s) | Ops/sec | Relative |
|
|
35
35
|
|---------|----------|---------|----------|
|
|
36
|
-
| msgspec | 0.
|
|
37
|
-
| **Pytastic** | **0.
|
|
38
|
-
| Pydantic | 0.
|
|
36
|
+
| msgspec | 0.0533 | 1,877,872 | 1.00x |
|
|
37
|
+
| **Pytastic** | **0.1794** | **557,277** | **3.37x** |
|
|
38
|
+
| Pydantic | 0.2002 | 499,381 | 3.76x |
|
|
39
39
|
|
|
40
|
-
**Pytastic
|
|
40
|
+
**Pytastic is faster than Pydantic** Pure Python with zero dependencies!
|
|
41
41
|
|
|
42
42
|
## Installation
|
|
43
43
|
|
|
@@ -16,11 +16,11 @@ Benchmark results (100,000 validation iterations):
|
|
|
16
16
|
|
|
17
17
|
| Library | Time (s) | Ops/sec | Relative |
|
|
18
18
|
|---------|----------|---------|----------|
|
|
19
|
-
| msgspec | 0.
|
|
20
|
-
| **Pytastic** | **0.
|
|
21
|
-
| Pydantic | 0.
|
|
19
|
+
| msgspec | 0.0533 | 1,877,872 | 1.00x |
|
|
20
|
+
| **Pytastic** | **0.1794** | **557,277** | **3.37x** |
|
|
21
|
+
| Pydantic | 0.2002 | 499,381 | 3.76x |
|
|
22
22
|
|
|
23
|
-
**Pytastic
|
|
23
|
+
**Pytastic is faster than Pydantic** Pure Python with zero dependencies!
|
|
24
24
|
|
|
25
25
|
## Installation
|
|
26
26
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|