Skip to main content

Norvelang

Multi-Source Data Processing Language

Features

  • PEMDAS-compliant mathematical expressions
  • String functions (upper, lower, len, contains, etc.)
  • SQL-like pipelines for CSV, JSON, XML, SQLite, Excel
  • Filtering and aggregation with grouping and joins
  • Function support in use and where clauses
  • Robust join handling with automatic column disambiguation
  • Clean, extensible grammar
  • CLI and Python API for interactive and programmatic use

Quick Start

data.csv | use name, age | where age > 30

Installation

uv venv
.venv\Scripts\activate
uv pip install -r .\requirements.txt

Usage

Command Line

# Run a sample file
python -m norve samples/math.nv

# Interactive REPL
python -m norve

# Use regular Lark parser (disable cython)
python -m norve samples/queries.nv --no-lark-cython

Python API

import norve

df = norve.execute_query('''data.csv | use name, age | limit 10''')
output = norve.execute_with_output('''data.csv | use name, age | limit 5''')
variables = {'my_table': 'users.csv'}
df = norve.execute_query('''let users = $my_table; $users | use name, age | limit 10''', variables=variables)

Directory Structure

norvelang/
├── norve/              # Core language implementation
│   ├── api/            # Python API
│   ├── ast/            # AST definitions
│   ├── error/          # Error handling
│   ├── interpreter/    # Pipeline execution
│   ├── transformer/    # AST transformation
│   ├── grammar.lark    # Grammar definition
│   └── *.py            # Core modules
├── publish/            # Create new release on Github and PyPI
├── samples/            # Example .nv files
├── sample_data/        # Test data files
├── tests/              # Unit tests
├── requirements.txt    # Python dependencies
└── README.md           # This file

Running Tests

cd tests
pytest -v

Sample Files

  • math.nv: Math and function demos
  • queries.nv, queries2.nv: Data processing examples
  • data_sources.nv: Multi-format data
  • errors.nv: Error handling

Metadata

Release files for norvelang 0.2.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 norvelang 0.2.2
File Size Uploaded Provenance Actions
norvelang-0.2.2.tar.gz 46.6 kB Without provenance Details for norvelang-0.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 104.1 kB

Release files / norvelang-0.2.2.tar.gz

Download URL norvelang-0.2.2.tar.gz
Size 46.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d45b6c98981bb890dcc0c5510985b3c2a30a3d87898549580be406f0b8bb27b4
BLAKE2b-256 checksum
How to use checksums
f6ed19f524e157ff013d126d20e3d25a6588125ba0847dbfef379131958b7c16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / norvelang-0.2.2-py3-none-any.whl

Download URL norvelang-0.2.2-py3-none-any.whl
Size 57.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49884223caa8f68ec6a4f30b27ee45160511f2cd1f76f5d0ffb131d9f291c706
BLAKE2b-256 checksum
How to use checksums
fa5468581a99898cc53045959db4c18551b3ce7ea71cacfd2410e1be0475de84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Security for norvelang 0.2.2

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.

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