semvec/pypi-packages huggingface dataset:
mk-badge 1.0.2
Makes badges like the ones made by travis-ci to show the status of a build

# mk_badge

A python script to help making SVG badges like the ones made by travis-ci to show the status of a build

# Examples

```bash
mk_badge -f examples/blackNwhite.svg \
    --left-fill-color 0,0,0 --left-text-color 255,255,255 \
    --right-fill-color 255,255,255 --right-text-color 0,0,0 \
    "Black" "White"
```

![](/examples/blackNwhite.svg)

```bash
mk_badge -f examples/redNgreen_comicsans.svg \
    --left-fill-color 255,0,0 --left-text-color 255,255,255 \
    --right-fill-color 0,255,0 --right-text-color 0,0,0 \
    --font "Comic Sans MS" \
    "Comics Sans MS:" "Serious"
```

![](/examples/redNgreen_comicsans.svg)

```bash
mk_badge -f examples/build_passing.svg \
    --left-fill-color 93,93,93 --left-text-color 255,255,255 \
    --right-fill-color 77,199,31 --right-text-color 255,255,255 \
    --left-stroke-color 93,93,93 --right-stroke-color 93,93,93 \
    "build" "passing"
```

![](/examples/build_passing.svg)
python-flutterwave 1.2.2
Python Wrapper for interacting with the Flutterwave Payments API
Requires Python: >=3.8

### python-flutterwave

- This lib aims to be the middleman between `Flutterwave API` and a python backend. Ergo, it directly makes the API requests to FW and returns the necessary info to the backend.

