langchain-trigger-server 0.1.0__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 langchain-trigger-server might be problematic. Click here for more details.
- langchain_trigger_server-0.1.0/.github/workflows/release.yml +38 -0
- langchain_trigger_server-0.1.0/PKG-INFO +35 -0
- langchain_trigger_server-0.1.0/README.md +3 -0
- langchain_trigger_server-0.1.0/langchain_triggers/__init__.py +17 -0
- langchain_trigger_server-0.1.0/langchain_triggers/app.py +657 -0
- langchain_trigger_server-0.1.0/langchain_triggers/core.py +83 -0
- langchain_trigger_server-0.1.0/langchain_triggers/database/__init__.py +16 -0
- langchain_trigger_server-0.1.0/langchain_triggers/database/interface.py +150 -0
- langchain_trigger_server-0.1.0/langchain_triggers/database/supabase.py +365 -0
- langchain_trigger_server-0.1.0/langchain_triggers/decorators.py +75 -0
- langchain_trigger_server-0.1.0/pyproject.toml +76 -0
- langchain_trigger_server-0.1.0/test_framework.py +155 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
name: Build and publish to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build-and-publish:
|
|
10
|
+
name: Build and publish Python distribution to PyPI
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
environment:
|
|
13
|
+
name: pypi
|
|
14
|
+
url: https://pypi.org/p/langchain-trigger-server
|
|
15
|
+
permissions:
|
|
16
|
+
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
|
|
17
|
+
contents: read # Required for private repository access
|
|
18
|
+
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v4
|
|
21
|
+
with:
|
|
22
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
23
|
+
|
|
24
|
+
- name: Set up Python
|
|
25
|
+
uses: actions/setup-python@v4
|
|
26
|
+
with:
|
|
27
|
+
python-version: "3.11"
|
|
28
|
+
|
|
29
|
+
- name: Install build dependencies
|
|
30
|
+
run: |
|
|
31
|
+
python -m pip install --upgrade pip
|
|
32
|
+
python -m pip install build
|
|
33
|
+
|
|
34
|
+
- name: Build package
|
|
35
|
+
run: python -m build
|
|
36
|
+
|
|
37
|
+
- name: Publish package distributions to PyPI
|
|
38
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: langchain-trigger-server
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Generic event-driven triggers framework
|
|
5
|
+
Project-URL: Homepage, https://github.com/langchain-ai/open-agent-platform
|
|
6
|
+
Project-URL: Repository, https://github.com/langchain-ai/open-agent-platform
|
|
7
|
+
Author: Open Agent Platform Team
|
|
8
|
+
License: MIT
|
|
9
|
+
Keywords: agents,events,triggers,webhooks
|
|
10
|
+
Classifier: Development Status :: 3 - Alpha
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Requires-Python: >=3.9
|
|
19
|
+
Requires-Dist: fastapi>=0.100.0
|
|
20
|
+
Requires-Dist: httpx>=0.24.0
|
|
21
|
+
Requires-Dist: pydantic>=2.0.0
|
|
22
|
+
Requires-Dist: python-jose[cryptography]>=3.3.0
|
|
23
|
+
Requires-Dist: python-multipart>=0.0.6
|
|
24
|
+
Requires-Dist: uvicorn[standard]>=0.20.0
|
|
25
|
+
Provides-Extra: dev
|
|
26
|
+
Requires-Dist: black>=23.0.0; extra == 'dev'
|
|
27
|
+
Requires-Dist: mypy>=1.0.0; extra == 'dev'
|
|
28
|
+
Requires-Dist: pytest-asyncio>=0.21.0; extra == 'dev'
|
|
29
|
+
Requires-Dist: pytest>=7.0.0; extra == 'dev'
|
|
30
|
+
Requires-Dist: ruff>=0.1.0; extra == 'dev'
|
|
31
|
+
Description-Content-Type: text/markdown
|
|
32
|
+
|
|
33
|
+
# LangChain Trigger Server
|
|
34
|
+
|
|
35
|
+
TODO
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""LangChain Triggers Framework - Event-driven triggers for AI agents."""
|
|
2
|
+
|
|
3
|
+
from .core import UserAuthInfo, TriggerRegistrationModel, TriggerHandlerResult, TriggerRegistrationResult, MetadataManager
|
|
4
|
+
from .decorators import TriggerTemplate
|
|
5
|
+
from .app import TriggerServer
|
|
6
|
+
|
|
7
|
+
__version__ = "0.1.0"
|
|
8
|
+
|
|
9
|
+
__all__ = [
|
|
10
|
+
"UserAuthInfo",
|
|
11
|
+
"TriggerRegistrationModel",
|
|
12
|
+
"TriggerHandlerResult",
|
|
13
|
+
"TriggerRegistrationResult",
|
|
14
|
+
"MetadataManager",
|
|
15
|
+
"TriggerTemplate",
|
|
16
|
+
"TriggerServer",
|
|
17
|
+
]
|