A fast and efficient read-only relocatable data structure for JSON like data, with C and Python APIs.
To start using the extension from within Python, simply install this module via pip:
> pip install pointless
The pointless module exposes a C API for use in other Python extensions written in C. For this scenario, the Pointless Python module conveniently installs required header files along with the module.
If you installed this module using pip
in a virtual environment then you can find it's C header files in:
<path-to-venv>/include/site/pythonX.Y/
X.Y refers to the python version you are using, f.e. for a python 2.7 virtual environment called 'foo' installed in a user's home directory the location would be:
~/foo/include/site/python2.7/
> sudo apt-get install libjudy-dev
> git clone https://github.com/dohopmas/py-pointless.git
> cd py-pointless/
To get started with py-pointless development, you'll need to be able to statically link against the Judy library. If you happen to be on Ubuntu 12.04 or later, this dependency can be satisfied by simply installing the libjudy-dev
package.
After that you'll simply need to clone this repository and you're good to go!
To build the module you can simply use setuptools:
> python setup.py build_ext
Or, better yet, just run the tests as well:
> python setup.py test