semvec/pypi-packages huggingface dataset:
PySlyde 0.1.0
A Python package for preprocessing pathology whole slide images.
Requires Python: >=3.12


<!-- PROJECT LOGO -->
<br />
<p align="center">
  <a href="https://github.com/othneildrew/Best-README-Template">
    <img src="images/logo.png" alt="Logo" width="80" height="80">
  </a>

  <h3 align="left">PySlide</h3>
 
PySlide is a comprehensive Python package for preprocessing pathology whole slide images (WSIs). Built as a wrapper around OpenSlide, it provides powerful, user-friendly functionality for working with high-resolution pathology images, making it ideal for researchers and data scientists in the medical imaging domain.

## Features

- **WSI Handling**: Supports large pathology slides and other WSI formats via OpenSlide.
- **Efficient Preprocessing**: Streamline tasks like cropping, resizing, and filtering at high performance.
- **Annotation Support**: Easily integrate and visualize annotations.
- **Tiling and Patching**: Flexible tiling options for patch extraction, ideal for deep learning workflows.
- **Image Metadata Extraction**: Retrieve and manage metadata from WSIs.
  
## Installation

Install PySlide via PyPI:

```bash
pip install PySlide
```

## Quick Start

```python
from pyslide import SlideProcessor

# Initialize the processor with your WSI file
processor = SlideProcessor("path/to/your/slide.svs")

# Example: Extract a tile
tile = processor.get_tile(x=1000, y=2000, width=256, height=256)

# Example: Preprocess a slide
processed_slide = processor.preprocess_slide(parameters)
```

<!-- LICENSE -->
### License

Distributed under the MIT License

<!-- CONTACT -->
### Contact

gregory.verghese@gmail.com
raintools-colors 0.1.2
A versatile Python module for terminal color and style formatting, allowing easy customization of text appearance in command line applications.
Requires Python: >=3.6

# Raintools Colors

**Raintools Colors** is a versatile Python module designed for formatting terminal output with colorful text and styles. This module simplifies the process of customizing the appearance of text in command-line applications, allowing developers to easily implement colorful interfaces.

## Features

- **Color Management**: Easily apply foreground and background colors to text.
- **Text Styles**: Utilize various text styles such as bold, italic, and underline.
- **Themed Messages**: Predefined styles for success, warning, and error messages.
- **Utility Functions**: Functions for displaying progress bars and manipulating RGB colors.

## Installation

You can install the package using pip:

```bash
pip install raintools_colors
inclusion 1.0.2
A tool to check for file inclusion vulnerabilities.

# Inclusion Scanner

## Overview

The Inclusion Scanner is a Python tool designed to detect file inclusion vulnerabilities on web applications. By leveraging various payloads, the scanner attempts to access sensitive files and configurations that should not be publicly exposed. This tool can be helpful for security professionals and developers seeking to identify potential security flaws in their applications.

## Features

- **Supports Multiple Payloads**: Uses a predefined list of payloads to check for vulnerabilities.
- **Custom Payloads**: Users can specify their own payload files for tailored scans.
- **Real-Time Feedback**: The scanner can provide immediate feedback on vulnerabilities found during the scan.

## Installation

Ensure you have Python installed on your system. Then, install the required libraries using pip:

```bash
pip install inclusion
```

## Usage

### Command Line Interface

You can run the scanner from the command line using various options:

1. **Basic Usage with a URL**

This command will scan the specified URL using default payloads:

```bash
inclusion --url https://example.com/
```

2. **Using a Custom Payload File**

To scan using a custom payload file, specify the path to your file:

```bash
inclusion --url https://example.com/ --payload path/to/custom_payloads.txt
```

### Python Code Examples

1. **Basic Usage with Default Payloads**

This example demonstrates how to use the scanner in a Python script with default payloads:

```python
from inclusion import scan

url = "https://example.com/"

def print_vulnerability(test_url):
    print(f"Inclusion vulnerability found: {test_url}")

vulnerabilities = scan(url, callback=print_vulnerability)

if not vulnerabilities:
    print("No vulnerabilities found.")
```

2. **Using a Custom Payload File**

Hereâ€™s how to scan a URL using a custom payload file:

```python
from inclusion import scan

url = "https://example.com/"
payload_file = "path/to/custom_payloads.txt"

def print_vulnerability(test_url):
    print(f"Inclusion vulnerability found: {test_url}")

vulnerabilities = scan(url, payload_file=payload_file, callback=print_vulnerability)

if not vulnerabilities:
    print("No vulnerabilities found.")
```

## How It Works

The scanner constructs URLs by appending payloads to the base URL. It then sends HTTP requests to the constructed URLs and checks the responses for signs of file inclusion vulnerabilities, such as the presence of sensitive data. 

### Important Notes

- **Use Responsibly**: Always obtain permission before scanning a web application. Unauthorized scanning may violate terms of service or laws.
- **Environment**: Ensure that your scanning environment is safe and secure, especially if you are testing against live applications.

## License

This project is licensed under the MIT License.

## Contribution

Contributions are welcome! If you have suggestions or improvements, feel free to open an issue or submit a pull request.
python-jr 2.1.3
python plugin system for jr, the data random generator
Requires Python: <4.0,>=3.9

# Python Plugin package for JR, the data random generator
This package implements a framework to write a producer plugin for [JR](https://github.io/jrnd-io/jrv2) in python.

## Example
A simple plugin can be written as follows:

```python
import logging
import python_jr.jrplugin as jr
import python_jr.producer_pb2 as pb2


