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

Uploaded Source

Built Distribution

followthemoney_store-2.2.2-py2.py3-none-any.whl (9.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: followthemoney-store-2.2.2.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for followthemoney-store-2.2.2.tar.gz
Algorithm Hash digest
SHA256 4f0f5d29878de5d108065fdb60efba5c6dadc0cc51e4120eaf3634da2dbfa77e
MD5 37a89199fdb6eb1f4590cdb0f40dc520
BLAKE2b-256 fdd0bf381cbd3102f05b78248f6fb6b6e213bced6dd0ed63cbddd8a883e40c39

See more details on using hashes here.

File details

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

File metadata

  • Download URL: followthemoney_store-2.2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for followthemoney_store-2.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 21dc3cf9697dd422b522b2fbaa7cb7d85377c16e63bcc059b666e43df8202263
MD5 f133552e8ae2ab1a58be1006ce319169
BLAKE2b-256 d6e53cc9ce18ac5cd5c2cc578c9fd88be620ace634084638c43c037be1c9590a

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