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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: followthemoney-store-2.1.7.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for followthemoney-store-2.1.7.tar.gz
Algorithm Hash digest
SHA256 ee43c735fe06ca6503eee2f98dffe85f91cfe6b612582f0872d00a8e297d6d3c
MD5 85a328b2aeda5d4225b4219c5206ff11
BLAKE2b-256 65fcfffa485e09ae5ff8ed8a3c3e7f5b677d3f2d46e81ee1b6662d167a8e2736

See more details on using hashes here.

File details

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

File metadata

  • Download URL: followthemoney_store-2.1.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for followthemoney_store-2.1.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5f4c853aaa742a47140f8d2106e3b3a7c50a4bf239242eeb1b7d66ab391092f0
MD5 2a671860b092de5ac575fdf4f1b3c83f
BLAKE2b-256 629a551c5aec61febe7b2373ea67361d405f9e7621206a991cd75283bbac610b

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