semvec/pypi-packages huggingface dataset:
gh-utils 1.1.0
GitHub CLI Utilities
License: MIT
Requires Python: <4.0,>=3.10
Keywords: gh, github, utils

# GH Utilities

A collection of useful utilities that work with GitHub CLI `gh`.

- [GH Utilities](#gh-utilities)
  - [Installation](#installation)
    - [pipx](#pipx)
    - [pip](#pip)
  - [Utilities](#utilities)
    - [ghcrar](#ghcrar)
      - [Features](#features)
      - [Usage](#usage)
      - [Screenshots](#screenshots)
    - [ghshs](#ghshs)
      - [Usage](#usage-1)
      - [Screenshot](#screenshot)
  - [Develop](#develop)

## Installation

### pipx

This is the recommended installation method.

```
$ pipx install gh-utils
```

### [pip](https://pypi.org/project/gh-utils/)

```
$ pip install gh-utils
```

## Utilities

### ghcrar

Short for `gh_create_repo_and_add_to_remote`

#### Features
- Custom GitHub instance hostname support with `--hostname`
- Supports both `ssh` and `https` protocols

#### Usage

```
$ ghcrar --help

usage: ghcrar [-h] [-a SUFFIX] [-n GITHUB REPO NAME] [--public] [--overwrite-remote-origin] [-H {ssh,https}] [-p PROTOCOL] [-S] [-V]

Create a GitHub repo with gh and add it as a remote

options:
  -h, --help            show this help message and exit
  -a SUFFIX, --append SUFFIX
                        String to append to the repo name (default: None)
  -n GITHUB REPO NAME, --name GITHUB REPO NAME
                        The string to use as GitHub repo name, or <user|org>/<repo-name> with a slash (default: None)
  --public              Create a public repository (default: False)
  --overwrite-remote-origin, --force
                        Overwrites remote origin if exists (default: False)
  -H {ssh,https}, --hostname {ssh,https}
                        GitHub hostname, default to use the first entry in hosts.yml (default: github.com)
  -p PROTOCOL, --protocol PROTOCOL
                        git protocol (default: ssh)
  -S, --no-set-default  Do not run `gh repo set-default` (default: False)
  -V, --version         show program's version number and exit
```

#### Screenshots

![ghcrar-public](images/ghcrar-public.png)

![](images/ghcrar-dupe-url-and-set-default.png)


### ghshs

<!-- cSpell:disable -->
**gh** **s**witch between **h**ttps and **s**sh
<!-- cSpell:enable -->

#### Usage

```
$ ghshs --help

usage: ghshs [-h] [-r REMOTE] [-V]

Switch between HTTPS and SSH types of GitHub remotes

options:
  -h, --help            show this help message and exit
  -r REMOTE, --remote REMOTE
                        Name of the remote to switch (default: origin)
  -V, --version         show program's version number and exit

```

#### Screenshot

![](./images/ghshs.png)

## Develop

```
$ git clone https://github.com/tddschn/gh-utils.git
$ cd gh-utils
$ poetry install
```
devbolt 1.0.4
Python SDK for DevBolt feature flags
License: MIT
Requires Python: >=3.9
Keywords: feature-flags, feature-toggles, devbolt, flags, rollout, targeting

# DevBolt Python SDK

Python SDK for DevBolt feature flags.

## Installation

```bash
pip install devbolt
```

## Quick Start

```python
from devbolt import DevBoltClient, EvaluationContext

# Initialize client
client = DevBoltClient()

# Check if flag is enabled
if client.is_enabled("new_feature"):
    print("New feature enabled!")

# With context
context = EvaluationContext(
    user_id="user-123",
    email="john@example.com"
)

if client.is_enabled("premium_features", context):
    print("Premium features enabled!")

# Get detailed evaluation
result = client.evaluate("new_checkout", context)
print(f"Enabled: {result.enabled}")
print(f"Reason: {result.reason}")
```

## Documentation

See main [DevBolt documentation](https://devbolt.com/docs) for details.

## License

MIT