A modern, extensible language for manipulation with structured data
Project description
ransack is a modern, extensible language for manipulation with structured data.
Structured data — like JSON, YAML, TOML and domain-specific formats such as IDEA — form the backbone of many modern applications. These formats appear in configuration files, security logs, telemetry systems, and beyond.
ransack was designed to meet the increasing need for a robust and expressive language to query, filter, and inspect structured data. Whether used in Python code, as part of a log analysis tool, or as a compiler frontend for other systems, ransack provides a flexible foundation.
Why ransack?
ransack is a new implementation and improvement over existing libraries like Pynspect, which was widely used in security monitoring systems like NEMEA and Mentat. Compared to older tools, ransack:
supports user-defined variables
enables multi-argument functions
is extensible and modular
supports multiple backends (e.g., Python evaluation, SQL translation)
offers a clean internal architecture for future enhancements
Key features
a simple and expressive syntax for filters and conditions
support for context-aware variables and data scoping
predefined functions
support for IPv4/IPv6, datetimes, string and list manipulation
safe and maintainable implementation using Lark for parsing
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ransacklib-1.1.0.dev3.tar.gz.
File metadata
- Download URL: ransacklib-1.1.0.dev3.tar.gz
- Upload date:
- Size: 29.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33421ee77ee2c8cd8b8cd6e9b96aba8fb33b91a533d20f2884d4a7fd56ab7c2e
|
|
| MD5 |
f24b6e4863cbb9255731e2a7b0a6e3b9
|
|
| BLAKE2b-256 |
57b152a2b67b9872336be11712c9909eafc472770db27bf8e0ad92a4764dff3f
|
File details
Details for the file ransacklib-1.1.0.dev3-py3-none-any.whl.
File metadata
- Download URL: ransacklib-1.1.0.dev3-py3-none-any.whl
- Upload date:
- Size: 19.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
194ab022d33dbe918d035674c563742550ef8fc3690da4afee1d7df5e84878a6
|
|
| MD5 |
069e77e5fbf497dca398955973366206
|
|
| BLAKE2b-256 |
d6e75c1d569b447132f41abaa286b5f289403d718a6ac53a22de7ec5dc429519
|