|coverage| |precommit_ci| |docs| |style| |version| |status| |pyversions|
.. |docs| image:: https://readthedocs.org/projects/peak-finder-app/badge/
:alt: Documentation Status
:target: https://peak-finder-app.readthedocs.io/en/latest/?badge=latest
.. |coverage| image:: https://codecov.io/gh/MiraGeoscience/peak-finder-app/branch/develop/graph/badge.svg
:alt: Code coverage
:target: https://codecov.io/gh/MiraGeoscience/peak-finder-app
.. |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/peak-finder-app.svg
:alt: version on PyPI
:target: https://pypi.python.org/pypi/peak-finder-app/
.. |status| image:: https://img.shields.io/pypi/status/peak-finder-app.svg
:alt: version status on PyPI
:target: https://pypi.python.org/pypi/peak-finder-app/
.. |pyversions| image:: https://img.shields.io/pypi/pyversions/peak-finder-app.svg
:alt: Python versions
:target: https://pypi.python.org/pypi/peak-finder-app/
.. |precommit_ci| image:: https://results.pre-commit.ci/badge/github/MiraGeoscience/peak-finder-app/develop.svg
:alt: pre-commit.ci status
:target: https://results.pre-commit.ci/latest/github/MiraGeoscience/peak-finder-app/develop
.. .. |maintainability| image:: https://api.codeclimate.com/v1/badges/_token_/maintainability
.. :target: https://codeclimate.com/github/MiraGeoscience/peak-finder-app/maintainability
.. :alt: Maintainability
Peak-Finder-App
===============
**peak-finder-app** is a package for the detection and grouping of time-domain
electromagnetic (TEM) anomalies measured along flight lines.
Documentation
^^^^^^^^^^^^^
`Online documentation <https://mirageoscience-peak-finder-app.readthedocs-hosted.com/en/latest/>`_
Installation
^^^^^^^^^^^^
**peak-finder-app** is currently written for Python 3.10 or higher.
Install Conda
-------------
To install **peak-finder-app**, you need to install **Conda** first.
We recommend to install **Conda** using `miniforge`_.
.. _miniforge: https://github.com/conda-forge/miniforge
Quick installation
-------------------
To install (or re-install) a conda environment to run **peak-finder-app**, simply execute the **install.bat** file.
To install in editable mode, so that changes in the source code are immediately reflected in the
running application, execute with the ``-e`` option: ``install.bat -e``
(in editable mode, the source folder must not be moved or deleted after installation).
Manual installation
-------------------
You should not install the package directly with ``pip``, as the app requires conda packages to run.
First create a Conda environment with all the required dependencies,
then activate it and install the package in this environment using
``pip install --no-deps ...``
See instructions below for more details and options.
Prepare a Conda environment with dependencies
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can create a Conda environment with all the required dependencies ``conda`` and the ``.lock``
files from a conda prompt::
$ conda env create --solver libmamba -n my-env -f environments/[the_desired_env].lock.yml
.. note::
The package itself is not install yet in the Conda environment. See following instructions.
.. warning::
All the following ``pip`` commands are meant to be executed in the Conda environment you just created.
Activate it with::
$ conda activate my-env
From PyPI
~~~~~~~~~
To install the **peak-finder-app** package published on PyPI::
$ pip install --no-deps -U peak-finder-app
From a Git tag or branch
~~~~~~~~~~~~~~~~~~~~~~~~
If the revision of the package is not on PyPI yet, you can install it from a Git tag::
$ pip install --no-deps -U --force-reinstall https://github.com/MiraGeoscience/peak-finder-app/archive/refs/tags/TAG.zip
Or to install the latest changes available on a given Git branch::
$ pip install --no-deps -U --force-reinstall https://github.com/MiraGeoscience/peak-finder-app/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.
The option ``--no-deps`` is used to avoid installing the dependencies with pip,
as they have dependencies are already installed within the **Conda environment**.
From a local copy of the sources
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you have a git clone of the package sources locally, you can install **peak-finder-app** from the
local copy of the sources. At the root of the sources, you will find a ``pyproject.toml`` file.
Change directory to the root of the sources::
$ cd path/to/project_folder_with_pyproject_toml
Then run::
$ pip install --no-deps -U --force-reinstall .
Or in **editable mode**, so that you can edit the sources and see the effect immediately at runtime::
$ pip install --no-deps -U --force-reinstall -e .
Setup for development
^^^^^^^^^^^^^^^^^^^^^
To configure the development environment and tools, please see `README-dev.rst`_.
.. _README-dev.rst: README-dev.rst
License
^^^^^^^
MIT License
Copyright (c) 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.
Third Party Software
^^^^^^^^^^^^^^^^^^^^
The peak-finder-app Software 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
Copyright
^^^^^^^^^
Copyright (c) 2024 Mira Geoscience Ltd.
Raw data
{
"_id": null,
"home_page": "https://www.mirageoscience.com/mining-industry-software/python-integration/",
"name": "peak-finder-app",
"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/e2/ee/ea07ed4031b1c12918bfa57f9391e0cfc38a21fed39c1cd1d0e1e622d9f0/peak_finder_app-0.1.0.tar.gz",
"platform": null,
"description": "|coverage| |precommit_ci| |docs| |style| |version| |status| |pyversions|\n\n\n.. |docs| image:: https://readthedocs.org/projects/peak-finder-app/badge/\n :alt: Documentation Status\n :target: https://peak-finder-app.readthedocs.io/en/latest/?badge=latest\n\n.. |coverage| image:: https://codecov.io/gh/MiraGeoscience/peak-finder-app/branch/develop/graph/badge.svg\n :alt: Code coverage\n :target: https://codecov.io/gh/MiraGeoscience/peak-finder-app\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/peak-finder-app.svg\n :alt: version on PyPI\n :target: https://pypi.python.org/pypi/peak-finder-app/\n\n.. |status| image:: https://img.shields.io/pypi/status/peak-finder-app.svg\n :alt: version status on PyPI\n :target: https://pypi.python.org/pypi/peak-finder-app/\n\n.. |pyversions| image:: https://img.shields.io/pypi/pyversions/peak-finder-app.svg\n :alt: Python versions\n :target: https://pypi.python.org/pypi/peak-finder-app/\n\n.. |precommit_ci| image:: https://results.pre-commit.ci/badge/github/MiraGeoscience/peak-finder-app/develop.svg\n :alt: pre-commit.ci status\n :target: https://results.pre-commit.ci/latest/github/MiraGeoscience/peak-finder-app/develop\n\n.. .. |maintainability| image:: https://api.codeclimate.com/v1/badges/_token_/maintainability\n.. :target: https://codeclimate.com/github/MiraGeoscience/peak-finder-app/maintainability\n.. :alt: Maintainability\n\n\nPeak-Finder-App\n===============\n**peak-finder-app** is a package for the detection and grouping of time-domain\nelectromagnetic (TEM) anomalies measured along flight lines.\n\n\nDocumentation\n^^^^^^^^^^^^^\n`Online documentation <https://mirageoscience-peak-finder-app.readthedocs-hosted.com/en/latest/>`_\n\n\nInstallation\n^^^^^^^^^^^^\n**peak-finder-app** is currently written for Python 3.10 or higher.\n\n\nInstall Conda\n-------------\n\nTo install **peak-finder-app**, you need to install **Conda** first.\n\nWe recommend to install **Conda** using `miniforge`_.\n\n.. _miniforge: https://github.com/conda-forge/miniforge\n\nQuick installation\n-------------------\n\nTo install (or re-install) a conda environment to run **peak-finder-app**, simply execute the **install.bat** file.\n\nTo install in editable mode, so that changes in the source code are immediately reflected in the\nrunning application, execute with the ``-e`` option: ``install.bat -e``\n(in editable mode, the source folder must not be moved or deleted after installation).\n\n\nManual installation\n-------------------\n\nYou should not install the package directly with ``pip``, as the app requires conda packages to run.\n\nFirst create a Conda environment with all the required dependencies,\nthen activate it and install the package in this environment using\n``pip install --no-deps ...``\n\nSee instructions below for more details and options.\n\nPrepare a Conda environment with dependencies\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nYou can create a Conda environment with all the required dependencies ``conda`` and the ``.lock``\nfiles from a conda prompt::\n\n $ conda env create --solver libmamba -n my-env -f environments/[the_desired_env].lock.yml\n\n.. note::\n The package itself is not install yet in the Conda environment. See following instructions.\n\n.. warning::\n All the following ``pip`` commands are meant to be executed in the Conda environment you just created.\n Activate it with::\n\n $ conda activate my-env\n\nFrom PyPI\n~~~~~~~~~\n\nTo install the **peak-finder-app** package published on PyPI::\n\n $ pip install --no-deps -U peak-finder-app\n\nFrom a Git tag or branch\n~~~~~~~~~~~~~~~~~~~~~~~~\nIf the revision of the package is not on PyPI yet, you can install it from a Git tag::\n\n $ pip install --no-deps -U --force-reinstall https://github.com/MiraGeoscience/peak-finder-app/archive/refs/tags/TAG.zip\n\nOr to install the latest changes available on a given Git branch::\n\n $ pip install --no-deps -U --force-reinstall https://github.com/MiraGeoscience/peak-finder-app/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.\n\n The ``-U`` or ``--upgrade`` option is used to make sure to get the latest version,\n on not merely reinstall the same version.\n\n The option ``--no-deps`` is used to avoid installing the dependencies with pip,\n as they have dependencies are already installed within the **Conda environment**.\n\nFrom a local copy of the sources\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nIf you have a git clone of the package sources locally, you can install **peak-finder-app** from the\nlocal copy of the sources. At the root of the sources, you will find a ``pyproject.toml`` file.\n\nChange directory to the root of the sources::\n\n $ cd path/to/project_folder_with_pyproject_toml\n\nThen run::\n\n $ pip install --no-deps -U --force-reinstall .\n\nOr in **editable mode**, so that you can edit the sources and see the effect immediately at runtime::\n\n $ pip install --no-deps -U --force-reinstall -e .\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\nLicense\n^^^^^^^\nMIT License\n\nCopyright (c) 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\n\nThird Party Software\n^^^^^^^^^^^^^^^^^^^^\nThe peak-finder-app Software 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\nCopyright\n^^^^^^^^^\nCopyright (c) 2024 Mira Geoscience Ltd.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Peak Finder App",
"version": "0.1.0",
"project_urls": {
"Documentation": "https://mirageoscience-peak-finder-app.readthedocs-hosted.com/",
"Homepage": "https://www.mirageoscience.com/mining-industry-software/python-integration/",
"Repository": "https://github.com/MiraGeoscience/peak-finder-app"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cb45171d23cb400885c5bd2978c63d21eeb00a3e5342eda575f9f572a229c08c",
"md5": "8d1fe6eb6f17c5fc62bf0d36269094e7",
"sha256": "2e88e564beb432cccbf8dcb3bafe01e47457df49ad22477255acac3b0ff35faa"
},
"downloads": -1,
"filename": "peak_finder_app-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8d1fe6eb6f17c5fc62bf0d36269094e7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.11,>=3.10",
"size": 1453600,
"upload_time": "2024-06-17T19:24:00",
"upload_time_iso_8601": "2024-06-17T19:24:00.273092Z",
"url": "https://files.pythonhosted.org/packages/cb/45/171d23cb400885c5bd2978c63d21eeb00a3e5342eda575f9f572a229c08c/peak_finder_app-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e2eeea07ed4031b1c12918bfa57f9391e0cfc38a21fed39c1cd1d0e1e622d9f0",
"md5": "d6c9800ee7dc2449f7d6d4d7a6dba266",
"sha256": "14520ebc4c0e35e6bb2dfcbf9e88dc2eba255d7f1b273e5622124eb883ee5788"
},
"downloads": -1,
"filename": "peak_finder_app-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "d6c9800ee7dc2449f7d6d4d7a6dba266",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.11,>=3.10",
"size": 1444255,
"upload_time": "2024-06-17T19:24:03",
"upload_time_iso_8601": "2024-06-17T19:24:03.571583Z",
"url": "https://files.pythonhosted.org/packages/e2/ee/ea07ed4031b1c12918bfa57f9391e0cfc38a21fed39c1cd1d0e1e622d9f0/peak_finder_app-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-17 19:24:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "MiraGeoscience",
"github_project": "peak-finder-app",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "peak-finder-app"
}