https://github.com/botify-labs/judyz
CFFI and Cython wrappers for Judy.
https://github.com/botify-labs/judyz
Last synced: 5 months ago
JSON representation
CFFI and Cython wrappers for Judy.
- Host: GitHub
- URL: https://github.com/botify-labs/judyz
- Owner: botify-labs
- License: mit
- Created: 2015-04-27T13:31:49.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2022-05-25T08:51:55.000Z (about 4 years ago)
- Last Synced: 2025-11-16T12:23:32.599Z (7 months ago)
- Language: Python
- Homepage:
- Size: 76.2 KB
- Stars: 0
- Watchers: 16
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# judyz
judyz is another (pair of) Python wrapper(s) for the [Judy](http://judy.sourceforge.net/)
library.
It implements both a [CFFI](https://cffi.readthedocs.org/) and a [Cython](http://http://cython.org/)
wrapper.
Note that the Cython wrapper is currently unmaintained: it doesn't work with PyPy, unlike CFFI.
`judyz-cython` must be compiled, unlike `judyz-cffi`.
## Compilation Requirements
* libjudy-dev
* cython
* libffi-dev
* python-cffi (or pypy)
* ...
## Distribution
`judyz-cffi` is distributed as source:
python setup.py sdist
`judyz_cython` can be distributed as a wheel:
python setup.py bdist_wheel
See the Dockerfile for an example of a Python 3.7 wheel.
To compile `judyz-cython` inplace:
```
cd src/judycython
python setup.py build_ext -i
cd ../..
nosetests
```
## Installation From Local Build
If `pip install` doesn't work:
`pip install --pre --no-index --find-links .../judyz/src/judyzcffi/dist/judyz_cffi-0.1.tar.gz judyz-cffi`
`easy_install .../judyz/src/judyzcython/dist/judyz_cython-0.1-py2.7-linux-x86_64.egg`
## Usage Requirements
* libjudydebian1 (not the Ubuntu 14.04 buggy one)
* `judyz-cffi`: currently tested with libffi6 or libffi7