langflow-nightly 1.0.17.dev3__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.
- langflow_nightly-1.0.17.dev3/LICENSE +21 -0
- langflow_nightly-1.0.17.dev3/PKG-INFO +180 -0
- langflow_nightly-1.0.17.dev3/README.md +71 -0
- langflow_nightly-1.0.17.dev3/pyproject.toml +213 -0
- langflow_nightly-1.0.17.dev3/src/backend/langflow/version/__init__.py +0 -0
- langflow_nightly-1.0.17.dev3/src/backend/langflow/version/version.py +38 -0
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2024 Langflow
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
@@ -0,0 +1,180 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: langflow-nightly
|
3
|
+
Version: 1.0.17.dev3
|
4
|
+
Summary: A Python package with a built-in web application
|
5
|
+
Home-page: https://github.com/langflow-ai/langflow
|
6
|
+
License: MIT
|
7
|
+
Keywords: nlp,langchain,openai,gpt,gui
|
8
|
+
Author: Langflow
|
9
|
+
Author-email: contact@langflow.org
|
10
|
+
Maintainer: Carlos Coelho
|
11
|
+
Maintainer-email: carlos@langflow.org
|
12
|
+
Requires-Python: >=3.10,<3.13
|
13
|
+
Classifier: License :: OSI Approved :: MIT License
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
18
|
+
Provides-Extra: cassio
|
19
|
+
Provides-Extra: couchbase
|
20
|
+
Provides-Extra: deploy
|
21
|
+
Provides-Extra: local
|
22
|
+
Requires-Dist: assemblyai (>=0.26.0,<0.27.0)
|
23
|
+
Requires-Dist: astra-assistants (>=2.1.0.10,<3.0.0.0)
|
24
|
+
Requires-Dist: beautifulsoup4 (>=4.12.2,<5.0.0)
|
25
|
+
Requires-Dist: boto3 (>=1.34.162,<1.35.0)
|
26
|
+
Requires-Dist: bson (>=0.5.10,<0.6.0)
|
27
|
+
Requires-Dist: cassio[cassio] (>=0.1.7,<0.2.0) ; extra == "cassio"
|
28
|
+
Requires-Dist: celery[redis] (>=5.3.6,<6.0.0) ; extra == "deploy"
|
29
|
+
Requires-Dist: certifi (>=2023.11.17,<2025.0.0)
|
30
|
+
Requires-Dist: chromadb (>=0.4,<0.5)
|
31
|
+
Requires-Dist: clickhouse-connect[clickhouse-connect] (==0.7.19)
|
32
|
+
Requires-Dist: cohere (>=5.5.3,<6.0.0)
|
33
|
+
Requires-Dist: composio-langchain (==0.5.9)
|
34
|
+
Requires-Dist: couchbase[couchbase] (>=4.2.1,<5.0.0) ; extra == "couchbase"
|
35
|
+
Requires-Dist: crewai[tools] (>=0.36.0,<0.37.0)
|
36
|
+
Requires-Dist: ctransformers (>=0.2.10,<0.3.0) ; extra == "local"
|
37
|
+
Requires-Dist: dspy-ai (>=2.4.0,<3.0.0)
|
38
|
+
Requires-Dist: elasticsearch (>=8.12.0,<9.0.0)
|
39
|
+
Requires-Dist: faiss-cpu (>=1.8.0,<2.0.0)
|
40
|
+
Requires-Dist: fake-useragent (>=1.5.0,<2.0.0)
|
41
|
+
Requires-Dist: fastavro (>=1.8.0,<2.0.0)
|
42
|
+
Requires-Dist: firecrawl-py (>=0.0.16,<0.0.17)
|
43
|
+
Requires-Dist: flower (>=2.0.0,<3.0.0) ; extra == "deploy"
|
44
|
+
Requires-Dist: gitpython (>=3.1.43,<4.0.0)
|
45
|
+
Requires-Dist: google-api-python-client (>=2.130.0,<3.0.0)
|
46
|
+
Requires-Dist: google-search-results (>=2.4.1,<3.0.0)
|
47
|
+
Requires-Dist: huggingface-hub[inference] (>=0.23.2,<0.24.0)
|
48
|
+
Requires-Dist: jq (>=1.8.0,<2.0.0)
|
49
|
+
Requires-Dist: json-repair (>=0.25.2,<0.26.0)
|
50
|
+
Requires-Dist: kubernetes (>=30.1.0,<31.0.0)
|
51
|
+
Requires-Dist: langchain-anthropic (>=0.1.23,<0.2.0)
|
52
|
+
Requires-Dist: langchain-astradb (>=0.3.3,<0.4.0)
|
53
|
+
Requires-Dist: langchain-aws (>=0.1.16,<0.2.0)
|
54
|
+
Requires-Dist: langchain-chroma (>=0.1.1,<0.2.0)
|
55
|
+
Requires-Dist: langchain-cohere (>=0.1.5,<0.2.0)
|
56
|
+
Requires-Dist: langchain-google-calendar-tools (>=0.0.1,<0.0.2)
|
57
|
+
Requires-Dist: langchain-google-community (==1.0.7)
|
58
|
+
Requires-Dist: langchain-google-genai (==1.0.8)
|
59
|
+
Requires-Dist: langchain-google-vertexai (==1.0.10)
|
60
|
+
Requires-Dist: langchain-groq (==0.1.9)
|
61
|
+
Requires-Dist: langchain-milvus (>=0.1.1,<0.2.0)
|
62
|
+
Requires-Dist: langchain-mistralai (==0.1.12)
|
63
|
+
Requires-Dist: langchain-mongodb (>=0.1.6,<0.2.0)
|
64
|
+
Requires-Dist: langchain-nvidia-ai-endpoints (==0.1.6)
|
65
|
+
Requires-Dist: langchain-openai (==0.1.22)
|
66
|
+
Requires-Dist: langchain-pinecone (>=0.1.3,<0.2.0)
|
67
|
+
Requires-Dist: langchain-unstructured (>=0.1.2,<0.2.0)
|
68
|
+
Requires-Dist: langflow-base-nightly (>=0.0.95.dev3,<0.0.96)
|
69
|
+
Requires-Dist: langfuse (>=2.33.0,<3.0.0)
|
70
|
+
Requires-Dist: langsmith (>=0.1.86,<0.2.0)
|
71
|
+
Requires-Dist: langwatch (>=0.1.16,<0.2.0)
|
72
|
+
Requires-Dist: lark (>=1.2.2,<2.0.0)
|
73
|
+
Requires-Dist: litellm (>=1.44.0,<2.0.0)
|
74
|
+
Requires-Dist: llama-cpp-python (>=0.2.0,<0.3.0) ; extra == "local"
|
75
|
+
Requires-Dist: markdown (>=3.7,<4.0)
|
76
|
+
Requires-Dist: markupsafe (>=2.1.3,<3.0.0)
|
77
|
+
Requires-Dist: metal-sdk (>=2.5.0,<3.0.0)
|
78
|
+
Requires-Dist: metaphor-python (>=0.1.11,<0.2.0)
|
79
|
+
Requires-Dist: networkx (>=3.1,<4.0)
|
80
|
+
Requires-Dist: nltk (>=3.9.1,<4.0.0)
|
81
|
+
Requires-Dist: numexpr (>=2.8.6,<3.0.0)
|
82
|
+
Requires-Dist: pgvector (>=0.2.3,<0.3.0)
|
83
|
+
Requires-Dist: psycopg (==3.1.9)
|
84
|
+
Requires-Dist: psycopg2-binary (>=2.9.6,<3.0.0)
|
85
|
+
Requires-Dist: pyarrow (>=14.0.0,<15.0.0)
|
86
|
+
Requires-Dist: pyautogen (>=0.2.0,<0.3.0)
|
87
|
+
Requires-Dist: pymongo (>=4.6.0,<5.0.0)
|
88
|
+
Requires-Dist: pytube (>=15.0.0,<16.0.0)
|
89
|
+
Requires-Dist: pywin32 (>=306,<307) ; sys_platform == "win32"
|
90
|
+
Requires-Dist: qdrant-client (>=1.9.0,<2.0.0)
|
91
|
+
Requires-Dist: qianfan (==0.3.5)
|
92
|
+
Requires-Dist: redis (>=5.0.1,<6.0.0) ; extra == "deploy"
|
93
|
+
Requires-Dist: sentence-transformers (>=2.3.1,<3.0.0) ; extra == "local"
|
94
|
+
Requires-Dist: spider-client (>=0.0.27,<0.0.28)
|
95
|
+
Requires-Dist: supabase (>=2.3.0,<3.0.0)
|
96
|
+
Requires-Dist: types-cachetools (>=5.3.0.5,<6.0.0.0)
|
97
|
+
Requires-Dist: unstructured[docx,md,pptx] (>=0.14.4,<0.15.0)
|
98
|
+
Requires-Dist: upstash-vector (>=0.5.0,<0.6.0)
|
99
|
+
Requires-Dist: weaviate-client
|
100
|
+
Requires-Dist: wikipedia (>=1.4.0,<2.0.0)
|
101
|
+
Requires-Dist: wolframalpha (>=5.1.3,<6.0.0)
|
102
|
+
Requires-Dist: yfinance (>=0.2.40,<0.3.0)
|
103
|
+
Requires-Dist: youtube-transcript-api (>=0.6.2,<0.7.0)
|
104
|
+
Requires-Dist: zep-python (>=2.0.0rc5,<3.0.0)
|
105
|
+
Project-URL: Documentation, https://docs.langflow.org
|
106
|
+
Project-URL: Repository, https://github.com/langflow-ai/langflow
|
107
|
+
Description-Content-Type: text/markdown
|
108
|
+
|
109
|
+
<!-- markdownlint-disable MD030 -->
|
110
|
+
|
111
|
+
# [](https://www.langflow.org)
|
112
|
+
|
113
|
+
<p align="center" style="font-size: 12px;">
|
114
|
+
Langflow is a low-code app builder for RAG and multi-agent AI applications. It’s Python-based and agnostic to any model, API, or database.
|
115
|
+
</p>
|
116
|
+
|
117
|
+
<p align="center" style="font-size: 12px;">
|
118
|
+
<a href="https://docs.langflow.org" style="text-decoration: underline;">Docs</a> -
|
119
|
+
<a href="https://astra.datastax.com/signup?type=langflow" style="text-decoration: underline;">Free Cloud Service</a> -
|
120
|
+
<a href="https://docs.langflow.org/getting-started-installation" style="text-decoration: underline;">Self Managed</a>
|
121
|
+
|
122
|
+
</p>
|
123
|
+
|
124
|
+
<div align="center">
|
125
|
+
<a href="./README.md"><img alt="README in English" src="https://img.shields.io/badge/English-d9d9d9"></a>
|
126
|
+
<a href="./README.PT.md"><img alt="README in Portuguese" src="https://img.shields.io/badge/Portuguese-d9d9d9"></a>
|
127
|
+
<a href="./README.ES.md"><img alt="README in Spanish" src="https://img.shields.io/badge/Spanish-d9d9d9"></a>
|
128
|
+
<a href="./README.zh_CN.md"><img alt="README in Simplified Chinese" src="https://img.shields.io/badge/简体中文-d9d9d9"></a>
|
129
|
+
<a href="./README.ja.md"><img alt="README in Japanese" src="https://img.shields.io/badge/日本語-d9d9d9"></a>
|
130
|
+
<a href="./README.KR.md"><img alt="README in KOREAN" src="https://img.shields.io/badge/한국어-d9d9d9"></a>
|
131
|
+
</div>
|
132
|
+
|
133
|
+
## ✨ Core features
|
134
|
+
|
135
|
+
1. **Python-based** and agnostic to models, APIs, data sources, or databases.
|
136
|
+
2. **Visual IDE** for drag-and-drop building and testing of workflows.
|
137
|
+
3. **Playground** to immediately test and iterate workflows with step-by-step control.
|
138
|
+
4. **Multi-agent** orchestration and conversation management and retrieval.
|
139
|
+
5. **Free cloud service** to get started in minutes with no setup.
|
140
|
+
6. **Publish as an API** or export as a Python application.
|
141
|
+
7. **Observability** with LangSmith, LangFuse, or LangWatch integration.
|
142
|
+
8. **Enterprise-grade** security and scalability with free DataStax Langflow cloud service.
|
143
|
+
9. **Customize workflows** or create flows entirely just using Python.
|
144
|
+
10. **Ecosystem integrations** as reusable components for any model, API or database.
|
145
|
+
|
146
|
+

