Skip to main content

Python client API to access SecureDrop Journalist REST API

Project description

Python Client for SecureDrop

Note: This is not an official recommended project.

Development

This project uses pipenv to manage all dependencies. This is a Python3 project.

We are using mypy for type annotation checks.

Code formatting

We are using Black tool for code formatting. There is a dockerfile in the repository, which can be used to run Black on the code.

docker build -t kdas/black -f Dockerfile.black
docker run --rm -v $PWD:/home/kdas/workplace kdas/black black .

Note: The dockerfile still needs work.

We cover all the API calls of SecureDrop.

Note: The get_source will get an update to take a Source object as an input.

We will also add a bunch of more tests.

Testing

To test the code, you will need to run the SecureDrop make dev command in the same system. The test suite for this project will test against that development container.

License: GPLv3+

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

securedrop-sdk-0.0.1.tar.gz (17.7 kB view hashes)

Uploaded Source

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