Philip Herron Learning Cython Programming

ISBN 13: 9781783280797

Learning Cython Programming

3.91 avg rating
( 11 ratings by Goodreads )
 
9781783280797: Learning Cython Programming
View all copies of this ISBN edition:
 
 

Developers who like C/C++ will love the added dynamism of Cython. This practical guide gives you everything you need to start programming with Cython and enhancing your existing applications. It could change your working life.

Overview

  • Extend C applications with pure Python code
  • Expand low-level C open source projects with pure Python – Tmux
  • Get the most out of highly computational Python code using Cython
  • Integrate your C applications with Python Distutils and Automake/Autoconf

In Detail

Cython is a very powerful combination of Python and C. Using Cython, you can write Python code that calls back and forth from and to C or C++ code natively at any point. It is a language with extra syntax allowing for optional static type declarations. It is also a very popular language as it can be used for multicore programming.

Learning Cython Programming will provide you with a detailed guide to extending your native applications in pure Python; imagine embedding a twisted web server into your native application with pure Python code. You will also learn how to get your new applications up and running by reusing Python’s extensive libraries such as Logging and Config Parser to name a few.

With Learning Cython Programming, you will learn that writing your own Python module in C from scratch is not only hard, but is also unsafe. Cython will automatically handle all type-conversion issues as well as garbage collection on your code. You can also still write all your code in Python but have it compiled and called directly in C as if it was just another function or data.

This book also demonstrates how you can take the open source project Tmux and extend it to add new commands directly in pure Python. With this book, you will learn everything you need to know to get up and running with Cython and how you can reuse examples in a practical way.

What you will learn from this book

  • Reuse Python logging in C
  • Make an IRC bot out of your C application
  • Extend an application to have a web server for rest calls
  • Use Cython against your C++ code
  • Reuse Python ConfigParser in C
  • Create Python bindings to native libraries
  • Learn about threading and concurrency related to the GIL
  • Expand Terminal Multiplexer Tmux with Cython

Approach

A practical and a fast-paced guide that gives you all the information you need to start programming using Cython.

Who this book is written for

This book is for developers who love C/C++ for low latency and speed but who also require the ability to add more dynamic features to applications both fast and reliably. It will also show you how you can get new applications off the ground by reusing Python libraries to get started.

"synopsis" may belong to another edition of this title.

About the Author:

Philip Herron

Philip Herron is an avid software engineer who focuses his passion towards compilers and virtual machine implementations. When he was first accepted to Google Summer of Code 2010, he used inspiration from Paul Biggar's PhD on optimization of dynamic languages to develop a proof of concept GCC frontend to compile Python. This project sparked his deep interest of how Python works.

After completing a consecutive year on the same project in 2011, Philip decided to apply for Cython under the Python foundation to gain a deeper appreciation of the standard Python implementation. Through this, he started leveraging the advantages of Python to control the logic in systems or even to add more high-level interfaces such as embedding Twisted web servers for REST calls to a system-level piece of software without writing any C code.

Currently Philip is employed by NYSE Euronext in Belfast Northern Ireland, working on multiprocessing systems. But he spends his evenings hacking on GCCPy, Cython, and GCC. In the past, he has worked with WANdisco as an Apache Hadoop developer and as an intern with SAP Research on cloud computing.

"About this title" may belong to another edition of this title.

Buy New View Book
List Price: US$ 32.99
US$ 29.64

Convert currency

Shipping: FREE
From United Kingdom to U.S.A.

Destination, rates & speeds

Add to Basket

Top Search Results from the AbeBooks Marketplace

1.

Philip Herron
Published by Packt Publishing Limited, United Kingdom (2013)
ISBN 10: 1783280794 ISBN 13: 9781783280797
New Paperback Quantity Available: 10
Print on Demand
Seller:
The Book Depository
(London, United Kingdom)
Rating
[?]

Book Description Packt Publishing Limited, United Kingdom, 2013. Paperback. Condition: New. Language: English . Brand New Book ***** Print on Demand *****.A practical and a fast-paced guide that gives you all the information you need to start programming using Cython. This book is for developers who love C/C++ for low latency and speed but who also require the ability to add more dynamic features to applications both fast and reliably. It will also show you how you can get new applications off the ground by reusing Python libraries to get started. Seller Inventory # AAV9781783280797

More information about this seller | Contact this seller

Buy New
US$ 29.64
Convert currency

Add to Basket

Shipping: FREE
From United Kingdom to U.S.A.
Destination, rates & speeds

2.

Philip Herron
Published by Packt Publishing Limited, United Kingdom (2013)
ISBN 10: 1783280794 ISBN 13: 9781783280797
New Paperback Quantity Available: 10
Print on Demand
Seller:
Book Depository International
(London, United Kingdom)
Rating
[?]

Book Description Packt Publishing Limited, United Kingdom, 2013. Paperback. Condition: New. Language: English . Brand New Book ***** Print on Demand *****. A practical and a fast-paced guide that gives you all the information you need to start programming using Cython. This book is for developers who love C/C++ for low latency and speed but who also require the ability to add more dynamic features to applications both fast and reliably. It will also show you how you can get new applications off the ground by reusing Python libraries to get started. Seller Inventory # AAV9781783280797

