Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

factiva-pipelines-0.0.1.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

factiva_pipelines-0.0.1-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

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