Skip to main content

No project description provided

Project description

Lazy load of database

example:

file1.py

from LazyPony import LazyEntityMeta

class A(metaclass=LazyEntityMeta):

id = PrimaryKey(int, auto=True)

file2.py

from LazyPony import LazyEntityMeta

db = Database() LazyEntityMeta.attach(db) db.bind() db.generate_mapping()

file3.py

from file1 import A

query = A.select()

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

LazyPony-0.3.2-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file LazyPony-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: LazyPony-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

File hashes

Hashes for LazyPony-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3b91db2340302670f8440a66d24e18d021ab8e711dfcf6b5e01777606f1b9f1e
MD5 0087fea5e032cc3e7875c793b00401e4
BLAKE2b-256 1954e3fd5a4ab6d703c268ceb3009b4b6b681cf7789d0bfb9a873d78260779ec

See more details on using hashes here.

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