Skip to main content

Metatool

A Python package that provides a simple interface to metatool functionality.

Installation

pip install metatool

Usage

from metatool import MetaTool

# Initialize with configuration
metatool = MetaTool(
    openai_api_key="your-api-key",  # Optional: can also use environment variable
    model_name="gpt-4o-mini",     # Optional: defaults to gpt-4o-mini
    temperature=0.0,                  # Optional: defaults to 0.0
)

# Process instructions
response = metatool.run("Your instructions here")
print(response)

Configuration Options

The MetaToolConfig class, which inherits from BaseModel, defines the following configuration options for MetaTool:

  • openai_api_key: Optional[str] - Your OpenAI API key (default: None)
  • model_name: str - The model to use (default: "gpt-4o-mini")
  • temperature: float - Model temperature setting (default: 0.0)
  • verbose: bool - Enable verbose output (default: False)
  • root_dir: str - Root directory for MetaTool files (default: "./metatool_tmp")
  • api_key: Optional[str] - API key for storage service (default: None)
  • database_path: str - SQLite database path relative to root_dir (default: "metatool.db")

Features

  • Class-based interface with configuration options
  • Simple method for processing instructions
  • Customizable model and tool settings

Requirements

  • Python 3.9+
  • Dependencies listed in setup.py

Metadata

Release files for metatool 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for metatool 0.0.1
File Size Uploaded Provenance
metatool-0.0.1.tar.gz 12.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for metatool 0.0.1
File Interpreter ABI Platform
metatool-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 25.7 kB

Release files / metatool-0.0.1.tar.gz

Download URL metatool-0.0.1.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
794088d9b4d7c965e0a80f17e52a30787c5972b8545f812810fa277e8cefb5f6
BLAKE2b-256 checksum
How to use checksums
bdca06fb0326e58211b5e31b96833b6e3889a43bcb0c92c14126ff8b68cb2df2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.13

Release files / metatool-0.0.1-py3-none-any.whl

Download URL metatool-0.0.1-py3-none-any.whl
Size 13.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a82bb4c91d2f16785f6de47d6a31e93c3dabab6150fd29b885d571621804d26d
BLAKE2b-256 checksum
How to use checksums
011a3b4c94e67a6e81a3481fad651480a4c11fc20e0197191779f41bdfa4241b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.13

Security for metatool 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page