semvec/pypi-packages huggingface dataset:
ngen-cli 0.1.2
Universal command wrapper package that dispatches to /usr/local/bin/ngen-* scripts
Requires Python: >=3.7
Keywords: cli, wrapper, command, dispatch

# ngen

Universal command wrapper package that dispatches to `/usr/local/bin/ngen-*` scripts.

## Installation

Install from PyPI:

```bash
pip install ngen-cli
```

Or install from source:

```bash
pip install .
```

**Note:** Installation to `/usr/local/bin` requires sudo/root permissions. The package will automatically install bundled scripts to `/usr/local/bin/ngen-*` during installation.

## Usage

The `ngen` command dispatches to scripts located at `/usr/local/bin/ngen-{command}`.

### Format

- Script location: `/usr/local/bin/ngen-{command}`
- Command usage: `ngen {command}`

### Examples

If you have a script at `/usr/local/bin/ngen-rancher`, you can use it as:

```bash
ngen-cli rancher --help
ngen-cli rancher version
```

If you have a script at `/usr/local/bin/ngen-git`, you can use it as:

```bash
ngen-cli git clone https://github.com/user/repo.git
ngen-cli git status
```

## How It Works

1. When you run `ngen-tools {command}`, the CLI dispatcher looks for a script at `/usr/local/bin/ngen-{command}`
2. If found, it executes the script with any additional arguments passed
3. The script can be any executable file (bash, sh, Python, or binary)

## Adding New Commands

To add a new command:

1. Place a script at `/usr/local/bin/ngen-{your-command}`
2. Make sure it's executable: `chmod +x /usr/local/bin/ngen-{your-command}`
3. Use it with: `ngen-cli {your-command}`

## Development

### Building the Package

```bash
python -m build
```

### Publishing to PyPI

Menggunakan script otomatis:

```bash
./publish.sh --test      # Publish ke Test PyPI
./publish.sh --publish   # Publish ke PyPI production
```

Atau manual:

```bash
python -m build
python -m twine check dist/*
python -m twine upload dist/*
```

Untuk panduan lengkap, lihat [PUBLISH.md](PUBLISH.md).

## License

MIT
argparse-utils-tddschn 0.3.1
A utility library to dynamically remove and rename arguments from argparse.ArgumentParser objects.
Requires Python: >=3.8

# Argparse Utils (tddschn)

Utilities for dynamically removing or renaming argparse arguments without rewriting the original CLI definition.

## Features
- Remove an option (including from mutually exclusive groups) by dest or option string.
- Replace an argument's option strings atomically with conflict detection.

## Installation
```bash
pip install argparse-utils-tddschn
```

## Usage
```python
import argparse
from argparse_utils import remove_argument, replace_argument_names

parser = argparse.ArgumentParser()
parser.add_argument("-c", "--config")
parser.add_argument("--dry-run", action="store_true")

remove_argument(parser, "--dry-run")
replace_argument_names(parser, "--config", ["-C", "--configuration"])
```

### Presetting Arguments

Sometimes you want to provide default argument values programmatically, for example when centralizing configuration or writing tests. The `preset_arguments` helper lets you do this by pretending the supplied tokens were passed on the command line.

Important points:
- Provide a sequence of tokens (not a single string) such as `['--config', 'foo.ini', '--dry-run']`.
- Flags and value-style options are supported; positional arguments are supported too.
- Unknown tokens will raise a `ValueError`.
- If you pass a raw string instead of a token sequence, a `TypeError` is raised.
- Presets are applied as parser defaults using `parser.set_defaults(...)`, so actual CLI values still override them.

Example:

```python
from argparse import ArgumentParser
from argparse_utils import preset_arguments

parser = ArgumentParser(prog="prog")
parser.add_argument("-c", "--config")
parser.add_argument("--dry-run", action="store_true")

# Pretend the user passed these on the command line
preset_arguments(parser, ["--config", "foo.ini", "--dry-run"])

args = parser.parse_args([])
assert args.config == "foo.ini"
assert args.dry_run is True

# CLI still wins over preset
args = parser.parse_args(["--config", "bar.ini"])
assert args.config == "bar.ini"
assert args.dry_run is True
```

## Development
```bash
python -m venv .venv
source .venv/bin/activate
pip install -e .[dev]
pytest
```

## License
MIT
interface-region-imaging-spectrograph 0.8.0
A Python library for analyzing solar observations from the Interface Region Imaging Spectrograph (IRIS).
Requires Python: >=3.11

# interface-region-imaging-spectrograph

[![tests](https://github.com/sun-data/interface-region-imaging-spectrograph/actions/workflows/tests.yml/badge.svg)](https://github.com/sun-data/interface-region-imaging-spectrograph/actions/workflows/tests.yml)
[![codecov](https://codecov.io/gh/sun-data/interface-region-imaging-spectrograph/graph/badge.svg?token=9VdGTSq2hT)](https://codecov.io/gh/sun-data/interface-region-imaging-spectrograph)
[![Black](https://github.com/sun-data/interface-region-imaging-spectrograph/actions/workflows/black.yml/badge.svg)](https://github.com/sun-data/interface-region-imaging-spectrograph/actions/workflows/black.yml)
[![Ruff](https://github.com/sun-data/interface-region-imaging-spectrograph/actions/workflows/ruff.yml/badge.svg)](https://github.com/sun-data/interface-region-imaging-spectrograph/actions/workflows/ruff.yml)
[![Documentation Status](https://readthedocs.org/projects/interface-region-imaging-spectrograph/badge/?version=latest)](https://interface-region-imaging-spectrograph.readthedocs.io/en/latest/?badge=latest)
[![PyPI version](https://badge.fury.io/py/interface-region-imaging-spectrograph.svg)](https://badge.fury.io/py/interface-region-imaging-spectrograph)

A Python library for downloading and analyzing images from the [Interface Region Imaging Spectrograph (IRIS)](iris.lmsal.com), 
a NASA small explorer satellite which observes the Sun in ultraviolet.

## Installation

This library is published on PyPI and is installed using pip
```
pip install interface-region-imaging-spectrograph
```

## Gallery

Download spectrograph rasters from a specified time range and plot the Si IV 1403 Angstrom
spectral line as a false-color image.

[![obs](https://interface-region-imaging-spectrograph.readthedocs.io/en/latest/_images/iris.sg.SpectrographObservation_0_1.png)](https://interface-region-imaging-spectrograph.readthedocs.io/en/latest/_autosummary/iris.sg.SpectrographObservation.html#iris.sg.SpectrographObservation)