Functional Python Programming Use a functional approach to write succinct, expressive, and efficient Python code

Python isn’t all about object-oriented programming. Discover a valuable way of thinking about code design through a function-first approach – and learn when you need to use it. Now with detailed exercises at the end of every chapter! Purchase of the print or Kindle book includes a free eBook in PDF...

Full description

Saved in:
Bibliographic Details
Main Author: Lott, Steven F
Format: eBook
Language:English
Published: Packt Publishing 2022
Edition:Third edition
Subjects:
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Abstract Python isn’t all about object-oriented programming. Discover a valuable way of thinking about code design through a function-first approach – and learn when you need to use it. Now with detailed exercises at the end of every chapter! Purchase of the print or Kindle book includes a free eBook in PDF format. Key Features Learn how, when, and why to adopt functional elements in your projectsExplore the Python modules essential to functional programming, like itertools and functoolsRevised to cover new features of Python 3.10, exercises at the end of every chapter, and more Book Description Not enough developers understand the benefits of functional programming, or even what it is. Author Steven Lott demystifies the approach, teaching you how to improve the way you code in Python and make gains in memory use and performance. Starting from the fundamentals, this book shows you how to apply functional thinking and techniques in a range of scenarios, with examples centered around data cleaning and exploratory data analysis. You’ll learn how to use generator expressions, list comprehensions, and decorators to your advantage. You don’t have to abandon object-oriented design completely, though – you’ll also see how Python’s native object-orientation is used in conjunction with functional programming techniques. By the end of this book, you’ll be well versed in the essential functional programming features of Python, and understand why and when functional thinking helps. You’ll also have all the tools you need to pursue any additional functional topics that are not part of the Python language. What you will learn Use Python’s libraries to avoid the complexities of state-changing classesLeverage built-in higher-order functions to avoid rewriting common algorithmsWrite generator functions to create lazy processingDesign and implement decorators for functional compositionMake use of Python type annotations to describe parameters and results of functionsApply functional programming to concurrency and web servicesExplore the PyMonad library for stateful simulations Who this book is for The functional paradigm is very useful for programmers working in data science, but any Python developer who wants to create more reliable, succinct, and expressive code will have much to learn from this book. No prior knowledge of functional programming is required to get started, though Python programming knowledge is assumed. A running Python environment is essential.
AbstractList This book demonstrates how to implement common functional programming design patterns and techniques in Python.Key FeaturesLearn how, when, and why to adopt functional elements in your projectsExplore the Python modules essential to functional programming, like itertools and functoolsRevised to cover new features of Python 3.10, exercises at the end of every chapter, and moreBook DescriptionNot enough developers understand the benefits of functional programming, or even what it is. Author Steven Lott demystifies the approach, teaching you how to improve the way you code in Python and make gains in memory use and performance.Starting from the fundamentals, this book shows you how to apply functional thinking and techniques in a range of scenarios, with examples centered around data cleaning and exploratory data analysis. You'll learn how to use generator expressions, list comprehensions, and decorators to your advantage. You don't have to abandon object-oriented design completely, though - you'll also see how Python's native object-orientation is used in conjunction with functional programming techniques.By the end of this book, you'll be well versed in the essential functional programming features of Python, and understand why and when functional thinking helps. You'll also have all the tools you need to pursue any additional functional topics that are not part of the Python language.What you will learnUse Python's libraries to avoid the complexities of state-changing classesLeverage built-in higher-order functions to avoid rewriting common algorithmsWrite generator functions to create lazy processingDesign and implement decorators for functional compositionMake use of Python type annotations to describe parameters and results of functionsApply functional programming to concurrency and web servicesExplore the PyMonad library for stateful simulationsWho This Book Is ForThe functional paradigm is very useful for programmers working in data science, but any Python developer who wants to create more reliable, succinct, and expressive code will have much to learn from this book.No prior knowledge of functional programming is required to get started, though Python programming knowledge is assumed. A running Python environment is essential.Table of ContentsUnderstanding Functional ProgrammingIntroducing Essential Functional ConceptsWriting Functions, Iterators, and GeneratorsA Functional Approach to Working with CollectionsWriting Higher-Order FunctionsDefining using Recursion and Defining Reduction FunctionsAdditional Techniques for Immutable DataUsing the Itertools ModuleMore Itertools TechniquesUsing the Functools ModuleUsing the Operator ModuleDesigning Decorators for Functional CompositionUsing the PyMonad LibraryA Functional Approach to Multiprocessing, Threading, and AsyncioA Functional Design for Web ServicesOptimizations and Improvements
Python isn’t all about object-oriented programming. Discover a valuable way of thinking about code design through a function-first approach – and learn when you need to use it. Now with detailed exercises at the end of every chapter! Purchase of the print or Kindle book includes a free eBook in PDF format. Key Features Learn how, when, and why to adopt functional elements in your projectsExplore the Python modules essential to functional programming, like itertools and functoolsRevised to cover new features of Python 3.10, exercises at the end of every chapter, and more Book Description Not enough developers understand the benefits of functional programming, or even what it is. Author Steven Lott demystifies the approach, teaching you how to improve the way you code in Python and make gains in memory use and performance. Starting from the fundamentals, this book shows you how to apply functional thinking and techniques in a range of scenarios, with examples centered around data cleaning and exploratory data analysis. You’ll learn how to use generator expressions, list comprehensions, and decorators to your advantage. You don’t have to abandon object-oriented design completely, though – you’ll also see how Python’s native object-orientation is used in conjunction with functional programming techniques. By the end of this book, you’ll be well versed in the essential functional programming features of Python, and understand why and when functional thinking helps. You’ll also have all the tools you need to pursue any additional functional topics that are not part of the Python language. What you will learn Use Python’s libraries to avoid the complexities of state-changing classesLeverage built-in higher-order functions to avoid rewriting common algorithmsWrite generator functions to create lazy processingDesign and implement decorators for functional compositionMake use of Python type annotations to describe parameters and results of functionsApply functional programming to concurrency and web servicesExplore the PyMonad library for stateful simulations Who this book is for The functional paradigm is very useful for programmers working in data science, but any Python developer who wants to create more reliable, succinct, and expressive code will have much to learn from this book. No prior knowledge of functional programming is required to get started, though Python programming knowledge is assumed. A running Python environment is essential.
Author Lott, Steven F
Author_xml – sequence: 1
  givenname: Steven F
  surname: Lott
  fullname: Lott, Steven F
