obspy.core.util.base
Base utilities and constants for ObsPy.
- copyright:
The ObsPy Development Team (devs@obspy.org)
- license:
GNU Lesser General Public License, Version 3 (https://www.gnu.org/copyleft/lesser.html)
Public Functions
Creates an NumPy array depending on the given data type and fill value. |
|
Helper function to download a potentially large file. |
|
Return a file-like object streaming bytes data ( |
|
Get version information of a dependency package. |
|
Function to find the absolute path of a data file |
|
Get the directory of the current script file. |
|
Return a file-like object streaming text data ( |
|
Returns a markdown formatted table with read waveform plugins to insert in docstrings. |
|
Context manager to read bytes data stream from the argument, e.g.: |
|
Context manager releasing a text data stream from the argument, e.g.: |
|
Adapted from Django's slugify functions. |
Private Functions
Warning
Private functions are mainly for internal/developer use and their API might change without notice.
A function to populate the docstring of func with its plugin table. |
|
Specifies deprecated command-line arguments to scripts |
|
Gets a dictionary of all available plug-ins of a group or subgroup. |
|
A "automagic" function searching a given dict of entry points for a valid entry point and returns the function call. |
|
Gets a ordered dictionary of all available plug-ins of a group or subgroup. |
|
Reads a single file from a plug-in's readFormat function. |
Classes
Simple base class that implements == and != based on self.__dict__ |
|
Weak replacement for the Python's tempfile.TemporaryFile. |