Metadata-Version: 2.1
Name: Repo2Prompt
Version: 0.1.2
Summary: Github repo -> prompt string
Home-page: https://github.com/yourusername/my_package
Author: Your Name
Author-email: your.email@example.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.20.0
Requires-Dist: tqdm>=4.60.0
Requires-Dist: aiohttp>=3.9.1

# repo2prompt

This is a simple package with minimal dependencies that turns a Github Repo's contents into a big prompt for long-context models.

this work for repos containing rust, python, javascript containing via the following file types:
'.py', '.ipynb', '.html', '.css', '.js', '.jsx', '.rst', '.md', '.rs'

Example Usage:

```python
from repo2prompt.extraction import extract_repo

extract_repo(github_url="https://github.com/vllm-project/vllm/tree/main", github_token="your_github_token")
```

Or 

```python
from repo2prompt.extraction import extract_repo

extract_repo(github_url="https://github.com/vllm-project/vllm/tree/main") # os.getenv("GITHUB_TOKEN") used internally
```

an important thing to note, github only allows 5000 requests per hour, so be careful

