Lye - Tools package for Tyler AI framework
Project description
Lye - Tools Package for Tyler
Lye is a collection of tools that extend Tyler's capabilities, providing integrations with various services and utilities.
Installation
pip install slide-lye
or with uv:
uv add slide-lye
Available Tools
Web Tools
fetch_page: Fetch and extract content from web pagesdownload_file: Download files from URLsextract_text_from_html: Extract text content from HTMLfetch_html: Fetch raw HTML content
Slack Tools
post_message: Post messages to Slack channelsget_channel_history: Get message history from channelsget_users: Get list of users in workspacesearch_messages: Search for messagesupload_file: Upload files to Slacksummarize_channel: Get AI summary of channel activity
Command Line Tools
execute_command: Execute shell commands safelylist_directory: List directory contentssearch_files: Search for files by pattern
Notion Tools
search_pages: Search Notion pagescreate_page: Create new Notion pagesupdate_page: Update existing pagesget_page: Get page contentdelete_page: Delete pageslist_databases: List available databasesquery_database: Query database contentscreate_database_item: Create database entriesupdate_database_item: Update database entries
Image Tools
generate_image: Generate images using AIanalyze_image: Analyze image content
Audio Tools
text_to_speech: Convert text to speechspeech_to_text: Convert speech to text
File Tools
read_file: Read various file formatswrite_file: Write content to filesread_pdf: Extract text from PDFsprocess_csv: Read and analyze CSV filesread_json: Read JSON fileswrite_json: Write JSON files
Browser Tools
browser_automate: Automate browser interactionsbrowser_screenshot: Take screenshots of web pages
Usage with Tyler
from tyler import Agent
# Use all tools from a module
agent = Agent(tools=["web", "slack"])
# Use specific tools
agent = Agent(tools=["web:fetch_page,download_file"])
# Import tools directly
from lye import WEB_TOOLS, SLACK_TOOLS
agent = Agent(tools=WEB_TOOLS + SLACK_TOOLS)
Development
# Install with dev dependencies
uv sync --dev
# Run tests
uv run pytest
# Run specific test
uv run pytest tests/test_web.py
License
MIT License - see LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
slide_lye-0.2.2.tar.gz
(28.8 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
slide_lye-0.2.2-py3-none-any.whl
(32.3 kB
view details)
File details
Details for the file slide_lye-0.2.2.tar.gz.
File metadata
- Download URL: slide_lye-0.2.2.tar.gz
- Upload date:
- Size: 28.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71fe36c87ce91ba28cda93970ba292ec848f027c4844536471a51c8a939af5c6
|
|
| MD5 |
a5beb60b79928dc232edbf2dec0e8ab3
|
|
| BLAKE2b-256 |
7cc97264e86b7aaf761fef028e5f034931ebadbd850b227a9164b6a31af2fb41
|
File details
Details for the file slide_lye-0.2.2-py3-none-any.whl.
File metadata
- Download URL: slide_lye-0.2.2-py3-none-any.whl
- Upload date:
- Size: 32.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8eecced0eda3933aa5b8dd128c55ea2fab6b9c110a3e22c7ac0c6966670a2e87
|
|
| MD5 |
f4723c720d4371c75f875c237a03ea1b
|
|
| BLAKE2b-256 |
371d06832c076c0de3444eb54af1cdc472e39298a437e2d40b1180e5bcd3ac87
|