pyvider 2025-05-25
Massive restructuring and cleanup day with 7 commits touching 126 files
126 files · 6,498+ · 1,960-

Package Infrastructure Across All Sub-Packages

22 files changed
  • LICENSE Added `pyvider-core/LICENSE` (Apache 2.0), `pyvider-core/__init__.py`, `pyvider-core/src/__init__...
  • __init__.py Added `pyvider-core/LICENSE` (Apache 2.0), `pyvider-core/__init__.py`, `pyvider-core/src/__init__...
  • __init__.py Added `pyvider-core/LICENSE` (Apache 2.0), `pyvider-core/__init__.py`, `pyvider-core/src/__init__...
  • __init__.py Added `pyvider-core/LICENSE` (Apache 2.0), `pyvider-core/__init__.py`, `pyvider-core/src/__init__...
  • __init__.py Added `pyvider-core/LICENSE` (Apache 2.0), `pyvider-core/__init__.py`, `pyvider-core/src/__init__...
  • .pyre_configuration Added `pyvider-cty/.pyre_configuration`, `pyvider-cty/.python-version`, `pyvider-cty/Dockerfile`,...
  • .python-version Added `pyvider-cty/.pyre_configuration`, `pyvider-cty/.python-version`, `pyvider-cty/Dockerfile`,...
  • Dockerfile Added `pyvider-cty/.pyre_configuration`, `pyvider-cty/.python-version`, `pyvider-cty/Dockerfile`,...
  • LICENSE.md Added `pyvider-cty/.pyre_configuration`, `pyvider-cty/.python-version`, `pyvider-cty/Dockerfile`,...
  • pyvider-rpcplugin Added `pyvider-rpcplugin/` infrastructure: `.benchmarks/__init__.py`, `.coveragerc`, `.gemini/con...
  • __init__.py Added `pyvider-rpcplugin/` infrastructure: `.benchmarks/__init__.py`, `.coveragerc`, `.gemini/con...
  • config.yaml Added `pyvider-rpcplugin/` infrastructure: `.benchmarks/__init__.py`, `.coveragerc`, `.gemini/con...
  • ci.yml Added `pyvider-rpcplugin/` infrastructure: `.benchmarks/__init__.py`, `.coveragerc`, `.gemini/con...
  • __init__.py Added `pyvider-rpcplugin/` infrastructure: `.benchmarks/__init__.py`, `.coveragerc`, `.gemini/con...
  • examples Added `pyvider-rpcplugin/` infrastructure: `.benchmarks/__init__.py`, `.coveragerc`, `.gemini/con...
  • scripts Added `pyvider-rpcplugin/` infrastructure: `.benchmarks/__init__.py`, `.coveragerc`, `.gemini/con...
  • tests Added `pyvider-rpcplugin/` infrastructure: `.benchmarks/__init__.py`, `.coveragerc`, `.gemini/con...
  • pyvider-schema Added `pyvider-schema/` infrastructure: `.pyre_configuration`, `.python-version`, `Dockerfile`, `...
  • LICENSE.md Added `pyvider-schema/` infrastructure: `.pyre_configuration`, `.python-version`, `Dockerfile`, `...
  • .python-version Added `pyvider-telemetry/.python-version`
  • *.log.txt Updated `.gitignore` to exclude `*.log.txt` and `bin/` directories
  • bin Updated `.gitignore` to exclude `*.log.txt` and `bin/` directories
  • Added pyvider-core/LICENSE (Apache 2.0), pyvider-core/__init__.py, pyvider-core/src/__init__.py, pyvider-core/tests/__init__.py, pyvider-core/src/pyvider/core/services/__init__.py qualify internal
    5 files
    • LICENSE
    • __init__.py
    • __init__.py
    • __init__.py
    • __init__.py
  • Added pyvider-cty/.pyre_configuration, pyvider-cty/.python-version, pyvider-cty/Dockerfile, pyvider-cty/LICENSE.md baseline internal
    4 files
    • .pyre_configuration
    • .python-version
    • Dockerfile
    • LICENSE.md
  • Added pyvider-rpcplugin/ infrastructure: .benchmarks/__init__.py, .coveragerc, .gemini/config.yaml, .github/workflows/ci.yml, .pyre_configuration, .python-version, .watchmanconfig, Dockerfile, LICENSE, __init__.py, and __init__.py files throughout examples/, scripts/, tests/ directories streamline internal
    9 files
    • pyvider-rpcplugin
    • __init__.py
    • config.yaml
    • ci.yml
    • __init__.py
    • __init__.py
    • examples
    • scripts
    • tests
  • Added pyvider-schema/ infrastructure: .pyre_configuration, .python-version, Dockerfile, LICENSE.md, __init__.py files throughout the package interface internal
    3 files
    • pyvider-schema
    • LICENSE.md
    • __init__.py
  • Added pyvider-telemetry/.python-version baseline behavioral
    1 file
    • .python-version
  • Updated .gitignore to exclude *.log.txt and bin/ directories decouple behavioral
    2 files
    • *.log.txt
    • bin

Pyvider-core Conversion System Rewrite

6 files changed
  • base.py New `pyvider-core/src/pyvider/core/conversion/base.py` (63 lines): Defines `WireFormatType` enum ...
  • __init__.py Rewrote `conversion/__init__.py` from 69 verbose lines to 21 clean lines with relative imports fr...
  • api.py Rewrote `conversion/api.py` from 143 lines to 46 lines: `marshal()` and `unmarshal()` now use `op...
  • context.py Rewrote `conversion/context.py` from 130 lines to 43 lines: Replaced the `SerializationContext` s...
  • wire.py Updated `conversion/wire.py` with ~98 lines of changes to the Terraform wire format converter
  • __init__.py Simplified `exceptions/__init__.py` from 25 lines to a cleaner re-export structure
  • New pyvider-core/src/pyvider/core/conversion/base.py (63 lines): Defines WireFormatType enum (STANDARD, JSON, MSGPACK, TERRAFORM), abstract WireFormat base class with marshal/unmarshal abstract methods, and WireFormatRegistry with decorator-based registration pattern baseline internal
    1 file
    • base.py
  • Rewrote conversion/__init__.py from 69 verbose lines to 21 clean lines with relative imports from .base, .context, .api interface behavioral
    1 file
    • __init__.py
  • Rewrote conversion/api.py from 143 lines to 46 lines: marshal() and unmarshal() now use operation_context() context manager, simplified error handling by removing custom WireFormatError wrapping, modernized type hints to X | None specify behavioral
    1 file
    • api.py
  • Rewrote conversion/context.py from 130 lines to 43 lines: Replaced the SerializationContext singleton class with a simple contextvars.ContextVar-based approach, removing the attrs-based class and operation stack in favor of ContextVar token-based context management with set_current_operation() function harden internal
    1 file
    • context.py
  • Updated conversion/wire.py with ~98 lines of changes to the Terraform wire format converter baseline errata
    1 file
    • wire.py
  • Simplified exceptions/__init__.py from 25 lines to a cleaner re-export structure interface internal
    1 file
    • __init__.py

