euriai 0.2.0__py3-none-any.whl → 0.3.0__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.
euriai/__init__.py CHANGED
@@ -1 +1,4 @@
1
1
  from .client import EuriaiClient
2
+ from .langchain_llm import EuriaiLangChainLLM
3
+
4
+ __all__ = ["EuriaiClient", "EuriaiLangChainLLM"]
@@ -0,0 +1,76 @@
1
+ Metadata-Version: 2.1
2
+ Name: euriai
3
+ Version: 0.3.0
4
+ Summary: Python client for EURI LLM API (euron.one) with CLI and interactive wizard
5
+ Author: euron.one
6
+ Author-email: sudhanshu@euron.one
7
+ License: MIT
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Operating System :: OS Independent
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Intended Audience :: Developers
12
+ Requires-Python: >=3.6
13
+ Description-Content-Type: text/markdown
14
+ Requires-Dist: requests
15
+ Requires-Dist: langchain-core
16
+
17
+ # euriai 🧠
18
+
19
+ **EURI AI Python Client** – A simple wrapper and CLI tool for the [Euron LLM API](https://api.euron.one).
20
+ Supports completions, streaming responses, CLI interaction, and an interactive guided wizard!
21
+
22
+ ---
23
+
24
+ ## 🔧 Installation
25
+
26
+ ```bash
27
+ pip install euriai
28
+
29
+ ## python sample Usage
30
+
31
+ from euriai import EuriaiClient
32
+
33
+ client = EuriaiClient(
34
+ api_key="your_api_key_here",
35
+ model="gpt-4.1-nano" # You can also try: "gemini-2.0-flash-001", "llama-4-maverick", etc.
36
+ )
37
+
38
+ response = client.generate_completion(
39
+ prompt="Write a short poem about artificial intelligence.",
40
+ temperature=0.7,
41
+ max_tokens=300
42
+ )
43
+
44
+ print(response)
45
+
46
+
47
+ ## 💻 Command-Line Interface (CLI) Usage
48
+ Run prompts directly from the terminal:
49
+
50
+ euriai --api_key YOUR_API_KEY --prompt "Tell me a joke"
51
+
52
+
53
+ ## Enable streaming output (if supported by the model):
54
+
55
+ euriai --api_key YOUR_API_KEY --prompt "Stream a fun fact" --stream
56
+
57
+
58
+ ##List all supported model IDs with recommended use-cases and temperature/token advice:
59
+
60
+ euriai --models
61
+
62
+ ## 🤖 LangChain Integration
63
+
64
+ Use Euriai with LangChain directly:
65
+
66
+ ```python
67
+ from euriai import EuriaiLangChainLLM
68
+
69
+ llm = EuriaiLangChainLLM(
70
+ api_key="your_api_key",
71
+ model="gpt-4.1-nano",
72
+ temperature=0.7,
73
+ max_tokens=300
74
+ )
75
+
76
+ print(llm.invoke("Write a poem about time travel."))
@@ -0,0 +1,8 @@
1
+ euriai/__init__.py,sha256=MB58A0AUXMvhW9gJWK8NSpnvtGawlejvtKJ1DOhs1SM,133
2
+ euriai/cli.py,sha256=hF1wiiL2QQSfWf8WlLQyNVDBd4YkbiwmMSoPxVbyPTM,3290
3
+ euriai/client.py,sha256=USiqdMULgAiky7nkrJKF3FyKcOS2DtDmUdbeBSnyLYk,4076
4
+ euriai-0.3.0.dist-info/METADATA,sha256=TJKRW2ta3hmKF56m4nFL4qrecWBQFPwhIz1c1zwmN3k,1901
5
+ euriai-0.3.0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
6
+ euriai-0.3.0.dist-info/entry_points.txt,sha256=9OkET8KIGcsjQn8UlnpPKRT75s2KW34jq1__1SXtpMA,43
7
+ euriai-0.3.0.dist-info/top_level.txt,sha256=TG1htJ8cuD62MXn-NJ7DVF21QHY16w6M_QgfF_Er_EQ,7
8
+ euriai-0.3.0.dist-info/RECORD,,
@@ -1,24 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: euriai
3
- Version: 0.2.0
4
- Summary: Python client for EURI LLM API (euron.one) with CLI and interactive wizard
5
- Author: euron.one
6
- Author-email: sudhanshu@euron.one
7
- License: MIT
8
- Classifier: Programming Language :: Python :: 3
9
- Classifier: Operating System :: OS Independent
10
- Classifier: License :: OSI Approved :: MIT License
11
- Classifier: Development Status :: 4 - Beta
12
- Classifier: Intended Audience :: Developers
13
- Requires-Python: >=3.6
14
- Description-Content-Type: text/markdown
15
- Requires-Dist: requests
16
-
17
- # euriai 🧠
18
-
19
- EURI AI Python Client – Simple wrapper and CLI tool for the Euron LLM API.
20
-
21
- ## 🔧 Install
22
-
23
- ```bash
24
- pip install euriai
@@ -1,8 +0,0 @@
1
- euriai/__init__.py,sha256=jyfCq3Mc-PrsIK2SGU49o7ATy834G74oDfiKJsYa-A4,34
2
- euriai/cli.py,sha256=hF1wiiL2QQSfWf8WlLQyNVDBd4YkbiwmMSoPxVbyPTM,3290
3
- euriai/client.py,sha256=USiqdMULgAiky7nkrJKF3FyKcOS2DtDmUdbeBSnyLYk,4076
4
- euriai-0.2.0.dist-info/METADATA,sha256=FYbi-QQCfsjFujbtFdT1a_tKK2sroPAPBOJLQB0qGV4,681
5
- euriai-0.2.0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
6
- euriai-0.2.0.dist-info/entry_points.txt,sha256=9OkET8KIGcsjQn8UlnpPKRT75s2KW34jq1__1SXtpMA,43
7
- euriai-0.2.0.dist-info/top_level.txt,sha256=TG1htJ8cuD62MXn-NJ7DVF21QHY16w6M_QgfF_Er_EQ,7
8
- euriai-0.2.0.dist-info/RECORD,,
File without changes