geoapps-utils


Namegeoapps-utils JSON
Version 0.3.0 PyPI version JSON
download
home_pagehttps://www.mirageoscience.com/mining-industry-software/python-integration/
SummaryGeoapps Utils
upload_time2024-06-17 17:49:37
maintainerDominique Fournier
docs_urlNone
authorMira Geoscience
requires_python<3.11,>=3.10
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            |coverage| |maintainability| |precommit_ci| |style| |version| |status| |pyversions|


..
    .. |docs| image:: https://readthedocs.org/projects/geoapps-utils/badge/
        :alt: Documentation Status
        :target: https://geoapps-utils.readthedocs.io/en/latest/?badge=latest

.. |coverage| image:: https://codecov.io/gh/MiraGeoscience/geoapps-utils/graph/badge.svg?token=Z0Q0T1U5LH
    :alt: Code coverage
    :target: https://codecov.io/gh/MiraGeoscience/geoapps-utils

.. |style| image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :alt: Coding style
    :target: https://github.com/pf/black

.. |version| image:: https://img.shields.io/pypi/v/geoapps-utils.svg
    :alt: version on PyPI
    :target: https://pypi.python.org/pypi/geoapps-utils/

.. |status| image:: https://img.shields.io/pypi/status/geoapps-utils.svg
    :alt: version status on PyPI
    :target: https://pypi.python.org/pypi/geoapps-utils/

.. |pyversions| image:: https://img.shields.io/pypi/pyversions/geoapps-utils.svg
    :alt: Python versions
    :target: https://pypi.python.org/pypi/geoapps-utils/

.. |precommit_ci| image:: https://results.pre-commit.ci/badge/github/MiraGeoscience/geoapps-utils/main.svg
    :alt: pre-commit.ci status
    :target: https://results.pre-commit.ci/latest/github/MiraGeoscience/geoapps-utils/main

.. |maintainability| image:: https://api.codeclimate.com/v1/badges/f1aace7a543ba2bf14e4/maintainability
    :alt: Maintainability
    :target: https://codeclimate.com/github/MiraGeoscience/geoapps-utils/maintainability


geoapps-utils
=========================================================================
The **geoapps-utils** package provides utility functions
used by `geoapps <https://github.com/MiraGeoscience/geoapps>`_.

.. contents:: Table of Contents
   :local:
   :depth: 3

..
    Documentation
    ^^^^^^^^^^^^^
    `Online documentation <https://geoapps-utils.readthedocs.io/en/latest/>`_


Installation
^^^^^^^^^^^^
**geoapps-utils** is currently written for Python 3.10 or higher.

Install Conda
-------------

To install **geoapps-utils**, you need to install **Conda** first.

We recommend to install **Conda** using `miniforge`_.

.. _miniforge: https://github.com/conda-forge/miniforge

Within a conda environment
--------------------------

You can install (or update) a conda environment with all the requires packages to run **geoapps-utils**.
To do so you can directly run the **Install_or_Update.bat** file by double left clicking on it.

Install with conda
------------------

You can install the package using ``conda`` and the ``.lock`` files from a conda prompt:

.. code-block:: bash

  conda env create -n my-env -f environments/[the_desired_env].lock.yml

Install with PyPI
-----------------

You should not install the package from PyPI, as the app requires conda packages to run.
Still, you can install it in a conda environment without its dependencies (``--no-deps``).

From PyPI
~~~~~~~~~

To install the **geoapps-utils** package published on PyPI:

.. code-block:: bash

    pip install -U --no-deps geoapps-utils

From a Git tag or branch
~~~~~~~~~~~~~~~~~~~~~~~~
If the package is not on PiPY yet, you can install it from a Git tag:

.. code-block:: bash

    pip install -U --no-deps --force-reinstall https://github.com/MiraGeoscience/geoapps-utils/archive/refs/tags/TAG.zip

Or to install the latest changes available on a given Git branch:

.. code-block:: bash

    pip install -U --no-deps --force-reinstall https://github.com/MiraGeoscience/geoapps-utils/archive/refs/heads/BRANCH.zip

.. note::
    The ``--force-reinstall`` option is used to make sure the updated version
    of the sources is installed, and not the cached version, even if the version number
    did not change. The ``-U`` or ``--upgrade`` option is used to make sure to get the latest version,
    on not merely reinstall the same version. As the package is aimed to be in a **Conda environment**, the option ``--no-deps`` is used to avoid installing the dependencies with pip, as they will be installed with conda.

From a local copy of the sources
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you have a git clone of the package sources locally,
you can install **geoapps-utils** from the local copy of the sources with:

.. code-block:: bash

    pip install -U --force-reinstall path/to/project_folder_with_pyproject_toml

Or in **editable mode**, so that you can edit the sources and see the effect immediately at runtime:

.. code-block:: bash

    pip install -e -U --force-reinstall path/to/project_folder_with_pyproject_toml