Pyvider-cty Changes

9 files changed
  • __init__.py Simplified `cty/__init__.py` by removing ~128 lines of explicit imports, moving to a leaner publi...
  • __init__.py Updated `cty/conversion/__init__.py` with ~80 lines of import changes
  • json.py Updated `cty/conversion/formats/json.py` with ~34 lines of JSON format changes
  • go-cty-raw-structure.json Added Go compatibility test data files (`go-cty-raw-structure.json`, `go-cty-type-structure.json`)
  • go-cty-type-structure.json Added Go compatibility test data files (`go-cty-raw-structure.json`, `go-cty-type-structure.json`)
  • test_json_encoder.py Added `tests/conversion/test_json_encoder.py` (455 lines) with comprehensive JSON encoding tests
  • examples Added documentation: Claude priming docs, example scripts in `docs/examples/`, `docs/TODO.md`, `d...
  • TODO.md Added documentation: Claude priming docs, example scripts in `docs/examples/`, `docs/TODO.md`, `d...
  • test_claude_attempt_1.py Added documentation: Claude priming docs, example scripts in `docs/examples/`, `docs/TODO.md`, `d...
  • Simplified cty/__init__.py by removing ~128 lines of explicit imports, moving to a leaner public API interface behavioral
    1 file
    • __init__.py
  • Updated cty/conversion/__init__.py with ~80 lines of import changes interface internal
    1 file
    • __init__.py
  • Updated cty/conversion/formats/json.py with ~34 lines of JSON format changes decouple errata
    1 file
    • json.py
  • Added Go compatibility test data files (go-cty-raw-structure.json, go-cty-type-structure.json) qualify internal
    2 files
    • go-cty-raw-structure.json
    • go-cty-type-structure.json
  • Added tests/conversion/test_json_encoder.py (455 lines) with comprehensive JSON encoding tests qualify internal
    1 file
    • test_json_encoder.py
  • Added documentation: Claude priming docs, example scripts in docs/examples/, docs/TODO.md, docs/test_claude_attempt_1.py specify internal
    3 files
    • examples
    • TODO.md
    • test_claude_attempt_1.py

Pyvider-rpcplugin Test Infrastructure

13 files changed
  • __init__.py Added `__init__.py` files to all test directories (`tests/client/`, `tests/protocol/`, `tests/pro...
  • client Added `__init__.py` files to all test directories (`tests/client/`, `tests/protocol/`, `tests/pro...
  • protocol Added `__init__.py` files to all test directories (`tests/client/`, `tests/protocol/`, `tests/pro...
  • grpctest Added `__init__.py` files to all test directories (`tests/client/`, `tests/protocol/`, `tests/pro...
  • tcp Added `__init__.py` files to all test directories (`tests/client/`, `tests/protocol/`, `tests/pro...
  • unix Added `__init__.py` files to all test directories (`tests/client/`, `tests/protocol/`, `tests/pro...
  • base.py Updated `client/base.py` (~29 lines) and `crypto/certificate.py` (~68 lines) with continued fixes...
  • certificate.py Updated `client/base.py` (~29 lines) and `crypto/certificate.py` (~68 lines) with continued fixes...
  • test_client_lifecycle.py Expanded `tests/client/test_client_lifecycle.py` with ~112 additional lines of lifecycle tests
  • test_connection.py Simplified `tests/client/test_connection.py` by removing ~111 lines
  • pyproject.toml Updated `pyproject.toml` with 3 new dependency entries
  • env.sh Updated `env.sh` with minor script fixes
  • test_grpctest.py Minor fix in `tests/protocol/grpctest/test_grpctest.py`
  • Added __init__.py files to all test directories (tests/client/, tests/protocol/, tests/protocol/grpctest/, tests/transport/tcp/, tests/transport/unix/) qualify internal
    6 files
    • __init__.py
    • client
    • protocol
    • grpctest
    • tcp
    • unix
  • Updated client/base.py (~29 lines) and crypto/certificate.py (~68 lines) with continued fixes from the previous day remediate internal
    2 files
    • base.py
    • certificate.py
  • Expanded tests/client/test_client_lifecycle.py with ~112 additional lines of lifecycle tests qualify internal
    1 file
    • test_client_lifecycle.py
  • Simplified tests/client/test_connection.py by removing ~111 lines qualify internal
    1 file
    • test_connection.py
  • Updated pyproject.toml with 3 new dependency entries baseline internal
    1 file
    • pyproject.toml
  • Updated env.sh with minor script fixes remediate internal
    1 file
    • env.sh
  • Minor fix in tests/protocol/grpctest/test_grpctest.py qualify internal
    1 file
    • test_grpctest.py

Pyvider-schema Simplification

3 files changed
  • __init__.py Simplified `schema/__init__.py` by removing ~148 lines of explicit imports
  • proto.py Simplified `schema/conversion/proto.py` by removing ~278 lines of protobuf conversion code
  • README.md Added `README.md` documentation
  • Simplified schema/__init__.py by removing ~148 lines of explicit imports interface internal
    1 file
    • __init__.py
  • Simplified schema/conversion/proto.py by removing ~278 lines of protobuf conversion code interface internal
    1 file
    • proto.py
  • Added README.md documentation specify errata
    1 file
    • README.md

Pyvider-telemetry Overhaul

16 files changed
  • pyproject.toml Updated `pyproject.toml` with ~55 lines of dependency changes
  • __init__.py Updated `src/__init__.py` and `src/pyvider/__init__.py` with package metadata
  • __init__.py Updated `src/__init__.py` and `src/pyvider/__init__.py` with package metadata
  • __init__.py Rewrote `telemetry/__init__.py` with ~30 lines of import changes
  • config.py Rewrote `telemetry/config.py` with ~54 lines of configuration changes
  • core.py Expanded `telemetry/core.py` by ~251 lines with enhanced initialization logic
  • __init__.py Updated `telemetry/logger/__init__.py`, `logger/base.py` (+190 lines), `logger/custom_processors....
  • base.py Updated `telemetry/logger/__init__.py`, `logger/base.py` (+190 lines), `logger/custom_processors....
  • custom_processors.py Updated `telemetry/logger/__init__.py`, `logger/base.py` (+190 lines), `logger/custom_processors....
  • emoji_matrix.py Updated `telemetry/logger/__init__.py`, `logger/base.py` (+190 lines), `logger/custom_processors....
  • utils.py Updated `telemetry/logger/__init__.py`, `logger/base.py` (+190 lines), `logger/custom_processors....
  • __init__.py Updated `tests/__init__.py`, `tests/conftest.py` (~167 lines restructured), `tests/cut_up_chuck.p...
  • conftest.py Updated `tests/__init__.py`, `tests/conftest.py` (~167 lines restructured), `tests/cut_up_chuck.p...
  • cut_up_chuck.py Updated `tests/__init__.py`, `tests/conftest.py` (~167 lines restructured), `tests/cut_up_chuck.p...
  • test_logging.py Updated `tests/__init__.py`, `tests/conftest.py` (~167 lines restructured), `tests/cut_up_chuck.p...
  • test_logging.py.bak Added `tests/test_logging.py.bak` as backup of previous test version
  • Updated pyproject.toml with ~55 lines of dependency changes baseline internal
    1 file
    • pyproject.toml
  • Updated src/__init__.py and src/pyvider/__init__.py with package metadata baseline internal
    2 files
    • __init__.py
    • __init__.py
  • Rewrote telemetry/__init__.py with ~30 lines of import changes interface behavioral
    1 file
    • __init__.py
  • Rewrote telemetry/config.py with ~54 lines of configuration changes baseline behavioral
    1 file
    • config.py
  • Expanded telemetry/core.py by ~251 lines with enhanced initialization logic decouple behavioral
    1 file
    • core.py
  • Updated telemetry/logger/__init__.py, logger/base.py (+190 lines), logger/custom_processors.py (~157 lines rewritten), logger/emoji_matrix.py, telemetry/utils.py decouple architectural
    5 files
    • __init__.py
    • base.py
    • custom_processors.py
    • emoji_matrix.py
    • utils.py
  • Updated tests/__init__.py, tests/conftest.py (~167 lines restructured), tests/cut_up_chuck.py (+201 lines expanded), tests/test_logging.py (~609 lines rewritten) qualify architectural
    4 files
    • __init__.py
    • conftest.py
    • cut_up_chuck.py
    • test_logging.py
  • Added tests/test_logging.py.bak as backup of previous test version qualify internal
    1 file
    • test_logging.py.bak