S-expression parser for Python
Python Shell
Latest commit 9a65c1b Mar 8, 2014 @tkf Bump to 0.0.4.dev1
Failed to load latest commit information.
benchmark More command line description on run_benchmark.py Nov 22, 2012
doc Bump to 0.0.4.dev1 Mar 8, 2014
lib Add lib/vbench Nov 22, 2012
.gitignore Add benchmark suite using vbench Nov 22, 2012
.gitmodules Add lib/vbench Nov 22, 2012
.travis.yml git: submodules: false in .travis.yml Dec 4, 2012
Makefile Use Makefile to setup PYTHONPATH for benchmark Nov 22, 2012
README.rst Mention the license in README Jan 15, 2013
setup.py Add "Python :: 3" etc. to setup.py classifiers Oct 16, 2012
sexp2json.py Add --recursionlimit option to sexp2json.py Oct 20, 2012
sexpdata.py
test_sexpdata.py Add failing test for issue #4 Mar 8, 2014
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.