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
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
File details
Details for the file securedrop-sdk-0.0.1.tar.gz
.
File metadata
- Download URL: securedrop-sdk-0.0.1.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82373118c49a141881332575c9ac1618973390a7d5c32ed29b3d64cb1f0d91e8 |
|
MD5 | 913ed71b64a6d29315c27f87c54a0f3c |
|
BLAKE2b-256 | 8947dc444c4e9573a59562b94ed1181f299c01d1251b9265a2345abd9032b701 |