# Define a logger with the correct level
logger = jr.Logger(logging_level=logging.DEBUG)
log = logger.log

class MyProducer(jr.JRProducer):
    def Produce(self, request, context):
        key = request.key.decode("utf-8")
        value = request.value.decode("utf-8")
        # do something with the key and value

        # return a response
        response = pb2.ProduceResponse()
        response.bytes = len(request.value)
        response.message = "Some message"

        return response


if __name__ == "__main__":
    jr.serve(MyProducer(), logger)
```
nonebot-plugin-buy 0.1.6
nonebot-plugin-buy
Requires Python: >=3.9

<div align="center">
  <a href="https://v2.nonebot.dev/store"><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
  <br>
  <p><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg" width="240" alt="NoneBotPluginText"></p>
</div>

<div align="center">


# nonebot-plugin-buy

_✨ NoneBot 拼团活动记录插件 ✨_


<a href="./LICENSE">
    <img src="https://img.shields.io/github/license/Onimaimai/nonebot-plugin-buy.svg" alt="license">
</a>
<a href="https://pypi.python.org/pypi/nonebot-plugin-buy">
    <img src="https://img.shields.io/pypi/v/nonebot-plugin-buy.svg" alt="pypi">
</a>
<img src="https://img.shields.io/badge/python-3.9+-blue.svg" alt="python">

</div>

这是一个基于JSON文件的 nonebot2 拼团活动人员记录插件

## 📖 介绍

用于群内拼团和活动记录

## 💿 安装

<details open>
<summary>使用 nb-cli 安装</summary>
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装

    nb plugin install nonebot-plugin-buy

</details>

<details>
<summary>使用包管理器安装</summary>
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令

<details>
<summary>pip</summary>

    pip install nonebot-plugin-buy
</details>
<details>
<summary>pdm</summary>

    pdm add nonebot-plugin-buy
</details>
<details>
<summary>poetry</summary>

    poetry add nonebot-plugin-buy
</details>
<details>
<summary>conda</summary>

    conda install nonebot-plugin-buy
</details>

打开 nonebot2 项目根目录下的 `pyproject.toml` 文件, 在 `[tool.nonebot]` 部分追加写入

    plugins = ["nonebot_plugin_buy"]

</details>

## 🎉 使用
### 指令表
| 指令 | 权限 | 需要@ | 范围 |
|:-----:|:----:|:----:|:----:|
| 开团<名称><成团金额> | 主人、群管 | 否 | 群聊 
| 拼团<名称><参与金额> | 群员 | 否 | 群聊 
| 查团<名称> | 群员 | 否 | 群聊 
| 复团<名称> | 主人、群管 | 否 | 群聊 
| 删团<名称> | 主人、群管 | 否 | 群聊 
| 团购列表 | 群员 | 否 | 群聊 
### 效果图
![1](https://github.com/user-attachments/assets/06f2fa74-7272-49a2-bb9c-ca6325dcabc5)
cinema-app 0.1.0
Une application pour choisir des réalisateurs de cinéma
Requires Python: >=3.12

# Cinema App

Une application pour choisir des rÃ©alisateurs de cinÃ©ma.

## Installation

Pour installer cette application, utilisez `pip` :

```bash
pip install cinema_app
```

## Utilisation

Lancez l'application avec :

```bash
python -m cinema_app.app
```

## DÃ©pendances

- Pillow
- customtkinter

## Auteurs

- Dastarac Louis
tidsreg 0.6.3
Cli and module to register time in the municipality of Copenhagen
Requires Python: >=3.10

# tidsreg

The missing tool for registrering time in the municipality of Copenhagen.

# Installation

```bash
pip install tidsreg
```
or
```bash
uv tool install tidsreg
```

# Getting started
First, make sure that `tidsreg` is configured and log in through the browser.
```bash
tidsreg init
tidsreg login
```

Then add, show or clear registrations:
```bash
tidsreg show
tidsreg add <projectname> -s 9 -e 1015 -m "A comment"
tidsreg clear  # WILL DELETE YOUR REGISTRATIONS!
```

# Bulk registrations
It is possible to register multiple items at the same time using the `bulk` command.
Create a file with `<TAB>` between the time, the project, and the optional comment and pass it using the `-f` option.

```
$ cat bulkfile
830	project1	Optional comment
9	project2
1130	frokost
12
14:00	project1	Another comment
1415
$ tidsreg bulk -f bulkfile
```
Whis will create four registrations:
* project1 from 8:30 to 9:00
* project2 from 9:00 to 11:30
* frokost from 11:30 to 12:00
* project1 from 14:00 to 14:15

# Headless login
By setting the environement variables `TIDSREG_USERNAME` and `TIDSREG_PASSWORD`, it is possible to login headlessly by adding the `--headless` option to the `tidsreg login` command.

# Autocomplete
Follow this guide to setup autocomplete: https://click.palletsprojects.com/en/8.1.x/shell-completion/

# Development
When things don't work, call `tidsreg` with `PWDEBUG=1` to follow along in the browser.

# TODO
* Look into releases on github and setup a pipeline (Actions)
* Make adding registrations wait for the list to update (expect(thelist).to_have_count(thecount) - make it optional to speed up processing when making many registrations
* Check if a registration can be made without trying in the browser
* Add no-trunc flag to show command after it has been prettyfied
* Export of current registrations to bulk-file