pyvider-cty 2025-04-19
Built out the wire protocol conversion layer with JSON and msgpack format
11 files · 1,819+ · 178-

New Wire Protocol Layer

1 file changed
  • codec.py Added `conversion/wire.py` (315 lines): Wire protocol conversion handling for encoding/decoding c...
  • Added conversion/wire.py (315 lines): Wire protocol conversion handling for encoding/decoding cty values to/from binary wire format interface errata
    1 file
    • codec.py
  • Added conversion/formats/__init__.py (160 lines): Format registry and factory functions instantiate errata
    1 file
    • __init__.py
  • Added conversion/formats/base.py (144 lines): Abstract base class for format handlers instantiate errata
    1 file
    • base.py
  • Added conversion/formats/json.py (494 lines): JSON format handler for cty value serialization instantiate errata
    1 file
    • json.py
  • Added conversion/formats/msgpack.py (492 lines): MessagePack format handler for binary serialization instantiate errata
    1 file
    • codec.py

Conversion Reorganization

1 file changed
  • __init__.py Updated `conversion/__init__.py` with expanded exports (73 lines)
  • Removed old conversion/json.py (119 lines) in favor of formats/json.py decouple internal
    2 files
    • json.py
    • json.py
  • Updated conversion/__init__.py with expanded exports (73 lines) decouple internal
    1 file
    • __init__.py
  • Enhanced conversion/marshal.py with 50 lines of additions decouple internal
    1 file
    • marshal.py

Exception System Refactor

2 files changed
  • __init__.py `exceptions.py`: 142 lines of changes reorganizing exception hierarchy
  • base.py `exceptions.py`: 142 lines of changes reorganizing exception hierarchy
  • exceptions.py: 142 lines of changes reorganizing exception hierarchy decouple internal
    2 files
    • __init__.py
    • base.py
2 files changed
  • .gitignore Updated `.gitignore` with new exclusions
  • env.sh Updated `env.sh`