BookMark eNo9j01LAzEURSNY0H78AUHo1sXAe0kn87KUYlUo2IWuh5dM0o6dJtCMiv_egZFu7t0c7uFOxXVM0V-JKRIoqXSp9Y1Y5PwJAJLQAMlbcb_5iq5vU-RuufvtDykud-e0P_Pp1Mb9XEwCd9kv_nsmPjZP7-uXYvv2_Lp-3BZMK9JFiSWxM2wHC_gqDEIIYTWkY--qJqAlNgHRWN1I1LIxhtA7YLCOZFAz8TDucj76n3xIXZ_r787blI65NhVdLtDA3o1s672vRwIBtUIy6g-vzEQJ
ContentType eBook
Contributor Bánffy, Ricardo
Contributor_xml – sequence: 2
  givenname: Ricardo
  surname: Bánffy
  fullname: Bánffy, Ricardo
Copyright 2022 Packt Publishing
Copyright_xml – notice: 2022 Packt Publishing
DEWEY 005.133
DatabaseTitleList

DeliveryMethod fulltext_linktorsrc
Discipline Computer Science
EISBN 1803236566
9781803236568
Edition Third edition
ExternalDocumentID 9781803236568
10163189
GroupedDBID 38.
AABBV
AAZEP
ABMRC
ACBYE
ACXXF
AEIUR
AHWGJ
ALMA_UNASSIGNED_HOLDINGS
BBABE
BPBUR
CZZ
EBSCA
ECNEQ
IIUVB
K-E
QD8
TD3
ID FETCH-LOGICAL-a8486-5158ac9ab2360e7f1800ff4800caec7df1b8a9f119b6d2162d9981ec0a0bc82f3
IngestDate Mon Sep 22 05:01:09 EDT 2025
Thu Sep 11 05:52:08 EDT 2025
IsPeerReviewed false
IsScholarly false
Language English
LinkModel OpenURL
MergedId FETCHMERGED-LOGICAL-a8486-5158ac9ab2360e7f1800ff4800caec7df1b8a9f119b6d2162d9981ec0a0bc82f3
PageCount 0
ParticipantIDs askewsholts_vlebooks_9781803236568
ieee_books_10163189
PublicationCentury 2000
PublicationDate 2022
2022-12-27
PublicationDateYYYYMMDD 2022-01-01
2022-12-27
PublicationDate_xml – year: 2022
  text: 2022
