Skip to main content

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 DataSource, DataFilter, or 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.

Metadata

Release files for datalogd 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datalogd 0.4.2
File Size Uploaded
datalogd-0.4.2.tar.gz 67.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datalogd 0.4.2
File Interpreter ABI Platform
datalogd-0.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 146.4 kB

Release files / datalogd-0.4.2.tar.gz

Download URL datalogd-0.4.2.tar.gz
Size 67.5 kB
Tags Source
SHA-256 checksum
How to use checksums
91577ae0ef164f7fe41f89c65ddef1124a304704414a0ba1450512a3d63a1013
BLAKE2b-256 checksum
How to use checksums
a9772226bde87be24920ad124edb94eec7947f81e38f6c26fd706b02916ba0b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / datalogd-0.4.2-py3-none-any.whl

Download URL datalogd-0.4.2-py3-none-any.whl
Size 78.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c18a48fc8db92302e2037c631e0454b607324dc0c034b0ce6f71b87134087c0b
BLAKE2b-256 checksum
How to use checksums
e0847d5c8e7a870a30a4c8c97573b7c86e724aab971e3455140e314dba6352ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.4.2 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page