Python package with tools to help transforming Snapshots and Streams data.
Project description
Tools for processing and analysing data from Snapshots and Streams.
Installation
To install this library, run the following commands.
$ pip install --upgrade factiva-pipelines
Using Library services
Create a new snapshot and download to a local repository just require a few lines of code.
from factiva.pipelines import snapshot_files as sf
from factiva.pipelines import metadata as fm
all_articles = sf.read_folder('./nag6oqitd2', only_stats=True)
all_articles = fm.expand_country_codes(covid)
all_articles = fm.expand_industry_codes(covid)
In the previous code a folder from a Snapshot download is read fully into a Pandas Dataframe. Then, some metadata codes are expanded into new columns with their human-readable texts.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file factiva-pipelines-0.0.1.tar.gz
.
File metadata
- Download URL: factiva-pipelines-0.0.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 620c3f18f59b8563a5c35474f9a348d2c415124ab1ac585af70346ee14a6d3e4 |
|
MD5 | 8c271960c92987ed4d082bd9e7bc215c |
|
BLAKE2b-256 | d19c4dd7ea11ad8ad5c1ef0539e42e0930c96895debd18ad23ec2b1397af89dd |
File details
Details for the file factiva_pipelines-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: factiva_pipelines-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec53a68c1ca8404fc0801702b9eba1aa9b2a51c18a33d09b1c6cc535a7a56df4 |
|
MD5 | d1fc0085dc42207b92927ae6b7937f83 |
|
BLAKE2b-256 | e0f11403a363cc1e128b453c0cd5a14af59df2b19a476c6af24e8f817b719b28 |