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
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
File details
Details for the file datashare-network-server-0.7.0.tar.gz
.
File metadata
-
Download URL:
datashare-network-server-0.7.0.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
-
Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.8.2 requests/2.27.1 setuptools/62.0.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.10
File hashes
Hashes for datashare-network-server-0.7.0.tar.gz
Algorithm |
Hash digest |
|
SHA256 |
100dc615c12a0a86fa9826814d6a40b2f8d3d4c20bfebae76f000547ebf8c72b |
|
MD5 |
382b6ee266b629034e8f67cda84d0adf |
|
BLAKE2b-256 |
4cad01d7db923ca13f454402bd7a518f8ab228356615b213d41d5600d414f5d3 |
|
See more details on using hashes here.
File details
Details for the file datashare_network_server-0.7.0-py3-none-any.whl
.
File metadata
-
Download URL:
datashare_network_server-0.7.0-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
-
Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.8.2 requests/2.27.1 setuptools/62.0.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.10
File hashes
Hashes for datashare_network_server-0.7.0-py3-none-any.whl
Algorithm |
Hash digest |
|
SHA256 |
a5a0e620facf7c1daf5f84f44e24f0d5a54779e0261c71421c1f0638912d803f |
|
MD5 |
86bcc0c29f6d440cf85e4bc76c35e3ba |
|
BLAKE2b-256 |
86c10786cc750dea9b2e5fd3e0128145fe520a09848a2662914f4bdaf489f448 |
|
See more details on using hashes here.