Celery 2.1 Documentationcelery.result . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 9.6 Task Information and Utilities - celery.task . . . . . . . . . . . . . . . . . . . . . . . . . . . sqlite" # mysql CELERY_RESULT_DBURI = "mysql://scott:tiger@localhost/foo" # postgresql CELERY_RESULT_DBURI = "postgresql://scott:tiger@localhost/mydatabase" # oracle CELERY_RESULT_DBURI = "oracle://scott:tiger@127 taskset waiting? Returns True if any of the tasks in the taskset is still waiting for execution. 9.6 Task Information and Utilities - celery.task Working with tasks and task sets. class celery.task0 码力 | 285 页 | 1.19 MB | 1 年前3
Build web application with Golangupload Summary Database database/sql interface How to use MySQL How to use SQLite How to use PostgreSQL How to use beedb ORM NOSQL Summary Data storage and session Session and cookies 2 1.7.2 http://sqlitebrowser.org Links Directory Previous section: MySQL Next section: PostgreSQL How to use SQLite 122 5.4 PostgreSQL PostgreSQL is an object-relational database management system available for many usage as an alternative to Oracle. Postgresql is a good choice for enterprise type projects. PostgreSQL drivers There are many database drivers available for PostgreSQL. Here are three examples of them:0 码力 | 327 页 | 1.63 MB | 1 年前3
Go Web编程4 防止多次递交表单 4.5 处理文件上传 4.6 小结 5.访问数据库 5.1 database/sql接口 5.2 使用MySQL数据库 5.3 使用SQLite数据库 5.4 使用PostgreSQL数据库 5.5 使用beedb库进行ORM开发 5.6 NOSQL数据库操作 5.7 小结 6.session和数据存储 6.1 session和cookie 6.2 Go如何使用session WebSocket 8.3 REST 8.4 RPC 8.5 小结 9.安全与加密 9.1 预防CSRF攻击 9.2 确保输入过滤 9.3 避免XSS攻击 9.4 避免SQL注入 9.5 存储密码 9.6 加密和解密数据 9.7 小结 10.国际化和本地化 10.1 设置默认地区 10.2 本地化资源 10.3 国际化站点 4 10.4 小结 11.错误处理,调试和测试 11.1 错误处理 orbmu2k.de/ 可以方便的新建数据库管理。 links links 目录 上一节: 使用MySQL数据库 下一节: 使用PostgreSQL数据库 124 5.4 使用PostgreSQL数据库 5.4 使用PostgreSQL数据库 PostgreSQL 是一个自由的对象-关系数据库服务器(数据库管理系统),它在灵活的 BSD-风格许可证下发行。它提供 了相对其他开放源代码数据库系统(比如0 码力 | 295 页 | 5.91 MB | 1 年前3
Celery 2.2 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 9.6 2.2.5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . sqlite" # mysql CELERY_RESULT_DBURI = "mysql://scott:tiger@localhost/foo" # postgresql CELERY_RESULT_DBURI = "postgresql://scott:tiger@localhost/mydatabase" # oracle CELERY_RESULT_DBURI = "oracle://scott:tiger@127 "sqlite:///celerydb.sqlite" # mysql BROKER_HOST = "mysql://scott:tiger@localhost/foo" # postgresql BROKER_HOST = "postgresql://scott:tiger@localhost/mydatabase" # oracle BROKER_HOST = "oracle://scott:tiger@1270 码力 | 314 页 | 1.26 MB | 1 年前3
Celery 2.3 Documentationsqlite" # mysql CELERY_RESULT_DBURI = "mysql://scott:tiger@localhost/foo" # postgresql CELERY_RESULT_DBURI = "postgresql://scott:tiger@localhost/mydatabase" # oracle CELERY_RESULT_DBURI = "oracle://scott:tiger@127 "sqlite:///celerydb.sqlite" # mysql BROKER_HOST = "mysql://scott:tiger@localhost/foo" # postgresql BROKER_HOST = "postgresql://scott:tiger@localhost/mydatabase" # oracle BROKER_HOST = "oracle://scott:tiger@127 error about not being able to serialize floats while trying to publish task states (Issue #446). 9.6 2.3.0 release-date 2011-08-05 12:00 P.M BST tested cPython: 2.5, 2.6, 2.7; PyPy: 1.5; Jython: 2.50 码力 | 334 页 | 1.25 MB | 1 年前3
Celery 2.0 Documentationsqlite" # mysql CELERY_RESULT_DBURI = "mysql://scott:tiger@localhost/foo" # postgresql CELERY_RESULT_DBURI = "postgresql://scott:tiger@localhost/mydatabase" # oracle CELERY_RESULT_DBURI = "oracle://scott:tiger@127 sqlite" # mysql CELERY_RESULT_DBURI = "mysql://scott:tiger@localhost/foo" # postgresql CELERY_RESULT_DBURI = "postgresql://scott:tiger@localhost/mydatabase" # oracle CELERY_RESULT_DBURI = "oracle://scott:tiger@127 camqadm exchange.delete celeryresults or: $ python manage.py camqadm exchange.delete celeryresults 9.6 1.0.5 release-date 2010-06-01 02:36 P.M CEST 9.6.1 Critical • SIGINT/Ctrl+C killed the pool, abrubtly0 码力 | 165 页 | 492.43 KB | 1 年前3
Celery 2.5 Documentation"sqla+sqlite:///celerydb.sqlite" # mysql BROKER_URL = "sqla+mysql://scott:tiger@localhost/foo" # postgresql BROKER_URL = "sqla+postgresql://scott:tiger@localhost/mydatabase" 1.2. Brokers 9 Celery Documentation, Release sqlite" # mysql CELERY_RESULT_DBURI = "mysql://scott:tiger@localhost/foo" # postgresql CELERY_RESULT_DBURI = "postgresql://scott:tiger@localhost/mydatabase" # oracle CELERY_RESULT_DBURI = "oracle://scott:tiger@127 the Celery services (celeryd, celerybeat, celeryev, etc) as an unprivileged user is recommended. 9.6 Brokers 9.6.1 Why is RabbitMQ crashing? Answer: RabbitMQ will crash if it runs out of memory. This0 码力 | 400 页 | 1.40 MB | 1 年前3
Celery 1.0 Documentationceleryd: Now handles messages with encoding problems by acking them and emitting an error message. 9.6 1.0.1 [2010-02-24 07:05 P.M CET] • Tasks are now acknowledged early instead of late. This is done import send_task >>> result = send_task("celery.ping", args=[], kwargs={}) >>> result.get() ’pong’ 9.6. 1.0.1 [2010-02-24 07:05 P.M CET] 97 Celery Documentation, Release 1.0.6 (stable) • camqadm: This django, so installing celery won’t affect the preferred Django version installed. • Now works with PostgreSQL (psycopg2) again by registering the PickledObject field. • celeryd: Added --detach option as an0 码力 | 123 页 | 400.69 KB | 1 年前3
Celery 2.4 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 9.6 2.4.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . "sqlite:///celerydb.sqlite" # mysql BROKER_HOST = "mysql://scott:tiger@localhost/foo" # postgresql BROKER_HOST = "postgresql://scott:tiger@localhost/mydatabase" # oracle BROKER_HOST = "oracle://scott:tiger@127 sqlite" # mysql CELERY_RESULT_DBURI = "mysql://scott:tiger@localhost/foo" # postgresql CELERY_RESULT_DBURI = "postgresql://scott:tiger@localhost/mydatabase" # oracle CELERY_RESULT_DBURI = "oracle://scott:tiger@1270 码力 | 395 页 | 1.54 MB | 1 年前3
Jupyter Notebook 6.5.1 Documentationmanaged clusters while allowing for the notebook’s management to remain local to the Notebook server. 9.6 Known issues 9.6.1 Proxies When behind a proxy, especially if your system or browser is set to autodetect ["/usr/bin/tini", "--"] EXPOSE 8888 CMD ["jupyter", "notebook", "--port=8888", "--no-browser", "--ip=0.0.0.0"] 9.6. Known issues 145 Jupyter Notebook Documentation, Release 6.5.1 146 Chapter 9. Running a notebook example of a complete implementation of a custom ContentsManager. It stores notebooks and files in PostgreSQL and encodes directories as SQL relations. PGContents also provides an example of how to re-use0 码力 | 191 页 | 1.88 MB | 1 年前3
共 824 条
- 1
- 2
- 3
- 4
- 5
- 6
- 83













