A Python package for permafrost analysis and borehole data processing.
- Python >= 3.12
pydatastorage(custom package, must be installed separately)
# Create a new conda environment with Python 3.12
conda create -n boreholes_py312 python=3.12
# Activate the environment
conda activate boreholes_py312# Install available dependencies from conda
conda install matplotlib numpy pandas lxml openpyxl pytables pyproj rich python-dateutil
# Install development tools (optional)
conda install ipython ipdb pytest# If you have a local copy
pip install /path/to/pydatastorage
# Or if available via git
pip install git+https://github.com/username/pydatastorage.git# Navigate to the pypf directory
cd /path/to/pypf_py3
# Install in development mode
pip install -e .# If you have a local copy
pip install /path/to/pydatastorage
# Or if available via git
pip install git+https://github.com/username/pydatastorage.git# Clone or navigate to the pypf directory
cd /path/to/pypf_py3
# Install in development mode
pip install -e .
# Or install with development dependencies
pip install -e ".[dev]"pip install -e ".[dev]"
#### Alternative: Install from requirements.txt
# Install dependencies
pip install -r requirements.txt
# Then install pypf
pip install -e .
import pypf
from pypf.db import boreholes
# Your code hereInstall with development dependencies for testing and debugging:
pip install -e ".[dev]"This includes:
- ipython
- ipdb
- pytest
GNU General Public License (GPL)
Thomas Ingeman-Nielsen (thin@dtu.dk)