geoapps-utils


Namegeoapps-utils JSON
Version 0.2.0 PyPI version JSON
download
home_pagehttps://mirageoscience.com
SummaryGeoapps Utils
upload_time2024-01-02 18:42:48
maintainer
docs_urlNone
authorMira Geoscience
requires_python>=3.9,<3.11
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 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 Mira Geoscience Ltd.


            

Raw data

            {
    "_id": null,
    "home_page": "https://mirageoscience.com",
    "name": "geoapps-utils",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<3.11",
    "maintainer_email": "",
    "keywords": "",
    "author": "Mira Geoscience",
    "author_email": "support@mirageoscience.com",
    "download_url": "https://files.pythonhosted.org/packages/d7/ea/17e494c328ae3d8ae18485467f4c99dc8b0821ce3ff8d48e57eeef5e057e/geoapps_utils-0.2.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 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 Mira Geoscience Ltd.\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Geoapps Utils",
    "version": "0.2.0",
    "project_urls": {
        "Homepage": "https://mirageoscience.com",
        "Repository": "https://github.com/MiraGeoscience/geoapps-utils"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6eb61c7703855b6aa8100d54d72fd119d9b5a8fa1da235c7ac0cbd041958550d",
                "md5": "05c3d20dae55351c3a0dcbbc9975f23f",
                "sha256": "3db78986bb4ca66d081ade9af91ffb397bf079a5abdbce694f17c3e01080f821"
            },
            "downloads": -1,
            "filename": "geoapps_utils-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "05c3d20dae55351c3a0dcbbc9975f23f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<3.11",
            "size": 25821,
            "upload_time": "2024-01-02T18:42:47",
            "upload_time_iso_8601": "2024-01-02T18:42:47.213823Z",
            "url": "https://files.pythonhosted.org/packages/6e/b6/1c7703855b6aa8100d54d72fd119d9b5a8fa1da235c7ac0cbd041958550d/geoapps_utils-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d7ea17e494c328ae3d8ae18485467f4c99dc8b0821ce3ff8d48e57eeef5e057e",
                "md5": "f84c9772ccdd7b379d9587b8259dbfa6",
                "sha256": "0bcc1e844804d6097f0b80ea03d36788e88167a5e2ae2f3ab761d0d02c9dce96"
            },
            "downloads": -1,
            "filename": "geoapps_utils-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "f84c9772ccdd7b379d9587b8259dbfa6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<3.11",
            "size": 19856,
            "upload_time": "2024-01-02T18:42:48",
            "upload_time_iso_8601": "2024-01-02T18:42:48.980428Z",
            "url": "https://files.pythonhosted.org/packages/d7/ea/17e494c328ae3d8ae18485467f4c99dc8b0821ce3ff8d48e57eeef5e057e/geoapps_utils-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-02 18:42:48",
    "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: 0.24972s