/m42pl-commands

M42PL is a data flow / data processing language with a focus on flexibility and simplicity. This repository hosts the language's core commands, which implements most of M42PL functionalities.

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

M42PL - Core commands

This repository contains the core commands of M42PL, a Data Manipulation Language.

  • [Commands documentation][m42pl-commands-doc]
  • [M42PL documentation][m42pl-core-doc]

Installation

git clone https://github.com/jpclipffel/m42pl-commands
pip install -e m42pl-commands

Documentation

The commands are documented here.

The M42PL script docs/generate.mpl renders the documentation from the commands' Jinja templates:

m42pl run generate.mpl -e '{"render_mode":"markdown", "render_path":"docs/commands"}'

Tests

Test type Snippet Description
Automated run_tests.sh Automated tests
All commands python -m unittest tests/test_*.py Test all commands at once
Single command python -m unittest tests.<command> Test the command <command>
Single command python tests/<command>.py Test the command <command>