Miss the Campaign but still want the book?
If you already know the basics of Python and now you want to go to the next level, then this is the book for you! This book is for intermediate level Python programmers only. There won't be any beginner chapters here.
Note: This book will be covering Python 3 (specifically 3.5 or newer)
The book will be broken up into four parts. Here's how:
Part I - Intermediate Modules
- Chapter 1 - The argparse module
- Chapter 2 - The collections module
- Chapter 3 - The contextlib module (Context Managers)
- Chapter 4 - The functools module (Function overloading, caching, etc)
- Chapter 5 - All about imports
- Chapter 6 - The importlib module
- Chapter 7 - The itertools module
- Chapter 8 - The re module (An Intro to Regex in Python)
- Chapter 9 - The typing module (Type Hinting)
Part II - Odds and Ends
- Chapter 10 - generators / iterators
- Chapter 11 - map, filter, reduce
- Chapter 12 - unicode
- Chapter 13 - benchmarking
- Chapter 14 - encryption
- Chapter 15 - Connecting to databases
- Chapter 16 - super
- Chapter 17 - descriptors (magic methods)
- Chapter 18 - Scope (local, global and the new non_local)
Part III - Web
- Chapter 19 - Web scraping
- Chapter 20 - Working with web APIs
- Chapter 21 - ftplib
- Chapter 22 - urllib / httplib (client / server)
Part IV - Testing
- Chapter 23 - Doctest
- Chapter 24 - unittest
- Chapter 25 - mock
- Chapter 26 - coverage.py
Stretch Goal #1 - $10,000 (Accomplished!)
If we hit stretch goal #1, I'll add the following topics
- scope in Python (global, local and the new non_local)
- all about importing and importlib
- asyncio / async / await
- descriptors (magic methods)
- Type hinting
This book will be written using my original blogging style. What this means is that the chapters will probably be shorter than most programming books (i.e. less than 20 in most cases). However, the topics in this book will take more explanation then my last book, so the chapters will likely be longer than those in Python 101 most of the time.
However, I still follow the rule of giving simple examples paired with simple explanations instead of spending an inordinate amount of time re-explaining the same subject over and over.
Note: Some topics may take more than one chapter to cover. Also some topics will get a chapter + a screencast because it may be easier to explain that topic visually then just in written form. For example, creating a simple client / server would probably benefit from getting a screencast.
Who should read this book?
This book is for people who already know a little Python and don't need any hand-holding through the basics.
What's the money for?
ISBNs cost money, especially if you have multiple formats of the book (paperback, PDF, mobi, etc). I would also like to hire an illustrator to create an alternate cover for the book. It will also cover the initial print run of the book for the backers. Finally, I'd like to actually do a little advertising for the book. I'm looking forward to working with my backers to make the best Python book possible!
About the Author
I'm a professional full time Python programmer by day and Python blogger by night. I've been programming almost exclusively in Python for almost 10 years. I co-authored Core Python for DZone. I also ran a successful campaign for my first book, Python 101, which you can read more about here
The finished book will be made available in the following formats:
Risks and challenges
I'm still working full time and now I have a daughter too, so balancing family life with work plus writing a book will make things challenging. However, I am committed to getting the book finished on time. If a setback arises, I will let all my backers know as soon as I can.
I've done this before and I am confident I can do it again.Learn about accountability on Kickstarter
- (30 days)