investigraph
An ETL framework for building datasets in the FollowTheMoney format for investigative journalism and research.
installation
investigraph requires at least Python 3.11
pip install investigraph
example datasets
There is a dedicated repo for example datasets built with investigraph.
deployment
docker
docker-compose.yml for local development / testing, use docker-compose.prod.yml as a starting point for a production setup. More instructions here
run locally
Install app and dependencies (use a virtualenv):
pip install investigraph
Or, e.g. when using poetry:
poetry add investigraph
After installation, investigraph as a command should be available:
investigraph --help
Quick run a local dataset definition:
investigraph run -c ./path/to/config.yml
development
This package is using poetry for packaging and dependencies management, so first install it.
Clone investigraph repository to a local destination.
Within the root directory, run
poetry install --with dev
This installs a few development dependencies, including pre-commit which needs to be registered:
poetry run pre-commit install
Before creating a commit, this checks for correct code formatting (isort, black) and some other useful stuff (see: .pre-commit-config.yaml)
test
make test
supported by
Media Tech Lab Bayern batch #3
Metadata
Release files for investigraph 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| investigraph-0.9.0.tar.gz | 18.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| investigraph-0.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.6 kB
Release files / investigraph-0.9.0.tar.gz
| Download URL | investigraph-0.9.0.tar.gz |
|---|---|
| Size | 18.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1d2393ea43dc11ed62df222a9bc66f342f92ec486f9657485d6860191590792
|
|
BLAKE2b-256 checksum How to use checksums |
e253f4fa2475abeafadfce3ea6c77b8c44c90dc30fa5c4b31f9128526a629b74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.14.4 Linux/7.0.0-29-generic
|
Release files / investigraph-0.9.0-py3-none-any.whl
| Download URL | investigraph-0.9.0-py3-none-any.whl |
|---|---|
| Size | 25.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
42d6102d4bd5c24d01f144739e8115b2e891b9e9297b8cb154796328bbf5e76f
|
|
BLAKE2b-256 checksum How to use checksums |
95793c05cf3b2da775f44e0080df87a7c3c2bce92a5e3c6adedd735c5a9fcbb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.14.4 Linux/7.0.0-29-generic
|