|
147
|
+
|
148
|
+
|
149
|
+
## 📦 Quickstart
|
150
|
+
|
151
|
+
- **Install with pip** (Python 3.10 or greater):
|
152
|
+
|
153
|
+
```shell
|
154
|
+
pip install langflow
|
155
|
+
```
|
156
|
+
|
157
|
+
- **Cloud:** DataStax Langflow is a hosted environment with zero setup. [Sign up for a free account.](https://astra.datastax.com/signup?type=langflow)
|
158
|
+
- **Self-managed:** Run Langflow in your environment. [Install Langflow](https://docs.langflow.org/getting-started-installation) to run a local Langflow server, and then use the [Quickstart](https://docs.langflow.org/getting-started-quickstart) guide to create and execute a flow.
|
159
|
+
- **Hugging Face:** [Clone the space using this link](https://huggingface.co/spaces/Langflow/Langflow?duplicate=true) to create a Langflow workspace.
|
160
|
+
|
161
|
+
[](https://www.youtube.com/watch?v=kinngWhaUKM)
|
162
|
+
|
163
|
+
## ⭐ Stay up-to-date
|
164
|
+
|
165
|
+
Star Langflow on GitHub to be instantly notified of new releases.
|
166
|
+
|
167
|
+

|
168
|
+
|
169
|
+
## 👋 Contribute
|
170
|
+
|
171
|
+
We welcome contributions from developers of all levels. If you'd like to contribute, please check our [contributing guidelines](./CONTRIBUTING.md) and help make Langflow more accessible.
|
172
|
+
|
173
|
+
---
|
174
|
+
|
175
|
+
[](https://star-history.com/#langflow-ai/langflow&Date)
|
176
|
+
|
177
|
+
## ❤️ Contributors
|
178
|
+
|
179
|
+
[](https://github.com/langflow-ai/langflow/graphs/contributors)
|
180
|
+
|
@@ -0,0 +1,71 @@
|
|
1
|
+
<!-- markdownlint-disable MD030 -->
|
2
|
+
|
3
|
+
# [](https://www.langflow.org)
|
4
|
+
|
5
|
+
<p align="center" style="font-size: 12px;">
|
6
|
+
Langflow is a low-code app builder for RAG and multi-agent AI applications. It’s Python-based and agnostic to any model, API, or database.
|
7
|
+
</p>
|
8
|
+
|
9
|
+
<p align="center" style="font-size: 12px;">
|
10
|
+
<a href="https://docs.langflow.org" style="text-decoration: underline;">Docs</a> -
|
11
|
+
<a href="https://astra.datastax.com/signup?type=langflow" style="text-decoration: underline;">Free Cloud Service</a> -
|
12
|
+
<a href="https://docs.langflow.org/getting-started-installation" style="text-decoration: underline;">Self Managed</a>
|
13
|
+
|
14
|
+
</p>
|
15
|
+
|
16
|
+
<div align="center">
|
17
|
+
<a href="./README.md"><img alt="README in English" src="https://img.shields.io/badge/English-d9d9d9"></a>
|
18
|
+
<a href="./README.PT.md"><img alt="README in Portuguese" src="https://img.shields.io/badge/Portuguese-d9d9d9"></a>
|
19
|
+
<a href="./README.ES.md"><img alt="README in Spanish" src="https://img.shields.io/badge/Spanish-d9d9d9"></a>
|
20
|
+
<a href="./README.zh_CN.md"><img alt="README in Simplified Chinese" src="https://img.shields.io/badge/简体中文-d9d9d9"></a>
|
21
|
+
<a href="./README.ja.md"><img alt="README in Japanese" src="https://img.shields.io/badge/日本語-d9d9d9"></a>
|
22
|
+
<a href="./README.KR.md"><img alt="README in KOREAN" src="https://img.shields.io/badge/한국어-d9d9d9"></a>
|
23
|
+
</div>
|
24
|
+
|
25
|
+
## ✨ Core features
|
26
|
+
|
27
|
+
1. **Python-based** and agnostic to models, APIs, data sources, or databases.
|
28
|
+
2. **Visual IDE** for drag-and-drop building and testing of workflows.
|
29
|
+
3. **Playground** to immediately test and iterate workflows with step-by-step control.
|
30
|
+
4. **Multi-agent** orchestration and conversation management and retrieval.
|
31
|
+
5. **Free cloud service** to get started in minutes with no setup.
|
32
|
+
6. **Publish as an API** or export as a Python application.
|
33
|
+
7. **Observability** with LangSmith, LangFuse, or LangWatch integration.
|
34
|
+
8. **Enterprise-grade** security and scalability with free DataStax Langflow cloud service.
|
35
|
+
9. **Customize workflows** or create flows entirely just using Python.
|
36
|
+
10. **Ecosystem integrations** as reusable components for any model, API or database.
|
37
|
+
|
38
|
+

|
39
|
+
|
40
|
+
|
41
|
+
## 📦 Quickstart
|
42
|
+
|
43
|
+
- **Install with pip** (Python 3.10 or greater):
|
44
|
+
|
45
|
+
```shell
|
46
|
+
pip install langflow
|
47
|
+
```
|
48
|
+
|
49
|
+
- **Cloud:** DataStax Langflow is a hosted environment with zero setup. [Sign up for a free account.](https://astra.datastax.com/signup?type=langflow)
|
50
|
+
- **Self-managed:** Run Langflow in your environment. [Install Langflow](https://docs.langflow.org/getting-started-installation) to run a local Langflow server, and then use the [Quickstart](https://docs.langflow.org/getting-started-quickstart) guide to create and execute a flow.
|
51
|
+
- **Hugging Face:** [Clone the space using this link](https://huggingface.co/spaces/Langflow/Langflow?duplicate=true) to create a Langflow workspace.
|
52
|
+
|
53
|
+
[](https://www.youtube.com/watch?v=kinngWhaUKM)
|
54
|
+
|
55
|
+
## ⭐ Stay up-to-date
|
56
|
+
|
57
|
+
Star Langflow on GitHub to be instantly notified of new releases.
|
58
|
+
|
59
|
+

|
60
|
+
|
61
|
+
## 👋 Contribute
|
62
|
+
|
63
|
+
We welcome contributions from developers of all levels. If you'd like to contribute, please check our [contributing guidelines](./CONTRIBUTING.md) and help make Langflow more accessible.
|
64
|
+
|
65
|
+
---
|
66
|
+
|
67
|
+
[](https://star-history.com/#langflow-ai/langflow&Date)
|
68
|
+
|
69
|
+
## ❤️ Contributors
|
70
|
+
|
71
|
+
[](https://github.com/langflow-ai/langflow/graphs/contributors)
|
@@ -0,0 +1,213 @@
|
|
1
|
+
[tool.poetry]
|
2
|
+
name = "langflow-nightly"
|
3
|
+
version = "1.0.17.dev3"
|
4
|
+
description = "A Python package with a built-in web application"
|
5
|
+
authors = ["Langflow <contact@langflow.org>"]
|
6
|
+
maintainers = [
|
7
|
+
"Carlos Coelho <carlos@langflow.org>",
|
8
|
+
"Cristhian Zanforlin <cristhian.lousa@gmail.com>",
|
9
|
+
"Gabriel Almeida <gabriel@langflow.org>",
|
10
|
+
"Igor Carvalho <igorr.ackerman@gmail.com>",
|
11
|
+
"Lucas Eduoli <lucaseduoli@gmail.com>",
|
12
|
+
"Otávio Anovazzi <otavio2204@gmail.com>",
|
13
|
+
"Rodrigo Nader <rodrigo@langflow.org>",
|
14
|
+
"Italo dos Anjos <italojohnnydosanjos@gmail.com>",
|
15
|
+
]
|
16
|
+
repository = "https://github.com/langflow-ai/langflow"
|
17
|
+
license = "MIT"
|
18
|
+
readme = "README.md"
|
19
|
+
keywords = ["nlp", "langchain", "openai", "gpt", "gui"]
|
20
|
+
packages = [{ include = "langflow", from = "src/backend" }]
|
21
|
+
include = ["src/backend/langflow/*", "src/backend/langflow/**/*"]
|
22
|
+
documentation = "https://docs.langflow.org"
|
23
|
+
|
24
|
+
[tool.poetry.scripts]
|
25
|
+
langflow = "langflow.__main__:main"
|
26
|
+
|
27
|
+
|
28
|
+
[tool.poetry.dependencies]
|
29
|
+
python = ">=3.10,<3.13"
|
30
|
+
langflow-base-nightly = "^0.0.95.dev3"
|
31
|
+
beautifulsoup4 = "^4.12.2"
|
32
|
+
google-search-results = "^2.4.1"
|
33
|
+
google-api-python-client = "^2.130.0"
|
34
|
+
huggingface-hub = { version = "^0.23.2", extras = ["inference"] }
|
35
|
+
llama-cpp-python = { version = "~0.2.0", optional = true }
|
36
|
+
networkx = "^3.1"
|
37
|
+
fake-useragent = "^1.5.0"
|
38
|
+
psycopg2-binary = "^2.9.6"
|
39
|
+
pyarrow = "^14.0.0"
|
40
|
+
wikipedia = "^1.4.0"
|
41
|
+
qdrant-client = "^1.9.0"
|
42
|
+
weaviate-client = "*"
|
43
|
+
sentence-transformers = { version = "^2.3.1", optional = true }
|
44
|
+
ctransformers = { version = "^0.2.10", optional = true }
|
45
|
+
cohere = "^5.5.3"
|
46
|
+
faiss-cpu = "^1.8.0"
|
47
|
+
types-cachetools = "^5.3.0.5"
|
48
|
+
pymongo = "^4.6.0"
|
49
|
+
supabase = "^2.3.0"
|
50
|
+
certifi = ">=2023.11.17,<2025.0.0"
|
51
|
+
psycopg = "3.1.9" # https://github.com/psycopg/psycopg/issues/858
|
52
|
+
fastavro = "^1.8.0"
|
53
|
+
celery = { extras = ["redis"], version = "^5.3.6", optional = true }
|
54
|
+
redis = "^5.0.1"
|
55
|
+
flower = { version = "^2.0.0", optional = true }
|
56
|
+
metaphor-python = "^0.1.11"
|
57
|
+
pywin32 = { version = "^306", markers = "sys_platform == 'win32'" }
|
58
|
+
langfuse = "^2.33.0"
|
59
|
+
metal-sdk = "^2.5.0"
|
60
|
+
markupsafe = "^2.1.3"
|
61
|
+
boto3 = "~1.34.162"
|
62
|
+
numexpr = "^2.8.6"
|
63
|
+
qianfan = "0.3.5"
|
64
|
+
pgvector = "^0.2.3"
|
65
|
+
pyautogen = "^0.2.0"
|
66
|
+
langchain-google-genai = "1.0.8"
|
67
|
+
langchain-cohere = "^0.1.5"
|
68
|
+
elasticsearch = "^8.12.0"
|
69
|
+
pytube = "^15.0.0"
|
70
|
+
dspy-ai = "^2.4.0"
|
71
|
+
assemblyai = "^0.26.0"
|
72
|
+
litellm = "^1.44.0"
|
73
|
+
chromadb = "^0.4"
|
74
|
+
langchain-anthropic = "^0.1.23"
|
75
|
+
langchain-astradb = "^0.3.3"
|
76
|
+
langchain-openai = "0.1.22"
|
77
|
+
zep-python = { version = "^2.0.0rc5", allow-prereleases = true }
|
78
|
+
langchain-google-vertexai = "1.0.10"
|
79
|
+
langchain-groq = "0.1.9"
|
80
|
+
langchain-pinecone = "^0.1.3"
|
81
|
+
langchain-mistralai = "0.1.12"
|
82
|
+
couchbase = { extras = ["couchbase"], version = "^4.2.1", optional = true }
|
83
|
+
youtube-transcript-api = "^0.6.2"
|
84
|
+
markdown = "^3.7"
|
85
|
+
langchain-chroma = "^0.1.1"
|
86
|
+
upstash-vector = "^0.5.0"
|
87
|
+
gitpython = "^3.1.43"
|
88
|
+
cassio = { extras = ["cassio"], version = "^0.1.7", optional = true }
|
89
|
+
unstructured = {extras = ["docx", "md", "pptx"], version = "^0.14.4"}
|
90
|
+
langchain-aws = "^0.1.16"
|
91
|
+
langchain-mongodb = "^0.1.6"
|
92
|
+
kubernetes = "^30.1.0"
|
93
|
+
firecrawl-py = "^0.0.16"
|
94
|
+
json-repair = "^0.25.2"
|
95
|
+
langchain-nvidia-ai-endpoints = "0.1.6"
|
96
|
+
langchain-google-calendar-tools = "^0.0.1"
|
97
|
+
langchain-milvus = "^0.1.1"
|
98
|
+
crewai = {extras = ["tools"], version = "^0.36.0"}
|
99
|
+
langwatch = "^0.1.16"
|
100
|
+
langsmith = "^0.1.86"
|
101
|
+
yfinance = "^0.2.40"
|
102
|
+
langchain-google-community = "1.0.7"
|
103
|
+
wolframalpha = "^5.1.3"
|
104
|
+
astra-assistants = "^2.1.0.10"
|
105
|
+
composio-langchain = "0.5.9"
|
106
|
+
spider-client = "^0.0.27"
|
107
|
+
nltk = "^3.9.1"
|
108
|
+
bson = "^0.5.10"
|
109
|
+
lark = "^1.2.2"
|
110
|
+
jq = "^1.8.0"
|
111
|
+
clickhouse-connect = {version = "0.7.19", optional = true, extras = ["clickhouse-connect"]}
|
112
|
+
langchain-unstructured = "^0.1.2"
|
113
|
+
|
114
|
+
|
115
|
+
[tool.poetry.group.dev.dependencies]
|
116
|
+
types-redis = "^4.6.0.5"
|
117
|
+
ipykernel = "^6.29.0"
|
118
|
+
mypy = "^1.11.0"
|
119
|
+
ruff = ">=0.6.2,<0.7.0"
|
120
|
+
httpx = "*"
|
121
|
+
pytest = "^8.2.0"
|
122
|
+
types-requests = "^2.32.0"
|
123
|
+
requests = "^2.32.0"
|
124
|
+
pytest-cov = "^5.0.0"
|
125
|
+
pandas-stubs = "^2.1.4.231227"
|
126
|
+
types-pillow = "^10.2.0.20240213"
|
127
|
+
types-pyyaml = "^6.0.12.8"
|
128
|
+
types-python-jose = "^3.3.4.8"
|
129
|
+
types-passlib = "^1.7.7.13"
|
130
|
+
pytest-mock = "^3.14.0"
|
131
|
+
pytest-xdist = "^3.6.0"
|
132
|
+
types-pywin32 = "^306.0.0.4"
|
133
|
+
types-google-cloud-ndb = "^2.2.0.0"
|
134
|
+
pytest-sugar = "^1.0.0"
|
135
|
+
respx = "^0.21.1"
|
136
|
+
pytest-instafail = "^0.5.0"
|
137
|
+
pytest-asyncio = "^0.23.0"
|
138
|
+
pytest-profiling = "^1.7.0"
|
139
|
+
pre-commit = "^3.7.0"
|
140
|
+
vulture = "^2.11"
|
141
|
+
dictdiffer = "^0.9.0"
|
142
|
+
pytest-split = "^0.9.0"
|
143
|
+
pytest-flakefinder = "^1.1.0"
|
144
|
+
types-markdown = "^3.7.0.20240822"
|
145
|
+
packaging = ">=23.2,<24.0"
|
146
|
+
|
147
|
+
[tool.poetry.extras]
|
148
|
+
deploy = ["celery", "redis", "flower"]
|
149
|
+
couchbase = ["couchbase"]
|
150
|
+
cassio = ["cassio"]
|
151
|
+
local = ["llama-cpp-python", "sentence-transformers", "ctransformers"]
|
152
|
+
|
153
|
+
|
154
|
+
[tool.poetry.group.spelling]
|
155
|
+
optional = true
|
156
|
+
|
157
|
+
[tool.poetry.group.spelling.dependencies]
|
158
|
+
codespell = "^2.3.0"
|
159
|
+
|
160
|
+
|
161
|
+
[tool.codespell]
|
162
|
+
skip = '.git,*.pdf,*.svg,*.pdf,*.yaml,*.ipynb,poetry.lock,*.min.js,*.css,package-lock.json,*.trig.,**/node_modules/**,./stuff/*,*.csv'
|
163
|
+
# Ignore latin etc
|
164
|
+
ignore-regex = '.*(Stati Uniti|Tense=Pres).*'
|
165
|
+
|
166
|
+
|
167
|
+
[tool.pytest.ini_options]
|
168
|
+
minversion = "6.0"
|
169
|
+
testpaths = ["tests", "integration"]
|
170
|
+
console_output_style = "progress"
|
171
|
+
filterwarnings = ["ignore::DeprecationWarning", "ignore::ResourceWarning"]
|
172
|
+
log_cli = true
|
173
|
+
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
|
174
|
+
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
|
175
|
+
markers = ["async_test", "api_key_required"]
|
176
|
+
|
177
|
+
|
178
|
+
[tool.coverage.run]
|
179
|
+
command_line = """
|
180
|
+
-m pytest --ignore=tests/integration
|
181
|
+
--cov --cov-report=term --cov-report=html
|
182
|
+
--instafail -ra -n auto -m "not api_key_required"
|
183
|
+
"""
|
184
|
+
source = ["src/backend/base/langflow/"]
|
185
|
+
omit = ["*/alembic/*", "tests/*", "*/__init__.py"]
|
186
|
+
|
187
|
+
|
188
|
+
[tool.coverage.report]
|
189
|
+
sort = "Stmts"
|
190
|
+
skip_empty = true
|
191
|
+
show_missing = false
|
192
|
+
ignore_errors = true
|
193
|
+
|
194
|
+
|
195
|
+
[tool.coverage.html]
|
196
|
+
directory = "coverage"
|
197
|
+
|
198
|
+
|
199
|
+
[tool.ruff]
|
200
|
+
exclude = ["src/backend/langflow/alembic/*"]
|
201
|
+
line-length = 120
|
202
|
+
|
203
|
+
[tool.mypy]
|
204
|
+
plugins = ["pydantic.mypy"]
|
205
|
+
follow_imports = "skip"
|
206
|
+
disable_error_code = ["type-var"]
|
207
|
+
namespace_packages = true
|
208
|
+
mypy_path = "langflow"
|
209
|
+
ignore_missing_imports = true
|
210
|
+
|
211
|
+
[build-system]
|
212
|
+
requires = ["poetry-core"]
|
213
|
+
build-backend = "poetry.core.masonry.api"
|
File without changes
|
@@ -0,0 +1,38 @@
|
|
1
|
+
def get_version() -> str:
|
2
|
+
"""
|
3
|
+
Retrieves the version of the package from a possible list of package names.
|
4
|
+
This accounts for after package names are updated for -nightly builds.
|
5
|
+
|
6
|
+
Returns:
|
7
|
+
str: The version of the package
|
8
|
+
|
9
|
+
Raises:
|
10
|
+
ValueError: If the package is not found from the list of package names.
|
11
|
+
"""
|
12
|
+
from importlib import metadata
|
13
|
+
|
14
|
+
pkg_names = [
|
15
|
+
"langflow",
|
16
|
+
"langflow-base",
|
17
|
+
"langflow-nightly",
|
18
|
+
"langflow-base-nightly",
|
19
|
+
]
|
20
|
+
_version = None
|
21
|
+
for pkg_name in pkg_names:
|
22
|
+
try:
|
23
|
+
_version = metadata.version(pkg_name)
|
24
|
+
except (ImportError, metadata.PackageNotFoundError):
|
25
|
+
pass
|
26
|
+
|
27
|
+
if _version is None:
|
28
|
+
raise ValueError(f"Package not found from options {pkg_names}")
|
29
|
+
|
30
|
+
return _version
|
31
|
+
|
32
|
+
|
33
|
+
def is_pre_release(v: str) -> bool:
|
34
|
+
"""
|
35
|
+
Returns a boolean indicating whether the version is a pre-release version,
|
36
|
+
as per the definition of a pre-release segment from PEP 440.
|
37
|
+
"""
|
38
|
+
return any(label in v for label in ["a", "b", "rc"])
|