Releases: SculptTechProject/dummysensors
v0.3.2
v0.3.2 — Patch release 🛠️
Reissue of v0.3.1 with the correct version set in pyproject.toml. This was required for PyPI to accept the packages.
No code changes compared to 0.3.1.
Fixed / Packaging
- Updated the version in
pyproject.toml; rebuilt and published fresh artifacts (wheel+sdist). - Resolved the “File already exists” error encountered when uploading 0.3.1 to PyPI.
Includes from 0.3.1 (unchanged)
-
CLI
generate: restored support for the--noiseargument. It now maps internally tonoiseornoise_sigma(backward compatible). -
Tests:
test_vibration_basic— bounds adjusted for the OU noise model.test_per_sensor_rate_hz_controls_sampling_frequency— relaxed tolerance to reduce CI flakiness.
-
Changed: minor refactor of CLI sensor argument handling to be more resilient across sensor implementations.
Upgrade
pip install -U dummysensors==0.3.2No breaking changes. If you were aiming for 0.3.1, use 0.3.2.
v0.3.1
v0.3.1 — Patch release 🛠️
Fixed
-
CLI
generatecommand: restored support for--noiseargument, now mapped internally tonoiseornoise_sigma(backward compatibility). -
Tests stabilized:
test_vibration_basicbounds adjusted for OU noise model.test_per_sensor_rate_hz_controls_sampling_frequencyrelaxed tolerance to reduce CI flakiness.
Changed
- Minor refactor of CLI sensor argument handling for resilience across sensor implementations.
v0.3.0
v0.3.0 — Photovoltaic & Smart Sensors 🌞🔋⚡
Added
-
New sensors for energy/IoT domain:
- IrradianceSensor – simulates day/night solar irradiance
- PVPowerSensor – converts irradiance → PV power (with inverter efficiency & max power)
- LoadSensor – household/plant consumption with day profile
- BatterySoCSensor – state of charge integration, charging/discharging logic
-
Per-sensor
rate_hzcontrol (finer sampling per type) -
Priority-based orchestration – ensures dependent sensors (e.g. irradiance → pv_power → soc) are evaluated in the correct order
Changed
- Orchestrator refactored with smarter scheduling
- Tests extended: PV day/night cycle, SoC charge/discharge, per-sensor sampling frequency
Fixed
- Config validation for CSV writer (requires path)
v0.2.0
🚀 Features in v0.2.0
-
CSV writer
Added support for writing sensor data to CSV format with headers and auto-flush. -
partition_by option
Stream outputs can now be partitioned bydeviceortypefor easier data management. -
YAML configuration
Added--configsupport for running simulations from a YAML file.
Config autodiscovery looks for:config.sensors.yamlconfig.sensors.ymldummysensors.yamldummysensors.yml
✅ Internal improvements
- Added tests for CSV writer and config handling.
- Improved flushing and fsync for reliability.
- Project version bumped to
0.2.0.
Next up: anomaly injection, new sensor types (humidity, rpm, battery_voltage, gps).
v0.1.2
dummysensors v0.1.2
Patch release to fix publishing workflow.
Fixed
- Added
environment: pypitopublish.ymljob, so GitHub Actions links correctly with PyPI Trusted Publishing. - Retry of PyPI release to activate Trusted Publisher.
No code changes since v0.1.1.
v0.1.1
dummysensors v0.1.1
Patch release to fix publishing configuration.
Changed
- Added GitHub Actions environment
pypifor Trusted Publishing. - Retry PyPI release workflow to activate Trusted Publisher.
No code changes since v0.1.0.
v0.1.0
dummysensors v0.1.0 🎉
First public release of dummysensors – a lightweight Python package for generating dummy IoT/ML sensor data.
Features
- Python API:
TemperatureSensor– random temperature values with Gaussian noiseVibrationSensor– sinusoidal vibration signal with configurable frequency, amplitude, and noise
- CLI:
dummy-sensors generate– generate a single temperature streamdummy-sensors run– run multiple devices/sensors defined via--specstring- Output to JSONL files or stdout, with partitioning by sensor type
- Simple
--specformat to describe devices and sensors:
device=engine-A: temp1,vibration2; device=room-101: temp*2
- Makefile/PowerShell tasks for quick demo (
make demo)
Development
- Project uses
src/layout - CI: GitHub Actions (tests + lint + build)
- Trusted Publishing enabled for PyPI releases
This release is the foundation – more sensors, CSV output, YAML configs, anomaly injectors, and Kafka/Redis outputs are on the roadmap 🚀