build details

Show: section status errors & todos local changes recent changes last change in-page changes feedback controls

Python projects

Modified 2019-09-22 by Andrea Censi

Learn how to setup a Python project and associated tools from the perspective of creating a Python library that can be re-used by others.

In this unit we learn how to setup a pure Python project. This is suitable for creating a pure Python library that can be easily reused by others. Later, we will introduce additional complications, such as Docker and ROS. For now, we keep things simple and look at the basics.

Setting up the project structure

Modified 2019-09-22 by Andrea Censi

TODO: Point to a simple repository template with the minimal structure.

previous task next (7 of 40) index
task

The following was marked as "todo".

TODO: Point to a simple repository template with the minimal structure.

Location not known more precisely.

Created by function n/a in module n/a.

Virtual environments using pipenv

Modified 2019-09-22 by Andrea Censi

  • Explain why packages.

  • Explain how PIP works.

  • Explain why to keep different environments isolated.

Unit tests

Modified 2019-09-22 by Andrea Censi

  • Explain why unit tests are necessary.

Running unit tests on the cloud

Modified 2019-09-22 by Andrea Censi

  • Explain what is continuous integration.

Using a code-coverage tool

Modified 2019-09-22 by Andrea Censi

  • Explain why you want to look at code-coverage.