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

Uploaded Source

Built Distribution

followthemoney_store-3.0.2-py2.py3-none-any.whl (9.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: followthemoney-store-3.0.2.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for followthemoney-store-3.0.2.tar.gz
Algorithm Hash digest
SHA256 386767b6cc33e35541751fe5015c76744462375a7f3ac7a62a9ee2ddcc38f05b
MD5 7ee42fe0b00567f21a4db79d676d558c
BLAKE2b-256 6404ef6b9f2ac6ac98264308027e2238edb12fece6a629c20e5a76a1c1652965

See more details on using hashes here.

File details

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

File metadata

  • Download URL: followthemoney_store-3.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for followthemoney_store-3.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 41436ffddb46934c5ecd7afa8c123724b7ac94cb01f3461ae2a9c882a5f5e277
MD5 38640204b7b8b50a93d5a62b4a0ece33
BLAKE2b-256 1445b77a396c4558de304b8fab1767a9572ac84d38f2fa915da195ecea663b92

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