- One should thoroughly go through the [official docs here](https://developer.flutterwave.com/reference/introduction) in order to have a meaningful insight on how to use the params provided by the functions in the lib.

- The lib will also follow the same project structure as the official docs for ease of use and consistency.

- NB: Set `FW_SECRET_KEY` environnment variable obtained from the dashboard.

- Full package documentation can be accessed from [here](https://python-flutterwave.readthedocs.io/en/latest/)


- More contributors needed, refer to [the contribution gude](/CONTRIBUTING.md)
save-tabs 0.0.7
Creates double-click shortcuts for currently open Google Chrome windows/ tabs
Requires Python: >=3.8

# About

Saves the current Google Chrome browsing session (windows and tabs) into an executable to use later.

# Usage

After [installation](#installation), run `$ savetabs` to open the GUI interface.

A command line interface will be added in the future.

### Windows

After accepting the terms of use, you'll be prompted to snap your Chrome window to the left side of the screen. Follow the on-screen instructions. This program generates a .bat batch file with your saved Chrome session information--to use it, double-click it.

### macOS

If you have more than one window open, you'll be prompted to choose which window(s) to save. Follow the on-screen instructions. This program generates a bash executable file with your Chrome session information--to use it, double click it.

# Installation

Python is required. This program was tested on Python 3.11 but should work on all maintained Python versions.

### Windows and macOS

#### Option 1: pip

The easiest way to install this program is using pip: `$ pip install save-tabs`

#### Option 2: download and run

Download the source code and run main.py: `$ python3 /path/to/main.py`

### Linux

This program has not been tested on Linux.
manage-savestates 1.3.1
Manages savestates and macros made with gz
Requires Python: >=3.7

# About

Organizes and labels files. Designed to be used with savestates and macros generated using [gz, a.k.a. "The Practice ROM"](https://github.com/glankk/gz), a practice tool for Ocarina of Time speedrunning.

# Usage

After [installation](#installation), run `$ mansav` to open the GUI interface.

A command line interface will be added in the future.

## Features

### Organize directories

Organize directories of gz savestates and / or macros according to your specifications. The program remembers which directories you want organized and the settings associated with each directory.

Here is a list of available settings:

#### Trim

Trims the default numbered prefix gz attaches to savestates (e.g., 000-savestate-name.gzs -> savestate-name.gzs). Good if you keep your savestates in alphabetical order.

#### Renumber

Renumbers savestates from 000 up to 999 in the order they are displayed in gz's file system. Good if you like to renumber savestates manually so they are in route order, especially if you want to insert savestates at the beginning of a route but don't want to rename dozens or hundreds of other files. This setting renumbers the states in order from 000 to 999 in the order they are found in your folder. If you have 150 savestates in a folder and you want to add a new savestate between 002 and 003, you could name it something like "002-z[savestate name]", then run this program; it and all the states after it will then be numbered correctly. 

Additionally, macros that have the same name as a savestate are numbered to match their corresponding savestates. For example, if you have a savestate called "021-dot skip.gzs" and a macro called "dot skip.gzm", the macro will be renamed "021-dot skip.gzm". Duplicate macros and macros with no matching savestate are moved to a subfolder called "_other" to keep folders organized (the underscore puts it at the top of the file explorer in gz).

For quality-of-life purposes, the program creates an empty macro for each savestate that doesn't have a corresponding macro (e.g., for a state "042-wasteland hess.gzs" with no matching macro, the empty macro "042-.gzm" is generated). This means that when loading macros in gz, the cursor will always be at the same place in savestate and macro lists, avoiding the bug that forces you to reload the SD card.

#### Do nothing

Good if you want to back up a certain folder with the rest, but don't want the program to touch it otherwise.

### Back up directories

Copy the directories you chose to a backup destination.

# Installation

Python is required. This program was tested on Python 3.11 but should work on all maintained Python versions.

### Windows and macOS

#### Option 1: pip

The easiest way to install this program is using pip: `$ pip install manage-savestates`

#### Option 2: download and run

Download the source code and run main.py: `$ python3 /path/to/main.py`

### Linux

This program has not been tested on Linux.
ai-privacy-toolkit 0.2.1
A toolkit for tools and techniques related to the privacy and compliance of AI models.
Requires Python: >=3.6

[![OpenSSF Best Practices](https://bestpractices.coreinfrastructure.org/projects/5836/badge)](https://bestpractices.coreinfrastructure.org/projects/5836)

# ai-privacy-toolkit
<p align="center">
  <img src="docs/images/logo with text.jpg?raw=true" width="467" title="ai-privacy-toolkit logo">
</p>
<br />

A toolkit for tools and techniques related to the privacy and compliance of AI models.

The [**anonymization**](apt/anonymization/README.md) module contains methods for anonymizing ML model 
training data, so that when a model is retrained on the anonymized data, the model itself will also be 
considered anonymous. This may help exempt the model from different obligations and restrictions 
set out in data protection regulations such as GDPR, CCPA, etc. 

The [**minimization**](apt/minimization/README.md) module contains methods to help adhere to the data 
minimization principle in GDPR for ML models. It enables to reduce the amount of 
personal data needed to perform predictions with a machine learning model, while still enabling the model
to make accurate predictions. This is done by by removing or generalizing some of the input features.

The [**dataset assessment**](apt/risk/data_assessment/README.md) module implements a tool for privacy assessment of
synthetic datasets that are to be used in AI model training.

Official ai-privacy-toolkit documentation: https://ai-privacy-toolkit.readthedocs.io/en/latest/

Installation: pip install ai-privacy-toolkit

For more information or help using or improving the toolkit, please contact Abigail Goldsteen at abigailt@il.ibm.com, 
or join our Slack channel: https://aip360.mybluemix.net/community.

We welcome new contributors! If you're interested, take a look at our [**contribution guidelines**](https://github.com/IBM/ai-privacy-toolkit/wiki/Contributing).

**Related toolkits:**

ai-minimization-toolkit - has been migrated into this toolkit.

[differential-privacy-library](https://github.com/IBM/differential-privacy-library): A 
general-purpose library for experimenting with, investigating and developing applications in, 
differential privacy.

[adversarial-robustness-toolbox](https://github.com/Trusted-AI/adversarial-robustness-toolbox):
A Python library for Machine Learning Security. Includes an attack module called *inference* that contains privacy attacks on ML models 
(membership inference, attribute inference, model inversion and database reconstruction) as well as a *privacy* metrics module that contains
membership leakage metrics for ML models.


Citation
--------
Abigail Goldsteen, Ola Saadi, Ron Shmelkin, Shlomit Shachor, Natalia Razinkov,
"AI privacy toolkit", SoftwareX, Volume 22, 2023, 101352, ISSN 2352-7110, https://doi.org/10.1016/j.softx.2023.101352.
chrome-switcher 0.0.3
Easily create and load new Chrome profiles
Requires Python: >=3.7

# About

Create new Google Chrome sessions, persistent and temporary, separate from your default Chrome profiles. 

New sessions start with default Chrome settings by default, but it is possible to base new sessions off of others. Some possibilities include:

- Browsing in a temporary session that inherits bookmarks, cookies, and extensions from your default Chrome profile without impacting it or leaving a history

- Browsing in persistent sessions that can be accessed repeatedly, each with their own bookmarks, history, extensions, and cookies (no more signing in and out of different profiles on certain websites!)

# Usage

After [installation](#installation), run `$ cswitch` to open the GUI interface.

A command line interface will be added in the future.

# Options

### New persistent session

Create and open a new persistent session. 

Choosing this option automatically generates a shortcut file in the same directory as the new session. To use the shortcut file, drag and drop persistent session directories onto it, and that session will open.

Choosing this option also automatically generates a default profile shortcut in the same directory (double click it to open it). If you're running a separate session from the default,  use this to open your default profile without being forced to exit the other session.

### New temporary session

Create and open a new temporary session.

On Windows, this session's data is deleted when you close the last remaining tab of the session. On macOS, it's deleted when you quit that session of Chrome (`cmd+Q`). If your computer shuts off unexpectedly (e.g. dead battery), there is a small chance some data could remain.

### Regenerate shortcut files

Remakes the shortcut files mentioned [above](#new-persistent-session) if they get lost or damaged.

# Settings

As mentioned [above](#about), you can select an existing Chrome session directory that new sessions will inherit from. For instance, you might want to inheret from the default session directory. On most computers, that directory is at:

Windows: `%LOCALAPPDATA%\\Google\\Chrome\\User Data`

macOS: `~/Library/Application Support/Google/Chrome`

Start new sessions with this base (or another) in the settings menu by following the GUI and selecting a folder.

NOTE: Doing this may slow down new session generation as files have to be copied over.

# Installation

Python is required. This program was tested on Python 3.11 but should work on all maintained Python versions.

### Windows and macOS

#### Option 1: pip

The easiest way to install this program is using pip: `$ pip install chrome-switcher`

#### Option 2: download and run

Download the source code and run main.py: `$ python3 /path/to/main.py`

### Linux

This program has not been tested on Linux.
bindecocthex 0.4
A library for binary, decimal, octal, and hexadecimal conversions
Requires Python: >=3.6

# bindecocthex

`bindecocthex` is a Python library that provides a `Conversion` class for converting numbers between decimal, binary, octal, and hexadecimal representations.

## Installation

You can install `bindecocthex` using pip:

```
pip install bindecocthex
```
## Usage
```
from bindecocthex.conversion import Conversion

# Create an instance of the Conversion class
converter = Conversion()

# Example usage
decimal_number = 10

# Decimal to Binary
binary_representation = converter.decimal_to_binary(decimal_number)
print(f"Binary representation: {binary_representation}")

# Binary to Decimal
decimal_result = converter.binary_to_decimal(binary_representation)
print(f"Decimal result: {decimal_result}")

```
## Methods
- `decimal_to_binary(number)`
Converts a decimal number to binary.

- `decimal_to_octal(number)`
Converts a decimal number to octal.

- `decimal_to_hexadecimal(number)`
Converts a decimal number to hexadecimal.

- `binary_to_decimal(number)`
Converts a binary number to decimal.

- `binary_to_octal(number)`
Converts a binary number to octal.

- `binary_to_hexadecimal(number)`
Converts a binary number to hexadecimal.

- `octal_to_decimal(number)`
Converts an octal number to decimal.

- `octal_to_binary(number)`
Converts an octal number to binary.

- `octal_to_hexadecimal(number)`
Converts an octal number to hexadecimal.

- `hexadecimal_to_decimal(number)`
Converts a hexadecimal number to decimal.

- `hexadecimal_to_binary(number)`
Converts a hexadecimal number to binary.

- `hexadecimal_to_octal(number)`
Converts a hexadecimal number to octal.

## License
This project is licensed under the [MIT License](LICENSE).
architech 1.0.0
AI Python Package
Requires Python: >=3.8

# Architech
**A Python package for building your own AI model.**

### Features
- Train model
- Unlimited tokens
- Create large language model

### Installation
To install Architech, please run the following command in your terminal: <br>
```pip install architech```

To import it to your script, simply add the following code: <br>
```python
from architech import build
```

### Links
**Docs**: https://architech.py-dev.io <br>
**GitHub Repo**: https://github.com/AtlasL1/Architech
fastcrudapi 0.1.4
The package helps to build CRUD APIs for models based on FastAPI.
Requires Python: >=3.8,<4.0

# fastcrudapi

<p align="center">
    <a href="https://fastcrudapi.lpthong90.com"><img src="https://fastcrudapi.lpthong90.com/img/logo.png" alt="FastCRUDAPI"></a>
</p>
<p align="center">
    <em>Super easy to generate CRUD api routes.</em>
</p>
<p align="center">
    <a href="https://github.com/lpthong90/fastcrudapi/actions?query=workflow%3ATest" target="_blank">
        <img src="https://github.com/lpthong90/fastcrudapi/workflows/Test/badge.svg" alt="Test">
    </a>
    <a href="https://github.com/lpthong90/fastcrudapi/actions?query=workflow%3APublish" target="_blank">
        <img src="https://github.com/lpthong90/fastcrudapi/workflows/Publish/badge.svg" alt="Publish">
    </a>
    <a href="https://coverage-badge.samuelcolvin.workers.dev/redirect/lpthong90/fastcrudapi" target="_blank">
        <img src="https://coverage-badge.samuelcolvin.workers.dev/lpthong90/fastcrudapi.svg" alt="Coverage">
    <a href="https://pypi.org/project/fastcrudapi" target="_blank">
        <img src="https://img.shields.io/pypi/v/fastcrudapi?color=%2334D058&label=pypi%20package" alt="Package version">
    </a>
    <a href="https://pypi.org/project/fastcrudapi" target="_blank">
        <img alt="Downloads" src="https://img.shields.io/pypi/dm/fastcrudapi?color=%2334D058" />
    </a>
</p>
<p align="center">
    <img alt="PyPI - Python Version" src="https://img.shields.io/pypi/pyversions/fastcrudapi">
</p>


---

**Documentation**: <a href="https://fastcrudapi.lpthong90.dev" target="_blank">https://fastcrudapi.lpthong90.dev</a>

**Source  Code**: <a href="https://github.com/lpthong90/fastcrudapi" target="_blank">https://github.com/lpthong90/fastcrudapi</a>

---

The package helps to build CRUD APIs for models based on FastAPI.

## Installation
```bash
pip install fastcrudapi
```

## Basic Usage
```python
from fastapi import FastAPI
from fastcrudapi import CrudApiRouter
from pydantic import BaseModel

app = FastAPI()


class Book(BaseModel):
    id: int
    name: str


book_router = CrudApiRouter(
    prefix="/books",
    schema=Book,
)
app.include_router(book_router)
```