Python Command Line Tools
Python Command Line Tools
$29.99
Minimum price
$39.99
Suggested price
Python Command Line Tools

This book is 100% complete

Completed on 2020-06-26

About the Book

This book will teach you to master the ultimate UI, the command-line, using the powerful Click Framework in Python.

About the Authors

Noah Gift
Noah Gift

Noah Gift lectures at MSDS, at Northwestern, Duke MIDS Graduate Data Science Program, and the Graduate Data Science program at UC Berkeley and the UC Davis Graduate School of Management MSBA program, and UNC Charlotte Data Science Initiative. He is teaching and designing graduate machine learning, A.I., Data Science courses, and consulting on Machine Learning and Cloud Architecture for students and faculty. These responsibilities include leading a multi-cloud certification initiative for students. 

Noah is a Python Software Foundation Fellow.  He currently holds the following industry certifications for AWS:  AWS Subject Matter Expert (SME) on Machine LearningAWS Certified Solutions Architect, and AWS Certified Machine Learning SpecialistAWS Certified Big Data Specialist, AWS Academy Accredited Instructor, AWS Faculty Ambassador.  He also is certified on both the Google and Azure platform: Google Certified Professional Cloud ArchitectCertified Microsoft MTA on Python. He has published over 100 technical publications including multiple books on subjects ranging from Cloud Machine Learning to DevOps. Publications appear in Forbes, IBM, Red Hat, Microsoft, O'Reilly, Pearson, Udacity, Coursera, datascience.com, and DataCamp. Workshops and Talks around the world for organizations including NASA, PayPal, PyCon, Strata, O'Reilly Software Architecture Conference, and FooCamp. As an SME on Machine Learning for AWS, he helped created the AWS Machine Learning certification.

He has worked in roles ranging from CTO, General Manager, Consulting CTO, Consulting Chief Data Scientist, and Cloud Architect. This experience has been with a wide variety of companies: ABC, Caltech, Sony Imageworks, Disney Feature Animation, Weta Digital, AT&T, Turner Studios, and Linden Lab, and industries: Television, Film, Games, SaaS, Sports, Telecommunications. He has film credits in many major motion pictures for technical work, including Avatar, Spider-Man 3, and Superman Returns.

He has been responsible for shipping many new products at multiple companies that generated millions of dollars of revenue and had a global scale. Currently, he is consulting startups and other companies, on Machine Learning, Cloud Architecture, and CTO level consulting as the founder of Pragmatic A.I. Labs.

His most recent books are:

His most recent video courses are:

His most recent online courses are:

You can follow Noah Gift on social media and on the web at:

Alfredo Deza
Alfredo Deza

Alfredo Deza is a passionate software engineer, avid open source developer, Vim plugin author, photographer, and former Olympic athlete. He has given several lectures around the world about Open Source Software, personal development, and professional sports. He has rebuilt company infrastructure, designed shared storage, and replaced complex build systems, always in search of efficient and resilient environments. With a strong belief in testing and documentation, he continues to drive robust development practices wherever he is.

As a spirited knowledge-craving developer Alfredo can be found giving presentations in local groups about Python, file systems and storage, system administration, and professional sports.

His most recent publication is Python For DevOps (O'reilly), and you can follow him on LinkedIn.

Bundles that include this book

Minimal Python
Python Command Line Tools
Testing  in Python
Cloud Computing for Data Analysis
$189.97
Suggested Price
$70.00
Bundle Price
Minimal Python
Python Command Line Tools
Red Yellow Green:  What Color is Your Money?
Testing  in Python
Cloud Computing for Data Analysis
5 Books
$229.96
Suggested Price
$125.00
Bundle Price

Table of Contents

  • Introduction
  • Chapter 1: Getting Started with Click
    • What is wrong with the alternatives
    • A helpful Hello World
    • Map a function to a command
  • Chapter 2: Test with Click
    • Test a small click app
  • Chapter 3: Understand IPython
    • Using IPython, Jupyter, Colab and Python executable
  • Chapter 4: Integrating Linux Commands with Click
    • Understand subprocess
    • Parsing Results
    • Shell Safety
  • Chapter 5: Writing pure Bash or ZSH command-line tools
    • Understanding environmental variables
    • Understand shell profiles
    • Write Shell functions
  • Chapter 6: Use Advanced Click Features
    • Subcommands
    • Utilities
  • Chapter 7: Turbocharging Click
    • Using The Numba JIT (Just in time Compiler)
    • Running True Multi-Core Multithreaded Python using Numba
  • Chapter 8: Integrate Click with the Cloud
    • Cloud Developer Workflow
    • Using Cloud-based development environments
    • Build a Computer Vision Tool with AWS Boto3
  • Chapter 9: Case Studies
    • Distribute a containerized click application to DockerHub
    • Converting a Command-line tool to a Web Service
    • Documenting your Project with Sphinx
  • Chapter 10: Command-line Rosetta Stone
    • R Hello World
    • Bash Hello World
    • Go Hello World
    • Node Hello World
    • Multi-paradigm Node.js
    • Python Hello World

Authors have earned$9,095,176writing, publishing and selling on Leanpub,
earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub