2 options
Python unlocked : become more fluent in Python-- learn strategies and techniques for smart and high-performance Python programming / Arun Tigeraniya.
- Format:
- Book
- Author/Creator:
- Tigeraniya, Arun, author.
- Series:
- Community experience distilled.
- Community experience distilled
- Language:
- English
- Subjects (All):
- Python (Computer program language).
- Physical Description:
- 1 online resource (172 p.)
- Place of Publication:
- Birmingham : Packt Publishing, 2015.
- Biography/History:
- Tigeraniya Arun: Arun Tigeraniya has a BE in electronics and communication. After his graduation, he worked at various companies as a Python developer. His main professional interests are AI and Big Data. He enjoys writing efficient and testable code, and interesting technical articles. He has worked with open source technology since 2008. He currently works at Jaarvis Labs Limited, India.
- Summary:
- Become more fluent in Python—learn strategies and techniques for smart and high-performance Python programmingKey Features[*]Write smarter, bug-free, high performance code with minimal effort[*]Uncover the best tools and options available to Python developers today[*]Deploy decorators, design patters, and various optimization techniques to use Python 3.5 effectivelyBook DescriptionPython is a versatile programming language that can be used for a wide range of technical tasks—computation, statistics, data analysis, game development, and more. Though Python is easy to learn, it’s range of features means there are many aspects of it that even experienced Python developers don’t know about. Even if you’re confident with the basics, its logic and syntax, by digging deeper you can work much more effectively with Python – and get more from the language. Python Unlocked walks you through the most effective techniques and best practices for high performance Python programming - showing you how to make the most of the Python language. You’ll get to know objects and functions inside and out, and will learn how to use them to your advantage in your programming projects. You will also find out how to work with a range of design patterns including abstract factory, singleton, strategy pattern, all of which will help make programming with Python much more efficient. Finally, as the process of writing a program is never complete without testing it, you will learn to test threaded applications and run parallel tests. If you want the edge when it comes to Python, use this book to unlock the secrets of smarter Python programming. What you will learn[*]Manipulate object creation processes for instances, classes, and functions[*]Use the best possible language constructs to write data structures with super speed and maintainability[*]Make efficient use of design patterns to decrease development time and make your code more maintainable[*]Write better test cases with an improved understanding of the testing framework of Python and unittests, and discover how to develop new functionalities in it[*]Write fully-optimized code with the Python language by profiling, compiling C modules, and more[*]Unlock asynchronous programming to build efficient and scalable applicationsWho this book is forIf you are a Python developer and you think that you don’t know everything about the language yet, then this is the book for you. We will unlock the mysteries and re-introduce you to the hidden features of Python to write efficient programs, making optimal use of the language.
- Contents:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Objects in Depth; Understanding objects; Identity; Value; Type; Making calls to objects; How objects are created; Creation of function objects; Creation of instances; Creation of class objects; Playing with attributes; Descriptors; Class, static, and instance methods; Summary; Chapter 2: Namespaces and Classes; How referencing objects work - namespaces; Functions with state - closures; Understanding import and modules; Customizing imports; Class inheritance
- Method resolution orderSuper's superpowers; Using language protocols in classes; Iteration protocol; Context manager protocol; Using abstract classes; Summary; Chapter 3: Functions and Utilities; Defining functions; Decorating callables; Utilities; Summary; Chapter 4: Data Structures and Algorithms; Python built-in data structures; Python library data structures; Third party data structures; Arrays/List; Binary tree; Sorted containers; Trie; Algorithms on scale; Summary; Chapter 5: Elegance with Design Patterns; Observer pattern; Strategy pattern; Singleton pattern; Template pattern
- Adaptor patternFacade pattern; Flyweight pattern; Command pattern; Abstract factory; Registry pattern; State pattern; Summary; Chapter 6: Test-Driven Development; Mock for tests; Parameterization; Creating custom test runners; Testing threaded applications; Running test cases in parallel; Summary; Chapter 7: Optimization Techniques; Writing optimized code; Profiling to find bottlenecks; Using fast libraries; Using C speeds; SWIG; CFFI; Cython; Summary; Chapter 8: Scaling Python; Going multithreaded; Using multiple processes; Going asynchronous; Scaling horizontally; Summary; Index
- Notes:
- Includes index.
- Description based on online resource; title from PDF title page (ebrary, viewed July 7, 2016).
- ISBN:
- 9781785881312
- 1785881310
- OCLC:
- 1491308298
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.