Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- code
|
| 7 |
+
- powershell
|
| 8 |
+
- github
|
| 9 |
+
pretty_name: PowerShell Code Corpus
|
| 10 |
+
size_categories:
|
| 11 |
+
- 1K<n<10K
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# PowerShell Code Corpus
|
| 15 |
+
|
| 16 |
+
A dataset of PowerShell scripts collected from public GitHub repositories.
|
| 17 |
+
|
| 18 |
+
## Content
|
| 19 |
+
|
| 20 |
+
- **4,632 files** from popular PowerShell repositories on GitHub
|
| 21 |
+
- Sourced from repos with the highest star counts (quality signal)
|
| 22 |
+
- Each record contains the raw script text plus metadata
|
| 23 |
+
|
| 24 |
+
## Fields
|
| 25 |
+
|
| 26 |
+
| Field | Description |
|
| 27 |
+
|---|---|
|
| 28 |
+
| `source` | Always `github` |
|
| 29 |
+
| `repo` | `owner/repo` slug |
|
| 30 |
+
| `repo_url` | Full GitHub URL |
|
| 31 |
+
| `path` | File path within the repo |
|
| 32 |
+
| `language` | Always `PowerShell` |
|
| 33 |
+
| `license` | SPDX license identifier |
|
| 34 |
+
| `stars` | GitHub star count at collection time |
|
| 35 |
+
| `ref` | Branch name |
|
| 36 |
+
| `size_bytes` | File size in bytes |
|
| 37 |
+
| `text` | Raw script content |
|
| 38 |
+
|
| 39 |
+
## Usage
|
| 40 |
+
|
| 41 |
+
```python
|
| 42 |
+
from datasets import load_dataset
|
| 43 |
+
|
| 44 |
+
ds = load_dataset("powershell-code-corpus", split="train")
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
## License
|
| 48 |
+
|
| 49 |
+
Individual files retain their original licenses as specified in the `license` field.
|