Skip to content

Commit a29208c

Browse files
authored
Add new dependency group "standard." (#277)
Includes standard set of utilities, i.e. SQLAlchemy for database, Diskcache for a cache, loguru for logging, etc. Add pendulum to all dependency groups. Planning to replace Arrow functions with pendulum Remove SQLAlchemy from base dependency group
1 parent 170d2c2 commit a29208c

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

pdm.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ dependencies = [
1212
"msgpack>=1.0.5",
1313
"httpx>=0.24.1",
1414
"arrow>=1.2.3",
15-
"sqlalchemy>=2.0.20",
1615
"pendulum>=2.1.2",
1716
"rich>=13.5.3",
1817
]
@@ -26,6 +25,17 @@ text = "MIT"
2625
Repository = "https://github.com/redjax/red-utils"
2726

2827
[project.optional-dependencies]
28+
29+
standard = [
30+
"diskcache>=5.6.1",
31+
"loguru>=0.7.0",
32+
"httpx>=0.24.1",
33+
"pendulum>=2.1.2",
34+
"rich>=13.5.3",
35+
"msgpack>=1.0.5",
36+
"sqlalchemy>=2.0.21",
37+
]
38+
2939
all = [
3040
"diskcache>=5.6.1",
3141
"fastapi>=0.100.0",
@@ -34,7 +44,9 @@ all = [
3444
"httpx>=0.24.1",
3545
"msgpack>=1.0.5",
3646
"pendulum>=2.1.2",
47+
"sqlalchemy>=2.0.21",
3748
]
49+
3850
fastapi = [
3951
"fastapi>=0.103.1",
4052
"sqlalchemy>=2.0.21",
@@ -44,12 +56,14 @@ fastapi = [
4456
"uvicorn>=0.23.2",
4557
"pendulum>=2.1.2",
4658
]
59+
4760
http = [
4861
"httpx>=0.25.0",
4962
"diskcache>=5.6.3",
5063
"loguru>=0.7.2",
5164
"pendulum>=2.1.2",
5265
"msgpack>=1.0.5",
66+
"pendulum>=2.1.2",
5367
]
5468

5569
[tool.pdm.dev-dependencies]

0 commit comments

Comments
 (0)