olca 0.2.12__py3-none-any.whl → 0.2.14__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.
- olca/fusewill_cli.py +2 -1
- olca/fusewill_utils.py +8 -1
- {olca-0.2.12.dist-info → olca-0.2.14.dist-info}/METADATA +1 -1
- olca-0.2.14.dist-info/RECORD +10 -0
- olca-0.2.12.dist-info/RECORD +0 -10
- {olca-0.2.12.dist-info → olca-0.2.14.dist-info}/LICENSE +0 -0
- {olca-0.2.12.dist-info → olca-0.2.14.dist-info}/WHEEL +0 -0
- {olca-0.2.12.dist-info → olca-0.2.14.dist-info}/entry_points.txt +0 -0
- {olca-0.2.12.dist-info → olca-0.2.14.dist-info}/top_level.txt +0 -0
olca/fusewill_cli.py
CHANGED
@@ -2,6 +2,7 @@ import os
|
|
2
2
|
import sys
|
3
3
|
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
|
4
4
|
import argparse
|
5
|
+
import fusewill_utils as fu
|
5
6
|
from fusewill_utils import (
|
6
7
|
list_traces,
|
7
8
|
create_dataset,
|
@@ -12,7 +13,7 @@ from fusewill_utils import (
|
|
12
13
|
)
|
13
14
|
import dotenv
|
14
15
|
import json
|
15
|
-
dotenv.load_dotenv()
|
16
|
+
#dotenv.load_dotenv()
|
16
17
|
|
17
18
|
def main():
|
18
19
|
parser = argparse.ArgumentParser(description="Langfuse CLI Wrapper")
|
olca/fusewill_utils.py
CHANGED
@@ -6,7 +6,14 @@ sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
|
|
6
6
|
import json
|
7
7
|
|
8
8
|
import dotenv
|
9
|
-
dotenv.load_dotenv()
|
9
|
+
dotenv.load_dotenv(dotenv_path=".")
|
10
|
+
#if no LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY in .env, then it will try to read them from current directory
|
11
|
+
if not os.getenv("LANGFUSE_PUBLIC_KEY") or not os.getenv("LANGFUSE_SECRET_KEY"):
|
12
|
+
dotenv.load_dotenv()
|
13
|
+
#load home dotenv
|
14
|
+
|
15
|
+
if not os.getenv("LANGFUSE_PUBLIC_KEY") or not os.getenv("LANGFUSE_SECRET_KEY"):
|
16
|
+
dotenv.load_dotenv(dotenv_path=os.path.expanduser("~/.env"))
|
10
17
|
|
11
18
|
langfuse = Langfuse()
|
12
19
|
|
@@ -0,0 +1,10 @@
|
|
1
|
+
olca/__init__.py,sha256=3QyLLAys_KiiDIe-cfO_7QyY7di_qCaCS-sVziW2BOw,23
|
2
|
+
olca/fusewill_cli.py,sha256=TGItRWPGTzhzX587zuep-HKO-L3plifY4jYxHd5gvdo,3592
|
3
|
+
olca/fusewill_utils.py,sha256=dUhmPeRnFNlB_Xb-xxMhHg5JlInDmG3qpnH2KG5Rf_s,2305
|
4
|
+
olca/olcacli.py,sha256=B3uZcl_873zBy4vmXmcyN6Z8ofQA-anzX2aLuvUTSpk,12281
|
5
|
+
olca-0.2.14.dist-info/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
6
|
+
olca-0.2.14.dist-info/METADATA,sha256=40f6uNgKVr5eKHS2OllJbKZo9od3_nhbtlwadIg1V6s,25311
|
7
|
+
olca-0.2.14.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
8
|
+
olca-0.2.14.dist-info/entry_points.txt,sha256=njL8YpuSEjiYR2mXIholt03mVAfN8ai12UyH-_uUDho,78
|
9
|
+
olca-0.2.14.dist-info/top_level.txt,sha256=bGDtAReS-xlS0F6MM-DyD0IQUqjNdWmgemnM3vNtrpI,5
|
10
|
+
olca-0.2.14.dist-info/RECORD,,
|
olca-0.2.12.dist-info/RECORD
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
olca/__init__.py,sha256=3QyLLAys_KiiDIe-cfO_7QyY7di_qCaCS-sVziW2BOw,23
|
2
|
-
olca/fusewill_cli.py,sha256=Dwp_1GJ9_MNOCTqJ2UKiYuDt-BYQVIVhXVjrRi-VUV0,3563
|
3
|
-
olca/fusewill_utils.py,sha256=M83ENbc7lRNXXcCSRujB1gepVwMxEaPA7g4nNeHq-vU,1908
|
4
|
-
olca/olcacli.py,sha256=B3uZcl_873zBy4vmXmcyN6Z8ofQA-anzX2aLuvUTSpk,12281
|
5
|
-
olca-0.2.12.dist-info/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
6
|
-
olca-0.2.12.dist-info/METADATA,sha256=Mj5dx5a__KtZolUyDzJZdGcEYMS1kw4UDgfT0MVFYng,25311
|
7
|
-
olca-0.2.12.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
8
|
-
olca-0.2.12.dist-info/entry_points.txt,sha256=njL8YpuSEjiYR2mXIholt03mVAfN8ai12UyH-_uUDho,78
|
9
|
-
olca-0.2.12.dist-info/top_level.txt,sha256=bGDtAReS-xlS0F6MM-DyD0IQUqjNdWmgemnM3vNtrpI,5
|
10
|
-
olca-0.2.12.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|