Datashare Network Server
Project description
Datashare network server
This is the http server for the protocol described in the EPFL paper:
DATASHARENETWORK A Decentralized Privacy-Preserving Search Engine for Investigative Journalists
This is a work in progress.
Requirements
psycopg2
requires the installation of python3-dev
(see psycopg prerequisites here)
Running the server locally
$ make install
$ make run
pipenv run uvicorn dsnetserver.main:app
INFO: Started server process [9120]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
Developing
We use pipenv to package/develop the server. We will use it to install all dependencies :
$ make install
Database
You need to create first the database. You can bootstrap it with :
$ psql -U <admin_user> -h <psql_host> < bootstrap_db.sql
Then to run the migrations :
$ /path/to/alembic upgrade head
Testing
$ make test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for datashare-network-server-0.7.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 100dc615c12a0a86fa9826814d6a40b2f8d3d4c20bfebae76f000547ebf8c72b |
|
MD5 | 382b6ee266b629034e8f67cda84d0adf |
|
BLAKE2b-256 | 4cad01d7db923ca13f454402bd7a518f8ab228356615b213d41d5600d414f5d3 |
Close
Hashes for datashare_network_server-0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5a0e620facf7c1daf5f84f44e24f0d5a54779e0261c71421c1f0638912d803f |
|
MD5 | 86bcc0c29f6d440cf85e4bc76c35e3ba |
|
BLAKE2b-256 | 86c10786cc750dea9b2e5fd3e0128145fe520a09848a2662914f4bdaf489f448 |