Skip to main content

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

Metadata

Release files for datashare-network-server 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datashare-network-server 0.7.0
File Size Uploaded Provenance Actions
datashare-network-server-0.7.0.tar.gz 16.6 kB Without provenance Details for datashare-network-server-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for datashare-network-server 0.7.0
File Interpreter ABI Platform Actions
datashare_network_server-0.7.0-py3-none-any.whl Python 3 none any Details for datashare_network_server-0.7.0-py3-none-any.whl

Total release size: 33.6 kB

Release files / datashare-network-server-0.7.0.tar.gz

Download URL datashare-network-server-0.7.0.tar.gz
Size 16.6 kB
Tags Source
SHA-256 checksum
How to use checksums
100dc615c12a0a86fa9826814d6a40b2f8d3d4c20bfebae76f000547ebf8c72b
BLAKE2b-256 checksum
How to use checksums
4cad01d7db923ca13f454402bd7a518f8ab228356615b213d41d5600d414f5d3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / datashare_network_server-0.7.0-py3-none-any.whl

Download URL datashare_network_server-0.7.0-py3-none-any.whl
Size 17.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a5a0e620facf7c1daf5f84f44e24f0d5a54779e0261c71421c1f0638912d803f
BLAKE2b-256 checksum
How to use checksums
86c10786cc750dea9b2e5fd3e0128145fe520a09848a2662914f4bdaf489f448
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for datashare-network-server 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page