semvec/pypi-packages huggingface dataset:
milesian 0.0.1
A math calculation package.
Requires Python: >=3.8

# milesianpy

![alt text](docs/logo.png)

A math calculation package.

## Usage

![screenshot](docs/screenshot.png)

**Parsers**:

- `basic_parser`: A basic parser that can parse basic math expressions.
- `number_parser`: A parser that can parse numbers.
- `operator_parser`: A parser that can parse operators.

```python
from milesianpy.parsers import basic_parser

// TODO: add examples here.
```

## Installation

```bash
pip install milesianpy
```

## Development

### Setup

For first time setup:

```bash
make setup
```

> To build, publish, and clean the artifacts in one simple step, run:
> `make all`

### Building

To build the package, run:

```bash
make build
```

### Publishing

To publish the package to pypi, run:

```bash
make publish
```
make-professional-website 0.1.1
A command-line interface tool to make a professional HTML website from YAML files.
Requires Python: >=3.9

# make-resume

This is a Python package that provides the CLI script `make-professional-website`.

It is intended for anybody who prefers to maintain their data in plain text YAML files.

It looks for the following files in the current directory. All files are optional.

    1. *resume.yaml* - This is the landing page and contains your professional resume or CV.
    2. *concepts.yaml* - This is a page to suggest new words or acronyms for concepts that don't have obvious definitions yet.
    3. *contact.yaml* - A contact page, powered by Devro LABS.

