Library for parsing and writing Simple Property List (SPL) files
Project description
SPLLib
This is bespoke to another one of my projects and is currently very alpha-software. I intend to improve it
Library for interacting with .spl
files. A format created by me
SPL files stands for simple property list
Format
An SPL file can be written according to the following specification
- any line matching
r"^\s*#"
is ignored - Anything matching
r"#\s*\n"
is ignored - all other lines should begin with a tag name
- then an equal sign with optional whitespace on either side
- then either (1) a comma separated list of tags or (2) an asterisk
In general, you can have comments starting with # until the new line
Keys are to the left of the =
and values are to the right. Keys and values can contain any character except neither can contain =
, \n
, nor \r\n
. Furthermore, whitespace at the end of a key and beginning of a value is ignored
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
Built Distribution
File details
Details for the file spllib_elunico-0.0.5.tar.gz
.
File metadata
- Download URL: spllib_elunico-0.0.5.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3fbfe9e36a4fb3f49098a4a914dcd51fbe21cc3fdf4dbff4e005cf3efb3231e |
|
MD5 | ad383f79c670eb6f1b03cf4d64486332 |
|
BLAKE2b-256 | 0ddb9530b68042b48f667d83c8cefd49ff634119ed27566721ab9c3146673d61 |
File details
Details for the file spllib_elunico-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: spllib_elunico-0.0.5-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01a9f07719e70e75c052211de4a0258b86a563c7a895a42e28eea6e51aa0342d |
|
MD5 | a00d21c90f3e8f02578d492c810a2572 |
|
BLAKE2b-256 | 77a704d20d99de354e5cf18d848f2bca1ada44c5a1492bab27ae0fc0c5b9b99a |