More information about this seller | Contact this seller

Buy New
US$ 35.41
Convert currency

Add to Basket

Shipping: FREE
From United Kingdom to U.S.A.
Destination, rates & speeds

3.

Herron, Philip
Published by Packt Publishing (2016)
ISBN 10: 1783280794 ISBN 13: 9781783280797
New Paperback Quantity Available: 1
Print on Demand
Seller:
Ria Christie Collections
(Uxbridge, United Kingdom)
Rating
[?]

Book Description Packt Publishing, 2016. Paperback. Condition: New. PRINT ON DEMAND Book; New; Publication Year 2016; Not Signed; Fast Shipping from the UK. No. book. Seller Inventory # ria9781783280797_lsuk

More information about this seller | Contact this seller

Buy New
US$ 30.62
Convert currency

Add to Basket

Shipping: US$ 4.96
From United Kingdom to U.S.A.
Destination, rates & speeds

4.

Philip Herron
Published by Packt Publishing Limited (2013)
ISBN 10: 1783280794 ISBN 13: 9781783280797
New Quantity Available: > 20
Print on Demand
Seller:
Pbshop
(Wood Dale, IL, U.S.A.)
Rating
[?]

Book Description Packt Publishing Limited, 2013. PAP. Condition: New. New Book. Shipped from US within 10 to 14 business days. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. Seller Inventory # IQ-9781783280797

More information about this seller | Contact this seller

Buy New
US$ 32.43
Convert currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, rates & speeds

5.

Philip Herron
Published by Packt Publishing Limited (2013)
ISBN 10: 1783280794 ISBN 13: 9781783280797
New Quantity Available: > 20
Print on Demand
Seller:
Books2Anywhere
(Fairford, GLOS, United Kingdom)
Rating
[?]

Book Description Packt Publishing Limited, 2013. PAP. Condition: New. New Book. Delivered from our UK warehouse in 4 to 14 business days. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. Seller Inventory # LQ-9781783280797

More information about this seller | Contact this seller

Buy New
US$ 25.97
Convert currency

Add to Basket

Shipping: US$ 11.52
From United Kingdom to U.S.A.
Destination, rates & speeds

6.

Herron, Philip
Published by Packt Publishing 8/24/2013 (2013)
ISBN 10: 1783280794 ISBN 13: 9781783280797
New Paperback or Softback Quantity Available: 10
Seller:
BargainBookStores
(Grand Rapids, MI, U.S.A.)
Rating
[?]

Book Description Packt Publishing 8/24/2013, 2013. Paperback or Softback. Condition: New. Learning Cython Programming. Book. Seller Inventory # BBS-9781783280797

More information about this seller | Contact this seller

Buy New
US$ 42.70
Convert currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, rates & speeds

7.

Philip Herron
Published by Packt Publishing (2013)
ISBN 10: 1783280794 ISBN 13: 9781783280797
New Softcover Quantity Available: 1
Print on Demand
Seller:
Rating
[?]

Book Description Packt Publishing, 2013. Condition: New. This item is printed on demand for shipment within 3 working days. Seller Inventory # GM9781783280797

More information about this seller | Contact this seller

Buy New
US$ 39.79
Convert currency

Add to Basket

Shipping: US$ 3.16
From Germany to U.S.A.
Destination, rates & speeds

8.

Philip Herron
Published by Packt Publishing (2013)
ISBN 10: 1783280794 ISBN 13: 9781783280797
New Softcover Quantity Available: 1
Seller:
Irish Booksellers
(Portland, ME, U.S.A.)
Rating
[?]

Book Description Packt Publishing, 2013. Condition: New. book. Seller Inventory # M1783280794

More information about this seller | Contact this seller

Buy New
US$ 52.62
Convert currency

Add to Basket

Shipping: US$ 3.27
Within U.S.A.
Destination, rates & speeds

9.

Herron, Philip
Published by Packt Publishing
ISBN 10: 1783280794 ISBN 13: 9781783280797
New PAPERBACK Quantity Available: > 20
Seller:
Russell Books
(Victoria, BC, Canada)
Rating
[?]

Book Description Packt Publishing. PAPERBACK. Condition: New. 1783280794 Special order direct from the distributor. Seller Inventory # ING9781783280797

More information about this seller | Contact this seller

Buy New
US$ 49.49
Convert currency

Add to Basket

Shipping: US$ 7.00
From Canada to U.S.A.
Destination, rates & speeds

10.

Philip Herron
Published by Packt Publishing (2013)
ISBN 10: 1783280794 ISBN 13: 9781783280797
New Paperback Quantity Available: 1
Seller:
Books Express
(Portsmouth, NH, U.S.A.)
Rating
[?]

Book Description Packt Publishing, 2013. Paperback. Condition: New. Ships with Tracking Number! INTERNATIONAL WORLDWIDE Shipping available. Buy with confidence, excellent customer service!. Seller Inventory # 1783280794n

More information about this seller | Contact this seller

Buy New
US$ 136.68
Convert currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, rates & speeds