semvec/pypi-packages huggingface dataset:
pp-iopm 0.0.1
An Abstraction-Based Approach for Privacy-Aware Inter-Organizational Process Mining

## Introduction
This project implements an abstraction-based approach for privacy-aware inter-organizational process mining.
## Python package
The implementation has been published as a standard Python package. Use the following command to install the corresponding Python package:

```shell
pip install pp-iopm
```

## Usage
Look at the "main_....py" files to see the usage example.
comapsmarthome-postgres-client 0.1.3
this library allow to simplify the basic operation in postgres databases like select, insert, update, delete and upsert

Provides basic postgres functions for databases request.

**select**:
 ```python
def get_my_data():
    def _(cursor):
        cursor.execute(f"select data from database")
        return cursor.fetchone()

    result = select(_)

    return result.get('data') if result else None
 ```

**insert**:

 ```python
def insert_my_data():
    data = {
        'data_1': data_1,
        'data_2': data_2
    }

    insert(TABLE_NAME, data)
 ```

**update**:
the primary key can be a string for array who have only one primary key but if it's a tuple, 
you can put a table of string : ['first_primay_key', 'second_primay_key']
 ```python
def update_my_data():
    data = {
        'data_1': data_1,
        'data_2': data_2
    }

    update(TABLE_NAME, 'my_primary_key', data)
 ```

**upsert**:
Upsert is a function who insert if the data doesn't exist. And update if the data can be updated.
the primary key can be a string for array who have only one primary key but if it's a tuple, 
you can put a table of string : ['first_primay_key', 'second_primay_key']
 ```python
def upsert_my_data():
    data = {
        'data_1': data_1,
        'data_2': data_2
    }

    upsert(TABLE_NAME, 'my_primary_key', data)
 ```

**delete**:

 ```python
def delete_my_data():
    delete(TABLE_NAME, primary_key, data_id)
 ```
awscm 0.3a0
a module for easy monitoring of aws jobs and services.
Requires Python: >=3.6
Keywords: aws,glue,lambda

![awscm ascii art text](/awscm.png)
# awscm `pronounced as awesome` is
a python project for easy monitoring of aws jobs, services, alarms and other things aws.

> Note: - This is a work in progress. Also I am using this project to learn about python packages , test driven development , python best practices & everything else a python project could need.
**So Expect massive breaking changes.** 

# Install
> `pip3 install awscm`

# Want to Help
Checkout our [CONTRIBUTING.md](/CONTRIBUTING.md)

# This project pledges by the "Covenant Code of Conduct" and so must you.
Read more here [CODE_OF_CONDUCT.md](/CODE_OF_CONDUCT.md)
rpvVoterIndex 0.2.0
Tool to analyse poltical geogrpahies for maliprortation
Requires Python: >=3.6, <4

Voter Power Indexes
======

Vote Power Index provides tools to run both Banzhaf Power Index and Shapley–Shubik Index to analyse 2 party poltical geographies like US Congresstional Districts to see if the reapproation process maintained Mintorities communties to elect their candidate of choice

# Usage
> power_index(df, OtherPopCol, TargetPopCol, Party1, Party2, vIndex=None, filename=None)

## Parameters 

df - Pandas Dataframe

OtherPopCol - Majority community 

TargetPopCol - Minority community

OtherParty - None colitlition party of choice

ColilitionParty - Colitlition party of choice

vIndex (ssi/bpi/none): 
- **None** both indexes 
- **ssi** Shapley–Shubik Index
- **bpi** Banzhaf Power Inde

filename - optional
ermine 0.4.5
Nimble trough the web
Requires Python: >=3.10,<4.0

<h1 align="center">Ermine</h1>
<p align="center"> Easy, fast, stable </p>
<img src="https://cdn.discordapp.com/attachments/857979752991031296/942470898286485524/Logo1.svg" align="right" style="margin-top: -50px;"/>
<br>
<br>
Ermine is designed to provide the user with the greatest possible comfort when creating Rest APIs or entire websites.
Everything is simple and, above all, intuitively designed. No focus on superfluous configurations. Everything works, simply.

🔑 Key features

- intuitive, due to the clear design
- simple, due to the fast learning curve
- practical, through the great editor support
- minimalistic, no superfluous functions

#### What is Ermine and what is not


Ermine is not a HighSpeed framework. Ermine is probably not ready for production. Ermine is a spare time project of mine. Ermine is self-contained. It doesn't need anything, except for an ASGI server. So it's like Starlette.
I would appreciate if you use Ermine, try it and give me your feedback.

#### Participate in Ermine

You are welcome to collaborate on Ermine. However, you should maintain the codestyle, and also follow PEP 8 (the Python style guide).

#### Ermine disadvantages

Ermine is still deep in development, which is why some features are still missing. 

- Websockets

#### Examples

Here is the most basic example of ermine

```py
from ermine import Ermine, Request

app = Ermine()

@app.get("/home")
async def home():
	return "Welcome home"
```

You want to build a RestAPI? No problem

```py
from ermine import Ermine, Request


app = Ermine()
templates = FoxTemplates("templates")

@app.get("/api")
def api():
	return {"name": "Leo", "age": 16}
```

