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

Uploaded Source

Built Distribution

followthemoney_store-3.0.0-py2.py3-none-any.whl (10.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: followthemoney-store-3.0.0.tar.gz
  • Upload date:
  • Size: 7.5 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.0.tar.gz
Algorithm Hash digest
SHA256 6ab2dd64800dc249776b7268db0fe69bc51b4c17d3f13ec1616f0e2da4cc9adc
MD5 7dc3805779dea2870c3a91a5e5f7cba1
BLAKE2b-256 36f817881b49e9ccca88fb4865e8af0af4eca503b40d2117e850a9ede1af9ee6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: followthemoney_store-3.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.4 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.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 051bf9535e81a17de0f7c46d22bd114ff1806702404eaaa0919f0a0ca92e6996
MD5 1e16d0be55d1c0d0d1501458128033c4
BLAKE2b-256 cd02cdbec1b34d0e5914c17c415e70aa6ed85d774ef98429296d0a3a5c7c3b78

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