没有合适的资源?快使用搜索试试~ 我知道了~
首页Cython-A-guide-for-Python-programmers.pdf.pdf
Cython-A-guide-for-Python-programmers.pdf.pdf
需积分: 9 20 下载量 167 浏览量
更新于2023-05-16
评论
收藏 3.8MB PDF 举报
Cython-A-guide-for-Python-programmers.pdf
资源详情
资源评论
资源推荐
PROGRAMMINGPYTHON
Cython
ISBN: 978-1-491-90155-7
US $29.99 CAN $34.99
“
Cython has proven itself
in many foundational
Python projects where
performance is critical.
In this book, Kurt Smith
walks you through
everything you need to
know to tap into Cython's
power for your own
projects.
”
—Robert Bradshaw
Lead Cython Developer
Twitter: @oreillymedia
facebook.com/oreilly
Build software that combines Python’s expressivity with the performance
and control of C (and C++). It’s possible with Cython, the compiler and
hybrid programming language used by foundational packages such as
NumPy, and prominent in projects including Pandas, h5py, and scikits-
learn. In this practical guide, you’ll learn how to use Cython to improve
Python’s performance—up to 3000x—and to wrap C and C++ libraries in
Python with ease.
Author Kurt Smith takes you through Cython’s capabilities, with sample
code and in-depth practice exercises. If you’re just starting with Cython, or
want to go deeper, you’ll learn how this language is an essential part of any
performance-oriented Python programmer’s arsenal.
■ Use Cython’s static typing to speed up Python code
■ Gain hands-on experience using Cython features to boost your
numeric-heavy Python
■ Create new types with Cython—and see how fast object-
oriented programming in Python can be
■ Eectively organize Cython code into separate modules and
packages without sacricing performance
■ Use Cython to give Pythonic interfaces to C and C++ libraries
■ Optimize code with Cython’s runtime and compile-time
proling tools
■ Use Cython’s prange function to parallelize loops transparently
with OpenMP
Kurt W. Smith discovered Cython’s power during his graduate research in com-
putational plasma physics. Today, he uses Cython extensively in his consulting
work at Enthought, training scientists, engineers, and researchers in Python,
NumPy, Cython, and parallel and high-performance computing.
Kurt W. Smith
Cython
A GUIDE FOR PYTHON PROGRAMMERS
Cython
Smith
PROGRAMMINGPYTHON
Cython
ISBN: 978-1-491-90155-7
US $29.99 CAN $34.99
“
Cython has proven itself
in many foundational
Python projects where
performance is critical.
In this book, Kurt Smith
walks you through
everything you need to
know to tap into Cython's
power for your own
projects.
”
—Robert Bradshaw
Lead Cython Developer
Twitter: @oreillymedia
facebook.com/oreilly
Build software that combines Python’s expressivity with the performance
and control of C (and C++). It’s possible with Cython, the compiler and
hybrid programming language used by foundational packages such as
NumPy, and prominent in projects including Pandas, h5py, and scikits-
learn. In this practical guide, you’ll learn how to use Cython to improve
Python’s performance—up to 3000x—and to wrap C and C++ libraries in
Python with ease.
Author Kurt Smith takes you through Cython’s capabilities, with sample
code and in-depth practice exercises. If you’re just starting with Cython, or
want to go deeper, you’ll learn how this language is an essential part of any
performance-oriented Python programmer’s arsenal.
■ Use Cython’s static typing to speed up Python code
■ Gain hands-on experience using Cython features to boost your
numeric-heavy Python
■ Create new types with Cython—and see how fast object-
oriented programming in Python can be
■ Eectively organize Cython code into separate modules and
packages without sacricing performance
■ Use Cython to give Pythonic interfaces to C and C++ libraries
■ Optimize code with Cython’s runtime and compile-time
proling tools
■ Use Cython’s prange function to parallelize loops transparently
with OpenMP
Kurt W. Smith discovered Cython’s power during his graduate research in com-
putational plasma physics. Today, he uses Cython extensively in his consulting
work at Enthought, training scientists, engineers, and researchers in Python,
NumPy, Cython, and parallel and high-performance computing.
Kurt W. Smith
Cython
A GUIDE FOR PYTHON PROGRAMMERS
Cython
Smith
Kurt W. Smith
Cython
Cython
by Kurt W. Smith
Copyright © 2015 Kurt W. Smith, PhD. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are
also available for most titles (http://safaribooksonline.com). For more information, contact our corporate/
institutional sales department: 800-998-9938 or corporate@oreilly.com.
Editors: Mike Loukides and Meghan Blanchette
Production Editor: Matthew Hacker
Copyeditor: Rachel Monaghan
Proofreader: Rachel Head
Indexer: Ellen Troutman Zaig
Cover Designer: Ellie Volckhausen
Interior Designer: David Futato
Illustrator: Rebecca Demarest
January 2015:
First Edition
Revision History for the First Edition:
2015-01-09: First release
See http://oreilly.com/catalog/errata.csp?isbn=9781491901557 for release details.
The O’Reilly logo is a registered trademark of O’Reilly Media, Inc. Cython, the cover image of a South African
python, and related trade dress are trademarks of O’Reilly Media, Inc.
While the publisher and the author have used good faith efforts to ensure that the information and instruc‐
tions contained in this work are accurate, the publisher and the author disclaim all responsibility for errors
or omissions, including without limitation responsibility for damages resulting from the use of or reliance
on this work. Use of the information and instructions contained in this work is at your own risk. If any code
samples or other technology this work contains or describes is subject to open source licenses or the intel‐
lectual property rights of others, it is your responsibility to ensure that your use thereof complies with such
licenses and/or rights.
ISBN: 978-1-491-90155-7
[LSI]
For Ellen, Zélie, Leo, and Hugh—my muses.
An inconvenience is only an adventure wrongly considered; an adventure
is an inconvenience rightly considered.
— GKC
A dead thing can go with the stream, but only a living thing can go against it.
— GKC
欢迎加入非盈利Python编程学习交流QQ群783462347,群里免费提供500+本Python书籍!
剩余252页未读,继续阅读
weixin_38743481
- 粉丝: 694
- 资源: 4万+
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- RTL8188FU-Linux-v5.7.4.2-36687.20200602.tar(20765).gz
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0