Created
August 14, 2020 06:03
-
-
Save MartinThoma/cd7b73685b8f27fb43f9759de86b9ffd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_meta_numpydoc(filepath, a_number, a_dict): | |
""" | |
Get meta-information of an image. | |
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo | |
ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis | |
parturient montes, nascetur ridiculus mus. | |
Parameters | |
---------- | |
filepath : str | |
Get metadata from this file | |
a_number : int | |
Some more details | |
a_dict : dict | |
Configuration | |
Returns | |
------- | |
meta : dict | |
Extracted meta information | |
Raises | |
------ | |
IOError | |
File could not be read | |
""" | |
def get_meta_google_doc(filepath, a_number, a_dict): | |
"""Get meta-information of an image. | |
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo | |
ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis | |
parturient montes, nascetur ridiculus mus. | |
Args: | |
filepath: Get metadata from this file. | |
a_number: Some more details. | |
a_dict: Configuration. | |
Returns: | |
Extracted meta information: | |
Raises: | |
IOError: File could not be read. | |
""" | |
def get_meta_sphinx_doc(filepath, a_number, a_dict): | |
""" | |
Get meta-information of an image. | |
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo | |
ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis | |
parturient montes, nascetur ridiculus mus. | |
:param filepath: Get metadata from this file | |
:type filepath: str | |
:param a_number: Some more details | |
:type a_number: int | |
:param a_dict: Configuration | |
:type a_dict: dict | |
:returns: dict -- Extracted meta information | |
:raises: IOError | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment