semvec/pypi-packages huggingface dataset:
vdg 0.4.1
VCB-Studio 发布工具
Requires Python: >=3.11

# VDG

![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)
[![Deploy to PyPI](https://github.com/diazchika/vdg/actions/workflows/python-publish.yml/badge.svg)](https://github.com/diazchika/vdg/actions/workflows/python-publish.yml)

## 简介

使用 Jinja2 填充 VCB-Studio 发布稿 YAML 模版。使用 Selenium Webdriver 半自动上传稿件。

## 安装

`pip install vdg`

## 使用方法

### 1. 运行 `vdg new`

会在当前目录下生成四个文件:

- `config.yml`: 用于填写发布信息;
- `url.html`: 填写 HTML 格式的总监截图;
- `url.md`: 填写 Markdown 格式的总监截图;
- `mediainfo.txt`: 填写 MediaInfo.

### 2. 填写发布信息

填写完毕后运行 `vdg gen`, 生成发布稿件 (预览).

### 3. 运行 `vdg publish`

若生成的稿件预览没有问题, 在公网发布时运行 `vdg publish`.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
hexl 1.0
Better work with hexadecimal numbers
Requires Python: >=3.6


# Hexl Library

## Overview

`Hexl` is a Python library designed to create and manipulate unique hexadecimal IDs. These IDs can be iterated, compared, and used in arithmetic operations. This library includes various methods to generate hexadecimal IDs, convert between decimal and hexadecimal, and perform mathematical operations on these values.

## Features

- **Hexadecimal ID Generation**: Generate random 8-digit hexadecimal IDs.
- **Decimal-to-Hexadecimal Conversion**: Convert decimal values to their hexadecimal equivalents and vice-versa.
- **Iterability**: The hexadecimal ID can be iterated over.
- **Mathematical Operations**: Support for addition, subtraction, multiplication, division, exponentiation, and more with hexadecimal values.
- **Comparison Operations**: Hexadecimal values can be compared using standard comparison operators.

## Class: `hexl`

### Attributes

- **hexl_ID**: A string representing an 8-digit hexadecimal value. It can be either provided by the user or randomly generated.

### Methods

- `__init__(self, hexl_ID: Union[str, int])`: Initializes the `hexl` instance with a hexadecimal ID. If no ID is provided, a random one will be generated.
- `generate_hex() -> hexl`: Generates a random 8-digit hexadecimal ID.
- `to_hex(values: Union[str, int]) -> str`: Converts a decimal or string value into a hexadecimal string.
- `__iter__()`: Makes the hexadecimal ID iterable.
- `__repr__()`: Returns a string representation of the `hexl` instance, showing both the hexadecimal and decimal values.
- `__str__()`: Returns the hexadecimal ID as a string.
- `__int__() -> int`: Converts the hexadecimal ID to its decimal equivalent.
- `__len__() -> int`: Returns the length of the hexadecimal ID.
- `__eq__(self, hex: str) -> bool`: Compares the hexadecimal ID with another string for equality.
- Mathematical operations: `__add__`, `__sub__`, `__mul__`, `__pow__`, `__floordiv__`, `__truediv__` for arithmetic operations with hexadecimal values.
- Comparison operators: `__le__`, `__lt__`, `__ge__`, `__gt__` for comparing hexadecimal values.
- Reflexive operations: `__radd__`, `__rsub__`, `__rmul__`, `__rpow__`, `__rfloordiv__`, `__rtruediv__` for operations where the left-hand side is not a `hexl` instance.
- `__hash__()`: Returns the hash value of the hexadecimal ID.

## Example Usage

```python
from hexl import hexl

# Creating a random hexadecimal ID
hex_instance = hexl()

# Creating a hexadecimal ID from a decimal or string
hex_from_str = hexl("A12FFBD0")
hex_from_int = hexl(12345)

# Performing mathematical operations
result = hex_from_str + 10
result_mul = hex_from_str * 2

# Converting to decimal
decimal_value = int(hex_from_str)

# Comparing hexadecimal IDs
is_equal = hex_instance == "A12FFBD0"
is_greater = hex_instance > hex_from_str
```

## Installation

1. Clone the repository:
   ```bash
   git clone https://github.com/username/hexl-library.git
   ```

2. Install the required dependencies (if any):
   ```bash
   pip install -r requirements.txt
   ```

## License

This project is licensed under the MIT License.
mawhrin 0.2.0
A command-line note file manager in Python.
Requires Python: >=3.11
Keywords: cli, notes

# Mawhrin

[![](https://img.shields.io/pypi/v/mawhrin?style=flat-square)][pp]
[![](https://img.shields.io/github/last-commit/stvmln86/mawhrin?style=flat-square)][ch]
[![](https://img.shields.io/github/issues/stvmln86/mawhrin?style=flat-square)][is]
[![](https://img.shields.io/pypi/l/mawhrin?style=flat-square)][li]
[![](https://img.shields.io/pypi/pyversions/mawhrin?style=flat-square)][py]

**Mawhrin** is a command-line note file manager, written in [Python 3.11][py] by [Stephen Malone][sm]. If you have a directory of plaintext note files, Mawhrin can give you a neat & tidy command-line interface to access, edit and organise them.

## Installation

You can install Mawhrin using Pip:

```
pip install mawhrin
```

Or just download the [latest release][rl] for your platform.

## Configuration

Mawhrin always operates within a directory of plaintext note files you specify, using two environment variables:

```bash
# The directory your note files are in.
export MAWHRIN_DIR = "$HOME/notes"

# The extension your note files use (with a leading dot).
export MAWHRIN_EXT = ".txt"
```

That's it. That's all you need to do. 

## Commands

### Basic syntax

Your notes are always shown as lowercase names, e.g.: Mawhrin will show the note file `notes/foo.txt` as `foo`. The opposite is also true: if you ask Mawhrin to create the note `foo`, it will translate to `notes/foo.txt`. 

For command-line help, call Mawhrin or a command with the the `-h` or `--help` options. 

### List all notes

Use `list` to see all your notes, or notes with names matching some text:

```bash
$ mawhrin list
books_to_read
recipes_pasta
recipes_vegan
todos-2024

$ mawhrin list "2024"
todos-2024
```

- Matching uses case-insensitive substrings, so `TODO` will match `todos-2024`.
- If no matches are found, Mawhrin will print nothing.

### Search all notes

Use `find` to list notes containing some text:

```bash
$ mawhrin find "add the tofu"
recipes_vegan
```

- Searching also uses case-insensitive substrings.
- If no searches are found, Mawhrin will print nothing.

### Create a note

Use `make` to create a new empty note, or a note containing some text:

```bash
$ mawhrin make movies_to_watch
# or to add text:
$ mawhrin make movies_to_watch "- [ ] Contact"
```

- If the note already exists, Mawhrin will print an error.

### Print a note

Use `show` to print the contents of a note, if it exists:

```
$ mawhrin show books_to_read
- [x] The Player of Games by Iain M. Banks
```

- If the note doesn't exist, Mawhrin will print nothing.

## Contributing

Please submit all bug reports and feature requests to the [issue tracker][is], thank you.  

[ch]: https://github.com/stvmln86/mawhrin/blob/main/changes.md
[is]: https://github.com/stvmln86/mawhrin/issues
[li]: https://github.com/stvmln86/mawhrin/blob/main/license.md
[rl]: https://github.com/stvmln86/mawhrin/releases/latest
[sm]: https://github.com/stvmln86
[pp]: https://pypi.org/project/mawhrin/
[py]: https://www.python.org/downloads/release/python-3110/
wrapper-livecounts-api 0.1.2
Wrapper API Livecounts.io
Requires Python: <4.0,>=3.10

# 🎶 Wrapper Livecounts.io API

**Wrapper API for live counts of users and videos on TikTok, YouTube, Twitter, Twitch, KickLive, Vlive, and Odysee Live via Livecounts.io.**

## 📝 Supported API

- **YouTube**: User/Video Count
- **TikTok**: User/Video Count
- **Twitter**: User Count
- **Twitch**: To be supported
- **Vlive**: To be supported
- **Kicklive**: To be supported
- **Odysee-live**: To be supported

## 🕵️ Usage

```shell
pip install wrapper_livecounts_api
```

### Tiktok Live Count API

- **User API**

```python
from wrapper_livecounts_api.tiktok_agent import TiktokAgent

# Find users by username or full name
users = TiktokAgent.find_user(query="best")

# Find exact user by username
user = TiktokAgent.find_user(query="best", exact=True)

# Live count user by username
user_metrics = TiktokAgent.fetch_user_metrics(query="best")

# Live count user by user id
user_metrics = TiktokAgent.fetch_user_metrics(user_id="123456789")
```

- **Video API**

```python
from wrapper_livecounts_api.tiktok_agent import TiktokAgent

# Find a video by given url
video = TiktokAgent.find_video(query="https://tiktok.com/@test/video/122222223233232?test1=value1")

# Find a video by video_id
video = TiktokAgent.find_video(video_id="122222223233232")

# Live count video by a given url
video_metrics = TiktokAgent.fetch_video_metrics(query="https://tiktok.com/@test/video/122222223233232?test1=value1")

# Live count video by a given video_id
video_metrics = TiktokAgent.fetch_video_metrics(video_id="122222223233232")
```

### YouTube API

[Placeholder]

### Twitter API

[Placeholder]

## 📛 Disclaimer

This project aimed to security research, testing purpose. Any misuse of this tool for malicious purposes is not condoned.
The developers of this API are not responsible for any illegal or unethical activities carried out using this API.
apexnova-python-stubs 0.1.2
Python stubs __generated__ from gRPC protobuf definitions for Apex Nova services.
Requires Python: >=3.6

# Apex Nova Python Stubs

This repository contains Python stubs generated from gRPC protobuf definitions for Apex Nova services.

## Overview

The stubs are generated using `protoc` and the `grpc_tools` package, which provides the necessary tools to compile `.proto` files into Python code. These stubs include both the protocol buffer message classes and the gRPC service classes.

## Directory Structure
The directory structure of this repository is as follows:

```
python-stub/
├── build.gradle.kts
├── README.md
├── src/
│   ├── apexnova/
│   │   ├── __init__.py
│   ├── ...
```

## Usage

To use the stubs in your Python project, you can install them from PyPI using the following command:

```
pip install apexnova-stubs
```
image-processing-grasel 0.0.1
Aprendendo sobre pacotes
Requires Python: >=3.8

# package_name

Description. 
The package package_name is used to:
	processing:
		- Histogram matching
		- Structural similarity
		- Resize image
	Utils:
		- Read image
		- Save image
		- Plot image
		- Plot result
		- Plot histogram

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install package_name

```bash
pip install imagem_processing_grasel
```

<!-- ## Usage

```python
from package_name.module1_name import file1_name
file1_name.my_function() -->
```

## Author
Joathan_Grasel

## License
[MIT](https://choosealicense.com/licenses/mit/)
beets-webrouter 0.5.0
Serve multiple beets APIs on the same IP/port using a single command

# beets-webrouter

A [beets](https://github.com/beetbox/beets) plugin to serve multiple [Flask](https://github.com/pallets/flask) or [FastAPI](https://github.com/fastapi/fastapi) based beets web apps on the same server/host/port using a single command.

By running `beet webrouter` you can serve e.g. the beets web UI, a Subsonic API as well as the generated M3U playlists on the same host/port, each under a different path.

## Installation

```sh
python3 -m pip install beets-webrouter fastapi flask uvicorn
```

To install the plugins that are used by the example configuration below, run:
```sh
python3 -m pip install beetstream beets-webm3u
```

## Configuration

Enable the plugin and add a `webrouter` section to your beets `config.yaml` as follows:
```yaml
plugins:
  - webrouter
  - web
  - webm3u
  - beetstream
  - aura
  - smartplaylist

webrouter:
  host: 0.0.0.0
  port: 8337
  routes:
    /:
      plugin: web
    /favicon.ico:
      plugin: webrouter.favicon
    /subsonic:
      plugin: beetstream
      config:
        never_transcode: true
    /aura:
      plugin: aura
      blueprint: aura_bp
    /m3u:
      plugin: webm3u

aura:
  page_limit: 100

webm3u:
  host: 0.0.0.0
  port: 8339
  playlist_dir: /data/playlists
```

## Usage

Once the `webrouter` plugin is enabled within your beets configuration, you can run it as follows:
```sh
beet webrouter
```

You browse the server at [`http://localhost:8337`](http://localhost:8337).

### CLI

```
Usage: beet webrouter [options]
```

## Development

Run the unit tests (containerized):
```sh
make test
```

Run the e2e tests (containerized):
```sh
make test-e2e
```

To test your plugin changes manually, you can run a shell within a beets docker container as follows:
```sh
make beets-sh
```

A temporary beets library is written to `./data`.
It can be removed by calling `make clean-data`.

To just start the server, run:
```sh
make beets-webrouter
```