S-expression parser for Python
Python Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
benchmark
doc
lib
.gitignore
.gitmodules
.travis.yml
Makefile
README.rst
setup.py
sexp2json.py
sexpdata.py
test_sexpdata.py
tox.ini

README.rst

S-expression parser for Python

sexpdata is a simple S-expression parser/serializer. It has simple load and dump functions like pickle, json or PyYAML module.

>>> from sexpdata import loads, dumps
>>> loads('("a" "b")')
['a', 'b']
>>> print(dumps(['a', 'b']))
("a" "b")

You can install sexpdata from PyPI:

pip install sexpdata

Links:

License

sexpdata is licensed under the terms of the BSD 2-Clause License. See the source code for more information.