Programming examples, code snippets, software templates.
External examples:
- hello_world
- Demonstrate module initialization and finalization, compilation, loading, removing.
- classes
- Defining classes.
- inheritance
- Inheritance between classes.
- overload
- Overload classes methods.
- template
- Operate on generic types with templates.
- pickle_basic.py
- Basic example for (de)serializing a Python object.
- cli_click.py
- Basic example for generating a CLI using Click.
- myservice_oneshot.service
- Execute a command at startup.
- myservice_fork.service
- Start a daemon at startup.
- patcher
- Example of Makefile used as patching interface for experiment reproduction.
- dir-locals
- Define arbitrary variables and functions in a project.
- pull-request
- Test a package branch for issues and pull-requests.