peewee Documentation Release 2.10.2module should be built using the build_sqlite_ext command. Note If you have Cython installed, then the speedups module will automatically be built. If you wish to also build the SQLite Cython extension, you must manually run: python setup.py build_sqlite_ext python setup.py install Installing with git The project is hosted at https://github.com/coleifer/peewee and can be installed using git: git you would like to build the SQLite extension in a git checkout, you can run: # Build the sqlite extension and place the shared library alongside the other modules. python setup.py build_sqlite_ext -i Note0 码力 | 275 页 | 276.96 KB | 1 年前3
peewee Documentation
Release 2.10.2module should be built using the build_sqlite_ext command. Note: If you have Cython installed, then the speedups module will automatically be built. If you wish to also build the SQLite Cython extension, you must manually run: python setup.py build_sqlite_ext python setup.py install 1.1.1 Installing with git The project is hosted at https://github.com/coleifer/peewee and can be installed using git: python setup.py install If you would like to build the SQLite extension in a git checkout, you can run: 3 peewee Documentation, Release 2.10.2 # Build the sqlite extension and place the shared library0 码力 | 221 页 | 844.06 KB | 1 年前3
peewee Documentation
Release 3.5.0If you would like to build the SQLite extension in a git checkout, you can run: # Build the C extension and place shared libraries alongside other modules. python setup.py build_ext -i Running tests SQLite-specific C extensions, you can set the NO_SQLITE environment variable: $ NO_SQLITE=1 python setup.py build Quickstart This document presents a brief, high-level overview of Peewee’s primary features. This "6" 6 >>> p.is_favorite False >>> p.is_sticky True We can also use the flags on the Post class to build expressions in queries: # Generates a WHERE clause that looks like: # WHERE (post.flags & 1 != 0)0 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation Release 3.4.0If you would like to build the SQLite extension in a git checkout, you can run: # Build the C extension and place shared libraries alongside other modules. python setup.py build_ext -i Running tests SQLite-specific C extensions, you can set the NO_SQLITE environment variable: $ NO_SQLITE=1 python setup.py build Quickstart This document presents a brief, high-level overview of Peewee’s primary features. This "6" 6 >>> p.is_favorite False >>> p.is_sticky True We can also use the flags on the Post class to build expressions in queries: # Generates a WHERE clause that looks like: # WHERE (post.flags & 1 != 0)0 码力 | 349 页 | 382.34 KB | 1 年前3
peewee Documentation
Release 3.5.0If you would like to build the SQLite extension in a git checkout, you can run: # Build the C extension and place shared libraries alongside other modules. python setup.py build_ext -i 3 peewee Documentation SQLite-specific C extensions, you can set the NO_SQLITE environment variable: $ NO_SQLITE=1 python setup.py build 1.2 Quickstart This document presents a brief, high-level overview of Peewee’s primary features "6" 6 >>> p.is_favorite False >>> p.is_sticky True We can also use the flags on the Post class to build expressions in queries: # Generates a WHERE clause that looks like: # WHERE (post.flags & 1 != 0)0 码力 | 282 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.3.0If you would like to build the SQLite extension in a git checkout, you can run: # Build the C extension and place shared libraries alongside other modules. python setup.py build_ext -i 3 peewee Documentation SQLite-specific C extensions, you can set the NO_SQLITE environment variable: $ NO_SQLITE=1 python setup.py build 1.2 Quickstart This document presents a brief, high-level overview of Peewee’s primary features "6" 6 >>> p.is_favorite False >>> p.is_sticky True We can also use the flags on the Post class to build expressions in queries: # Generates a WHERE clause that looks like: # WHERE (post.flags & 1 != 0)0 码力 | 280 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.4.0If you would like to build the SQLite extension in a git checkout, you can run: # Build the C extension and place shared libraries alongside other modules. python setup.py build_ext -i 3 peewee Documentation SQLite-specific C extensions, you can set the NO_SQLITE environment variable: $ NO_SQLITE=1 python setup.py build 1.2 Quickstart This document presents a brief, high-level overview of Peewee’s primary features "6" 6 >>> p.is_favorite False >>> p.is_sticky True We can also use the flags on the Post class to build expressions in queries: # Generates a WHERE clause that looks like: # WHERE (post.flags & 1 != 0)0 码力 | 284 页 | 1.03 MB | 1 年前3
peewee Documentation
Release 2.0.2cookbook, which contains many practical examples • the example app documentation, which shows how to build a simple twitter-like site • using “fn” • the querying docs, which contain an in-depth overview primary key will automatically be retrieved and stored on the model instance. Alternatively, you can build up a model instance programmatically and then save it: >>> user = User() >>> user.username = ’Charlie’ message=’http://www.youtube.com/watch?v=xdhLQCYQ-nQ’, ... user=user ... ) >>> tweet.user.username ’charlie’ 2. Build up the instance programmatically: >>> user = User() >>> user.username = ’charlie’ >>> user.save()0 码力 | 65 页 | 315.33 KB | 1 年前3
peewee Documentation Release 3.6.0If you would like to build the SQLite extension in a git checkout, you can run: # Build the C extension and place shared libraries alongside other modules. python setup.py build_ext -i Running tests SQLite-specific C extensions, you can set the NO_SQLITE environment variable: $ NO_SQLITE=1 python setup.py build Quickstart This document presents a brief, high-level overview of Peewee’s primary features. This "6" 6 >>> p.is_favorite False >>> p.is_sticky True We can also use the flags on the Post class to build expressions in queries: # Generates a WHERE clause that looks like: # WHERE (post.flags & 1 != 0)0 码力 | 377 页 | 399.12 KB | 1 年前3
peewee Documentation
Release 3.6.0If you would like to build the SQLite extension in a git checkout, you can run: # Build the C extension and place shared libraries alongside other modules. python setup.py build_ext -i 3 peewee Documentation SQLite-specific C extensions, you can set the NO_SQLITE environment variable: $ NO_SQLITE=1 python setup.py build 1.2 Quickstart This document presents a brief, high-level overview of Peewee’s primary features 1. Contents: peewee Documentation, Release 3.6.0 We can also use the flags on the Post class to build expressions in queries: # Generates a WHERE clause that looks like: # WHERE (post.flags & 1 != 0)0 码力 | 302 页 | 1.02 MB | 1 年前3
共 16 条
- 1
- 2













