semvec/pypi-packages huggingface dataset:
git2string 0.1.5
A tool to turn a Git repository into an LLM-friendly prompt
Requires Python: >=3.6
Keywords: ai language-models devtools gpt-4 openai llama mistral gemini chatbot

# git2string
[![PyPI - Version](https://img.shields.io/pypi/v/git2string)](https://pypi.org/project/git2string/) ![PyPI - License](https://img.shields.io/pypi/l/git2string)

<div style="text-align: center;">
    <img src="https://raw.githubusercontent.com/hathibelagal-dev/git2string/refs/heads/main/assets/git2string.png" style="width:256px"/>
</div>

git2string is a powerful tool that simplifies the process of converting an entire Git repository into a single LLM-friendly text file, which is easy to upload. It also tells you how many tokens the text file will consume. So, it will hopefully be saving you a lot of time and effort.

It will automatically ignore all binary files. Additionally, it will respect your **.gitignore**. You can also create a **.r2pignore** file in your repo to specify the files that should be skipped for prompt generation.

## Installation

```
pip3 install git2string
```

## Usage

```
git2string <url of repository>
```

For example:

```
git2string https://github.com/mozilla/experimenter
```

The output would look like this:

```
ℹ Cloning repository to ./tmpohen963u
✔ Using tokenizer for model gpt2
Concatenating: 100%|██████████████████████| 3331/3331 [00:00<00:00, 7547.49it/s]
✔ All valid files have been concatenated into llm_prompt.txt
ℹ 21334492 tokens are present in the prompt
```

If you have cloned your desired repository already, you can just specify its path.

```
git2string <repo root directory>
```

By default, the prompt will be generated in a file called **llm_prompt.txt**. You can specify a different filename as follows:

```
git2string <repo root directory> --output-file <filename>
```

This tool uses OpenAI's tiktoken to count the number of tokens in the generated prompt. By default, gpt2's tokenizer will be used. But you can count tokens for most OpenAI models.

```
git2string <repo root directory> --openai-model <model name>
```

For example:

```
git2string /tmp/myrepo --openai-model gpt-4o
```
23303395-aws-report-generator 0.1.0
A library to fetch AWS data, generate Excel reports, and upload them to S3.
Requires Python: >=3.6

# AWS Report Generator

A Python library to fetch AWS EC2, S3, and IAM data, generate Excel reports, and upload them to an S3 bucket.

## Installation

```sh
pip3 install 23303395-aws-report-generator
Py-Notify-You 2.0.1
A simple library for sending notifications
Requires Python: <4.0,>=3.10

# PyNotifyYou

A simple library for sending notifications

**Attention**! I'm **far from the most experienced or smart developer**, so I'm **not denying** that my  code can be pretty bad! I will **always** be glad to receive your **advice on improving the code** and **ideas** for implementation.

I also want to say that this is my first library, and most likely I will use quite a lot of old and crooked nonsense. Please don't blame me for this 👻

# Navigation

Let's add some convenience for navigating through the repository:

 - [☁️Welcome☁️](#PyNotifyYou)
 - [🧭Navigation🧭](#Navigation)
 - [🐍 Providers 🐍](#Providers)
 - [🔨Installing🔨](#Installing)
 - [✅Usage✅](#PyNotifyYou)


# Providers
I plan to implement support for several ways to receive notifications, and I will simply call them providers for convenience. 👌

**At the moment**, the project supports only one provider: **Ntfy.sh**

# Installing

Okay, let's move on to the installation! In fact, the installation is no different from other libraries

You just need to install the library via pip:
```shell
pip install py_notify_you
```


# Usage

And here it 's more interesting!

You can see the simplest option for sending notifications below.

Since the example uses Ntfy you need to perform the following steps:

To receive notifications, you must install the Ntfy app on your phone([Android](https://play.google.com/store/apps/details?id=io.heckel.ntfy),[IOS](https://apps.apple.com/us/app/ntfy/id1625396347)) or install [PWA](https://docs.ntfy.sh/subscribe/pwa/)!

Then click on the "+" button in the lower right corner to create a topic and get link (It will be needed in the future)

When creating, you will be required to enter the name of the topic, which will be a link, for example:
- The link Topic with the name PyNotifyMe will look like this - https://ntfy.sh/PyNotifyMe
- The link Topic with the name PythonStore will look like this - https://ntfy.sh/PythonStore

***

Now all that remains is to write the code! For the easiest way to send notifications, you can use the code below:
```python
import py_notify_you

sender = py_notify_you.Ntfy("https://ntfy.sh/YourLink") #  Here you should replace the link with your own
sender.send('Your message!')
```
**DON'T FORGET TO CHANGE THE LINK**


You can also add a header for your notification using the method ```set_title()``` :

```python
import py_notify_you

sender = py_notify_you.Ntfy("https://ntfy.sh/YourLink") #  Here you should replace the link with your own
sender.set_title("Your title")
sender.send_template('Your message!')
```

More information can be found on the project's [wiki](https://gitlab.com/shizamuru/PyNotifyYou/-/wikis/home)