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.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e85fe7f7fc559e6ff67d6dbb03d7cac8af80cc529ad8f4d00ec7a4bd7d76290c |
|
MD5 | 46aa1e9a4d2250d47b363ea3ef8d0e9b |
|
BLAKE2b-256 | 56b6b85250110ba5dd9ffca0cc63c88fb8055fc5a55fb1c97a473c497c33811a |
Close
Hashes for datashare_network_server-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23e88f5e6dcbbaaeb1b0712ea8cd67a86eea0ac935817ff8c292cb514fd04670 |
|
MD5 | 83fa97726ce47d6e1aa026b106a9f5ff |
|
BLAKE2b-256 | e0c3f20f506fbd1de7b85d8861dd352c5bbb04d716cb7f975d1716905cda5b1d |