typedframes 0.14.2__tar.gz → 0.14.3__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.
- {typedframes-0.14.2 → typedframes-0.14.3}/PKG-INFO +6 -5
- {typedframes-0.14.2 → typedframes-0.14.3}/README.md +5 -4
- {typedframes-0.14.2 → typedframes-0.14.3}/pyproject.toml +3 -1
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/Cargo.lock +2 -2
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/Cargo.toml +1 -1
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/python/Cargo.toml +1 -1
- typedframes-0.14.3/rust/python-data/scripts/typedframes-py +4 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/src/typedframes/__init__.py +1 -1
- {typedframes-0.14.2 → typedframes-0.14.3}/src/typedframes/_binary.py +5 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/.cargo/config.toml +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/LICENSE +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/README.md +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/benches/parser_bench.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/build.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/python/build.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/python/src/lib.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/apply.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/ast_extract.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/call_usage.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/cli/args.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/cli/cache.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/cli/check.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/cli/collect.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/cli/config.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/cli/coverage.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/cli/mod.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/cli/pathutil.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/cli/pyfmt.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/cli/report.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/cli/style.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/cli/suggest.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/column_consuming_methods.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/column_usage.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/config.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/constants.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/contract.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/engine.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/errors.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/fast_hash.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/frame_ops.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/helpers.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/index.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/lib.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/library_names.txt +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/linter.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/main.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/notebook.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/parallel.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/phrase.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/report.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/report_minimize.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/report_names.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/sql.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/static_eval.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/suggest.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/typo.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/src/words.txt +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/tests/cli.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/rust/tests/integration_test.rs +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/src/typedframes/__main__.py +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/src/typedframes/_rust.pyi +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/src/typedframes/base_schema.py +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/src/typedframes/column.py +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/src/typedframes/column_group.py +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/src/typedframes/column_group_error.py +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/src/typedframes/column_set.py +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/src/typedframes/missing_dependency_error.py +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/src/typedframes/mypy.py +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/src/typedframes/pandera.py +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/src/typedframes/py.typed +0 -0
- {typedframes-0.14.2 → typedframes-0.14.3}/src/typedframes/schema_algebra.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: typedframes
|
|
3
|
-
Version: 0.14.
|
|
3
|
+
Version: 0.14.3
|
|
4
4
|
Classifier: Development Status :: 3 - Alpha
|
|
5
5
|
Classifier: Intended Audience :: Developers
|
|
6
6
|
Classifier: License :: OSI Approved :: MIT License
|
|
@@ -44,7 +44,7 @@ Project-URL: Repository, https://github.com/w-martin/typedframes
|
|
|
44
44
|
|
|
45
45
|
> ⚠️ **Project Status: Proof of Concept**
|
|
46
46
|
>
|
|
47
|
-
> `typedframes` (v0.14.
|
|
47
|
+
> `typedframes` (v0.14.3) is currently an experimental proof-of-concept. The core static analysis and mypy/Rust
|
|
48
48
|
> integrations work, but expect rough edges. The codebase prioritizes demonstrating the viability of static DataFrame
|
|
49
49
|
> column checking over production-grade stability.
|
|
50
50
|
>
|
|
@@ -145,7 +145,8 @@ Where the Python interpreter may run code but no other executable may be started
|
|
|
145
145
|
the wheel, instead of starting the `typedframes` executable. Results and exit status are the same; when the checker is
|
|
146
146
|
asked to capture its output (as the mypy plugin does), a usage error or a missing path comes back with it, and any
|
|
147
147
|
warning a command prints still goes to the terminal. Without the extension installed (for example from a source
|
|
148
|
-
distribution) `TYPEDFRAMES_INPROC=1` is an error.
|
|
148
|
+
distribution) `TYPEDFRAMES_INPROC=1` is an error. The `typedframes-py` command always runs in the interpreter, without
|
|
149
|
+
the variable.
|
|
149
150
|
|
|
150
151
|
---
|
|
151
152
|
|
|
@@ -514,7 +515,7 @@ repos:
|
|
|
514
515
|
name: typedframes check
|
|
515
516
|
entry: typedframes check . --strict
|
|
516
517
|
language: python
|
|
517
|
-
additional_dependencies: ["typedframes==0.14.
|
|
518
|
+
additional_dependencies: ["typedframes==0.14.3"]
|
|
518
519
|
types_or: [python, jupyter]
|
|
519
520
|
pass_filenames: false
|
|
520
521
|
```
|
|
@@ -563,7 +564,7 @@ The action installs the PyPI wheel into a throwaway virtualenv and runs the chec
|
|
|
563
564
|
| Input | Default | |
|
|
564
565
|
|-------|---------|-|
|
|
565
566
|
| `path` | `.` | File or directory to check |
|
|
566
|
-
| `version` | `latest` | PyPI version to install, e.g. `"0.14.
|
|
567
|
+
| `version` | `latest` | PyPI version to install, e.g. `"0.14.3"` |
|
|
567
568
|
| `strict` | `true` | Fail the step on errors — `typedframes check` exits 0 without it |
|
|
568
569
|
| `coverage-fail-under` | *(unset)* | Minimum DataFrame schema coverage, e.g. `"90"` |
|
|
569
570
|
| `coverage-detail` | `summary` | Or `term-missing` for the per-file breakdown, `explain` to diagnose a lower-than-expected total |
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> ⚠️ **Project Status: Proof of Concept**
|
|
10
10
|
>
|
|
11
|
-
> `typedframes` (v0.14.
|
|
11
|
+
> `typedframes` (v0.14.3) is currently an experimental proof-of-concept. The core static analysis and mypy/Rust
|
|
12
12
|
> integrations work, but expect rough edges. The codebase prioritizes demonstrating the viability of static DataFrame
|
|
13
13
|
> column checking over production-grade stability.
|
|
14
14
|
>
|
|
@@ -109,7 +109,8 @@ Where the Python interpreter may run code but no other executable may be started
|
|
|
109
109
|
the wheel, instead of starting the `typedframes` executable. Results and exit status are the same; when the checker is
|
|
110
110
|
asked to capture its output (as the mypy plugin does), a usage error or a missing path comes back with it, and any
|
|
111
111
|
warning a command prints still goes to the terminal. Without the extension installed (for example from a source
|
|
112
|
-
distribution) `TYPEDFRAMES_INPROC=1` is an error.
|
|
112
|
+
distribution) `TYPEDFRAMES_INPROC=1` is an error. The `typedframes-py` command always runs in the interpreter, without
|
|
113
|
+
the variable.
|
|
113
114
|
|
|
114
115
|
---
|
|
115
116
|
|
|
@@ -478,7 +479,7 @@ repos:
|
|
|
478
479
|
name: typedframes check
|
|
479
480
|
entry: typedframes check . --strict
|
|
480
481
|
language: python
|
|
481
|
-
additional_dependencies: ["typedframes==0.14.
|
|
482
|
+
additional_dependencies: ["typedframes==0.14.3"]
|
|
482
483
|
types_or: [python, jupyter]
|
|
483
484
|
pass_filenames: false
|
|
484
485
|
```
|
|
@@ -527,7 +528,7 @@ The action installs the PyPI wheel into a throwaway virtualenv and runs the chec
|
|
|
527
528
|
| Input | Default | |
|
|
528
529
|
|-------|---------|-|
|
|
529
530
|
| `path` | `.` | File or directory to check |
|
|
530
|
-
| `version` | `latest` | PyPI version to install, e.g. `"0.14.
|
|
531
|
+
| `version` | `latest` | PyPI version to install, e.g. `"0.14.3"` |
|
|
531
532
|
| `strict` | `true` | Fail the step on errors — `typedframes check` exits 0 without it |
|
|
532
533
|
| `coverage-fail-under` | *(unset)* | Minimum DataFrame schema coverage, e.g. `"90"` |
|
|
533
534
|
| `coverage-detail` | `summary` | Or `term-missing` for the per-file breakdown, `explain` to diagnose a lower-than-expected total |
|
|
@@ -4,7 +4,7 @@ build-backend = "maturin"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "typedframes"
|
|
7
|
-
version = "0.14.
|
|
7
|
+
version = "0.14.3"
|
|
8
8
|
description = "Static analysis for pandas and polars DataFrames. Catch column errors at lint-time, not runtime."
|
|
9
9
|
keywords = ["pandas", "polars", "type-checking", "static-analysis", "dataframe", "linter", "mypy-plugin"]
|
|
10
10
|
readme = "README.md"
|
|
@@ -47,6 +47,8 @@ python-source = "src"
|
|
|
47
47
|
# The wheel carries the Rust `typedframes` executable (installed as a script) next to the Python package.
|
|
48
48
|
bindings = "bin"
|
|
49
49
|
module-name = "typedframes"
|
|
50
|
+
# `typedframes-py`: a Python script installed beside the executable, which maturin cannot declare as an entry point.
|
|
51
|
+
data = "rust/python-data"
|
|
50
52
|
# The cargo config carries the allocator tuning, so a build from the sdist is tuned too.
|
|
51
53
|
include = [
|
|
52
54
|
{ path = "src/typedframes/_rust.*", format = "wheel" },
|
|
@@ -1469,7 +1469,7 @@ checksum = "7d56353a2a665ad0f41a421187180aab746c8c325620617ad883a99a1cbe66d2"
|
|
|
1469
1469
|
|
|
1470
1470
|
[[package]]
|
|
1471
1471
|
name = "typedframes_checker"
|
|
1472
|
-
version = "0.14.
|
|
1472
|
+
version = "0.14.3"
|
|
1473
1473
|
dependencies = [
|
|
1474
1474
|
"anyhow",
|
|
1475
1475
|
"clap",
|
|
@@ -1491,7 +1491,7 @@ dependencies = [
|
|
|
1491
1491
|
|
|
1492
1492
|
[[package]]
|
|
1493
1493
|
name = "typedframes_python"
|
|
1494
|
-
version = "0.14.
|
|
1494
|
+
version = "0.14.3"
|
|
1495
1495
|
dependencies = [
|
|
1496
1496
|
"pyo3",
|
|
1497
1497
|
"pyo3-build-config",
|
|
@@ -113,3 +113,8 @@ def main() -> None:
|
|
|
113
113
|
sys.exit(run_binary(sys.argv[1:]).returncode)
|
|
114
114
|
binary = str(find_binary())
|
|
115
115
|
os.execv(binary, [binary, *sys.argv[1:]])
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
def main_in_process() -> None:
|
|
119
|
+
"""Entry point for `typedframes-py`: always the checker inside this process, never the executable."""
|
|
120
|
+
sys.exit(_extension().main(["typedframes", *sys.argv[1:]]))
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|