Team Ai
Datasetpublic

NickIBrody/powershell-code-corpus

PowerShell Code Corpus A dataset of PowerShell scripts collected from public GitHub repositories. Content 4,632 files from popular PowerShell repositories on GitHub Sourced from repos with the highest star counts (quality signal) Each record contains the raw script text plus metadata Fields Field Description source Always github repo owner/repo slug repo_url Full GitHub URL path File path within the repo language Always… See the full description on the dataset page: https://huggingface.co/datasets/NickIBrody/powershell-code-corpus.

sourceHugging Faceotherupdated 5mo agoView on Hugging Face
0likes47downloads
Dataset Card

PowerShell Code Corpus

A dataset of PowerShell scripts collected from public GitHub repositories.

Content

  • —4,632 files from popular PowerShell repositories on GitHub
  • —Sourced from repos with the highest star counts (quality signal)
  • —Each record contains the raw script text plus metadata

Fields

FieldDescription
sourceAlways github
repoowner/repo slug
repo_urlFull GitHub URL
pathFile path within the repo
languageAlways PowerShell
licenseSPDX license identifier
starsGitHub star count at collection time
refBranch name
size_bytesFile size in bytes
textRaw script content

Usage

python
from datasets import load_dataset

ds = load_dataset("powershell-code-corpus", split="train")

License

Individual files retain their original licenses as specified in the license field.