forked from writer/writer-framework
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
105 lines (90 loc) · 2.39 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "writer"
version = "0.7.4"
description = "An open-source, Python framework for building feature-rich apps that are fully integrated with the Writer platform."
authors = ["Writer, Inc."]
readme = "README.md"
homepage = "https://www.writer.com"
repository = "https://www.github.com/streamsync-cloud/streamsync"
documentation = "https://dev.writer.com/framework"
keywords = ["data apps", "gui", "ui", "framework", "writer framework"]
classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Development Status :: 4 - Beta"
]
packages = [
{ include = "writer", from = "src" }
]
include = [
"src/writer/*.py",
"src/writer/static/**/*",
"src/writer/templates/**/*",
"src/writer/app_templates/**/*"
]
[tool.poetry.dependencies]
authlib = "^1.3.0"
click = "^8.1.7"
fastapi = ">= 0.89.1, < 1"
gitignore-parser = "^0.1.11"
jinja2 = "^3.1.4"
pandas = ">= 2.2.0, < 3"
plotly = ">= 5.18.0, < 6"
pyarrow = ">= 15.0.0, < 16.0.0"
pydantic = ">= 2.6.0, < 3"
python = ">=3.9.2, <4.0"
python-dateutil = "^2.9.0.post0"
pytz = "^2024.1"
requests = "^2.31.0"
uvicorn = ">= 0.20.0, < 1"
watchdog = ">= 3.0.0, < 4"
websockets = ">= 12, < 13"
writer-sdk = ">= 0.6.0, < 1"
yfinance = "^0.2.40"
python-multipart = ">=0.0.7, < 1"
[tool.poetry.group.build]
optional = true
[tool.poetry.group.build.dependencies]
alfred-cli = "^2.2.7"
altair = ">= 5.2.0, < 6"
httpx = ">=0.26.0, < 1"
mypy = ">= 1.8.0, < 2"
pandas = ">= 2.2.0, < 3"
pandas-stubs = ">= 2.0.0, <3"
plotly = ">= 5.18.0, < 6"
polars = "^0.20.15"
pyarrow = ">= 15.0.0, < 16.0.0"
pytest = ">= 7.0.0, < 8"
pytest-asyncio = ">= 0.23.4, < 1"
ruff = "^0.3.4"
types-requests = "^2.31.0.20240406"
[tool.poetry.group.dev.dependencies]
types-python-dateutil = "^2.9.0.20240316"
[tool.poetry.scripts]
writer = 'writer.command_line:main'
[tool.ruff]
exclude = [
"src/ui",
"src/writer/ui.py",
"docs",
"tests/e2e",
".git",
]
line-length = 100
indent-width = 4
target-version = "py39"
[tool.ruff.lint]
select = ["I","E", "F", "C"]
ignore = ["E501", "C901", "E712", "F401"]
fixable = ["ALL"]
unfixable = []
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"