razorback.data module
helper functions to handle data shipped with the package
- razorback.data.data_path(target)
returns the path to the data directory
- razorback.data.default_data_path(target)
returns the default (internal) path to the data directory
- razorback.data.get_data_file(filename, dirname)
returns valid path to data file
Raises ValueError if not found.
- It seeks for a file names filename in different locations (in that order):
1/ data_path(dirname) 2/ default_data_path(dirname)
- razorback.data.local_data_path(target)
returns the local path to the data directory