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
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
Click Documentation Release 2.6is misconfigured instead of dying with an UnicodeError. As an added benefit, starting with click 2.0, the echo function also has good support for ANSI colors. It will auto- matically strip ANSI codes input and output streams as well as files opened for reading, lazy otherwise. Starting with click 2.0, files can also be opened atomically in which case all writes go into a separate file in the same folder the command line: 10 Chapter 1. Documentation Click Documentation, Release 2.6 $ findme --pos 2.0 3.0 2.0 / 3.0 1.4.3 Multiple Options Similarly to nargs, there is also the case of wanting to support0 码力 | 83 页 | 354.87 KB | 1 年前3
共 395 条
- 1
- 2
- 3
- 4
- 5
- 6
- 40













