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 Bump to 0.0.4.dev1 Mar 8, 2014
lib
.gitignore Add benchmark suite using vbench Nov 22, 2012
.gitmodules Add lib/vbench Nov 22, 2012
.travis.yml
Makefile
README.rst
setup.py
sexp2json.py
sexpdata.py
test_sexpdata.py
tox.ini Add py32 to tox envlist Oct 16, 2012

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.