Skip to main content

etl pipeline for investigations with follow the money data

Project description

investigraph on pypi Python test and package Build docker container pre-commit Coverage Status MIT License

investigraph

An ETL framework for building datasets in the FollowTheMoney format for investigative journalism and research.

Documentation

Tutorial

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

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

investigraph-0.8.0.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

investigraph-0.8.0-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

Details for the file investigraph-0.8.0.tar.gz.

File metadata

  • Download URL: investigraph-0.8.0.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.13.5 Linux/6.12.63+deb13-amd64

File hashes

Hashes for investigraph-0.8.0.tar.gz
Algorithm Hash digest
SHA256 a1a618e463b58391e1b255c626bbee358358a9ff92791d011c50c8f71be9e42a
MD5 6840198ccf3a6886ddbf147e5fb2ad12
BLAKE2b-256 cbb1af0744d87b077b9946c0226fd1c4987159c3be45d4ece2820c63f52c8075

See more details on using hashes here.

File details

Details for the file investigraph-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: investigraph-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 23.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.13.5 Linux/6.12.63+deb13-amd64

File hashes

Hashes for investigraph-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 952cddbf6786bb232e791cc00f144848cfad206aec433696ac436182c509c81b
MD5 4f19e725465caa5e2ffc795b302573e0
BLAKE2b-256 e6c31e83607042d207c71b6bb106ceb5fa9289fc17f5aa3818b3768ed467ba26

See more details on using hashes here.

Supported by

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