semvec/pypi-packages huggingface dataset:
pyplanpro 0.0.9
Task scheduler for python

# PyPlanPro

**UNDER CONSTRUCTION**

This project is currently under construction and is not yet ready for use. We are working hard to bring you a great project, and will update this README as soon as it's ready for use. Thank you for your patience!

In the meantime, feel free to check out the project code and contribute if you'd like. We welcome any feedback or suggestions you may have. 

This Python program is a task scheduler that takes a set of tasks and assigns them to resources within their respective resource groups. The program uses Google OR-Tools library to build a constraint programming model and solve it, minimizing the makespan of the tasks.

## Features
Define tasks with duration, priority, and resource groups
Define resources with availability slots
Schedule tasks to resources within their respective resource groups, minimizing the makespan
Output the optimal or feasible schedule if found
## Requirements
To run this program, you need to have the following packages installed:

Python 3.6 or later
ortools (pip install ortools)

## Installation
```python
pip install pyplanpro
```
## Usage
1. Import the necessary classes and functions:
```python
from pyplanpro import Resource, ResourceGroup, Task, Scheduler
```
2. Define resources and resource groups:
```python
r1_availability_slots = [
     {"slot_id" : 0, "start":0, "end":4},
     {"slot_id" : 1, "start":5, "end":10}
]
r2_availability_slots = [
     {"slot_id" : 0, "start":0, "end":10}
]
resource1 = Resource(id=1, availability_slots=r1_availability_slots)
resource2 = Resource(id=2, availability_slots=r2_availability_slots)
resource_group = ResourceGroup(id=1, resources=[resource1, resource2])
```
3. Define tasks with duration, and resource group:
```python
tasks = [Task(id=1, duration=3, resource_group=resource_group)]
```
4. Set the scheduling horizon:
```python
horizon = 50
```
5. Call the Scheduler function with tasks and horizon:
```python
s = Scheduler()
s.schedule(tasks, horizon= horizon)
```
If a solution is found, the program will print the optimal or feasible schedule with makespan, resource assignments, task start and end times, and durations.
```
Makespan = 8.0
Assigned to resource 2
Task (0, 0): starts: 0, end: 8, duration: 8
```
ptcompletion 0.2.1
Parallel Tasks Completion for OpenAI API, and more.
Requires Python: >=3.10

# OpenAI_PTCompletion
A Parallel Tasks Completion Library that boosts your OpenAI-API query with task queue &amp; multiprocessing.

# Installation
```
pip install ptcompletion
```

# Framework
![Framework Picture](images/framework.png)

# How to use
Check example.ipynb for usage.
cipherLV 0.1.4
Description: LV cipher is used for encrypting and decrypting with symmetric key
Keywords: python,encryption,decryption,cryptography

<h1> cipher LV</h1>
<h2> cipher LV is used for encrypting and decrypting with symmetric key</h2>
<p> cipher LV has two modules </p>
<ul>
<li>Encrypt</li>
<li>Decrypt</li>
</ul>