semvec/pypi-packages huggingface dataset:
RemixQQ-Python-SDK 20240430171818
A python SDK for RemixQQ connected by httpapi
License: MIT
Requires Python: >=3.8

# RemixQQ_Python_SDK

给RemixQQ的Httpapi插件写的用于Python的SDK

~~要不是连API都没有能用的，我何苦自己写SDK啊！！~~

此SDk是基于MyQQ_Httpapi插件的，此插件的食用方法及下载方法参见[RemixQQ官方网站](https://www.myqqx.cc/)

## 食用方法

1. MyQQ_Httpapi的配置方法
   1. 在主界面配置端口号及Token（用于发送消息）
   ![](https://image-bed.ityun.tech/1.png)
   2. 在“回调”界面配置接收消息用的地址（重要！！！）
   ![](https://image-bed.ityun.tech/2.png)

2. 使用pip安装
```shell
pip install RemixQQ_Python_SDK
```

1. 使用以下代码进行初始化
```python
from http.server import HTTPServer, BaseHTTPRequestHandler
from remixqq_python_sdk.app import App
import json
import urllib.parse
import random
import requests
host = ('localhost', 8082) #接收消息地址（需与上方配置界面一致）
app = App('http://localhost:8081/MyQQHTTPAPI', "Token", "QQ")
class Resquest(BaseHTTPRequestHandler):
    def do_POST(self):
        datas = self.rfile.read(int(self.headers['content-length'])).decode()
        datas = json.loads(datas)
        from_qun = urllib.parse.unquote(datas['MQ_fromID']) #获取消息来源群号
        msg = urllib.parse.unquote(datas['MQ_msg']) #获取消息内容
        # do something
        response = app.send_group_message("123",0,0,"test")
        print(response)

if __name__ == '__main__':
    server = HTTPServer(host, Resquest)
    print("Starting server, listen at: %s:%s" % host)
    server.serve_forever()
```
## TODO:
1. 将API完整复刻至Python
2. 实现一个包即可完成消息收发
3. 建立API文档

## Release Note
### 0.0.1（发布日期：2024年4月26日）
1. 已完成基础功能
2. 发布包至PYPI，可使用pip安装
3. 新增代办：建立API文档
4.
ALLDatabase-connector 0.0.5
A python package for connecting with database.
License: MIT
Requires Python: >=3.7

# Database_connector
A database connector package which automate the connection to a database through minimum steps
# requirements_dev.txt we use for the testing
It makes it easier to install and manage dependencies for development and testing, separate from the dependencies required for production.

# difference between requirements_dev.txt and requirements.txt

requirements.txt is used to specify the dependencies required to run the production code of a Python project, while requirements_dev.txt is used to specify the dependencies required for development and testing purposes.

# tox.ini
We use if for the testing in the python package testing against different version of the python 

## how tox works tox enviornment creation
1. Install depedencies and packages 
2. Run commands
3. Its a combination of the (virtualenvwrapper and makefile)
4. It creates a .tox


# pyproject.toml
it is being used for configuration the python project it is a alternative of the setup.cfg file. its containts configuration related to the build system
such as the build tool used package name version author license and dependencies

# setup.cfg
In summary, setup.cfg is used by setuptools to configure the packaging and installation of a Python projec

# Testing python application
*types of testing*
1. Automated testing 
2. Manual testing

*Mode of testing*
1. Unit testing
2. Integration tests

*Testing frameworks*

1. pytest
2. unittest
3. robotframework
4. selenium
5. behave
6. doctest

# check with the code style formatting and syntax(coding standard)

1. pylint
2. flake8(it is best because it containt 3 library pylint pycodestyle mccabe)
3. pycodestyle
SqlAddImage 1.0.4
SqlAddImage is a Python Package which helps user to insertand retrieve image in mysql database for particularfield by creating image column.
License: MIT
Requires Python: >=3.7

# SqlAddImage

SqlAddImage is a Python Package which helps user to insert and retrieve image in mysql database for particular field by creating image column. 

## Installation

pip install SqlAddImage

## Usage

import SqlAddImage as im


<p>&num; First make a connection with your database</p>

checker = im.make_connection(host="localhost", user="your username",
                         password="your password", database='your database')

<p>&num; Insert image in this way</p>

<span style="color: #4CAF50;">
im.insert_image(status=checker,img_path="your imagefile",tablename="table of database",
                correspond_field="field in table",correspond_value="value of field")
</span>

<br>
<p>&num; Retrieve already stored image in this way in the working directory</p>

<span style="color: darkred;">
im.get_image(status=checker,tablename="table of database",
                correspond_field="field in table",correspond_value="value of field")
</span>





## Contributing

Contribute in this package on GitHub
https://github.com/DeveloperHarshit09/SqlAddImage

## License

MIT License