rusticai-api 0.0.1__tar.gz → 0.0.2__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.
Files changed (21) hide show
  1. {rusticai_api-0.0.1 → rusticai_api-0.0.2}/PKG-INFO +5 -4
  2. {rusticai_api-0.0.1 → rusticai_api-0.0.2}/README.md +1 -1
  3. {rusticai_api-0.0.1 → rusticai_api-0.0.2}/pyproject.toml +13 -4
  4. {rusticai_api-0.0.1 → rusticai_api-0.0.2}/src/rustic_ai/api_server/__init__.py +0 -0
  5. {rusticai_api-0.0.1 → rusticai_api-0.0.2}/src/rustic_ai/api_server/api_dependency_manager.py +0 -0
  6. {rusticai_api-0.0.1 → rusticai_api-0.0.2}/src/rustic_ai/api_server/catalog/__init__.py +0 -0
  7. {rusticai_api-0.0.1 → rusticai_api-0.0.2}/src/rustic_ai/api_server/catalog/catalog_store.py +0 -0
  8. {rusticai_api-0.0.1 → rusticai_api-0.0.2}/src/rustic_ai/api_server/catalog/models.py +0 -0
  9. {rusticai_api-0.0.1 → rusticai_api-0.0.2}/src/rustic_ai/api_server/catalog/router.py +0 -0
  10. {rusticai_api-0.0.1 → rusticai_api-0.0.2}/src/rustic_ai/api_server/guilds/__init__.py +0 -0
  11. {rusticai_api-0.0.1 → rusticai_api-0.0.2}/src/rustic_ai/api_server/guilds/comms_manager.py +0 -0
  12. {rusticai_api-0.0.1 → rusticai_api-0.0.2}/src/rustic_ai/api_server/guilds/router.py +0 -0
  13. {rusticai_api-0.0.1 → rusticai_api-0.0.2}/src/rustic_ai/api_server/guilds/schema.py +0 -0
  14. {rusticai_api-0.0.1 → rusticai_api-0.0.2}/src/rustic_ai/api_server/guilds/service.py +0 -0
  15. {rusticai_api-0.0.1 → rusticai_api-0.0.2}/src/rustic_ai/api_server/guilds/socket.py +0 -0
  16. {rusticai_api-0.0.1 → rusticai_api-0.0.2}/src/rustic_ai/api_server/guilds/system_comms_manager.py +0 -0
  17. {rusticai_api-0.0.1 → rusticai_api-0.0.2}/src/rustic_ai/api_server/logging/__init__.py +0 -0
  18. {rusticai_api-0.0.1 → rusticai_api-0.0.2}/src/rustic_ai/api_server/logging/config.py +0 -0
  19. {rusticai_api-0.0.1 → rusticai_api-0.0.2}/src/rustic_ai/api_server/logging/format.py +0 -0
  20. {rusticai_api-0.0.1 → rusticai_api-0.0.2}/src/rustic_ai/api_server/main.py +0 -0
  21. {rusticai_api-0.0.1 → rusticai_api-0.0.2}/src/rustic_ai/api_server/main_debug.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rusticai-api
3
- Version: 0.0.1
3
+ Version: 0.0.2
4
4
  Summary: API Server for Rustic AI
5
5
  Home-page: https://www.rustic.ai/
6
6
  License: Apache-2.0
@@ -11,14 +11,15 @@ Classifier: License :: OSI Approved :: Apache Software License
11
11
  Classifier: Programming Language :: Python :: 3
12
12
  Classifier: Programming Language :: Python :: 3.12
13
13
  Classifier: Programming Language :: Python :: 3.13
14
+ Provides-Extra: test
14
15
  Requires-Dist: fastapi (>=0.115.8,<0.116.0)
15
16
  Requires-Dist: griffe (>=1.7.2,<2.0.0)
16
17
  Requires-Dist: opentelemetry-distro (>=0.52b1,<0.53)
17
18
  Requires-Dist: psycopg (>=3.2.6,<4.0.0)
18
19
  Requires-Dist: ptvsd (>=4.3.2,<5.0.0)
