[[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages] falcon = "~= 2.0.0" gunicorn = "~= 19.9" jsonschema = "~= 3.0" numpy = "~= 1.17" scipy = "~= 1.3" pandas = "~= 0.25" sympy = "~= 1.5" fuzzywuzzy = "~= 0.17" python-dateutil = "~= 2.8" pendulum = "~= 2.0" arrow = "~= 0.15" yarl = "~= 1.4" attrs = "~= 19.3" forbiddenfruit = "~= 0.1" more-itertools = "~= 8.0" networkx = "~= 2.4" beautifulsoup4 = "~= 4.8" pyyaml = "~= 5.2" toml = "~= 0.10" sentry-sdk = {extras = ["falcon"], version = "~= 0.14.2"} [dev-packages] coverage = ">= 4.4.2, == 4.*" pre-commit = "~= 1.18" pydocstyle = "~= 4.0" flake8 = "~= 3.7.8" flake8-annotations = ">= 1.1.1, == 1.*" flake8-docstrings = "~=1.4" flake8-bugbear = "~= 19.3" flake8-import-order = "~= 0.18.1" flake8-tidy-imports = "~= 2.0" flake8-todo = "~= 0.7" flake8-string-format = "~= 0.2.3" flake8-formatter-junit-xml = "~= 0.0.6" flake8-quotes = "~= 2.1" unittest-xml-reporting = ">= 2.5.1, == 2.*" [requires] python_version = "3.8" [scripts] lint = "flake8" precommit = "pre-commit install" test = "sh scripts/dev.sh -c 'pipenv run coverage run -m unittest'" testb = """ sh scripts/dev.sh \ --build \ --clean \ -c 'pipenv run coverage run -m unittest' """ report = "coverage report" snekbox = """ gunicorn \ -w 2 \ -b 0.0.0.0:8060 \ --logger-class snekbox.GunicornLogger \ --access-logformat '%(m)s %(U)s%(q)s %(s)s %(b)s %(L)ss' \ --access-logfile - \ snekbox.api.app """ devsh = "sh scripts/dev.sh" build = """ docker build \ -t pythondiscord/snekbox:latest \ -f docker/Dockerfile \ . """ buildbase = """ docker build \ -t pythondiscord/snekbox-base:latest \ -f docker/base.Dockerfile \ . """ buildvenv = """ docker build \ -t pythondiscord/snekbox-venv:latest \ -f docker/venv.Dockerfile \ . """ builddev = """ docker build \ -t pythondiscord/snekbox-venv:dev \ -f docker/venv.Dockerfile \ --build-arg DEV=1 \ . """