A Scoop bucket for Windows users to install tools from Python Ankara community.
This is the Windows equivalent of our Homebrew tap for macOS/Linux users.
First, install Scoop if you haven't already:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
irm get.scoop.sh | iexThen install packages directly:
scoop install python-ankara-toplulugu/ossinOr add the bucket first for easier access:
scoop bucket add python-ankara-toplulugu https://github.com/python-ankara-toplulugu/scoop-bucket
scoop install ossin| Package | Description | Install |
|---|---|---|
| ossin | A beautiful system information utility with Rich terminal output | scoop install python-ankara-toplulugu/ossin |
After installation, you can use ossin directly:
# Show system information
ossin
# Show help
ossin --help
# Show version
ossin --versionThis bucket uses pipx to install Python CLI tools in isolated environments. When you install a package:
- Scoop automatically installs
pipxas a dependency - The package is installed from PyPI via pipx
- The CLI command becomes available in your PATH
Manifests are kept up-to-date through two complementary workflows:
The auto-update.yml workflow runs weekly on Mondays at 9:00 UTC. It checks all packages against PyPI and creates a PR if updates are found.
The update-manifest-dispatch.yml workflow receives repository_dispatch events from package repositories. This enables instant updates when a new version is published to PyPI.
[package repo] [scoop-bucket]
│ │
│ Release published │
▼ │
repository_dispatch ─────────────────►│
(package, version) ▼
update-manifest-dispatch.yml
│
▼
Creates PR
If you maintain a package in this bucket, you can configure your repository to automatically trigger manifest updates after publishing to PyPI.
For Humans
If you use an LLM assistant (like Claude, ChatGPT, etc.), you can ask it to set this up for you:
Set up automatic Scoop bucket updates for my Python package repository. Follow the instructions at: https://github.com/python-ankara-toplulugu/scoop-bucket
-
Create a GitHub Personal Access Token (PAT)
- Go to GitHub Settings > Developer settings > Personal access tokens
- Create a new token with
reposcope - Copy the token value
-
Add the token to your package repository
- Go to your package repo > Settings > Secrets and variables > Actions
- Create a new secret named
SCOOP_BUCKET_TOKEN - Paste your PAT as the value
-
Create the workflow file
- Create
.github/workflows/update-scoop-manifest.ymlin your package repository:
- Create
name: Update Scoop Manifest
on:
release:
types: [published]
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Trigger Scoop bucket update
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.SCOOP_BUCKET_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/python-ankara-toplulugu/scoop-bucket/dispatches \
-d '{"event_type":"update-manifest","client_payload":{"package":"YOUR_PACKAGE_NAME"}}'Replace YOUR_PACKAGE_NAME with your actual package name (e.g., ossin).
For LLM Agents
- Package repository with GitHub Actions enabled
- Write access to create secrets and workflow files
- Package name matching the manifest filename in
bucket/directory
-
Create a GitHub Personal Access Token
- Navigate to https://github.com/settings/tokens
- Generate new token (classic) with
reposcope - Note: Token will be used to trigger repository_dispatch events
-
Store the token as a repository secret
- In the package repository, go to Settings > Secrets and variables > Actions
- Create secret:
SCOOP_BUCKET_TOKEN=<PAT_VALUE>
-
Create the workflow file at
.github/workflows/update-scoop-manifest.yml:
name: Update Scoop Manifest
on:
release:
types: [published]
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Trigger Scoop bucket update
env:
PACKAGE_NAME: "YOUR_PACKAGE_NAME" # Replace with actual package name
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.SCOOP_BUCKET_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/python-ankara-toplulugu/scoop-bucket/dispatches \
-d "{\"event_type\":\"update-manifest\",\"client_payload\":{\"package\":\"$PACKAGE_NAME\"}}"{
"event_type": "update-manifest",
"client_payload": {
"package": "string (required) - Package name matching bucket/*.json",
"version": "string (optional) - Specific version, defaults to latest from PyPI",
"pypi_name": "string (optional) - PyPI package name if different from package name"
}
}To update a package to the latest version:
scoop update ossinscoop uninstall ossinSee CONTRIBUTING.md for guidelines on adding new packages to this bucket.
MIT License - see LICENSE for details.