Tutorials

From DANSE

  • Unit testing and Integration testing: Learn how to program like a Software Engineer, and produce production-quality code. This tutorial demonstrates the basic procedure for building error-free code that both meets the functional requirements for its design and provides a concise foundation for quality assurance.
  • Writing C and C++ extensions for Python: Learn how easy it is to incorporate C or C++ functions into modules that can be imported by Python and run like any other Python code. These ideas will also be essential for programmers adding their FORTRAN codes to Python.
  • Using the build procedure: Learn the essential steps to get your code to utilize the build procedure. The build procedure allows your code to be painlessly compiled on any platform, then places the compiled code in appropriate directories on your PATH that allow the code to be run from any location.
  • Building a Pyre component: Learn how to convert your code to a Pyre component. This tutorial provides the basic understanding of the most commonly used portions of the Pyre framework for creating components (or applications).
  • Using automated binding tools with the build procedure: Under construction Learn how to integrate code C, C++, or FORTRAN codes that have been bound with a tool like swig or f2py. A case study is presented for an example package written in python, C++, and FORTRAN. The use of an automated binding tool is not the preferred method for binding code to python, however it is useful if writing the extensions by hand becomes too tedious.
  • Using Doxygen and epydoc: Under construction Automatic documentation generators are getting pretty good. Get up and running fast with a few examples of comments in your code, formatted to be picked up by two popular document generators, and get pointed to more in depth documentation.
Personal tools
Document Uploads/Links