معرفی کتاب «Python unlocked : become more fluent in Python - learn strategies and techniques for smart and high-performance Python programming» نوشتهٔ Tigeraniya, Arun، منتشرشده توسط نشر Packt Publishing در سال 2015. این کتاب در 5 صفحه، فرمت pdf، زبان انگلیسی ارائه شده است. «Python unlocked : become more fluent in Python - learn strategies and techniques for smart and high-performance Python programming» در دستهٔ بدون دستهبندی قرار دارد.
Key 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 effectively Book 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 applications About the Author**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. Table of Contents1. Objects in Depth 2. Namespaces and Classes 3. Functions and Utilities 4. Data Structures and Algorithms 5. Elegance with Design Patterns 6. Test-Driven Development 7. Optimization Techniques 8. Scaling Python
Become more fluent in Python—learn strategies and techniques for smart and high-performance Python programming
About This Book
- 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 effectively
Who This Book Is For
If 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.
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
In Detail
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.
Style and approach
This is book had been created to help you to "unlock" the best ways to tackle the challenges and performance bottlenecks that many Python developers face today. The keys are supported with program examples to help you understand the concepts better and see them in action.
Become more fluent in Python—learn strategies and techniques for smart and high-performance Python programming About This Book • 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 effectively Who This Book Is For If 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. 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 In Detail 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. Style and approach This is book had been created to help you to “unlock” the best ways to tackle the challenges and performance bottlenecks that many Python developers face today. The keys are supported with program examples to help you understand the concepts better and see them in action. Become more fluent in Python{u2014}learn strategies and techniques for smart and high-performance Python programmingAbout This Book 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 effectivelyWho This Book Is For If 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.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 applicationsIn Detail Python is a versatile programming language that can be used for a wide range of technical tasks{u2014}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 {u2013} 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.Style and approach This is book had been created to help you to ?unlock? the best ways to tackle the challenges and performance bottlenecks that many Python developers face today. The keys are supported with program examples to help you understand the concepts better and see them in action 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. 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.