19
20
  Requires-Dist: python-multipart (>=0.0.20,<0.0.21)
20
- Requires-Dist: rusticai-core (>=0.0.3,<0.1.0)
21
- Requires-Dist: rusticai-ray (>=0.0.2,<0.1.0)
21
+ Requires-Dist: rusticai-core (>=0.0.4,<0.1.0)
22
+ Requires-Dist: rusticai-ray (>=0.0.3,<0.1.0)
22
23
  Requires-Dist: starlette (>=0.45.3,<0.46.0)
23
24
  Requires-Dist: uvicorn (>=0.34.0,<0.35.0)
24
25
  Requires-Dist: websockets (>=15.0.1,<16.0.0)
@@ -48,7 +49,7 @@ poetry shell
48
49
  2. Start the server:
49
50
  ```shell
50
51
  # If using an external SQL database, expose RUSTIC_METASTORE to the corresponding url
51
- # For example, if postgres is run using docker, export RUSTIC_METASTORE=postgresql+psycopg://user:pwd@localhost:5432
52
+ # For example, if using postgres, export RUSTIC_METASTORE=postgresql+psycopg://user:pwd@localhost:5432
52
53
  ./scripts/dev_server.sh
53
54
  ```
54
55
 
@@ -20,7 +20,7 @@ poetry shell
20
20
  2. Start the server:
21
21
  ```shell
22
22
  # If using an external SQL database, expose RUSTIC_METASTORE to the corresponding url
23
- # For example, if postgres is run using docker, export RUSTIC_METASTORE=postgresql+psycopg://user:pwd@localhost:5432
23
+ # For example, if using postgres, export RUSTIC_METASTORE=postgresql+psycopg://user:pwd@localhost:5432
24
24
  ./scripts/dev_server.sh
25
25
  ```
26
26
 
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "rusticai-api"
7
- version = "0.0.1"
7
+ version = "0.0.2"
8
8
  description = "API Server for Rustic AI"
9
9
  authors = ["Dragonscale Industries Inc. <dev@dragonscale.ai>"]
10
10
  license = "Apache-2.0"
@@ -18,8 +18,8 @@ packages = [{ include = "rustic_ai", from = "src" }]
18
18
 
19
19
  [tool.poetry.dependencies]
20
20
  python = "^3.12"
21
- rusticai-core = { version = "0.0.3"}
22
- rusticai-ray = { version = "0.0.2"}
21
+ rusticai-core = { version = "0.0.4"}
22
+ rusticai-ray = { version = "0.0.3"}
23
23
  fastapi = "^0.115.8"
24
24
  starlette = "^0.45.3"
25
25
  uvicorn = "^0.34.0"
@@ -32,6 +32,10 @@ psycopg = "^3.2.6"
32
32
 
33
33
  [tool.poetry-monorepo.deps]
34
34
 
35
+
36
+ [tool.poetry.group.dev]
37
+ optional = true
38
+
35
39
  [tool.poetry.group.dev.dependencies]
36
40
  pytest = "^8.3.4"
37
41
  black = { version = "^24.2.0", extras = ["jupyter"] }
@@ -41,6 +45,10 @@ isort = "^6.0.0"
41
45
  mypy = "^1.15.0"
42
46
  pytest-asyncio = "^0.25.3"
43
47
  httpx = "^0.28.1"
48
+ rusticai-testing = { version = "0.0.0"}
49
+
50
+ [tool.poetry.extras]
51
+ test = ["pytest", "pytest-asyncio", "httpx", "rusticai-testing"]
44
52
 
45
53
  [tool.black]
46
54
  line-length = 120
@@ -70,7 +78,8 @@ explicit_package_bases = true
70
78
  [tool.isort]
71
79
  profile = "black"
72
80
  known_third_party = ["pydantic"]
73
- known_first_party = ["rustic_ai.core", "rustic_ai.ray", "rustic_ai.api_server"]
81
+ known_first_party = ["rustic_ai.core", "rustic_ai.ray"]
82
+ known_local_folder = ["rustic_ai.testing"]
74
83
 
75
84
 
76
85
  [tool.pytest.ini_options]