-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a0b789e
commit 3204a17
Showing
11 changed files
with
317 additions
and
1,532 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,3 +40,6 @@ __pycache__/ | |
.pdm-python | ||
.pdm-build/ | ||
__pypackages__/ | ||
|
||
# rye | ||
.python-version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ allow-direct-references = true | |
name = 'src' | ||
description = 'FastUI demo project' | ||
authors = [{ name = 'Samuel Colvin', email = '[email protected]' }] | ||
license = 'MIT' | ||
classifiers = [ | ||
'Development Status :: 5 - Production/Stable', | ||
'Programming Language :: Python', | ||
|
@@ -22,7 +21,6 @@ classifiers = [ | |
'Intended Audience :: Developers', | ||
'Intended Audience :: Information Technology', | ||
'Intended Audience :: System Administrators', | ||
'License :: OSI Approved :: MIT License', | ||
'Operating System :: Unix', | ||
'Operating System :: POSIX :: Linux', | ||
'Environment :: Console', | ||
|
@@ -34,34 +32,18 @@ classifiers = [ | |
] | ||
requires-python = '>=3.8' | ||
dependencies = [ | ||
"fastui @ file:///${PROJECT_ROOT}/../src/python-fastui", | ||
"fastapi>=0.110.2", | ||
"httpx>=0.27.0", | ||
"openai==1.10.0", | ||
"PYjwt>=2.8.0", | ||
"pydantic[email]>=2.7.1", | ||
] | ||
dynamic = ['version', 'readme'] | ||
dynamic = ['version'] | ||
|
||
|
||
[tool.pdm] | ||
distribution = false | ||
|
||
[tool.pdm.dev-dependencies] | ||
dev = [ | ||
"pyright>=1.1.360", | ||
"dirty-equals>=0.7.1.post0", | ||
"coverage==7.4.1", | ||
"rich==13.7.0", | ||
"pytest-pretty==1.2.0", | ||
"pytest-asyncio==0.23.4", | ||
"dirty-equals==0.7.1.post0", | ||
"markdown-it-py==3.0.0", | ||
"pytest==7.4.4", | ||
"pyright==1.1.335", | ||
"ruff==0.2.1", | ||
"mypy~=1.1.1", | ||
] | ||
|
||
[tool.ruff] | ||
line-length = 120 | ||
|
@@ -105,3 +87,21 @@ quote-style = 'single' | |
source = ['pydantic'] | ||
branch = true | ||
context = '${CONTEXT}' | ||
|
||
|
||
[tool.rye] | ||
managed = true | ||
dev-dependencies = [ | ||
"fastui @ file:///${PROJECT_ROOT}/../src/python-fastui", | ||
"dirty-equals>=0.7.1.post0", | ||
"coverage==7.4.1", | ||
"rich==13.7.0", | ||
"pytest-pretty==1.2.0", | ||
"pytest-asyncio==0.23.4", | ||
"dirty-equals==0.7.1.post0", | ||
"markdown-it-py==3.0.0", | ||
"pytest==7.4.4", | ||
"pyright==1.1.335", | ||
"ruff==0.2.1", | ||
"mypy~=1.1.1", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
# generated by rye | ||
# use `rye lock` or `rye sync` to update this lockfile | ||
# | ||
# last locked with the following flags: | ||
# pre: false | ||
# features: [] | ||
# all-features: false | ||
# with-sources: false | ||
|
||
-e file:. | ||
annotated-types==0.6.0 | ||
# via pydantic | ||
anyio==4.3.0 | ||
# via httpx | ||
# via openai | ||
# via starlette | ||
certifi==2024.2.2 | ||
# via httpcore | ||
# via httpx | ||
coverage==7.4.1 | ||
dirty-equals==0.7.1.post0 | ||
distro==1.9.0 | ||
# via openai | ||
dnspython==2.6.1 | ||
# via email-validator | ||
email-validator==2.1.1 | ||
# via pydantic | ||
fastapi==0.110.2 | ||
# via src | ||
fastui @ file:///${PROJECT_ROOT}/../src/python-fastui | ||
h11==0.14.0 | ||
# via httpcore | ||
httpcore==1.0.5 | ||
# via httpx | ||
httpx==0.27.0 | ||
# via openai | ||
# via src | ||
idna==3.7 | ||
# via anyio | ||
# via email-validator | ||
# via httpx | ||
iniconfig==2.0.0 | ||
# via pytest | ||
markdown-it-py==3.0.0 | ||
# via rich | ||
mdurl==0.1.2 | ||
# via markdown-it-py | ||
mypy==1.1.1 | ||
mypy-extensions==1.0.0 | ||
# via mypy | ||
nodeenv==1.8.0 | ||
# via pyright | ||
openai==1.10.0 | ||
# via src | ||
packaging==24.0 | ||
# via pytest | ||
pluggy==1.5.0 | ||
# via pytest | ||
pydantic==2.7.1 | ||
# via fastapi | ||
# via fastui | ||
# via openai | ||
# via src | ||
pydantic-core==2.18.2 | ||
# via pydantic | ||
pygments==2.17.2 | ||
# via rich | ||
pyjwt==2.8.0 | ||
# via src | ||
pyright==1.1.335 | ||
pytest==7.4.4 | ||
# via pytest-asyncio | ||
# via pytest-pretty | ||
pytest-asyncio==0.23.4 | ||
pytest-pretty==1.2.0 | ||
pytz==2024.1 | ||
# via dirty-equals | ||
rich==13.7.0 | ||
# via pytest-pretty | ||
ruff==0.2.1 | ||
setuptools==69.5.1 | ||
# via nodeenv | ||
sniffio==1.3.1 | ||
# via anyio | ||
# via httpx | ||
# via openai | ||
starlette==0.37.2 | ||
# via fastapi | ||
tqdm==4.66.2 | ||
# via openai | ||
typing-extensions==4.11.0 | ||
# via fastapi | ||
# via mypy | ||
# via openai | ||
# via pydantic | ||
# via pydantic-core |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# generated by rye | ||
# use `rye lock` or `rye sync` to update this lockfile | ||
# | ||
# last locked with the following flags: | ||
# pre: false | ||
# features: [] | ||
# all-features: false | ||
# with-sources: false | ||
|
||
-e file:. | ||
annotated-types==0.6.0 | ||
# via pydantic | ||
anyio==4.3.0 | ||
# via httpx | ||
# via openai | ||
# via starlette | ||
certifi==2024.2.2 | ||
# via httpcore | ||
# via httpx | ||
distro==1.9.0 | ||
# via openai | ||
dnspython==2.6.1 | ||
# via email-validator | ||
email-validator==2.1.1 | ||
# via pydantic | ||
fastapi==0.110.2 | ||
# via src | ||
h11==0.14.0 | ||
# via httpcore | ||
httpcore==1.0.5 | ||
# via httpx | ||
httpx==0.27.0 | ||
# via openai | ||
# via src | ||
idna==3.7 | ||
# via anyio | ||
# via email-validator | ||
# via httpx | ||
openai==1.10.0 | ||
# via src | ||
pydantic==2.7.1 | ||
# via fastapi | ||
# via openai | ||
# via src | ||
pydantic-core==2.18.2 | ||
# via pydantic | ||
pyjwt==2.8.0 | ||
# via src | ||
sniffio==1.3.1 | ||
# via anyio | ||
# via httpx | ||
# via openai | ||
starlette==0.37.2 | ||
# via fastapi | ||
tqdm==4.66.2 | ||
# via openai | ||
typing-extensions==4.11.0 | ||
# via fastapi | ||
# via openai | ||
# via pydantic | ||
# via pydantic-core |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.