# -*- coding: utf-8 -*-
from setuptools import setup

package_dir = \
{'': 'src'}

packages = \
['pyopenstates']

package_data = \
{'': ['*']}

install_requires = \
['python-dateutil>=2.8.2,<3.0.0', 'requests>=2.26.0,<3.0.0']

extras_require = \
{'pandas': ['pandas>=1.3.4,<2.0.0']}

setup_kwargs = {
    'name': 'pyopenstates',
    'version': '2.1.0',
    'description': 'A Python module for accessing the Open States API & bulk data.',
    'long_description': '# pyopenstates\n\nA Python client for the [Open States API v3](https://v3.openstates.org/docs).\n\nSource: [https://github.com/openstates/pyopenstates/](https://github.com/openstates/pyopenstates)\n\nDocumentation: [https://openstates.github.io/pyopenstates/](https://openstates.github.io/pyopenstates/)\n\nIssues: [https://github.com/openstates/pyopenstates/issues](https://github.com/openstates/pyopenstates/issues)\n\n**Note: This library was recently updated to support Open States API v3, documentation & coverage is a bit behind, but we wanted to get a release out.  Feel free to contribute issues and/or fixes.**\n\n[![PyPI badge](https://badge.fury.io/py/pyopenstates.svg)](https://badge.fury.io/py/pyopenstates)\n[![Test Python](https://github.com/openstates/pyopenstates/actions/workflows/main.yml/badge.svg)](https://github.com/openstates/pyopenstates/actions/workflows/main.yml)\n\n## Features\n\n- Compatible with Python 3.7+\n- Automatic conversion of string dates and timestamps to ``datetime`` objects.\n- Tested releases.\n- Set API Key via environment variable or in code.\n\n## API Keys\n\nTo use the Open States API you must [obtain an API Key](https://openstates.org/accounts/register/).\n\nOnce you have your key you can use it with this library by setting the ``OPENSTATES_API_KEY`` environment variable or calling ``pyopenstates.set_api_key``.\n\n## About Open States\n\nOpen States strives to improve civic engagement at the state level by providing data and tools regarding state legislatures. We aim to serve members of the public, activist groups, journalists, and researchers with better data on what is happening in their state capital, and to provide tools to reduce barriers to participation and increase engagement.\n\nOpen States aggregates legislative information from all 50 states, Washington, D.C., and Puerto Rico. This information is then standardized, cleaned, and published to the public via OpenStates.org, a powerful API, and bulk downloads. OpenStates.org enables individuals to find out who represents them, look up information on an important bill that’s been in the news, discover how their representatives are voting, or just stay current with what is happening in their state. Additionally, our API and bulk downloads see millions of hits every month from advocacy organizations, journalists, researchers, and many others.\n\nLegislative data is collected from official sources, linked at the bottom of relevant pages. In general bill & vote data is collected multiple times a day via our scrapers while legislator data is curated by our team & volunteers like you.\n\n',
    'author': 'James Turk',
    'author_email': 'james@openstates.org',
    'maintainer': None,
    'maintainer_email': None,
    'url': 'https://github.com/openstates/pyopenstates',
    'package_dir': package_dir,
    'packages': packages,
    'package_data': package_data,
    'install_requires': install_requires,
    'extras_require': extras_require,
    'python_requires': '>=3.7.1,<4.0.0',
}


setup(**setup_kwargs)
