Skip to main content
Meerschaum banner
PyPI GitHub Info Stats
PyPI GitHub Repo stars License Number of plugins
PyPI - Python Version GitHub Sponsors Artifact Hub Number of registered users

Meerschaum demo

What is Meerschaum?

Meerschaum is an ETL framework for time-series data. You define pipes — named data streams — and Meerschaum keeps them in sync: it fetches only the new or changed rows, deduplicates and upserts them, manages the schema, and handles scheduling, serving, and storage.

Write a few lines of fetch logic; Meerschaum handles the rest of the pipeline. No more copy/pasting ETL scripts, hand-rolling incremental windows, or babysitting cron jobs. Drop it into an existing stack or stand up a full database-and-dashboard stack in minutes.

import meerschaum as mrsm

pipe = mrsm.Pipe('plugin:noaa', 'weather', 'atl', instance='sql:local')
pipe.sync()  ### Pulls only what's new since the last sync.

Features

  • ⚡️ Incremental by default — the sync engine fetches only new or changed rows and concurrently updates many streams at once. Duplicate rows are ignored; rows with existing keys are updated.
  • 📊 Built for data scientists and analysts — integrate with Pandas, Grafana, and friends; persist DataFrames and always get the latest data. Skip pandas overhead and read rows as plain dicts with Pipe.get_docs().
  • 🗄️ Production-ready, batteries included — one-click deploy a TimescaleDB + Grafana stack, serve data org-wide via FastAPI (uvicorn/gunicorn), and secure API instances with scoped auth tokens. Supports PostGIS geometry (incl. ESRI CRS) for geospatial pipelines.
  • 💼 Jobs and scheduling — run any command as a background job with -d. Built-in scheduler handles cron and interval schedules — no crontab or systemd setup. Execute locally, via systemd, or remotely on an API instance with --executor-keys.
  • 🔌 Easily expandable — ingest any source with a simple plugin: just return a DataFrame. Add any function as a command, define parent/child pipe relationships for composable SQL pipelines, or embed Meerschaum via its Python SDK.
  • ✨ Tailored for your experience — a rich CLI that's surprisingly enjoyable, a web dashboard for the graphically inclined, and connectors for SQL, API, Valkey, and custom backends.
  • 🧳 Portable from the start — $MRSM_ROOT_DIR emulates multiple installations and groups instances. The base wheel has no required Python dependencies (the native core is inside it; anything optional installs into a virtual environment), and it's uv-compatible: uv tool install meerschaum.

Want to learn more?

Find a wealth of information at meerschaum.io, or read up on Meerschaum in the wild:

Installation

For a more thorough setup guide, visit the Getting Started page at meerschaum.io.

TL;DR

pip install meerschaum # or `uv tool install meerschaum[api]`
mrsm stack up -d
mrsm bootstrap pipes

Meerschaum 5 is a Rust core with a Python SDK. pip install meerschaum installs it; for a standalone mrsm binary run cargo install meerschaum --locked (Rust 1.95 or newer). Upgrading from 4.x? Read the migration guide.

Usage

Visit meerschaum.io for setup, usage, and troubleshooting information. The developer docs contain Python and Rust guides, with links to the full API references.

CLI

### Install the NOAA weather plugin.
mrsm install plugin noaa

### Register a new pipe to the built-in SQLite DB.
### You can instead run `bootstrap pipe` for a wizard.
### Enter 'KATL' for Atlanta when prompted.
mrsm register pipe -c plugin:noaa -m weather -l atl -i sql:local

### Pull data and create the table "plugin_noaa_weather_atl".
mrsm sync pipes -l atl -i sql:local

Python API

import meerschaum as mrsm

pipe = mrsm.Pipe(
    'foo', 'bar',
    instance = 'sql:local',                  ### Built-in SQLite DB.
    columns  = {'datetime': 'dt', 'id': 'id'},
)

### Sync a DataFrame (or list of dicts) — creates the table on first run.
pipe.sync([{'dt': '2024-07-01', 'id': 1, 'val': 10}])

### Duplicates are ignored; rows with existing keys are updated.
pipe.sync([{'dt': '2024-07-01', 'id': 1, 'val': 100}])
assert pipe.get_rowcount() == 1

### Read back as a DataFrame, filtered by time range and params.
df = pipe.get_data(begin='2024-01-01', end='2025-01-01', params={'id': [1]})

### Or skip pandas and read plain dicts.
docs = pipe.get_docs(params={'id': [1]})
### [{'dt': datetime(2024, 7, 1), 'id': 1, 'val': 100}]

For composable in-database SQL pipelines (reference inheritance and {{ Pipe(...) }} table resolution), see the SQL pipes guide.

Plugins

Ingest any source by returning rows from a fetch function — Meerschaum handles the rest:

# ~/.config/meerschaum/plugins/example.py
__version__ = '1.0.0'
required = ['requests']

def register(pipe, **kw):
    return {'columns': {'datetime': 'dt', 'id': 'id'}}

def fetch(pipe, begin=None, end=None, **kw):
    import requests
    rows = requests.get('https://api.example.com/data').json()
    return rows  ### list of dicts or a Pandas DataFrame

Support Meerschaum's Development

For consulting services and to support Meerschaum's development, please considering sponsoring me on GitHub sponsors.

Additionally, you can always buy me a coffee☕!

License

Copyright 2020-2026 Bennett Meares

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Metadata

