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.0.6.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

followthemoney_store-3.0.6-py2.py3-none-any.whl (9.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for followthemoney-store-3.0.6.tar.gz
Algorithm Hash digest
SHA256 9907a587b864f010ff061d3d568f3df7629cd10da9390479a074900d586db731
MD5 ceb6f6a0360b469712f6b99aae3164ae
BLAKE2b-256 fa0666222fee80e683698de3e8d1a0f5039820463e4a6b7fb35eeaef2ea6135f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for followthemoney_store-3.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 887cb07837d96dc64ff57feceb900fd4a14767be9fb6331c171d0094f7162e31
MD5 8300eec5a657d8b95eeba9066c297e89
BLAKE2b-256 00d2e79ad9881037e9942e1378e5d1ee2f2ae76a5d0bf21f509eb4ba397b6303

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