Skip to content

Western-Formula-Racing/slicks

Repository files navigation

Slicks

CI codecov interrogate

The home baked data pipeline for Western Formula Racing.

This package handles:

  1. Data Ingestion: Reliable fetching from InfluxDB 3.0 in wide (columnar) or narrow (legacy EAV) format.
  2. Data Writing: WideWriter encodes CAN frames directly to InfluxDB wide format line protocol.
  3. Movement Detection: Smart filtering of "Moving" vs "Idle" car states.
  4. Sensor Discovery: Tools to explore available sensors on any given race day.

Documentation

Installation

Now available on PyPI!

pip install slicks

Quick Example

import slicks
from datetime import datetime

# 1. Connect (auto-configured from env vars or explicit)
slicks.connect_influxdb3(db="WFR26")

# 2. Fetch Data — wide format (columnar, preferred)
df = slicks.fetch_telemetry(
    datetime(2025, 9, 28),
    datetime(2025, 9, 30),
    "INV_Motor_Speed",
    schema="wide",
)

print(df.describe())

See Getting Started for more details.

About

Data Acquisition Python Package

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages