APSG is the package for structural geologists. It defines several new python classes to easily manage, analyze and visualize orientational structural geology data.
Important
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 for more details.
You need Python 3.9 or later to run APSG. The package requires NumPy and SciPy, Matplotlib, SciPy, SQLAlchemy and pandas.
Install the latest stable version of APSG from PyPI:
pip install apsg
To include jupyterlab and pyqt5 in installation, use extra
option:
pip install apsg[extra]
or install master with:
pip install git+https://github.com/ondrolexa/apsg.git
Alternatively, you can cloce the repository and do a local install (recommended for dev):
git clone https://github.com/ondrolexa/apsg.git
cd apsg
pip install -e ."
To upgrade an existing version of APSG from PyPI, execute:
pip install apsg --upgrade --no-deps
Latest Debian-based systems does not allow to install non-debian packages system-wide. However, installing all requirements allows to force install APSG system-wide without troubles.
Install requirements using apt:
sudo apt install python3-numpy python3-matplotlib python3-scipy python3-sqlalchemy python3-pandas
and then install apsg using pip:
pip install --break-system-packages apsg
The APSG package is also available on conda-forge
channel. Installing apsg
from the conda-forge
channel can be achieved by adding conda-forge
to your
channels:
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
Name | Downloads | Version | Platforms |
---|---|---|---|
Explore all the features of APSG. You can find detailed documentation here.
Most discussion happens on Github. Feel free to open an issue or comment on any open issue or pull request. Check CONTRIBUTING.md
for more details.
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.
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.