ziya 0.1.11__tar.gz → 0.1.12__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.
Potentially problematic release.
This version of ziya might be problematic. Click here for more details.
- {ziya-0.1.11 → ziya-0.1.12}/PKG-INFO +3 -4
- {ziya-0.1.11 → ziya-0.1.12}/README.md +2 -4
- {ziya-0.1.11 → ziya-0.1.12}/app/server.py +10 -0
- {ziya-0.1.11 → ziya-0.1.12}/pyproject.toml +1 -1
- {ziya-0.1.11 → ziya-0.1.12}/LICENSE +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/app/__init__.py +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/app/agents/__init__.py +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/app/agents/agent.py +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/app/agents/prompts.py +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/app/main.py +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/app/utils/__init__.py +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/app/utils/directory_util.py +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/app/utils/gitignore_parser.py +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/app/utils/langchain_validation_util.py +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/app/utils/logging_utils.py +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/app/utils/print_tree_util.py +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/app/utils/version_util.py +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/scripts.py +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/templates/.DS_Store +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/templates/asset-manifest.json +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/templates/favicon.ico +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/templates/index.html +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/templates/static/css/main.85c755f1.css +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/templates/static/css/main.85c755f1.css.map +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/templates/static/js/main.42a1bbde.js +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/templates/static/js/main.42a1bbde.js.LICENSE.txt +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/templates/static/js/main.42a1bbde.js.map +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/templates/static/media/fa-brands-400.455ea818179b4def0c43.woff2 +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/templates/static/media/fa-brands-400.60127e352b7a11f7f1bc.ttf +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/templates/static/media/fa-regular-400.21cb8f55d8e0c5b89751.woff2 +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/templates/static/media/fa-regular-400.eb91f7b948a42799f678.ttf +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/templates/static/media/fa-solid-900.4d986b00ff9ca3828fbd.woff2 +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/templates/static/media/fa-solid-900.bacd5de623fb563b961a.ttf +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/templates/static/media/fa-v4compatibility.c8e090db312b0bea2aa2.ttf +0 -0
- {ziya-0.1.11 → ziya-0.1.12}/templates/static/media/fa-v4compatibility.cf7f5903d06b79ad60f1.woff2 +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ziya
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.12
|
|
4
4
|
Summary:
|
|
5
5
|
Author: Vishnu Krishnaprasad
|
|
6
6
|
Author-email: vishnukool@gmail.com
|
|
@@ -78,9 +78,7 @@ ziya
|
|
|
78
78
|
|
|
79
79
|
### Options
|
|
80
80
|
|
|
81
|
-
`--exclude`: Comma-separated list of files or directories or file suffix patterns to exclude from the codebase. Eg:
|
|
82
|
-
|
|
83
|
-
`--include`: Comma-separated list of directories to include. By default, it only searches for current directory for code files, but you can specify a list of subset directories under current folder to search instead of the entire folder. Eg: `--include='app,src/mappers'`
|
|
81
|
+
`--exclude`: Comma-separated list of files or directories or file suffix patterns to exclude from the codebase. Eg: "--exclude 'tst,build,*.py'"
|
|
84
82
|
|
|
85
83
|
`--profile`: AWS profile to use for the Bedrock LLM.
|
|
86
84
|
|
|
@@ -91,3 +89,4 @@ ziya
|
|
|
91
89
|
```bash
|
|
92
90
|
ziya --include='app,src/mappers' --exclude='tst,build,*.py' --profile=ziya --model=sonnet --port=8080
|
|
93
91
|
```
|
|
92
|
+
|
|
@@ -53,9 +53,7 @@ ziya
|
|
|
53
53
|
|
|
54
54
|
### Options
|
|
55
55
|
|
|
56
|
-
`--exclude`: Comma-separated list of files or directories or file suffix patterns to exclude from the codebase. Eg:
|
|
57
|
-
|
|
58
|
-
`--include`: Comma-separated list of directories to include. By default, it only searches for current directory for code files, but you can specify a list of subset directories under current folder to search instead of the entire folder. Eg: `--include='app,src/mappers'`
|
|
56
|
+
`--exclude`: Comma-separated list of files or directories or file suffix patterns to exclude from the codebase. Eg: "--exclude 'tst,build,*.py'"
|
|
59
57
|
|
|
60
58
|
`--profile`: AWS profile to use for the Bedrock LLM.
|
|
61
59
|
|
|
@@ -65,4 +63,4 @@ ziya
|
|
|
65
63
|
|
|
66
64
|
```bash
|
|
67
65
|
ziya --include='app,src/mappers' --exclude='tst,build,*.py' --profile=ziya --model=sonnet --port=8080
|
|
68
|
-
```
|
|
66
|
+
```
|
|
@@ -3,6 +3,7 @@ from typing import Dict, Any, List, Tuple
|
|
|
3
3
|
|
|
4
4
|
import tiktoken
|
|
5
5
|
from fastapi import FastAPI, Request
|
|
6
|
+
from fastapi.middleware.cors import CORSMiddleware
|
|
6
7
|
from fastapi.staticfiles import StaticFiles
|
|
7
8
|
from fastapi.templating import Jinja2Templates
|
|
8
9
|
from langserve import add_routes
|
|
@@ -16,6 +17,15 @@ from app.utils.directory_util import get_ignored_patterns
|
|
|
16
17
|
from app.utils.gitignore_parser import parse_gitignore_patterns
|
|
17
18
|
|
|
18
19
|
app = FastAPI()
|
|
20
|
+
|
|
21
|
+
app.add_middleware(
|
|
22
|
+
CORSMiddleware,
|
|
23
|
+
allow_origins=["*"],
|
|
24
|
+
allow_credentials=True,
|
|
25
|
+
allow_methods=["*"],
|
|
26
|
+
allow_headers=["*"],
|
|
27
|
+
)
|
|
28
|
+
|
|
19
29
|
app.mount("/static", StaticFiles(directory="../templates/static"), name="static")
|
|
20
30
|
templates = Jinja2Templates(directory="../templates")
|
|
21
31
|
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ziya-0.1.11 → ziya-0.1.12}/templates/static/media/fa-regular-400.21cb8f55d8e0c5b89751.woff2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ziya-0.1.11 → ziya-0.1.12}/templates/static/media/fa-v4compatibility.c8e090db312b0bea2aa2.ttf
RENAMED
|
File without changes
|
{ziya-0.1.11 → ziya-0.1.12}/templates/static/media/fa-v4compatibility.cf7f5903d06b79ad60f1.woff2
RENAMED
|
File without changes
|