Skip to main content

Python package to collect data from Forbes.

Project description

.. image:: https://img.shields.io/pypi/v/pyforbes.svg :target: https://pypi.org/laxmena/pyforbes

.. image:: https://readthedocs.org/projects/pyforbes/badge/?version=latest :target: https://pyforbes.readthedocs.io/en/latest/

.. image:: https://img.shields.io/badge/StackOverflow-PyForbes-blue.svg :target: https://stackoverflow.com/questions/tagged/pyforbes

.. image:: https://img.shields.io/pypi/pyversions/pyforbes.svg :target: https://pypi.org/laxmena/pyforbes

PyForbes - Python wrapper for Forbes API

Welcome to the GitHub repository of PyForbes!

PyForbes <http://www.github.com/laxmena/PyForbes>_ is an unofficial Python wrapper for Forbes API.

PyForbes allows developers to analyze Forbes data or build web application with Forbes data.

PyForbes provides ease of access to developers and data scientists by providing python interface to directly get the Forbes data as a Pandas.DataFrame <https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.html>_ or JSON Dictionary.

A Simple PyForbes application typically looks like this

.. code-block:: python

from pyforbes import ForbesList

flist = ForbesList()

Get ForbesList data as a JSON

billionaires_json = flist.get_json('billionaires', year=2020)

Get ForbesList data as a DataFrame

billionaires_df = flist.get_df('billionaires', year=2020)

In order to make the most out of PyForbes, you should start with the Documentation: Examples <https://pyforbes.readthedocs.io/en/latest/examples.html>_ that will lead you through the most common aspects of the package.

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

PyForbes-1.0.0.tar.gz (7.7 kB view hashes)

Uploaded Source

Built Distribution

PyForbes-1.0.0-py3-none-any.whl (9.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