diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..d907e90 --- /dev/null +++ b/COPYING @@ -0,0 +1,17 @@ +Copyright © 2009 + + Hatem Nassrat + +These programs are free software; you can redistribute it +and/or modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 3 of the License, or (at your option) any later +version. + +These programs are distributed in the hope that it will be +useful, but WITHOUT ANY WARRANTY; without even the implied +warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. See the GNU General Public License for more +details. + + diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..ec219d1 --- /dev/null +++ b/README.rst @@ -0,0 +1,33 @@ +======= +yajl-py +======= + +`yajl-py` is a Pure Python wrapper (implemented using +ctypes) to the excellent Yajl (Yet Another JSON Library) C +library. + +Dependencies +------------ + + - python 2.5 (or compatible) + - yajl: http://lloydforge.org/projects/yajl/ + +Install +------- + +From within the current directory run:: + + python setup.py install + + - OR Alternatively - + + easy_install . + +Usage +----- + +The examples directory contains a full featured JSON Parser +built using `yajl` and `yajl-py`. The code also prints some +output to stdout after parsing json from stdin. The printing +is more or less debug messages to show how the parser works. +See `examples/README.rst` for more info. diff --git a/examples/README.rst b/examples/README.rst new file mode 100644 index 0000000..8a4ccd7 --- /dev/null +++ b/examples/README.rst @@ -0,0 +1,7 @@ +To run the sample parser, from within this dir, run:: + + python yajl-test-run.py