semvec/pypi-packages huggingface dataset:
captcha-generator-lib 0.1.5
Library for generating CAPTCHA images
License: MIT
Requires Python: >=3.6

## About library
Library for generate CAPTCHA images

## License
This project is licensed under the MIT License.

MIT License

Copyright (c) 2025 redderi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
bgpt 0.2.0
A CLI tool to convert natural language to bash commands using OpenAI.
License: MIT
Requires Python: >=3.8

# bgpt - Bash GPT CLI Tool

A command-line tool that translates natural language commands into bash commands using OpenAI's language models.

## Installation

```bash
pip install bgpt
```

## Usage

Before using `bgpt`, make sure you have the `OPENAI_API_KEY` environment variable set with your OpenAI API key. You can also set the `OPENAI_BASE_URL` environment variable if you are using a custom OpenAI endpoint, and the `LLM_MODEL` environment variable to change the model. The default model is GPT-4.1-mini.

Example:
```bash
export OPENAI_API_KEY="sk-..."
export OPENAI_BASE_URL="https://api.openai.com/v1"
export LLM_MODEL="GPT-4.1-mini"
```

```bash
bgpt <natural language command>
```

**Examples:**

```bash
bgpt create a folder named my-folder
bgpt list all files in the current directory
bgpt show me the contents of my_file.txt
```

The tool will then:

1. Generate a bash command based on your input.
2. Display the generated command and ask for confirmation.
3. Execute the command if you confirm.
4. Show the output of the command.

## Configuration

-   **OPENAI\_API_KEY:** You must set this environment variable to your OpenAI API key.
-   **OPENAI\_BASE_URL:** (Optional) Set this environment variable if you are using a custom OpenAI endpoint.
-   **LLM_MODEL:** (Optional) Set this environment variable to change the model.

## Dependencies

-   Python 3.8+
-   openai Python library

## License

[MIT License](LICENSE)

## Contributing

Contributions are welcome! Please submit a pull request with your changes.

## Code of Conduct

Please note that this project is released with a [Contributor Covenant](https://www.contributor-covenant.org/version/2/0/code_of_conduct/) Code of Conduct. By participating in this project you agree to abide by its terms.

---
**Note:** This tool uses the OpenAI API, so usage will incur costs based on your OpenAI API billing. Please use responsibly.