Skip to main content

plate-simulation is a Python package

Project description

Code coverage Maintainability pre-commit.ci status Documentation Status Coding style version on PyPI version status on PyPI Python versions

plate-simulation: # TODO: SHORT DESCRIPTION

plate-simulation is a package for creating a specialized mesh, model and simulation for a particular parameterization of the halfspace + overburden and plate geological setting.

Documentation

Online documentation

Installation

plate-simulation is currently written for Python 3.10 or higher.

Install Conda

To install plate-simulation, you need to install Conda first.

We recommend to install Conda using miniforge.

Within a conda environment

You can install (or update) a conda environment with all the requires packages to run plate-simulation. 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:

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 plate-simulation package published on PyPI:

pip install -U --no-deps plate-simulation
From a Git tag or branch

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

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

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

pip install -U --no-deps --force-reinstall https://github.com/MiraGeoscience/plate-simulation/archive/refs/heads/BRANCH.zip
From a local copy of the sources

If you have a git clone of the package sources locally, you can install plate-simulation from the local copy of the sources with:

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:

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.

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 plate-simulation 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.

Trademarks

“Python” and the Python logos are trademarks or registered trademarks of the Python Software Foundation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plate_simulation-0.1.0b1.tar.gz (218.3 kB view hashes)

Uploaded Source

Built Distribution

plate_simulation-0.1.0b1-py3-none-any.whl (230.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page