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

Uploaded Source

Built Distribution

followthemoney_store-2.1.4-py2.py3-none-any.whl (8.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: followthemoney-store-2.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 65f878055c2837d72a361e8c60c7b695f27fee1d2e4533dce8803dc479e48433
MD5 739f8e87da4a298fe6500a6938d44295
BLAKE2b-256 c03a9e9357289fedd2d2276d528a39cb831a523c3ace367c482e7f75dc34a1c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: followthemoney_store-2.1.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.9 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.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b9e6e856947d302ee93b259df42ee5c70100a929222f19c21b51ea5479179751
MD5 afecd38bc0c850d0e68455d6e5336e9b
BLAKE2b-256 aa628b9a7ae018f14cb4367c368c9c7649ef4a0739e1f6bfafdc7a06bbc7ce1d

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