Metadata-Version: 2.1
Name: factiva-pipelines
Version: 0.0.1
Summary: Python package with tools to help transforming Snapshots and Streams data.
Home-page: https://github.com/dowjones/factiva-pipelines-python
Author: Miguel Ballesteros
Author-email: miguel.ballesteros@dowjones.com
License: UNKNOWN
Keywords: news,news aggregator,risk,compliance,nlp,alternative data
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: Operating System :: OS Independent
Classifier: Topic :: Office/Business :: News/Diary
Classifier: Topic :: Office/Business :: Financial :: Investment
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.5
Description-Content-Type: text/x-rst
Requires-Dist: pandas
Requires-Dist: numpy
Requires-Dist: fastavro
Requires-Dist: textblob

Dow Jones Factiva Pipelines Library
###################################

Tools for processing and analysing data from Snapshots and Streams.

Installation
============
To install this library, run the following commands.

.. code-block::

    $ 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.

.. code-block:: python

    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.


