Jinja2 Documentation Release 2.10not the recommended way to work with it if your templates are not loaded from strings but the file system or another data source: 4 >>> from jinja2 import Template >>> template = Template('Hello {{ name used to store the configuration and global objects, and are used to load templates from the file system or other locations. Even if you are creating templates from strings by using the constructor of Template auto_reload Some loaders load templates from locations where the template sources may change (ie: file system or database). If auto_reload is set to True (default) every time a template is re- quested the loader0 码力 | 148 页 | 475.08 KB | 1 年前3
Flask Documentation (1.1.x)here for the interested. Design Decisions in Flask The Explicit Application Object The Routing System One Template Engine Micro with Dependencies Thread Locals What Flask is, What Flask is Not HTML/XHTML each project. Packages installed for one project will not affect other projects or the operating system’s packages. Python 3 comes bundled with the venv [https://docs.python.org/3/library/venv.html#module-venv] adding --host=0.0.0.0 to the command line: $ flask run --host=0.0.0.0 This tells your operating system to listen on all public IPs. What to do if the Server does not Start In case the python -m flask0 码力 | 428 页 | 895.98 KB | 1 年前3
Flask Documentation (1.1.x)each project. Packages installed for one project will not affect other projects or the operating system’s packages. Python 3 comes bundled with the venv module to create virtual environments. If you’re adding --host=0.0.0.0 to the command line: $ flask run --host=0.0.0.0 This tells your operating system to listen on all public IPs. 1.4.2 What to do if the Server does not Start In case the python -m canonical URL for the projects endpoint has a trailing slash. It’s similar to a folder in a file system. If you access the URL without a trailing slash, Flask redirects you to the canonical URL with the0 码力 | 291 页 | 1.25 MB | 1 年前3
MuPDF 1.22.0 Documentationinstall This will then install the viewer, command line tools, libraries, and header files on your system. 3 MuPDF Documentation, Release 1.21.2 1.2.3 Linux You will also need the X11 headers and libraries with HAVE_GLUT=no. To install the viewer, command line tools, libraries, and header files on your system: make prefix=/usr/local install To install only the command line tools, libraries, and headers macOS & Linux depend on having both autoconf and automake installed on your system. If this software is not already on your system (usually usr/local/bin) then it can be installed from the GNU website. Alternatively0 码力 | 175 页 | 698.87 KB | 8 月前3
MuPDF 1.25.0 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 4 The MuPDF Coordinate System 27 4.1 Origin Point, Point Size and Y-Axis . . . . . . . . . . . . . . . . . . . . . . . . . . install This will then install the viewer, command line tools, libraries, and header files on your system. 3 MuPDF Documentation, Release 1.25.0 1.2.3 Linux You will also need the X11 headers and libraries with HAVE_GLUT=no. To install the viewer, command line tools, libraries, and header files on your system: make prefix=/usr/local install To install only the command line tools, libraries, and headers0 码力 | 259 页 | 1.11 MB | 8 月前3
MuPDF 1.23.0 Documentationinstall This will then install the viewer, command line tools, libraries, and header files on your system. 3 MuPDF Documentation, Release 1.23.0 1.2.3 Linux You will also need the X11 headers and libraries with HAVE_GLUT=no. To install the viewer, command line tools, libraries, and header files on your system: make prefix=/usr/local install To install only the command line tools, libraries, and headers handling macros to simplify error return and cleanup. Conceptually, they work a lot like C++’s try/catch system, but do not require any special compiler support. The basic formulation is as follows: fz_try(ctx)0 码力 | 245 页 | 817.74 KB | 8 月前3
MuPDF 1.24.0 Documentationinstall This will then install the viewer, command line tools, libraries, and header files on your system. 3 MuPDF Documentation, Release 1.24.0 1.2.3 Linux You will also need the X11 headers and libraries with HAVE_GLUT=no. To install the viewer, command line tools, libraries, and header files on your system: make prefix=/usr/local install To install only the command line tools, libraries, and headers handling macros to simplify error return and cleanup. Conceptually, they work a lot like C++’s try/catch system, but do not require any special compiler support. The basic formulation is as follows: fz_try(ctx)0 码力 | 249 页 | 830.15 KB | 8 月前3
Celery 3.1 Documentationsimple, flexible and reliable distributed system to process vast amounts of messages, while providing operations with the tools required to maintain such a system. It’s a task queue with focus on real-time task, a client adds a message to the queue, which the broker then delivers to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling Installing the RabbitMQ Server – Setting up RabbitMQ – Installing RabbitMQ on OS X * Configuring the system host name * Starting/Stopping the RabbitMQ server Installation & Configuration RabbitMQ is the0 码力 | 607 页 | 2.27 MB | 1 年前3
Celery 3.1 Documentationsimple, flexible and reliable distributed system to process vast amounts of messages, while providing operations with the tools required to maintain such a system. It’s a task queue with focus on real-time task, a client adds a message to the queue, which the broker then delivers to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling Installing the RabbitMQ Server Setting up RabbitMQ Installing RabbitMQ on OS X Configuring the system host name Starting/Stopping the RabbitMQ server Installation & Configuration RabbitMQ is the default0 码力 | 887 页 | 1.22 MB | 1 年前3
Celery 3.0 Documentationsimple, flexible, and reliable distributed system to process vast amounts of messages, while providing operations with the tools required to maintain such a system. It’s a task queue with focus on real-time client adds a message to the queue, the broker then delivers that message to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling Installing the RabbitMQ Server – Setting up RabbitMQ – Installing RabbitMQ on macOS * Configuring the system host name * Starting/Stopping the RabbitMQ server Installation & Configuration RabbitMQ is the0 码力 | 703 页 | 2.60 MB | 1 年前3
共 455 条
- 1
- 2
- 3
- 4
- 5
- 6
- 46













