Skip to main content

Store raw and structured FollowTheMoney data from different datasets in a data lake

Project description

followthemoney-store

This library provides methods to store, fetch and list entities formatted as followthemoney data as datasets stored in a SQL backend.

Usage

Command-line usage

# Insert a bunch of FtM entities into a store:
$ cat ftm-entities.ijson | ftm store write -d my_dataset
# Re-create the entities in aggregated form:
$ ftm store iterate -d my_dataset | alephclient write-entities -f my_dataset

If you don't want to keep the balkhash dataset generated above, there's a shortcut that combines the write and iterate functions:

$ cat ftm-entities.ijson | ftm store aggregate | alephclient write-entities -f my_dataset

Python Library

from ftmstore import Dataset

dataset = Dataset("US-OFAC")
dataset.put(entity, fragment='1')

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

followthemoney-store-3.1.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

followthemoney_store-3.1.0-py2.py3-none-any.whl (9.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file followthemoney-store-3.1.0.tar.gz.

File metadata

  • Download URL: followthemoney-store-3.1.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for followthemoney-store-3.1.0.tar.gz
Algorithm Hash digest
SHA256 4c8e05ddbec4eb729670e813f2e0d768c79229fa2bea6458de87897d51cf5908
MD5 90a5b47fce2d8c5f5d532741065efe2e
BLAKE2b-256 41a2da216ac581c6ce47ddd6e995aa90c212a2a7d96e21d4a7b49b7aa2d74fbd

See more details on using hashes here.

File details

Details for the file followthemoney_store-3.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for followthemoney_store-3.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 93a021f5c822dfcc21e85bf2291494d96f50c53dfceeb9a86418c6a99feaab82
MD5 bc833056af6f662831e2f4b36621c04f
BLAKE2b-256 3b04a30b26fa3c53263f5588657f2e22ead2d0b84bf674e8feecbcccd653d336

See more details on using hashes here.

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