pixie-prompts 0.1.5__tar.gz → 0.1.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pixie_prompts-0.1.5 → pixie_prompts-0.1.7}/PKG-INFO +3 -1
- {pixie_prompts-0.1.5 → pixie_prompts-0.1.7}/pixie/prompts/server.py +4 -1
- {pixie_prompts-0.1.5 → pixie_prompts-0.1.7}/pyproject.toml +4 -2
- {pixie_prompts-0.1.5 → pixie_prompts-0.1.7}/LICENSE +0 -0
- {pixie_prompts-0.1.5 → pixie_prompts-0.1.7}/README.md +0 -0
- {pixie_prompts-0.1.5 → pixie_prompts-0.1.7}/pixie/prompts/__init__.py +0 -0
- {pixie_prompts-0.1.5 → pixie_prompts-0.1.7}/pixie/prompts/file_watcher.py +0 -0
- {pixie_prompts-0.1.5 → pixie_prompts-0.1.7}/pixie/prompts/graphql.py +0 -0
- {pixie_prompts-0.1.5 → pixie_prompts-0.1.7}/pixie/prompts/prompt.py +0 -0
- {pixie_prompts-0.1.5 → pixie_prompts-0.1.7}/pixie/prompts/prompt_management.py +0 -0
- {pixie_prompts-0.1.5 → pixie_prompts-0.1.7}/pixie/prompts/storage.py +0 -0
- {pixie_prompts-0.1.5 → pixie_prompts-0.1.7}/pixie/prompts/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pixie-prompts
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.7
|
|
4
4
|
Summary: Code-first, type-safe prompt management
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -21,11 +21,13 @@ Requires-Dist: dotenv (>=0.9.9) ; extra == "server"
|
|
|
21
21
|
Requires-Dist: fastapi (>=0.128.0) ; extra == "server"
|
|
22
22
|
Requires-Dist: jinja2 (>=3.1.6,<4.0.0)
|
|
23
23
|
Requires-Dist: jsonsubschema (>=0.0.7,<0.0.8)
|
|
24
|
+
Requires-Dist: openai[server] (>=2.15.0,<3.0.0) ; extra == "server"
|
|
24
25
|
Requires-Dist: pydantic (>=2.12.5,<3.0.0)
|
|
25
26
|
Requires-Dist: pydantic-ai-slim (>=1.39.0) ; extra == "server"
|
|
26
27
|
Requires-Dist: strawberry-graphql (>=0.288.1) ; extra == "server"
|
|
27
28
|
Requires-Dist: uvicorn (>=0.40.0) ; extra == "server"
|
|
28
29
|
Requires-Dist: watchdog (>=6.0.0) ; extra == "server"
|
|
30
|
+
Requires-Dist: watchfiles[server] (>=1.1.1,<2.0.0) ; extra == "server"
|
|
29
31
|
Project-URL: Changelog, https://github.com/yiouli/pixie-prompts/commits/main/
|
|
30
32
|
Project-URL: Documentation, https://yiouli.github.io/pixie-prompts/
|
|
31
33
|
Project-URL: Homepage, https://gopixie.ai
|
|
@@ -93,7 +93,9 @@ def create_app() -> FastAPI:
|
|
|
93
93
|
# Discover and load applications on every app creation (including reloads)
|
|
94
94
|
discover_and_load_modules()
|
|
95
95
|
|
|
96
|
-
|
|
96
|
+
env_path = os.getcwd() + "/.env"
|
|
97
|
+
|
|
98
|
+
dotenv.load_dotenv(env_path)
|
|
97
99
|
lifespan = init_prompt_storage()
|
|
98
100
|
|
|
99
101
|
app = FastAPI(
|
|
@@ -220,6 +222,7 @@ def start_server(
|
|
|
220
222
|
port=port,
|
|
221
223
|
loop="asyncio",
|
|
222
224
|
reload=reload,
|
|
225
|
+
reload_includes=[".env"],
|
|
223
226
|
factory=True,
|
|
224
227
|
log_config=None,
|
|
225
228
|
)
|
|
@@ -4,7 +4,7 @@ packages = [
|
|
|
4
4
|
{ include = "pixie" },
|
|
5
5
|
]
|
|
6
6
|
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.7"
|
|
8
8
|
description = "Code-first, type-safe prompt management"
|
|
9
9
|
authors = ["Yiou Li <yol@gopixie.ai>"]
|
|
10
10
|
license = "MIT"
|
|
@@ -30,9 +30,11 @@ dotenv = {version = ">=0.9.9", optional = true}
|
|
|
30
30
|
watchdog = {version = ">=6.0.0", optional = true}
|
|
31
31
|
pydantic-ai-slim = {version = ">=1.39.0", optional = true}
|
|
32
32
|
brotli = {version = "^1.2.0", optional = true}
|
|
33
|
+
openai = {version = "^2.15.0", extras = ["server"]}
|
|
34
|
+
watchfiles = {version = "^1.1.1", extras = ["server"]}
|
|
33
35
|
|
|
34
36
|
[tool.poetry.extras]
|
|
35
|
-
server = ["fastapi", "strawberry-graphql", "uvicorn", "colorlog", "dotenv", "watchdog", "pydantic-ai-slim", "brotli"]
|
|
37
|
+
server = ["fastapi", "strawberry-graphql", "uvicorn", "colorlog", "dotenv", "watchdog", "pydantic-ai-slim", "brotli", "openai", "watchfiles"]
|
|
36
38
|
|
|
37
39
|
[tool.poetry.group.dev.dependencies]
|
|
38
40
|
pytest = ">=7.4,<9.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|