asyncpgw
これはdiscord.pyとasyncpgを使用し、POSTTGRESQLにデータを保存する処理があるBOTを作ってる日本人向けに作成したものです。
使い方
asyncpgwをインストール
python3 -m pip install asyncpg
基本的な使い方
ソースコードがかなり長くなってしまうので、 testsフォルダー にまとめてあります。
尚、このコードはCOGを使用しています。
テキストチャットで発言するとユーザーのレベルがあがるコードを例にしてます。
変更ログ
0.0.1
・テスト
0.0.2
・descriptionの変更
0.0.3
・カラムが空だった場合に対応
0.0.4
・bug fix
0.0.5
・bug fix
0.0.6
・bug fix
0.0.7
・bug fix
0.0.8
・ ListpgクラスのTypeErrorが出るバグを直した。
0.0.9
・ Listpgクラスの)の位置を直した
0.1.0
・ Listpgクラスのbugを直した
0.1.1
・limit_fetchsのbugを直した
0.1.2
・同じ
0.1.3
・ListPgをPgにまとめた ・sortfetchとlimitfetchを追加
0.1.4
・sort_fetchのバグを直した
0.1.5
・sort_fetchのバグを直した
0.1.6
・sort_fetchのバグを直した
0.1.7 ~ 0.2.5
・カラムが指定されない時に対応した。
0.2.6
・カラムの追加削除関数を追加
0.2.7
・カラム削除関数のバグを直した
Metadata
Release files for asyncpgw 0.3.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| asyncpgw-0.3.6-py3-none-any.whl | Python 3 | none | any | Details |
Release files / asyncpgw-0.3.6-py3-none-any.whl
| Download URL | asyncpgw-0.3.6-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a894f2759144c220adb191d718cfe8e20125fa1f72c38a1e38628cb9cb950f31
|
|
BLAKE2b-256 checksum How to use checksums |
a874c904e5a6340ee61169514040a33c84e852cafdfc4fd589c74fee60816ee9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
|
Security for asyncpgw 0.3.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.