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

Uploaded Source

Built Distribution

followthemoney_store-2.1.1-py2.py3-none-any.whl (8.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: followthemoney-store-2.1.1.tar.gz
  • Upload date:
  • Size: 6.2 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.1.tar.gz
Algorithm Hash digest
SHA256 bcc8b354f8bcfb3486f96eff77f52b060ab547b5d3ca1e6652a94b683d659614
MD5 0ca70c8df7ac765224030e145c32b6bc
BLAKE2b-256 a9493279ea19375bc25ae90893be7eb547437b92347799eb47137436925a3bf8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: followthemoney_store-2.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.6 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.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a75a8b2cbbfac1b3336f5427245f70e7d3a8fd9b6aa7245dbf303b4344d01fd8
MD5 e666b46dec777283d513b8cefdbe31f4
BLAKE2b-256 95a420892a85a18b769afadc63489a0071cf7a190101eff14102711f5a89c641

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