Tiny Python CLI to automate GitHub labels and projects.
Project description
fown
Tiny Python CLI to automate GitHub labels and projects using the GitHub CLI.
list of contents
- Quick start
- make archive repo
- sync labels from archive
- use script from archive
Features
- Create, update, and sync GitHub labels easily
- Manage GitHub projects automatically
- Batch operations via simple config files
- Fast and minimal setup
- Powered by GitHub CLI (
gh)
Quick Start
via uv
- clear all labels in repo issue
uvx fown labels clear-all
- add default labels in repo issue
uvx fown labels apply
via pip
pip install fown
# Apply labels from a file
fown labels apply --repo-url https://github.com/your-username/your-repo --file labels.yaml
# Sync project settings
fown projects sync --repo-url https://github.com/your-username/your-repo --config project_config.yaml
# clear all labels
fown labels clear-all
make archive repo
# default: create private repo
fown make-fown-archive
# create public repo
fown make-fown-archive --public
sync labels from archive
# sync labels by default labels
fown labels sync
# sync labels from repo
fown labels sync --archive
use script from archive
fown script use
Requirements
- Python 3.8+
- GitHub CLI (
gh) installed and authenticated
Install GitHub CLI:
https://cli.github.com/
Usage
You can use fown commands to:
- Batch create/update labels
- Manage multiple repositories at once
- Sync project settings from templates
More usage examples are coming soon!
Docs
Pypi for TestServer
Pypi for MainServer
Github
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fown-0.1.6.tar.gz
(18.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
fown-0.1.6-py3-none-any.whl
(26.2 kB
view details)
File details
Details for the file fown-0.1.6.tar.gz.
File metadata
- Download URL: fown-0.1.6.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c588bf8a0bd6759f0e4fbfa23b7ba1692134691d77769c5cb53791642a956cf7
|
|
| MD5 |
8f22ae740a100579e25d13b4a4798781
|
|
| BLAKE2b-256 |
b378f14773e75c64020b2bed4e9ce59b06f06afcd8d569b4587e15d257047253
|
File details
Details for the file fown-0.1.6-py3-none-any.whl.
File metadata
- Download URL: fown-0.1.6-py3-none-any.whl
- Upload date:
- Size: 26.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
512524f7fe511c565b005220185d2b5cc6f0bab9a018f5c869e794a878fb40c8
|
|
| MD5 |
6b0da9c7b61edb955c6a898045042530
|
|
| BLAKE2b-256 |
c1342bbac70863e35ea9958a36c6221d2d279b100cf2030c29996c417a1fe7f5
|