Skip to main content

NSML Parser

Neuro Symbolic Memory Lattice Parser (NSML) is a lightweight, cognitively inspired, fuzzy-intelligent log parser that combines heuristic reasoning, semantic backtracking, and fuzzy key recognition to extract structured information from semi-structured log lines.


🚀 Features

  • 🔎 Fuzzy key matching: Autocorrects mistyped or aliased keys.
  • 🧠 Heuristic inference: Guesses missing values based on patterns.
  • 🧬 Semantic classifier-ready: Plug in vector similarity models.
  • 📚 Confidence scoring: Score for every parsed key.
  • 🔁 REPL-friendly: Can be wrapped into command-line tools.

🧪 Example

from nsml_parser import NSMLParser

log = '''Running HTTPS_PROXY='http://proxy.net:8080' /opt/radar/bin/apprise \
  -consumers "FUNNYTEAM_AUDIT" -cluster "POD109" -product "blah-base" -sp "KP" \
  -dc "MM" -caseNumber -release "rrrrr" -event "ERROR_RUNNING_PLSQL_TARGET" \
  -eventTime "2023-06-09_04:31:04" -stage "RUN_PLSQL_TARGET" -status "FAILED" \
  -type "ERROR" -source "ops0-release2-2-RR" "123456" --message "some issue here"'''

parser = NSMLParser()
parsed = parser.parse(log)
print(parsed)

Metadata

Release files for nsml-parser 0.1.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 nsml-parser 0.1.2
File Size Uploaded Provenance Actions
nsml_parser-0.1.2.tar.gz 2.2 kB Without provenance Details for nsml_parser-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nsml-parser 0.1.2
File Interpreter ABI Platform Actions
nsml_parser-0.1.2-py3-none-any.whl Python 3 none any Details for nsml_parser-0.1.2-py3-none-any.whl

Total release size: 4.5 kB

Release files / nsml_parser-0.1.2.tar.gz

Download URL nsml_parser-0.1.2.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7ab67dc26d71b8125ac7c8d1febf6e9fea860ad5d782e6065295c63524cdea62
BLAKE2b-256 checksum
How to use checksums
be872e17acf21b046f75dcdc1a84939f8ddb85ebe65204510a0de10b90b30624
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.12

Release files / nsml_parser-0.1.2-py3-none-any.whl

Download URL nsml_parser-0.1.2-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4908ec63d147c08bc3df4b0e5ecd4d0ffe73b32d8eb7bbbb5e11092574440005
BLAKE2b-256 checksum
How to use checksums
043641f10ab08b2d0e2de68de43308efe28f873dcf1edd79aca5477941575ee2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.12

Security for nsml-parser 0.1.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