This is source code that is either used in the presentation, or was developed to create it. There is some material not covered in the presentation as well.
- Python version: at least 3.6
- Packages (names listed that can be used with
pip
orconda
to install):- jinja2
- jupyter
- matplotlib
- numpy
- paramiko
- psutil
- python=3.7.5
- sh
application
: illustration of how to combineconfigparser
andargparse
.cmd
: illustration of how to create a repl application.code-evaluation
: illustrates how to evaluate a string containing Python code at runtime.command-Line-args
: illustration of how to use the argparse and the click module to handle command line arguments.config-parser
: illustrates how to use the ConfigParser module to handle configuration files.data-formats
: illustrates how to deal with data formats such as CSV files, binary data and XML.directory-entrypoint
: illustrates how to define an application entry point in a directory.enviroment-variables
: illustrates how to use environment variables to set paths in a script.hydra
: Facebook Hydra application framework illustration.jinja
: illustration of how to use the jinja2 template library.logging
: illustration of Python's logging facilities.file-system
: illustrations of interacting with the operating system and the file system.paramiko
: a few examples of using the Paramiko library for SSH to remote hosts.processes
: examples of how to work with processes.sched
: scheduled execution of functions in Python.subprocess
: illustrates executing a shell command from a Python script using thesubprocess
module.xml-generator
: code to generate a random XML documents.fastapi
: simple illustrations of using FastAPI for webservices.