semvec/pypi-packages huggingface dataset:
badrandom 0.0.1
An implementation of the bad random number generator used in legacy Microsoft BASIC. Do not use to generate random numbers.
Requires Python: >=3.7
Keywords: random,legacy,compatibility

The badrandom package implements a very bad random number generator. It is intended to reproduce random numbers generated by legacy Microsoft BASIC, and should not be used for anything serious. It is a spinoff of PC_BASIC, see pc-basic.org
intervalsicu 0.1.4
A basic interface to the Intervals.icu system
Requires Python: >=3.6

# Intervals.ICU Python API

This API provides a basic interface to work with the Intervals.ICU.
You can obtain further documentation for the Intervals.ICU site by
following the instructions from [this post](https://forum.intervals.icu/t/api-access-to-intervals-icu/609).

API functionality is described in the thread above. This API aims to provide all functionality, but there are gaps. Please open an issue (or a PR) for any missing functionality.

Full documentation can be found [here](https://py-intervalsicu.readthedocs.io)

## Changelog

**0.1.4**
Added a `strict` flag to the Intervals library. This flag tells the library
whether it should validate objects received from the server. If object validation
fails, a `TypeError` is raised.

This flag was added because updates to the backend objects can unintentionally break
client libraries. So you can toggle this flag to stop validating objects.

This flag is `True` by default, to preserve backwards compatibility. You must
manually set the flag to `False` to stop validating objects. 

## Examples

Update a field in your wellness document

```python
import pprint
from datetime import date

from intervalsicu import Intervals


def wellness():
    svc = Intervals("MY ATHLETE ID", "MY API KEY", strict=False)

    start = date.fromisoformat("2021-03-10")
    wellness = svc.wellness(start)
    wellness['restingHR'] = 57
    wellness = svc.wellness_put(wellness)
    pprint.pprint(wellness)


if __name__ == "__main__":
    wellness()
```

Write all your activities to a CSV file

```python
import csv
import io

from intervalsicu import Intervals


def activities_to_csv():
    svc = Intervals("MY ATHLETE ID", "MY API KEY", strict=False)

    activities_csv = io.StringIO(svc.activities())

    with open('example/activities.csv', 'w') as w:
        reader = csv.reader(activities_csv)
        writer = csv.writer(w)
        
        for row in reader:
            writer.writerow(row)


if __name__ == "__main__":
    activities_to_csv()
```

Download a list of events in JSON.

```python
import pprint
from datetime import date

from intervalsicu import Intervals


def events():
    svc = Intervals("MY ATHLETE ID", "MY API KEY", strict=False)

    start = date.fromisoformat("2021-03-08")
    end = date.fromisoformat("2021-03-09")
    events = svc.events(start, end)
    pprint.pprint(events)


if __name__ == "__main__":
    events()
```
nonebot-plugin-addFriend 2.4.1
A plugin based on nonebot2, which is used to process requests to add QQ friends and QQ requests.
Requires Python: >=3.7

# nonebot_plugin_addFriend
一个基于NoneBot2的插件，用于处理被请求加QQ好友和QQ群的请求


A plug-in based on nonebot2, which is used to process the request to add QQ friends and QQ groups


下载方法 pip install nonebot_plugin_addFriend

1.该插件运行后会检查配置文件是否存在，并生成默认配置，也可手动复制内容创建文件，创建路径为插件目录，文件名为config.json,其中.json为后缀名，表征文件类型，请不要创建为config.json.json文件，

命令起始符列表最好不要是空的，起始符最好长度都一样，不一样请更改parseDifferentCommandStart()函数以调和统一不一样的命令起始符，因为我用的切片去除起始符，闲了看看别人咋处理的，欸嘿

2.可自行设置是否同意自动加好友，命令为/更改自动同意群聊 1或0、/更改自动同意好友 1或0、/更改自动同意 1或0 1或0

同时，也可以重置当日好友请求的数量 /重置好友请求 数量（不写默认重置日被请求加好友、群次数为零，后缀数字则会重置为该数值），

3.该插件会检查添加好友、群的请求，同意自动添加则自动，上限默认为一日五个，下次收到请求时会检查时间不是一天会重置日被请求加好友、群次数，并向插件指定qq号发送提示，

4.不同意则保存记录等待命令/同意加 qq号或群号，/拒绝加 qq号或群号，/查看加 查看数量（可不填，默认为配置中的最大值）

5./添加请求接收者 /删除请求接收者 此二者用来添加好友请求处理人，默认配置为前2个超管。

6./更改最大日加好友数量 数量（正整数） /更改查看加返回数量 数量 （非负整数，<120）  /重载配置 重新载入配置文件数据 用于直接修改文件后的重载问题

7./设置群成员更易通知 已开时会关闭、已关会开 群号自动获取为当前群

8./设置bot私聊转发

9.黑名单群聊与警告群聊、黑名单群名与警告群名，一个直接拒绝、一个不自动同意，含黑名单、警告词或群号时生效，可以同时转发拉人头兼职群群聊发起者给配置过的好友，一般是该群管理员，暂无机器人接口、请于本插件目录下config.json文件中手动配置

配置项结构

{
    "agreeAutoApprove": { "friend": 1, "group": 0 },
    "maxNum": 5,
    "maxViewNum":20,
    "recipientList": [],
    "groupMemberNumNoticeList":[],
    "forwardSet":1,
    "botName": "我",
    "friend_msg": {
        "notice_msg": "请求添加好友,验证消息为",
        "welcome_msg": "我未知的的朋友啊，很高兴你添加我为qq好友哦！\n同时，如果有疑问，可以发送/help哦"
    },
    "group_msg": {
        "notice_msg": "发送群邀请,验证消息为",
        "welcome_msg": "我亲爱的的朋友啊，很高兴你邀请我哦！"
    }
}