Scrapy 2.0 Documentationgenerated by the rule. It receives a Twisted Failure instance as first parameter. New in version 2.0: The errback parameter. CrawlSpider example Let’s now take a look at an example CrawlSpider with must accept one (and only one) positional argument, which will be an iterable. Changed in version 2.0: Processors no longer need to be methods. Note: Both input and output processors must receive an iterable supported URI schemes. This setting is required for enabling the feed exports. Changed in version 2.0: Added pathlib.Path support. FEED_FORMAT The serialization format to be used for the feed. See Serialization0 码力 | 336 页 | 1.31 MB | 1 年前3
Scrapy 2.0 DocumentationScrapy 2.0 documentation Scrapy is a fast high-level web crawling [https://en.wikipedia.org/wiki/Web_crawler] and web scraping [https://en.wikipedia.org/wiki/Web_scraping] framework, used to crawl websites com/documents/current/api/twisted.python.failure.Failure.html] instance as first parameter. New in version 2.0: The errback parameter. CrawlSpider example Let’s now take a look at an example CrawlSpider with must accept one (and only one) positional argument, which will be an iterable. Changed in version 2.0: Processors no longer need to be methods. Note Both input and output processors must receive an iterable0 码力 | 419 页 | 637.45 KB | 1 年前3
Celery 2.0 Documentationindex modules | next | previous | Celery 2.0.3 (stable) documentation » Getting Started Release: 2.0 Date: February 04, 2014 Introduction Overview Example Features Documentation Installation Broker 2. index modules | next | previous | Celery 2.0.3 (stable) documentation » User Guide Release: 2.0 Date: February 04, 2014 Tasks Basics Default keyword arguments Logging Retrying a task if something 1.2. index modules | next | previous | Celery 2.0.3 (stable) documentation » Tutorials Release: 2.0 Date: February 04, 2014 Tutorials and resources from the community Django/Celery Quickstart (or,0 码力 | 284 页 | 332.71 KB | 1 年前3
Celery 2.0 DocumentationContents 1 Celery Documentation, Release 2.0.3 (stable) 2 Contents CHAPTER 1 Getting Started Release 2.0 Date February 04, 2014 1.1 Introduction Version 2.0.3 Web http://celeryproject.org/ Download http://pypi directory for the full license text. 12 Chapter 1. Getting Started CHAPTER 2 User Guide Release 2.0 Date February 04, 2014 2.1 Tasks • Basics • Default keyword arguments • Logging • Retrying a task Celery Documentation, Release 2.0.3 (stable) 62 Chapter 4. Cookbook CHAPTER 5 Tutorials Release 2.0 Date February 04, 2014 5.1 Tutorials and resources from the community This is a list of external0 码力 | 165 页 | 492.43 KB | 1 年前3
Django 2.0.x DocumentationThen at the Python prompt, try to import Django: >>> import django >>> print(django.get_version()) 2.0 You may have another version of Django installed. 2.2.6 That’s it! That’s it – you can now move isn’t, you’ll get an error telling “No module named django”. This tutorial is written for Django 2.0, which supports Python 3.4 and later. If the Django version doesn’t match, you can refer to the tutorial ˓→applied. Run 'python manage.py migrate' to apply them. July 01, 2019 - 15:50:53 Django version 2.0, using settings 'mysite.settings' Starting development server at http://127.0.0.1:8000/ Quit the server0 码力 | 1880 页 | 6.41 MB | 1 年前3
Django 2.0.x DocumentationFramework Third-party distributions of Django For distributors Glossary Release notes Final releases 2.0 release 1.11 release 1.10 release 1.9 release 1.8 release 1.7 release 1.6 release 1.5 release 1.4 release cadence Deprecation policy Supported versions Release process Django Deprecation Timeline 3.0 2.1 2.0 1.10 1.9 1.8 1.7 1.6 1.5 1.4 1.3 The Django source code repository High-level overview The master Then at the Python prompt, try to import Django: >>> import django >>> print(django.get_version()) 2.0 You may have another version of Django installed. That’s it! That’s it – you can now move onto the0 码力 | 2746 页 | 2.67 MB | 1 年前3
Django、Vue 和Element UI 前后端原理论述一篇是你在开始动手搭建环境前需要了解各工具原理的文章。 这是一篇你真正开始前需要查阅的文章。 本文介绍了前后端工作原理,前后端搭建的流程、搭建过程中需要用到的技术以及 开发环境版本。 一、前后端如何工作 Django、Vue 和 Element UI 前后 端原理论述 作者:M&T. 2 《51 测试天地》七十四 www.51testing.com 后端开发(Django+Rest Framework+MySQL): 与前端进行数据交互。 MySQL 是一个关系型数据库,用于存储后端的数据。 前端开发(Vue+Element UI): Vue 是一种现代的 JavaScript 框架,用于构建用户界面。Vue 提供了丰富的组件和模 块,可以帮助开发者构建交互式的单页面应用(SPA)。 Element UI 是一个基于 Vue 的 UI 组件库,提供了丰富的预定义组件,用于快速搭建 美观的用户界面。 前后端交互: 前后端交互: 后端通过 Django Rest Framework 提供 API 接口,前端通过 Vue 发起 HTTP 请求调用 这些 API 接口。 前端通过 HTTP 请求向后端发送数据请求,后端根据请求进行相应的数据处理,并 返回响应数据给前端。 前端接收到后端返回的数据,并根据数据更新页面展示,实现与用户的交互。 总体而言,这种前后端分离的开发模式有助于实现前后端开发的解耦,使得各自的0 码力 | 61 页 | 6.84 MB | 1 年前3
peewee Documentation
Release 2.0.2done that I never thought of 1.3.2 Changes from version 1.0 The biggest changes between 1.0 and 2.0 are in the syntax used for constructing queries. The first iteration of peewee I threw up on github all tweets by a user named “charlie”: # 1.0 Tweet.select().join(User).where(username=’charlie’) # 2.0 Tweet.select().join(User).where(User.username == ’charlie’) Get me a list of tweets ordered by the ways to express it Tweet.select().join(User).order_by(’username’, (Tweet, ’created_date’, ’desc’)) # 2.0 Tweet.select().join(User).order_by(User.username, Tweet.created_date.desc()) Get me a list of tweets0 码力 | 65 页 | 315.33 KB | 1 年前3
Celery v4.2.0 Documentationsince it makes it very hard to use serial- izers other than pickle, and the feature was removed in 2.0, replaced by task decorators: from celery.task import task @task(queue='hipri') def hello(to): return The Primitives – Chains – Groups – Chords – Map & Starmap – Chunks Signatures New in version 2.0. You just learned how to call a task using the tasks delay method in the calling guide, and this is based on application, work load, task run times and other factors. Remote control New in version 2.0. 98 Chapter 2. Contents Celery Documentation, Release 4.2.0 The celery command The celery program0 码力 | 738 页 | 2.68 MB | 1 年前3
Celery v4.2.0 Documentationsince it makes it very hard to use serializers other than pickle, and the feature was removed in 2.0, replaced by task decorators: from celery.task import task @task(queue='hipri') def hello(to): Immutability Callbacks The Primitives Chains Groups Chords Map & Starmap Chunks Signatures New in version 2.0. You just learned how to call a task using the tasks delay method in the calling guide, and this is based on application, work load, task run times and other factors. Remote control New in version 2.0. Utilities (inspect/control) for more information. broker support: prefork, eventlet, gevent, blocking:solo0 码力 | 1110 页 | 1.36 MB | 1 年前3
共 396 条
- 1
- 2
- 3
- 4
- 5
- 6
- 40













