Skip to content

Commit 3040eb0

Browse files
committed
Release 0.0.44
1 parent 6cd7a6f commit 3040eb0

File tree

405 files changed

+47333
-9243
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

405 files changed

+47333
-9243
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ dist/
22
.mypy_cache/
33
__pycache__/
44
poetry.toml
5-
.ruff_cache/

LICENSE

-201
This file was deleted.

README.md

+22-58
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,9 @@
1-
<h3 align="center">
2-
<img src="https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/cdc58fe0-2da1-11ef-84df-02420a0001f4/githubbanner.png"
3-
/>
4-
</h3>
5-
<p align="center">
6-
<a href="https://gooey.ai">🏠 Homepage</a> ·
7-
<a href="https://gooey.ai/explore">👾 Explore Workflows</a> ·
8-
<a href="https://gooey.ai/docs">📚 Docs</a> ·
9-
<a href="https://gooey.ai/api">🤖 API</a> ·
10-
<a href="https://gooey.ai/discord">🛟 Discord</a> ·
11-
<a href="https://gooey.ai/account">💃🏾 Start Building</a>
12-
</p>
13-
14-
<div>
15-
<p align="center">
16-
<a
17-
href="https://x.com/GooeyAI">
18-
<img src="https://img.shields.io/badge/X/Twitter-000000?style=for-the-badge&logo=x&logoColor=white" />
19-
</a>
20-
<a href="https://in.linkedin.com/company/gooeyai">
21-
<img src="https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white" />
22-
</a>
23-
<a href="https://gooey.ai/discord">
24-
<img src="https://img.shields.io/badge/Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white" />
25-
</a>
26-
<a href="https://www.youtube.com/@gooeyai">
27-
<img src="https://img.shields.io/badge/YouTube-FF0000?style=for-the-badge&logo=youtube&logoColor=white" />
28-
</a>
29-
</p>
30-
</div>
31-
32-
[Gooey.AI](http://gooey.ai/) is the low-code orchestration platform with **discoverable workflows** & **unified billing to all of GenAI universe.**
33-
341
# Gooey Python Library
352

36-
The Gooey Python library provides convenient access to the Gooey API from Python.
37-
38-
[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-SDK%20generated%20by%20Fern-brightgreen)](https://github.com/fern-api/fern)
3+
[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2FGooeyAI%2Fpython-sdk)
394
[![pypi](https://img.shields.io/pypi/v/gooeyai)](https://pypi.python.org/pypi/gooeyai)
405

41-
# 🤖🐍📦 What Gooey.AI SDK offers?
42-
43-
Gooey.AI simplifies building AI workflows by:
44-
- Offering high and flexible interoperability
45-
- Single API key to run several AI workflows
46-
- Hosting private and open-source AI models - LLMs, ASR, Image and Animation
6+
The Gooey Python library provides convenient access to the Gooey API from Python.
477

488
## 🧑‍💻 Who is this for and why would I want to use it?
499

@@ -66,14 +26,16 @@ pip install gooeyai
6626
Instantiate and use the client with the following:
6727

6828
```python
69-
from gooey import AnimationPrompt, Gooey
29+
from gooey import Gooey
7030

7131
client = Gooey(
7232
api_key="YOUR_API_KEY",
7333
)
74-
client.lipsync(
75-
input_face="./path/to/face.mp4",
76-
input_audio="./path/to/audio.mp3",
34+
client.bulk_runner(
35+
documents=["documents"],
36+
run_urls=["run_urls"],
37+
input_columns={"key": "value"},
38+
output_columns={"key": "value"},
7739
)
7840
```
7941

@@ -84,17 +46,19 @@ The SDK also exports an `async` client so that you can make non-blocking calls t
8446
```python
8547
import asyncio
8648

87-
from gooey import AnimationPrompt, AsyncGooey
49+
from gooey import AsyncGooey
8850

8951
client = AsyncGooey(
9052
api_key="YOUR_API_KEY",
9153
)
9254

9355

9456
async def main() -> None:
95-
await client.lipsync(
96-
input_face="./path/to/face.mp4",
97-
input_audio="./path/to/audio.mp3",
57+
await client.bulk_runner(
58+
documents=["documents"],
59+
run_urls=["run_urls"],
60+
input_columns={"key": "value"},
61+
output_columns={"key": "value"},
9862
)
9963

10064

@@ -110,7 +74,7 @@ will be thrown.
11074
from gooey.core.api_error import ApiError
11175

11276
try:
113-
client.animate(...)
77+
client.bulk_runner(...)
11478
except ApiError as e:
11579
print(e.status_code)
11680
print(e.body)
@@ -128,14 +92,12 @@ A request is deemed retriable when any of the following HTTP status codes is ret
12892

12993
- [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
13094
- [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
131-
- [502](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502) (Bad Gateway)
132-
- [503](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503) (Service Unavailable)
133-
- [504](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504) (Gateway Timeout)
95+
- [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) (Internal Server Errors)
13496

13597
Use the `max_retries` request option to configure this behavior.
13698

13799
```python
138-
client.animate(..., {
100+
client.bulk_runner(..., {
139101
"max_retries": 1
140102
})
141103
```
@@ -155,7 +117,7 @@ client = Gooey(
155117

156118

157119
# Override timeout for a specific method
158-
client.animate(..., {
120+
client.bulk_runner(..., {
159121
"timeout_in_seconds": 1
160122
})
161123
```
@@ -180,7 +142,9 @@ client = Gooey(
180142
## Contributing
181143

182144
While we value open-source contributions to this SDK, this library is generated programmatically.
183-
184-
Additions made directly to this library would have to be moved over to our generation code, otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest opening an issue first to discuss with us!
145+
Additions made directly to this library would have to be moved over to our generation code,
146+
otherwise they would be overwritten upon the next generated release. Feel free to open a PR as
147+
a proof of concept, but know that we will not be able to merge it as-is. We suggest opening
148+
an issue first to discuss with us!
185149

186150
On the other hand, contributions to the README are always very welcome!

0 commit comments

Comments
 (0)