semvec/pypi-packages huggingface dataset:
FrozenIdea 3.1.3
IRC bot toolkit.
License: MIT

Simple, event driven IRC bot class. This class can be used to **quickly** create IRC bots.


Changelog
=========

3.1.3
-----
    - Fixed bug in channel join handling.

3.1.2
-----
    - Fixed socket handling - don't send data to already closed socket.

3.1.1
-----
    - Fixed py3 conversion errors.

3.1.0
-----
    - Code ported to py3.
    - Introduced bot_api.py, which simplifies the creation of new bots even more.
    - Added more mature package structure.

3.0.1
-----
    - Fixed bug in PING handling code.

3.0.0
-----
    - Converted to python module.
    - Uploaded to pypy.
    - Renamed from FrozenIdea2 back to FrozenIdea.
prdnn 1.0
Provable Repair of DNNs
License: MIT
Keywords: class,attribute,boilerplate

# PRDNN
Provable Repair of DNNs. See our [Github
repository](https://github.com/95616ARG/PRDNN) for more information.

## Prerequisites
You will need to install Gurobi.

If you wish to do polytope patching, you will also need a running SyReNN
server. See [the SyReNN GitHub repository](https://github.com/95616ARG/syrenn)
for more details. We also use [PyTorch](https://pytorch.org/), please ensure
you have the desired version of PyTorch installed before installing this
package.

## Supported Python Versions
We only test against Python 3.7.4, however we believe it should work for other
versions of Python as well.
pbar-pool 0.0.2
A straightforward, dependency free way to update multiple progress bars with python's multiprocessing library.
License: MIT

# pbar-pool

A straightforward, dependency free way to update multiple progress bars with python's multiprocessing library. 

Specifically designed to work with multiprocessing.Pool - for which I found all other available solutions to be either overcomplicated, or completely broken.

## Installation:
```bash
pip install pbar-pool
```

## Usage:

```python
from multiprocessing import Pool, cpu_count
from pbar_pool import PbarPool, Pbar
import time, random


def fn(x):
    for _ in Pbar(x, manager=pbars, name=f'Process {pbars.id()}', color=(255, 0, 0)):
        time.sleep(random.randint(0, 3))


to_process = [list(range(10)) for _ in range(100)]
pbars = PbarPool(width=100)

with Pool(processes=cpu_count(), initializer=pbars.initializer()) as p:
    global_pbar = Pbar(p.imap_unordered(fn, to_process), manager=pbars, name='global', total=len(to_process))
    for _ in global_pbar:
        pass
```
--> 
```
global: 56/100 ████████████████████████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 56% 3.9156s/it 02:52 remaining
 Process 4: 5/10 ██████████████████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 50% 1.4075s/it 00:07 remaining
 Process 2: 2/10 ████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 20% 1.5064s/it 00:12 remaining
 Process 3: 0/10 ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0% 
 Process 1: 1/10 ██████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 10% 0.0003s/it 00:00 remaining
```

it's as simple as adding the `initializer=pbars.initializer()` option to your Pool object to give each Pool process access to the global progress bars pool.

Then, in each process, wrap your iterator in a `Pbar()` object, passing in the global PbarPool object as the `manager` argument. 

You can also add a global progress bar to track the progress of the outer function, as seen in the example above.
Py-FileManager 1.0.0
FileManager helps to create, read, append data and delete files
License: MIT

# FileManager

- Py-FileManager helps to create, read, append data and delete files

### Useful methods
- Can initialize the __class__  without any arguments and calling methods by passing the filename can perform the required operation. If arguments are mentioned, it creates a empty file.
- Able to append data to the existing file or newly created empty file.
- Delete the required files.

#### Here are the examples.

![](https://raw.githubusercontent.com/kadatatlukishore/FileManager/main/PyPI.jpg)


```bash
 >>> from python-filemanager.FileManager import FileManager
 >>> file = FileManager()
 >>> file.read_file("example_filename.txt") #if the file already exists
 >>> file.append_data("example_filename.txt, "This is going to be appended")
 >>> file.delete_file("example_filename.txt")
 Output : Successfully Deleted !!!
 ```



Any further queries, kindly [Reach Me](https://www.linkedin.com/in/kishorekadatatlu/)
Python-FileManager 1.0.0
FileManager helps to create, read, append data and delete files
License: MIT

# FileManager

- Python-FileManager helps to create, read, append data and delete files

### Useful methods
- Can initialize the __class__  without any arguments and calling methods by passing the filename can perform the required operation. If arguments are mentioned, it creates a empty file.
- Able to append data to the existing file or newly created empty file.
- Delete the required files.

#### Here are the examples.

![](https://raw.githubusercontent.com/kadatatlukishore/FileManager/main/PyPI.jpg)


```bash
 >>> from python-filemanager.FileManager import FileManager
 >>> file = FileManager()
 >>> file.read_file("example_filename.txt") #if the file already exists
 >>> file.append_data("example_filename.txt, "This is going to be appended")
 >>> file.delete_file("")
 ```



Any further queries, kindly [Reach Me](https://www.linkedin.com/in/kishorekadatatlu/)
passwd-generator-module 0.1.0
Generate strong passwords quickly
License: MIT
Keywords: python,password

# Password Generator Module
An incredible module capable of generating very secure passwords. 
This project has been adapted from the [original version](https://github.com/Mazzya/passwordgenerator), which is an interactive script.

Visit [Change Log]()
### How to install
To install the module, you must type the following command in the console :
```python
pip install password-generator
```
### How to use
To use the module, it is necessary to import it before :
```python
import password_generator
# OR
from password_generator import *
```
### How to generate a password
```python
# Instantiate the password object
p = Password()

# Let's use the function generate_password () to generate a password of 12 characters
password = p.generate_password(12)

# Show the generated password
print(password)
```
```
> FYsY>uFnHnp^
```
python-Filemanager 1.0.0
FileManager helps to create, read, append data and delete files
License: MIT

# FileManager

- Python-FileManager helps to create, read, append data and delete files

### Useful methods
- Can initialize the __class__  without any arguments and calling methods by passing the filename can perform the required operation. If arguments are mentioned, it creates a empty file.
- Able to append data to the existing file or newly created empty file.
- Delete the required files.

#### Here are the examples.

![](https://github.com/kadatatlukishore/FileManager/blob/main/PyPI.jpg)

```bash
 >>> file = FileManager()
 >>> file.read_file("example_filename.txt") #if the file already exists
 >>> file.append_data("example_filename.txt, "This is going to be appended")
 >>> file.delete_file("")
 ```



Any further queries, kindly [Reach Me](https://www.linkedin.com/in/kishorekadatatlu/)
python-filemanager 1.0.0
FileManager helps to create, read, append data and delete files
License: MIT

# FileManager

- Python-FileManager helps to create, read, append data and delete files

### Useful methods
- Can initialize the __class__  without any arguments and calling methods by passing the filename can perform the required operation. If arguments are mentioned, it creates a empty file.
- Able to append data to the existing file or newly created empty file.
- Delete the required files.

#### Here are the examples.

![Alt text](https://github.com/kadatatlukishore/FileManager/blob/main/PyPI.jpg)



Any further queries, kindly [Reach Me](https://www.linkedin.com/in/kishorekadatatlu/)
airflow2use 0.2
An collection of Airflow plugins & extensions
License: MIT

python-package-example

This is a minimal python package, for use alongside the lesson: https://github.com/BillMills/pythonPackageLesson

Contributing:

Please do! Guidelines:

 - This lesson is for beginners. Yes there are plenty of super fancy things we don't cover here; someday, we'll make a different, super fancy lesson to teach those things.
 - Max 100 lines per PR please.
 - Open an issue or empty PR first to talk about controversial changes.
counterfit-shims-picamera 0.1.0.dev5
Shims for the PiCamera library for the CounterFit virtual IoT device app
License: MIT
Keywords: iot picamera camera virtual hardware

# CounterFit Shims - Picamera

![Picamera Shim](https://img.shields.io/badge/Platform-Python-green) [![PyPI](https://img.shields.io/pypi/v/counterfit-shims-picamera)](https://pypi.org/project/counterfit-shims-picamera)

Shims for the Picamera to read from a virtual camera

See the [Picamera Docs](https://picamera.readthedocs.io/) for the API documentation.

## Getting started

To use these shims, you will need to install [CounterFit](https://github.com/CounterFit-IoT/CounterFit) and have it running, with the appropriate camera hardware created. Create the camera with a name of `Picamera`.

* Install this package from pip:

    ```sh
    pip install counterfit-shims-picamera
    ```

* Import Picamera using the `counterfit_shims_picamera` package instead of the `picamera` package, as well as importing the `CounterFitConnection` from the `counterfit_shims_grove.counterfit_connection` module:

    ```python
    from counterfit_connection import CounterFitConnection
    import counterfit_shims_picamera
    ```

* Configure the connection to the CounterFit app. Change the hostname and port to where you are running it:

    ```python
    CounterFitConnection.init('127.0.0.1', 5000)
    ```

* Write your Picamers code as usual.

    For example, to capture an image as a JPEG:

    ```python
    camera = PiCamera()
    image = io.BytesIO()
    camera.capture(image, 'jpeg')
    ```
amtokenizers 0.0.10
Amharic language tokenizers
License: MIT


# Amharic Language Tokenizers

This package contains set of Classes which can be used to encode Amharic language sentences into tokens that could be used by language models. The tokenizers are trained using [Contemporary Amharic Corpus (CACO)](https://www.findke.ovgu.de/findke/en/Research/Data+Sets/Contemporary+Amharic+Corpus+%28CACO%29-p-1142.html) dataset


## Installing


#### Pip installation

```bash
pip install -i https://test.pypi.org/simple/ amtokenizers==0.0.5
```

## Sample Code

### Variable length 
```python
from amtokenizers import AmTokenizer

a  = AmTokenizer(10000, 5 , "byte_bpe")
encoded = a.encode("አበበ በሶ በላ።", return_tokens=False)
print("encoded", encoded.tokens)
# encoded ['
', 'áĬł', 'áīłáīł', 'ĠáīłáĪ¶', 'ĠáīłáĪĭ', 'áį', '¢', '
']
print("decoded:", a.decode(encoded.ids))
# decoded: 
አበበ በሶ በላ።

```
### Fixed length

```python
a  = AmTokenizer(10000, 5 , "byte_bpe", max_length=16)
encoded = a.encode("አበበ በሶ በላ።")
print("encoded", encoded.tokens())
# encoded ['
', 'áĬł', 'áīłáīł', 'ĠáīłáĪ¶', 'ĠáīłáĪĭ', 'áį', '¢', '
', '<pad>', '<pad>', '<pad>', '<pad>', '<pad>', '<pad>', '<pad>', '<pad>']
print(encoded.input_ids)
# [0, 337, 3251, 3598, 3486, 270, 100, 2, 1, 1, 1, 1, 1, 1, 1, 1]
print("decoded:", a.decode(encoded.input_ids))
# decoded: 
አበበ በሶ በላ።
<pad><pad><pad><pad><pad><pad><pad><pad>
```

<h2>Disclaimer</h2>

This package is highly inspired by Hugging Face's [How to train a new language model from scratch using Transformers and Tokenizers](https://huggingface.co/blog/how-to-train) tutorial.