Skip to main content

A database that is convenient for version iteration

Project description

前言

你可能厌倦了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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flyvar-1.0.6.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

flyvar-1.0.6-py3-none-any.whl (8.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page