semvec/pypi-packages huggingface dataset:
loop-controller 0.1.2.dev0
Loop controllers for managing execution intervals
Requires Python: >=3.6

# Pid Loop Controller

A PID loop controller for managing execution intervals.

## Installation

You can install the package via pip:

```bash
pip install loop-controller
```

## Usage
```
from pid_loop_controller import PidLoopController

# Your function to be called in the loop
def my_function():
    print("Function called")

controller = PidLoopController(my_function, [], 1.0)
controller.set_controller_parameters(1.0, 0.1, 0.01)
controller.start()
```
genaicommit 0.1.0
AI-powered git commit message generator
Requires Python: >=3.6

# Genaicommit: Generate AI-Powered Git Commit Messages

Genaicommit is a command-line tool that automates the generation of git commit messages using OpenAI's language models. It ensures your commit messages are concise, informative, and follow conventional commit standards.

## Features
- Generates concise git commit messages based on diff.
- Supports different commit message formats such as conventional commits.
- Integrates with git to ensure the tool is usable directly within a repository.
- Adds emojis to commit messages with devmoji (optional).

## Requirements
- Python 3.6+
- Git
- OpenAI API Key

## Installation

You can install `genaicommit` using `pip`. First, ensure you have `pip` installed, then run:

```bash
pip install genaicommit
```

## Setup

1. Generate an OpenAI API key from the [OpenAI website](https://openai.com/).
2. Configure `genaicommit` with your OpenAI API key (not required if you have OPENAI_API_KEY environment variable set)

```bash
genaicommit config set OPENAI_API_KEY=<your_api_key>
```
## Configuration

You can configure `genaicommit` using the `config set` command. Here are the available configuration keys:

- `model`: The OpenAI model to use (default: `gpt-4`).
- `devmoji`: Whether to use devmoji for commit messages (default: `false`).
- `type`: The type of commit message format (default: `conventional`).
- `max-length`: The maximum length of the commit message (default: `50`).
- `locale`: The language of the commit message (default: `en`).
- `OPENAI_API_KEY`: Your OpenAI API key for authenticating API requests.
- `OPENAI_BASE_URL`: The base URL for the OpenAI API (default: `https://api.openai.com/v1`).

Example:

```bash
genaicommit config set model=gpt-3.5-turbo (default: model)
genaicommit config set max-length=72 (default: 50)
genaicommit config set OPENAI_BASE_URL=http://localhost:11434/v1 (default https://api.openai.com/v1)
```

## Usage

1. Navigate to any git repository.
2. Stage your changes:

```bash
git add <files>
```

3. Run `genaicommit` to generate and approve a commit message:

```bash
genaicommit
```
4. Run `genaicommit` with the `-g` option to generate multiple commit messages:

```bash
genaicommit -g 5
```

## Example

```bash
cd your-git-repo
git add .
genaicommit
```
Follow the prompts to approve the commit message and commit the changes.

### Options

- `-g, --generate N`: Generate N commit messages (default is 1).
- `config set KEY=VALUE`: Set a configuration key to a value.
- `-h, --help`: Show the help message and exit.

## License

This project is licensed under the MIT License.

#Credits
This project was inspired by [aicommits](https://www.npmjs.com/package/aicommits), [devmoji](https://www.npmjs.com/package/devmoji), and [commitizen](https://www.npmjs.com/package/commitizen).
docsgen 0.0.2
DocsGen is a Python library that generates docs for python libs.
Keywords: Auto docs, Generate docs


# Documentation

- DocsGen is a Python library that generates documentation for Python libraries.

- Library Features:
    - Generates documentation in markdown format.
    - Simple to use.
    - Automatic documentation generation.
    - Supports creating examples for usage.

## Example to load the library

```python
from docsgen import *
```


## `DocsGen` (class)
---

### `DocsGen.__init__` (method)
**Description**: Constructor for DocsGen.

**Arguments**:
```txt
lib_name: str 
directory_path: str 
```

**Example for use**:
```python
docsgen = DocsGen(lib_name, directory_path)
```

---

### `DocsGen.write_documentation` (method)
**Description**: Method to write the documentation.

**Arguments**:
```txt
This function has no arguments.
```

**Returns**:
```txt
NoneType
```
**Returns Description**: Returns nothing.

**Example for use**:
```python
docsgen = DocsGen(lib_name, directory_path)
docsgen.write_documentation()
```

---

### Command Line Interface (CLI)
To use the library's CLI, execute the following command:

```
docsgen lib_name, dir
```

This command generates documentation for the specified library (`lib_name`) located in the specified directory (`dir`).