You want to send HTML files? Ermine got your back

```py
from ermine import Ermine, Request
from ermine.responses import HTMLResponse


app = Ermine()

@app.get("/html")
async def home():
	with open("home.html", "r") as f:
		data = f.read()
	return HTMLResponse(data)
```

You want to use some templates ? You want to load templates? No problem with [Fuchs](https://github.com/cheetahbyte/fuchs)

```py
from ermine import Ermine, Request
from ermine.templating import FoxTemplates

app = Ermine()
templates = FoxTemplates("templates")

@app.get("/home")
async def home():
	return templates.render("home.html", name="Leo")
```

**Changes incoming**
<center>

Join our [discord](https://discord.gg/EtqGfBVuZS) !

<img src="https://images.unsplash.com/photo-1548714859-18c34a4c384a?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1074&q=80" alt="Ermine" style="height: 300px" /></center>
pharma-datamatrix 1.4.5
Parse EU FMD compliant GS1 & PPN DataMatrix barcodes

# pharma_datamatrix package
The package allow users to pass the string produced by the 2D barcode scanners and parse the string into GTIN, PPN, EXPIRY, SERIAL, BATCH and NHRN.

# Files
pharma_datamatrix.py: Primary function that checks the barcode format and inturn calls relevant parsing logic function.

gs1_gtin.py: Parse the GS1 GTIN barcode string and validate GTIN & Expiry.

ifa_ppn.py: Parse the IFA PPN barcode string (MACRO 06 & MACRO 05) and validate PPN & Expiry.

expiry_date_validation.py: This files contains the logic that validates the Expiry date. This file checks if the YYMMDD contains valid digits. Ex: MM to be between 01 & 12. And if the expiry date greater than the date of the scan: i.e. not is valid past date.

gs1_gtin_validation.py: This file contains the logic that validates the GS1 - GTIN.

ifa_ppn_validation.py: This file contains the logic to validate IFA PPN format.


# Installation 
To install the package please run the below command:
pip install pharma_datamatrix

# Usage
The function pharma_datamatrix(barcode: str):
The 'barcode' parameter is of 'string' type and its mandatory. The string should contain the <GS> seperator as per GS1 guidelines. 


Initial Import: 
from pharma_datamatrix import pharma_datamatrix

Example 1: Valid GS1 barcode
    pharma_datamatrix(']d201085860077038511724123110HB5R21587E4QA11R')
Output: {'SCHEME': 'GS1', 'GTIN': '08586007703851', 'EXPIRY': '241231', 'BATCH': 'HB5R1', 'SERIAL': '21587E4QA11R'}

Example 2: Valid PPN barcode
    pharma_datamatrix('9N#03752864#1T#12345ABCDE#D#260617#S#12345ABCDEF98765')
Output: {'SCHEME': 'IFA', 'PPN': '03752864', 'EXPIRY': '260617', 'BATCH': '12345ABCDE', 'SERIAL': '12345ABCDEF98765'}

Example 3: Invalid barcode (Invalid format)
    pharma_datamatrix('085860077038511724113110HB5R21587E4QA11R')
Output: {'ERROR': 'INVALID FORMAT','BARCODE': '085860077038511724113110HB5R21587E4QA11R'}

Example 4: Invalid barcode (valid barcode format but Invalid expiry date (31 Nov 24))
    pharma_datamatrix('01085860077038511724113110HB5R21587E4QA11R')
Output: {'ERROR': 'INVALID EXPIRY DATE', 'BARCODE': {'SCHEME': 'GS1', 'GTIN': '08586007703851', 'EXPIRY': '241131', 'BATCH': 'HB5R1', 'SERIAL': '21587E4QA11R'}}

Example 5: Invalid barcode (valid barcode format but Invalid GTIN)
    pharma_datamatrix('01243556547871161724011310TEST3C7E76935A')
Output: {'ERROR': 'INVALID GTIN', 'BARCODE': {'SCHEME': 'GS1', 'GTIN': '24355654787116', 'EXPIRY': '240113', 'BATCH': 'TEST3C7E76935A', 'SERIAL': 'PK133CBABE6C85F2C4A'}}

# Source
Github link: https://github.com/PinchofLogic/pharma_datamatrix
spalb 1.6.1
This package can solve single product assembly line balancing problem
Requires Python: >=3.7

This package is package for solve assembly line balancing problem. It can solve single model assembly line and 3 types of assembly line:

    - Straight-Line Assembly Line
    - U-shaped Assembly Line
    - Parallel Workstation Assembly Line

It have 5 function in this package:

| Function name | Description                    |
| ------------- | ------------------------------ |
| `lcr(filename)`       | Use largest candidate rule to solve the straight-line assembly line balancing problem.        |
| `rpw(filename)`   | Use rank position weight to solve the straight-line assembly line balancing problem.     |
| `comsoal(filename)` | Use comsoal to solve the straight-line assembly line balancing problem. |
| `u_ga(filename)` | Use genetic algorithm to solve the u-shaped assembly line balancing problem. |
| `parallel_ga(filename)` | Use genetic algorithm to solve the parallel workstation assembly line balancing problem |