followthemoney-store


Namefollowthemoney-store JSON
Version 3.0.6 PyPI version JSON
download
home_pagehttp://github.com/alephdata/followthemoney-store
SummaryStore raw and structured FollowTheMoney data from different datasets in a data lake
upload_time2023-08-10 17:14:04
maintainer
docs_urlNone
authorOrganized Crime and Corruption Reporting Project
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements followthemoney SQLAlchemy postgres pytest
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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

```bash
# 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:

```bash
$ cat ftm-entities.ijson | ftm store aggregate | alephclient write-entities -f my_dataset
```

### Python Library

```python
from ftmstore import Dataset

dataset = Dataset("US-OFAC")
dataset.put(entity, fragment='1')
```

            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/alephdata/followthemoney-store",
    "name": "followthemoney-store",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Organized Crime and Corruption Reporting Project",
    "author_email": "data@occrp.org",
    "download_url": "https://files.pythonhosted.org/packages/fa/06/66222fee80e683698de3e8d1a0f5039820463e4a6b7fb35eeaef2ea6135f/followthemoney-store-3.0.6.tar.gz",
    "platform": null,
    "description": "# followthemoney-store\n\nThis library provides methods to store, fetch and list entities formatted as\n`followthemoney` data as datasets stored in a SQL backend.\n\n## Usage\n\n### Command-line usage\n\n```bash\n# Insert a bunch of FtM entities into a store:\n$ cat ftm-entities.ijson | ftm store write -d my_dataset\n# Re-create the entities in aggregated form:\n$ ftm store iterate -d my_dataset | alephclient write-entities -f my_dataset\n```\n\nIf you don't want to keep the balkhash dataset generated above, there's a\nshortcut that combines the write and iterate functions:\n\n```bash\n$ cat ftm-entities.ijson | ftm store aggregate | alephclient write-entities -f my_dataset\n```\n\n### Python Library\n\n```python\nfrom ftmstore import Dataset\n\ndataset = Dataset(\"US-OFAC\")\ndataset.put(entity, fragment='1')\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Store raw and structured FollowTheMoney data from different datasets in a data lake",
    "version": "3.0.6",
    "project_urls": {
        "Homepage": "http://github.com/alephdata/followthemoney-store"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "00d2e79ad9881037e9942e1378e5d1ee2f2ae76a5d0bf21f509eb4ba397b6303",
                "md5": "8300eec5a657d8b95eeba9066c297e89",
                "sha256": "887cb07837d96dc64ff57feceb900fd4a14767be9fb6331c171d0094f7162e31"
            },
            "downloads": -1,
            "filename": "followthemoney_store-3.0.6-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8300eec5a657d8b95eeba9066c297e89",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 9384,
            "upload_time": "2023-08-10T17:14:02",
            "upload_time_iso_8601": "2023-08-10T17:14:02.593700Z",
            "url": "https://files.pythonhosted.org/packages/00/d2/e79ad9881037e9942e1378e5d1ee2f2ae76a5d0bf21f509eb4ba397b6303/followthemoney_store-3.0.6-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fa0666222fee80e683698de3e8d1a0f5039820463e4a6b7fb35eeaef2ea6135f",
                "md5": "ceb6f6a0360b469712f6b99aae3164ae",
                "sha256": "9907a587b864f010ff061d3d568f3df7629cd10da9390479a074900d586db731"
            },
            "downloads": -1,
            "filename": "followthemoney-store-3.0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "ceb6f6a0360b469712f6b99aae3164ae",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7365,
            "upload_time": "2023-08-10T17:14:04",
            "upload_time_iso_8601": "2023-08-10T17:14:04.053923Z",
            "url": "https://files.pythonhosted.org/packages/fa/06/66222fee80e683698de3e8d1a0f5039820463e4a6b7fb35eeaef2ea6135f/followthemoney-store-3.0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-10 17:14:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "alephdata",
    "github_project": "followthemoney-store",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "followthemoney",
            "specs": [
                [
                    "==",
                    "3.3.0"
                ]
            ]
        },
        {
            "name": "SQLAlchemy",
            "specs": [
                [
                    "==",
                    "2.0.9"
                ]
            ]
        },
        {
            "name": "postgres",
            "specs": [
                [
                    "==",
                    "4.0"
                ]
            ]
        },
        {
            "name": "pytest",
            "specs": [
                [
                    "==",
                    "7.3.1"
                ]
            ]
        }
    ],
    "lcname": "followthemoney-store"
}
        
Elapsed time: 0.09934s