We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mufeedvh/code2prompt'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
__init__.py•431 B
"""
code2prompt is a Python library for generating LLM prompts from codebases.
It provides a simple interface to the Rust-based code2prompt library, allowing you to:
- Generate prompts from code directories
- Filter files using glob patterns
- Get git diffs and logs
- Count tokens for different models
"""
# Import the Python wrapper class from the renamed file
from .code2prompt_rs import Code2Prompt
__all__ = ['Code2Prompt']