pyvider-cty 2025-07-13
Massive cleanup and new conversion modules with parser addition
110 files · 2,977+ · 9,031-

New Conversion Modules

4 files changed
  • __init__.py Package exports updated
  • adapter.py Source module changes
  • raw_to_cty.py Source module changes
  • type_encoder.py Source module changes
  • Added conversion/__init__.py (11 lines), conversion/adapter.py (86 lines), conversion/raw_to_cty.py (119 lines), conversion/type_encoder.py (12 lines) instantiate internal
    4 files
    • raw_to_cty.py
    • __init__.py
    • type_encoder.py
    • adapter.py

New Parser Module

1 file changed
  • parser.py Source module changes

Example Cleanup

9 files changed
  • ch02_getting_started.py Example script
  • ch10_marks.py Example script
  • ch11_functions.py Example script
  • ch12_serialization.py Example script
  • ch14_terraform_interop.py Example script
  • run_all_examples.py Example script
  • example_utils.py Example script
  • README.md Example script
  • __init__.py Package exports updated
  • Removed 10 example scripts: stress test, performance comparison, serialization examples, json-msgpack test, tfstate example, value marking, complex schema decouple internal
    5 files
    • ch02_getting_started.py
    • ch10_marks.py
    • ch11_functions.py
    • ch12_serialization.py
    • ch14_terraform_interop.py
  • Simplified remaining examples (01-08) decouple internal
    5 files
    • ch02_getting_started.py
    • ch10_marks.py
    • ch11_functions.py
    • ch12_serialization.py
    • ch14_terraform_interop.py

Source Simplification

6 files changed
  • base.py Source module changes
  • collection_functions.py Source module changes
  • string_functions.py Source module changes
  • validation.py Source module changes
  • codec.py Source module changes
  • marks.py Source module changes
  • path/base.py: Reduced from 795 lines (massive simplification) decouple internal
    1 file
    • base.py
  • functions/collection_functions.py: Reduced by 179 lines decouple internal
    1 file
    • collection_functions.py
  • functions/string_functions.py: Reduced by 331 lines decouple internal
    1 file
    • string_functions.py
  • exceptions/validation.py: Reduced by 290 lines decouple internal
    1 file
    • validation.py
  • codec.py: 231 lines of changes decouple internal
    1 file
    • codec.py
  • marks.py: 28 lines of changes decouple internal
    1 file
    • marks.py

Build Updates

3 files changed
  • pyproject.toml Project configuration changes
  • uv.lock Dependency lock file updated
  • env.sh Changes for build updates