semvec/pypi-packages huggingface dataset:
genlogger 0.1.1
A logger designed to bridge the Generational gap between programmers. It is designed to be be inclusive to all generations of programmers using the vocabulary they are most familiar with.
License: MIT
Requires Python: >=3.9

# GLogger: The Logger That Speaks Your Language

Say hello to or **GenLogger** – the logger that makes your debugging a vibe. We’ve officially retired the tired old "DEBUG," "INFO," and "ERROR" for something with a little more personality: **YAP**, **DEETS**, **SKETCH**, **SUS**, and when things go totally sideways, **COOKED**. 

This isn’t just a logger; it’s a generational bridge for your codebase. Gen Z will call it lit, Millennials will embrace it ironically (but actually love it), and Boomers… well, they’ll ask for the docs (they wont be here long anyways). So why settle for boring logs when you can debug with *style*? Spice up your workflow and let your logs do the talking!

For now, we only support the coolest generation of all time – **Gen Z**. But don't worry, we'll be adding support for Millennials, Boomers, and other generations soon because we're all about inclusivity, even though y'all ain't as cool as us, you're still cool.


# Usage

To get started, simply integrate **GLogger** into your existing code:

```python
import logging
from genlogger import GenLogging, GenZ
GenLogging(generation=GenZ)
```

This modifies the `logging` module in place and works seamlessly with your current setup. **Important:** Make sure you import `glogger` *after* importing the `logging` module. If you import it before and your system gets **COOKED**, well… that’s on you. We’re Gen Z; we don’t write tests. 😉

# Contributing

Read `CONTRIBUTING.md`. Dont expect everything in `README.md`. Also figure it out, documentation is not a **GenZ** thing.

# Example Logs
```
2024-12-03 12:41:14,649 - SYSTEM IS COOKED - Victoria Daniels queried something at 1986-12-26 19:29:17
2024-12-03 12:41:14,649 - JUST YAPPING - William Lewis deleted something at 1988-12-15 19:36:26
2024-12-03 12:41:14,649 - JUST YAPPING - Heidi Smith retrieved something at 1980-01-31 04:13:07
2024-12-03 12:41:14,649 - THAT'S SKETCH - Alyssa Day queried something at 1996-05-17 12:07:21
2024-12-03 12:41:14,649 - SOMETHING IS SUS - Lisa Rodriguez created something at 2013-09-26 02:56:25
2024-12-03 12:41:14,649 - JUST YAPPING - Dominic Yoder queried something at 2010-01-23 02:13:55
2024-12-03 12:41:14,649 - THAT'S SKETCH - Paul Mcconnell created something at 1997-09-29 22:33:00
2024-12-03 12:41:14,649 - SOMETHING IS SUS - Savannah Schroeder retrieved something at 2007-06-22 22:12:29
2024-12-03 12:41:14,649 - THAT'S SKETCH - Dennis Cook updated something at 2024-10-31 11:30:04
2024-12-03 12:41:14,649 - SOMETHING IS SUS - Ronald Goodwin created something at 1975-11-02 22:35:27
```
sas7bdatx 2.2.3.3
A sas7bdat file reader for Python
License: MIT
Keywords: sas, sas7bdat, csv, converter

sas7bdat.py
===========

This module will read sas7bdat files using pure Python (2.6+, 3+). No SAS software
required! The module started out as a port of the R script of the same name
found here: <https://github.com/BioStatMatt/sas7bdat> but has since been
completely rewritten.

Also included with this library is a simple command line script,
`sas7bdat_to_csv`, which converts sas7bdat files to csv files. It will also
print out header information and meta data using the `--header` option and it
will batch convert files as well. Use the `--help` option for more information.

As is, I've successfully tested the script almost three hundred sample files I
found on the internet. For the most part, it works well. We can now read
compressed files!

I'm sure there are more issues that I haven't come across yet. Please let me
know if you come across a data file that isn't supported and I'll see if I can
add support for the file.

This module is modified by Yao Xiao.

Usage
=====

To install, run:

```
pip install sas7bdat
```

To create a sas7bdat object, simply pass the constructor a file path. The
object is iterable so you can read the contents like this:

```
#!python
from sas7bdat import SAS7BDAT
with SAS7BDAT('foo.sas7bdat', skip_header=True) as reader:
    for row in reader:
        print row
```

Each row will be a list of values of type `string`, `float`, `datetime.date`,
`datetime.datetime`, or `datetime.time`. Without `skip_header`, the first row
returned will be the SAS variable names.

If you'd like to get a pandas DataFrame, use the `to_data_frame` method:

```
#!python
df = reader.to_data_frame()
```

