Peewee miscellaneous addons
description will be provided later
API
import peewee_addons
@see also __init__.py
databases
Development Status :: 3 - Alpha :: still under construction
from peewee_addons import databases
from peewee_addons.databases import (
connect,
Database,
DEFAULT_DATABASE,
DEFAULT_URL,
)
DEFAULT_DATABASE = connect(DEFAULT_URL)
fields
from peewee_addons import fields
fields list
__all__ = (
"ARCUITField",
"ARZipCodeField",
"ATZipCodeField",
"AUZipCodeField",
"BEZipCodeField",
"BRZipCodeField",
"CHZipCodeField",
"CLRutField",
"CNZipCodeField",
"CONITField",
"CSVField",
"CUZipCodeField",
"CZZipCodeField",
"CharFieldCustom",
"ColorHexadecimalField",
"CountryISOCodeField",
"CurrencyISOCodeField",
"DEZipCodeField",
"DateTimeTZRangeField",
"EEZipCodeField",
"ESZipCodeField",
"EmailField",
"FIELD_TYPES",
"GRZipCodeField",
"HROIBField", # 'EnumField',
"HexadecimalField",
"IANCodeField",
"IBANISOCodeField",
"ILZipCodeField",
"INZipCodeField",
"IPAddressField",
"IPNetworkField",
"ISIdNumberField",
"JPZipCodeField",
"LanguageISOCodeField",
"MKIdentityCardNumberField",
"MTZipCodeField",
"MXZipCodeField",
"MoneyField",
"PLNIPField",
"PLNationalIDCardNumberField",
"PLZipCodeField",
"PTZipCodeField",
"PasswordField",
"PastDateField",
"PastDateTimeField",
"PositiveBigIntegerField",
"PositiveDecimalField",
"PositiveFloatField",
"PositiveIntegerField",
"PositiveSmallIntegerField",
"ROCIFField",
"ROCNPField",
"ROZipCodeField",
"RUPassportNumberField",
"SEZipCodeField",
"SKZipCodeField",
"SWIFTISOCodeField",
"SemVerField",
"SimplePasswordField",
"SmallHexadecimalField",
"UAZipCodeField",
"USSocialSecurityNumberField",
"USZipCodeField",
"UYCIField",
"XMLField",
"JSONField",
"FileField",
"TextField",
)
FIELDS
from peewee_addons import FIELDS all fields list
from peewee_addons.fields import FIELDS the same
- datetime
from peewee_addons.fields.datetime import TimeDeltaField, TimedeltaField
- email
from peewee_addons.fields.email import EMailField, EmailField
- enum
from peewee_addons.fields.enum import EnumFieldEnumField(CharField)
- enum2
from peewee_addons.fields.enum2 import EnumFieldEnumField(CharField)
- extra
from peewee_addons.fields.extra import *== extra_fields
- html
from peewee_addons.fields.html import HTMLCharField, HTMLTextField# Field with HTML escaped text
- integer
__all__ = (
"UnsignedSmallIntegerFieldd",
"SmallUnsignedIntegerField",
"UnsignedIntegerField",
"UnsignedBigIntegerField",
"BigUnsignedIntegerField",
)
- ip
from peewee_addons.fields.html import IPAddressFieldIPAddressField(CharField)from peewee_addons.fields.html import IPv4AddressFieldIPv4AddressField(UnsignedIntegerField)from peewee_addons.fields.html import IPv6AddressFieldIPv6AddressField(Field)
- password
PasswordField(FixedCharField)Not implemented yet
- path
from peewee_addons.fields.path import PathFieldField class for storing file paths
- path
from peewee_addons.fields.phonenumber import PhoneNumberField, PhonenumberField
- restricted_char
from peewee_addons.fields.restricted_char import RestrictedCharField
- username
from peewee_addons.fields.username import UserNameField, UsernameField
extra_fields
Development Status :: 2 - Pre-Alpha
from peewee_addons.fields.extra_fields import regex_fieldsZip Codes, Countries Postal Codesfrom peewee_addons.fields.extra_fields import legacy_fieldsPasswordField, PasswordHash. require bcrypt
mixins
from peewee_addons import mixins
-
from .field_created import Created_Datetime_Mixin, Created_Timestamp_Mixin -
from .field_updated import Updated_Datetime_Mixin, Updated_Timestamp_Mixin -
from .model_autosave import Autosave_Mixin -
from .model_iterator import Iterator_Mixin -
from .model_upsert import Upsert_Mixin
models
from peewee_addons import models
from .base_model import BaseModel, Database, Modelfrom .ext_model import ExtendModel
logger & utils
Metadata
Release files for peewee-addons 0.14.161
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 | Actions Reset |
|---|---|---|---|---|
| peewee_addons-0.14.161-py3-none-any.whl | Python 3 | none | any | Details for peewee_addons-0.14.161-py3-none-any.whl |
Release files / peewee_addons-0.14.161-py3-none-any.whl
| Download URL | peewee_addons-0.14.161-py3-none-any.whl |
|---|---|
| Size | 94.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
38ecd682f74abacf5ea8f3aef5eaa17a444a8386e841e8f41b69211631a6f42e
|
|
BLAKE2b-256 checksum How to use checksums |
af60a110d670cf53b11998779e3644e1137cb759a829f7bbbaf015291b12c806
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.6
|
Security for peewee-addons 0.14.161
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.