idea165-commonsgrid-community-managed (0.1.1)

Published 2026-04-20 12:22:39 +00:00 by forgeadmin

Installation

pip install --index-url  idea165-commonsgrid-community-managed

About this package

Community-Managed, Privacy-Preserving Energy Commons Marketplace prototype

This repository holds a production-oriented prototype for CommonsGrid: a community-managed, privacy-preserving energy marketplace designed for neighborhood-scale pilots. It includes a lightweight DSL sketch and toy adapters to bootstrap interoperability with a CatOpt-like intermediate representation (IR).

Key components added in this patch:

  • idea165_commonsgrid_community_managed/dsl.py: Minimal DataClass-based DSL for LocalProblem, SharedSignals, PlanDelta, PrivacyBudget, and AuditLog.
  • idea165_commonsgrid_community_managed/adapters/: Two starter adapters (InverterControllerAdapter and NeighborhoodBatteryAdapter) that map signals to the canonical LocalProblem representation.

How to use:

  • Instantiate adapters and call map_to_local_problem to generate a dictionary representation that can be consumed by the interoperability bridge.

This is a seed for a production-grade MVP; further work should flesh out governance ledger, secure aggregation, and interop contracts. """

Requirements

Requires Python: >=3.11
Details
PyPI
2026-04-20 12:22:39 +00:00
2
15 KiB
Assets (2)
Versions (1) View all
0.1.1 2026-04-20