semvec/pypi-packages huggingface dataset:
pycolourslib 1.0
a python module with variabled colours for more simplicity and less time-wasting in your projects
Requires Python: >=3.6

# pycolourslib

`pycolourslib` is a Python library that provides a collection of predefined colors for simplicity and efficiency in your projects.
over 100+ colours
## Installation

You can install the package using pip:

```bash
pip install pycolourslib
venny4py 1.0.3
Python3 package to create Venn diagrams with 2-4 sets.
Requires Python: >=3.7

# Venny4Py
Simple Venn diagrams for Python 3, up to 4 sets (for more than 4 sets it is better to use UpSet plot).
It will take as input a dictionary of 2-4 sets and produce a venn diagram and a txt file with element intersections.

**Dependencies:**

- itertools
- matplotlib


**Installation:**

    pip install venny4py

When installed, import:

    from venny4py.venny4py import *
    
    #dict of sets
    sets = {
        'Set1': set(list("Harry Potter")),
        'Set2': set(list("Hermione Granger")),
        'Set3': set(list("Ron Weasley")),
        'Set4': set(list("Severus Snape"))
    }
        
    venny4py(sets=sets)


**Parameters:**

- ***sets*** - disctionary of sets (required)
- ***out*** - directory to output files, default current directory
- ***asax*** - if diagram should be plotted as subplot, then provide matplotlib ax here. Default is 'False' which will plot new figure
- ***ext*** - image extension, default is 'png'.
- ***dpi*** - image resolution, default is 300 dpi.
- ***size*** - image size in inches, default is 3.5. If using custom ax through "asax" parameter, specify approximate size of subplot in inches since fontsize is dependent on this parameter.


Check "Examples.ipynb" https://github.com/timyerg/venny4py/blob/main/Examples.ipynb to see some examples.
document-reader 0.1.0
Read several document format to output a markdown like python string

# document_reader

A wrapper of different reading document python packages. The idea is to get a structured markdown string output out of any document. I am using the RFP+ code as a baseline: https://github.com/bearingpoint-no/generative-anbud.git

# Setup Instructions

1) Clone the GitHub repository
2) Clone the repository into a folder on your computer or virtual machine:
3) Create a virtual environment
4) install the required dependencies (use Python 3.11.9 or a compatible version):
6) Set env variables according to the format described below (you will need an Azure LLM deployment for vision)
7) You will find a quick example of how to run the code in the main.py file. Use it to test the code and understand its functionality

# setting env variables

You will need to set values for these environment variables:
    OPENAI_API_MODEL 
    OPENAI_API_VERSION
    OPENAI_API_DEPLOYMENT_GPT4_TURBO_VISION
    OPENAI_API_KEY
    AZURE_ENDPOINT

# WARNINGS

- the vision part writes down descriptions in English for now

Small images (less than 200 of length or width)  wont be read  !
LoopEx 0.0.1
A extension enhancing Python loop.
Requires Python: >=3.0

# LoopEx

A extension enhancing Python loop.

## Usage

First, install package via pip.

```
pip install loopex@git+https://github.com/glyzinieh/python-loop-extension
```

Second, import module before the loop.

```Python
from loopex import LoopEx
```

## Features

Now, one feature is available. We plan to add more features in the future.

### `do_while(condition)`

This enables you to implement "do...while" in Python in a simple way. This is similar to the while statement, but the expression is tested after the suite is executed.

```Python
do_while = LoopEx().do_while
result = ''
i = 0

while do_while(i < 5):
    i += 1
    result += str(i)

print(result) # 12345
```