Learning Cython programming : learn the fundamentals of Cython to extend the legacy of your applications

Learn the fundamentals of Cython to extend the legacy of your applicationsAbout This Book Learn how to extend C applications with pure Python code Get more from Python - you'll not only learn Cython, you'll also unlock a greater understanding of how to harness Python Packed with tips and t...

Full description

Saved in:
Bibliographic Details
Main Author: Herron, Philip, (Author)
Format: eBook
Language: English
Published: Birmingham, UK : Packt Publishing, 2016.
Edition: Second edition.
Series: Community experience distilled.
Subjects:
ISBN: 9781785289125
1785289128
9781783551675
1783551674
Physical Description: 1 online resource (1 volume) : illustrations.

Cover

Table of contents

LEADER 05921cam a2200481 i 4500
001 kn-ocn944986528
003 OCoLC
005 20240717213016.0
006 m o d
007 cr cn|||||||||
008 160317s2016 enka o 001 0 eng d
040 |a UMI  |b eng  |e rda  |e pn  |c UMI  |d IDEBK  |d OCLCF  |d DEBSZ  |d NLE  |d KSU  |d DEBBG  |d OCLCQ  |d COO  |d VT2  |d FEM  |d YDXCP  |d N$T  |d UOK  |d CEF  |d WYU  |d ZCU  |d AGLDB  |d IGB  |d SFB  |d OCLCO  |d OCLCQ  |d QGK  |d OCLCO  |d OCLCL  |d TMA  |d OCLCQ 
020 |a 9781785289125 
020 |a 1785289128 
020 |z 9781783551675 
020 |z 1783551674 
035 |a (OCoLC)944986528  |z (OCoLC)941066548  |z (OCoLC)941442022  |z (OCoLC)968044433  |z (OCoLC)969031575  |z (OCoLC)1259106215 
100 1 |a Herron, Philip,  |e author. 
245 1 0 |a Learning Cython programming :  |b learn the fundamentals of Cython to extend the legacy of your applications /  |c Philip Herron. 
250 |a Second edition. 
264 1 |a Birmingham, UK :  |b Packt Publishing,  |c 2016. 
300 |a 1 online resource (1 volume) :  |b illustrations. 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
490 1 |a Community experience distilled 
500 |a Includes index. 
506 |a Plný text je dostupný pouze z IP adres počítačů Univerzity Tomáše Bati ve Zlíně nebo vzdáleným přístupem pro zaměstnance a studenty 
520 |a Learn the fundamentals of Cython to extend the legacy of your applicationsAbout This Book Learn how to extend C applications with pure Python code Get more from Python - you'll not only learn Cython, you'll also unlock a greater understanding of how to harness Python Packed with tips and tricks that make Cython look easy, dive into this accessible programming guide and find out what happens when you bring C and Python together!Who This Book Is For This book is for developers who are familiar with the basics of C and Python programming and wish to learn Cython programming to extend their applications. What You Will Learn Reuse Python logging in C Make an IRC bot out of your C application Extend an application so you have a web server for rest calls Practice Cython against your C++ code Discover tricks to work with Python ConfigParser in C Create Python bindings for native libraries Find out about threading and concurrency related to GIL Expand Terminal Multiplexer Tmux with CythonIn Detail Cython is a hybrid programming language used to write C extensions for Python language. Combining the practicality of Python and speed and ease of the C language it's an exciting language worth learning if you want to build fast applications with ease. This new edition of Learning Cython Programming shows you how to get started, taking you through the fundamentals so you can begin to experience its unique powers. You'll find out how to get set up, before exploring the relationship between Python and Cython. You'll also look at debugging Cython, before moving on to C++ constructs, Caveat on C++ usage, Python threading and GIL in Cython. Finally, you'll learn object initialization and compile time, and gain a deeper insight into Python 3, which will help you not only become a confident Cython developer, but a much more fluent Python developer too. Style and approach This practical and a fast-paced guide gives you all the information you need to start programming using Cython. 
505 0 |a Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Cython Won't Bite; Installing Cython; Emacs mode; Getting the code examples; Getting started -- Hello World; Using distutils with Cython; Calling C functions from Python; Type conversion in Cython; Summary; Chapter 2: Understanding Cython; Linking models; Cython keyword -- cdef; Structs; Enums; Typedef and function pointers; The public keyword; Keyword cpdef; Logging from C/C++ into Python; Using Python ConfigParser from C/C++; Callbacks from Python to C/C++ 
505 8 |a Cython PXDIntegration with build systems; Python Distutils; GNU/Autotools; Summary; Chapter 3: Extending Applications; Cython pure Python code; Compiling pure Python code; Avoid Makefiles -- pyximport; Python garbage collector; Extending Tmux; Tmux build system; Embedding Python; Cythonizing struct cmd_entry; Implementing a Tmux command; Hooking everything together; Summary; Chapter 4: Debugging Cython; Using GDB with Cython; Running cygdb; Cython caveats; Type checking; Dereference operator (*); Python exceptions; C/C++ iterators; Boolean error; Const keyword; Multiple Cython inputs 
505 8 |a Struct initializationCalling into pure Python modules; Summary; Chapter 5: Advanced Cython; Cython and C++; Namespaces; Classes; C++ new and del keyword; Exceptions; Bool type; Overloading; Templates; Static class member attribute; Calling C++ functions -- Caveat; Namespaces -- Caveat; Python distutils; Python threading and GIL; Atomic instructions; Read/write lock; Cython keywords; Messaging server; Caveat on GIL; Unit testing the native code; Preventing subclassing; Parsing large amounts of data; Summary; Chapter 6: Further Reading; Overview; OpenMP support; Compile time preprocessor 
505 8 |a Python 3PyPy; AutoPXD; Pyrex and Cython; SWIG and Cython; Cython and NumPy; Numba versus Cython; Parakeet and Numba; Relevant Links; Summary; Index 
590 |a Knovel  |b Knovel (All titles) 
650 0 |a Object-oriented programming languages. 
650 0 |a Python (Computer program language) 
650 0 |a C (Computer program language) 
650 0 |a C++ (Computer program language) 
655 7 |a elektronické knihy  |7 fd186907  |2 czenas 
655 9 |a electronic books  |2 eczenas 
776 |z 1-78355-167-4 
830 0 |a Community experience distilled. 
856 4 0 |u https://proxy.k.utb.cz/login?url=https://app.knovel.com/hotlink/toc/id:kpLCPECP0L/learning-cython-programming?kpromoter=marc  |y Full text