Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

AUTO-25: Add the ability to run multiple categories and to skip categories (#270)

Swiftye0a72b86c1c9
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000000..84c7cc0187
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,36 @@
+repos:
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.4.0
+ hooks:
+ - id: check-added-large-files
+ args: ['--maxkb=500']
+ - id: check-byte-order-marker
+ - id: check-case-conflict
+ - id: check-merge-conflict
+ - id: check-symlinks
+ - id: debug-statements
+
+ - repo: https://github.com/pycqa/isort
+ rev: 5.12.0
+ hooks:
+ - id: isort
+ language_version: python3.10
+
+ - repo: https://github.com/psf/black
+ rev: 23.3.0
+ hooks:
+ - id: black
+ language_version: python3.10
+
+ - repo: https://github.com/pre-commit/mirrors-mypy
+ rev: 'v1.3.0'
+ hooks:
+ - id: mypy
+
+ - repo: local
+ hooks:
+ - id: autoflake
+ name: autoflake
+ entry: autoflake --remove-all-unused-imports --recursive --ignore-init-module-imports --ignore-pass-after-docstring --in-place agbenchmark
+ language: python
+ types: [ python ]
diff --git a/agbenchmark/start_benchmark.py b/agbenchmark/start_benchmark.py
index 734dd93e02..046a18f8e4 100644
--- a/agbenchmark/start_benchmark.py
+++ b/agbenchmark/start_benchmark.py
@@ -1,3 +1,4 @@
+import glob
import json
import os
import sys
@@ -40,13 +41,47 @@ with open(
OPTIONAL_CATEGORIES = json.load(f)["optional_categories"]
+def get_unique_categories() -> set[str]:
+ """Find all data.json files in the directory relative to this file and its subdirectories,
+ read the "category" field from each file, and return a set of unique categories."""
+ categories = set()
+
+ # Get the directory of this file
+ this_dir = os.path.dirname(os.path.abspath(__file__))
+
+ glob_path = os.path.join(this_dir, "./challenges/**/data.json")
+ # Use it as the base for the glob pattern
+ for data_file in glob.glob(glob_path, recursive=True):
+ with open(data_file, "r") as f:
+ try:
+ data = json.load(f)
+ categories.update(data.get("category", []))
+ except json.JSONDecodeError:
+ print(f"Error: {data_file} is not a valid JSON file.")
+ continue
+ except IOError:
+ print(f"IOError: file could not be read: {data_file}")
+ continue
+
+ return categories
+
+
@click.group()
def cli() -> None:
pass
@cli.command()
[email protected]("--category", default=None, help="Specific category to run")
+ "-c", "--category", default=None, multiple=True, help="Specific category to run"
+)
+ "-s",
+ "--skip-category",
+ default=None,
+ multiple=True,
+ help="Skips preventing the tests from this category from running",
+)
@click.option("--test", default=None, help="Specific test to run")
@click.option("--maintain", is_flag=True, help="Runs only regression tests")
@click.option("--improve", is_flag=True, help="Run only non-regression tests")
@@ -61,6 +96,7 @@ def cli() -> None:
@click.option("--cutoff", default=None, help="Set or override tests cutoff (seconds)")
def start(
category: str,
+ skip_category: list[str],
test: str,
maintain: bool,
improve: bool,
@@ -79,7 +115,7 @@ def start(
)
return 1
- if test and (category or maintain or improve or suite):
+ if test and (category or skip_category or maintain or improve or suite):
print(
"Error: If you're running a specific test make sure no other options are selected. Please just pass the --test."
)
@@ -87,7 +123,7 @@ def start(
# TODO: test and ensure that this functionality works before removing
# change elif suite below if removing
- if suite and (category or maintain or improve):
+ if suite and (category or skip_category or maintain or improve):
print(
"Error: If you're running a specific suite make sure no other options are selected. Please just pass the --suite."
)
@@ -129,9 +165,25 @@ def start(
print("Running specific suite:", suite)
pytest_args.extend(["--suite"])
else:
+ # Categories that are used in the challenges
+ categories = get_unique_categories()
+ invalid_categories = set(category) - categories
+ assert (
+ not invalid_categories
+ ), f"Invalid categories: {invalid_categories}. Valid categories are: {categories}"
+
if category:
- pytest_args.extend(["-m", category, "--category"])
- print("Running tests of category:", category)
+ categories_to_run = set(category)
+ if skip_category:
+ categories_to_run = categories_to_run.difference(set(skip_category))
+ assert categories_to_run, "Error: You can't skip all categories"
+ pytest_args.extend(["-m", " or ".join(categories_to_run), "--category"])
+ print("Running tests of category:", categories_to_run)
+ elif skip_category:
+ categories_to_run = categories - set(skip_category)
+ assert categories_to_run, "Error: You can't skip all categories"
+ pytest_args.extend(["-m", " or ".join(categories_to_run), "--category"])
+ print("Running tests of category:", categories_to_run)
else:
print("Running all categories")
diff --git a/agbenchmark/utils/dependencies/__init__.py b/agbenchmark/utils/dependencies/__init__.py
index 63ebdb5cb0..bf2dba1869 100644
--- a/agbenchmark/utils/dependencies/__init__.py
+++ b/agbenchmark/utils/dependencies/__init__.py
@@ -8,7 +8,7 @@ import warnings
from typing import Any, Callable, Optional
import pytest
-from _pytest.config.argparsing import OptionGroup
+from _pytest.config.argparsing import OptionGroup, Parser
from _pytest.nodes import Item
from .main import DependencyManager
@@ -57,53 +57,68 @@ def _get_ini_or_option(
return config.getoption(name) or value
-def pytest_addoption(parser: Any) -> None:
+def pytest_addoption(parser: Parser) -> None:
+ # get all current option strings
+ current_options = []
+ for action in parser._anonymous.options:
+ current_options += action._short_opts + action._long_opts
+
+ for group in parser._groups:
+ for action in group.options:
+ current_options += action._short_opts + action._long_opts
+
+ print(current_options)
+
group = parser.getgroup("depends")
# Add a flag to list all names + the tests they resolve to
- group.addoption(
- "--list-dependency-names",
- action="store_true",
- default=False,
- help=(
- "List all non-nodeid dependency names + the tests they resolve to. "
- "Will also list all nodeid dependency names when verbosity is high enough."
- ),
- )
+ if "--list-dependency-names" not in current_options:
+ group.addoption(
+ "--list-dependency-names",
+ action="store_true",
+ default=False,
+ help=(
+ "List all non-nodeid dependency names + the tests they resolve to. "
+ "Will also list all nodeid dependency names when verbosity is high enough."
+ ),
+ )
# Add a flag to list all (resolved) dependencies for all tests + unresolvable names
- group.addoption(
- "--list-processed-dependencies",
- action="store_true",
- default=False,
- help="List all dependencies of all tests as a list of nodeids + the names that could not be resolved.",
- )
+ if "--list-processed-dependencies" not in current_options:
+ group.addoption(
+ "--list-processed-dependencies",
+ action="store_true",
+ default=False,
+ help="List all dependencies of all tests as a list of nodeids + the names that could not be resolved.",
+ )
# Add an ini option + flag to choose the action to take for failed dependencies
- _add_ini_and_option(
- parser,
- group,
- name="failed_dependency_action",
- help=(
- "The action to take when a test has dependencies that failed. "
- 'Use "run" to run the test anyway, "skip" to skip the test, and "fail" to fail the test.'
- ),
- default="skip",
- choices=DEPENDENCY_PROBLEM_ACTIONS.keys(),
- )
+ if "--failed-dependency-action" not in current_options:
+ _add_ini_and_option(
+ parser,
+ group,
+ name="failed_dependency_action",
+ help=(
+ "The action to take when a test has dependencies that failed. "
+ 'Use "run" to run the test anyway, "skip" to skip the test, and "fail" to fail the test.'
+ ),
+ default="skip",
+ choices=DEPENDENCY_PROBLEM_ACTIONS.keys(),
+ )
# Add an ini option + flag to choose the action to take for unresolved dependencies
- _add_ini_and_option(
- parser,
- group,
- name="missing_dependency_action",
- help=(
- "The action to take when a test has dependencies that cannot be found within the current scope. "
- 'Use "run" to run the test anyway, "skip" to skip the test, and "fail" to fail the test.'
- ),
- default="warning",
- choices=DEPENDENCY_PROBLEM_ACTIONS.keys(),
- )
+ if "--missing-dependency-action" not in current_options:
+ _add_ini_and_option(
+ parser,
+ group,
+ name="missing_dependency_action",
+ help=(
+ "The action to take when a test has dependencies that cannot be found within the current scope. "
+ 'Use "run" to run the test anyway, "skip" to skip the test, and "fail" to fail the test.'
+ ),
+ default="warning",
+ choices=DEPENDENCY_PROBLEM_ACTIONS.keys(),
+ )
def pytest_configure(config: Any) -> None:
diff --git a/poetry.lock b/poetry.lock
index 8130bc65d2..40d5a3d54d 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -1,9 +1,10 @@
-# This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand.
+# This file is automatically @generated by Poetry 1.4.2 and should not be changed by hand.
[[package]]
name = "agent-protocol"
version = "0.1.2"
description = "API for interacting with Agent"
+category = "main"
optional = false
python-versions = ">=3.7,<4.0.0"
files = [
@@ -23,6 +24,7 @@ requests = ">=2.31.0,<3.0.0"
name = "aiohttp"
version = "3.8.5"
description = "Async http client/server framework (asyncio)"
+category = "main"
optional = false
python-versions = ">=3.6"
files = [
@@ -131,6 +133,7 @@ speedups = ["Brotli", "aiodns", "cchardet"]
name = "aiosignal"
version = "1.3.1"
description = "aiosignal: a list of registered asynchronous callbacks"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -145,6 +148,7 @@ frozenlist = ">=1.1.0"
name = "anyio"
version = "3.7.1"
description = "High level compatibility layer for multiple asynchronous event loop implementations"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -166,6 +170,7 @@ trio = ["trio (<0.22)"]
name = "appnope"
version = "0.1.3"
description = "Disable App Nap on macOS >= 10.9"
+category = "main"
optional = false
python-versions = "*"
files = [
@@ -177,6 +182,7 @@ files = [
name = "asttokens"
version = "2.2.1"
description = "Annotate AST trees with source code positions"
+category = "main"
optional = false
python-versions = "*"
files = [
@@ -194,6 +200,7 @@ test = ["astroid", "pytest"]
name = "async-timeout"
version = "4.0.2"
description = "Timeout context manager for asyncio programs"
+category = "main"
optional = false
python-versions = ">=3.6"
files = [
@@ -205,6 +212,7 @@ files = [
name = "attrs"
version = "23.1.0"
description = "Classes Without Boilerplate"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -223,6 +231,7 @@ tests-no-zope = ["cloudpickle", "hypothesis", "mypy (>=1.1.1)", "pympler", "pyte
name = "autoflake"
version = "1.7.8"
description = "Removes unused imports and unused variables"
+category = "dev"
optional = false
python-versions = ">=3.7"
files = [
@@ -238,6 +247,7 @@ tomli = {version = ">=2.0.1", markers = "python_version < \"3.11\""}
name = "backcall"
version = "0.2.0"
description = "Specifications for callback functions passed in to an API"
+category = "main"
optional = false
python-versions = "*"
files = [
@@ -249,6 +259,7 @@ files = [
name = "black"
version = "22.3.0"
description = "The uncompromising code formatter."
+category = "dev"
optional = false
python-versions = ">=3.6.2"
files = [
@@ -294,6 +305,7 @@ uvloop = ["uvloop (>=0.15.2)"]
name = "cachetools"
version = "5.3.1"
description = "Extensible memoizing collections and decorators"
+category = "dev"
optional = false
python-versions = ">=3.7"
files = [
@@ -305,6 +317,7 @@ files = [
name = "certifi"
version = "2023.7.22"
description = "Python package for providing Mozilla's CA Bundle."
+category = "main"
optional = false
python-versions = ">=3.6"
files = [
@@ -312,10 +325,23 @@ files = [
{file = "certifi-2023.7.22.tar.gz", hash = "sha256:539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082"},
]
+[[package]]
+name = "cfgv"
+version = "3.3.1"
+description = "Validate configuration and produce human readable error messages."
+category = "dev"
+optional = false
+python-versions = ">=3.6.1"
+files = [
+ {file = "cfgv-3.3.1-py2.py3-none-any.whl", hash = "sha256:c6a0883f3917a037485059700b9e75da2464e6c27051014ad85ba6aaa5884426"},
+ {file = "cfgv-3.3.1.tar.gz", hash = "sha256:f5a830efb9ce7a445376bb66ec94c638a9787422f96264c98edc6bdeed8ab736"},
+]
+
[[package]]
name = "charset-normalizer"
version = "3.2.0"
description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet."
+category = "main"
optional = false
python-versions = ">=3.7.0"
files = [
@@ -400,6 +426,7 @@ files = [
name = "click"
version = "8.1.6"
description = "Composable command line interface toolkit"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -414,6 +441,7 @@ colorama = {version = "*", markers = "platform_system == \"Windows\""}
name = "colorama"
version = "0.4.6"
description = "Cross-platform colored terminal text."
+category = "main"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7"
files = [
@@ -425,6 +453,7 @@ files = [
name = "contourpy"
version = "1.1.0"
description = "Python library for calculating contours of 2D quadrilateral grids"
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -483,6 +512,7 @@ test-no-images = ["pytest", "pytest-cov", "wurlitzer"]
name = "cycler"
version = "0.11.0"
description = "Composable style cycles"
+category = "main"
optional = false
python-versions = ">=3.6"
files = [
@@ -494,6 +524,7 @@ files = [
name = "decorator"
version = "5.1.1"
description = "Decorators for Humans"
+category = "main"
optional = false
python-versions = ">=3.5"
files = [
@@ -501,10 +532,23 @@ files = [
{file = "decorator-5.1.1.tar.gz", hash = "sha256:637996211036b6385ef91435e4fae22989472f9d571faba8927ba8253acbc330"},
]
+[[package]]
+name = "distlib"
+version = "0.3.7"
+description = "Distribution utilities"
+category = "dev"
+optional = false
+python-versions = "*"
+files = [
+ {file = "distlib-0.3.7-py2.py3-none-any.whl", hash = "sha256:2e24928bc811348f0feb63014e97aaae3037f2cf48712d51ae61df7fd6075057"},
+ {file = "distlib-0.3.7.tar.gz", hash = "sha256:9dafe54b34a028eafd95039d5e5d4851a13734540f1331060d31c9916e7147a8"},
+]
+
[[package]]
name = "exceptiongroup"
version = "1.1.2"
description = "Backport of PEP 654 (exception groups)"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -519,6 +563,7 @@ test = ["pytest (>=6)"]
name = "executing"
version = "1.2.0"
description = "Get the currently executing AST node of a frame, and other information"
+category = "main"
optional = false
python-versions = "*"
files = [
@@ -533,6 +578,7 @@ tests = ["asttokens", "littleutils", "pytest", "rich"]
name = "fastapi"
version = "0.100.1"
description = "FastAPI framework, high performance, easy to learn, fast to code, ready for production"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -548,10 +594,27 @@ typing-extensions = ">=4.5.0"
[package.extras]
all = ["email-validator (>=2.0.0)", "httpx (>=0.23.0)", "itsdangerous (>=1.1.0)", "jinja2 (>=2.11.2)", "orjson (>=3.2.1)", "pydantic-extra-types (>=2.0.0)", "pydantic-settings (>=2.0.0)", "python-multipart (>=0.0.5)", "pyyaml (>=5.3.1)", "ujson (>=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0)", "uvicorn[standard] (>=0.12.0)"]
+[[package]]
+name = "filelock"
+version = "3.12.2"
+description = "A platform independent file lock."
+category = "dev"
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "filelock-3.12.2-py3-none-any.whl", hash = "sha256:cbb791cdea2a72f23da6ac5b5269ab0a0d161e9ef0100e653b69049a7706d1ec"},
+ {file = "filelock-3.12.2.tar.gz", hash = "sha256:002740518d8aa59a26b0c76e10fb8c6e15eae825d34b6fdf670333fd7b938d81"},
+]
+
+[package.extras]
+docs = ["furo (>=2023.5.20)", "sphinx (>=7.0.1)", "sphinx-autodoc-typehints (>=1.23,!=1.23.4)"]
+testing = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "diff-cover (>=7.5)", "pytest (>=7.3.1)", "pytest-cov (>=4.1)", "pytest-mock (>=3.10)", "pytest-timeout (>=2.1)"]
+
[[package]]
name = "flake8"
version = "3.9.2"
description = "the modular source code checker: pep8 pyflakes and co"
+category = "dev"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7"
files = [
@@ -568,6 +631,7 @@ pyflakes = ">=2.3.0,<2.4.0"
name = "fonttools"
version = "4.42.0"
description = "Tools to manipulate font files"
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -625,6 +689,7 @@ woff = ["brotli (>=1.0.1)", "brotlicffi (>=0.8.0)", "zopfli (>=0.1.4)"]
name = "frozenlist"
version = "1.4.0"
description = "A list-like structure which implements collections.abc.MutableSequence"
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -695,6 +760,7 @@ files = [
name = "gitdb"
version = "4.0.10"
description = "Git Object Database"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -709,6 +775,7 @@ smmap = ">=3.0.1,<6"
name = "gitpython"
version = "3.1.32"
description = "GitPython is a Python library used to interact with Git repositories"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -723,6 +790,7 @@ gitdb = ">=4.0.1,<5"
name = "google-auth"
version = "2.22.0"
description = "Google Authentication Library"
+category = "dev"
optional = false
python-versions = ">=3.6"
files = [
@@ -748,6 +816,7 @@ requests = ["requests (>=2.20.0,<3.0.0.dev0)"]
name = "google-auth-oauthlib"
version = "1.0.0"
description = "Google Authentication Library"
+category = "dev"
optional = false
python-versions = ">=3.6"
files = [
@@ -766,6 +835,7 @@ tool = ["click (>=6.0.0)"]
name = "gspread"
version = "5.10.0"
description = "Google Spreadsheets Python API"
+category = "dev"
optional = false
python-versions = ">=3.7"
files = [
@@ -781,6 +851,7 @@ google-auth-oauthlib = ">=0.4.1"
name = "h11"
version = "0.14.0"
description = "A pure-Python, bring-your-own-I/O implementation of HTTP/1.1"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -792,6 +863,7 @@ files = [
name = "h2"
version = "4.1.0"
description = "HTTP/2 State-Machine based protocol implementation"
+category = "main"
optional = false
python-versions = ">=3.6.1"
files = [
@@ -807,6 +879,7 @@ hyperframe = ">=6.0,<7"
name = "helicone"
version = "1.0.6"
description = "A Python wrapper for the OpenAI API that logs all requests to Helicone."
+category = "main"
optional = false
python-versions = ">=3.8.1"
files = [
@@ -822,6 +895,7 @@ openai = ">=0.27.0,<0.28.0"
name = "hpack"
version = "4.0.0"
description = "Pure-Python HPACK header compression"
+category = "main"
optional = false
python-versions = ">=3.6.1"
files = [
@@ -833,6 +907,7 @@ files = [
name = "httplib2"
version = "0.22.0"
description = "A comprehensive HTTP client library."
+category = "dev"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
files = [
@@ -847,6 +922,7 @@ pyparsing = {version = ">=2.4.2,<3.0.0 || >3.0.0,<3.0.1 || >3.0.1,<3.0.2 || >3.0
name = "hypercorn"
version = "0.14.4"
description = "A ASGI Server based on Hyper libraries and inspired by Gunicorn"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -871,6 +947,7 @@ uvloop = ["uvloop"]
name = "hyperframe"
version = "6.0.1"
description = "HTTP/2 framing layer for Python"
+category = "main"
optional = false
python-versions = ">=3.6.1"
files = [
@@ -878,10 +955,26 @@ files = [
{file = "hyperframe-6.0.1.tar.gz", hash = "sha256:ae510046231dc8e9ecb1a6586f63d2347bf4c8905914aa84ba585ae85f28a914"},
]
+[[package]]
+name = "identify"
+version = "2.5.26"
+description = "File identification library for Python"
+category = "dev"
+optional = false
+python-versions = ">=3.8"
+files = [
+ {file = "identify-2.5.26-py2.py3-none-any.whl", hash = "sha256:c22a8ead0d4ca11f1edd6c9418c3220669b3b7533ada0a0ffa6cc0ef85cf9b54"},
+ {file = "identify-2.5.26.tar.gz", hash = "sha256:7243800bce2f58404ed41b7c002e53d4d22bcf3ae1b7900c2d7aefd95394bf7f"},
+]
+
+[package.extras]
+license = ["ukkonen"]
+
[[package]]
name = "idna"
version = "3.4"
description = "Internationalized Domain Names in Applications (IDNA)"
+category = "main"
optional = false
python-versions = ">=3.5"
files = [
@@ -893,6 +986,7 @@ files = [
name = "iniconfig"
version = "2.0.0"
description = "brain-dead simple config-ini parsing"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -904,6 +998,7 @@ files = [
name = "ipython"
version = "8.14.0"
description = "IPython: Productive Interactive Computing"
+category = "main"
optional = false
python-versions = ">=3.9"
files = [
@@ -942,6 +1037,7 @@ test-extra = ["curio", "matplotlib (!=3.2.0)", "nbformat", "numpy (>=1.21)", "pa
name = "isort"
version = "5.12.0"
description = "A Python utility / library to sort Python imports."
+category = "dev"
optional = false
python-versions = ">=3.8.0"
files = [
@@ -959,6 +1055,7 @@ requirements-deprecated-finder = ["pip-api", "pipreqs"]
name = "jedi"
version = "0.19.0"
description = "An autocompletion tool for Python that can be used for text editors."
+category = "main"
optional = false
python-versions = ">=3.6"
files = [
@@ -978,6 +1075,7 @@ testing = ["Django (<3.1)", "attrs", "colorama", "docopt", "pytest (<7.0.0)"]
name = "jinja2"
version = "3.1.2"
description = "A very fast and expressive template engine."
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -995,6 +1093,7 @@ i18n = ["Babel (>=2.7)"]
name = "jsonpickle"
version = "3.0.1"
description = "Python library for serializing any arbitrary object graph into JSON"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -1011,6 +1110,7 @@ testing-libs = ["simplejson", "ujson"]
name = "kiwisolver"
version = "1.4.4"
description = "A fast implementation of the Cassowary constraint solver"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -1088,6 +1188,7 @@ files = [
name = "lockfile"
version = "0.12.2"
description = "Platform-independent file locking module"
+category = "main"
optional = false
python-versions = "*"
files = [
@@ -1099,6 +1200,7 @@ files = [
name = "markupsafe"
version = "2.1.3"
description = "Safely add untrusted strings to HTML/XML markup."
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -1158,6 +1260,7 @@ files = [
name = "matplotlib"
version = "3.7.2"
description = "Python plotting package"
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -1219,6 +1322,7 @@ python-dateutil = ">=2.7"
name = "matplotlib-inline"
version = "0.1.6"
description = "Inline Matplotlib backend for Jupyter"
+category = "main"
optional = false
python-versions = ">=3.5"
files = [
@@ -1233,6 +1337,7 @@ traitlets = "*"
name = "mccabe"
version = "0.6.1"
description = "McCabe checker, plugin for flake8"
+category = "dev"
optional = false
python-versions = "*"
files = [
@@ -1244,6 +1349,7 @@ files = [
name = "multidict"
version = "6.0.4"
description = "multidict implementation"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -1327,6 +1433,7 @@ files = [
name = "mypy"
version = "1.4.1"
description = "Optional static typing for Python"
+category = "dev"
optional = false
python-versions = ">=3.7"
files = [
@@ -1373,6 +1480,7 @@ reports = ["lxml"]
name = "mypy-extensions"
version = "1.0.0"
description = "Type system extensions for programs checked with the mypy type checker."
+category = "dev"
optional = false
python-versions = ">=3.5"
files = [
@@ -1384,6 +1492,7 @@ files = [
name = "networkx"
version = "3.1"
description = "Python package for creating and manipulating graphs and networks"
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -1398,10 +1507,26 @@ doc = ["nb2plots (>=0.6)", "numpydoc (>=1.5)", "pillow (>=9.4)", "pydata-sphinx-
extra = ["lxml (>=4.6)", "pydot (>=1.4.2)", "pygraphviz (>=1.10)", "sympy (>=1.10)"]
test = ["codecov (>=2.1)", "pytest (>=7.2)", "pytest-cov (>=4.0)"]
+[[package]]
+name = "nodeenv"
+version = "1.8.0"
+description = "Node.js virtual environment builder"
+category = "dev"
+optional = false
+python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*"
+files = [
+ {file = "nodeenv-1.8.0-py2.py3-none-any.whl", hash = "sha256:df865724bb3c3adc86b3876fa209771517b0cfe596beff01a92700e0e8be4cec"},
+ {file = "nodeenv-1.8.0.tar.gz", hash = "sha256:d51e0c37e64fbf47d017feac3145cdbb58836d7eee8c6f6d3b6880c5456227d2"},
+]
+
+[package.dependencies]
+setuptools = "*"
+
[[package]]
name = "numpy"
version = "1.25.2"
description = "Fundamental package for array computing in Python"
+category = "main"
optional = false
python-versions = ">=3.9"
files = [
@@ -1436,6 +1561,7 @@ files = [
name = "oauth2client"
version = "4.1.3"
description = "OAuth 2.0 client library"
+category = "dev"
optional = false
python-versions = "*"
files = [
@@ -1454,6 +1580,7 @@ six = ">=1.6.1"
name = "oauthlib"
version = "3.2.2"
description = "A generic, spec-compliant, thorough implementation of the OAuth request-signing logic"
+category = "dev"
optional = false
python-versions = ">=3.6"
files = [
@@ -1470,6 +1597,7 @@ signedtoken = ["cryptography (>=3.0.0)", "pyjwt (>=2.0.0,<3)"]
name = "openai"
version = "0.27.8"
description = "Python client library for the OpenAI API"
+category = "main"
optional = false
python-versions = ">=3.7.1"
files = [
@@ -1484,7 +1612,7 @@ tqdm = "*"
[package.extras]
datalib = ["numpy", "openpyxl (>=3.0.7)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)"]
-dev = ["black (>=21.6b0,<22.0)", "pytest (==6.*)", "pytest-asyncio", "pytest-mock"]
+dev = ["black (>=21.6b0,<22.0)", "pytest (>=6.0.0,<7.0.0)", "pytest-asyncio", "pytest-mock"]
embeddings = ["matplotlib", "numpy", "openpyxl (>=3.0.7)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)", "plotly", "scikit-learn (>=1.0.2)", "scipy", "tenacity (>=8.0.1)"]
wandb = ["numpy", "openpyxl (>=3.0.7)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)", "wandb"]
@@ -1492,6 +1620,7 @@ wandb = ["numpy", "openpyxl (>=3.0.7)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1
name = "packaging"
version = "23.1"
description = "Core utilities for Python packages"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -1503,6 +1632,7 @@ files = [
name = "pandas"
version = "2.0.3"
description = "Powerful data structures for data analysis, time series, and statistics"
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -1569,6 +1699,7 @@ xml = ["lxml (>=4.6.3)"]
name = "parso"
version = "0.8.3"
description = "A Python Parser"
+category = "main"
optional = false
python-versions = ">=3.6"
files = [
@@ -1584,6 +1715,7 @@ testing = ["docopt", "pytest (<6.0.0)"]
name = "pathspec"
version = "0.11.2"
description = "Utility library for gitignore style pattern matching of file paths."
+category = "dev"
optional = false
python-versions = ">=3.7"
files = [
@@ -1595,6 +1727,7 @@ files = [
name = "pexpect"
version = "4.8.0"
description = "Pexpect allows easy control of interactive console applications."
+category = "main"
optional = false
python-versions = "*"
files = [
@@ -1609,6 +1742,7 @@ ptyprocess = ">=0.5"
name = "pickleshare"
version = "0.7.5"
description = "Tiny 'shelve'-like database with concurrency support"
+category = "main"
optional = false
python-versions = "*"
files = [
@@ -1620,6 +1754,7 @@ files = [
name = "pillow"
version = "10.0.0"
description = "Python Imaging Library (Fork)"
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -1641,7 +1776,6 @@ files = [
{file = "Pillow-10.0.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:3b08d4cc24f471b2c8ca24ec060abf4bebc6b144cb89cba638c720546b1cf538"},
{file = "Pillow-10.0.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:d737a602fbd82afd892ca746392401b634e278cb65d55c4b7a8f48e9ef8d008d"},
{file = "Pillow-10.0.0-cp311-cp311-win_amd64.whl", hash = "sha256:3a82c40d706d9aa9734289740ce26460a11aeec2d9c79b7af87bb35f0073c12f"},
- {file = "Pillow-10.0.0-cp311-cp311-win_arm64.whl", hash = "sha256:bc2ec7c7b5d66b8ec9ce9f720dbb5fa4bace0f545acd34870eff4a369b44bf37"},
{file = "Pillow-10.0.0-cp312-cp312-macosx_10_10_x86_64.whl", hash = "sha256:d80cf684b541685fccdd84c485b31ce73fc5c9b5d7523bf1394ce134a60c6883"},
{file = "Pillow-10.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:76de421f9c326da8f43d690110f0e79fe3ad1e54be811545d7d91898b4c8493e"},
{file = "Pillow-10.0.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:81ff539a12457809666fef6624684c008e00ff6bf455b4b89fd00a140eecd640"},
@@ -1651,7 +1785,6 @@ files = [
{file = "Pillow-10.0.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:d50b6aec14bc737742ca96e85d6d0a5f9bfbded018264b3b70ff9d8c33485551"},
{file = "Pillow-10.0.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:00e65f5e822decd501e374b0650146063fbb30a7264b4d2744bdd7b913e0cab5"},
{file = "Pillow-10.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:f31f9fdbfecb042d046f9d91270a0ba28368a723302786c0009ee9b9f1f60199"},
- {file = "Pillow-10.0.0-cp312-cp312-win_arm64.whl", hash = "sha256:1ce91b6ec08d866b14413d3f0bbdea7e24dfdc8e59f562bb77bc3fe60b6144ca"},
{file = "Pillow-10.0.0-cp38-cp38-macosx_10_10_x86_64.whl", hash = "sha256:349930d6e9c685c089284b013478d6f76e3a534e36ddfa912cde493f235372f3"},
{file = "Pillow-10.0.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:3a684105f7c32488f7153905a4e3015a3b6c7182e106fe3c37fbb5ef3e6994c3"},
{file = "Pillow-10.0.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b4f69b3700201b80bb82c3a97d5e9254084f6dd5fb5b16fc1a7b974260f89f43"},
@@ -1689,6 +1822,7 @@ tests = ["check-manifest", "coverage", "defusedxml", "markdown2", "olefile", "pa
name = "platformdirs"
version = "3.10.0"
description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"."
+category = "dev"
optional = false
python-versions = ">=3.7"
files = [
@@ -1704,6 +1838,7 @@ test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.4)", "pytest-co
name = "pluggy"
version = "1.2.0"
description = "plugin and hook calling mechanisms for python"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -1715,10 +1850,30 @@ files = [
dev = ["pre-commit", "tox"]
testing = ["pytest", "pytest-benchmark"]
+[[package]]
+name = "pre-commit"
+version = "3.3.3"
+description = "A framework for managing and maintaining multi-language pre-commit hooks."
+category = "dev"
+optional = false
+python-versions = ">=3.8"
+files = [
+ {file = "pre_commit-3.3.3-py2.py3-none-any.whl", hash = "sha256:10badb65d6a38caff29703362271d7dca483d01da88f9d7e05d0b97171c136cb"},
+ {file = "pre_commit-3.3.3.tar.gz", hash = "sha256:a2256f489cd913d575c145132ae196fe335da32d91a8294b7afe6622335dd023"},
+]
+
+[package.dependencies]
+cfgv = ">=2.0.0"
+identify = ">=1.0.0"
+nodeenv = ">=0.11.1"
+pyyaml = ">=5.1"
+virtualenv = ">=20.10.0"
+
[[package]]
name = "priority"
version = "2.0.0"
description = "A pure-Python implementation of the HTTP/2 priority tree"
+category = "main"
optional = false
python-versions = ">=3.6.1"
files = [
@@ -1730,6 +1885,7 @@ files = [
name = "prompt-toolkit"
version = "3.0.39"
description = "Library for building powerful interactive command lines in Python"
+category = "main"
optional = false
python-versions = ">=3.7.0"
files = [
@@ -1744,6 +1900,7 @@ wcwidth = "*"
name = "psutil"
version = "5.9.5"
description = "Cross-platform lib for process and system monitoring in Python."
+category = "main"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
files = [
@@ -1770,6 +1927,7 @@ test = ["enum34", "ipaddress", "mock", "pywin32", "wmi"]
name = "ptyprocess"
version = "0.7.0"
description = "Run a subprocess in a pseudo terminal"
+category = "main"
optional = false
python-versions = "*"
files = [
@@ -1781,6 +1939,7 @@ files = [
name = "pure-eval"
version = "0.2.2"
description = "Safely evaluate AST nodes without side effects"
+category = "main"
optional = false
python-versions = "*"
files = [
@@ -1795,6 +1954,7 @@ tests = ["pytest"]
name = "pyasn1"
version = "0.5.0"
description = "Pure-Python implementation of ASN.1 types and DER/BER/CER codecs (X.208)"
+category = "dev"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7"
files = [
@@ -1806,6 +1966,7 @@ files = [
name = "pyasn1-modules"
version = "0.3.0"
description = "A collection of ASN.1-based protocols modules"
+category = "dev"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7"
files = [
@@ -1820,6 +1981,7 @@ pyasn1 = ">=0.4.6,<0.6.0"
name = "pycodestyle"
version = "2.7.0"
description = "Python style guide checker"
+category = "dev"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
files = [
@@ -1831,6 +1993,7 @@ files = [
name = "pydantic"
version = "1.10.12"
description = "Data validation and settings management using python type hints"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -1883,6 +2046,7 @@ email = ["email-validator (>=1.0.3)"]
name = "pyflakes"
version = "2.3.1"
description = "passive checker of Python programs"
+category = "dev"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
files = [
@@ -1894,6 +2058,7 @@ files = [
name = "pygments"
version = "2.16.1"
description = "Pygments is a syntax highlighting package written in Python."
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -1908,6 +2073,7 @@ plugins = ["importlib-metadata"]
name = "pyparsing"
version = "3.0.9"
description = "pyparsing module - Classes and methods to define and execute parsing grammars"
+category = "main"
optional = false
python-versions = ">=3.6.8"
files = [
@@ -1922,6 +2088,7 @@ diagrams = ["jinja2", "railroad-diagrams"]
name = "pytest"
version = "7.4.0"
description = "pytest: simple powerful testing with Python"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -1944,6 +2111,7 @@ testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "no
name = "python-dateutil"
version = "2.8.2"
description = "Extensions to the standard Python datetime module"
+category = "main"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7"
files = [
@@ -1958,6 +2126,7 @@ six = ">=1.5"
name = "python-dotenv"
version = "1.0.0"
description = "Read key-value pairs from a .env file and set them as environment variables"
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -1972,6 +2141,7 @@ cli = ["click (>=5.0)"]
name = "pytz"
version = "2023.3"
description = "World timezone definitions, modern and historical"
+category = "main"
optional = false
python-versions = "*"
files = [
@@ -1983,6 +2153,7 @@ files = [
name = "pyvis"
version = "0.3.2"
description = "A Python network graph visualization library"
+category = "main"
optional = false
python-versions = ">3.6"
files = [
@@ -1995,10 +2166,61 @@ jinja2 = ">=2.9.6"
jsonpickle = ">=1.4.1"
networkx = ">=1.11"
+[[package]]
+name = "pyyaml"
+version = "6.0.1"
+description = "YAML parser and emitter for Python"
+category = "dev"
+optional = false
+python-versions = ">=3.6"
+files = [
+ {file = "PyYAML-6.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d858aa552c999bc8a8d57426ed01e40bef403cd8ccdd0fc5f6f04a00414cac2a"},
+ {file = "PyYAML-6.0.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f"},
+ {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:69b023b2b4daa7548bcfbd4aa3da05b3a74b772db9e23b982788168117739938"},
+ {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:81e0b275a9ecc9c0c0c07b4b90ba548307583c125f54d5b6946cfee6360c733d"},
+ {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba336e390cd8e4d1739f42dfe9bb83a3cc2e80f567d8805e11b46f4a943f5515"},
+ {file = "PyYAML-6.0.1-cp310-cp310-win32.whl", hash = "sha256:bd4af7373a854424dabd882decdc5579653d7868b8fb26dc7d0e99f823aa5924"},
+ {file = "PyYAML-6.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d"},
+ {file = "PyYAML-6.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6965a7bc3cf88e5a1c3bd2e0b5c22f8d677dc88a455344035f03399034eb3007"},
+ {file = "PyYAML-6.0.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f003ed9ad21d6a4713f0a9b5a7a0a79e08dd0f221aff4525a2be4c346ee60aab"},
+ {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42f8152b8dbc4fe7d96729ec2b99c7097d656dc1213a3229ca5383f973a5ed6d"},
+ {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc"},
+ {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d2b04aac4d386b172d5b9692e2d2da8de7bfb6c387fa4f801fbf6fb2e6ba4673"},
+ {file = "PyYAML-6.0.1-cp311-cp311-win32.whl", hash = "sha256:1635fd110e8d85d55237ab316b5b011de701ea0f29d07611174a1b42f1444741"},
+ {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"},
+ {file = "PyYAML-6.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:50550eb667afee136e9a77d6dc71ae76a44df8b3e51e41b77f6de2932bfe0f47"},
+ {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1fe35611261b29bd1de0070f0b2f47cb6ff71fa6595c077e42bd0c419fa27b98"},
+ {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:704219a11b772aea0d8ecd7058d0082713c3562b4e271b849ad7dc4a5c90c13c"},
+ {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:afd7e57eddb1a54f0f1a974bc4391af8bcce0b444685d936840f125cf046d5bd"},
+ {file = "PyYAML-6.0.1-cp36-cp36m-win32.whl", hash = "sha256:fca0e3a251908a499833aa292323f32437106001d436eca0e6e7833256674585"},
+ {file = "PyYAML-6.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:f22ac1c3cac4dbc50079e965eba2c1058622631e526bd9afd45fedd49ba781fa"},
+ {file = "PyYAML-6.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b1275ad35a5d18c62a7220633c913e1b42d44b46ee12554e5fd39c70a243d6a3"},
+ {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:18aeb1bf9a78867dc38b259769503436b7c72f7a1f1f4c93ff9a17de54319b27"},
+ {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:596106435fa6ad000c2991a98fa58eeb8656ef2325d7e158344fb33864ed87e3"},
+ {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:baa90d3f661d43131ca170712d903e6295d1f7a0f595074f151c0aed377c9b9c"},
+ {file = "PyYAML-6.0.1-cp37-cp37m-win32.whl", hash = "sha256:9046c58c4395dff28dd494285c82ba00b546adfc7ef001486fbf0324bc174fba"},
+ {file = "PyYAML-6.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:4fb147e7a67ef577a588a0e2c17b6db51dda102c71de36f8549b6816a96e1867"},
+ {file = "PyYAML-6.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1d4c7e777c441b20e32f52bd377e0c409713e8bb1386e1099c2415f26e479595"},
+ {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a0cd17c15d3bb3fa06978b4e8958dcdc6e0174ccea823003a106c7d4d7899ac5"},
+ {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28c119d996beec18c05208a8bd78cbe4007878c6dd15091efb73a30e90539696"},
+ {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e07cbde391ba96ab58e532ff4803f79c4129397514e1413a7dc761ccd755735"},
+ {file = "PyYAML-6.0.1-cp38-cp38-win32.whl", hash = "sha256:184c5108a2aca3c5b3d3bf9395d50893a7ab82a38004c8f61c258d4428e80206"},
+ {file = "PyYAML-6.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:1e2722cc9fbb45d9b87631ac70924c11d3a401b2d7f410cc0e3bbf249f2dca62"},
+ {file = "PyYAML-6.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9eb6caa9a297fc2c2fb8862bc5370d0303ddba53ba97e71f08023b6cd73d16a8"},
+ {file = "PyYAML-6.0.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c8098ddcc2a85b61647b2590f825f3db38891662cfc2fc776415143f599bb859"},
+ {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5773183b6446b2c99bb77e77595dd486303b4faab2b086e7b17bc6bef28865f6"},
+ {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b786eecbdf8499b9ca1d697215862083bd6d2a99965554781d0d8d1ad31e13a0"},
+ {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc1bf2925a1ecd43da378f4db9e4f799775d6367bdb94671027b73b393a7c42c"},
+ {file = "PyYAML-6.0.1-cp39-cp39-win32.whl", hash = "sha256:faca3bdcf85b2fc05d06ff3fbc1f83e1391b3e724afa3feba7d13eeab355484c"},
+ {file = "PyYAML-6.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:510c9deebc5c0225e8c96813043e62b680ba2f9c50a08d3724c7f28a747d1486"},
+ {file = "PyYAML-6.0.1.tar.gz", hash = "sha256:bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"},
+]
+
[[package]]
name = "requests"
version = "2.31.0"
description = "Python HTTP for Humans."
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -2020,6 +2242,7 @@ use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"]
name = "requests-oauthlib"
version = "1.3.1"
description = "OAuthlib authentication support for Requests."
+category = "dev"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
files = [
@@ -2038,6 +2261,7 @@ rsa = ["oauthlib[signedtoken] (>=3.0.0)"]
name = "rsa"
version = "4.9"
description = "Pure-Python RSA implementation"
+category = "dev"
optional = false
python-versions = ">=3.6,<4"
files = [
@@ -2048,10 +2272,28 @@ files = [
[package.dependencies]
pyasn1 = ">=0.1.3"
+[[package]]
+name = "setuptools"
+version = "68.0.0"
+description = "Easily download, build, install, upgrade, and uninstall Python packages"
+category = "dev"
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "setuptools-68.0.0-py3-none-any.whl", hash = "sha256:11e52c67415a381d10d6b462ced9cfb97066179f0e871399e006c4ab101fc85f"},
+ {file = "setuptools-68.0.0.tar.gz", hash = "sha256:baf1fdb41c6da4cd2eae722e135500da913332ab3f2f5c7d33af9b492acb5235"},
+]
+
+[package.extras]
+docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-hoverxref (<2)", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (==0.8.3)", "sphinx-reredirects", "sphinxcontrib-towncrier"]
+testing = ["build[virtualenv]", "filelock (>=3.4.0)", "flake8-2020", "ini2toml[lite] (>=0.9)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pip (>=19.1)", "pip-run (>=8.8)", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-ruff", "pytest-timeout", "pytest-xdist", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"]
+testing-integration = ["build[virtualenv]", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"]
+
[[package]]
name = "six"
version = "1.16.0"
description = "Python 2 and 3 compatibility utilities"
+category = "main"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
files = [
@@ -2063,6 +2305,7 @@ files = [
name = "smmap"
version = "5.0.0"
description = "A pure Python implementation of a sliding window memory map manager"
+category = "main"
optional = false
python-versions = ">=3.6"
files = [
@@ -2074,6 +2317,7 @@ files = [
name = "sniffio"
version = "1.3.0"
description = "Sniff out which async library your code is running under"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -2085,6 +2329,7 @@ files = [
name = "stack-data"
version = "0.6.2"
description = "Extract data from python stack frames and tracebacks for informative displays"
+category = "main"
optional = false
python-versions = "*"
files = [
@@ -2104,6 +2349,7 @@ tests = ["cython", "littleutils", "pygments", "pytest", "typeguard"]
name = "starlette"
version = "0.27.0"
description = "The little ASGI library that shines."
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -2121,6 +2367,7 @@ full = ["httpx (>=0.22.0)", "itsdangerous", "jinja2", "python-multipart", "pyyam
name = "tomli"
version = "2.0.1"
description = "A lil' TOML parser"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -2132,6 +2379,7 @@ files = [
name = "tqdm"
version = "4.65.0"
description = "Fast, Extensible Progress Meter"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -2152,6 +2400,7 @@ telegram = ["requests"]
name = "traitlets"
version = "5.9.0"
description = "Traitlets Python configuration system"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -2167,6 +2416,7 @@ test = ["argcomplete (>=2.0)", "pre-commit", "pytest", "pytest-mock"]
name = "types-requests"
version = "2.31.0.2"
description = "Typing stubs for requests"
+category = "main"
optional = false
python-versions = "*"
files = [
@@ -2181,6 +2431,7 @@ types-urllib3 = "*"
name = "types-urllib3"
version = "1.26.25.14"
description = "Typing stubs for urllib3"
+category = "main"
optional = false
python-versions = "*"
files = [
@@ -2192,6 +2443,7 @@ files = [
name = "typing-extensions"
version = "4.7.1"
description = "Backported and Experimental Type Hints for Python 3.7+"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -2203,6 +2455,7 @@ files = [
name = "tzdata"
version = "2023.3"
description = "Provider of IANA time zone data"
+category = "main"
optional = false
python-versions = ">=2"
files = [
@@ -2214,6 +2467,7 @@ files = [
name = "urllib3"
version = "1.26.16"
description = "HTTP library with thread-safe connection pooling, file post, and more."
+category = "main"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*"
files = [
@@ -2226,10 +2480,32 @@ brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)", "brotlipy (>=0.6.0)"]
secure = ["certifi", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "ipaddress", "pyOpenSSL (>=0.14)", "urllib3-secure-extra"]
socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"]
+[[package]]
+name = "virtualenv"
+version = "20.24.2"
+description = "Virtual Python Environment builder"
+category = "dev"
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "virtualenv-20.24.2-py3-none-any.whl", hash = "sha256:43a3052be36080548bdee0b42919c88072037d50d56c28bd3f853cbe92b953ff"},
+ {file = "virtualenv-20.24.2.tar.gz", hash = "sha256:fd8a78f46f6b99a67b7ec5cf73f92357891a7b3a40fd97637c27f854aae3b9e0"},
+]
+
+[package.dependencies]
+distlib = ">=0.3.7,<1"
+filelock = ">=3.12.2,<4"
+platformdirs = ">=3.9.1,<4"
+
+[package.extras]
+docs = ["furo (>=2023.5.20)", "proselint (>=0.13)", "sphinx (>=7.0.1)", "sphinx-argparse (>=0.4)", "sphinxcontrib-towncrier (>=0.2.1a0)", "towncrier (>=23.6)"]
+test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess (>=1)", "flaky (>=3.7)", "packaging (>=23.1)", "pytest (>=7.4)", "pytest-env (>=0.8.2)", "pytest-freezer (>=0.4.8)", "pytest-mock (>=3.11.1)", "pytest-randomly (>=3.12)", "pytest-timeout (>=2.1)", "setuptools (>=68)", "time-machine (>=2.10)"]
+
[[package]]
name = "wcwidth"
version = "0.2.6"
description = "Measures the displayed width of unicode strings in a terminal"
+category = "main"
optional = false
python-versions = "*"
files = [
@@ -2241,6 +2517,7 @@ files = [
name = "wsproto"
version = "1.2.0"
description = "WebSockets state-machine based protocol implementation"
+category = "main"
optional = false
python-versions = ">=3.7.0"
files = [
@@ -2255,6 +2532,7 @@ h11 = ">=0.9.0,<1"
name = "yarl"
version = "1.9.2"
description = "Yet another URL library"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -2341,4 +2619,4 @@ multidict = ">=4.0"
[metadata]
lock-version = "2.0"
python-versions = "^3.10"
-content-hash = "793a224969f4cdc094de21061917863e1d0fb3a960d57bd2c3947c3d5d5040eb"
+content-hash = "ac6a6e35d635f40c3dfe1cd55278825de6b6e11203d6f4a0ff411cd975c3171d"
diff --git a/pyproject.toml b/pyproject.toml
index b8569a9b08..a6f84948ed 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -36,6 +36,7 @@ autoflake = "^1.4"
pandas = "^2.0.3"
gspread = "^5.10.0"
oauth2client = "^4.1.3"
+pre-commit = "^3.3.3"
[build-system]
requires = ["poetry-core"]