Python files of a repo, 10 files
One row per matching file, filtered by pattern.
Updated November 30, 2026
What this example returns
This example returns up to 10 files.
The dataset’s “Files” view shows 7 columns: Repository, Path, Language, Lines, Bytes, Tokens, and GitHub. See every output field.
What each setting does
The input this example runs GitHub Repo to LLM Context with. “Try this input” opens it in the console, where you can run it as-is or change any field first.
- GitHub repositories
repoUrls https://github.com/pallets/itsdangerous
Public GitHub repositories, one per line: https://github.com/owner/repo, owner/repo, or a folder or branch link such as https://github.com/owner/repo/tree/main/src. Each repository becomes one context document.
- Include patterns
includePatterns *.py
Optional glob patterns (.gitignore syntax). Only matching files are kept, e.g. *.py, src/**, docs/**/*.md.
- Max files per repository
maxFilesPerRepo 10
Stop adding files after this many (0 = no limit). The document says when it was truncated. With Dataset rows set to Files or Both, this caps the file rows per repository; the repository row comes on top (10 gives up to 11 rows per repository).
Default: 5000 → this example uses 10
- Dataset rows
datasetRows Files (summary plus one row per file)
The full document is always saved to the key-value store with a download link. Choose what the dataset holds. 'Summary only' keeps the output compact for AI agents.
Default: Document (one row per repository, with the full text) → this example uses Files (summary plus one row per file)
{
"repoUrls": [
"https://github.com/pallets/itsdangerous"
],
"includePatterns": [
"*.py"
],
"datasetRows": "files",
"maxFilesPerRepo": 10
}What it costs
You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.
- Repository convertedfrom $0.00476One GitHub repository (or folder) converted into an LLM context document. Failed repositories are free.
- 10,000 tokens of outputfrom $0.0004504Charged per started block of 10,000 tokens in each converted document (o200k_base tokenizer).
When to use this example
From the GitHub Repo to LLM Context readme:
How big can a repository be?
Archives up to 300 MB by default (adjustable up to 2 GB). Documents larger than about 3 MB are split into several dataset rows; the download link always holds the complete file.
Known limit
Public GitHub repositories only (no GitLab, Bitbucket or private repositories yet).
Other ways to run GitHub Repo to LLM Context
- Files of the itsdangerous repo, 10 files
- 2 repos as XML context, 15 files eachConvert GitHub repositories into one LLM-ready context file.
About GitHub Repo to LLM Context
Turn public GitHub repositories into one LLM-ready Markdown or XML document: directory tree, every source file in language-tagged code fences, exact token counts. Branches, folders, glob filters. No token or login needed.
- Price:
- From $4.76 / 1,000 results
- Developer:
- Querystone
- Categories:
- AI, Developer tools
Related actors
Latest articles
GuidesWeb Scraper Chrome Extensions: 4 Good Ones, and When to Use a Cloud Scraper
The best web scraper Chrome extensions in 2026 (Web Scraper, Instant Data Scraper, Data Miner and Evomi Web Data), what each is good at, where every extension stops, and how a cloud scraper takes over for schedules, thousands of pages and API access.
Read the article
AI agents12 Best MCP Servers in 2026: Web Data, Code, Docs and Browsers
The best MCP servers in 2026, grouped by job: web data, documentation, code, browsers, errors, databases and the official reference servers. Each with its hosted URL or install command, how it signs in, and the caveats its own README states.
Read the article
Guidesn8n Puppeteer Node: Puppeteer and Playwright in n8n Without Self-Hosting Chrome
The n8n Puppeteer node needs Chromium inside your n8n container and installs only on self-hosted n8n. How it and the Playwright nodes install, where they break, and how to run the same browser scrape on Scrape.ly from n8n instead, with a real tested run.
Read the article
The internet is full of data.
Start owning yours.
Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.