Release files for meerschaum 5.1.0

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

Source distribution (sdist)

Source distribution for meerschaum 5.1.0
File Size Uploaded Provenance Actions
meerschaum-5.1.0.tar.gz 8.5 MB Without provenance Details for meerschaum-5.1.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for meerschaum 5.1.0
File Actions
meerschaum-5.1.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for meerschaum-5.1.0-cp311-abi3-win_amd64.whl
meerschaum-5.1.0-cp311-abi3-musllinux_1_2_x86_64.whl CPython 3.11 abi3 Linux musl 1.2+ x86-64 Details for meerschaum-5.1.0-cp311-abi3-musllinux_1_2_x86_64.whl
meerschaum-5.1.0-cp311-abi3-musllinux_1_2_aarch64.whl CPython 3.11 abi3 Linux musl 1.2+ ARM64 Details for meerschaum-5.1.0-cp311-abi3-musllinux_1_2_aarch64.whl
meerschaum-5.1.0-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details for meerschaum-5.1.0-cp311-abi3-manylinux_2_28_x86_64.whl
meerschaum-5.1.0-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details for meerschaum-5.1.0-cp311-abi3-manylinux_2_28_aarch64.whl
meerschaum-5.1.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for meerschaum-5.1.0-cp311-abi3-macosx_11_0_arm64.whl
meerschaum-5.1.0-cp311-abi3-macosx_10_12_x86_64.whl CPython 3.11 abi3 macOS 10.12+ x86-64 Details for meerschaum-5.1.0-cp311-abi3-macosx_10_12_x86_64.whl

Total release size: 370.9 MB

Release files / meerschaum-5.1.0.tar.gz

Download URL meerschaum-5.1.0.tar.gz
Size 8.5 MB
Tags Source
SHA-256 checksum
How to use checksums
494d2e470d6c27ebfffd5809b94665f4a368f2fc9b81a9ec6d21ff8e44239ffc
BLAKE2b-256 checksum
How to use checksums
5927ab173f12bbc3a663f0bd4a176ddcdbd4dfa365f2367a816da25a35e296c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"45","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / meerschaum-5.1.0-cp311-abi3-win_amd64.whl

Download URL meerschaum-5.1.0-cp311-abi3-win_amd64.whl
Size 57.9 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
06f254d5d3f808291193394967796bb5f46c59375e7b42b56d6dc9bc6d75c8aa
BLAKE2b-256 checksum
How to use checksums
30c5ffbe559adadbb7d5ff9eb03b43a16bfa5b3293c60e9f0604196086644cb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / meerschaum-5.1.0-cp311-abi3-musllinux_1_2_x86_64.whl

Download URL meerschaum-5.1.0-cp311-abi3-musllinux_1_2_x86_64.whl
Size 53.3 MB
Tags CPython 3.11 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
362540dad005a7ba0817d33a3140e3002765ba2c445408c33130bac281b23176
BLAKE2b-256 checksum
How to use checksums
a1d966080a7a477e86942dce7652bad0fa9cc74b8c4d22da8a2a5b52e69d9cdf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / meerschaum-5.1.0-cp311-abi3-musllinux_1_2_aarch64.whl

Download URL meerschaum-5.1.0-cp311-abi3-musllinux_1_2_aarch64.whl
Size 49.6 MB
Tags CPython 3.11 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
aab21222f39d577f23391fa27c0f93f584d0ac4bb4135c8cb81ce83632615d28
BLAKE2b-256 checksum
How to use checksums
d32ac4f2a732227b6d03cbf0a6dc57fdce435c3249f2aa2f06038680686c98e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / meerschaum-5.1.0-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL meerschaum-5.1.0-cp311-abi3-manylinux_2_28_x86_64.whl
Size 52.9 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
4b1c4063dee3734daf46c0f9eb90f5a96516c37719ed5a5f8e4d41330ef28e73
BLAKE2b-256 checksum
How to use checksums
3b69829d7fa9114ef06a3365f2058f3326b6c44ff23b47224ad3b545bf00c792
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / meerschaum-5.1.0-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL meerschaum-5.1.0-cp311-abi3-manylinux_2_28_aarch64.whl
Size 49.4 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
eb211edeef04960c408319e7bc6e656c3ff7f14faba492663ab93ac297be9896
BLAKE2b-256 checksum
How to use checksums
d67ff55f01892c72e38cbf7c980f90e03cc82fdf39330c7a897303feea83b8d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / meerschaum-5.1.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL meerschaum-5.1.0-cp311-abi3-macosx_11_0_arm64.whl
Size 47.9 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2fdd39e2e79d79852e42890238725d5469d022c136516d7f239c3d3636cc2665
BLAKE2b-256 checksum
How to use checksums
6fcb50207efc3fdc59678b6ac8ef4d8e3fcf179ef7b1012d0f012606642d6f3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / meerschaum-5.1.0-cp311-abi3-macosx_10_12_x86_64.whl

Download URL meerschaum-5.1.0-cp311-abi3-macosx_10_12_x86_64.whl
Size 51.4 MB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
a84fe7140c46330a13be893c1c96664681fc93158e11699e2455ed5c2bb39349
BLAKE2b-256 checksum
How to use checksums
2a395d990a9ecebd4fcc1b4cf0e96b29f07a34e47f0ac23694f9d5bf4545dcab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for meerschaum 5.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

5.1.0 This release

8 release files No provenance

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