
Initial Release
A Pure Python InterSystems IRIS Interoperability production built based on PyProd.
This project demonstrates how to build a complete InterSystems IRIS production entirely in Python that ingests CSV smart-meter readings, validates the file structure, performs analytics, and stores the results in an IRIS SQL table.
The implementation is based on the PyProd framework and follows the same architectural style as the https://github.com/gabriel-ing/csvgen-pyprod sample.
CSV Files
│
▼
CSVFileInboundAdapter
│
▼
SmartMeterFileService
│
▼
SmartMeterAnalysisProcess
│
▼
SmartMeterDBOperation
│
▼
EnergyOps.SmartMeterReadings
The production performs the following steps:
Clone the repository
git clone https://github.com/Gra-ach/smart-grid-pyprod.git
cd smart-grid-pyprod
Start up the Docker container:
docker-compose up --build -d
Copy CSV files into
Data/input
When a file is detected:
Data/processingData/archiveThe production automatically creates
EnergyOps.SmartMeterReadings
if it does not already exist.
Each inserted row contains
Using SQL
SELECT *
FROM EnergyOps.SmartMeterReadings;
Validates the CSV schema
Calculates
CSVGen PyProd
https://github.com/gabriel-ing/csvgen-pyprod
InterSystems Developer Community article
https://community.intersystems.com/post/45-second-production-testing-chatgpt%E2%80%99s-limits-intersystems-iris-and-pyprod