quick-pp

Python package for Petrophysical analysis.

https://github.com/imranfadhil/quick_pp

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.4%) to scientific vocabulary

Keywords

carbonate clastic lithology multi-mineral permeability petrophysics poro-perm porosity reservoir-summary rock-typing saturation-height-function water-saturation
Last synced: 6 months ago · JSON representation ·

Repository

Python package for Petrophysical analysis.

Basic Info
Statistics
  • Stars: 9
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
carbonate clastic lithology multi-mineral permeability petrophysics poro-perm porosity reservoir-summary rock-typing saturation-height-function water-saturation
Created over 2 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing License Citation Authors

README.md

quick_pp

Python package to assist in providing quick-look/ preliminary petrophysical estimation. quick_pp demo

Quick Start (Jupyter Notebook Examples)

  1. Create virtual environment (tested working with Python3.11)

    python -m venv venv
    
  2. Activate virtual environment

    > venv\Scripts\activate (Windows)
    
    > source venv/bin/activate (Linux)
    
  3. Install requirements

    pip install -r requirements.txt
    
  4. Launch the notebook and run the cells

    • 01datahandler: create the MOCK qppp project file.
    • 02_EDA: quick look on the data
    • 03_*: quick petropohysical interpretation of the MOCK wells.
    • For API notebook, need to run the following before running the cells

      python main.py app
      

Install

To install, use the following command:

pip install quick_pp

To use qppassistant, you would need to; 1. Run `git clone https://github.com/imranfadhil/quickpp.git 2. Runpip install -r requirements.txt 3. Specify the required credentials in .env (based on.env copyfile) 4. Rundocker-compose up -d 5. Go to Langflow at http://localhost:7860 and build your flow. 6. Runpython main.py app` and go to the qpp Assistant at http://localhost:8888/qpp_assistant to test your flow.

CLI

To train an ML model, these are the requirements;

  1. The input file in parquet format need to be available; /data/input/___.parquet

  2. The parquet file need to have the input and target features as specified in MODELLING_CONFIG in config.py.

quickpp train <modelconfig>

quick_pp train mock mock

To run the MLflow server

quick_pp mlflow-server

You can access the mlflow server at http://localhost:5015

To run prediction, the trained models need to be registered in MLflow first.

quickpp predict <modelconfig>

quick_pp predict mock mock

To deploy the trained ML models

quick_pp model-deployment

You can access the deployed model Swagger UI at http://localhost:5555/docs

To start the App

quick_pp app

You can then access the Swagger UI at http://localhost:8888/docs and qppassistant at http://localhost:8888/qppassistant. You can enter any user name and password to login the qpp_assistant.

To use the mcp tools, you would need to first add the following SSE URLS through the interface; http://localhost:8888/mcp - quick_pp tools.

http://localhost:5555/mcp - quickpp ML model prediction tools (need to run `quickpp model-deployment` first).

Documentation

Documentation is available at: https://quick-pp.readthedocs.io/en/latest/index.html

Owner

  • Login: imranfadhil
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: Please cite this software using these metadata.
title: quick_pp
abstract: Quick petrophysical interpretation.
authors:
  - family-names: Fadhil
    given-names: Imran
    orcid: https://orcid.org/0000-0001-9392-8083
repository-code: "https://github.com/imranfadhil/quick_pp"
version: 0.2.4
license: MIT
type: software

GitHub Events

Total
  • Watch event: 4
  • Delete event: 18
  • Push event: 107
  • Pull request event: 29
  • Fork event: 1
  • Create event: 17
Last Year
  • Watch event: 4
  • Delete event: 18
  • Push event: 107
  • Pull request event: 29
  • Fork event: 1
  • Create event: 17

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 119 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 23
  • Total maintainers: 1
pypi.org: quick-pp

Python package to assist in providing quick-look/ preliminary petrophysical estimation.

  • Versions: 23
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 119 Last month
Rankings
Dependent packages count: 10.0%
Average: 38.0%
Dependent repos count: 66.0%
Maintainers (1)
Last synced: 6 months ago

Dependencies

docs/requirements.txt pypi
  • lasio ==0.30
  • numpy ==1.26.0
  • pandas ==2.1.1
  • plotly ==5.17.0
  • scikit-learn ==1.3.1
  • scipy ==1.11.3
  • sphinx-rtd-theme ==2.0.0
  • statsmodels ==0.14.0
  • welly ==0.5.2
requirements.txt pypi
  • Click ==7.1.2
  • Sphinx ==7.2.6
  • build ==1.0.3
  • bump2version ==0.5.11
  • coverage ==4.5.4
  • flake8 ==3.7.8
  • lasio ==0.30
  • matplotlib ==3.8.0
  • nbformat ==5.9.2
  • numpy ==1.26.0
  • pandas ==2.1.1
  • plotly ==5.17.0
  • ruptures ==1.1.8
  • scikit-learn ==1.3.1
  • scipy ==1.11.3
  • sphinx-rtd-theme ==2.0.0
  • statsmodels ==0.14.0
  • tox ==3.14.0
  • twine ==1.14.0
  • urllib3 ==1.25.11
  • watchdog ==0.9.0
  • wheel ==0.33.6
setup.py pypi