Skip to content

CitizenWeather/pyfarm-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyfarm-core

Shared base models, event bus, and protocols for the pyfarm ecosystem.

Purpose

Common type system and protocols that all pyfarm modules depend on. Enables:

  • Consistent sensor/actuator interfaces
  • Shared event models for control loop
  • Standard error types
  • Persistence abstraction

Core Modules

  • models.pySensorReading, ActuatorState, ControlEvent
  • errors.py — Standard error types
  • sensor.py — Base Sensor class
  • actuator.py — Base Actuator class and Command type
  • storage.pySnapshotStore abstraction

Integration

All other pyfarm modules import from pyfarm-core for type definitions and base classes.

Releases

Sponsor this project

Packages

Contributors

Languages