generate_f2pymod

wield.control.lapack.generate_f2pymod

Process f2py template files (filename.pyf.src -> filename.pyf)

Usage: python generate_pyf.py filename.pyf.src -o filename.pyf

Functions

conv(astr)

expand_sub(substr, names)

find_and_remove_repl_patterns(astr)

find_repl_patterns(astr)

main()

parse_structure(astr)

Return a list of tuples for each function or subroutine each tuple is the start and end of a subroutine or function to be expanded.

process_file(source)

process_str(allstr)

resolve_includes(source)

unique_key(adict)

Obtain a unique key given a dictionary.

Details

conv(astr)[source][github]
expand_sub(substr, names)[source][github]
find_and_remove_repl_patterns(astr)[source][github]
find_repl_patterns(astr)[source][github]
main()[source][github]
parse_structure(astr)[source][github]

Return a list of tuples for each function or subroutine each tuple is the start and end of a subroutine or function to be expanded.

process_file(source)[source][github]
process_str(allstr)[source][github]
resolve_includes(source)[source][github]
unique_key(adict)[source][github]

Obtain a unique key given a dictionary.