How to use the rioxarray.__version__ function in rioxarray

To help you get started, we’ve selected a few rioxarray examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github corteva / rioxarray / docs / conf.py View on Github external
# The master toctree document.
master_doc = "index"

# General information about the project.
project = "rioxarray"
copyright = "2019, rioxarray Contributors"
author = "rioxarray Contributors"

# The version info for the project you're documenting, acts as replacement
# for |version| and |release|, also used in various other places throughout
# the built documents.
#
# The short X.Y version.
version = rioxarray.__version__
# The full version, including alpha/beta/rc tags.
release = rioxarray.__version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This patterns also effect to html_static_path and html_extra_path
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "examples/.ipynb_checkpoints"]

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = "sphinx"
github corteva / rioxarray / docs / conf.py View on Github external
source_suffix = ".rst"

# The master toctree document.
master_doc = "index"

# General information about the project.
project = "rioxarray"
copyright = "2019, rioxarray Contributors"
author = "rioxarray Contributors"

# The version info for the project you're documenting, acts as replacement
# for |version| and |release|, also used in various other places throughout
# the built documents.
#
# The short X.Y version.
version = rioxarray.__version__
# The full version, including alpha/beta/rc tags.
release = rioxarray.__version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This patterns also effect to html_static_path and html_extra_path
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "examples/.ipynb_checkpoints"]

# The name of the Pygments (syntax highlighting) style to use.
github corteva / rioxarray / rioxarray / _show_versions.py View on Github external
def show_versions():
    """
    .. versionadded:: 0.0.26

    Print useful debugging information

    Example
    -------
    > python -c "import rioxarray; rioxarray.show_versions()"

    """
    import rioxarray

    print(f"rioxarray ({rioxarray.__version__}) deps:")
    _print_info_dict(_get_main_info())
    print("\nOther python deps:")
    _print_info_dict(_get_deps_info())
    print("\nSystem:")
    _print_info_dict(_get_sys_info())