前言
你可能厌倦了PyMsql的枯燥,那就看看Flyvar吧.他不臃肿,简易.基于Python3构建
安装
Flyvar的大小可能出乎你的,他的源码只有12K左右。并且没有依赖超过三个需要安装的库.
在Pip安装
pip install flyvar
服务端
Flyvar与Mysql一样,需要服务端和客户端。需要客户端通过连接服务器来操作数据,当然也可以把服务端放在与客户端在一个主机上!
Server类
import flyvar
db = flyvar.Server(host='127.0.0.1',port=18012)
Server类是整个服务端的对象,他可以帮助服务端运行和处理事务.可以在赋值时指定运行的端口
Server.run()
import flyvar
db = flyvar.Server()
db.Run()
Metadata
Release files for flyvar 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flyvar-1.0.6.tar.gz | 3.9 kB | Without provenance | Details for flyvar-1.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flyvar-1.0.6-py3-none-any.whl | Python 3 | none | any | Details for flyvar-1.0.6-py3-none-any.whl |
Total release size: 12.8 kB
Release files / flyvar-1.0.6.tar.gz
| Download URL | flyvar-1.0.6.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
31a3eebe04d5bce81079bf2365f4c2d16fe76befac35b5ed1914d8fc9b48f941
|
|
BLAKE2b-256 checksum How to use checksums |
5d949efa52d87fe2080ef766661e3e213666f829442e741cc6dd0a04b40dd77a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / flyvar-1.0.6-py3-none-any.whl
| Download URL | flyvar-1.0.6-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b94b4ae3b92f1799f1d04546f916baf0d361cd11814e83c646524b1c9827a455
|
|
BLAKE2b-256 checksum How to use checksums |
5c390473ce19831372104bc440ed9753eb1b461c1daaac85c5e0aa45f4a314a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Security for flyvar 1.0.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.