Skip to main content

Jot Syntax 1.0 RC1 parser — pure Python (https://jotsyntax.org)

Project description

jots-py

Pure-Python parser for Jot Syntax.

The normative specification lives at jotsyntax.org. This package is a from-scratch Python implementation of the spec — no Rust, no FFI, no compiled extension. For a faster parser backed by the Rust implementation (jots-rs), see the sibling PyO3 bindings (jots-rs-py); both expose the same jots.parse() API.

Install

pip install jots

Usage

import jots

result = jots.parse("..meeting ::work::q2 ??buy milk")
# {
#   "tags": ["meeting"],
#   "categories": ["work::q2"],
#   "todos": [{"importance": 0, "action": "buy", "description": "milk", ...}],
#   "diagnostics": [],
#   ...
# }

Optional config flags (see SPEC §2.2) are passed via the config keyword:

jots.parse(text, config={"parse_hashtags_as_tags": True, "emit_loc": False})

Status

Tracks Jot Syntax 1.0 RC1 (2026-03-18). Current scope is the parser only (Part II of the spec); the processor (Part III) will live in a future jotr-py repo.

Conformance is verified against the shared vector suite in jots-tests — the same suite used by jots-rs and jots-rs-py.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jots-0.1.0.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jots-0.1.0-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file jots-0.1.0.tar.gz.

File metadata

  • Download URL: jots-0.1.0.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for jots-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dbdb454e593693140962ddd302eceb809273220a1da3d917696a31ec9d0e60f8
MD5 43fa4d009eaa31b21bfd629aad8842a5
BLAKE2b-256 11f08e95f1e21591a724569950181f7a4d07e822ca89835390f69dbf85286cc1

See more details on using hashes here.

File details

Details for the file jots-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: jots-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for jots-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 609f4c2f1ae0ed40bc043fd7681e125cb06c11a497788c7e62ca217bb0eade18
MD5 ee35226d4dccea4a2e32df97a9d03c5d
BLAKE2b-256 3dfda0076348591055da9b097ab146d592858dff049ae6ab01327c085681d8d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page