Skip to content

Conversation

@ericpan64
Copy link
Owner

@ericpan64 ericpan64 commented Jul 24, 2025

Closes: #3

Simplified abstractions and focusing on pure Python for now!

ericpan64 and others added 29 commits July 7, 2025 11:29
Before, `Piper` depended on `DataMapping`, though this created a strange
relationship between these classes (e.g. why do you need a `Piper` in
the first place?). This commit cleans-up the relationship:
- `Piper` is now independent: just used for processing transformation
  logic (`dict -> dict`)
- `DataMapping` only goes in a single direction (KISS)
- `DataMapping` takes transformation logic (in a `Piper` class) and
  input + output schema validation
Make more focused and tailored for eventual Rust migration
`chidian_rs` is a bit ambiguous since this isn't the broader Rust
package, rather it's the python-specific Rust helpers.
Focus on python features and Pydantic 2.0, add custom Rust if/when use
cases come up (until then don't over-optimize)
For clarity -- prioritize practicality before getting "cute" with it!
- Replace `>>` operator with `|` operator for partials DSL
- Remove references to Rust core/engine in README (might add back later)
- Solidify chidian's stance as pure Python framework (for now)
@ericpan64 ericpan64 merged commit 663e186 into main Jul 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Code cleanup: abstraction trimming

2 participants