semvec/pypi-packages huggingface dataset:
nonebot-plugin-BilirequestAll 0.2.1
通过B站UID审核入群
Requires Python: >=3.8

<p align="center">
  <a href="https://v2.nonebot.dev/"><img src="https://raw.githubusercontent.com/Shadow403/nonebot_plugin_BiliRequestAll/image/nonebot_plugin_BilirequestAll_logo.png" width="300" height="300" alt="nonebot"></a>
</p>

<div align="center"> 

# nonebot_plugin_BiliRequestAll

<div>

<div align=left> <div>


<p align="center">
  <img src=https://img.shields.io/github/stars/Shadow403/nonebot_plugin_BiliRequestAll.svg alt="Start">
  <img src="https://img.shields.io/badge/python-3.10+-blue.svg" alt="Python">
  <img src="https://img.shields.io/badge/nonebot-2.0.0b1+-red.svg" alt="NoneBot">
  <img src="https://img.shields.io/badge/onebot-2.0.0b1+-darkgreen.svg" alt="OneBot">
  <img src="https://img.shields.io/badge/version-0.2.1-yellow.svg" alt="Version">
  </a>
</p>

## 已实现功能
- 单插件分群管理
- 以B站UID审核入群（粉丝）
- 以B站UID审核入群（粉丝团）
- 以B站UID审核入群（大航海）

## 安装方法

```
pip install nonebot_plugin_BiliRequestAll
```

## 说明依赖
```
XX| [可运行依赖版本]                       [测试依赖版本]
01| nonebot2 >= 2.0.0b1                   [2.0.0rc2]
02| nonebot-adapter-onebot >= 2.0.0b1     [2.2.0]
03| requests >= 2.2                       [2.28.2]
04| os, json, time                        [XX]
```
## 命令
- ### /init [uid]  # 初始化群审核插件
- ### /switch [主开关]，[粉丝]，[粉丝团]，[大航海]，[日志] 
- ### ("[ ]"中填写开/关，注意顺序，要用"，"隔开)

## 注意事项
```
加载插件并初始完成后，会在机器人目录下创建'group_switcher'文件夹,进入文件夹
找到文件'cookies.json'打开

  {"cookies": "<Put Your Cookie In Here>"}  #将cookie完整粘贴进这里
              ^^^^^^^^^^^^^^^^^^^^^^^^^
          
保存，关闭文件
```
<p align="center">
  <a href="https://raw.githubusercontent.com/Shadow403/nonebot_plugin_BiliRequestAll/image/nonebot_plugin_BiliRequestAll_cookie.png"><img src="https://raw.githubusercontent.com/Shadow403/nonebot_plugin_BiliRequestAll/image/nonebot_plugin_BiliRequestAll_cookie.png" width="1000" height="600" alt="nonebot"></a>
</p>

## 未来计划
- ### 强审核模式

## 反馈问题
- ### 邮箱：anonymous_hax@foxmail.com

<details>
<summary>[日志]展开/收起</summary>

- 2022/10/03 [V0.1.0] 发布此插件
- 2023/01/18 [V0.2.0] 更新插件数据结构，新增大航海入群功能
- 2023/01/19 [V0.2.1] 修复粉丝牌审核模块，json加载问题
packageLister 0.1.2
Determine what 3rd-party packages a project imports.
Requires Python: >=3.10
Keywords: import,module,package

# packageLister
Determine what 3rd-party packages and versions a project imports. <br>
Install with:
<pre>pip install packageLister</pre>

Only has one function: <pre>packageLister.scan()</pre><br>
It takes one optional argument and that is the directory or file to scan.<br>
If an argument isn't given, the current working directory will be scanned.

<br>
Usage:
<pre>
>>> from pathlib import Path
>>> import packageLister
>>> import json
>>> packages = packageLister.scan()
 [___________________________________________________]-100.00% Scanning packageLister.py
