Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ondrolexa/apsg
Structural geology package for Python
https://github.com/ondrolexa/apsg
python structural-geology
Last synced: about 2 months ago
JSON representation
Structural geology package for Python
- Host: GitHub
- URL: https://github.com/ondrolexa/apsg
- Owner: ondrolexa
- License: other
- Created: 2014-10-07T06:31:58.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-18T11:33:27.000Z (3 months ago)
- Last Synced: 2024-04-18T14:24:03.279Z (2 months ago)
- Topics: python, structural-geology
- Language: Python
- Homepage: https://apsg.readthedocs.io
- Size: 59.8 MB
- Stars: 91
- Watchers: 8
- Forks: 27
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Authors: AUTHORS.md
Lists
- awesome-open-geoscience - apsg
- awesome-open-geoscience - apsg
- awesome-open-geoscience - apsg - ![Python](media/icon/python.svg) advanced structural geology analysis and visualisation based on Matplotlib (Software / Structural geology)
- awesome-reservoir-engineering - apsg - ![Python](media/icon/python.png) Advanced structural geology analysis and visualisation based on Matplotlib (Software / Geology and Geophysics)
README
[![PyPI - Version](https://img.shields.io/pypi/v/apsg)](https://pypi.org/project/apsg)
[![Conda](https://img.shields.io/conda/v/conda-forge/apsg)](https://anaconda.org/conda-forge/apsg)
[![Documentation Status](https://readthedocs.org/projects/apsg/badge/?version=stable)](https://apsg.readthedocs.io/en/stable/?badge=stable)
[![DOI](https://zenodo.org/badge/24879346.svg)](https://zenodo.org/badge/latestdoi/24879346)## What is APSG?
APSG is the package for structural geologists. It defines several new python classes to easily manage, analyze and visualize orientational structural geology data.
## Major changes in class names and API from version 1.0.0
APSG has been significantly refactored from version 1.0 and several changes are
breaking backward compatibility. The main APSG namespace provides often-used
classes in lowercase names as aliases to `PascalCase` convention used in
modules to provide a simplified interface for users. The `PascalCase` names of
classes use longer and plain English names instead acronyms for better
readability.Check [documentation](https://apsg.readthedocs.org) for more details.
## Requirements
You need Python 3.8 or later to run APSG. The package requires [NumPy](https://numpy.org/) and [SciPy](https://www.scipy.org/), and [Matplotlib](https://matplotlib.org/).
## Quick start
APSG can be installed using pip:
```
pip install apsg
```
If you want to run the latest version of the code, you can install it from git:
```
pip install git+https://github.com/ondrolexa/apsg.git
```
Alternatively, you can download the package manually from the GitHub repository [https://github.com/ondrolexa/apsg](https://github.com/ondrolexa/apsg), unzip it, navigate into the package, and use the command:
```
python setup.py install
```
or
```
pip install .
```#### Upgrading via pip
To upgrade an existing version of APSG from PyPI, execute
```
pip install apsg --upgrade --no-deps
```
Please note that the dependencies (Matplotlib, NumPy and SciPy) will also be upgraded if you omit the `--no-deps` flag; use the `--no-deps` ("no dependencies") flag if you don't want this.### Conda
The APSG package is also available on `conda-forge` channel.
#### Current release info
| Name | Downloads | Version | Platforms |
| --- | --- | --- | --- |
| [![Conda Recipe](https://img.shields.io/badge/recipe-apsg-green.svg)](https://anaconda.org/conda-forge/apsg) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/apsg.svg)](https://anaconda.org/conda-forge/apsg) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/apsg.svg)](https://anaconda.org/conda-forge/apsg) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/apsg.svg)](https://anaconda.org/conda-forge/apsg) |#### Installing apsg
Installing `apsg` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with:
```
conda config --add channels conda-forge
```Once the `conda-forge` channel has been enabled, `apsg` can be installed with:
```
conda install apsg
```It is possible to list all of the versions of `apsg` available on your platform with:
```
conda search apsg --channel conda-forge
```## Documentation
Explore the full features of APSG. You can find detailed documentation [here](https://apsg.readthedocs.org).
## Contributing
Most discussion happens on [Github](https://github.com/ondrolexa/apsg). Feel free to open [an issue](https://github.com/ondrolexa/apsg/issues/new) or comment on any open issue or pull request. Check ``CONTRIBUTING.md`` for more details.
## Donate
APSG is an open-source project, available for you for free. It took a lot of time and resources to build this software. If you find this software useful and want to support its future development please consider donating me.
[![Donate via PayPal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=QTYZWVUNDUAH8&item_name=APSG+development+donation¤cy_code=EUR&source=url)
## License
APSG is free software: you can redistribute it and/or modify it under the terms of the MIT License. A copy of this license is provided in ``LICENSE`` file.