A simple tool class for schema generation.
Project description
sap-tool
A simple Python tool class for schema generation from function signatures.
Installation
pip install sap-tool
Usage
from sap_tool import Tool
def foo(a: int, b: str):
pass
tool = Tool(foo, "foo", "A test function.")
schema = tool.formulate_tool_schema()
print(schema)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sap_tool-0.1.0.tar.gz
(1.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sap_tool-0.1.0.tar.gz.
File metadata
- Download URL: sap_tool-0.1.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58f1404d7e8ef9ad279783cf50db45320a6a8cae7cdfda9734e8ccfeb14b47ee
|
|
| MD5 |
a662dff8925f42eb38c82a12682f8742
|
|
| BLAKE2b-256 |
b07b677c8cd663369bd5ce9c0ff48623d866b634b87e7a51cea823807f77e9f9
|
File details
Details for the file sap_tool-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sap_tool-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc6e2b02dc7fe6f82083b3778a450cd6c34484683f0371c0e992efe6f267f104
|
|
| MD5 |
c383b9d9fedce071133cb9ba44e3f1f4
|
|
| BLAKE2b-256 |
99f6829c369076362ee4714b4885bbc812b1a1b3ed3c72b8ea7921ca54ec3a31
|