mattrobenolt / mattrobenolt/alloconda

Richer type conversions

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

core
Dominant language
Zig
Stars
7
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Expand fromPy/toPy to support more Zig-native types.

  • Zig tuples ↔ Python tuples (.{ a, b, c })
  • []T ↔ Python lists
  • [N]T fixed arrays ↔ Python lists/tuples
  • Structs ↔ Python dicts
  • []u8 / []const u8 ↔ Python bytes (not str)
  • Buffer protocol / memoryview support
  • Research pyo3 type conversions for feature parity

Contributor guide

Open the contributing guide

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.

Research direction

Locate the fromPy/toPy conversion entry points and inspect the existing Buffer protocol/memoryview support first. Research pyo3 type conversions for feature parity, then use the checklist to define done for tuples, slices, arrays, structs, and byte buffers; the payload names no specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, zig
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.