Skip to main content

QSLN

Quick Scratch List Notation (Python implementation)

About QSLN specification: https://github.com/bddjr/QSLN

Installation

pip install qsln-py

Usage

import qsln

# Serialize
encoded = qsln.stringify([["a", "b"], ["cd", "ef"]])
print(encoded)
# => "01a01b;02cd02ef;"

# Deserialize
decoded = qsln.parse("01a01b;02cd02ef;")
print(decoded)
# => [["a", "b"], ["cd", "ef"]]

Note: parse raises a SyntaxError on malformed or truncated inputs.

📄 License

This project is released into the public domain under The Unlicense.

The "Scratch" name is a trademark of the Scratch Foundation.

Metadata

Release files for qsln-py 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qsln-py 1.0.3
File Size Uploaded
qsln_py-1.0.3.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qsln-py 1.0.3
File Interpreter ABI Platform
qsln_py-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 7.0 kB

Release files / qsln_py-1.0.3.tar.gz

Download URL qsln_py-1.0.3.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4e353e3f3013fa38697c25066db87e6146d1c0b5734f510c8913304392dcec38
BLAKE2b-256 checksum
How to use checksums
8b5476c71841a6bb71eb809821e46abf26a4c3d06e9f455cfb1b026a175a8750
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / qsln_py-1.0.3-py3-none-any.whl

Download URL qsln_py-1.0.3-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a7691af2a7ab61f52697b62d0b60a275a7dc7e524ed98201991f5fc1fe91d97
BLAKE2b-256 checksum
How to use checksums
26024f5fbdf9136f108ab9fc6c37d417119d331b9a275074532454ee8de82814
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

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