Skip to main content

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.1.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sap_tool-0.1.1-py3-none-any.whl (1.2 kB view details)

Uploaded Python 3

File details

Details for the file sap_tool-0.1.1.tar.gz.

File metadata

  • Download URL: sap_tool-0.1.1.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for sap_tool-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b8a77471a8cdfee3ae406a781fe9b4e9af26ffe5a41a0846ac76a95c017d0143
MD5 ff49a936e49f0a566c9259e19863fa76
BLAKE2b-256 0d80b6828902f1b6d431af8ba28fd183f4f9a3cbcf00235f2986e76cdcbeef2e

See more details on using hashes here.

File details

Details for the file sap_tool-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: sap_tool-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 1.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for sap_tool-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 47f14f0a6df1820aba70fa2897fcb74d9e30558fddc666ddd6d8b073b7566110
MD5 d33e67e0dc3215ab01c48c7a823615c9
BLAKE2b-256 4674483b02cfc1db19a81c4b26ab18ec0709a00f6ff53f40dab2c081382cd2b7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page