semvec/pypi-packages huggingface dataset:
subprompt 0.0.9
Substitute Regex in files with prompt confirmation
Requires Python: >=3.9

# subprompt
Interactively change every line matching a regex in multiple files.

## Installation
Through PyPI:
```
python3.9 -m pip install subprompt
```

## Usage
```
usage: subprompt [-h] (-d | -r SUB) [-n N] REGEX FILES [FILES ...]

Modifies lines matched by a regex interactively

positional arguments:
  REGEX
  FILES

optional arguments:
  -h, --help  show this help message and exit
  -d          delete line
  -r SUB      replace match with expression
  -n N        size of lines preview (default=3)
```
HySpec 1.0.0.2
A GUI-based toolbox for hyperspectral image and library viewing, detection, classification, and identificaiton analysis.
Requires Python: >=3
Keywords: hyperspectral

[![DOI](https://zenodo.org/badge/304360097.svg)](https://zenodo.org/badge/latestdoi/304360097) Python tools with a GUI for visualization and analysis (target detection, PCA, material identification, library management) involving multispectral and hyperspectral images.  
  -User guide at https://github.com/wbasener/HySpec/blob/main/Spectral%20Tools%20User%20Guide.pdf  
  -To run with the GUI do "pip install HySpec" from the command line and then "import HySpec" from Python.  
  -There is a demo on YouTube at: https://youtube.com/playlist?list=PLzUi-TW1M9mrxAZGKlCwsFzHDv4y3030B      ![](https://github.com/wbasener/HySpec/blob/main/spectralAdv/Screenshot_HySpec.png?raw=true)  
  NOTE: Dependency checking still in progress.
gloc 0.2.1
Automates creation of requests to, and parsing of response from Google's geocoding API.
Requires Python: >=3.11

## A simple wrapper for Google's geocoding api. 

Get address data from coordinates or coordinates from an address in one function call. No need to bother with creation of requests and parsing of responses. Distance from a Location to another is available as a method.

```
from gloc import Location

location = Location.from_coordinates(57.696994, 11.986500)

same_location = Location.from_address("Skånegatan 59, 412 52 Göteborg, Sweden")

distance = location.distance_to(same_location)
```
Put an api-key in a file named google_api_key.txt in working directory or set environment variable GOOGLE_API_KEY.