2 张孝峰 Python与云 AWS的Python原生应用浅析Python与云 ——AWS的Python原生应用浅析 张孝峰 亚马逊AWS资深解决方案架构师 Python 30周年 Python发展时间线 2019/10 v3.8 v2.7.17 开始实现 1989/12 v0.9.0 1991/2 v1.0.0 1994/1 v2.0 2000/10 v2.5 2006/9 v2.6 2008/10 v3.0 2008/12 2008/12 v2.7 2010/7 v3.7 2018/6 AWS发展时间线 2019/10 开始实现 1989/12 v0.9.0 1991/2 v1.0.0 1994/1 v2.0 2000/10 v2.5 2006/9 v2.6 2008/10 v3.0 2008/12 v2.7 2010/7 v3.7 2018/6 贝索斯开始思考 微服务 2000 2000 Amazon S3 2006/3 Amazon SQS 2006/7 Amazon EC2 2006/8 开始研发 2004 AWS Lambda 2014/11 2019/10 22个区域 165项服务 Python被称为“瑞士军刀” • Web开发 • AI / 机器学习 • 自动化运维 • 网络爬虫 • 大数据分析 48 82 160 280 5160 码力 | 42 页 | 8.12 MB | 1 年前3
3 在AWS部署与发布你面向全球的Python Serverless应用 谢洪恩in Taipei • Focus on Serverless, Container and AWS CDK • Father of a daughter • Speaker in AWS Global Summits, KubeCon and CNCF Webinar • Active in AWS User Groups from Shanghai, Taipei, Korea and other AWS service All publicly accessible endpoints AWS Lambda functions Endpoints in your VPC Regional API Endpoints AWS Lambda functions Endpoints on Amazon EC2 Your VPC AWS Manage Set Job Succeeded Sent Message to SNS AWS Lambda functions Synchronously Run a Batch Job Publish Success to SNS Publish Error to SNS Start End No Lambda functions Start End Serverless compute0 码力 | 53 页 | 24.15 MB | 1 年前3
Build Python App with Serverless 费良宏 “无服务”是一种新的模型,它跨越许多不同类别的服务 AWS Lambda AWS Fargate Amazon API Gateway Amazon SNS Amazon SQS AWS Step Functions 计 算 数 据 存 储 集 成 Amazon Aurora Serverless Amazon S3 Amazon DynamoDB AWS AppSync 2014 2016.3 2017.12 AWS Lambda Google Cloud Functions Azure Functions Apache OpenWisk Oracle Fn 2017.10 Project Riff “无服务器”计算平台的发展 2017.2 OpenFAAS “Serverless” 好在哪里? 来源:https://aws.amazon.com/cn/ com/cn/solutions/case-studies/autodesk-serverless/ f() f() f() f() 复杂的并行任务 工作流编排 AWS Lambda & Python AWS Lambda 的事件驱动架构 其它服务 事件源 Serverless函数 常见的应用场景 Web 应用 • 静态网站 • 复杂的Web 应用 • 打包Flask 与 Express应用0 码力 | 35 页 | 7.81 MB | 1 年前3
Celery v5.0.5 Documentationbackend. for using Elasticsearch as a result backend. for using Riak as a result backend. for using AWS DynamoDB as a result backend. for using Zookeeper as a message transport. for using SQLAlchemy as 'sqs://ABCDEFGHIJKLMNOPQRST:ZYXK7NiynGlTogH8Nj+P9nlE73sq3@' where the URL format is: sqs://aws_access_key_id:aws_secret_access_key@ Please note that you must remember to include the @ sign at the end and safequote aws_access_key = safequote("ABCDEFGHIJKLMNOPQRST") aws_secret_key = safequote("ZYXK7NiynG/TogH8Nj+P9nlE73sq3") broker_url = "sqs://{aws_access_key}:{aws_secret_key}@".format( aws_access_key=aws_access_key0 码力 | 2315 页 | 2.14 MB | 1 年前3
Scrapy 1.6 DocumentationDocumentation, Release 1.6.0 (continued from previous page) ....:- 6
....: """) >>> xp = lambda x: sel.xpath(x).getall() This gets all first- elements under whatever it is its parent: >>> stop_on_none=False. Example: >>> from scrapy.loader.processors import Compose >>> proc = Compose(lambda v: v[0], str.upper) >>> proc(['hello', 'world']) 'HELLO' Each function can optionally receive a s3://mybucket/path/to/export.csv – s3://aws_key:aws_secret@mybucket/path/to/export.csv • Required external libraries: botocore (Python 2 and Python 3) or boto (Python 2 only) The AWS credentials can be passed as
0 码力 | 295 页 | 1.18 MB | 1 年前3
Celery v5.0.1 Documentationbackend. for using Elasticsearch as a result backend. for using Riak as a result backend. for using AWS DynamoDB as a result backend. for using Zookeeper as a message transport. for using SQLAlchemy as 'sqs://ABCDEFGHIJKLMNOPQRST:ZYXK7NiynGlTogH8Nj+P9nlE73sq3@' where the URL format is: sqs://aws_access_key_id:aws_secret_access_key@ Please note that you must remember to include the @ sign at the end and safequote aws_access_key = safequote("ABCDEFGHIJKLMNOPQRST") aws_secret_key = safequote("ZYXK7NiynG/TogH8Nj+P9nlE73sq3") broker_url = "sqs://{aws_access_key}:{aws_secret_key}@".format( aws_access_key=aws_access_key0 码力 | 2313 页 | 2.13 MB | 1 年前3
Celery v5.0.2 Documentationbackend. for using Elasticsearch as a result backend. for using Riak as a result backend. for using AWS DynamoDB as a result backend. for using Zookeeper as a message transport. for using SQLAlchemy as 'sqs://ABCDEFGHIJKLMNOPQRST:ZYXK7NiynGlTogH8Nj+P9nlE73sq3@' where the URL format is: sqs://aws_access_key_id:aws_secret_access_key@ Please note that you must remember to include the @ sign at the end and safequote aws_access_key = safequote("ABCDEFGHIJKLMNOPQRST") aws_secret_key = safequote("ZYXK7NiynG/TogH8Nj+P9nlE73sq3") broker_url = "sqs://{aws_access_key}:{aws_secret_key}@".format( aws_access_key=aws_access_key0 码力 | 2313 页 | 2.14 MB | 1 年前3
Celery v5.0.0 Documentationbackend. for using Elasticsearch as a result backend. for using Riak as a result backend. for using AWS DynamoDB as a result backend. for using Zookeeper as a message transport. for using SQLAlchemy as 'sqs://ABCDEFGHIJKLMNOPQRST:ZYXK7NiynGlTogH8Nj+P9nlE73sq3@' where the URL format is: sqs://aws_access_key_id:aws_secret_access_key@ Please note that you must remember to include the @ sign at the end and safequote aws_access_key = safequote("ABCDEFGHIJKLMNOPQRST") aws_secret_key = safequote("ZYXK7NiynG/TogH8Nj+P9nlE73sq3") broker_url = "sqs://{aws_access_key}:{aws_secret_key}@".format( aws_access_key=aws_access_key0 码力 | 2309 页 | 2.13 MB | 1 年前3
Scrapy 1.7 Documentation- ....:
- 4 ....:
- 5 ....:
- 6 ....:
- elements under whatever it is its parent: >>> stop_on_none=False. Example: >>> from scrapy.loader.processors import Compose >>> proc = Compose(lambda v: v[0], str.upper) >>> proc(['hello', 'world']) 'HELLO' Each function can optionally receive a stored on Amazon S3. • URI scheme: s3 • Example URIs: – s3://mybucket/path/to/export.csv – s3://aws_key:aws_secret@mybucket/path/to/export.csv 3.8. Feed exports 85 Scrapy Documentation, Release 1.7.4
0 码力 | 306 页 | 1.23 MB | 1 年前3
Scrapy 1.8 Documentation- ....:
- 4 ....:
- 5 ....:
- 6 ....:
- elements under whatever it is its parent: >>> stop_on_none=False. Example: >>> from scrapy.loader.processors import Compose >>> proc = Compose(lambda v: v[0], str.upper) >>> proc(['hello', 'world']) 'HELLO' Each function can optionally receive a stored on Amazon S3. • URI scheme: s3 • Example URIs: – s3://mybucket/path/to/export.csv – s3://aws_key:aws_secret@mybucket/path/to/export.csv • Required external libraries: botocore (Python 2 and Python
0 码力 | 335 页 | 1.44 MB | 1 年前3
共 396 条
- 1
- 2
- 3
- 4
- 5
- 6
- 40













