Refactoring a Python script into a library called by Python Click CLI

Subscribers:
17,700
Published on ● Video Link: https://www.youtube.com/watch?v=0x261nI5Yws



Duration: 7:50
198 views
4


Learn to refactor a Python script into a library called by Python Click CLI.

Learn to refactor a Python script into a library called by Python Click CLI.
00:00 Intro
00:19 Refactoring to a library
01:44 Installing click
02:23 Importing refactored library
02:36 Building click options
05:04 Formatting code with Python Black and Running Click
06:14 Building conditional logic to print colored output

Read Github Code: https://github.com/noahgift/functions-from-zero2/blob/main/README.md

If you enjoyed this video, here are additional resources to look at:

Coursera + Duke Specialization: Building Cloud Computing Solutions at Scale Specialization: https://www.coursera.org/specializations/building-cloud-computing-solutions-at-scale

Python, Bash, and SQL Essentials for Data Engineering Specialization: https://www.coursera.org/specializations/python-bash-sql-data-engineering-duke

O'Reilly Book: Practical MLOps: https://www.amazon.com/Practical-MLOps-Operationalizing-Machine-Learning/dp/1098103017

O'Reilly Book: Python for DevOps: https://www.amazon.com/gp/product/B082P97LDW/

Pragmatic AI: An Introduction to Cloud-based Machine Learning: https://www.amazon.com/gp/product/B07FB8F8QP/

Pragmatic AI Labs Book: Python Command-Line Tools: https://www.amazon.com/gp/product/B0855FSFYZ

Pragmatic AI Labs Book: Cloud Computing for Data Analysis: https://www.amazon.com/gp/product/B0992BN7W8


Pragmatic AI Book: Minimal Python: https://www.amazon.com/gp/product/B0855NSRR7

Pragmatic AI Book: Testing in Python: https://www.amazon.com/gp/product/B0855NSRR7

Subscribe to Pragmatic AI Labs YouTube Channel: https://www.youtube.com/channel/UCNDfiL0D1LUeKWAkRE1xO5Q

View content on noahgift.com: https://noahgift.com/

View content on Pragmatic AI Labs Website: https://paiml.com/