Elaborate on vision for type checking?

Open
#567 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
pandas, python
Domain
data, tooling

Research direction

This is a design request, not a code change: the issue asks for a written vision for the roadmap's Type Hints and Static Analysis section, including a proposed pb.ValidatedFrame wrapper and MyPy/Pyright plugin. Start by reading that roadmap section and the existing validation entry points, then check how the Polars and pandas integrations work today. Done means a design proposal with example usage that the maintainer (@rich-iannone) has reviewed and agreed on, before any implementation begins.

Written by the indexing model from the issue text.

Description

Type: ⁇ Question

In the roadmap I see this --

Type Hints & Static Analysis

Enable static type checking for validated data.

  • pb.ValidatedFrame wrapper with schema tracking
  • Schema-aware type stubs for IDE support
  • MyPy/Pyright plugin for static validation hints
  • Integration with Polars/Pandas type systems
  • Autocomplete for validated column names

--

I'm interested in implementing, but how should I be thinking about this? Would you mind mocking up an example or two of how you could envision this in reality? I know there is a pyrefly implementation of rudimentary schema tracking in polars, unsure if that's just orthogonal. @rich-iannone

Dominant language
Python
Stars
506
Forks
42
Avg merge
5h 46m
Merged PRs (30d)
89

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from posit-dev/pointblank

All issues in posit-dev/pointblank

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.