>>> print(json.dumps(packages, indent=2))
{
  "pathCrawler": {
    "files": [
      "src/packageLister/packageLister.py"
    ],
    "version": "0.1.0"
  },
  "printBuddies": {
    "files": [
      "src/packageLister/packageLister.py"
    ],
    "version": "0.4.1"
  }
}
</pre>
Can also be used as a cli tool:
<pre>
>packageLister packageLister -sf
 [___________________________________________________]-100.00% Scanning packageLister_cli.py
Packages used in packageLister:
pathCrawler==0.0.3     src\packageLister\packageLister.py
printBuddies==0.2.2    src\packageLister\packageLister.py
</pre>
Cli help:
<pre>
>packageLister -h
usage: packageLister [-h] [-p PROJECTPATH] [-sf] [-gr]

options:
  -h, --help            show this help message and exit
  -p PROJECTPATH, --projectPath PROJECTPATH
                        The project directory path to scan.
  -sf, --showFiles      Show which files imported each of the packages.
  -gr, --generateRequirements
                        Generate a requirements.txt file in --projectPath.
</pre>
multiskin-joshelgar 0.0.3
A small package for Multiskin
Requires Python: >=3.9

### Things to remember
1. Make sure under arm64 (check with `arch`).
2. If not under arm64, run: `env /usr/bin/arch -arm64 /bin/zsh`
3. Remove all (presumably wrong) reqs with: `pip freeze | xargs pip uninstall -y`
5. Latest pip: `pip install --ugprade pip`
4. Install requirements: `pip install -r requirements.txt`
5. Make sure you're logged in with `huggingface-cli login`
pathCrawler 0.1.1
I got tired of typing more than one line to get a recursive list of pathlib.Path objects for a given directory.
Requires Python: >=3.10
Keywords: directory

# pathCrawler
Small utility because I got tired of typing more than one line to get a recursive list of pathlib.Path objects for a directory.<br>
Install using:
<pre>pip install pathCrawler</pre>
<br>
pathCrawler contains just three functions: crawl, getDirectorySize, and formatSize.<br>
crawl takes a starting directory and returns a recursive list of pathlib.Path objects for all files in the starting directory and its sub folders.<br>
getDirectorySize takes a directory and returns the total size in bytes of the contents of the directory.<br>
formatSize takes a number (presumed to be bytes) and returns it as a string rounded to two decimal places with the appropriate unit suffix.<br>
i.e. 
<pre>
>>> formatSize(132458)
'132.46 kb'
</pre>
noifTimer 0.1.1
Timing class for measuring elapsed time and average elapsed time.
Requires Python: >=3.10
Keywords: timer,timing

# noifTimer
Simple timer class to track average elapsed time with optional sub-second precision.<br>
Install with:
<pre>pip install noifTimer</pre>

Usage:
<pre>
from noifTimer import Timer
import time

def veryComplicatedFunction():
    time.sleep(1)

timer = Timer(subsecondFormat=True)
for _ in range(10):
    timer.start()
    veryComplicatedFunction()
    timer.stop()
print(f'{timer.averageElapsedTime=}')
print(timer.getStats())
</pre>
produces
<pre>
timer.averageElapsedTime=1.0005153999999998
elapsed time: 1s 871us
average elapsed time: 1s 515us
</pre>
voxScribe 0.1.2
Extract text from .wav and .mp3 files.
Requires Python: >=3.10
Keywords: audio,speech,text

# voxScribe
Extract text from .wav and .mp3 files. <br>
Install with:
<pre>pip install voxScribe</pre>
FFmpeg also needs to be installed and in your PATH.<br>
It can be obtained here: https://ffmpeg.org/ <br>
Usage:<br>
<pre>
from voxScribe import getTextFromUrl, getTextFromWav, getTextFromMp3
# For web hosted audio (mp3 or wav needs to be specified in the second argument)
text = getTextFromUrl('https://somewebsite.com/the-page-where-we-keep-sounds/guess-what-im-saying.mp3', '.mp3')
#For local files
text = getTextFromMp3('some/filePath/someAudio.mp3')
#or
text = getTextFromWav('some/other/filePath/someOtherAudio.wav')
</pre>
printBuddies 0.4.1
Handful of utilities to do printing tricks to the terminal.
Requires Python: >=3.6
Keywords: print,printing,progressbar,terminal

