Python Unlocked

Become more fluent in Python—learn strategies and techniques for smart and high-performance Python programming
Preview in Mapt

Python Unlocked

Arun Tigeraniya

1 customer reviews
Become more fluent in Python—learn strategies and techniques for smart and high-performance Python programming

Quick links: > What will you learn?> Table of content> Product reviews

eBook
$5.00
RRP $31.99
Save 84%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$5.00
$39.99
RRP $31.99
RRP $39.99
eBook
Print + eBook

Frequently bought together


Python Unlocked Book Cover
Python Unlocked
$ 31.99
$ 5.00
Expert Python Programming - Second Edition Book Cover
Expert Python Programming - Second Edition
$ 35.99
$ 5.00
Buy 2 for $10.00
Save $57.98
Add to Cart

Book Details

ISBN 139781785885990
Paperback172 pages

Book Description

Python 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.

Table of Contents

Chapter 1: Objects in Depth
Understanding objects
Making calls to objects
How objects are created
Playing with attributes
Summary
Chapter 2: Namespaces and Classes
How referencing objects work – namespaces
Functions with state – closures
Understanding import and modules
Class inheritance
Using language protocols in classes
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
Algorithms on scale
Summary
Chapter 5: Elegance with Design Patterns
Observer pattern
Strategy pattern
Singleton pattern
Template pattern
Adaptor pattern
Facade 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
Summary
Chapter 8: Scaling Python
Going multithreaded
Using multiple processes
Going asynchronous
Scaling horizontally
Summary

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 applications

Authors

Table of Contents

Chapter 1: Objects in Depth
Understanding objects
Making calls to objects
How objects are created
Playing with attributes
Summary
Chapter 2: Namespaces and Classes
How referencing objects work – namespaces
Functions with state – closures
Understanding import and modules
Class inheritance
Using language protocols in classes
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
Algorithms on scale
Summary
Chapter 5: Elegance with Design Patterns
Observer pattern
Strategy pattern
Singleton pattern
Template pattern
Adaptor pattern
Facade 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
Summary
Chapter 8: Scaling Python
Going multithreaded
Using multiple processes
Going asynchronous
Scaling horizontally
Summary

Book Details

ISBN 139781785885990
Paperback172 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Expert Python Programming - Second Edition Book Cover
Expert Python Programming - Second Edition
$ 35.99
$ 5.00
Automate it! - Recipes to upskill your business Book Cover
Automate it! - Recipes to upskill your business
$ 31.99
$ 5.00
Software Architecture with Python Book Cover
Software Architecture with Python
$ 39.99
$ 5.00
Modern Python Cookbook Book Cover
Modern Python Cookbook
$ 39.99
$ 5.00
Learning Python Application Development Book Cover
Learning Python Application Development
$ 35.99
$ 5.00
Learning Python Design Patterns - Second Edition Book Cover
Learning Python Design Patterns - Second Edition
$ 31.99
$ 5.00