Examples of these YAML files are provided in this repository can be found
[here](https://github.com/d3987ef8/make-professional-website/tree/main/examples).

Each of these YAML files is converted to HTML in a subdirectory for each of the
specified domains. This allows for multiple domains to present the same data.

In the case of *resume.yaml*, an additional HTML file *pdf.html* is provided
and is intended to be loaded in Chrome Browser and printed to PDF, then copied
to each domain subdirectory. I know this is a bit of a manual process but I
didn't want to rely on any automatic PDF converters.

## Installation

    pip install make-professional-website

## Usage

    make-professional-website

## Dependencies

This project depends on:

    - Jinja2 Python package
    - pyyaml Python package
    - FormSubmit, a service provided by Devro LABS.

## Contributing

To begin making your own templates for pages, I recommend checking out the existing HTML templates
[here](https://github.com/d3987ef8/make-professional-website/tree/main/src/make_professional_website/)
to reference examples.
Twitch-Edog0049a 0.1.19
Twitch library for chat, api, pubs, and eventsub
Requires Python: >=3.10
Keywords: aiohttp, api, chat, chatbot, eventsub, irc, oauth, pubsub, requests, tmi, tmi.js, tmi.py, tmi.twitch.tv, twitch, twitch api, twitch api aiohttp, twitch api aiohttp3, twitch api aiohttp3.11, twitch api python, twitch api python3, twitch api python3.11, twitch api python3.11.0, twitch chat, twitch chat aiohttp, twitch chat aiohttp3, twitch chat aiohttp3.11, twitch chat python, twitch chat python3, twitch chat python3.11, twitch chat python3.11.0, twitch chatbot, twitch chatbot aiohttp, twitch chatbot aiohttp3, twitch chatbot aiohttp3.11, twitch chatbot python, twitch chatbot python3, twitch chatbot python3.11, twitch eventsub, twitch eventsub aiohttp, twitch eventsub aiohttp3, twitch eventsub aiohttp3.11, twitch eventsub python, twitch eventsub python3, twitch eventsub python3.11, twitch irc, twitch irc aiohttp, twitch irc aiohttp3, twitch irc aiohttp3.11, twitch irc python, twitch irc python3, twitch irc python3.11, twitch pubsub, twitch pubsub aiohttp, twitch pubsub aiohttp3, twitch pubsub aiohttp3.11, twitch pubsub python, twitch pubsub python3, twitch pubsub python3.11, twitch pubsub python3.11.0, twitch.tv, websockets

# `Twitch`

api wrraper with chat pubsub and event connectors
edicat 2024.8.2
Print and concatenate EDI files
Requires Python: >=3.7
Keywords: ansix12, edi, edicat, edifact

# edicat: Print and transform EDI

![pypi-version](https://img.shields.io/pypi/v/edicat.svg)

## Why?

EDI often does not include newlines which makes it incompatible with
normal UNIX tools that operate on a line-by-line basis.  So we do some
simple detection of the segment terminator and append newlines as required.

## Install

```
pip3 install -U edicat
```

## Usage

```shell
$ edicat --help
usage: edicat [-n] [filenames [filenames ...]]

Print and concatenate EDI.

positional arguments:
  filenames     Filename(s) or - for stdin

optional arguments:
  -n, --lineno  Number the output lines, starting at 1.
```

## Examples
Simple cat:
```shell
$ cat edi850_sample.txt
ISA*00*          *00*          *01*0011223456     *01*999999999      *950120*0147*U*00300*000000005*0*P*^~GS*PO*0011223456*999999999*950120*0147*5*X*003040~ST*850*000000001~BEG*00*SA*95018017***950118~N1*SE*UNIVERSAL WIDGETS~N3*375 PLYMOUTH PARK*SUITE 205~N4*IRVING*TX*75061~N1*ST*JIT MANUFACTURING~N3*BUILDING 3B*2001 ENTERPRISE PARK~N4*JUAREZ*CH**MEX~N1*AK*JIT MANUFACTURING~N3*400 INDUSTRIAL PARKWAY~N4*INDUSTRIAL AIRPORT*KS*66030~N1*BT*JIT MANUFACTURING~N2*ACCOUNTS  PAYABLE DEPARTMENT~N3*400 INDUSTRIAL PARKWAY~N4*INDUSTRIAL AIRPORT*KS*66030~PO1*001*4*EA*330*TE*IN*525*VN*X357-W2~PID*F****HIGH PERFORMANCE WIDGET~SCH*4*EA****002*950322~CTT*1*1~SE*20*000000001~GE*1*5~IEA*1*000000005~
```

EDIcat:
```shell
$ edicat edi850_sample.txt
ISA*00*          *00*          *01*0011223456     *01*999999999      *950120*0147*U*00300*000000005*0*P*^~
GS*PO*0011223456*999999999*950120*0147*5*X*003040~
ST*850*000000001~
BEG*00*SA*95018017***950118~
N1*SE*UNIVERSAL WIDGETS~
N3*375 PLYMOUTH PARK*SUITE 205~
N4*IRVING*TX*75061~
N1*ST*JIT MANUFACTURING~
N3*BUILDING 3B*2001 ENTERPRISE PARK~
N4*JUAREZ*CH**MEX~
N1*AK*JIT MANUFACTURING~
N3*400 INDUSTRIAL PARKWAY~
N4*INDUSTRIAL AIRPORT*KS*66030~
N1*BT*JIT MANUFACTURING~
N2*ACCOUNTS  PAYABLE DEPARTMENT~
N3*400 INDUSTRIAL PARKWAY~
N4*INDUSTRIAL AIRPORT*KS*66030~
PO1*001*4*EA*330*TE*IN*525*VN*X357-W2~
PID*F****HIGH PERFORMANCE WIDGET~
SCH*4*EA****002*950322~
CTT*1*1~
SE*20*000000001~
GE*1*5~
IEA*1*000000005~
```

## Run tests

```
python3 -m unittest
```

## Known Issues:

* `cat /path/* | edicat` won't work with documents that are mixed spec/separators (stdin has no hints as to file boundary).
  * Workarounds:
    * `edicat /path/*.edi`
    * `find /path/ -name '*.edi' | xargs edicat`
* No TRADACOMS support
* No HL7 support
gbv 0.1.2
A package to get videos from Bilibili
Requires Python: >=3.9

# GetBilibiliVideo：一个用于下载B站视频的开源命令行工具

## 项目简介

GetBilibiliVideo是一款旨在帮助用户从Bilibili网站下载视频或收藏夹内容的开源命令行程序。本项目通过简洁的命令行接口，允许用户灵活指定下载选项，如选择浏览器、硬件加速、编码格式以及缓存设置等。

### 功能特性

1. **链接抓取**：提供必选参数 `--url` 或 `-i` 来指定要下载的单个视频链接或收藏夹地址。

2. **自定义输出路径**：通过可选参数 `--output` 或 `-o` 指定视频保存路径，默认为当前工作目录。

3. **浏览器支持**：在获取cookies时可以选择不同的浏览器（Edge, Chrome, Firefox），默认为Edge。

4. **缓存功能**：启用 cookies 缓存以供后续使用，只需指定 `--cache` 参数。

5. **分页缓存**：对合集视频提供分页缓存功能，可通过 `--page` 或 `-p` 参数指定缓存的页数，默认缓存全部页面。

6. **硬件加速**：查询并支持FFmpeg硬件加速功能，根据系统可用的硬件加速器进行选择，列出可用的加速硬件供用户参考，使用 `--hwaccels` 参数。

7. **编码转换**：为了适配Windows平台播放，添加了将视频编码转换为H.264的功能，通过 `--libx264` 或 `--windows` 参数启用此功能，默认关闭。

### 使用示例

```bash
python gbv.py --url "https://www.bilibili.com/video/BV1UA4m1572K" --output "D:/Videos" --browser chrome --cache --page 2 --hwaccels vaapi --libx264
```

### 参数详解

- `--url` / `-i`: 必须提供，用于指定要下载的B站视频链接。
- `--output` / `-o`: 可选，设置下载视频的保存路径，默认为当前目录。
- `--browser` / `-b`: 可选，指定获取cookies时使用的浏览器（edge, chrome, firefox）。
- `--cache`: 可选，开启cookies缓存功能。
- `--page` / `-p`: 可选，设置下载合集视频的缓存页数，默认下载所有页。
- `--hwaccels`: 可选，启用FFmpeg硬件加速，并从检测到的硬件列表中选择一种。
- `--libx264` / `--windows`: 可选，启用H.264编码转换，便于在Windows平台上播放。

### 注意事项

请确保安装了FFmpeg，并正确配置了所需的硬件加速驱动。对于不支持的硬件加速选项，程序会发出警告信息并保持软件解码。

---

以上就是GetBilibiliVideo项目的简要介绍和使用说明，欢迎参与贡献代码或提出宝贵建议，共同优化和完善此项目。

![firefly](images/firefly.jpg)