# printBuddies

A few utilities to do terminal printing tricks. <br>
Install with:
<pre>pip install printBuddies</pre>

Contains one class and three functions: ProgBar, printInPlace, ticker, and clear.<br>
<br>
ProgBar is a self-incrementing, dynamically sized progress bar.<br>
The progress counter and completion values can be manually overriden if desired.<br>
The width of the progress bar is set according to a ratio of the terminal width
so it will be resized automatically if the terminal width is changed.<br>
The display function has a 'returnObject' parameter, allowing ProgBar to be used in comprehensions.<br>
Basic usage:
<pre>
from printBuddies import ProgBar
total = 100
progBar = ProgBar(total=total-1)
for _ in range(total):
    progBar.display()
progBar.reset()
myList = [progBar.display(returnObject=i) for i in range(total)]
</pre>
<br>
printInPlace erases the current line in the terminal and then writes the value of 
the 'string' param to the terminal.<br>
<pre>
from printBuddies import printInPlace
import time
#This will print numbers 0-99 to the terminal with each digit overwriting the last.
for i in range(100):
    printInPlace(i)
    time.sleep(0.1)
</pre>
<br>
ticker prints a list of strings to the terminal with empty lines above and below
such that previous text in the terminal is no longer visible.<br>
Visually, It functions as a multi-line version of printInPlace.<br>
<pre>
from printBuddies import ticker
import time
#This will produce visually the same output as the above example
for i in range(100):
    ticker([i])
    time.sleep(0.1)
</pre>
<br>
A call to clear() simply clears the current line from the terminal.
treeGenerator 0.1.1
Generate a recursive tree diagram given a starting directory or a list of URIs.
Requires Python: >=3.10
Keywords: directory,tree,visualization

# treeGenerator
Generate a recursive tree diagram given a starting directory or a list of URIs.<br>
Install with:
<pre>pip install treeGenerator</pre>
Contains two classes: TreeGenerator and UrlTreeGenerator.<br>
TreeGenerator takes a local file path and recursively generates a tree representation of all subdirectories.<br>
UrlTreeGenerator takes a list of urls and generates a tree representation of them.<br>
<br>
Usage:<br>
<pre>
from treeGenerator import TreeGenerator
from pathlib import Path
generator = TreeGenerator(Path.cwd())
print(generator)
</pre>
produces<br>
<pre>
treeGenerator
|  |-dist
|  |  |-treegenerator-0.0.1-py3-none-any.whl
|  |  |_treegenerator-0.0.1.tar.gz
|  |
|  |-LICENSE.txt
|  |-README.md
|  |-pyproject.toml
|  |-src
|  |  |-treeGenerator
|  |  |  |-__init__.py
|  |  |  |_treeGenerator.py
</pre>
The dictionary representing the tree can be accessed through the 'tree' member.<br>
<pre>
import json
print(json.dumps(generator.tree, indent=1))
</pre>
produces<br>
<pre>
{
 "treeGenerator": {
  "dist": {
   "treegenerator-0.0.1-py3-none-any.whl": {},
   "treegenerator-0.0.1.tar.gz": {}
  },
  "LICENSE.txt": {},
  "README.md": {},
  "pyproject.toml": {},
  "src": {
   "treeGenerator": {
    "__init__.py": {},
    "treeGenerator.py": {}
   }
  }
 }
}
</pre>
scrapeTools 0.2.1
A collection of tools to aid in web scraping.
Requires Python: >=3.10
Keywords: email,html,scrape,scraping,web,webscraping

# scrapetools
A collection of tools to aid in web scraping.<br>
Install using:
<pre>pip install scrapeTools</pre>
scrapeTools contains four modules: emailScraper, linkScraper, phoneScraper, and inputScraper.<br>
Only linkScraper contains a class.<br>
<br>
Basic usage:<br>
<pre>
from scrapeTools.emailScraper import scrapeEmails
from scrapeTools.phoneScraper import scrapePhoneNumbers
from scrapeTools.linkScraper import LinkScraper
from scrapeTools.inputScraper import scrapeInputs
import requests

