Skip to main content

A data logging daemon, easily customisable using a flexible plugin system.

Project description

datalogd is a data logging daemon service which uses a source/filter/sink plugin architecture to allow extensive customisation and maximum flexibility. There are no strict specifications or requirements for data types, but typical examples would be readings from environmental sensors such as temperature, humidity, voltage or the like.

The user guide and API documentation can be read online at Read the Docs. Source code is available on GitLab.

Custom data sources, filters, or sinks can be created simply by extending an existing ~datalogd.DataSource, ~datalogd.DataFilter, or ~datalogd.DataSink python class and placing it in a plugin directory.

Data sources, filters, and sinks can be arbitrarily connected together with a connection digraph described using the DOT graph description language.

Provided data source plugins include:
  • LibSensorsDataSource - (Linux) computer motherboard sensors for temperature, fan speed, voltage etc.

  • SerialDataSource - generic data received through a serial port device. Arduino code for acquiring and sending data through its USB serial connection is also included.

  • RandomWalkDataSource - testing or demonstration data source using a random walk algorithm.

  • ThorlabsPMDataSource - laser or light power measurement using the Thorlabs PM100 or PM400 power meter.

  • PicoTC08DataSource - thermocouple or other sensor measurements using the Pico Technologies TC-08 USB data logger.

Provided data sink plugins include:
  • PrintDataSink - print to standard out or standard error streams.

  • FileDataSink - write to a file.

  • LoggingDataSink - simple output to console using python logging system.

  • InfluxDB2DataSink - InfluxDB 2.x database system specialising in time-series data.

  • MatplotlibDataSink - create a plot of data using matplotlib.

  • PyqtgraphDataSink - plot incoming data in realtime in a pyqtgraph window.

Provided data filter plugins include:
  • SocketDataFilter - bridge a connection over a network socket.

  • KeyValDataFilter - selecting or discarding data entries based on key-value pairs.

  • TimeStampDataFilter - adding timestamps to data.

  • AggregatorDataFilter - aggregating multiple data readings into a fixed-size buffer.

  • CSVDataFilter - format data as a table of comma separated values.

  • PolynomialFunctionDataFilter - apply a polynomial function to a value.

  • FlowSensorCalibrationDataFilter - convert a pulse rate into liquid flow rate.

  • CoolingPowerDataFilter - calculate power dissipation into a liquid using temperatures and flow rate.

See the Data Logging Recipes section in the documentation for examples of how to link various data sources, filters, and sinks to make something useful.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datalogd-0.3.7.tar.gz (38.8 kB view details)

Uploaded Source

Built Distribution

datalogd-0.3.7-py3-none-any.whl (48.1 kB view details)

Uploaded Python 3

File details

Details for the file datalogd-0.3.7.tar.gz.

File metadata

  • Download URL: datalogd-0.3.7.tar.gz
  • Upload date:
  • Size: 38.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for datalogd-0.3.7.tar.gz
Algorithm Hash digest
SHA256 56c926fabd4ac6410224bee281baf07728e1ca4dda326445daf19db1e466d3d7
MD5 506d211fbaae95e1607c192279be2a73
BLAKE2b-256 c6923ea856f0a38294b9e6d051d68051f7cabd759fb32627e5ccf0253dcb10b5

See more details on using hashes here.

File details

Details for the file datalogd-0.3.7-py3-none-any.whl.

File metadata

  • Download URL: datalogd-0.3.7-py3-none-any.whl
  • Upload date:
  • Size: 48.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for datalogd-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 2bdc06aea2e54a91974a73484be3fd4795f4129197659421779ea6ce12788367
MD5 654b5a5eaf8f0c931a5da572a604adbc
BLAKE2b-256 21b0c9990822fa894bb4b6ba5313687a12dd330f0906afd824e2af174cc285a6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page