Automated repo + README from DevOpsAgent
- List public repositories
- Create a new repository
- Initialize a standardized README.md
- Python 3.10+
- PyGithub
-
Export your GitHub token:
- macOS/Linux:
export GITHUB_TOKEN="YOUR_TOKEN" - Windows PowerShell:
$env:GITHUB_TOKEN="YOUR_TOKEN"
- macOS/Linux:
-
Install dependencies:
pip install PyGithub
Run your script that calls the agent methods.
- Keep your token out of source code and git history.