[Variable
attributes](https://support.sas.com/documentation/cdl/en/lrcon/65287/HTML/default/viewer.htm#n08fs0rt7fikeln1uh0t8v5pt25d.htm)
are available from `reader.columns`. The order of these columns will be the same
as the corresponding values in each `row`. Each `Column` has the following
attributes:

* `col_id` (`int`) - the column number
* `name` (`bytes`)
* `label` (`bytes`)
* `format` (`str`)
* `type` (`str`)
* `length` (`int`)
nonebot_plugin_cchess 0.4.2
Nonebot2 象棋插件
License: MIT
Requires Python: <4.0,>=3.9

## nonebot-plugin-cchess

适用于 [Nonebot2](https://github.com/nonebot/nonebot2) 的象棋插件。


### 安装

- 使用 nb-cli

```
nb plugin install nonebot_plugin_cchess
```

- 使用 pip

```
pip install nonebot_plugin_cchess
```


人机功能 需要使用遵循 [UCCI协议](https://www.xqbase.com/protocol/cchess_ucci.htm) 的引擎

需要在 `.env` 文件中添加 引擎的可执行文件的路径

```
cchess_engine_path=/path/to/your/engine
```

经试用可用的引擎：

 - [Fairy-Stockfish](https://github.com/ianfab/Fairy-Stockfish/releases)

注意，Fairy-Stockfish 支持多种游戏，需要选择支持 `Xiangqi` 的发行版，即需要选带有 `largeboard` 的版本


### 使用

**以下命令需要加[命令前缀](https://nonebot.dev/docs/appendices/config#command-start-和-command-separator) (默认为`/`)，可自行设置为空**

@我 + “象棋人机”或“象棋对战”开始一局游戏；

可使用“lv1~8”指定AI等级，如“象棋人机lv5”，默认为“lv4”；

发送 中文纵线格式如“炮二平五” 或 起始坐标格式如“h2e2”下棋；

发送“结束下棋”结束当前棋局；

发送“显示棋盘”显示当前棋局；

发送“悔棋”可进行悔棋（人机模式可无限悔棋；对战模式只能撤销自己上一手下的棋）；


或者使用 `cchess` 指令：

可用选项：
 - `--battle`: 对战模式，默认为人机模式
 - `--black`: 执黑，即后手
 - `-l <LEVEL>`, `--level <LEVEL>`: 人机等级，可选 1~8，默认为 4


### 示例

<div align="left">
    <img src="https://s2.loli.net/2022/04/30/RztCnIkFQqWKsUe.jpg" width="500" />
</div>


### 特别感谢

- [niklasf/python-chess](https://github.com/niklasf/python-chess) A chess library for Python
- [StevenBaby/chess](https://github.com/StevenBaby/chess) 基于 Pyside2 和 UCCI 引擎的中国象棋程序
- [walker8088/cchess](https://github.com/walker8088/cchess) cchess是一个Python版的中国象棋库
- [ianfab/Fairy-Stockfish](https://github.com/ianfab/Fairy-Stockfish) chess variant engine supporting Xiangqi and many more
py3-response-handler 1.0.1
A Response Handler Library By Guolei
License: MIT
Requires Python: >=3.0

# py3-response-handler

A Python3 Response Handler Library By Guolei

# Installation

```shell
pip install py3-response-handler
```

# Example

## Quickstart

### requests.Response Handler

```python
import requests

from py3_response_handler import Handler,HandlerType

response = requests.get("https://www.google.com")

response_handler=Handler.instance(HandlerType.REQUESTS_RESPONSE_HANDLER)

# requests.Response object
response_handler.response(response)

# requests.Response object content
response_handler.content(response, 200)

# requests.Response object text
response_handler.text(response, 200)

# requests.Response object text to bs4.Beautifulsoup object
response_handler.text_to_beautifulsoup(response, 200)

# requests.Response object json
response_handler.json(response, 200)

# requests.Response object json to addict.Dict object
response_handler.json_to_addict(response, 200)
```

## Advanced Usage

### requests.Response Handler

```python
import requests
from requests import Response
from py3_response_handler.requests import ResponseHandler


class MyResponseHandler(ResponseHandler):
    def your_function(self, response: Response):
        # your code
        pass


response = requests.get("https://www.google.com")
my_response_handler = MyResponseHandler()
my_response_handler.your_function(response)
```
test-dev-toml 0.0.7
test project for toml dev
License: MIT
Requires Python: >=3.9
Keywords: setuptools, toml, generation, python

## Summary

please ignore. being used to develop setup.toml file

Useful links

* https://github.com/pypa/sampleproject/blob/main/pyproject.toml
* Guide (user-friendly): https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
* Specification (technical, formal): https://packaging.python.org/en/latest/specifications/pyproject-toml/
* Choosing a build
  backend: https://packaging.python.org/en/latest/tutorials/packaging-projects/#choosing-a-build-backend