Cargando…

Robust Python.

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Viafore, Patrick
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Sebastopol : O'Reilly Media, Incorporated, 2021.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)

MARC

LEADER 00000cam a2200000Mi 4500
001 OR_on1260343494
003 OCoLC
005 20231017213018.0
006 m o d
007 cr cnu---unuuu
008 210717s2021 xx o ||| 0 eng d
040 |a EBLCP  |b eng  |e rda  |c EBLCP  |d YDX  |d OCLCO  |d TEFOD  |d OCLCF  |d N$T  |d OCLCO  |d K6U  |d OCLCQ  |d OCLCO 
019 |a 1260240879  |a 1265320757 
020 |a 1098100638  |q electronic book 
020 |a 9781098100612  |q (electronic bk.) 
020 |a 1098100611  |q (electronic bk.) 
020 |a 9781098100636  |q (electronic bk.) 
020 |z 1098100662 
020 |z 9781098100667 
029 1 |a AU@  |b 000069670574 
035 |a (OCoLC)1260343494  |z (OCoLC)1260240879  |z (OCoLC)1265320757 
037 |a 3EC6563C-EB94-4C55-949C-5617CCB53B34  |b OverDrive, Inc.  |n http://www.overdrive.com 
050 4 |a QA76.73.P98  |b V53 2021 
082 0 4 |a 005.133  |2 23 
049 |a UAMI 
100 1 |a Viafore, Patrick. 
245 1 0 |a Robust Python. 
260 |a Sebastopol :  |b O'Reilly Media, Incorporated,  |c 2021. 
300 |a 1 online resource (381 p.) 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
505 0 |a Intro -- Copyright -- Table of Contents -- Preface -- Who Should Read This Book -- About This Book -- Conventions Used in This Book -- Using Code Examples -- O'Reilly Online Learning -- How to Contact Us -- Acknowledgments -- Chapter 1. Introduction to Robust Python -- Robustness -- Why Does Robustness Matter? -- What's Your Intent? -- Asynchronous Communication -- Examples of Intent in Python -- Collections -- Iteration -- Law of Least Surprise -- Closing Thoughts -- Part I. Annotating Your Code with Types -- Chapter 2. Introduction to Python Types -- What's in a Type? 
505 8 |a Mechanical Representation -- Semantic Representation -- Typing Systems -- Strong Versus Weak -- Dynamic Versus Static -- Duck Typing -- Closing Thoughts -- Chapter 3. Type Annotations -- What Are Type Annotations? -- Benefits of Type Annotations -- Autocomplete -- Typecheckers -- Exercise: Spot the Bug -- When to Use Type Annotations -- Closing Thoughts -- Chapter 4. Constraining Types -- Optional Type -- Union Types -- Product and Sum Types -- Literal Types -- Annotated Types -- NewType -- Final Types -- Closing Thoughts -- Chapter 5. Collection Types -- Annotating Collections 
505 8 |a Homogeneous Versus Heterogeneous Collections -- TypedDict -- Creating New Collections -- Generics -- Modifying Existing Types -- As Easy as ABC -- Closing Thoughts -- Chapter 6. Customizing Your Typechecker -- Configuring Your Typechecker -- Configuring mypy -- Mypy Reporting -- Speeding Up mypy -- Alternative Typecheckers -- Pyre -- Pyright -- Closing Thoughts -- Chapter 7. Adopting Typechecking Practically -- Trade-offs -- Breaking Even Earlier -- Find Your Pain Points -- Target Code Strategically -- Lean on Your Tooling -- Closing Thoughts -- Part II. Defining Your Own Types 
505 8 |a Chapter 8. User-Defined Types: Enums -- User-Defined Types -- Enumerations -- Enum -- When Not to Use -- Advanced Usage -- Automatic Values -- Flags -- Integer Conversion -- Unique -- Closing Thoughts -- Chapter 9. User-Defined Types: Data Classes -- Data Classes in Action -- Usage -- String Conversion -- Equality -- Relational Comparison -- Immutability -- Comparison to Other Types -- Data Classes Versus Dictionaries -- Data Classes Versus TypedDict -- Data Classes Versus namedtuple -- Closing Thoughts -- Chapter 10. User-Defined Types: Classes -- Class Anatomy -- Constructors -- Invariants 
505 8 |a Avoiding Broken Invariants -- Why Are Invariants Beneficial? -- Communicating Invariants -- Consuming Your Class -- What About Maintainers? -- Encapsulation and Maintaining Invariants -- Encapsul-what, Now? -- Protecting Data Access -- Operations -- Closing Thoughts -- Chapter 11. Defining Your Interfaces -- Natural Interface Design -- Thinking Like a User -- Natural Interactions -- Natural Interfaces in Action -- Magic Methods -- Context Managers -- Closing Thoughts -- Chapter 12. Subtyping -- Inheritance -- Substitutability -- Design Considerations -- Composition -- Closing Thoughts 
500 |a Chapter 13. Protocols. 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
650 0 |a Python (Computer program language) 
650 6 |a Python (Langage de programmation) 
650 7 |a Python (Computer program language)  |2 fast 
776 0 8 |i Print version:  |a Viafore, Patrick  |t Robust Python  |d Sebastopol : O'Reilly Media, Incorporated,c2021  |z 9781098100667 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781098100650/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
938 |a ProQuest Ebook Central  |b EBLB  |n EBL6676448 
938 |a YBP Library Services  |b YANK  |n 17543800 
938 |a EBSCOhost  |b EBSC  |n 2966115 
994 |a 92  |b IZTAP