ivoryos 1.0.4__py3-none-any.whl → 1.0.5__py3-none-any.whl
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 ivoryos might be problematic. Click here for more details.
- ivoryos/__init__.py +1 -0
- ivoryos/config.py +7 -1
- ivoryos/version.py +1 -1
- {ivoryos-1.0.4.dist-info → ivoryos-1.0.5.dist-info}/METADATA +1 -1
- {ivoryos-1.0.4.dist-info → ivoryos-1.0.5.dist-info}/RECORD +8 -8
- {ivoryos-1.0.4.dist-info → ivoryos-1.0.5.dist-info}/LICENSE +0 -0
- {ivoryos-1.0.4.dist-info → ivoryos-1.0.5.dist-info}/WHEEL +0 -0
- {ivoryos-1.0.4.dist-info → ivoryos-1.0.5.dist-info}/top_level.txt +0 -0
ivoryos/__init__.py
CHANGED
|
@@ -114,6 +114,7 @@ def run(module=None, host="0.0.0.0", port=None, debug=None, llm_server=None, mod
|
|
|
114
114
|
:param exclude_names: list[str] module names to exclude from parsing
|
|
115
115
|
"""
|
|
116
116
|
app = create_app(config_class=config or get_config()) # Create app instance using factory function
|
|
117
|
+
os.makedirs(app.config["OUTPUT_FOLDER"], exist_ok=True)
|
|
117
118
|
|
|
118
119
|
# plugins = load_installed_plugins(app, socketio)
|
|
119
120
|
plugins = []
|
ivoryos/config.py
CHANGED
|
@@ -10,7 +10,6 @@ class Config:
|
|
|
10
10
|
OPENAI_API_KEY = os.getenv('OPENAI_API_KEY', None)
|
|
11
11
|
|
|
12
12
|
OUTPUT_FOLDER = os.path.join(os.path.abspath(os.curdir), 'ivoryos_data')
|
|
13
|
-
os.makedirs(OUTPUT_FOLDER, exist_ok=True)
|
|
14
13
|
CSV_FOLDER = os.path.join(OUTPUT_FOLDER, 'config_csv/')
|
|
15
14
|
SCRIPT_FOLDER = os.path.join(OUTPUT_FOLDER, 'scripts/')
|
|
16
15
|
DATA_FOLDER = os.path.join(OUTPUT_FOLDER, 'results/')
|
|
@@ -38,10 +37,17 @@ class TestingConfig(Config):
|
|
|
38
37
|
DEBUG = True
|
|
39
38
|
TESTING = True
|
|
40
39
|
|
|
40
|
+
class DemoConfig(Config):
|
|
41
|
+
DEBUG = False
|
|
42
|
+
SQLALCHEMY_DATABASE_URI = 'sqlite:///:memory:'
|
|
43
|
+
OUTPUT_FOLDER = "/tmp/ivoryos_data"
|
|
44
|
+
|
|
41
45
|
|
|
42
46
|
def get_config(env='dev'):
|
|
43
47
|
if env == 'production':
|
|
44
48
|
return ProductionConfig()
|
|
45
49
|
elif env == 'testing':
|
|
46
50
|
return TestingConfig()
|
|
51
|
+
elif env == 'demo':
|
|
52
|
+
return DemoConfig()
|
|
47
53
|
return DevelopmentConfig()
|
ivoryos/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.0.
|
|
1
|
+
__version__ = "1.0.5"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
ivoryos/__init__.py,sha256=
|
|
2
|
-
ivoryos/config.py,sha256=
|
|
3
|
-
ivoryos/version.py,sha256=
|
|
1
|
+
ivoryos/__init__.py,sha256=WKpJaYXm2s9HpSTgtWjRAxXkqfUa3cNoNnjg53eSaR4,8019
|
|
2
|
+
ivoryos/config.py,sha256=qvfB_0BItefW0-oxdbgo_nBlhJg1c2qP8JmJmr-zIPA,1453
|
|
3
|
+
ivoryos/version.py,sha256=B9kKWJLln1i8LjtkcYecvNWGLTrez4gCUOHtnPlInFo,22
|
|
4
4
|
ivoryos/routes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
ivoryos/routes/auth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
ivoryos/routes/auth/auth.py,sha256=pvrYQN2XqH2OpZMxirFQZr9-c8yO29CpvQg9VR6JFsE,3256
|
|
@@ -45,8 +45,8 @@ ivoryos/utils/llm_agent.py,sha256=-lVCkjPlpLues9sNTmaT7bT4sdhWvV2DiojNwzB2Lcw,64
|
|
|
45
45
|
ivoryos/utils/script_runner.py,sha256=0b5hLKAF2o0SQKiArhUsG8-4MA-eniAcjwi8gCNVwtY,14542
|
|
46
46
|
ivoryos/utils/task_runner.py,sha256=u4nF0wOADu_HVlGYVTOXnUm1woWGgYAccr-ZCzgtb6Q,2899
|
|
47
47
|
ivoryos/utils/utils.py,sha256=nGSw3vHkxXedX4T-AFEWGzDIU7h0NjrAf0wBt0Og9pk,13886
|
|
48
|
-
ivoryos-1.0.
|
|
49
|
-
ivoryos-1.0.
|
|
50
|
-
ivoryos-1.0.
|
|
51
|
-
ivoryos-1.0.
|
|
52
|
-
ivoryos-1.0.
|
|
48
|
+
ivoryos-1.0.5.dist-info/LICENSE,sha256=p2c8S8i-8YqMpZCJnadLz1-ofxnRMILzz6NCMIypRag,1084
|
|
49
|
+
ivoryos-1.0.5.dist-info/METADATA,sha256=t53sNOeVa8nNBx1H0zLFx9HukrwLRoAqf9xyOc8Mej8,8906
|
|
50
|
+
ivoryos-1.0.5.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
51
|
+
ivoryos-1.0.5.dist-info/top_level.txt,sha256=FRIWWdiEvRKqw-XfF_UK3XV0CrnNb6EmVbEgjaVazRM,8
|
|
52
|
+
ivoryos-1.0.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|