semvec/pypi-packages huggingface dataset:
llmmerge 0.2.2
A custom LLM-based git merge driver.
Requires Python: >=3.10

# llmmerge

A custom LLM-based Git merge driver.


# Usage as a Git Merge Driver

After installing the package, run the script: tools/add_git_global_options.sh to add the custom git merge driver as the secondary option for unresolved conflicts to the current installation of git.

You will also need to acquire a chatGPT API-key, and create the following environment variable in the shell running the git-merge command:

   export OPENAI_API_KEY="ChatGPT-API-KEY"

# ToDo Features

1. For large input files, you can pre-process the input prompt so that the size of the prompt is lesser by using a language parser and sending only the required context -- using git diff line numbers to identify the context. You can then stitch together the merged function and the rest of the common file to get the merged file.

2. Make a series of merge drivers with a series of increasingly complex/resource-intensive LLMs. To be used when the previous LLM fails to resolve conflict, satisfactorily.
mpesa-analysis 0.1.0
A loan advisory system using M-Pesa statement analysis and Gemini AI.
Requires Python: >=3.8
Keywords: mpesa, financial analysis, loan advisory, gemini, ai

# M-Pesa Loan Advisory System with Gemini AI

This project provides a web-based loan advisory system that analyzes a user's M-Pesa statement (PDF) to assess their financial behavior and recommends a suitable loan amount and payment period using Google's Gemini AI.

## Features

* **PDF Statement Analysis:** Extracts and categorizes M-Pesa transactions from a password-protected PDF.
* **Financial Metric Derivation:** Calculates key financial indicators like average monthly income, expenses, and existing loan repayments.
* **Gemini AI Integration:** Passes derived financial data to the Gemini Pro model for detailed financial behavior analysis and personalized loan recommendations (amount and tenure within 1 year).
* **Web Interface:** A simple Flask web application for users to upload their M-Pesa PDF and receive advice.
* **Modular Design:** Organized into distinct Python modules for better maintainability and testability.

## Directory Structure