PublicationDecade 2020
PublicationYear 2022
Publisher Packt Publishing
Publisher_xml – name: Packt Publishing
SSID ssj0002819082
Score 2.3204267
Snippet Python isn’t all about object-oriented programming. Discover a valuable way of thinking about code design through a function-first approach – and learn when...
This book demonstrates how to implement common functional programming design patterns and techniques in Python.Key FeaturesLearn how, when, and why to adopt...
SourceID askewsholts
ieee
SourceType Aggregation Database
Publisher
SubjectTerms Computing and Processing
Functional programming (Computer science)
Python (Computer program language)
Subtitle Use a functional approach to write succinct, expressive, and efficient Python code
TableOfContents Table of Contents Understanding Functional ProgrammingIntroducing Essential Functional ConceptsFunctions, Iterators, and GeneratorsWorking with CollectionsHigher-Order FunctionsRecursions and ReductionsComplex Stateless ObjectsThe Itertools ModuleItertools for Combinatorics – Permutations and CombinationsThe Functools ModuleThe Toolz PackageDecorator Design TechniquesThe PyMonad LibraryThe Multiprocessing, Threading, and Concurrent.Futures ModulesA Functional Approach to Web ServicesBonus Online Chapter
Title Functional Python Programming
URI https://ieeexplore.ieee.org/servlet/opac?bknumber=10163189
https://www.vlebooks.com/vleweb/product/openreader?id=none&isbn=9781803236568
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwtR1dS8Mw8NTNB31Rp-LUSRFfA22SrcmzKIIy9jBlbyNJE5DNqmsd89976dp94YsPvhztFUrvjt735QBuqPZriowhTPKEcG44UdwakiituTCCJ0Uq--Up7nbFYCB721uf1SzMdBynqZjN5Me_ihpxKGw_OvsHcS9eigi8RqEjRLEj3PCIF7flIiI0UWVmr_ftjwTwUwC--eqtMk--8aZs0JhvMyv7esuon9KNqL-nzChfyVStRYWRCBll6KiJpZJftN75aB3_Y7kDdV909fHqI1mmpXxdLfSnEu6rbIRqFlVwnq1tnikMb_8Q6tZPYxzBtk0bcFDtoAhKlXQMrSXVwZzqYIXqE3i-v-vfPpBy5QNRgosOQe9KKCOVxu8PbeyQlNA5jtAoa-LERVoo6aJI6k5Cow5NMFyMrAlVqI2gjp1CLX1P7RkEXFLLtA41E5Yn1Cpn2m2tmNMusjEzTbheIXE4HRfV6Wy4xsAmNDzlw_mjinfnv2IvYG8pqUuo5ZMv24JdM81fs8lVweYflT7xQQ
linkProvider Knovel
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.title=Functional+Python+Programming&rft.au=Lott%2C+Steven+F&rft.date=2022-01-01&rft.pub=Packt+Publishing&rft.isbn=9781803236568&rft.externalDocID=10163189
thumbnail_m http://cvtisr.summon.serialssolutions.com/2.0.0/image/custom?url=https%3A%2F%2Fvle.dmmserver.com%2Fmedia%2F640%2F97818032%2F9781803236568.jpg