semvec/pypi-packages huggingface dataset:
webcurses 0.9.0
A web-based curses library replacement
Requires Python: >=3.7

# webcurses

A drop-in replacement for the Python `curses` library that renders to a web browser.

For the original library documentation, see [curses — Terminal handling for character-cell displays](https://docs.python.org/3/library/curses.html).

## Usage

```python
import webcurses
from webcurses import wrapper

def main(stdscr):
    stdscr.clear()
    stdscr.addstr(0, 0, "Hello, Webcurses!")
    stdscr.refresh()
    stdscr.getch()

wrapper(main)
```

## Running

By default, `webcurses` starts a web server on port 8080.

1. Run your script:
   ```bash
   python your_script.py
   ```
2. Open your browser to [http://localhost:8080](http://localhost:8080).

### Configuration

To change the port, set the `WEBCURSES_PORT` environment variable:

```bash
export WEBCURSES_PORT=9090
python your_script.py
```

Then navigate to [http://localhost:9090](http://localhost:9090).
tshet-uinh 0.1.0
A Python library for the Qieyun phonological system
Requires Python: >=3.11

# TshetUinh

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

A Python library for the Qieyun (Tshet-uinh) phonological system.

This library was ported from the JavaScript library [TshetUinh.js](https://github.com/nk2028/tshet-uinh-js). See the original repository for more information.

## License

The project is released under the [MIT License](LICENSE).

## Feedback

Please feel free to raise issues for any problems encountered or feature suggestions.

Pull requests are welcome.
ida-settings 3.3.0
Fetch configuration values for IDA Pro plugins
Requires Python: >=3.10

# ida-settings

ida-settings is a Python library used by IDA Pro plugins to fetch configuration values from the shared settings infrastructure.

During plugin installation, [hcli](https://hcli.docs.hex-rays.com/) prompts users for the configuration values and stores them in `ida-config.json`.
Subsequently, users can invoke hcli (or later, the IDA Pro GUI) to update their configuration.
This is the library that plugins use to fetch the configuration values.

For example, within an IDA Pro plugin:

```py
import ida_settings

api_key = ida_settings.get_current_plugin_setting("openai_key")
```

### API reference

```
def get_current_plugin_setting(key: str) -> str | bool
```

Fetch the setting value identified by `key`, raising `KeyError` if its not found.
This setting should be declared in the current plugin's `ida-plugin.json` file.

Changing of configuration values should be done via hcli or the IDA Pro GUI.
However, there are also `set`/`del`/`has`/`list` routines for programmatic access.


### Notes

- this library relies on the IDA Pro's specific plugin environment to identify the current plugin; therefore, this library doesn't work outside of IDA Pro.
- plugins shouldn't try to reach into `ida-config.json` themselves, because in the future, we may introduce cascading settings, a la VS Code.

## IDA Settings Editor Plugin

This repository also includes a graphical settings manager plugin for IDA Pro.

Install it with:

```bash
hcli plugin install ida-settings-editor
```

### Features

- Browse all plugins with settings
- Edit settings with appropriate UI controls
- Immediate validation and feedback
- Revert to defaults
- Dockable/floating window

### Usage

Open via:
- Edit → Plugins → Plugin Settings Manager
- View → Open subviews → Plugin Settings Manager