Python-nacl is python wrapper around the C implementations of Networking and Cryptography library
wget http://mojzis.com/software/python-nacl/python-nacl-20111225.tar.bz2 bunzip2 < python-nacl-20111225.tar.bz2 | tar -xf - cd python-nacl-20111225
./do-nacl dpkg-buildpackage dpkg -i ../python-nacl_20111225_*.deb
python setup.py build python setup.py install
./do-nacl ... only nacl library (will be in module nacl.so) ./do-supercop ... nacl library + some additions from supercop (will be in module supercop.so) ./do-all ... both
Python module is compiled for every working python on system and is located in build/pythonX.Y directory:
for example, build/python2.5 and build/python2.6 when your system has two python interpreters python2.5,python2.6
and appropriate header files and libraries
Everything is 'python-style' documented
Just run (python nacl module must be instaled in system):
python import nacl help(nacl)
result should look like this
This library should work on unix system with python >= 1.5.
Tested on various unix systems:
Python wrapper is implemented as shell script in 'do' style used in C NaCl implementation.
It takes every function and every constant from C NaCl library and creates appropriate python function and python constant.
If You find some bug in python-nacl library or
have some addition to python-nacl library
let me known on 'python-nacl (a) mojzis.com'.