├── .python-version ├── docs ├── _static │ └── .gitignore ├── assets │ ├── extra.css │ └── openstates.svg ├── downloads.md ├── reference.md ├── changelog.md ├── index.md └── data structures.rst ├── src └── pyopenstates │ ├── config.py │ ├── __init__.py │ ├── downloads.py │ └── core.py ├── setup.cfg ├── .pre-commit-config.yaml ├── .github └── workflows │ └── main.yml ├── tasks.py ├── pyproject.toml ├── .gitignore ├── mkdocs.yml ├── tests ├── test_downloads.py └── test_pyopenstates.py ├── README.md ├── LICENSE └── poetry.lock /.python-version: -------------------------------------------------------------------------------- 1 | 3.9.15 2 | -------------------------------------------------------------------------------- /docs/_static/.gitignore: -------------------------------------------------------------------------------- 1 | # This file just makes git create the _static directory so sphinx won't complain 2 | -------------------------------------------------------------------------------- /docs/assets/extra.css: -------------------------------------------------------------------------------- 1 | /* Indentation. */ 2 | div.doc-contents:not(.first) { 3 | padding-left: 25px; 4 | border-left: 4px solid rgba(230, 230, 230); 5 | margin-bottom: 80px; 6 | } 7 | -------------------------------------------------------------------------------- /src/pyopenstates/config.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | __version__ = "2.0.0" 4 | API_ROOT = "https://v3.openstates.org" 5 | DEFAULT_USER_AGENT = f"pyopenstates/{__version__}" 6 | API_KEY_ENV_VAR = "OPENSTATES_API_KEY" 7 | ENVIRON_API_KEY = os.environ.get("OPENSTATES_API_KEY") 8 | -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [bdist_wheel] 2 | # This flag says that the code is written to work on both Python 2 and Python 3 | # 3. If at all possible, it is good practice to do this. If you cannot, you 4 | # will need to generate wheels for each Python version that you support. 5 | universal=1 6 | -------------------------------------------------------------------------------- /docs/downloads.md: -------------------------------------------------------------------------------- 1 | # Downloads 2 | 3 | `pyopenstates` also has some basic methods to help you deal with Open States' bulk data. 4 | 5 | See https://openstates.org/data/session-csv/ for more information. 6 | 7 | ::: pyopenstates.downloads.FileType 8 | 9 | ::: pyopenstates.downloads.load_csv 10 | 11 | ::: pyopenstates.downloads.load_merged_dataframe 12 | -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- 1 | default_language_version: 2 | python: python3.9 3 | repos: 4 | - repo: https://github.com/pre-commit/pre-commit-hooks 5 | rev: v2.2.3 # Use the ref you want to point at 6 | hooks: 7 | - id: check-merge-conflict 8 | - id: debug-statements 9 | - id: flake8 10 | args: ['--max-line-length=120', '--ignore=E203,E501,W503'] 11 | exclude: openstates/il/tests/ 12 | 13 | - repo: https://github.com/ambv/black 14 | rev: 20.8b1 15 | hooks: 16 | - id: black 17 | -------------------------------------------------------------------------------- /docs/reference.md: -------------------------------------------------------------------------------- 1 | # API Reference 2 | 3 | ## Jurisdictions 4 | 5 | ::: pyopenstates.get_metadata 6 | ::: pyopenstates.search_districts 7 | 8 | ## People 9 | 10 | ::: pyopenstates.get_legislator 11 | ::: pyopenstates.locate_legislators 12 | ::: pyopenstates.search_legislators 13 | 14 | ## Bills 15 | 16 | ::: pyopenstates.get_bill 17 | ::: pyopenstates.search_bills 18 | 19 | ## Utilities 20 | 21 | ::: pyopenstates.set_api_key 22 | ::: pyopenstates.set_user_agent 23 | 24 | ## Exceptions 25 | 26 | ::: pyopenstates.APIError 27 | ::: pyopenstates.NotFound 28 | 29 | -------------------------------------------------------------------------------- /src/pyopenstates/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | """A Python client for the Open States API""" 4 | 5 | from .config import ( # noqa 6 | __version__, 7 | API_ROOT, 8 | DEFAULT_USER_AGENT, 9 | API_KEY_ENV_VAR, 10 | ENVIRON_API_KEY, 11 | ) 12 | from .core import ( # noqa 13 | APIError, 14 | NotFound, 15 | set_user_agent, 16 | set_api_key, 17 | get_metadata, 18 | get_organizations, 19 | search_bills, 20 | get_bill, 21 | search_legislators, 22 | get_legislator, 23 | locate_legislators, 24 | search_districts, 25 | ) 26 | -------------------------------------------------------------------------------- /docs/assets/openstates.svg: -------------------------------------------------------------------------------- 1 | 2 | Open States Icon 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /docs/changelog.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## 2.3.1 - 5 January 2021 4 | 5 | * fix for multi-value parameters like include 6 | 7 | ## 2.3.0 - 4 January 2021 8 | 9 | * brought parameters for bill methods in line with API v3 10 | * bugfix for people downloads thanks to Alex Obaseki! 11 | 12 | ## 2.2.0 - 28 December 2021 13 | 14 | * added `VoteCounts` to `downloads.FileType` enum for downloading vote count files 15 | * added `People` to `downloads.FileType` enum for downloading people files 16 | * added support for include= parameter for `get_metadata` 17 | * added proper error handling to `pyopenstates.downloads` fetch call 18 | 19 | ## 2.1.0 - 17 November 2021 20 | 21 | * added `pyopenstates.downloads` to interact with Open States' bulk data 22 | 23 | ## 2.0.0 - 15 November 2021 24 | 25 | * updated library to support API v3 & modernize Python tooling 26 | 27 | ## 1.2.0 - 15 May 2018 28 | 29 | * last release targeting API v1 30 | * detailed changelog was not kept before this 31 | -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | name: Test Python 2 | 3 | on: 4 | push: 5 | branches: [main] 6 | pull_request: 7 | branches: [main] 8 | 9 | 10 | jobs: 11 | test: 12 | strategy: 13 | matrix: 14 | python: ['3.9', '3.10'] 15 | runs-on: ubuntu-latest 16 | steps: 17 | # Python & dependency installation 18 | - uses: actions/checkout@v2 19 | - name: setup Python 20 | uses: actions/setup-python@v2 21 | with: 22 | python-version: ${{ matrix.python }} 23 | - name: install Poetry 24 | uses: snok/install-poetry@v1.2.1 25 | - name: set poetry config path 26 | run: poetry config virtualenvs.path ~/.virtualenvs 27 | - name: install dependencies 28 | run: poetry install -E pandas 29 | - name: lint with flake8 30 | run: poetry run flake8 --show-source --statistics --ignore=E203,E501,W503 src 31 | - name: pytest 32 | run: poetry run pytest 33 | env: 34 | OPENSTATES_API_KEY: ${{ secrets.OPENSTATES_API_KEY }} 35 | -------------------------------------------------------------------------------- /tasks.py: -------------------------------------------------------------------------------- 1 | from invoke import task 2 | from pathlib import Path 3 | 4 | 5 | @task 6 | def docs(c): 7 | c.run("poetry run mkdocs serve", pty=True) 8 | 9 | 10 | @task 11 | def test(c, args=""): 12 | c.run("poetry run pytest " + args, pty=True) 13 | # --cov=src/ --cov-report html 14 | 15 | 16 | @task 17 | def mypy(c): 18 | c.run("poetry run mypy src/", pty=True) 19 | 20 | 21 | @task 22 | def lint(c): 23 | c.run("poetry run flake8 src/ tests/ --ignore=E203,E501,W503", pty=True) 24 | c.run("poetry run black --check src/ tests/", pty=True) 25 | 26 | 27 | @task 28 | def spellcheck(c): 29 | files = Path("docs").glob("*.md") 30 | for file in files: 31 | print(file) 32 | c.run(f"aspell check {file}", pty=True) 33 | 34 | 35 | @task(lint, test) 36 | def release(c, old, new): 37 | # c.run( 38 | # "poetry run bump2version x pyproject.toml" 39 | # f"--current-version {old} --new-version {new} --commit --tag --allow-dirty", 40 | # pty=True, 41 | # ) 42 | c.run("git push", pty=True) 43 | c.run("git push --tags", pty=True) 44 | c.run("poetry publish --build", pty=True) 45 | c.run("poetry run mkdocs gh-deploy", pty=True) 46 | c.run(f"gh release create v{new} -F docs/changelog.md") 47 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "pyopenstates" 3 | version = "2.3.1" 4 | description = "A Python module for accessing the Open States API & bulk data." 5 | authors = ["James Turk ", "Sean Whalen "] 6 | license = "Apache-2.0" 7 | readme = "README.md" 8 | repository = "https://github.com/openstates/pyopenstates" 9 | classifiers = [ 10 | 'Topic :: Sociology :: History', 11 | 'Intended Audience :: Developers', 12 | 'Intended Audience :: Legal Industry', 13 | "Intended Audience :: Science/Research", 14 | 'Operating System :: OS Independent', 15 | 'License :: OSI Approved :: Apache Software License', 16 | 'Programming Language :: Python :: 3', 17 | 'Programming Language :: Python :: 3.9', 18 | 'Programming Language :: Python :: 3.10', 19 | ] 20 | 21 | [tool.poetry.dependencies] 22 | python = "^3.9" 23 | requests = "^2.26.0" 24 | python-dateutil = "^2.8.2" 25 | pandas = {version = "^1.3.4", optional = true} 26 | 27 | [tool.poetry.dev-dependencies] 28 | pytest = "^6.2.5" 29 | flake8 = "^4.0.1" 30 | mkdocstrings = "^0.16.2" 31 | mkdocs-material = "^7.3.6" 32 | 33 | [tool.poetry.extras] 34 | pandas = ["pandas"] 35 | 36 | [build-system] 37 | requires = ["poetry-core>=1.0.0"] 38 | build-backend = "poetry.core.masonry.api" 39 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | env/ 12 | build/ 13 | develop-eggs/ 14 | dist/ 15 | downloads/ 16 | eggs/ 17 | .eggs/ 18 | lib/ 19 | lib64/ 20 | parts/ 21 | sdist/ 22 | var/ 23 | *.egg-info/ 24 | .installed.cfg 25 | *.egg 26 | 27 | # PyInstaller 28 | # Usually these files are written by a python script from a template 29 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 30 | *.manifest 31 | *.spec 32 | 33 | # Installer logs 34 | pip-log.txt 35 | pip-delete-this-directory.txt 36 | 37 | # Unit test / coverage reports 38 | htmlcov/ 39 | .tox/ 40 | .coverage 41 | .coverage.* 42 | .cache 43 | nosetests.xml 44 | coverage.xml 45 | *,cover 46 | .hypothesis/ 47 | 48 | # Translations 49 | *.mo 50 | *.pot 51 | 52 | # Django stuff: 53 | *.log 54 | local_settings.py 55 | 56 | # Flask stuff: 57 | instance/ 58 | .webassets-cache 59 | 60 | # Scrapy stuff: 61 | .scrapy 62 | 63 | # Sphinx documentation 64 | docs/_build/ 65 | 66 | # PyBuilder 67 | target/ 68 | 69 | # IPython Notebook 70 | .ipynb_checkpoints 71 | 72 | # celery beat schedule file 73 | celerybeat-schedule 74 | 75 | # dotenv 76 | .env 77 | 78 | # virtualenv 79 | venv/ 80 | ENV/ 81 | 82 | # Spyder project settings 83 | .spyderproject 84 | 85 | # Rope project settings 86 | .ropeproject 87 | 88 | # PyCharm project settings.py 89 | .idea/ 90 | 91 | # Sandbox 92 | sandbox.py 93 | 94 | site/ 95 | -------------------------------------------------------------------------------- /mkdocs.yml: -------------------------------------------------------------------------------- 1 | site_name: pyopenstates 2 | site_url: https://openstates.github.io/pyopenstates/ 3 | site_author: James Turk 4 | site_description: A Python module for accessing the Open States API. 5 | copyright: Copyright © 2021 Open States 6 | repo_url: https://github.com/openstates/pyopenstates 7 | repo_name: openstates/pyopenstates 8 | edit_uri: edit/main/docs/ 9 | 10 | theme: 11 | logo: assets/openstates.svg 12 | name: material 13 | palette: 14 | - scheme: default 15 | primary: indigo 16 | accent: indigo 17 | toggle: 18 | icon: material/toggle-switch-off-outline 19 | name: Switch to dark mode 20 | - scheme: slate 21 | primary: indigo 22 | accent: indigo 23 | toggle: 24 | icon: material/toggle-switch 25 | name: Switch to light mode 26 | 27 | features: 28 | #- navigation.tabs 29 | - navigation.sections 30 | - navigation.top 31 | - content.tabs.link 32 | icon: 33 | repo: fontawesome/brands/github 34 | markdown_extensions: 35 | - admonition 36 | - def_list 37 | - pymdownx.highlight 38 | - pymdownx.tabbed 39 | - pymdownx.superfences 40 | - toc: 41 | permalink: true 42 | plugins: 43 | - search 44 | - mkdocstrings: 45 | handlers: 46 | python: 47 | selection: 48 | docstring_style: restructured-text 49 | rendering: 50 | show_source: false 51 | show_root_full_path: false 52 | show_root_toc_entry: true 53 | show_root_heading: true 54 | heading_level: 3 55 | 56 | watch: 57 | - src/ 58 | extra_css: 59 | - assets/extra.css 60 | nav: 61 | - 'index.md' 62 | - 'reference.md' 63 | - 'downloads.md' 64 | - 'changelog.md' 65 | -------------------------------------------------------------------------------- /tests/test_downloads.py: -------------------------------------------------------------------------------- 1 | from pyopenstates.downloads import ( 2 | load_csv, 3 | FileType, 4 | load_merged_dataframe, 5 | ) 6 | 7 | 8 | def test_load_csv(): 9 | data = list(load_csv("al", "2021s1", FileType.Bills)) 10 | assert len(data) == 37 11 | 12 | 13 | def test_load_people_csv(): 14 | data = list(load_csv("al", "2021s1", FileType.People)) 15 | assert "given_name" in data[0].keys() 16 | assert len(data) > 50 17 | 18 | 19 | def test_load_merged_dataframe_bills(): 20 | bills_df = load_merged_dataframe("al", "2021s1", FileType.Bills) 21 | assert len(bills_df) == 37 22 | assert "title" in list(bills_df.columns) 23 | 24 | 25 | def test_load_merged_dataframe_bills_joins(): 26 | actions_df = load_merged_dataframe("al", "2021s1", FileType.Actions) 27 | assert len(actions_df) == 170 28 | assert "description" in list(actions_df.columns) 29 | 30 | sponsors_df = load_merged_dataframe("al", "2021s1", FileType.Sponsorships) 31 | assert len(sponsors_df) == 37 32 | assert "name" in list(sponsors_df.columns) 33 | 34 | sources_df = load_merged_dataframe("al", "2021s1", FileType.Sources) 35 | assert len(sources_df) == 74 36 | assert "url" in list(sources_df.columns) 37 | 38 | versions_df = load_merged_dataframe("al", "2021s1", FileType.Versions) 39 | assert len(versions_df) == 53 40 | assert "note" in list(versions_df.columns) 41 | 42 | 43 | def test_load_merged_dataframe_version_links(): 44 | df = load_merged_dataframe("al", "2021s1", FileType.VersionLinks) 45 | assert len(df) == 53 46 | assert "url" in list(df.columns) 47 | 48 | 49 | def test_load_merged_dataframe_votes_joins(): 50 | votes_df = load_merged_dataframe("al", "2021s1", FileType.Votes) 51 | assert len(votes_df) == 33 52 | assert "motion_text" in list(votes_df.columns) 53 | 54 | vp_df = load_merged_dataframe("al", "2021s1", FileType.VotePeople) 55 | assert len(vp_df) == 1494 56 | assert "voter_name" in list(vp_df.columns) 57 | 58 | vs_df = load_merged_dataframe("al", "2021s1", FileType.VoteSources) 59 | assert len(vs_df) == 33 60 | assert "url" in list(vs_df.columns) 61 | 62 | vs_df = load_merged_dataframe("al", "2021s1", FileType.VoteCounts) 63 | assert len(vs_df) == 33 * 3 64 | assert "option" in list(vs_df.columns) 65 | -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- 1 | # pyopenstates 2 | 3 | A Python client for the [Open States API v3](https://v3.openstates.org/docs). 4 | 5 | Source: [https://github.com/openstates/pyopenstates/](https://github.com/openstates/pyopenstates) 6 | 7 | Documentation: [https://openstates.github.io/pyopenstates/](https://openstates.github.io/pyopenstates/) 8 | 9 | Issues: [https://github.com/openstates/pyopenstates/issues](https://github.com/openstates/pyopenstates/issues) 10 | 11 | **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.** 12 | 13 | [![PyPI badge](https://badge.fury.io/py/pyopenstates.svg)](https://badge.fury.io/py/pyopenstates) 14 | [![Test Python](https://github.com/openstates/pyopenstates/actions/workflows/main.yml/badge.svg)](https://github.com/openstates/pyopenstates/actions/workflows/main.yml) 15 | 16 | ## Features 17 | 18 | - Compatible with Python 3.7+ 19 | - Automatic conversion of string dates and timestamps to ``datetime`` objects. 20 | - Tested releases. 21 | - Set API Key via environment variable or in code. 22 | 23 | ## API Keys 24 | 25 | To use the Open States API you must [obtain an API Key](https://openstates.org/accounts/register/). 26 | 27 | Once 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``. 28 | 29 | ## About Open States 30 | 31 | Open 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. 32 | 33 | Open 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. 34 | 35 | Legislative 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. 36 | 37 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # pyopenstates 2 | 3 | A Python client for the [Open States API v3](https://v3.openstates.org/docs). 4 | 5 | Source: [https://github.com/openstates/pyopenstates/](https://github.com/openstates/pyopenstates) 6 | 7 | Documentation: [https://openstates.github.io/pyopenstates/](https://openstates.github.io/pyopenstates/) 8 | 9 | Issues: [https://github.com/openstates/pyopenstates/issues](https://github.com/openstates/pyopenstates/issues) 10 | 11 | **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.** 12 | 13 | [![PyPI badge](https://badge.fury.io/py/pyopenstates.svg)](https://badge.fury.io/py/pyopenstates) 14 | [![Test Python](https://github.com/openstates/pyopenstates/actions/workflows/main.yml/badge.svg)](https://github.com/openstates/pyopenstates/actions/workflows/main.yml) 15 | 16 | ## Features 17 | 18 | - Compatible with Python 3.9+ 19 | - Automatic conversion of string dates and timestamps to ``datetime`` objects. 20 | - Tested releases. 21 | - Set API Key via environment variable or in code. 22 | 23 | ## API Keys 24 | 25 | To use the Open States API you must [obtain an API Key](https://openstates.org/accounts/register/). 26 | 27 | Once 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``. 28 | 29 | > Running tests for this library requires a valid API token 30 | 31 | ## About Open States 32 | 33 | Open 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. 34 | 35 | Open 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. 36 | 37 | Legislative 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. 38 | 39 | -------------------------------------------------------------------------------- /src/pyopenstates/downloads.py: -------------------------------------------------------------------------------- 1 | import csv 2 | import io 3 | import pathlib 4 | import requests 5 | import tempfile 6 | import zipfile 7 | from enum import Enum 8 | 9 | from .core import get_metadata 10 | 11 | TEMP_PATH = pathlib.Path(tempfile.gettempdir()) / "OS_ZIP_CACHE" 12 | 13 | 14 | class FileType(Enum): 15 | """ 16 | enum specifying the various types of files available from the CSV bulk data: 17 | 18 | - `Bills` 19 | - `Actions` 20 | - `Sources` 21 | - `Sponsorships` 22 | - `Versions` 23 | - `VersionLinks` 24 | - `Votes` 25 | - `VotePeople` 26 | - `VoteSources` 27 | - `Organizations` 28 | - `People` 29 | """ 30 | 31 | Bills = "_bills.csv" 32 | Actions = "_bill_actions.csv" 33 | Sources = "_bill_sources.csv" 34 | Sponsorships = "_bill_sponsorships.csv" 35 | Versions = "_bill_versions.csv" 36 | VersionLinks = "_bill_version_links.csv" 37 | Votes = "_votes.csv" 38 | VotePeople = "_vote_people.csv" 39 | VoteSources = "_vote_sources.csv" 40 | VoteCounts = "_vote_counts.csv" 41 | Organizations = "_organizations.csv" 42 | People = "people not in zip" # will be special cased 43 | 44 | 45 | def _get_download_url(jurisdiction: str, session: str) -> str: 46 | sessions = get_metadata(jurisdiction, include="legislative_sessions")[ 47 | "legislative_sessions" 48 | ] 49 | for ses in sessions: 50 | if ses["identifier"] == session: 51 | break 52 | else: 53 | raise ValueError("invalid session") 54 | return ses["downloads"][0]["url"] 55 | 56 | 57 | def _download_zip(url: str) -> pathlib.Path: 58 | filename = url.split("/")[-1] 59 | local_path = TEMP_PATH / filename 60 | TEMP_PATH.mkdir(parents=True, exist_ok=True) 61 | if not local_path.exists(): 62 | with open(local_path, "wb") as f: 63 | f.write(requests.get(url).content) 64 | return local_path 65 | 66 | 67 | def _load_session_data(state: str, session: str, file_type: FileType) -> str: 68 | if file_type == FileType.People: 69 | return requests.get( 70 | f"https://data.openstates.org/people/current/{state}.csv" 71 | ).text 72 | url = _get_download_url(state, session) 73 | zip_path = _download_zip(url) 74 | with zipfile.ZipFile(zip_path) as zf: 75 | for filename in zf.namelist(): 76 | if filename.endswith(file_type.value): 77 | break 78 | else: 79 | raise ValueError(f"no file of type {file_type} in {zip_path}") 80 | with zf.open(filename) as df: 81 | return df.read().decode() 82 | 83 | 84 | def load_csv(state: str, session: str, file_type: FileType): 85 | """ 86 | Returns an instantiated `csv.DictReader` to iterate over the requested file. 87 | """ 88 | data = _load_session_data(state, session, file_type) 89 | return csv.DictReader(io.StringIO(data)) 90 | 91 | 92 | def load_merged_dataframe(state: str, session: str, which: FileType): 93 | """ 94 | Returns a populated `pandas.DataFrame` with the requested content. 95 | 96 | `FileType.Actions`, `FileType.Sources`, `FileType.Versions`, `FileType.Sponsorships` 97 | will be merged against a `FileType.Bills` dataframe. 98 | 99 | `FileType.VersionLinks` will be merged against both a `FileType.Versions` 100 | and `FileType.Bills` dataframe. 101 | 102 | `FileType.VotePeople`, `FileType.VoteCounts`, and `FileType.VoteSources` 103 | will be merged against a `FileType.Votes` dataframe. 104 | 105 | Other types will be returned as-is. 106 | """ 107 | import pandas as pd 108 | 109 | other_df = pd.DataFrame(load_csv(state, session, which)) 110 | 111 | if which in ( 112 | FileType.Actions, 113 | FileType.Sources, 114 | FileType.Versions, 115 | FileType.Sponsorships, 116 | ): 117 | # these merge to Bills 118 | main_df = pd.DataFrame(load_csv(state, session, FileType.Bills)) 119 | return main_df.merge( 120 | other_df, 121 | left_on="id", 122 | right_on="bill_id", 123 | how="left", 124 | suffixes=["_bill", ""], 125 | ) 126 | elif which == FileType.VersionLinks: 127 | main_df = pd.DataFrame(load_csv(state, session, FileType.Bills)) 128 | versions_df = pd.DataFrame(load_csv(state, session, FileType.Versions)) 129 | main_df = main_df.merge( 130 | versions_df, 131 | left_on="id", 132 | right_on="bill_id", 133 | how="left", 134 | suffixes=["_bill", "_version"], 135 | ) 136 | return main_df.merge( 137 | other_df, 138 | left_on="id_version", 139 | right_on="version_id", 140 | how="left", 141 | suffixes=["", "_link"], 142 | ) 143 | elif which in (FileType.VotePeople, FileType.VoteSources, FileType.VoteCounts): 144 | main_df = pd.DataFrame(load_csv(state, session, FileType.Votes)) 145 | return main_df.merge( 146 | other_df, 147 | left_on="id", 148 | right_on="vote_event_id", 149 | how="left", 150 | suffixes=["_vote", ""], 151 | ) 152 | else: 153 | return other_df 154 | -------------------------------------------------------------------------------- /tests/test_pyopenstates.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | """Unit tests for openstatesclient""" 4 | 5 | import pytest 6 | from datetime import datetime 7 | import pyopenstates 8 | 9 | 10 | def testOpenStatesMetadata(): 11 | """Calling the metadata method without specifying a state returns a 12 | list of 52 dictionaries: One for each state, plus DC and Puerto Rico""" 13 | metadata = pyopenstates.get_metadata() 14 | assert len(metadata) == 52 15 | 16 | 17 | def testStateMetadata(): 18 | """All default state metadata fields are returned""" 19 | state_code = "NC" 20 | fields = ["id", "name", "classification", "division_id", "url"] 21 | metadata = pyopenstates.get_metadata(state_code) 22 | keys = metadata.keys() 23 | for field in fields: 24 | assert field in keys 25 | assert metadata["name"] == "North Carolina" 26 | 27 | 28 | def testSubsetStateMetadataFields(): 29 | """Requesting specific fields in state metadata returns only those 30 | fields""" 31 | requested_fields = ["id", "name", "url"] 32 | metadata = pyopenstates.get_metadata("OH", fields=requested_fields) 33 | returned_fields = metadata.keys() 34 | 35 | for field in requested_fields: 36 | assert field in returned_fields 37 | for field in returned_fields: 38 | assert field in requested_fields 39 | 40 | 41 | def testGetOrganizations(): 42 | """Get all organizations for a given state""" 43 | state_code = "NC" 44 | orgs = pyopenstates.get_organizations(state_code) 45 | names = [org["name"] for org in orgs] 46 | assert "North Carolina General Assembly" in names 47 | 48 | 49 | def testInvalidState(): 50 | """Specifying an invalid state raises a NotFound exception""" 51 | with pytest.raises(pyopenstates.NotFound): 52 | pyopenstates.get_metadata(state="ZZ") 53 | 54 | 55 | def testBillSearchFullText(): 56 | """A basic full-text search returns results that contain the query 57 | string""" 58 | query = "taxi" 59 | results = pyopenstates.search_bills(state="ny", q=query) 60 | assert len(results) > 10 61 | match = False 62 | for result in results: 63 | if query.lower() in result["title"].lower(): 64 | match = True 65 | break 66 | assert match 67 | 68 | 69 | def testBillDetails(): 70 | """Bill details""" 71 | state = "nc" 72 | session = "2019" 73 | bill_id = "HB 1105" 74 | 75 | bill = pyopenstates.get_bill(state=state, session=session, bill_id=bill_id) 76 | 77 | assert bill["identifier"] == bill_id 78 | 79 | 80 | def test_get_bill_includes(): 81 | state = "nc" 82 | session = "2019" 83 | bill_id = "HB 1105" 84 | 85 | bill = pyopenstates.get_bill( 86 | state=state, session=session, bill_id=bill_id, include=["sources", "versions"] 87 | ) 88 | 89 | assert bill["identifier"] == bill_id 90 | assert bill["versions"] 91 | assert bill["sources"] 92 | 93 | 94 | def testBillDetailsByUID(): 95 | """Bill details by UID""" 96 | _id = "6dc08e5d-3d62-42c0-831d-11487110c800" 97 | title = "Coronavirus Relief Act 3.0." 98 | 99 | bill = pyopenstates.get_bill(_id) 100 | 101 | assert bill["title"] == title 102 | 103 | 104 | def testBillDetailInputs(): 105 | """Bill detail inputs""" 106 | state = "nc" 107 | session = "2019" 108 | bill_id = "HB 1105" 109 | _id = "6dc08e5d-3d62-42c0-831d-11487110c800" 110 | 111 | with pytest.raises(ValueError): 112 | pyopenstates.get_bill(_id, state, session, bill_id) 113 | with pytest.raises(ValueError): 114 | pyopenstates.get_bill(_id, state) 115 | 116 | 117 | def testBillSearchMissingFilter(): 118 | """Searching for bills with no filters raises APIError""" 119 | with pytest.raises(pyopenstates.APIError): 120 | pyopenstates.search_bills() 121 | 122 | 123 | def testLegislatorSearch(): 124 | """Legislator search""" 125 | state = "dc" 126 | org_classification = "legislature" 127 | results = pyopenstates.search_legislators( 128 | jurisdiction=state, org_classification=org_classification 129 | ) 130 | assert len(results) > 2 131 | for legislator in results: 132 | assert legislator["jurisdiction"]["name"] == "District of Columbia" 133 | assert legislator["current_role"]["org_classification"] == org_classification 134 | 135 | 136 | def testLegislatorDetails(): 137 | """Legislator details""" 138 | _id = "adb58f21-f2fd-4830-85b6-f490b0867d14" 139 | name = "Bryce E. Reeves" 140 | assert pyopenstates.get_legislator(_id)["name"] == name 141 | 142 | 143 | def testLegislatorGeolocation(): 144 | """Legislator geolocation""" 145 | lat = 35.79 146 | lng = -78.78 147 | results = pyopenstates.locate_legislators(lat, lng) 148 | assert len(results) == 5 149 | for legislator in results: 150 | assert legislator["jurisdiction"]["name"] in ( 151 | "North Carolina", 152 | "United States", 153 | ) 154 | 155 | 156 | def testDistrictSearch(): 157 | """District search""" 158 | state = "nc" 159 | chamber = "lower" 160 | results = pyopenstates.search_districts(state, chamber) 161 | assert len(results) > 2 162 | for district in results: 163 | assert district["role"] == "Representative" 164 | 165 | 166 | def testTimestampConversionInList(): 167 | """Timestamp conversion in a list""" 168 | bill = pyopenstates.search_bills(state="oh", q="HB 1")[0] 169 | assert isinstance(bill["created_at"], datetime) 170 | 171 | 172 | def testTimestampConversionInDict(): 173 | """Timestamp conversion in a dictionary""" 174 | oh = pyopenstates.get_metadata(state="oh") 175 | assert isinstance(oh["latest_people_update"], datetime) 176 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "{}" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright {yyyy} {name of copyright owner} 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /src/pyopenstates/core.py: -------------------------------------------------------------------------------- 1 | import warnings 2 | import dateutil.parser 3 | from requests import Session 4 | from time import sleep 5 | from .config import ( # noqa 6 | __version__, 7 | API_ROOT, 8 | DEFAULT_USER_AGENT, 9 | API_KEY_ENV_VAR, 10 | ENVIRON_API_KEY, 11 | ) 12 | 13 | 14 | session = Session() 15 | session.headers.update({"Accept": "application/json"}) 16 | session.headers.update({"User-Agent": DEFAULT_USER_AGENT}) 17 | if ENVIRON_API_KEY: 18 | session.headers.update({"X-Api-Key": ENVIRON_API_KEY}) 19 | else: 20 | warnings.warn(f"Warning: No API Key found, set {API_KEY_ENV_VAR}") 21 | 22 | 23 | class APIError(RuntimeError): 24 | """ 25 | Raised when the Open States API returns an error 26 | """ 27 | 28 | pass 29 | 30 | 31 | class NotFound(APIError): 32 | """Raised when the API cannot find the requested object""" 33 | 34 | pass 35 | 36 | 37 | def _make_params(**kwargs): 38 | return {k: v for k, v in kwargs.items() if v is not None} 39 | 40 | 41 | def _get(uri, params=None): 42 | """ 43 | An internal method for making API calls and error handling easy and 44 | consistent 45 | 46 | Args: 47 | uri: API URI 48 | params: GET parameters 49 | 50 | Returns: 51 | JSON as a Python dictionary 52 | """ 53 | 54 | def _convert_timestamps(result): 55 | """Converts a string timestamps from an api result API to a datetime""" 56 | if isinstance(result, dict): 57 | for key in result.keys(): 58 | if key in ( 59 | "created_at", 60 | "updated_at", 61 | "latest_people_update", 62 | "latest_bill_update", 63 | ): 64 | try: 65 | result[key] = dateutil.parser.parse(result[key]) 66 | except ValueError: 67 | pass 68 | elif isinstance(result[key], dict): 69 | result[key] = _convert_timestamps(result[key]) 70 | elif isinstance(result[key], list): 71 | result[key] = [_convert_timestamps(r) for r in result[key]] 72 | elif isinstance(result, list): 73 | result = [_convert_timestamps(r) for r in result] 74 | 75 | return result 76 | 77 | def _convert(result): 78 | """Convert results to standard Python data structures""" 79 | result = _convert_timestamps(result) 80 | return result 81 | 82 | url = f"{API_ROOT}/{uri}" 83 | response = session.get(url, params=params) 84 | if response.status_code != 200: 85 | if response.status_code == 404: 86 | raise NotFound(f"Not found: {response.url}") 87 | else: 88 | raise APIError(response.text) 89 | return _convert(response.json()) 90 | 91 | 92 | def set_user_agent(user_agent): 93 | """Appends a custom string to the default User-Agent string 94 | (e.g. ``pyopenstates/__version__ user_agent``)""" 95 | session.headers.update({"User-Agent": f"{DEFAULT_USER_AGENT} {user_agent}"}) 96 | 97 | 98 | def set_api_key(apikey): 99 | """Sets API key. Can also be set as OPENSTATES_API_KEY environment 100 | variable.""" 101 | session.headers["X-Api-Key"] = apikey 102 | 103 | 104 | def get_metadata(state=None, include=None, fields=None): 105 | """ 106 | Returns a list of all states with data available, and basic metadata 107 | about their status. Can also get detailed metadata for a particular 108 | state. 109 | 110 | Args: 111 | state: The abbreviation of state to get detailed metadata on, or leave 112 | as None to get high-level metadata on all states. 113 | 114 | include: Additional includes. 115 | 116 | fields: An optional list of fields to return; returns all fields by 117 | default 118 | 119 | Returns: 120 | Dict: The requested :ref:`Metadata` as a dictionary 121 | """ 122 | uri = "jurisdictions" 123 | params = dict() 124 | if include: 125 | params["include"] = _include_list(include) 126 | if state: 127 | uri += "/" + _jurisdiction_id(state) 128 | state_response = _get(uri, params=params) 129 | if fields is not None: 130 | return {k: state_response[k] for k in fields} 131 | else: 132 | return state_response 133 | else: 134 | params["page"] = "1" 135 | params["per_page"] = "52" 136 | return _get(uri, params=params)["results"] 137 | 138 | 139 | def get_organizations(state): 140 | uri = "jurisdictions" 141 | uri += "/" + _jurisdiction_id(state) 142 | state_response = _get(uri, params={"include": "organizations"}) 143 | return state_response["organizations"] 144 | 145 | 146 | def _alt_parameter(param, other_param, param_name, other_param_name): 147 | """ensure that only one name was specified""" 148 | if param and other_param: 149 | raise ValueError( 150 | f"cannot specify both {param_name} and variant {other_param_name}" 151 | ) 152 | elif other_param: 153 | warnings.warn(f"{other_param_name} is deprecated, use {param_name}") 154 | return other_param 155 | return param 156 | 157 | 158 | def search_bills( 159 | jurisdiction=None, 160 | identifier=None, 161 | session=None, 162 | chamber=None, 163 | classification=None, 164 | subject=None, 165 | updated_since=None, 166 | created_since=None, 167 | action_since=None, 168 | sponsor=None, 169 | sponsor_classification=None, 170 | q=None, 171 | # control params 172 | sort=None, 173 | include=None, 174 | page=1, 175 | per_page=10, 176 | all_pages=True, 177 | # alternate names for other parameters 178 | state=None, 179 | ): 180 | """ 181 | Find bills matching a given set of filters 182 | 183 | For a list of each field, example values, etc. see 184 | https://v3.openstates.org/docs#/bills/bills_search_bills_get 185 | """ 186 | uri = "bills/" 187 | args = {} 188 | 189 | jurisdiction = _alt_parameter(state, jurisdiction, "state", "jurisdiction") 190 | 191 | if jurisdiction: 192 | args["jurisdiction"] = jurisdiction 193 | if session: 194 | args["session"] = session 195 | if chamber: 196 | args["chamber"] = chamber 197 | if classification: 198 | args["classification"] = classification 199 | if subject: 200 | args["subject"] = subject 201 | if updated_since: 202 | args["updated_since"] = updated_since 203 | if created_since: 204 | args["created_since"] = created_since 205 | if action_since: 206 | args["action_since"] = action_since 207 | if sponsor: 208 | args["sponsor"] = sponsor 209 | if sponsor_classification: 210 | args["sponsor_classification"] = sponsor_classification 211 | if q: 212 | args["q"] = q 213 | if sort: 214 | args["sort"] = sort 215 | if include: 216 | args["include"] = include 217 | 218 | results = [] 219 | 220 | if all_pages: 221 | args["per_page"] = 20 222 | args["page"] = 1 223 | else: 224 | args["per_page"] = per_page 225 | args["page"] = page 226 | 227 | resp = _get(uri, params=args) 228 | results += resp["results"] 229 | 230 | if all_pages: 231 | while resp["pagination"]["page"] < resp["pagination"]["max_page"]: 232 | args["page"] += 1 233 | sleep(1) 234 | resp = _get(uri, params=args) 235 | results += resp["results"] 236 | 237 | return results 238 | 239 | 240 | def get_bill(uid=None, state=None, session=None, bill_id=None, include=None): 241 | """ 242 | Returns details of a specific bill Can be identified by the Open States 243 | unique bill id (uid), or by specifying the state, session, and 244 | legislative bill ID 245 | 246 | Args: 247 | uid: The Open States unique bill ID 248 | state: The postal code of the state 249 | session: The legislative session (see state metadata) 250 | bill_id: Yhe legislative bill ID (e.g. ``HR 42``) 251 | **kwargs: Optional keyword argument options, such as ``fields``, 252 | which specifies the fields to return 253 | 254 | Returns: 255 | The :ref:`Bill` details as a dictionary 256 | """ 257 | args = {"include": include} if include else {} 258 | 259 | if uid: 260 | if state or session or bill_id: 261 | raise ValueError( 262 | "Must specify an Open States bill (uid), or the " 263 | "state, session, and bill ID" 264 | ) 265 | uid = _fix_id_string("ocd-bill/", uid) 266 | return _get(f"bills/{uid}", params=args) 267 | else: 268 | if not state or not session or not bill_id: 269 | raise ValueError( 270 | "Must specify an Open States bill (uid), " 271 | "or the state, session, and bill ID" 272 | ) 273 | return _get(f"bills/{state.lower()}/{session}/{bill_id}", params=args) 274 | 275 | 276 | def search_legislators( 277 | jurisdiction=None, 278 | name=None, 279 | id_=None, 280 | org_classification=None, 281 | district=None, 282 | include=None, 283 | ): 284 | """ 285 | Search for legislators. 286 | 287 | Returns: 288 | A list of matching :ref:`Legislator` dictionaries 289 | 290 | """ 291 | params = _make_params( 292 | jurisdiction=jurisdiction, 293 | name=name, 294 | id=id_, 295 | org_classification=org_classification, 296 | district=district, 297 | include=include, 298 | ) 299 | return _get("people", params)["results"] 300 | 301 | 302 | def get_legislator(leg_id): 303 | """ 304 | Gets a legislator's details 305 | 306 | Args: 307 | leg_id: The Legislator's Open States ID 308 | fields: An optional custom list of fields to return 309 | 310 | Returns: 311 | The requested :ref:`Legislator` details as a dictionary 312 | """ 313 | leg_id = _fix_id_string("ocd-person/", leg_id) 314 | return _get("people/", params={"id": [leg_id]})["results"][0] 315 | 316 | 317 | def locate_legislators(lat, lng, fields=None): 318 | """ 319 | Returns a list of legislators for the given latitude/longitude coordinates 320 | 321 | Args: 322 | lat: Latitude 323 | long: Longitude 324 | fields: An optional custom list of fields to return 325 | 326 | Returns: 327 | A list of matching :ref:`Legislator` dictionaries 328 | 329 | """ 330 | return _get( 331 | "people.geo/", params=dict(lat=float(lat), lng=float(lng), fields=fields) 332 | )["results"] 333 | 334 | 335 | def search_districts(state, chamber): 336 | """ 337 | Search for districts 338 | 339 | Args: 340 | state: The state to search in 341 | chamber: the upper or lower legislative chamber 342 | fields: Optionally specify a custom list of fields to return 343 | 344 | Returns: 345 | A list of matching :ref:`District` dictionaries 346 | """ 347 | if chamber: 348 | chamber = chamber.lower() 349 | if chamber not in ["upper", "lower"]: 350 | raise ValueError('Chamber must be "upper" or "lower"') 351 | organizations = get_organizations(state=state) 352 | for org in organizations: 353 | if org["classification"] == chamber: 354 | return org["districts"] 355 | 356 | 357 | def _fix_id_string(prefix, id): 358 | if id.startswith(prefix): 359 | return id 360 | else: 361 | return prefix + id 362 | 363 | 364 | def _jurisdiction_id(state): 365 | if state.startswith("ocd-jurisdiction/"): 366 | return state 367 | else: 368 | return f"ocd-jurisdiction/country:us/state:{state.lower()}/government" 369 | 370 | 371 | def _include_list(include): 372 | if include is None: 373 | return None 374 | elif isinstance(include, str): 375 | return [include] 376 | elif isinstance(include, (list, tuple)): 377 | return include 378 | else: 379 | raise ValueError("include must be a str or list") 380 | -------------------------------------------------------------------------------- /docs/data structures.rst: -------------------------------------------------------------------------------- 1 | =============== 2 | Data structures 3 | =============== 4 | 5 | Objects from the Open States API are returned as dictionaries 6 | 7 | .. _Metadata: 8 | 9 | ******** 10 | Metadata 11 | ******** 12 | 13 | - ``abbreviation`` - The two-letter abbreviation of the state. 14 | - ``capitol_timezone`` - Timezone of state capitol (e.g. ``America/New_York``) 15 | - ``chambers`` - Dictionary mapping chamber type (upper/lower) to an object with the following fields: 16 | - ``name`` - Short name of the chamber (e.g. ``House``, ``Senate``) 17 | - ``title`` - Title of legislators in this chamber (e.g. ``Senator``) 18 | - ``feature_flags`` - A list of which optional features are available, options include: 19 | - ``subjects`` - bills have categorized subjects 20 | - ``influenceexplorer`` - legislators have influence explorer ids 21 | - ``events`` - event data is present 22 | - ``latest_csv_date`` - Date that the CSV file at ``latest_csv_url`` was generated. 23 | - ``latest_csv_url`` - URL from which a CSV dump of all data for this state can be obtained. 24 | - ``latest_json_date`` - Date that the JSON file at ``latest_json_url`` was generated. 25 | - ``latest_json_url`` - URL from which a JSON dump of all data for this state can be obtained. 26 | - ``latest_update`` - Last time a successful scrape was run. 27 | - ``legislature_name`` - Full name of legislature (e.g. ``North Carolina General Assembly``) 28 | - ``legislature_url`` - URL to legislature’s official website. 29 | - ``name`` - Name of state. 30 | - ``session_details`` - Dictionary of session names to detail dictionaries with the following keys: 31 | - ``type`` - ``primary`` or ``special`` 32 | - ``display_name`` - e.g. ``2009-2010 Session`` 33 | - ``start_date`` - date session began 34 | - ``end_date`` - date session began 35 | - ``terms`` - List of terms in order that they occurred. Each item in the list is comprised of the following keys: 36 | - ``start_year`` - Year session started. 37 | - ``end_year`` - Year session ended. 38 | - ``name`` - Display name for term (e.g. ``2009-2011``). 39 | - ``sessions`` - List of sessions (e.g. ``2009``). Each session will be present in session_details. 40 | 41 | .. _Bill: 42 | 43 | **** 44 | Bill 45 | **** 46 | 47 | - ``state`` - State abbreviation. 48 | - ``session`` - Session key (see State Metadata for details). 49 | - ``bill_id`` - The official id of the bill (e.g. ``SB 27``, ``A 2111``) 50 | - ``title`` - The official title of the bill. 51 | - ``alternate_titles`` - List of alternate titles that the bill has had (Often empty). 52 | - ``action_dates`` - Dictionary of notable action dates (useful for determining status). Contains the following fields: 53 | - ``first`` First action (only ``None`` if there are no actions). 54 | - ``last`` - Last action (only ``None`` if there are no actions). 55 | - ``passed_lower`` - Date that the bill seems to have passed the lower chamber (might be ``None``). 56 | - ``passed_upper`` - Date that the bill seems to have passed the upper chamber (might be ``None``). 57 | - ``signed`` - Date that the bill appears to have signed into law (might be ``None``). 58 | - ``actions`` - List of objects representing every recorded action for the bill. Action objects have the following 59 | fields: 60 | - ``date`` - Date of action. 61 | - ``action`` - Name of action as state provides it. 62 | - ``actor`` - The chamber, person, committee, etc. responsible for this action. 63 | - ``type`` - Open States-provided action categories, see action categorization. 64 | - ``chamber`` - The chamber of origination (‘upper’ or ‘lower’) 65 | - ``created_at`` - The date that this object first appeared in our system. (Note: not the date of introduction, 66 | see ``action_dates`` - for that information.) 67 | - ``updated_at`` - The date that this object was last updated in our system. (Note: not the last action date, see 68 | ``action_dates`` for that information.) 69 | - ``documents List`` - of associated documents, see versions for field details. 70 | - ``id`` - Open States-assigned permanent ID for this bill. 71 | - ``scraped_subjects`` - List of subject areas that the state categorized this bill under. 72 | - ``subjects``` - List of Open States standardized bill subjects, see subject categorization. 73 | - ``sources`` - List of source URLs used to compile information on this object. 74 | - ``sponsors`` - List of bill sponsors. 75 | - ``name`` - Name of sponsor as it appears on state website. 76 | - ``leg_id`` - Open States assigned legislator ID (will be ``None`` if no match was found). 77 | - ``type`` - Type of sponsor (``primary`` or ``cosponsor``) 78 | - ``type`` - List of bill types. 79 | - ``versions`` Versions of the bill text. Both documents and versions have the following fields: 80 | - ``url`` - Official URL for this document. 81 | - ``name`` - An official name for this document. 82 | - ``mimetype`` - The mimetype for the document (e.g. ``text/html``) 83 | - ``doc_id`` - An Open States-assigned id uniquely identifying this document. 84 | - ``votes`` - List of vote objects. A vote object consists of the following keys: 85 | - ``motion`` - Name of motion being voted upon (e.g. ``Passage``) 86 | - ``chamber`` - Chamber vote took place in (``upper``, ``lower``, ``joint``) 87 | - ``date`` - Date of vote. 88 | - ``id`` - Open States-assigned unique identifier for vote. 89 | - ``state`` - State abbreviation. 90 | - ``session`` - Session key (see State Metadata for details). 91 | - ``sources`` - List of source URLs used to compile information on this object. (Can be empty if vote shares 92 | sources 93 | with bill.) 94 | - ``yes_count`` - Total number of yes votes. 95 | - ``no_count`` - Total number of no votes. 96 | - ``other_count`` - Total number of other votes (abstain, not present, etc.). 97 | - ``yes_votes``, ``no_votes``, ``other_votes`` - List of roll calls of each type. Each is an object consisting of 98 | two keys: 99 | - ``name`` - Name of voter as it appears on state website. 100 | - ``leg_id`` - Open States assigned legislator ID (will be ``None`` if no match was found). 101 | 102 | .. _Legislator: 103 | 104 | ********** 105 | Legislator 106 | ********** 107 | 108 | - ``leg_id`` - Legislator’s permanent Open States ID. (e.g. ``ILL000555``, ``NCL000123``) 109 | - ``state`` - Legislator’s state. 110 | - ``active`` - Boolean value indicating whether or not the legislator is currently in office. 111 | - ``chamber`` - Chamber the legislator is currently serving in if active (``upper`` or ``lower``) 112 | - ``district`` - District the legislator is currently serving in if active (e.g. ``7``, ``6A``) 113 | - ``party`` - Party the legislator is currently representing if active. 114 | - ``email`` Legislator’s primary email address. 115 | - ``full_name`` - Full display name for legislator. 116 | - ``first_name`` - First name of legislator. 117 | - ``middle_name`` - Middle name of legislator. 118 | - ``last_name`` - Last name of legislator. 119 | - ``suffixes`` - Name suffixes (e.g. ``Jr.``, ``III``) of legislator. 120 | - ``photo_url`` URL of an official photo of this legislator. 121 | - ``url`` - URL of an official website for this legislator. 122 | - ``created_at`` - The date that this object first appeared in our system. 123 | - ``updated_at`` - The date that this object was last updated in our system. 124 | - ``created_at`` - Date at which this legislator was added to our system. 125 | - ``updated_at`` - Date at which this legislator was last updated. 126 | - ``offices`` List of office objects representing contact details for the legislator. Comprised of the following fields: 127 | - ``type`` - ``capitol`` or ``district`` 128 | - ``name`` - Name of the address (e.g. ‘Council Office’, ‘District Office’) 129 | - ``address`` - Street address. 130 | - ``phone`` - Phone number. 131 | - ``fax`` - Fax number. 132 | - ``email`` Email address. Any of these fields may be ``None`` if not found. 133 | - ``roles`` - List of currently active role objects if legislator is in office. 134 | - ``old_roles`` - Dictionary mapping term keys to lists of roles that were valid for that term. 135 | 136 | .. _Role: 137 | 138 | Role 139 | ---- 140 | 141 | - ``term`` - Term key for this role. (See metadata notes on terms and sessions for details.) 142 | - ``chamber`` 143 | - ``state`` 144 | - ``start_date`` (optional) 145 | - ``end_date`` (optional) 146 | - ``type`` - ``member`` or ``committee member`` 147 | 148 | If the role type is ``member``: 149 | 150 | - ``party`` 151 | - ``district`` 152 | 153 | And if the type is ``committee member``: 154 | 155 | - ``committee`` - Name of parent committee 156 | - ``subcommittee`` - Name of subcommittee (if ``None``, membership is just for a committee) 157 | - ``committee_id`` - Open States id for committee that legislator is a member of 158 | - ``position`` - Position on committee 159 | - ``old_roles`` - List of old roles 160 | - ``sources`` List of URLs used in gathering information for this legislator. 161 | 162 | .. _Committee: 163 | 164 | ********* 165 | Committee 166 | ********* 167 | 168 | - ``id`` - Open States assigned committee ID. 169 | - ``state`` - State abbreviation. 170 | - ``chamber`` - Chamber committee belongs to: ``upper``, ``lower``, or ``joint``. 171 | - ``committee`` - Name of committee. 172 | - ``subcommittee`` - Name of subcommittee. (if ``None``, object describes the committee) 173 | - ``parent_id`` - Committee id pointing to the parent committee if this is a subcommittee. 174 | - ``sources`` - List of URLs used in gathering information for this legislator. 175 | - ``created_at`` - The date that this object first appeared in our system. 176 | - ``updated_at`` - The date that this object was last updated in our system. 177 | - ``members`` - List of member objects, each has the following keys: 178 | - ``name`` - Name of legislator as provided by state source. 179 | - ``leg_id`` - Open States-assigned legislator id. (``None`` if no match found). 180 | - ``role`` - Member’s role on the committee (e.g. ``chair``, ``vice-chair``; default role is ``member``) 181 | 182 | .. _Event: 183 | 184 | ***** 185 | Event 186 | ***** 187 | 188 | - ``id`` - Open States assigned event ID. 189 | - ``state`` - State abbreviation. 190 | - ``type`` - Categorized event type. (``committee:meeting`` for now) 191 | - ``description`` - Description of event from state source. 192 | - ``documents`` - List of related documents. 193 | - ``Location`` - Location if known, as given by state (it is often just a room number). 194 | - ``when`` - Time event begins. 195 | - ``end`` - End time (``None`` if unknown). 196 | - ``timezone`` - Timezone event occurs in (e.g. ``America/Chicago``). 197 | - ``participants`` - List of participant objects, consisting of the following fields: 198 | - ``chamber`` - Chamber of participant. 199 | - ``type`` - Type of participants (``legislator``, ``committee``) 200 | - ``participant`` - String representation of participant (e.g. ``Housing Committee``, ``Jill Smith``) 201 | - ``id`` - Open States ID for participant if a match was found (e.g. ``TXC000150``, ``MDL000101``) 202 | - ``type`` - What role this participant played (will be ``host``, ``chair``, ``participant``). 203 | - ``related_bills`` - List of related bills for this event. Comprised of the following fields: 204 | - ``type`` - Type of relationship (e.g. ``consideration``) 205 | - ``description`` - Description of how the bill is related given by the state. 206 | - ``bill_id`` - State’s bill id (e.g. ``HB 273``) 207 | - ``id`` - Open States assigned bill id (e.g. ``TXB00001234``) 208 | - ``sources`` List of URLs used in gathering information for this legislator. 209 | - ``created_at`` - The date that this object first appeared in our system. 210 | - ``updated_at`` - The date that this object was last updated in our system. 211 | 212 | .. _District: 213 | 214 | ******** 215 | District 216 | ******** 217 | 218 | - ``abbr`` - State abbreviation. 219 | - ``boundary_id`` - ``boundary_id`` used in District Boundary Lookup 220 | - ``chamber`` - Whether this district belongs to the ``upper`` or ``lower`` chamber. 221 | - ``id`` - A unique ID for this district (separate from boundary_id). 222 | - ``legislators`` - List of legislators that serve in this district. (may be more than one if ``num_seats`` > 1) 223 | - ``name`` - Name of the district (e.g. ``14``, ``33A``, ``Fifth Suffolk``) 224 | - ``num_seats`` - Number of legislators that are elected to this seat. Generally one, but will be 2 or more if the seat 225 | is a multi-member district. -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- 1 | # This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand. 2 | 3 | [[package]] 4 | name = "atomicwrites" 5 | version = "1.4.1" 6 | description = "Atomic file writes." 7 | optional = false 8 | python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" 9 | files = [ 10 | {file = "atomicwrites-1.4.1.tar.gz", hash = "sha256:81b2c9071a49367a7f770170e5eec8cb66567cfbbc8c73d20ce5ca4a8d71cf11"}, 11 | ] 12 | 13 | [[package]] 14 | name = "attrs" 15 | version = "23.1.0" 16 | description = "Classes Without Boilerplate" 17 | optional = false 18 | python-versions = ">=3.7" 19 | files = [ 20 | {file = "attrs-23.1.0-py3-none-any.whl", hash = "sha256:1f28b4522cdc2fb4256ac1a020c78acf9cba2c6b461ccd2c126f3aa8e8335d04"}, 21 | {file = "attrs-23.1.0.tar.gz", hash = "sha256:6279836d581513a26f1bf235f9acd333bc9115683f14f7e8fae46c98fc50e015"}, 22 | ] 23 | 24 | [package.extras] 25 | cov = ["attrs[tests]", "coverage[toml] (>=5.3)"] 26 | dev = ["attrs[docs,tests]", "pre-commit"] 27 | docs = ["furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphinxcontrib-towncrier", "towncrier", "zope-interface"] 28 | tests = ["attrs[tests-no-zope]", "zope-interface"] 29 | tests-no-zope = ["cloudpickle", "hypothesis", "mypy (>=1.1.1)", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "pytest-xdist[psutil]"] 30 | 31 | [[package]] 32 | name = "certifi" 33 | version = "2023.7.22" 34 | description = "Python package for providing Mozilla's CA Bundle." 35 | optional = false 36 | python-versions = ">=3.6" 37 | files = [ 38 | {file = "certifi-2023.7.22-py3-none-any.whl", hash = "sha256:92d6037539857d8206b8f6ae472e8b77db8058fec5937a1ef3f54304089edbb9"}, 39 | {file = "certifi-2023.7.22.tar.gz", hash = "sha256:539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082"}, 40 | ] 41 | 42 | [[package]] 43 | name = "charset-normalizer" 44 | version = "3.2.0" 45 | description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." 46 | optional = false 47 | python-versions = ">=3.7.0" 48 | files = [ 49 | {file = "charset-normalizer-3.2.0.tar.gz", hash = "sha256:3bb3d25a8e6c0aedd251753a79ae98a093c7e7b471faa3aa9a93a81431987ace"}, 50 | {file = "charset_normalizer-3.2.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:0b87549028f680ca955556e3bd57013ab47474c3124dc069faa0b6545b6c9710"}, 51 | {file = "charset_normalizer-3.2.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:7c70087bfee18a42b4040bb9ec1ca15a08242cf5867c58726530bdf3945672ed"}, 52 | {file = "charset_normalizer-3.2.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:a103b3a7069b62f5d4890ae1b8f0597618f628b286b03d4bc9195230b154bfa9"}, 53 | {file = "charset_normalizer-3.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:94aea8eff76ee6d1cdacb07dd2123a68283cb5569e0250feab1240058f53b623"}, 54 | {file = "charset_normalizer-3.2.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:db901e2ac34c931d73054d9797383d0f8009991e723dab15109740a63e7f902a"}, 55 | {file = "charset_normalizer-3.2.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b0dac0ff919ba34d4df1b6131f59ce95b08b9065233446be7e459f95554c0dc8"}, 56 | {file = "charset_normalizer-3.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:193cbc708ea3aca45e7221ae58f0fd63f933753a9bfb498a3b474878f12caaad"}, 57 | {file = "charset_normalizer-3.2.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:09393e1b2a9461950b1c9a45d5fd251dc7c6f228acab64da1c9c0165d9c7765c"}, 58 | {file = "charset_normalizer-3.2.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:baacc6aee0b2ef6f3d308e197b5d7a81c0e70b06beae1f1fcacffdbd124fe0e3"}, 59 | {file = "charset_normalizer-3.2.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:bf420121d4c8dce6b889f0e8e4ec0ca34b7f40186203f06a946fa0276ba54029"}, 60 | {file = "charset_normalizer-3.2.0-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:c04a46716adde8d927adb9457bbe39cf473e1e2c2f5d0a16ceb837e5d841ad4f"}, 61 | {file = "charset_normalizer-3.2.0-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:aaf63899c94de41fe3cf934601b0f7ccb6b428c6e4eeb80da72c58eab077b19a"}, 62 | {file = "charset_normalizer-3.2.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:d62e51710986674142526ab9f78663ca2b0726066ae26b78b22e0f5e571238dd"}, 63 | {file = "charset_normalizer-3.2.0-cp310-cp310-win32.whl", hash = "sha256:04e57ab9fbf9607b77f7d057974694b4f6b142da9ed4a199859d9d4d5c63fe96"}, 64 | {file = "charset_normalizer-3.2.0-cp310-cp310-win_amd64.whl", hash = "sha256:48021783bdf96e3d6de03a6e39a1171ed5bd7e8bb93fc84cc649d11490f87cea"}, 65 | {file = "charset_normalizer-3.2.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:4957669ef390f0e6719db3613ab3a7631e68424604a7b448f079bee145da6e09"}, 66 | {file = "charset_normalizer-3.2.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:46fb8c61d794b78ec7134a715a3e564aafc8f6b5e338417cb19fe9f57a5a9bf2"}, 67 | {file = "charset_normalizer-3.2.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f779d3ad205f108d14e99bb3859aa7dd8e9c68874617c72354d7ecaec2a054ac"}, 68 | {file = "charset_normalizer-3.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f25c229a6ba38a35ae6e25ca1264621cc25d4d38dca2942a7fce0b67a4efe918"}, 69 | {file = "charset_normalizer-3.2.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2efb1bd13885392adfda4614c33d3b68dee4921fd0ac1d3988f8cbb7d589e72a"}, 70 | {file = "charset_normalizer-3.2.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1f30b48dd7fa1474554b0b0f3fdfdd4c13b5c737a3c6284d3cdc424ec0ffff3a"}, 71 | {file = "charset_normalizer-3.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:246de67b99b6851627d945db38147d1b209a899311b1305dd84916f2b88526c6"}, 72 | {file = "charset_normalizer-3.2.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9bd9b3b31adcb054116447ea22caa61a285d92e94d710aa5ec97992ff5eb7cf3"}, 73 | {file = "charset_normalizer-3.2.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:8c2f5e83493748286002f9369f3e6607c565a6a90425a3a1fef5ae32a36d749d"}, 74 | {file = "charset_normalizer-3.2.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:3170c9399da12c9dc66366e9d14da8bf7147e1e9d9ea566067bbce7bb74bd9c2"}, 75 | {file = "charset_normalizer-3.2.0-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:7a4826ad2bd6b07ca615c74ab91f32f6c96d08f6fcc3902ceeedaec8cdc3bcd6"}, 76 | {file = "charset_normalizer-3.2.0-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:3b1613dd5aee995ec6d4c69f00378bbd07614702a315a2cf6c1d21461fe17c23"}, 77 | {file = "charset_normalizer-3.2.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:9e608aafdb55eb9f255034709e20d5a83b6d60c054df0802fa9c9883d0a937aa"}, 78 | {file = "charset_normalizer-3.2.0-cp311-cp311-win32.whl", hash = "sha256:f2a1d0fd4242bd8643ce6f98927cf9c04540af6efa92323e9d3124f57727bfc1"}, 79 | {file = "charset_normalizer-3.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:681eb3d7e02e3c3655d1b16059fbfb605ac464c834a0c629048a30fad2b27489"}, 80 | {file = "charset_normalizer-3.2.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:c57921cda3a80d0f2b8aec7e25c8aa14479ea92b5b51b6876d975d925a2ea346"}, 81 | {file = "charset_normalizer-3.2.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:41b25eaa7d15909cf3ac4c96088c1f266a9a93ec44f87f1d13d4a0e86c81b982"}, 82 | {file = "charset_normalizer-3.2.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f058f6963fd82eb143c692cecdc89e075fa0828db2e5b291070485390b2f1c9c"}, 83 | {file = "charset_normalizer-3.2.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a7647ebdfb9682b7bb97e2a5e7cb6ae735b1c25008a70b906aecca294ee96cf4"}, 84 | {file = "charset_normalizer-3.2.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eef9df1eefada2c09a5e7a40991b9fc6ac6ef20b1372abd48d2794a316dc0449"}, 85 | {file = "charset_normalizer-3.2.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e03b8895a6990c9ab2cdcd0f2fe44088ca1c65ae592b8f795c3294af00a461c3"}, 86 | {file = "charset_normalizer-3.2.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:ee4006268ed33370957f55bf2e6f4d263eaf4dc3cfc473d1d90baff6ed36ce4a"}, 87 | {file = "charset_normalizer-3.2.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:c4983bf937209c57240cff65906b18bb35e64ae872da6a0db937d7b4af845dd7"}, 88 | {file = "charset_normalizer-3.2.0-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:3bb7fda7260735efe66d5107fb7e6af6a7c04c7fce9b2514e04b7a74b06bf5dd"}, 89 | {file = "charset_normalizer-3.2.0-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:72814c01533f51d68702802d74f77ea026b5ec52793c791e2da806a3844a46c3"}, 90 | {file = "charset_normalizer-3.2.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:70c610f6cbe4b9fce272c407dd9d07e33e6bf7b4aa1b7ffb6f6ded8e634e3592"}, 91 | {file = "charset_normalizer-3.2.0-cp37-cp37m-win32.whl", hash = "sha256:a401b4598e5d3f4a9a811f3daf42ee2291790c7f9d74b18d75d6e21dda98a1a1"}, 92 | {file = "charset_normalizer-3.2.0-cp37-cp37m-win_amd64.whl", hash = "sha256:c0b21078a4b56965e2b12f247467b234734491897e99c1d51cee628da9786959"}, 93 | {file = "charset_normalizer-3.2.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:95eb302ff792e12aba9a8b8f8474ab229a83c103d74a750ec0bd1c1eea32e669"}, 94 | {file = "charset_normalizer-3.2.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1a100c6d595a7f316f1b6f01d20815d916e75ff98c27a01ae817439ea7726329"}, 95 | {file = "charset_normalizer-3.2.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:6339d047dab2780cc6220f46306628e04d9750f02f983ddb37439ca47ced7149"}, 96 | {file = "charset_normalizer-3.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e4b749b9cc6ee664a3300bb3a273c1ca8068c46be705b6c31cf5d276f8628a94"}, 97 | {file = "charset_normalizer-3.2.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a38856a971c602f98472050165cea2cdc97709240373041b69030be15047691f"}, 98 | {file = "charset_normalizer-3.2.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f87f746ee241d30d6ed93969de31e5ffd09a2961a051e60ae6bddde9ec3583aa"}, 99 | {file = "charset_normalizer-3.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:89f1b185a01fe560bc8ae5f619e924407efca2191b56ce749ec84982fc59a32a"}, 100 | {file = "charset_normalizer-3.2.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e1c8a2f4c69e08e89632defbfabec2feb8a8d99edc9f89ce33c4b9e36ab63037"}, 101 | {file = "charset_normalizer-3.2.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:2f4ac36d8e2b4cc1aa71df3dd84ff8efbe3bfb97ac41242fbcfc053c67434f46"}, 102 | {file = "charset_normalizer-3.2.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:a386ebe437176aab38c041de1260cd3ea459c6ce5263594399880bbc398225b2"}, 103 | {file = "charset_normalizer-3.2.0-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:ccd16eb18a849fd8dcb23e23380e2f0a354e8daa0c984b8a732d9cfaba3a776d"}, 104 | {file = "charset_normalizer-3.2.0-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:e6a5bf2cba5ae1bb80b154ed68a3cfa2fa00fde979a7f50d6598d3e17d9ac20c"}, 105 | {file = "charset_normalizer-3.2.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:45de3f87179c1823e6d9e32156fb14c1927fcc9aba21433f088fdfb555b77c10"}, 106 | {file = "charset_normalizer-3.2.0-cp38-cp38-win32.whl", hash = "sha256:1000fba1057b92a65daec275aec30586c3de2401ccdcd41f8a5c1e2c87078706"}, 107 | {file = "charset_normalizer-3.2.0-cp38-cp38-win_amd64.whl", hash = "sha256:8b2c760cfc7042b27ebdb4a43a4453bd829a5742503599144d54a032c5dc7e9e"}, 108 | {file = "charset_normalizer-3.2.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:855eafa5d5a2034b4621c74925d89c5efef61418570e5ef9b37717d9c796419c"}, 109 | {file = "charset_normalizer-3.2.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:203f0c8871d5a7987be20c72442488a0b8cfd0f43b7973771640fc593f56321f"}, 110 | {file = "charset_normalizer-3.2.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e857a2232ba53ae940d3456f7533ce6ca98b81917d47adc3c7fd55dad8fab858"}, 111 | {file = "charset_normalizer-3.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5e86d77b090dbddbe78867a0275cb4df08ea195e660f1f7f13435a4649e954e5"}, 112 | {file = "charset_normalizer-3.2.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c4fb39a81950ec280984b3a44f5bd12819953dc5fa3a7e6fa7a80db5ee853952"}, 113 | {file = "charset_normalizer-3.2.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2dee8e57f052ef5353cf608e0b4c871aee320dd1b87d351c28764fc0ca55f9f4"}, 114 | {file = "charset_normalizer-3.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8700f06d0ce6f128de3ccdbc1acaea1ee264d2caa9ca05daaf492fde7c2a7200"}, 115 | {file = "charset_normalizer-3.2.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1920d4ff15ce893210c1f0c0e9d19bfbecb7983c76b33f046c13a8ffbd570252"}, 116 | {file = "charset_normalizer-3.2.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:c1c76a1743432b4b60ab3358c937a3fe1341c828ae6194108a94c69028247f22"}, 117 | {file = "charset_normalizer-3.2.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:f7560358a6811e52e9c4d142d497f1a6e10103d3a6881f18d04dbce3729c0e2c"}, 118 | {file = "charset_normalizer-3.2.0-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:c8063cf17b19661471ecbdb3df1c84f24ad2e389e326ccaf89e3fb2484d8dd7e"}, 119 | {file = "charset_normalizer-3.2.0-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:cd6dbe0238f7743d0efe563ab46294f54f9bc8f4b9bcf57c3c666cc5bc9d1299"}, 120 | {file = "charset_normalizer-3.2.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:1249cbbf3d3b04902ff081ffbb33ce3377fa6e4c7356f759f3cd076cc138d020"}, 121 | {file = "charset_normalizer-3.2.0-cp39-cp39-win32.whl", hash = "sha256:6c409c0deba34f147f77efaa67b8e4bb83d2f11c8806405f76397ae5b8c0d1c9"}, 122 | {file = "charset_normalizer-3.2.0-cp39-cp39-win_amd64.whl", hash = "sha256:7095f6fbfaa55defb6b733cfeb14efaae7a29f0b59d8cf213be4e7ca0b857b80"}, 123 | {file = "charset_normalizer-3.2.0-py3-none-any.whl", hash = "sha256:8e098148dd37b4ce3baca71fb394c81dc5d9c7728c95df695d2dca218edf40e6"}, 124 | ] 125 | 126 | [[package]] 127 | name = "click" 128 | version = "8.1.6" 129 | description = "Composable command line interface toolkit" 130 | optional = false 131 | python-versions = ">=3.7" 132 | files = [ 133 | {file = "click-8.1.6-py3-none-any.whl", hash = "sha256:fa244bb30b3b5ee2cae3da8f55c9e5e0c0e86093306301fb418eb9dc40fbded5"}, 134 | {file = "click-8.1.6.tar.gz", hash = "sha256:48ee849951919527a045bfe3bf7baa8a959c423134e1a5b98c05c20ba75a1cbd"}, 135 | ] 136 | 137 | [package.dependencies] 138 | colorama = {version = "*", markers = "platform_system == \"Windows\""} 139 | 140 | [[package]] 141 | name = "colorama" 142 | version = "0.4.6" 143 | description = "Cross-platform colored terminal text." 144 | optional = false 145 | python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" 146 | files = [ 147 | {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, 148 | {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, 149 | ] 150 | 151 | [[package]] 152 | name = "flake8" 153 | version = "4.0.1" 154 | description = "the modular source code checker: pep8 pyflakes and co" 155 | optional = false 156 | python-versions = ">=3.6" 157 | files = [ 158 | {file = "flake8-4.0.1-py2.py3-none-any.whl", hash = "sha256:479b1304f72536a55948cb40a32dce8bb0ffe3501e26eaf292c7e60eb5e0428d"}, 159 | {file = "flake8-4.0.1.tar.gz", hash = "sha256:806e034dda44114815e23c16ef92f95c91e4c71100ff52813adf7132a6ad870d"}, 160 | ] 161 | 162 | [package.dependencies] 163 | mccabe = ">=0.6.0,<0.7.0" 164 | pycodestyle = ">=2.8.0,<2.9.0" 165 | pyflakes = ">=2.4.0,<2.5.0" 166 | 167 | [[package]] 168 | name = "ghp-import" 169 | version = "2.1.0" 170 | description = "Copy your docs directly to the gh-pages branch." 171 | optional = false 172 | python-versions = "*" 173 | files = [ 174 | {file = "ghp-import-2.1.0.tar.gz", hash = "sha256:9c535c4c61193c2df8871222567d7fd7e5014d835f97dc7b7439069e2413d343"}, 175 | {file = "ghp_import-2.1.0-py3-none-any.whl", hash = "sha256:8337dd7b50877f163d4c0289bc1f1c7f127550241988d568c1db512c4324a619"}, 176 | ] 177 | 178 | [package.dependencies] 179 | python-dateutil = ">=2.8.1" 180 | 181 | [package.extras] 182 | dev = ["flake8", "markdown", "twine", "wheel"] 183 | 184 | [[package]] 185 | name = "idna" 186 | version = "3.4" 187 | description = "Internationalized Domain Names in Applications (IDNA)" 188 | optional = false 189 | python-versions = ">=3.5" 190 | files = [ 191 | {file = "idna-3.4-py3-none-any.whl", hash = "sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2"}, 192 | {file = "idna-3.4.tar.gz", hash = "sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4"}, 193 | ] 194 | 195 | [[package]] 196 | name = "importlib-metadata" 197 | version = "6.8.0" 198 | description = "Read metadata from Python packages" 199 | optional = false 200 | python-versions = ">=3.8" 201 | files = [ 202 | {file = "importlib_metadata-6.8.0-py3-none-any.whl", hash = "sha256:3ebb78df84a805d7698245025b975d9d67053cd94c79245ba4b3eb694abe68bb"}, 203 | {file = "importlib_metadata-6.8.0.tar.gz", hash = "sha256:dbace7892d8c0c4ac1ad096662232f831d4e64f4c4545bd53016a3e9d4654743"}, 204 | ] 205 | 206 | [package.dependencies] 207 | zipp = ">=0.5" 208 | 209 | [package.extras] 210 | docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] 211 | perf = ["ipython"] 212 | testing = ["flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pyfakefs", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-perf (>=0.9.2)", "pytest-ruff"] 213 | 214 | [[package]] 215 | name = "iniconfig" 216 | version = "2.0.0" 217 | description = "brain-dead simple config-ini parsing" 218 | optional = false 219 | python-versions = ">=3.7" 220 | files = [ 221 | {file = "iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374"}, 222 | {file = "iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3"}, 223 | ] 224 | 225 | [[package]] 226 | name = "jinja2" 227 | version = "3.1.2" 228 | description = "A very fast and expressive template engine." 229 | optional = false 230 | python-versions = ">=3.7" 231 | files = [ 232 | {file = "Jinja2-3.1.2-py3-none-any.whl", hash = "sha256:6088930bfe239f0e6710546ab9c19c9ef35e29792895fed6e6e31a023a182a61"}, 233 | {file = "Jinja2-3.1.2.tar.gz", hash = "sha256:31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852"}, 234 | ] 235 | 236 | [package.dependencies] 237 | MarkupSafe = ">=2.0" 238 | 239 | [package.extras] 240 | i18n = ["Babel (>=2.7)"] 241 | 242 | [[package]] 243 | name = "markdown" 244 | version = "3.4.4" 245 | description = "Python implementation of John Gruber's Markdown." 246 | optional = false 247 | python-versions = ">=3.7" 248 | files = [ 249 | {file = "Markdown-3.4.4-py3-none-any.whl", hash = "sha256:a4c1b65c0957b4bd9e7d86ddc7b3c9868fb9670660f6f99f6d1bca8954d5a941"}, 250 | {file = "Markdown-3.4.4.tar.gz", hash = "sha256:225c6123522495d4119a90b3a3ba31a1e87a70369e03f14799ea9c0d7183a3d6"}, 251 | ] 252 | 253 | [package.dependencies] 254 | importlib-metadata = {version = ">=4.4", markers = "python_version < \"3.10\""} 255 | 256 | [package.extras] 257 | docs = ["mdx-gh-links (>=0.2)", "mkdocs (>=1.0)", "mkdocs-nature (>=0.4)"] 258 | testing = ["coverage", "pyyaml"] 259 | 260 | [[package]] 261 | name = "markupsafe" 262 | version = "2.1.3" 263 | description = "Safely add untrusted strings to HTML/XML markup." 264 | optional = false 265 | python-versions = ">=3.7" 266 | files = [ 267 | {file = "MarkupSafe-2.1.3-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:cd0f502fe016460680cd20aaa5a76d241d6f35a1c3350c474bac1273803893fa"}, 268 | {file = "MarkupSafe-2.1.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e09031c87a1e51556fdcb46e5bd4f59dfb743061cf93c4d6831bf894f125eb57"}, 269 | {file = "MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:68e78619a61ecf91e76aa3e6e8e33fc4894a2bebe93410754bd28fce0a8a4f9f"}, 270 | {file = "MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:65c1a9bcdadc6c28eecee2c119465aebff8f7a584dd719facdd9e825ec61ab52"}, 271 | {file = "MarkupSafe-2.1.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:525808b8019e36eb524b8c68acdd63a37e75714eac50e988180b169d64480a00"}, 272 | {file = "MarkupSafe-2.1.3-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:962f82a3086483f5e5f64dbad880d31038b698494799b097bc59c2edf392fce6"}, 273 | {file = "MarkupSafe-2.1.3-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:aa7bd130efab1c280bed0f45501b7c8795f9fdbeb02e965371bbef3523627779"}, 274 | {file = "MarkupSafe-2.1.3-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:c9c804664ebe8f83a211cace637506669e7890fec1b4195b505c214e50dd4eb7"}, 275 | {file = "MarkupSafe-2.1.3-cp310-cp310-win32.whl", hash = "sha256:10bbfe99883db80bdbaff2dcf681dfc6533a614f700da1287707e8a5d78a8431"}, 276 | {file = "MarkupSafe-2.1.3-cp310-cp310-win_amd64.whl", hash = "sha256:1577735524cdad32f9f694208aa75e422adba74f1baee7551620e43a3141f559"}, 277 | {file = "MarkupSafe-2.1.3-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:ad9e82fb8f09ade1c3e1b996a6337afac2b8b9e365f926f5a61aacc71adc5b3c"}, 278 | {file = "MarkupSafe-2.1.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:3c0fae6c3be832a0a0473ac912810b2877c8cb9d76ca48de1ed31e1c68386575"}, 279 | {file = "MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b076b6226fb84157e3f7c971a47ff3a679d837cf338547532ab866c57930dbee"}, 280 | {file = "MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bfce63a9e7834b12b87c64d6b155fdd9b3b96191b6bd334bf37db7ff1fe457f2"}, 281 | {file = "MarkupSafe-2.1.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:338ae27d6b8745585f87218a3f23f1512dbf52c26c28e322dbe54bcede54ccb9"}, 282 | {file = "MarkupSafe-2.1.3-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:e4dd52d80b8c83fdce44e12478ad2e85c64ea965e75d66dbeafb0a3e77308fcc"}, 283 | {file = "MarkupSafe-2.1.3-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:df0be2b576a7abbf737b1575f048c23fb1d769f267ec4358296f31c2479db8f9"}, 284 | {file = "MarkupSafe-2.1.3-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:5bbe06f8eeafd38e5d0a4894ffec89378b6c6a625ff57e3028921f8ff59318ac"}, 285 | {file = "MarkupSafe-2.1.3-cp311-cp311-win32.whl", hash = "sha256:dd15ff04ffd7e05ffcb7fe79f1b98041b8ea30ae9234aed2a9168b5797c3effb"}, 286 | {file = "MarkupSafe-2.1.3-cp311-cp311-win_amd64.whl", hash = "sha256:134da1eca9ec0ae528110ccc9e48041e0828d79f24121a1a146161103c76e686"}, 287 | {file = "MarkupSafe-2.1.3-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:8e254ae696c88d98da6555f5ace2279cf7cd5b3f52be2b5cf97feafe883b58d2"}, 288 | {file = "MarkupSafe-2.1.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cb0932dc158471523c9637e807d9bfb93e06a95cbf010f1a38b98623b929ef2b"}, 289 | {file = "MarkupSafe-2.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9402b03f1a1b4dc4c19845e5c749e3ab82d5078d16a2a4c2cd2df62d57bb0707"}, 290 | {file = "MarkupSafe-2.1.3-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ca379055a47383d02a5400cb0d110cef0a776fc644cda797db0c5696cfd7e18e"}, 291 | {file = "MarkupSafe-2.1.3-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:b7ff0f54cb4ff66dd38bebd335a38e2c22c41a8ee45aa608efc890ac3e3931bc"}, 292 | {file = "MarkupSafe-2.1.3-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:c011a4149cfbcf9f03994ec2edffcb8b1dc2d2aede7ca243746df97a5d41ce48"}, 293 | {file = "MarkupSafe-2.1.3-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:56d9f2ecac662ca1611d183feb03a3fa4406469dafe241673d521dd5ae92a155"}, 294 | {file = "MarkupSafe-2.1.3-cp37-cp37m-win32.whl", hash = "sha256:8758846a7e80910096950b67071243da3e5a20ed2546e6392603c096778d48e0"}, 295 | {file = "MarkupSafe-2.1.3-cp37-cp37m-win_amd64.whl", hash = "sha256:787003c0ddb00500e49a10f2844fac87aa6ce977b90b0feaaf9de23c22508b24"}, 296 | {file = "MarkupSafe-2.1.3-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:2ef12179d3a291be237280175b542c07a36e7f60718296278d8593d21ca937d4"}, 297 | {file = "MarkupSafe-2.1.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:2c1b19b3aaacc6e57b7e25710ff571c24d6c3613a45e905b1fde04d691b98ee0"}, 298 | {file = "MarkupSafe-2.1.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8afafd99945ead6e075b973fefa56379c5b5c53fd8937dad92c662da5d8fd5ee"}, 299 | {file = "MarkupSafe-2.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8c41976a29d078bb235fea9b2ecd3da465df42a562910f9022f1a03107bd02be"}, 300 | {file = "MarkupSafe-2.1.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d080e0a5eb2529460b30190fcfcc4199bd7f827663f858a226a81bc27beaa97e"}, 301 | {file = "MarkupSafe-2.1.3-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:69c0f17e9f5a7afdf2cc9fb2d1ce6aabdb3bafb7f38017c0b77862bcec2bbad8"}, 302 | {file = "MarkupSafe-2.1.3-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:504b320cd4b7eff6f968eddf81127112db685e81f7e36e75f9f84f0df46041c3"}, 303 | {file = "MarkupSafe-2.1.3-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:42de32b22b6b804f42c5d98be4f7e5e977ecdd9ee9b660fda1a3edf03b11792d"}, 304 | {file = "MarkupSafe-2.1.3-cp38-cp38-win32.whl", hash = "sha256:ceb01949af7121f9fc39f7d27f91be8546f3fb112c608bc4029aef0bab86a2a5"}, 305 | {file = "MarkupSafe-2.1.3-cp38-cp38-win_amd64.whl", hash = "sha256:1b40069d487e7edb2676d3fbdb2b0829ffa2cd63a2ec26c4938b2d34391b4ecc"}, 306 | {file = "MarkupSafe-2.1.3-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:8023faf4e01efadfa183e863fefde0046de576c6f14659e8782065bcece22198"}, 307 | {file = "MarkupSafe-2.1.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:6b2b56950d93e41f33b4223ead100ea0fe11f8e6ee5f641eb753ce4b77a7042b"}, 308 | {file = "MarkupSafe-2.1.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9dcdfd0eaf283af041973bff14a2e143b8bd64e069f4c383416ecd79a81aab58"}, 309 | {file = "MarkupSafe-2.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:05fb21170423db021895e1ea1e1f3ab3adb85d1c2333cbc2310f2a26bc77272e"}, 310 | {file = "MarkupSafe-2.1.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:282c2cb35b5b673bbcadb33a585408104df04f14b2d9b01d4c345a3b92861c2c"}, 311 | {file = "MarkupSafe-2.1.3-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:ab4a0df41e7c16a1392727727e7998a467472d0ad65f3ad5e6e765015df08636"}, 312 | {file = "MarkupSafe-2.1.3-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:7ef3cb2ebbf91e330e3bb937efada0edd9003683db6b57bb108c4001f37a02ea"}, 313 | {file = "MarkupSafe-2.1.3-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:0a4e4a1aff6c7ac4cd55792abf96c915634c2b97e3cc1c7129578aa68ebd754e"}, 314 | {file = "MarkupSafe-2.1.3-cp39-cp39-win32.whl", hash = "sha256:fec21693218efe39aa7f8599346e90c705afa52c5b31ae019b2e57e8f6542bb2"}, 315 | {file = "MarkupSafe-2.1.3-cp39-cp39-win_amd64.whl", hash = "sha256:3fd4abcb888d15a94f32b75d8fd18ee162ca0c064f35b11134be77050296d6ba"}, 316 | {file = "MarkupSafe-2.1.3.tar.gz", hash = "sha256:af598ed32d6ae86f1b747b82783958b1a4ab8f617b06fe68795c7f026abbdcad"}, 317 | ] 318 | 319 | [[package]] 320 | name = "mccabe" 321 | version = "0.6.1" 322 | description = "McCabe checker, plugin for flake8" 323 | optional = false 324 | python-versions = "*" 325 | files = [ 326 | {file = "mccabe-0.6.1-py2.py3-none-any.whl", hash = "sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42"}, 327 | {file = "mccabe-0.6.1.tar.gz", hash = "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f"}, 328 | ] 329 | 330 | [[package]] 331 | name = "mergedeep" 332 | version = "1.3.4" 333 | description = "A deep merge function for 🐍." 334 | optional = false 335 | python-versions = ">=3.6" 336 | files = [ 337 | {file = "mergedeep-1.3.4-py3-none-any.whl", hash = "sha256:70775750742b25c0d8f36c55aed03d24c3384d17c951b3175d898bd778ef0307"}, 338 | {file = "mergedeep-1.3.4.tar.gz", hash = "sha256:0096d52e9dad9939c3d975a774666af186eda617e6ca84df4c94dec30004f2a8"}, 339 | ] 340 | 341 | [[package]] 342 | name = "mkdocs" 343 | version = "1.5.0" 344 | description = "Project documentation with Markdown." 345 | optional = false 346 | python-versions = ">=3.7" 347 | files = [ 348 | {file = "mkdocs-1.5.0-py3-none-any.whl", hash = "sha256:91a75e3a5a75e006b2149814d5c56af170039ceda0732f51e7af1a463599c00d"}, 349 | {file = "mkdocs-1.5.0.tar.gz", hash = "sha256:ff54eac0b74bf39a2e91f179e2ac16ef36f0294b9ab161c22f564382b30a31ae"}, 350 | ] 351 | 352 | [package.dependencies] 353 | click = ">=7.0" 354 | colorama = {version = ">=0.4", markers = "platform_system == \"Windows\""} 355 | ghp-import = ">=1.0" 356 | importlib-metadata = {version = ">=4.3", markers = "python_version < \"3.10\""} 357 | jinja2 = ">=2.11.1" 358 | markdown = ">=3.2.1" 359 | markupsafe = ">=2.0.1" 360 | mergedeep = ">=1.3.4" 361 | packaging = ">=20.5" 362 | pathspec = ">=0.11.1" 363 | platformdirs = ">=2.2.0" 364 | pyyaml = ">=5.1" 365 | pyyaml-env-tag = ">=0.1" 366 | watchdog = ">=2.0" 367 | 368 | [package.extras] 369 | i18n = ["babel (>=2.9.0)"] 370 | min-versions = ["babel (==2.9.0)", "click (==7.0)", "colorama (==0.4)", "ghp-import (==1.0)", "importlib-metadata (==4.3)", "jinja2 (==2.11.1)", "markdown (==3.2.1)", "markupsafe (==2.0.1)", "mergedeep (==1.3.4)", "packaging (==20.5)", "pathspec (==0.11.1)", "platformdirs (==2.2.0)", "pyyaml (==5.1)", "pyyaml-env-tag (==0.1)", "typing-extensions (==3.10)", "watchdog (==2.0)"] 371 | 372 | [[package]] 373 | name = "mkdocs-autorefs" 374 | version = "0.3.1" 375 | description = "Automatically link across pages in MkDocs." 376 | optional = false 377 | python-versions = ">=3.6.2,<4.0.0" 378 | files = [ 379 | {file = "mkdocs-autorefs-0.3.1.tar.gz", hash = "sha256:12baad29359f468b44d980ed35b713715409097a1d8e3d0ef90962db95205eda"}, 380 | {file = "mkdocs_autorefs-0.3.1-py3-none-any.whl", hash = "sha256:f0fd7c115eaafda7fb16bf5ff5d70eda55d7c0599eac64f8b25eacf864312a85"}, 381 | ] 382 | 383 | [package.dependencies] 384 | Markdown = ">=3.3,<4.0" 385 | mkdocs = ">=1.1,<2.0" 386 | 387 | [[package]] 388 | name = "mkdocs-material" 389 | version = "7.3.6" 390 | description = "A Material Design theme for MkDocs" 391 | optional = false 392 | python-versions = "*" 393 | files = [ 394 | {file = "mkdocs-material-7.3.6.tar.gz", hash = "sha256:1b1dbd8ef2508b358d93af55a5c5db3f141c95667fad802301ec621c40c7c217"}, 395 | {file = "mkdocs_material-7.3.6-py2.py3-none-any.whl", hash = "sha256:1b6b3e9e09f922c2d7f1160fe15c8f43d4adc0d6fb81aa6ff0cbc7ef5b78ec75"}, 396 | ] 397 | 398 | [package.dependencies] 399 | jinja2 = ">=2.11.1" 400 | markdown = ">=3.2" 401 | mkdocs = ">=1.2.3" 402 | mkdocs-material-extensions = ">=1.0" 403 | pygments = ">=2.10" 404 | pymdown-extensions = ">=9.0" 405 | 406 | [[package]] 407 | name = "mkdocs-material-extensions" 408 | version = "1.1.1" 409 | description = "Extension pack for Python Markdown and MkDocs Material." 410 | optional = false 411 | python-versions = ">=3.7" 412 | files = [ 413 | {file = "mkdocs_material_extensions-1.1.1-py3-none-any.whl", hash = "sha256:e41d9f38e4798b6617ad98ca8f7f1157b1e4385ac1459ca1e4ea219b556df945"}, 414 | {file = "mkdocs_material_extensions-1.1.1.tar.gz", hash = "sha256:9c003da71e2cc2493d910237448c672e00cefc800d3d6ae93d2fc69979e3bd93"}, 415 | ] 416 | 417 | [[package]] 418 | name = "mkdocstrings" 419 | version = "0.16.2" 420 | description = "Automatic documentation from sources, for MkDocs." 421 | optional = false 422 | python-versions = ">=3.6" 423 | files = [ 424 | {file = "mkdocstrings-0.16.2-py3-none-any.whl", hash = "sha256:671fba8a6c7a8455562aae0a3fa85979fbcef261daec5b2bac4dd1479acc14df"}, 425 | {file = "mkdocstrings-0.16.2.tar.gz", hash = "sha256:3d8a86c283dfa21818d5b9579aa4e750eea6b5c127b43ad8b00cebbfb7f9634e"}, 426 | ] 427 | 428 | [package.dependencies] 429 | Jinja2 = ">=2.11.1,<4.0" 430 | Markdown = ">=3.3,<4.0" 431 | MarkupSafe = ">=1.1,<3.0" 432 | mkdocs = ">=1.2,<2.0" 433 | mkdocs-autorefs = ">=0.1,<0.4" 434 | pymdown-extensions = ">=6.3,<10.0" 435 | pytkdocs = ">=0.2.0,<0.13.0" 436 | 437 | [[package]] 438 | name = "numpy" 439 | version = "1.25.1" 440 | description = "Fundamental package for array computing in Python" 441 | optional = true 442 | python-versions = ">=3.9" 443 | files = [ 444 | {file = "numpy-1.25.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:77d339465dff3eb33c701430bcb9c325b60354698340229e1dff97745e6b3efa"}, 445 | {file = "numpy-1.25.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:d736b75c3f2cb96843a5c7f8d8ccc414768d34b0a75f466c05f3a739b406f10b"}, 446 | {file = "numpy-1.25.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4a90725800caeaa160732d6b31f3f843ebd45d6b5f3eec9e8cc287e30f2805bf"}, 447 | {file = "numpy-1.25.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c6c9261d21e617c6dc5eacba35cb68ec36bb72adcff0dee63f8fbc899362588"}, 448 | {file = "numpy-1.25.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:0def91f8af6ec4bb94c370e38c575855bf1d0be8a8fbfba42ef9c073faf2cf19"}, 449 | {file = "numpy-1.25.1-cp310-cp310-win32.whl", hash = "sha256:fd67b306320dcadea700a8f79b9e671e607f8696e98ec255915c0c6d6b818503"}, 450 | {file = "numpy-1.25.1-cp310-cp310-win_amd64.whl", hash = "sha256:c1516db588987450b85595586605742879e50dcce923e8973f79529651545b57"}, 451 | {file = "numpy-1.25.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6b82655dd8efeea69dbf85d00fca40013d7f503212bc5259056244961268b66e"}, 452 | {file = "numpy-1.25.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e8f6049c4878cb16960fbbfb22105e49d13d752d4d8371b55110941fb3b17800"}, 453 | {file = "numpy-1.25.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:41a56b70e8139884eccb2f733c2f7378af06c82304959e174f8e7370af112e09"}, 454 | {file = "numpy-1.25.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d5154b1a25ec796b1aee12ac1b22f414f94752c5f94832f14d8d6c9ac40bcca6"}, 455 | {file = "numpy-1.25.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:38eb6548bb91c421261b4805dc44def9ca1a6eef6444ce35ad1669c0f1a3fc5d"}, 456 | {file = "numpy-1.25.1-cp311-cp311-win32.whl", hash = "sha256:791f409064d0a69dd20579345d852c59822c6aa087f23b07b1b4e28ff5880fcb"}, 457 | {file = "numpy-1.25.1-cp311-cp311-win_amd64.whl", hash = "sha256:c40571fe966393b212689aa17e32ed905924120737194b5d5c1b20b9ed0fb171"}, 458 | {file = "numpy-1.25.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:3d7abcdd85aea3e6cdddb59af2350c7ab1ed764397f8eec97a038ad244d2d105"}, 459 | {file = "numpy-1.25.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:1a180429394f81c7933634ae49b37b472d343cccb5bb0c4a575ac8bbc433722f"}, 460 | {file = "numpy-1.25.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d412c1697c3853c6fc3cb9751b4915859c7afe6a277c2bf00acf287d56c4e625"}, 461 | {file = "numpy-1.25.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:20e1266411120a4f16fad8efa8e0454d21d00b8c7cee5b5ccad7565d95eb42dd"}, 462 | {file = "numpy-1.25.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:f76aebc3358ade9eacf9bc2bb8ae589863a4f911611694103af05346637df1b7"}, 463 | {file = "numpy-1.25.1-cp39-cp39-win32.whl", hash = "sha256:247d3ffdd7775bdf191f848be8d49100495114c82c2bd134e8d5d075fb386a1c"}, 464 | {file = "numpy-1.25.1-cp39-cp39-win_amd64.whl", hash = "sha256:1d5d3c68e443c90b38fdf8ef40e60e2538a27548b39b12b73132456847f4b631"}, 465 | {file = "numpy-1.25.1-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:35a9527c977b924042170a0887de727cd84ff179e478481404c5dc66b4170009"}, 466 | {file = "numpy-1.25.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0d3fe3dd0506a28493d82dc3cf254be8cd0d26f4008a417385cbf1ae95b54004"}, 467 | {file = "numpy-1.25.1-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:012097b5b0d00a11070e8f2e261128c44157a8689f7dedcf35576e525893f4fe"}, 468 | {file = "numpy-1.25.1.tar.gz", hash = "sha256:9a3a9f3a61480cc086117b426a8bd86869c213fc4072e606f01c4e4b66eb92bf"}, 469 | ] 470 | 471 | [[package]] 472 | name = "packaging" 473 | version = "23.1" 474 | description = "Core utilities for Python packages" 475 | optional = false 476 | python-versions = ">=3.7" 477 | files = [ 478 | {file = "packaging-23.1-py3-none-any.whl", hash = "sha256:994793af429502c4ea2ebf6bf664629d07c1a9fe974af92966e4b8d2df7edc61"}, 479 | {file = "packaging-23.1.tar.gz", hash = "sha256:a392980d2b6cffa644431898be54b0045151319d1e7ec34f0cfed48767dd334f"}, 480 | ] 481 | 482 | [[package]] 483 | name = "pandas" 484 | version = "1.5.3" 485 | description = "Powerful data structures for data analysis, time series, and statistics" 486 | optional = true 487 | python-versions = ">=3.8" 488 | files = [ 489 | {file = "pandas-1.5.3-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:3749077d86e3a2f0ed51367f30bf5b82e131cc0f14260c4d3e499186fccc4406"}, 490 | {file = "pandas-1.5.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:972d8a45395f2a2d26733eb8d0f629b2f90bebe8e8eddbb8829b180c09639572"}, 491 | {file = "pandas-1.5.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:50869a35cbb0f2e0cd5ec04b191e7b12ed688874bd05dd777c19b28cbea90996"}, 492 | {file = "pandas-1.5.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c3ac844a0fe00bfaeb2c9b51ab1424e5c8744f89860b138434a363b1f620f354"}, 493 | {file = "pandas-1.5.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7a0a56cef15fd1586726dace5616db75ebcfec9179a3a55e78f72c5639fa2a23"}, 494 | {file = "pandas-1.5.3-cp310-cp310-win_amd64.whl", hash = "sha256:478ff646ca42b20376e4ed3fa2e8d7341e8a63105586efe54fa2508ee087f328"}, 495 | {file = "pandas-1.5.3-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:6973549c01ca91ec96199e940495219c887ea815b2083722821f1d7abfa2b4dc"}, 496 | {file = "pandas-1.5.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c39a8da13cede5adcd3be1182883aea1c925476f4e84b2807a46e2775306305d"}, 497 | {file = "pandas-1.5.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f76d097d12c82a535fda9dfe5e8dd4127952b45fea9b0276cb30cca5ea313fbc"}, 498 | {file = "pandas-1.5.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e474390e60ed609cec869b0da796ad94f420bb057d86784191eefc62b65819ae"}, 499 | {file = "pandas-1.5.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5f2b952406a1588ad4cad5b3f55f520e82e902388a6d5a4a91baa8d38d23c7f6"}, 500 | {file = "pandas-1.5.3-cp311-cp311-win_amd64.whl", hash = "sha256:bc4c368f42b551bf72fac35c5128963a171b40dce866fb066540eeaf46faa003"}, 501 | {file = "pandas-1.5.3-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:14e45300521902689a81f3f41386dc86f19b8ba8dd5ac5a3c7010ef8d2932813"}, 502 | {file = "pandas-1.5.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:9842b6f4b8479e41968eced654487258ed81df7d1c9b7b870ceea24ed9459b31"}, 503 | {file = "pandas-1.5.3-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:26d9c71772c7afb9d5046e6e9cf42d83dd147b5cf5bcb9d97252077118543792"}, 504 | {file = "pandas-1.5.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5fbcb19d6fceb9e946b3e23258757c7b225ba450990d9ed63ccceeb8cae609f7"}, 505 | {file = "pandas-1.5.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:565fa34a5434d38e9d250af3c12ff931abaf88050551d9fbcdfafca50d62babf"}, 506 | {file = "pandas-1.5.3-cp38-cp38-win32.whl", hash = "sha256:87bd9c03da1ac870a6d2c8902a0e1fd4267ca00f13bc494c9e5a9020920e1d51"}, 507 | {file = "pandas-1.5.3-cp38-cp38-win_amd64.whl", hash = "sha256:41179ce559943d83a9b4bbacb736b04c928b095b5f25dd2b7389eda08f46f373"}, 508 | {file = "pandas-1.5.3-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:c74a62747864ed568f5a82a49a23a8d7fe171d0c69038b38cedf0976831296fa"}, 509 | {file = "pandas-1.5.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:c4c00e0b0597c8e4f59e8d461f797e5d70b4d025880516a8261b2817c47759ee"}, 510 | {file = "pandas-1.5.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:a50d9a4336a9621cab7b8eb3fb11adb82de58f9b91d84c2cd526576b881a0c5a"}, 511 | {file = "pandas-1.5.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dd05f7783b3274aa206a1af06f0ceed3f9b412cf665b7247eacd83be41cf7bf0"}, 512 | {file = "pandas-1.5.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9f69c4029613de47816b1bb30ff5ac778686688751a5e9c99ad8c7031f6508e5"}, 513 | {file = "pandas-1.5.3-cp39-cp39-win32.whl", hash = "sha256:7cec0bee9f294e5de5bbfc14d0573f65526071029d036b753ee6507d2a21480a"}, 514 | {file = "pandas-1.5.3-cp39-cp39-win_amd64.whl", hash = "sha256:dfd681c5dc216037e0b0a2c821f5ed99ba9f03ebcf119c7dac0e9a7b960b9ec9"}, 515 | {file = "pandas-1.5.3.tar.gz", hash = "sha256:74a3fd7e5a7ec052f183273dc7b0acd3a863edf7520f5d3a1765c04ffdb3b0b1"}, 516 | ] 517 | 518 | [package.dependencies] 519 | numpy = [ 520 | {version = ">=1.20.3", markers = "python_version < \"3.10\""}, 521 | {version = ">=1.21.0", markers = "python_version >= \"3.10\""}, 522 | {version = ">=1.23.2", markers = "python_version >= \"3.11\""}, 523 | ] 524 | python-dateutil = ">=2.8.1" 525 | pytz = ">=2020.1" 526 | 527 | [package.extras] 528 | test = ["hypothesis (>=5.5.3)", "pytest (>=6.0)", "pytest-xdist (>=1.31)"] 529 | 530 | [[package]] 531 | name = "pathspec" 532 | version = "0.11.1" 533 | description = "Utility library for gitignore style pattern matching of file paths." 534 | optional = false 535 | python-versions = ">=3.7" 536 | files = [ 537 | {file = "pathspec-0.11.1-py3-none-any.whl", hash = "sha256:d8af70af76652554bd134c22b3e8a1cc46ed7d91edcdd721ef1a0c51a84a5293"}, 538 | {file = "pathspec-0.11.1.tar.gz", hash = "sha256:2798de800fa92780e33acca925945e9a19a133b715067cf165b8866c15a31687"}, 539 | ] 540 | 541 | [[package]] 542 | name = "platformdirs" 543 | version = "3.9.1" 544 | description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." 545 | optional = false 546 | python-versions = ">=3.7" 547 | files = [ 548 | {file = "platformdirs-3.9.1-py3-none-any.whl", hash = "sha256:ad8291ae0ae5072f66c16945166cb11c63394c7a3ad1b1bc9828ca3162da8c2f"}, 549 | {file = "platformdirs-3.9.1.tar.gz", hash = "sha256:1b42b450ad933e981d56e59f1b97495428c9bd60698baab9f3eb3d00d5822421"}, 550 | ] 551 | 552 | [package.extras] 553 | docs = ["furo (>=2023.5.20)", "proselint (>=0.13)", "sphinx (>=7.0.1)", "sphinx-autodoc-typehints (>=1.23,!=1.23.4)"] 554 | test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.3.1)", "pytest-cov (>=4.1)", "pytest-mock (>=3.10)"] 555 | 556 | [[package]] 557 | name = "pluggy" 558 | version = "1.2.0" 559 | description = "plugin and hook calling mechanisms for python" 560 | optional = false 561 | python-versions = ">=3.7" 562 | files = [ 563 | {file = "pluggy-1.2.0-py3-none-any.whl", hash = "sha256:c2fd55a7d7a3863cba1a013e4e2414658b1d07b6bc57b3919e0c63c9abb99849"}, 564 | {file = "pluggy-1.2.0.tar.gz", hash = "sha256:d12f0c4b579b15f5e054301bb226ee85eeeba08ffec228092f8defbaa3a4c4b3"}, 565 | ] 566 | 567 | [package.extras] 568 | dev = ["pre-commit", "tox"] 569 | testing = ["pytest", "pytest-benchmark"] 570 | 571 | [[package]] 572 | name = "py" 573 | version = "1.11.0" 574 | description = "library with cross-python path, ini-parsing, io, code, log facilities" 575 | optional = false 576 | python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" 577 | files = [ 578 | {file = "py-1.11.0-py2.py3-none-any.whl", hash = "sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378"}, 579 | {file = "py-1.11.0.tar.gz", hash = "sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"}, 580 | ] 581 | 582 | [[package]] 583 | name = "pycodestyle" 584 | version = "2.8.0" 585 | description = "Python style guide checker" 586 | optional = false 587 | python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" 588 | files = [ 589 | {file = "pycodestyle-2.8.0-py2.py3-none-any.whl", hash = "sha256:720f8b39dde8b293825e7ff02c475f3077124006db4f440dcbc9a20b76548a20"}, 590 | {file = "pycodestyle-2.8.0.tar.gz", hash = "sha256:eddd5847ef438ea1c7870ca7eb78a9d47ce0cdb4851a5523949f2601d0cbbe7f"}, 591 | ] 592 | 593 | [[package]] 594 | name = "pyflakes" 595 | version = "2.4.0" 596 | description = "passive checker of Python programs" 597 | optional = false 598 | python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" 599 | files = [ 600 | {file = "pyflakes-2.4.0-py2.py3-none-any.whl", hash = "sha256:3bb3a3f256f4b7968c9c788781e4ff07dce46bdf12339dcda61053375426ee2e"}, 601 | {file = "pyflakes-2.4.0.tar.gz", hash = "sha256:05a85c2872edf37a4ed30b0cce2f6093e1d0581f8c19d7393122da7e25b2b24c"}, 602 | ] 603 | 604 | [[package]] 605 | name = "pygments" 606 | version = "2.15.1" 607 | description = "Pygments is a syntax highlighting package written in Python." 608 | optional = false 609 | python-versions = ">=3.7" 610 | files = [ 611 | {file = "Pygments-2.15.1-py3-none-any.whl", hash = "sha256:db2db3deb4b4179f399a09054b023b6a586b76499d36965813c71aa8ed7b5fd1"}, 612 | {file = "Pygments-2.15.1.tar.gz", hash = "sha256:8ace4d3c1dd481894b2005f560ead0f9f19ee64fe983366be1a21e171d12775c"}, 613 | ] 614 | 615 | [package.extras] 616 | plugins = ["importlib-metadata"] 617 | 618 | [[package]] 619 | name = "pymdown-extensions" 620 | version = "9.11" 621 | description = "Extension pack for Python Markdown." 622 | optional = false 623 | python-versions = ">=3.7" 624 | files = [ 625 | {file = "pymdown_extensions-9.11-py3-none-any.whl", hash = "sha256:a499191d8d869f30339de86fcf072a787e86c42b6f16f280f5c2cf174182b7f3"}, 626 | {file = "pymdown_extensions-9.11.tar.gz", hash = "sha256:f7e86c1d3981f23d9dc43294488ecb54abadd05b0be4bf8f0e15efc90f7853ff"}, 627 | ] 628 | 629 | [package.dependencies] 630 | markdown = ">=3.2" 631 | pyyaml = "*" 632 | 633 | [[package]] 634 | name = "pytest" 635 | version = "6.2.5" 636 | description = "pytest: simple powerful testing with Python" 637 | optional = false 638 | python-versions = ">=3.6" 639 | files = [ 640 | {file = "pytest-6.2.5-py3-none-any.whl", hash = "sha256:7310f8d27bc79ced999e760ca304d69f6ba6c6649c0b60fb0e04a4a77cacc134"}, 641 | {file = "pytest-6.2.5.tar.gz", hash = "sha256:131b36680866a76e6781d13f101efb86cf674ebb9762eb70d3082b6f29889e89"}, 642 | ] 643 | 644 | [package.dependencies] 645 | atomicwrites = {version = ">=1.0", markers = "sys_platform == \"win32\""} 646 | attrs = ">=19.2.0" 647 | colorama = {version = "*", markers = "sys_platform == \"win32\""} 648 | iniconfig = "*" 649 | packaging = "*" 650 | pluggy = ">=0.12,<2.0" 651 | py = ">=1.8.2" 652 | toml = "*" 653 | 654 | [package.extras] 655 | testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "requests", "xmlschema"] 656 | 657 | [[package]] 658 | name = "python-dateutil" 659 | version = "2.8.2" 660 | description = "Extensions to the standard Python datetime module" 661 | optional = false 662 | python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" 663 | files = [ 664 | {file = "python-dateutil-2.8.2.tar.gz", hash = "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86"}, 665 | {file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"}, 666 | ] 667 | 668 | [package.dependencies] 669 | six = ">=1.5" 670 | 671 | [[package]] 672 | name = "pytkdocs" 673 | version = "0.12.0" 674 | description = "Load Python objects documentation." 675 | optional = false 676 | python-versions = ">=3.6.1" 677 | files = [ 678 | {file = "pytkdocs-0.12.0-py3-none-any.whl", hash = "sha256:12cb4180d5eafc7819dba91142948aa7b85ad0a3ad0e956db1cdc6d6c5d0ef56"}, 679 | {file = "pytkdocs-0.12.0.tar.gz", hash = "sha256:746905493ff79482ebc90816b8c397c096727a1da8214a0ccff662a8412e91b3"}, 680 | ] 681 | 682 | [package.extras] 683 | numpy-style = ["docstring_parser (>=0.7,<1.0)"] 684 | 685 | [[package]] 686 | name = "pytz" 687 | version = "2023.3" 688 | description = "World timezone definitions, modern and historical" 689 | optional = true 690 | python-versions = "*" 691 | files = [ 692 | {file = "pytz-2023.3-py2.py3-none-any.whl", hash = "sha256:a151b3abb88eda1d4e34a9814df37de2a80e301e68ba0fd856fb9b46bfbbbffb"}, 693 | {file = "pytz-2023.3.tar.gz", hash = "sha256:1d8ce29db189191fb55338ee6d0387d82ab59f3d00eac103412d64e0ebd0c588"}, 694 | ] 695 | 696 | [[package]] 697 | name = "pyyaml" 698 | version = "6.0.1" 699 | description = "YAML parser and emitter for Python" 700 | optional = false 701 | python-versions = ">=3.6" 702 | files = [ 703 | {file = "PyYAML-6.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d858aa552c999bc8a8d57426ed01e40bef403cd8ccdd0fc5f6f04a00414cac2a"}, 704 | {file = "PyYAML-6.0.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f"}, 705 | {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:69b023b2b4daa7548bcfbd4aa3da05b3a74b772db9e23b982788168117739938"}, 706 | {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:81e0b275a9ecc9c0c0c07b4b90ba548307583c125f54d5b6946cfee6360c733d"}, 707 | {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba336e390cd8e4d1739f42dfe9bb83a3cc2e80f567d8805e11b46f4a943f5515"}, 708 | {file = "PyYAML-6.0.1-cp310-cp310-win32.whl", hash = "sha256:bd4af7373a854424dabd882decdc5579653d7868b8fb26dc7d0e99f823aa5924"}, 709 | {file = "PyYAML-6.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d"}, 710 | {file = "PyYAML-6.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6965a7bc3cf88e5a1c3bd2e0b5c22f8d677dc88a455344035f03399034eb3007"}, 711 | {file = "PyYAML-6.0.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f003ed9ad21d6a4713f0a9b5a7a0a79e08dd0f221aff4525a2be4c346ee60aab"}, 712 | {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42f8152b8dbc4fe7d96729ec2b99c7097d656dc1213a3229ca5383f973a5ed6d"}, 713 | {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc"}, 714 | {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d2b04aac4d386b172d5b9692e2d2da8de7bfb6c387fa4f801fbf6fb2e6ba4673"}, 715 | {file = "PyYAML-6.0.1-cp311-cp311-win32.whl", hash = "sha256:1635fd110e8d85d55237ab316b5b011de701ea0f29d07611174a1b42f1444741"}, 716 | {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, 717 | {file = "PyYAML-6.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:50550eb667afee136e9a77d6dc71ae76a44df8b3e51e41b77f6de2932bfe0f47"}, 718 | {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1fe35611261b29bd1de0070f0b2f47cb6ff71fa6595c077e42bd0c419fa27b98"}, 719 | {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:704219a11b772aea0d8ecd7058d0082713c3562b4e271b849ad7dc4a5c90c13c"}, 720 | {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:afd7e57eddb1a54f0f1a974bc4391af8bcce0b444685d936840f125cf046d5bd"}, 721 | {file = "PyYAML-6.0.1-cp36-cp36m-win32.whl", hash = "sha256:fca0e3a251908a499833aa292323f32437106001d436eca0e6e7833256674585"}, 722 | {file = "PyYAML-6.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:f22ac1c3cac4dbc50079e965eba2c1058622631e526bd9afd45fedd49ba781fa"}, 723 | {file = "PyYAML-6.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b1275ad35a5d18c62a7220633c913e1b42d44b46ee12554e5fd39c70a243d6a3"}, 724 | {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:18aeb1bf9a78867dc38b259769503436b7c72f7a1f1f4c93ff9a17de54319b27"}, 725 | {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:596106435fa6ad000c2991a98fa58eeb8656ef2325d7e158344fb33864ed87e3"}, 726 | {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:baa90d3f661d43131ca170712d903e6295d1f7a0f595074f151c0aed377c9b9c"}, 727 | {file = "PyYAML-6.0.1-cp37-cp37m-win32.whl", hash = "sha256:9046c58c4395dff28dd494285c82ba00b546adfc7ef001486fbf0324bc174fba"}, 728 | {file = "PyYAML-6.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:4fb147e7a67ef577a588a0e2c17b6db51dda102c71de36f8549b6816a96e1867"}, 729 | {file = "PyYAML-6.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1d4c7e777c441b20e32f52bd377e0c409713e8bb1386e1099c2415f26e479595"}, 730 | {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a0cd17c15d3bb3fa06978b4e8958dcdc6e0174ccea823003a106c7d4d7899ac5"}, 731 | {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28c119d996beec18c05208a8bd78cbe4007878c6dd15091efb73a30e90539696"}, 732 | {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e07cbde391ba96ab58e532ff4803f79c4129397514e1413a7dc761ccd755735"}, 733 | {file = "PyYAML-6.0.1-cp38-cp38-win32.whl", hash = "sha256:184c5108a2aca3c5b3d3bf9395d50893a7ab82a38004c8f61c258d4428e80206"}, 734 | {file = "PyYAML-6.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:1e2722cc9fbb45d9b87631ac70924c11d3a401b2d7f410cc0e3bbf249f2dca62"}, 735 | {file = "PyYAML-6.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9eb6caa9a297fc2c2fb8862bc5370d0303ddba53ba97e71f08023b6cd73d16a8"}, 736 | {file = "PyYAML-6.0.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c8098ddcc2a85b61647b2590f825f3db38891662cfc2fc776415143f599bb859"}, 737 | {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5773183b6446b2c99bb77e77595dd486303b4faab2b086e7b17bc6bef28865f6"}, 738 | {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b786eecbdf8499b9ca1d697215862083bd6d2a99965554781d0d8d1ad31e13a0"}, 739 | {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc1bf2925a1ecd43da378f4db9e4f799775d6367bdb94671027b73b393a7c42c"}, 740 | {file = "PyYAML-6.0.1-cp39-cp39-win32.whl", hash = "sha256:faca3bdcf85b2fc05d06ff3fbc1f83e1391b3e724afa3feba7d13eeab355484c"}, 741 | {file = "PyYAML-6.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:510c9deebc5c0225e8c96813043e62b680ba2f9c50a08d3724c7f28a747d1486"}, 742 | {file = "PyYAML-6.0.1.tar.gz", hash = "sha256:bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"}, 743 | ] 744 | 745 | [[package]] 746 | name = "pyyaml-env-tag" 747 | version = "0.1" 748 | description = "A custom YAML tag for referencing environment variables in YAML files. " 749 | optional = false 750 | python-versions = ">=3.6" 751 | files = [ 752 | {file = "pyyaml_env_tag-0.1-py3-none-any.whl", hash = "sha256:af31106dec8a4d68c60207c1886031cbf839b68aa7abccdb19868200532c2069"}, 753 | {file = "pyyaml_env_tag-0.1.tar.gz", hash = "sha256:70092675bda14fdec33b31ba77e7543de9ddc88f2e5b99160396572d11525bdb"}, 754 | ] 755 | 756 | [package.dependencies] 757 | pyyaml = "*" 758 | 759 | [[package]] 760 | name = "requests" 761 | version = "2.31.0" 762 | description = "Python HTTP for Humans." 763 | optional = false 764 | python-versions = ">=3.7" 765 | files = [ 766 | {file = "requests-2.31.0-py3-none-any.whl", hash = "sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f"}, 767 | {file = "requests-2.31.0.tar.gz", hash = "sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1"}, 768 | ] 769 | 770 | [package.dependencies] 771 | certifi = ">=2017.4.17" 772 | charset-normalizer = ">=2,<4" 773 | idna = ">=2.5,<4" 774 | urllib3 = ">=1.21.1,<3" 775 | 776 | [package.extras] 777 | socks = ["PySocks (>=1.5.6,!=1.5.7)"] 778 | use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] 779 | 780 | [[package]] 781 | name = "six" 782 | version = "1.16.0" 783 | description = "Python 2 and 3 compatibility utilities" 784 | optional = false 785 | python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" 786 | files = [ 787 | {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"}, 788 | {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, 789 | ] 790 | 791 | [[package]] 792 | name = "toml" 793 | version = "0.10.2" 794 | description = "Python Library for Tom's Obvious, Minimal Language" 795 | optional = false 796 | python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" 797 | files = [ 798 | {file = "toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b"}, 799 | {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"}, 800 | ] 801 | 802 | [[package]] 803 | name = "urllib3" 804 | version = "2.0.4" 805 | description = "HTTP library with thread-safe connection pooling, file post, and more." 806 | optional = false 807 | python-versions = ">=3.7" 808 | files = [ 809 | {file = "urllib3-2.0.4-py3-none-any.whl", hash = "sha256:de7df1803967d2c2a98e4b11bb7d6bd9210474c46e8a0401514e3a42a75ebde4"}, 810 | {file = "urllib3-2.0.4.tar.gz", hash = "sha256:8d22f86aae8ef5e410d4f539fde9ce6b2113a001bb4d189e0aed70642d602b11"}, 811 | ] 812 | 813 | [package.extras] 814 | brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"] 815 | secure = ["certifi", "cryptography (>=1.9)", "idna (>=2.0.0)", "pyopenssl (>=17.1.0)", "urllib3-secure-extra"] 816 | socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] 817 | zstd = ["zstandard (>=0.18.0)"] 818 | 819 | [[package]] 820 | name = "watchdog" 821 | version = "3.0.0" 822 | description = "Filesystem events monitoring" 823 | optional = false 824 | python-versions = ">=3.7" 825 | files = [ 826 | {file = "watchdog-3.0.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:336adfc6f5cc4e037d52db31194f7581ff744b67382eb6021c868322e32eef41"}, 827 | {file = "watchdog-3.0.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:a70a8dcde91be523c35b2bf96196edc5730edb347e374c7de7cd20c43ed95397"}, 828 | {file = "watchdog-3.0.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:adfdeab2da79ea2f76f87eb42a3ab1966a5313e5a69a0213a3cc06ef692b0e96"}, 829 | {file = "watchdog-3.0.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:2b57a1e730af3156d13b7fdddfc23dea6487fceca29fc75c5a868beed29177ae"}, 830 | {file = "watchdog-3.0.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:7ade88d0d778b1b222adebcc0927428f883db07017618a5e684fd03b83342bd9"}, 831 | {file = "watchdog-3.0.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:7e447d172af52ad204d19982739aa2346245cc5ba6f579d16dac4bfec226d2e7"}, 832 | {file = "watchdog-3.0.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:9fac43a7466eb73e64a9940ac9ed6369baa39b3bf221ae23493a9ec4d0022674"}, 833 | {file = "watchdog-3.0.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:8ae9cda41fa114e28faf86cb137d751a17ffd0316d1c34ccf2235e8a84365c7f"}, 834 | {file = "watchdog-3.0.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:25f70b4aa53bd743729c7475d7ec41093a580528b100e9a8c5b5efe8899592fc"}, 835 | {file = "watchdog-3.0.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:4f94069eb16657d2c6faada4624c39464f65c05606af50bb7902e036e3219be3"}, 836 | {file = "watchdog-3.0.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:7c5f84b5194c24dd573fa6472685b2a27cc5a17fe5f7b6fd40345378ca6812e3"}, 837 | {file = "watchdog-3.0.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:3aa7f6a12e831ddfe78cdd4f8996af9cf334fd6346531b16cec61c3b3c0d8da0"}, 838 | {file = "watchdog-3.0.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:233b5817932685d39a7896b1090353fc8efc1ef99c9c054e46c8002561252fb8"}, 839 | {file = "watchdog-3.0.0-pp37-pypy37_pp73-macosx_10_9_x86_64.whl", hash = "sha256:13bbbb462ee42ec3c5723e1205be8ced776f05b100e4737518c67c8325cf6100"}, 840 | {file = "watchdog-3.0.0-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:8f3ceecd20d71067c7fd4c9e832d4e22584318983cabc013dbf3f70ea95de346"}, 841 | {file = "watchdog-3.0.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:c9d8c8ec7efb887333cf71e328e39cffbf771d8f8f95d308ea4125bf5f90ba64"}, 842 | {file = "watchdog-3.0.0-py3-none-manylinux2014_aarch64.whl", hash = "sha256:0e06ab8858a76e1219e68c7573dfeba9dd1c0219476c5a44d5333b01d7e1743a"}, 843 | {file = "watchdog-3.0.0-py3-none-manylinux2014_armv7l.whl", hash = "sha256:d00e6be486affb5781468457b21a6cbe848c33ef43f9ea4a73b4882e5f188a44"}, 844 | {file = "watchdog-3.0.0-py3-none-manylinux2014_i686.whl", hash = "sha256:c07253088265c363d1ddf4b3cdb808d59a0468ecd017770ed716991620b8f77a"}, 845 | {file = "watchdog-3.0.0-py3-none-manylinux2014_ppc64.whl", hash = "sha256:5113334cf8cf0ac8cd45e1f8309a603291b614191c9add34d33075727a967709"}, 846 | {file = "watchdog-3.0.0-py3-none-manylinux2014_ppc64le.whl", hash = "sha256:51f90f73b4697bac9c9a78394c3acbbd331ccd3655c11be1a15ae6fe289a8c83"}, 847 | {file = "watchdog-3.0.0-py3-none-manylinux2014_s390x.whl", hash = "sha256:ba07e92756c97e3aca0912b5cbc4e5ad802f4557212788e72a72a47ff376950d"}, 848 | {file = "watchdog-3.0.0-py3-none-manylinux2014_x86_64.whl", hash = "sha256:d429c2430c93b7903914e4db9a966c7f2b068dd2ebdd2fa9b9ce094c7d459f33"}, 849 | {file = "watchdog-3.0.0-py3-none-win32.whl", hash = "sha256:3ed7c71a9dccfe838c2f0b6314ed0d9b22e77d268c67e015450a29036a81f60f"}, 850 | {file = "watchdog-3.0.0-py3-none-win_amd64.whl", hash = "sha256:4c9956d27be0bb08fc5f30d9d0179a855436e655f046d288e2bcc11adfae893c"}, 851 | {file = "watchdog-3.0.0-py3-none-win_ia64.whl", hash = "sha256:5d9f3a10e02d7371cd929b5d8f11e87d4bad890212ed3901f9b4d68767bee759"}, 852 | {file = "watchdog-3.0.0.tar.gz", hash = "sha256:4d98a320595da7a7c5a18fc48cb633c2e73cda78f93cac2ef42d42bf609a33f9"}, 853 | ] 854 | 855 | [package.extras] 856 | watchmedo = ["PyYAML (>=3.10)"] 857 | 858 | [[package]] 859 | name = "zipp" 860 | version = "3.16.2" 861 | description = "Backport of pathlib-compatible object wrapper for zip files" 862 | optional = false 863 | python-versions = ">=3.8" 864 | files = [ 865 | {file = "zipp-3.16.2-py3-none-any.whl", hash = "sha256:679e51dd4403591b2d6838a48de3d283f3d188412a9782faadf845f298736ba0"}, 866 | {file = "zipp-3.16.2.tar.gz", hash = "sha256:ebc15946aa78bd63458992fc81ec3b6f7b1e92d51c35e6de1c3804e73b799147"}, 867 | ] 868 | 869 | [package.extras] 870 | docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] 871 | testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-ignore-flaky", "pytest-mypy (>=0.9.1)", "pytest-ruff"] 872 | 873 | [extras] 874 | pandas = ["pandas"] 875 | 876 | [metadata] 877 | lock-version = "2.0" 878 | python-versions = "^3.9" 879 | content-hash = "2a5695e470f6b93a04d0b075533e1b3408fe11a6c489804b50f84985376cc3b1" 880 | --------------------------------------------------------------------------------