weco 0.0.1__tar.gz → 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.
- weco-0.1.0/LICENSE +21 -0
- weco-0.1.0/PKG-INFO +68 -0
- weco-0.1.0/README.md +53 -0
- weco-0.1.0/pyproject.toml +12 -0
- weco-0.1.0/setup.py +40 -0
- weco-0.1.0/weco/weco.egg-info/PKG-INFO +68 -0
- weco-0.1.0/weco/weco.egg-info/SOURCES.txt +9 -0
- weco-0.1.0/weco/weco.egg-info/requires.txt +1 -0
- weco-0.1.0/weco/weco.egg-info/top_level.txt +1 -0
- weco-0.0.1/PKG-INFO +0 -22
- weco-0.0.1/README.md +0 -9
- weco-0.0.1/pyproject.toml +0 -18
- weco-0.0.1/setup.py +0 -20
- weco-0.0.1/weco/__init__.py +0 -0
- weco-0.0.1/weco.egg-info/PKG-INFO +0 -22
- weco-0.0.1/weco.egg-info/SOURCES.txt +0 -8
- weco-0.0.1/weco.egg-info/top_level.txt +0 -1
- {weco-0.0.1 → weco-0.1.0}/setup.cfg +0 -0
- {weco-0.0.1 → weco-0.1.0/weco}/weco.egg-info/dependency_links.txt +0 -0
weco-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Weco AI
|
|
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.
|
weco-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: weco
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A client facing API for interacting with the WeCo AI function builder service.
|
|
5
|
+
Home-page: https://github.com/WecoAI/weco
|
|
6
|
+
Author: ['WeCo AI Team']
|
|
7
|
+
Author-email: dhruv@weco.ai
|
|
8
|
+
License: MIT
|
|
9
|
+
Keywords: artificial intelligence,machine learning,data science,function builder,LLM
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Requires-Python: >=3.8
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
License-File: LICENSE
|
|
15
|
+
|
|
16
|
+
[](https://git.io/typing-svg)
|
|
17
|
+
|
|
18
|
+
[](https://opensource.org/licenses/MIT)
|
|
19
|
+

|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# WeCo $f$(👷♂️)
|
|
23
|
+
|
|
24
|
+
A client facing API for interacting with the [WeCo AI](https://www.weco.ai/) function builder [service](https://weco-app.vercel.app/function)!
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
Use this API to build *complex* systems *fast*. We lower the barrier of entry to software engineer, data science and machine learning by providing an interface to prototype difficult solutions quickly in just a few lines of code.
|
|
28
|
+
|
|
29
|
+
## Installation
|
|
30
|
+
|
|
31
|
+
Install the `weco` package simply by calling this in your terminal of choice:
|
|
32
|
+
```bash
|
|
33
|
+
pip install weco
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Features
|
|
37
|
+
|
|
38
|
+
- The **build** function enables quick and easy prototyping of new functions via LLMs through just natural language. We encourage users to do this through our [web console](https://weco-app.vercel.app/function) for maximum control and ease of use, however, you can also do this through our API as shown in [here](examples/).
|
|
39
|
+
- The **query** function allows you to test and use the newly created function in your own code.
|
|
40
|
+
|
|
41
|
+
We provide both services in two ways:
|
|
42
|
+
- `weco.WecoAI` client to be used when you want to maintain the same client service across a portion of code. This is better for dense service usage. An example is shown [here](examples/example_client.py).
|
|
43
|
+
- `weco.query` and `weco.build` to be used when you only require sparse usage. An example is provided [here](examples/example_functional.py).
|
|
44
|
+
|
|
45
|
+
## Usage
|
|
46
|
+
|
|
47
|
+
When using the WeCo API, you will need to set the API key:
|
|
48
|
+
You can find/setup your API key [here](https://weco-app.vercel.app/account) by navigating to the API key tab. Once you have your API key, you may pass it to the `weco` client using the `api_key` argument input or set it as an environment variable such as:
|
|
49
|
+
```
|
|
50
|
+
export WECO_API_KEY=<YOUR_WECO_API_KEY>
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Example
|
|
54
|
+
|
|
55
|
+
We create a function on the [web console](https://weco-app.vercel.app/function) for the following task:
|
|
56
|
+
> "I want to evaluate the feasibility of a machine learning task. Give me a json object with three keys - 'feasibility', 'justification', and 'suggestions'."
|
|
57
|
+
|
|
58
|
+
Now, you're ready to query this function anywhere in your code!
|
|
59
|
+
|
|
60
|
+
```python
|
|
61
|
+
from weco import query
|
|
62
|
+
response = query(
|
|
63
|
+
fn_name=fn_name,
|
|
64
|
+
fn_input="I want to train a model to predict house prices using the Boston Housing dataset hosted on Kaggle.",
|
|
65
|
+
)
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Enjoy $f$(👷♂️)!
|
weco-0.1.0/README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
[](https://git.io/typing-svg)
|
|
2
|
+
|
|
3
|
+
[](https://opensource.org/licenses/MIT)
|
|
4
|
+

|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
# WeCo $f$(👷♂️)
|
|
8
|
+
|
|
9
|
+
A client facing API for interacting with the [WeCo AI](https://www.weco.ai/) function builder [service](https://weco-app.vercel.app/function)!
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
Use this API to build *complex* systems *fast*. We lower the barrier of entry to software engineer, data science and machine learning by providing an interface to prototype difficult solutions quickly in just a few lines of code.
|
|
13
|
+
|
|
14
|
+
## Installation
|
|
15
|
+
|
|
16
|
+
Install the `weco` package simply by calling this in your terminal of choice:
|
|
17
|
+
```bash
|
|
18
|
+
pip install weco
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Features
|
|
22
|
+
|
|
23
|
+
- The **build** function enables quick and easy prototyping of new functions via LLMs through just natural language. We encourage users to do this through our [web console](https://weco-app.vercel.app/function) for maximum control and ease of use, however, you can also do this through our API as shown in [here](examples/).
|
|
24
|
+
- The **query** function allows you to test and use the newly created function in your own code.
|
|
25
|
+
|
|
26
|
+
We provide both services in two ways:
|
|
27
|
+
- `weco.WecoAI` client to be used when you want to maintain the same client service across a portion of code. This is better for dense service usage. An example is shown [here](examples/example_client.py).
|
|
28
|
+
- `weco.query` and `weco.build` to be used when you only require sparse usage. An example is provided [here](examples/example_functional.py).
|
|
29
|
+
|
|
30
|
+
## Usage
|
|
31
|
+
|
|
32
|
+
When using the WeCo API, you will need to set the API key:
|
|
33
|
+
You can find/setup your API key [here](https://weco-app.vercel.app/account) by navigating to the API key tab. Once you have your API key, you may pass it to the `weco` client using the `api_key` argument input or set it as an environment variable such as:
|
|
34
|
+
```
|
|
35
|
+
export WECO_API_KEY=<YOUR_WECO_API_KEY>
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Example
|
|
39
|
+
|
|
40
|
+
We create a function on the [web console](https://weco-app.vercel.app/function) for the following task:
|
|
41
|
+
> "I want to evaluate the feasibility of a machine learning task. Give me a json object with three keys - 'feasibility', 'justification', and 'suggestions'."
|
|
42
|
+
|
|
43
|
+
Now, you're ready to query this function anywhere in your code!
|
|
44
|
+
|
|
45
|
+
```python
|
|
46
|
+
from weco import query
|
|
47
|
+
response = query(
|
|
48
|
+
fn_name=fn_name,
|
|
49
|
+
fn_input="I want to train a model to predict house prices using the Boston Housing dataset hosted on Kaggle.",
|
|
50
|
+
)
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Enjoy $f$(👷♂️)!
|
weco-0.1.0/setup.py
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
from codecs import open
|
|
2
|
+
from os import path
|
|
3
|
+
|
|
4
|
+
from setuptools import find_packages, setup
|
|
5
|
+
|
|
6
|
+
here = path.abspath(path.dirname(__file__))
|
|
7
|
+
with open(path.join(here, "README.md")) as f:
|
|
8
|
+
long_description = f.read()
|
|
9
|
+
|
|
10
|
+
user_requirements = [
|
|
11
|
+
requirement.strip()
|
|
12
|
+
for requirement in open(path.join(here, "requirements.txt")).readlines()
|
|
13
|
+
]
|
|
14
|
+
|
|
15
|
+
setup(
|
|
16
|
+
name="weco",
|
|
17
|
+
version="0.1.0",
|
|
18
|
+
author=["WeCo AI Team"],
|
|
19
|
+
author_email="dhruv@weco.ai",
|
|
20
|
+
description="A client facing API for interacting with the WeCo AI function builder service.",
|
|
21
|
+
long_description=long_description,
|
|
22
|
+
long_description_content_type="text/markdown",
|
|
23
|
+
license="MIT",
|
|
24
|
+
url="https://github.com/WecoAI/weco",
|
|
25
|
+
keywords=[
|
|
26
|
+
"artificial intelligence",
|
|
27
|
+
"machine learning",
|
|
28
|
+
"data science",
|
|
29
|
+
"function builder",
|
|
30
|
+
"LLM",
|
|
31
|
+
],
|
|
32
|
+
packages=find_packages(where="weco"),
|
|
33
|
+
package_dir={"": "weco"},
|
|
34
|
+
install_requires=user_requirements,
|
|
35
|
+
classifiers=[
|
|
36
|
+
"Programming Language :: Python :: 3",
|
|
37
|
+
"Operating System :: OS Independent",
|
|
38
|
+
],
|
|
39
|
+
python_requires=">=3.8",
|
|
40
|
+
)
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: weco
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A client facing API for interacting with the WeCo AI function builder service.
|
|
5
|
+
Home-page: https://github.com/WecoAI/weco
|
|
6
|
+
Author: ['WeCo AI Team']
|
|
7
|
+
Author-email: dhruv@weco.ai
|
|
8
|
+
License: MIT
|
|
9
|
+
Keywords: artificial intelligence,machine learning,data science,function builder,LLM
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Requires-Python: >=3.8
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
License-File: LICENSE
|
|
15
|
+
|
|
16
|
+
[](https://git.io/typing-svg)
|
|
17
|
+
|
|
18
|
+
[](https://opensource.org/licenses/MIT)
|
|
19
|
+

|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# WeCo $f$(👷♂️)
|
|
23
|
+
|
|
24
|
+
A client facing API for interacting with the [WeCo AI](https://www.weco.ai/) function builder [service](https://weco-app.vercel.app/function)!
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
Use this API to build *complex* systems *fast*. We lower the barrier of entry to software engineer, data science and machine learning by providing an interface to prototype difficult solutions quickly in just a few lines of code.
|
|
28
|
+
|
|
29
|
+
## Installation
|
|
30
|
+
|
|
31
|
+
Install the `weco` package simply by calling this in your terminal of choice:
|
|
32
|
+
```bash
|
|
33
|
+
pip install weco
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Features
|
|
37
|
+
|
|
38
|
+
- The **build** function enables quick and easy prototyping of new functions via LLMs through just natural language. We encourage users to do this through our [web console](https://weco-app.vercel.app/function) for maximum control and ease of use, however, you can also do this through our API as shown in [here](examples/).
|
|
39
|
+
- The **query** function allows you to test and use the newly created function in your own code.
|
|
40
|
+
|
|
41
|
+
We provide both services in two ways:
|
|
42
|
+
- `weco.WecoAI` client to be used when you want to maintain the same client service across a portion of code. This is better for dense service usage. An example is shown [here](examples/example_client.py).
|
|
43
|
+
- `weco.query` and `weco.build` to be used when you only require sparse usage. An example is provided [here](examples/example_functional.py).
|
|
44
|
+
|
|
45
|
+
## Usage
|
|
46
|
+
|
|
47
|
+
When using the WeCo API, you will need to set the API key:
|
|
48
|
+
You can find/setup your API key [here](https://weco-app.vercel.app/account) by navigating to the API key tab. Once you have your API key, you may pass it to the `weco` client using the `api_key` argument input or set it as an environment variable such as:
|
|
49
|
+
```
|
|
50
|
+
export WECO_API_KEY=<YOUR_WECO_API_KEY>
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Example
|
|
54
|
+
|
|
55
|
+
We create a function on the [web console](https://weco-app.vercel.app/function) for the following task:
|
|
56
|
+
> "I want to evaluate the feasibility of a machine learning task. Give me a json object with three keys - 'feasibility', 'justification', and 'suggestions'."
|
|
57
|
+
|
|
58
|
+
Now, you're ready to query this function anywhere in your code!
|
|
59
|
+
|
|
60
|
+
```python
|
|
61
|
+
from weco import query
|
|
62
|
+
response = query(
|
|
63
|
+
fn_name=fn_name,
|
|
64
|
+
fn_input="I want to train a model to predict house prices using the Boston Housing dataset hosted on Kaggle.",
|
|
65
|
+
)
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Enjoy $f$(👷♂️)!
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
requests
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
weco-0.0.1/PKG-INFO
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: weco
|
|
3
|
-
Version: 0.0.1
|
|
4
|
-
Summary: Python package for using Weco's service
|
|
5
|
-
Home-page: https://github.com/wecoai/weco-python
|
|
6
|
-
Author: Yuxiang Wu
|
|
7
|
-
Author-email: Yuxiang Wu <yuxiang@weco.ai>
|
|
8
|
-
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
-
Classifier: Operating System :: OS Independent
|
|
11
|
-
Requires-Python: >=3.8
|
|
12
|
-
Description-Content-Type: text/markdown
|
|
13
|
-
|
|
14
|
-
# Weco Package
|
|
15
|
-
|
|
16
|
-
This is a Python package for using Weco AI service.
|
|
17
|
-
|
|
18
|
-
## Installation
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
pip install wec o
|
|
22
|
-
|
weco-0.0.1/README.md
DELETED
weco-0.0.1/pyproject.toml
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
[build-system]
|
|
2
|
-
requires = ["setuptools", "wheel"]
|
|
3
|
-
build-backend = "setuptools.build_meta"
|
|
4
|
-
|
|
5
|
-
[project]
|
|
6
|
-
name = "weco"
|
|
7
|
-
version = "0.0.1"
|
|
8
|
-
authors = [
|
|
9
|
-
{ name = "Yuxiang Wu", email = "yuxiang@weco.ai" },
|
|
10
|
-
]
|
|
11
|
-
description = "Python package for using Weco's service"
|
|
12
|
-
readme = "README.md"
|
|
13
|
-
requires-python = ">=3.8"
|
|
14
|
-
classifiers = [
|
|
15
|
-
"Programming Language :: Python :: 3",
|
|
16
|
-
"License :: OSI Approved :: MIT License",
|
|
17
|
-
"Operating System :: OS Independent",
|
|
18
|
-
]
|
weco-0.0.1/setup.py
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
from setuptools import setup, find_packages
|
|
2
|
-
|
|
3
|
-
setup(
|
|
4
|
-
name='weco',
|
|
5
|
-
version='0.0.1',
|
|
6
|
-
description='Weco AI Python package',
|
|
7
|
-
long_description=open('README.md').read(),
|
|
8
|
-
long_description_content_type='text/markdown',
|
|
9
|
-
author='Yuxiang Wu',
|
|
10
|
-
author_email='yuxiang@weco.ai',
|
|
11
|
-
url='https://github.com/wecoai/weco-python',
|
|
12
|
-
packages=find_packages(),
|
|
13
|
-
classifiers=[
|
|
14
|
-
'Programming Language :: Python :: 3',
|
|
15
|
-
'License :: OSI Approved :: MIT License',
|
|
16
|
-
'Operating System :: OS Independent',
|
|
17
|
-
] ,
|
|
18
|
-
python_requires='>=3.8',
|
|
19
|
-
)
|
|
20
|
-
|
weco-0.0.1/weco/__init__.py
DELETED
|
File without changes
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: weco
|
|
3
|
-
Version: 0.0.1
|
|
4
|
-
Summary: Python package for using Weco's service
|
|
5
|
-
Home-page: https://github.com/wecoai/weco-python
|
|
6
|
-
Author: Yuxiang Wu
|
|
7
|
-
Author-email: Yuxiang Wu <yuxiang@weco.ai>
|
|
8
|
-
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
-
Classifier: Operating System :: OS Independent
|
|
11
|
-
Requires-Python: >=3.8
|
|
12
|
-
Description-Content-Type: text/markdown
|
|
13
|
-
|
|
14
|
-
# Weco Package
|
|
15
|
-
|
|
16
|
-
This is a Python package for using Weco AI service.
|
|
17
|
-
|
|
18
|
-
## Installation
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
pip install wec o
|
|
22
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
weco
|
|
File without changes
|
|
File without changes
|