url = 'https://somewebsite.com'
source = requests.get(url).text

emails = scrapeEmails(source)

phoneNumbers = scrapePhoneNumbers(source)

linkScraper = LinkScraper(source, url)
linkScraper.scrapePage()
# links can be accessed and filtered via the getLinks() function
sameSiteLinks = linkScraper.getLinks(sameSiteOnly=True)
sameSiteImageLinks =linkScraper.getLinks(linkType='img', sameSiteOnly=True)
externalImageLinks = linkScraper.getLinks(linkType='img', excludedLinks=sameSiteImageLinks)

# scrapeInputs() returns a tuple of BeautifulSoup Tag elements for various user input elements
forms, inputs, buttons, selects, textAreas = scrapeInputs(source)
</pre>
coder-dojo-common-python 0.0.2
Common packages for coder dojo sessions
Requires Python: >=3.8,<3.11

# Coder Dojo (Ham/Kingston) Common Python Packages

Basic packages containing all the Python dependencies for the Coder Dojo Sessions.

## Installation
You can install the package from PyPI using the following command.

```shell
'pip install "coder-dojo-common-python[games,data]"
```


You can install the package from GitHub using the following command.

```shell
pip install 'coder_dojo_common_python[games,data] @ https://github.com/Stedders/coder-dojo-common-python/releases/download/v0.0.1/coder_dojo_common_python-0.0.1-py3-none-any.whl'
```

This will install the games and data packages for the v0.0.1 release.

As packages are updated or new packages added a new version will be published, please check the latest version
at https://github.com/Stedders/coder-dojo-common-python/releases.

## Development

Requires poetry.

### Install

```shell
poetry install
```

### Add package

All packages are added as optional and grouped into extras.

```shell
poetry add requests --optional
```

You will then need to update the extra information to ensure the package is in the correct group.

Either update the appropriate extras section or create a new section under extras in
the [pyproject.toml](pyproject.toml) file.

```toml
[tool.poetry.dependencies]
#...stuff...
requests = { version = "^2.28.2", optional = true } # Package added as optional
#...more stuff...

[tool.poetry.extras]
#...existing extras...
web = ["requesets"] # A new extra 'web'
```

### Build package
```shell
poetry build
```
PTGB 0.0.1
A package for sending Telegram messages
Keywords: telegram api

# PTGB

A Fast Telegram API for Lighweight bots

## Installation

To install this package, use pip:


```
pip install PTGB
```

## Usage

Here is an example of how to use the package:

```py
from PTGB.telegram import Telegram

token = 'BOT_TOJJEN' # bot token from bot father
chatid = 'CHAT_ID'  # chat id of user | group | channel

bot = Telegram(token)
bot.send_message(chatid, 'Hello, World!') # bot set message to chatid
```

## Documentation

For more detailed information about how to use this package, please refer to the full documentation at

## Contributing

We welcome contributions to this package. To contribute, please fork the repository, make your changes, and submit a pull request.

## License

This package is open-sourced under the MIT license

## Issues

If you encounter any issues or bugs, please open an issue in the issue tracker.
nubium-schemas 1.3.3
Python dictionary representations of Avro Schema for the nubium project

A python package containing dictionary representations of Avro Schemas,
for use with the nubium project.

## Usage Examples
The first step is to include the latest version of the schema library in
the requirements for the app.
For code examples, go to https://gitlab.corp.redhat.com/ebrennan/python-avro-classes.git

### Faust
1) Import one of the schema dictionaries from the package
1) Dump the dictionary to a string using `json.dumps`
1) Define a serializer using the `FaustSerializer` class

### Confluent Kafka
1) Import the schema dictionary
1) Dump the schema to a string using `json.dumps`
1) Create a schema object using `confluent_kafka.avro.loads`
1) Use the schema when instantiating Avro producer and consumer clients