tradetrack

TradeTrack CLI: Build, Test, and Publish a Python Application


Build a real-world Python command-line app from scratch. Learn CLI design, database integration, testing, and packaging as you create and publish a trade tracking tool for small businesses.

Instructor: Samuel James

Categories: Backend, Intermediate

Course Duration: 142 mins

Sign up to Purchase - $218.19

Course Summary


Overview:
This hands-on course guides learners through the complete development cycle of a real-world Python application—from data modeling and CLI design to testing, automation, and package publishing. Students build TradeTrack, a command-line inventory tracking tool designed for small traders, using modern Python tools and best practices.

Who It's For:
Python learners ready to transition from writing scripts to building structured, maintainable, and distributable applications.

What You'll Learn:

  • 🧱 How to design relational data models using SQLAlchemy

  • ⚙️ Build robust command-line interfaces using Typer

  • 🧪 Apply test-driven development and test business logic with Pytest

  • 📊 Generate coverage reports and automate workflows with Makefiles

  • 📦 Package your app and publish it to TestPyPI or PyPI

Capstone Outcome:
By the end of this course, you’ll have created a fully functional and publishable Python package with a real command-line interface, complete with version control, documentation, tests, and deployment tools—all in line with professional standards.

Course Units


Learn how to design the data layer of your CLI app using SQLAlchemy and SQLite. You'll model real-world entities like products and transactions, laying the foundation for persistent, structured data handling.

You need to purchase this course to watch the videos.

Build a responsive, user-friendly CLI using the Typer library. You'll implement core commands like adding products, recording transactions, and generating reports—complete with input prompts and error handling.

You need to purchase this course to watch the videos.

Learn to write reliable tests using pytest and SQLAlchemy. You'll test core features like product creation, transactions, and inventory logic—ensuring your app works correctly and handles edge cases.

You need to purchase this course to watch the videos.

Automate your testing workflow using Makefile and measure code quality with pytest-cov. You'll generate terminal and HTML coverage reports to ensure your code stays clean and reliable.

You need to purchase this course to watch the videos.

Learn how to package your CLI tool for distribution. You'll configure setup files, define CLI entry points, build your project, and publish it to TestPyPI or PyPI for real-world use.

You need to purchase this course to watch the videos.

Put your Python skills to the test by building a CLI notes app with folder organization. This final project combines everything you’ve learned—CLI design, databases, testing, and packaging—into one real-world tool.

You need to purchase this course to watch the videos.