Skip to main content

Tootle: Revolutionizing Development with GPT 🚀

Welcome to **Tootle** 🌟, a transformative project inspired by the engineering philosophies of Google. The name "Tootle" is a play on words, drawing inspiration from the phonetic sound of "Google" 🌍 and the Chinese term "秃头" (which means bald) 🤖. It captures our ambition to revolutionize software engineering by letting GPT handle significant portions of large-scale coding projects.

Quick Start 🏁

To get started with our devbots, simply initiate them with your natural language requirement and they will serve you with detailed results:

from tootle import Developer, LLMResponse

response: LLMResponse = Developer().serve(user_message="Write a function to reverse a string")
print(response.code)
print(response.explanation)

Key Features

Seamless Devbot Communication 🤝

Our GPT devbots can interact seamlessly, creating and understanding interrelated demand files. For instance, APIDocumentationArchitect generates an api-description.json that can be interpreted and processed by InterfaceDesigner.

Example:

import json
import pathlib
from tootle import InterfaceDesigner, CodeWriter

# Load the API designs
design_json = json.load(open("./design.json", "r"))

# Design the APIs using the InterfaceDesigner
interface_designer = InterfaceDesigner()

for api_design in design_json:
    api_file_path = pathlib.Path(api_design['api_file_name'])
    api_name = api_design['api_name']
    api_task_description = api_design['api_task_description']

    print(f"Designing API: {api_name}...")
    result = interface_designer.serve(api_task_description)
    print(f"API {api_name} designed. Explanation: {result.explanation}. Code written to {api_file_path}")

    CodeWriter.write_code(api_file_path, result.code)

The Autom Format 📜

Tootle is built around the innovative antom format. This novel configuration format enables humans to fine-tune the input, output, objectives, and formatting alignment of GPT bots. By ensuring meticulous architectural design through the antom format, we guarantee impressive GPT chaining performance.

Creating a new bot is as simple as defining a new .autom/[role].json file:

{
  "title": "API Documentation Architect",
  "job-description": "Conceptualize, design, and outline a comprehensive series of API descriptions in JSON format, capturing the essence of intended functionalities without delving into code details.",
  "model": "gpt-3.5-turbo-16k-0613",
  "extra-guidance-requirements": [
    "Adhere to a structured JSON format for clarity.",
    "Designs should be scalable and consider future modifications.",
    "Maintain consistency in naming conventions and hierarchy.",
    "Ensure thoroughness and precision in the API design."
  ],
  "extra-format-requirements": [
    "For JSON representations, start with 'MAGIC$$$', and conclude with '$$$'.",
    "For additional explanations, begin with 'MAGIC%%%', and finish with '%%%'."
  ],
  "examples": [
    {
      "query": "Design an API structure for a cloud-based file storage system.",
      "response": "MAGIC$$$\n{\n  \"apis\": [\n    {\n      \"api_name\": \"FileManagementAPI\",\n      \"api_task_description\": \"Handle file uploads, downloads, and metadata operations.\"\n    },\n    {\n      \"api_name\": \"UserManagementAPI\",\n      \"api_task_description\": \"Manage user registrations, permissions, and activity logs.\"\n    },\n    {\n      \"api_name\": \"StorageAnalyticsAPI\",\n      \"api_task_description\": \"Provide insights into storage usage, file access patterns, and potential optimizations.\"\n    },\n    {\n      \"api_name\": \"IntegrationAPI\",\n      \"api_task_description\": \"Facilitate third-party app integrations and handle API key management.\"\n    }\n  ]\n}$$$\nMAGIC%%%\nThe APIs designed for the cloud-based file storage system cover key functionalities, ensuring a comprehensive solution. Note: This example illustrates the structure and is not exhaustive.%%%"
    }
  ]
}

For a detailed proposal on the antom format, visit our GitHub discussion.

Collaboration with proj-bolt 🔩

Tootle is envisioned to integrate seamlessly with proj-bolt, enabling intelligent code generation in the future.

Future Roadmap (TODO) 🗺️

  1. Interactive Code Generation Elevate from singular responses to an engaging interactive code creation experience.
  2. Expanded Devbot Mesh: Develop an array of specialized devbots to form an intricate development web.

Conclusion 🎉

Tootle is your gateway to future-oriented, GPT-powered software development. Join us on this journey and experience the transformative potential of GPT in coding.

Contributions, ideas, and feedback are always welcome!

Metadata

Release files for tootle 0.0.1.2

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

Source distribution (sdist)

Source distribution for tootle 0.0.1.2
File Size Uploaded Provenance Actions
tootle-0.0.1.2.tar.gz 10.5 kB Without provenance Details for tootle-0.0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 22.9 kB

Release files / tootle-0.0.1.2.tar.gz

Download URL tootle-0.0.1.2.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a3b75ea44cd560d7a0aa7075d54ef082293c1b2623a31d5211d040f4c84d4cbe
BLAKE2b-256 checksum
How to use checksums
3b0a13a124dc0ae2f5ca42276cfd51325991bc238397f504621126935981f2d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release files / tootle-0.0.1.2-py3-none-any.whl

Download URL tootle-0.0.1.2-py3-none-any.whl
Size 12.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe1b258fd62f12131592ebc45230283bb3c3a1543ff24e2fadb7b772fccf940c
BLAKE2b-256 checksum
How to use checksums
652120b6dbf935a385d89ae2d191c0c1ae08e4b2124cd994b2aad32d2be8b014
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Security for tootle 0.0.1.2

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.

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