otterapi 0.0.0__py3-none-any.whl
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.
- README.md +26 -0
- otterapi-0.0.0.dist-info/METADATA +54 -0
- otterapi-0.0.0.dist-info/RECORD +5 -0
- otterapi-0.0.0.dist-info/WHEEL +4 -0
- otterapi-0.0.0.dist-info/entry_points.txt +2 -0
README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# 🦦 Otter
|
|
2
|
+
|
|
3
|
+
> *A cute and intelligent OpenAPI client generator that dives deep into your OpenAPIs*
|
|
4
|
+
|
|
5
|
+
**Otter** is a sleek Python library that transforms OpenAPI specifications into clean, type-safe client code.
|
|
6
|
+
|
|
7
|
+
## 🚀 Quick Start
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
# Generate from a pyproject.toml or any of the default config names (otterapi.yml, otterapi.yaml)
|
|
11
|
+
otter generate
|
|
12
|
+
|
|
13
|
+
# Generate from an otterapi config file
|
|
14
|
+
otter generate -c otterapi.yml
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## 📝 Example Config
|
|
18
|
+
|
|
19
|
+
```yaml
|
|
20
|
+
documents:
|
|
21
|
+
- source: https://petstore3.swagger.io/api/v3/openapi.json
|
|
22
|
+
output: petstore_client
|
|
23
|
+
|
|
24
|
+
- source: ./local-users-api.json
|
|
25
|
+
output: users_client
|
|
26
|
+
```
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: otterapi
|
|
3
|
+
Version: 0.0.0
|
|
4
|
+
Summary: A cute little companion that generates type-safe clients from OpenAPI documents.
|
|
5
|
+
Project-URL: Source, https://github.com/danplischke/otter
|
|
6
|
+
Author: Dan Plischke
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
Classifier: Development Status :: 3 - Alpha
|
|
9
|
+
Classifier: Operating System :: MacOS
|
|
10
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
11
|
+
Classifier: Operating System :: POSIX
|
|
12
|
+
Classifier: Operating System :: Unix
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Topic :: Utilities
|
|
20
|
+
Requires-Python: >=3.10
|
|
21
|
+
Requires-Dist: httpx>=0.28.1
|
|
22
|
+
Requires-Dist: openapi-pydantic>=0.5.1
|
|
23
|
+
Requires-Dist: pydantic-settings>=2.11.0
|
|
24
|
+
Requires-Dist: pyyaml>=6.0.3
|
|
25
|
+
Requires-Dist: typer>=0.20.0
|
|
26
|
+
Requires-Dist: universal-pathlib>=0.3.4
|
|
27
|
+
Description-Content-Type: text/markdown
|
|
28
|
+
|
|
29
|
+
# 🦦 Otter
|
|
30
|
+
|
|
31
|
+
> *A cute and intelligent OpenAPI client generator that dives deep into your OpenAPIs*
|
|
32
|
+
|
|
33
|
+
**Otter** is a sleek Python library that transforms OpenAPI specifications into clean, type-safe client code.
|
|
34
|
+
|
|
35
|
+
## 🚀 Quick Start
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
# Generate from a pyproject.toml or any of the default config names (otterapi.yml, otterapi.yaml)
|
|
39
|
+
otter generate
|
|
40
|
+
|
|
41
|
+
# Generate from an otterapi config file
|
|
42
|
+
otter generate -c otterapi.yml
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## 📝 Example Config
|
|
46
|
+
|
|
47
|
+
```yaml
|
|
48
|
+
documents:
|
|
49
|
+
- source: https://petstore3.swagger.io/api/v3/openapi.json
|
|
50
|
+
output: petstore_client
|
|
51
|
+
|
|
52
|
+
- source: ./local-users-api.json
|
|
53
|
+
output: users_client
|
|
54
|
+
```
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
README.md,sha256=t7Fg71m1ZEc8wnxdjA6ibbfKQoi6kA8fxIi54Ckx_0Y,628
|
|
2
|
+
otterapi-0.0.0.dist-info/METADATA,sha256=kmsXbEI4ztGjU3XcZ5psXQEr3eZUyDrABqJSYpXDS0Q,1689
|
|
3
|
+
otterapi-0.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
4
|
+
otterapi-0.0.0.dist-info/entry_points.txt,sha256=vRm02sAdS5QjrXjlKTIr7xKXw821MEQv2bRDp-gJuCE,48
|
|
5
|
+
otterapi-0.0.0.dist-info/RECORD,,
|