a-new-dawn 0.1.0__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.
@@ -0,0 +1,30 @@
1
+ SUPABASE_URL=https://your-project.supabase.co
2
+ SUPABASE_PUBLISHABLE_KEY=sb_publishable_xxx
3
+ SUPABASE_ANON_KEY=sb_publishable_xxx
4
+ SUPABASE_SECRET_KEY=sb_secret_xxx
5
+ SUPABASE_SERVICE_ROLE_KEY=
6
+ SUPABASE_JWT_AUDIENCE=authenticated
7
+ SUPABASE_JWT_ISSUER=https://your-project.supabase.co/auth/v1
8
+ SUPABASE_JWKS_URL=https://your-project.supabase.co/auth/v1/.well-known/jwks.json
9
+
10
+ # Optional: only needed if you want a separate SQL migration toolchain
11
+ SUPABASE_DB_URL=
12
+ SUPABASE_DIRECT_URL=
13
+
14
+ LLM_PROVIDER=gemini
15
+ OPENAI_API_KEY=
16
+ OPENAI_MODEL=auto-fastest
17
+ OPENAI_BASE_URL=http://127.0.0.1:7352/v1
18
+ GEMINI_API_KEY=
19
+ GEMINI_MODEL=gemini-flash-latest
20
+ GEMINI_BASE_URL=https://generativelanguage.googleapis.com/v1beta
21
+ MODELRELAY_BASE_URL=http://127.0.0.1:7352/v1
22
+ MODELRELAY_API_KEY=dummy-key
23
+ MODELRELAY_MODEL=auto-fastest
24
+ OLLAMA_BASE_URL=http://localhost:11434/api
25
+ OLLAMA_MODEL=gemma3:latest
26
+
27
+ API_HOST=127.0.0.1
28
+ API_PORT=8000
29
+ CLI_API_BASE_URL=http://127.0.0.1:8000
30
+ CLI_STATE_PATH=.local/a-new-dawn-session.json
@@ -0,0 +1,20 @@
1
+ .env
2
+ .venv/
3
+ venv/
4
+ __pycache__/
5
+ *.py[cod]
6
+ *.pyo
7
+ *.pyd
8
+ *.egg-info/
9
+ .pytest_cache/
10
+ .mypy_cache/
11
+ .ruff_cache/
12
+ .coverage
13
+ htmlcov/
14
+ build/
15
+ dist/
16
+ .local/
17
+ .private-docs/
18
+ .claude/
19
+ *.md
20
+ *.pem
@@ -0,0 +1,6 @@
1
+ FROM python:3.11-slim
2
+ WORKDIR /app
3
+ COPY . .
4
+ RUN pip install --no-cache-dir .
5
+ EXPOSE 8080
6
+ CMD ["uvicorn", "a_new_dawn.api:app", "--host", "0.0.0.0", "--port", "8080"]
@@ -0,0 +1,26 @@
1
+ Metadata-Version: 2.4
2
+ Name: a-new-dawn
3
+ Version: 0.1.0
4
+ Summary: STAR WARS: A NEW DAWN - a choice-driven CLI RPG
5
+ Project-URL: Homepage, https://github.com/yourname/a-new-dawn
6
+ Project-URL: Repository, https://github.com/yourname/a-new-dawn
7
+ Author: Aarav Modi
8
+ License: Proprietary
9
+ Keywords: cli,game,rpg,star-wars
10
+ Classifier: Environment :: Console
11
+ Classifier: Operating System :: OS Independent
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Requires-Python: >=3.11
15
+ Requires-Dist: httpx>=0.28.0
16
+ Requires-Dist: pydantic-settings>=2.6.0
17
+ Requires-Dist: pydantic>=2.9.0
18
+ Requires-Dist: pyjwt[crypto]>=2.10.0
19
+ Requires-Dist: rich>=13.9.0
20
+ Requires-Dist: typer>=0.15.0
21
+ Provides-Extra: server
22
+ Requires-Dist: fastapi>=0.116.0; extra == 'server'
23
+ Requires-Dist: openai>=1.54.0; extra == 'server'
24
+ Requires-Dist: psycopg[binary]>=3.2.0; extra == 'server'
25
+ Requires-Dist: sqlalchemy>=2.0.36; extra == 'server'
26
+ Requires-Dist: uvicorn>=0.32.0; extra == 'server'
@@ -0,0 +1,47 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "a-new-dawn"
7
+ version = "0.1.0"
8
+ description = "STAR WARS: A NEW DAWN - a choice-driven CLI RPG"
9
+ requires-python = ">=3.11"
10
+ authors = [
11
+ { name = "Aarav Modi" }
12
+ ]
13
+ license = { text = "Proprietary" }
14
+ keywords = ["star-wars", "cli", "rpg", "game"]
15
+ classifiers = [
16
+ "Programming Language :: Python :: 3",
17
+ "Programming Language :: Python :: 3.11",
18
+ "Operating System :: OS Independent",
19
+ "Environment :: Console",
20
+ ]
21
+ dependencies = [
22
+ "httpx>=0.28.0",
23
+ "pydantic>=2.9.0",
24
+ "pydantic-settings>=2.6.0",
25
+ "PyJWT[crypto]>=2.10.0",
26
+ "rich>=13.9.0",
27
+ "typer>=0.15.0",
28
+ ]
29
+
30
+ [project.optional-dependencies]
31
+ server = [
32
+ "fastapi>=0.116.0",
33
+ "uvicorn>=0.32.0",
34
+ "openai>=1.54.0",
35
+ "psycopg[binary]>=3.2.0",
36
+ "sqlalchemy>=2.0.36",
37
+ ]
38
+
39
+ [project.scripts]
40
+ a-new-dawn = "a_new_dawn.cli:app"
41
+
42
+ [project.urls]
43
+ Homepage = "https://github.com/yourname/a-new-dawn"
44
+ Repository = "https://github.com/yourname/a-new-dawn"
45
+
46
+ [tool.hatch.build.targets.wheel]
47
+ packages = ["src/a_new_dawn"]
@@ -0,0 +1,2 @@
1
+ """STAR WARS: A NEW DAWN."""
2
+