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

Uploaded Source

Built Distribution

followthemoney_store-2.1.3-py2.py3-none-any.whl (8.8 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: followthemoney-store-2.1.3.tar.gz
  • Upload date:
  • Size: 6.4 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.0 CPython/3.7.7

File hashes

Hashes for followthemoney-store-2.1.3.tar.gz
Algorithm Hash digest
SHA256 4d6a617d9629f57c140e929ab46af3220e5574dfd0feee23f271f57f466d43b6
MD5 bd55b4bd1592806ad57b845e7db5c706
BLAKE2b-256 9afb685c606b259b2e4a5e2acff71c894abd6a3ee81cfb41f8dfdea227cd54ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: followthemoney_store-2.1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.8 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.0 CPython/3.7.7

File hashes

Hashes for followthemoney_store-2.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 591998661a22c2637cd6a8df7869338ba0052fb66eb438c18b7bbef63bfc93fc
MD5 3f0508982af93aa9168fca5801d46f15
BLAKE2b-256 261c41664a1bcdec11f12493133b88a069e02e1e1232667222ebff25f901b334

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