Skip to main content

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


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.5.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fown-0.1.5-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file fown-0.1.5.tar.gz.

File metadata

  • Download URL: fown-0.1.5.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Windows/11

File hashes

Hashes for fown-0.1.5.tar.gz
Algorithm Hash digest
SHA256 44c6a33afed849a964f91625ef7d6b272fda47af2d31571621eafb3356a19999
MD5 399a48032794c18a74b66835809dea20
BLAKE2b-256 2ce4eda2a61c163ff68411a720514763ed6bc046cea87652943a892d4c015ba6

See more details on using hashes here.

File details

Details for the file fown-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: fown-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Windows/11

File hashes

Hashes for fown-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8679adc8ca76cd72670119f7e4528af065bd4592541d6c350651f8b87ab5acf0
MD5 aebe52d793f382b12363d02ca278bf75
BLAKE2b-256 7906ade66d60a79a94ba8a936cef1c8fc691946bf97df53cd21ed1ed820d2888

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page