Upgrade based on official peewee 3.14.0
Project description
speewee
- Upgrade based on official peewee 3.14.0
- Add some functions that are not officially available
Guide to use
pip install speewee
example
from speewee import Model, CharField, MySQLDatabase
database = MySQLDatabase("db name",
user="db user",
password="db password",
host="127.0.0.1",
port=3306
)
class BaseModel(Model):
class Meta:
database = database
class User(BaseModel):
name = CharField(description="user name")
class Meta:
table_name = "users"
table_description = "user table"
- In addition, it is consistent with peewee
thank
-
Thank you very much for seeing this. I'm very happy if I can help you. I don't need a cup of coffee. Please give me a little star with your beautiful hands
-
Thank you so much for peewee
github
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
speewee-0.0.1.tar.gz
(59.0 kB
view details)
File details
Details for the file speewee-0.0.1.tar.gz.
File metadata
- Download URL: speewee-0.0.1.tar.gz
- Upload date:
- Size: 59.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49ab4adc6bf7cde6329139e4322ee2b1595d6b0b2e4d8825c1b3261e318430bb
|
|
| MD5 |
6601d3c4900c13f297a1bebbe222a549
|
|
| BLAKE2b-256 |
c8a1da92eb3dc82293f0660e04e3c50cd9f659a27099b35eb9e757946546f811
|