-
-
Notifications
You must be signed in to change notification settings - Fork 35
/
pyproject.toml
83 lines (77 loc) · 2.12 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[tool.poetry]
name = "bhagavad-gita-api"
version = "2.0.2"
description = "Bhagavad Gita API allows any developer to use content from Bhagavad Gita in their applications."
authors = ["The Gita Initiative <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://bhagavadgita.io/"
repository = "https://github.com/gita/bhagavad-gita-api"
keywords = ["python","fastapi","api","gita","bhagavad-gita"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Development Status :: 4 - Beta",
]
[tool.poetry.dependencies]
python = "^3.8"
fastapi = "^0.65.2"
graphene-elastic = "^0.7"
psycopg2-pgevents = "^0.2.2"
SQLAlchemy = "^1.4.19"
uvicorn = "^0.14.0"
graphene-sqlalchemy = "^2.3.0"
graphene-sqlalchemy-filter = "^1.12.2"
python-dotenv = "^0.18.0"
pytz = "^2021.1"
rich = "^10.4.0"
graphene = "^2.1.8"
typer = "^0.3.2"
gunicorn = "^20.1.0"
celery = "^5.1.2"
redis = "^3.5.3"
textwrap3 = "^0.9.2"
Pillow = "^9.0.0"
tweepy = "^4.4.0"
bs4 = "^0.0.1"
[tool.poetry.dev-dependencies]
pre-commit = "^2.13.0"
black = "^21.6b0"
isort = "^5.9.1"
flake8 = "^3.9.2"
autoflake = "^1.4"
ipykernel = "^5.5.5"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
bhagavad-gita-api = 'bhagavad_gita_api.main:cli'
gita-api = 'bhagavad_gita_api.main:cli'
[tool.isort]
profile = "black"
known_third_party = ["PIL", "bs4", "celery", "dotenv", "fastapi", "graphene", "graphene_sqlalchemy", "pydantic", "pytz", "requests", "rich", "sqlalchemy", "textwrap3", "tweepy", "typer", "uvicorn"]
[tool.black]
line-length = 88
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''