Setup for development
^^^^^^^^^^^^^^^^^^^^^
To configure the development environment and tools, please see `README-dev.rst`_.

.. _README-dev.rst: README-dev.rst


Third Party Software
^^^^^^^^^^^^^^^^^^^^
The geoapps-utils package may provide links to third party libraries or code (collectively “Third Party Software”)
to implement various functions. Third Party Software does not comprise part of the Software.
The use of Third Party Software is governed by the terms of such software license(s).
Third Party Software notices and/or additional terms and conditions are located in the
`THIRD_PARTY_SOFTWARE.rst`_ file.

.. _THIRD_PARTY_SOFTWARE.rst: THIRD_PARTY_SOFTWARE.rst

License
^^^^^^^
MIT License

Copyright (c) 2023-2024 Mira Geoscience

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Copyright
^^^^^^^^^
Copyright (c) 2023-2024 Mira Geoscience Ltd.

            

Raw data

            {
    "_id": null,
    "home_page": "https://www.mirageoscience.com/mining-industry-software/python-integration/",
    "name": "geoapps-utils",
    "maintainer": "Dominique Fournier",
    "docs_url": null,
    "requires_python": "<3.11,>=3.10",
    "maintainer_email": "dominiquef@mirageoscience.com",
    "keywords": null,
    "author": "Mira Geoscience",
    "author_email": "support@mirageoscience.com",
    "download_url": "https://files.pythonhosted.org/packages/9e/5d/8685a96ad3e3219585de864f9b940672b76834752b9805995d35a5a4cf88/geoapps_utils-0.3.0.tar.gz",
    "platform": null,
    "description": "|coverage| |maintainability| |precommit_ci| |style| |version| |status| |pyversions|\n\n\n..\n    .. |docs| image:: https://readthedocs.org/projects/geoapps-utils/badge/\n        :alt: Documentation Status\n        :target: https://geoapps-utils.readthedocs.io/en/latest/?badge=latest\n\n.. |coverage| image:: https://codecov.io/gh/MiraGeoscience/geoapps-utils/graph/badge.svg?token=Z0Q0T1U5LH\n    :alt: Code coverage\n    :target: https://codecov.io/gh/MiraGeoscience/geoapps-utils\n\n.. |style| image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :alt: Coding style\n    :target: https://github.com/pf/black\n\n.. |version| image:: https://img.shields.io/pypi/v/geoapps-utils.svg\n    :alt: version on PyPI\n    :target: https://pypi.python.org/pypi/geoapps-utils/\n\n.. |status| image:: https://img.shields.io/pypi/status/geoapps-utils.svg\n    :alt: version status on PyPI\n    :target: https://pypi.python.org/pypi/geoapps-utils/\n\n.. |pyversions| image:: https://img.shields.io/pypi/pyversions/geoapps-utils.svg\n    :alt: Python versions\n    :target: https://pypi.python.org/pypi/geoapps-utils/\n\n.. |precommit_ci| image:: https://results.pre-commit.ci/badge/github/MiraGeoscience/geoapps-utils/main.svg\n    :alt: pre-commit.ci status\n    :target: https://results.pre-commit.ci/latest/github/MiraGeoscience/geoapps-utils/main\n\n.. |maintainability| image:: https://api.codeclimate.com/v1/badges/f1aace7a543ba2bf14e4/maintainability\n    :alt: Maintainability\n    :target: https://codeclimate.com/github/MiraGeoscience/geoapps-utils/maintainability\n\n\ngeoapps-utils\n=========================================================================\nThe **geoapps-utils** package provides utility functions\nused by `geoapps <https://github.com/MiraGeoscience/geoapps>`_.\n\n.. contents:: Table of Contents\n   :local:\n   :depth: 3\n\n..\n    Documentation\n    ^^^^^^^^^^^^^\n    `Online documentation <https://geoapps-utils.readthedocs.io/en/latest/>`_\n\n\nInstallation\n^^^^^^^^^^^^\n**geoapps-utils** is currently written for Python 3.10 or higher.\n\nInstall Conda\n-------------\n\nTo install **geoapps-utils**, you need to install **Conda** first.\n\nWe recommend to install **Conda** using `miniforge`_.\n\n.. _miniforge: https://github.com/conda-forge/miniforge\n\nWithin a conda environment\n--------------------------\n\nYou can install (or update) a conda environment with all the requires packages to run **geoapps-utils**.\nTo do so you can directly run the **Install_or_Update.bat** file by double left clicking on it.\n\nInstall with conda\n------------------\n\nYou can install the package using ``conda`` and the ``.lock`` files from a conda prompt:\n\n.. code-block:: bash\n\n  conda env create -n my-env -f environments/[the_desired_env].lock.yml\n\nInstall with PyPI\n-----------------\n\nYou should not install the package from PyPI, as the app requires conda packages to run.\nStill, you can install it in a conda environment without its dependencies (``--no-deps``).\n\nFrom PyPI\n~~~~~~~~~\n\nTo install the **geoapps-utils** package published on PyPI:\n\n.. code-block:: bash\n\n    pip install -U --no-deps geoapps-utils\n\nFrom a Git tag or branch\n~~~~~~~~~~~~~~~~~~~~~~~~\nIf the package is not on PiPY yet, you can install it from a Git tag:\n\n.. code-block:: bash\n\n    pip install -U --no-deps --force-reinstall https://github.com/MiraGeoscience/geoapps-utils/archive/refs/tags/TAG.zip\n\nOr to install the latest changes available on a given Git branch:\n\n.. code-block:: bash\n\n    pip install -U --no-deps --force-reinstall https://github.com/MiraGeoscience/geoapps-utils/archive/refs/heads/BRANCH.zip\n\n.. note::\n    The ``--force-reinstall`` option is used to make sure the updated version\n    of the sources is installed, and not the cached version, even if the version number\n    did not change. The ``-U`` or ``--upgrade`` option is used to make sure to get the latest version,\n    on not merely reinstall the same version. As the package is aimed to be in a **Conda environment**, the option ``--no-deps`` is used to avoid installing the dependencies with pip, as they will be installed with conda.\n\nFrom a local copy of the sources\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nIf you have a git clone of the package sources locally,\nyou can install **geoapps-utils** from the local copy of the sources with:\n\n.. code-block:: bash\n\n    pip install -U --force-reinstall path/to/project_folder_with_pyproject_toml\n\nOr in **editable mode**, so that you can edit the sources and see the effect immediately at runtime:\n\n.. code-block:: bash\n\n    pip install -e -U --force-reinstall path/to/project_folder_with_pyproject_toml\n\nSetup for development\n^^^^^^^^^^^^^^^^^^^^^\nTo configure the development environment and tools, please see `README-dev.rst`_.\n\n.. _README-dev.rst: README-dev.rst\n\n\nThird Party Software\n^^^^^^^^^^^^^^^^^^^^\nThe geoapps-utils package may provide links to third party libraries or code (collectively \u201cThird Party Software\u201d)\nto implement various functions. Third Party Software does not comprise part of the Software.\nThe use of Third Party Software is governed by the terms of such software license(s).\nThird Party Software notices and/or additional terms and conditions are located in the\n`THIRD_PARTY_SOFTWARE.rst`_ file.\n\n.. _THIRD_PARTY_SOFTWARE.rst: THIRD_PARTY_SOFTWARE.rst\n\nLicense\n^^^^^^^\nMIT License\n\nCopyright (c) 2023-2024 Mira Geoscience\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\nCopyright\n^^^^^^^^^\nCopyright (c) 2023-2024 Mira Geoscience Ltd.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Geoapps Utils",
    "version": "0.3.0",
    "project_urls": {
        "Homepage": "https://www.mirageoscience.com/mining-industry-software/python-integration/",
        "Repository": "https://github.com/MiraGeoscience/geoapps-utils"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "03b596a9f8f3b4e57cdca9564ab929b175913638b8359d9df24dea5460f26a7a",
                "md5": "ba882752ea9ab426942760b5509d51f3",
                "sha256": "c5bc5169d35105a4d0bead9b43a4c115a45ec82852fc8b02700a2b8b28b31abc"
            },
            "downloads": -1,
            "filename": "geoapps_utils-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ba882752ea9ab426942760b5509d51f3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.11,>=3.10",
            "size": 34873,
            "upload_time": "2024-06-17T17:49:35",
            "upload_time_iso_8601": "2024-06-17T17:49:35.190191Z",
            "url": "https://files.pythonhosted.org/packages/03/b5/96a9f8f3b4e57cdca9564ab929b175913638b8359d9df24dea5460f26a7a/geoapps_utils-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9e5d8685a96ad3e3219585de864f9b940672b76834752b9805995d35a5a4cf88",
                "md5": "a542179eddb528b26dd30889cafaf223",
                "sha256": "ea714873e97b6e90716f5c62916c3add3a79d00cee2b0055b887bdfd65973455"
            },
            "downloads": -1,
            "filename": "geoapps_utils-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "a542179eddb528b26dd30889cafaf223",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.11,>=3.10",
            "size": 24218,
            "upload_time": "2024-06-17T17:49:37",
            "upload_time_iso_8601": "2024-06-17T17:49:37.792497Z",
            "url": "https://files.pythonhosted.org/packages/9e/5d/8685a96ad3e3219585de864f9b940672b76834752b9805995d35a5a4cf88/geoapps_utils-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-17 17:49:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "MiraGeoscience",
    "github_project": "geoapps-utils",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "geoapps-utils"
}
        
Elapsed time: 1.35015s