Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gdanezis/petlib
A python library that implements a number of Privacy Enhancing Technolgies
https://github.com/gdanezis/petlib
Last synced: about 2 months ago
JSON representation
A python library that implements a number of Privacy Enhancing Technolgies
- Host: GitHub
- URL: https://github.com/gdanezis/petlib
- Owner: gdanezis
- License: bsd-2-clause
- Created: 2014-11-22T14:37:53.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2022-10-26T13:28:45.000Z (about 2 years ago)
- Last Synced: 2024-10-14T21:51:08.898Z (2 months ago)
- Language: Python
- Size: 330 KB
- Stars: 132
- Watchers: 14
- Forks: 33
- Open Issues: 11
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-fhe - petlib - Python library that implements a number of Privacy Enhancing Technologies. (Libraries / [Sunscreen](https://sunscreen.tech/))
- awesome-he - petlib - Python library that implements a number of Privacy Enhancing Technologies. (Libraries)
README
petlib
======A python library that implements a number of Privacy Enhancing Technologies (PETs).
* The full petlib documentation: http://petlib.readthedocs.org/en/latest/
* Package petlib on pypi: https://pypi.python.org/pypi/petlib/
* Git repository: https://github.com/gdanezis/petlib
* Travis CI report: https://travis-ci.org/gdanezis/petlib.. docs-include-marker-begin-do-not-remove
Pre-requisites
--------------On *Ubuntu / debian* use `apt-get` to install package ``libssl-dev``. Ensure you also install ``libffi-dev`` and ``python-dev``::
sudo apt-get install python-dev
sudo apt-get install libssl-dev
sudo apt-get install libffi-devOn *MacOS*, install OpenSSL 1.1.x using homebrew:
brew install [email protected]On *Windows*, install 32 bit or 64 bit OpenSSL binary edition matching your Python installation. Ensure ``libeay32.dll`` is on the system ``PATH`` (https://www.openssl.org/related/binaries.html).
Configure the path variables of Microsoft VS compilers for 32 bit or 64 bit architectures, by executing the command ``vcvars32.bat`` or ``vcvarsx86_amd64.bat``.
Quick install
-------------If you have ``pip`` installed the following command should install ``petlib``::
pip install petlib
Test your installation::
python -c "import petlib; petlib.run_tests()"
.. docs-include-marker-end-do-not-remove
Build & Test
------------You may use ``setuptools`` and ``tox`` to build and test the library::
python setup.py build_ext
To run all tests simply do::
tox