Skip to main content

Datashare Network Server

Project description

Datashare network server CircleCI

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datashare-network-server-0.4.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

datashare_network_server-0.4.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file datashare-network-server-0.4.0.tar.gz.

File metadata

  • Download URL: datashare-network-server-0.4.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.8.2 requests/2.27.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5

File hashes

Hashes for datashare-network-server-0.4.0.tar.gz
Algorithm Hash digest
SHA256 910bc10ede77b2ac03cca5c1b042c73c6a081829b4a82f11ae0393545341da49
MD5 283e44edcc8e8b1fb4bb835c56b7a7b3
BLAKE2b-256 03599e8752ebddf7f4c14d61196628eeed5cb9537908a1684e948bb68bf07166

See more details on using hashes here.

File details

Details for the file datashare_network_server-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: datashare_network_server-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.8.2 requests/2.27.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5

File hashes

Hashes for datashare_network_server-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a412584fc6f3f21067bacf8e77eebca84ef6d1b97b3f5f3e2372d526dd36861e
MD5 2dafd1bca4ae70c7f0f4ae8756d8a065
BLAKE2b-256 edb74f87af666ade2e22f0c12c58089a4c52b2bd2f01c0337e2d36a048a20498

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page