cycls 0.0.2.73__tar.gz → 0.0.2.74__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.
- {cycls-0.0.2.73 → cycls-0.0.2.74}/PKG-INFO +1 -3
- {cycls-0.0.2.73 → cycls-0.0.2.74}/README.md +0 -2
- cycls-0.0.2.74/cycls/__init__.py +20 -0
- {cycls-0.0.2.73 → cycls-0.0.2.74}/pyproject.toml +1 -1
- cycls-0.0.2.73/cycls/__init__.py +0 -15
- {cycls-0.0.2.73 → cycls-0.0.2.74}/cycls/auth.py +0 -0
- {cycls-0.0.2.73 → cycls-0.0.2.74}/cycls/cli.py +0 -0
- {cycls-0.0.2.73 → cycls-0.0.2.74}/cycls/default-theme/assets/index-B0ZKcm_V.css +0 -0
- {cycls-0.0.2.73 → cycls-0.0.2.74}/cycls/default-theme/assets/index-D5EDcI4J.js +0 -0
- {cycls-0.0.2.73 → cycls-0.0.2.74}/cycls/default-theme/index.html +0 -0
- {cycls-0.0.2.73 → cycls-0.0.2.74}/cycls/dev-theme/index.html +0 -0
- {cycls-0.0.2.73 → cycls-0.0.2.74}/cycls/runtime.py +0 -0
- {cycls-0.0.2.73 → cycls-0.0.2.74}/cycls/sdk.py +0 -0
- {cycls-0.0.2.73 → cycls-0.0.2.74}/cycls/web.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cycls
|
|
3
|
-
Version: 0.0.2.
|
|
3
|
+
Version: 0.0.2.74
|
|
4
4
|
Summary: Distribute Intelligence
|
|
5
5
|
Author: Mohammed J. AlRujayi
|
|
6
6
|
Author-email: mj@cycls.com
|
|
@@ -47,8 +47,6 @@ The open-source SDK for distributing AI agents.
|
|
|
47
47
|
|
|
48
48
|
## Distribute Intelligence
|
|
49
49
|
|
|
50
|
-
AI capabilities shouldn't be locked in notebooks or trapped behind months of infrastructure work. Cycls turns your Python functions into production services - complete with APIs, interfaces, auth, and analytics. You focus on the intelligence. Cycls handles the distribution.
|
|
51
|
-
|
|
52
50
|
Write a function. Deploy it as an API, a web interface, or both. Add authentication, analytics, and monetization with flags.
|
|
53
51
|
|
|
54
52
|
```python
|
|
@@ -24,8 +24,6 @@ The open-source SDK for distributing AI agents.
|
|
|
24
24
|
|
|
25
25
|
## Distribute Intelligence
|
|
26
26
|
|
|
27
|
-
AI capabilities shouldn't be locked in notebooks or trapped behind months of infrastructure work. Cycls turns your Python functions into production services - complete with APIs, interfaces, auth, and analytics. You focus on the intelligence. Cycls handles the distribution.
|
|
28
|
-
|
|
29
27
|
Write a function. Deploy it as an API, a web interface, or both. Add authentication, analytics, and monetization with flags.
|
|
30
28
|
|
|
31
29
|
```python
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
from types import ModuleType
|
|
3
|
+
from .sdk import function, agent
|
|
4
|
+
from .runtime import Runtime
|
|
5
|
+
|
|
6
|
+
class _Module(ModuleType):
|
|
7
|
+
def __getattr__(self, name):
|
|
8
|
+
from . import sdk
|
|
9
|
+
if name in ("api_key", "base_url"):
|
|
10
|
+
return getattr(sdk, name)
|
|
11
|
+
raise AttributeError(f"module 'cycls' has no attribute '{name}'")
|
|
12
|
+
|
|
13
|
+
def __setattr__(self, name, value):
|
|
14
|
+
from . import sdk
|
|
15
|
+
if name in ("api_key", "base_url"):
|
|
16
|
+
setattr(sdk, name, value)
|
|
17
|
+
return
|
|
18
|
+
super().__setattr__(name, value)
|
|
19
|
+
|
|
20
|
+
sys.modules[__name__].__class__ = _Module
|
cycls-0.0.2.73/cycls/__init__.py
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
from .sdk import function, agent
|
|
2
|
-
from .runtime import Runtime
|
|
3
|
-
|
|
4
|
-
def __getattr__(name):
|
|
5
|
-
from . import sdk
|
|
6
|
-
if name in ("api_key", "base_url"):
|
|
7
|
-
return getattr(sdk, name)
|
|
8
|
-
raise AttributeError(f"module 'cycls' has no attribute '{name}'")
|
|
9
|
-
|
|
10
|
-
def __setattr__(name, value):
|
|
11
|
-
from . import sdk
|
|
12
|
-
if name in ("api_key", "base_url"):
|
|
13
|
-
setattr(sdk, name, value)
|
|
14
|
-
return
|
|
15
|
-
raise AttributeError(f"module 'cycls' has no attribute '{name}'")
|
|
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
|