peewee Documentation Release 1.0.0peewee began when I was working on a small app in flask and found myself writing lots of queries and wanting a very simple abstraction on top of the sql. I had so much fun working on it that I kept adding features features. My goal has always been, though, to keep the implementation incredibly simple. I’ve made a couple dives into django’s orm but have never come away with a deep understanding of its implementation over lots of rows To limit the amount of memory used by peewee when iterating over a lot of rows (i.e. you may be dumping data to csv), use the iterator() method on the QueryResultWrapper. This method0 码力 | 101 页 | 163.20 KB | 1 年前3
peewee Documentation
Release 1.0.0peewee Documentation Release 1.0.0 charles leifer January 12, 2013 CONTENTS i ii peewee Documentation, Release 1.0.0 • a small orm • written in python • provides a lightweight querying interface peewee began when I was working on a small app in flask and found myself writing lots of queries and wanting a very simple abstraction on top of the sql. I had so much fun working on it that I kept adding features features. My goal has always been, though, to keep the implementation incredibly simple. I’ve made a couple dives into django’s orm but have never come away with a deep understanding of its implementation0 码力 | 71 页 | 405.29 KB | 1 年前3
peewee Documentation Release 2.10.2extension and place the shared library alongside the other modules. python setup.py build_sqlite_ext -i Note On some systems you may need to use sudo python setup.py install to install peewee system-wide is a thorough tutorial on creating a “twitter”-style web app using peewee and the Flask framework. I strongly recommend opening an interactive shell session and running the code. That way you can get a autogenerate peewee models using pwiz, a model generator. For instance, if I have a postgresql database named charles_blog, I might run: python -m pwiz -e postgresql charles_blog > blog_models.py What0 码力 | 275 页 | 276.96 KB | 1 年前3
peewee Documentation Release 3.4.0Build the C extension and place shared libraries alongside other modules. python setup.py build_ext -i Running tests You can test your installation by running the test suite. python runtests.py You can Flask framework, there are helper extension modules available. Skip Compilation of SQLite Extensions I’ve received reports from Windows users that they have some trouble installing Peewee due to missing is a thorough tutorial on creating a “twitter”-style web app using peewee and the Flask framework. I strongly recommend opening an interactive shell session and running the code. That way you can get a0 码力 | 349 页 | 382.34 KB | 1 年前3
peewee Documentation
Release 3.5.0Build the C extension and place shared libraries alongside other modules. python setup.py build_ext -i Running tests You can test your installation by running the test suite. python runtests.py You can Flask framework, there are helper extension modules available. Skip Compilation of SQLite Extensions I’ve received reports from Windows users that they have some trouble installing Peewee due to missing is a thorough tutorial on creating a “twitter”-style web app using peewee and the Flask framework. I strongly recommend opening an interactive shell session and running the code. That way you can get a0 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation Release 3.6.0Build the C extension and place shared libraries alongside other modules. python setup.py build_ext -i Running tests You can test your installation by running the test suite. python runtests.py You can Flask framework, there are helper extension modules available. Skip Compilation of SQLite Extensions I’ve received reports from Windows users that they have some trouble installing Peewee due to missing self-contained Peewee examples, like a blog app [https://github.com/coleifer/peewee/tree/master/examples/blog]. I strongly recommend opening an interactive shell session and running the code. That way you can get a0 码力 | 377 页 | 399.12 KB | 1 年前3
peewee Documentation Release 3.0.0Build the C extension and place shared libraries alongside other modules. python setup.py build_ext -i Running tests You can test your installation by running the test suite. python runtests.py You can is a thorough tutorial on creating a “twitter”-style web app using peewee and the Flask framework. I strongly recommend opening an interactive shell session and running the code. That way you can get a autogenerate peewee models using pwiz, a model generator. For instance, if I have a postgresql database named charles_blog, I might run: python -m pwiz -e postgresql charles_blog > blog_models.py What0 码力 | 319 页 | 361.50 KB | 1 年前3
peewee Documentation
Release 3.3.0. . . . . . . . . . . . . . . . . . . . . . . . . . . . 259 2 Note 267 3 Indices and tables 269 i ii peewee Documentation, Release 3.3.0 Attention: Peewee 3.0 has been released (you are looking at Build the C extension and place shared libraries alongside other modules. python setup.py build_ext -i 3 peewee Documentation, Release 3.3.0 1.1.2 Running tests You can test your installation by running framework, there are helper extension modules available. 1.1.4 Skip Compilation of SQLite Extensions I’ve received reports from Windows users that they have some trouble installing Peewee due to missing0 码力 | 280 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.4.0. . . . . . . . . . . . . . . . . . . . . . . . . . . . 263 2 Note 271 3 Indices and tables 273 i ii peewee Documentation, Release 3.4.0 Attention: Peewee 3.0 has been released (you are looking at Build the C extension and place shared libraries alongside other modules. python setup.py build_ext -i 3 peewee Documentation, Release 3.4.0 1.1.2 Running tests You can test your installation by running framework, there are helper extension modules available. 1.1.4 Skip Compilation of SQLite Extensions I’ve received reports from Windows users that they have some trouble installing Peewee due to missing0 码力 | 284 页 | 1.03 MB | 1 年前3
peewee Documentation
Release 3.5.0. . . . . . . . . . . . . . . . . . . . . . . . . . . . 265 2 Note 269 3 Indices and tables 271 i ii peewee Documentation, Release 3.5.0 Attention: Peewee 3.0 has been released (you are looking at Build the C extension and place shared libraries alongside other modules. python setup.py build_ext -i 3 peewee Documentation, Release 3.5.0 1.1.2 Running tests You can test your installation by running framework, there are helper extension modules available. 1.1.4 Skip Compilation of SQLite Extensions I’ve received reports from Windows users that they have some trouble installing Peewee due to missing0 码力 | 282 页 | 1.02 MB | 1 年前3
共 16 条
- 1
- 2













