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

Uploaded Source

Built Distribution

followthemoney_store-3.0.1-py2.py3-none-any.whl (10.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: followthemoney-store-3.0.1.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7

File hashes

Hashes for followthemoney-store-3.0.1.tar.gz
Algorithm Hash digest
SHA256 c341026a61050dfe49180df71a495528c8b1ac41aaeb5f2de964c0dda5fd8b8f
MD5 f3739f652a643522b918afa351225451
BLAKE2b-256 d5be9d6c4d0189aeb0d791fe60127a09b95f14f79ff5c743019fdb0b01762ed6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: followthemoney_store-3.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7

File hashes

Hashes for followthemoney_store-3.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d156ed6adff1e473882bdc15bf8f3b60ebf88611fac5864101def03c131bb187
MD5 9da84d19755d2607d24966da833cf9b8
BLAKE2b-256 a61d81da6266f9122f771a75f20e7594557a8dd206f8607b911553fcfcdf7ab8

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