Python package to assist in providing quick-look/ preliminary petrophysical estimation.
Project description
quick_pp
Python package to assist in providing quick-look/ preliminary petrophysical estimation.
Quick Start (Jupyter Notebook Examples)
-
Create virtual environment (tested working with Python3.11)
python -m venv venv -
Activate virtual environment
> venv\Scripts\activate (Windows) > source venv/bin/activate (Linux) -
Install requirements
pip install -r requirements.txt -
Launch the notebook and run the cells
-
01_data_handler: 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 qpp_assistant, you would need to;
- Run
git clone https://github.com/imranfadhil/quick_pp.git - Run
pip install -r requirements.txt - Specify the required credentials in .env (based on
.env copyfile) - Run
docker-compose up -d - Go to Langflow at http://localhost:7860 and build your flow.
- Run
python main.py appand 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;
-
The input file in parquet format need to be available; /data/input/<data_hash>___.parquet
-
The parquet file need to have the input and target features as specified in MODELLING_CONFIG in config.py.
quick_pp train <model_config> <data_hash>
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.
quick_pp predict <model_config> <data_hash>
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 qpp_assistant at http://localhost:8888/qpp_assistant. 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 - quick_pp ML model prediction tools (need to run quick_pp model-deployment first).
Documentation
Documentation is available at: https://quick-pp.readthedocs.io/en/latest/index.html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quick_pp-0.2.5.tar.gz.
File metadata
- Download URL: quick_pp-0.2.5.tar.gz
- Upload date:
- Size: 129.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4080c0aeb0764128a106c7dc4b07529de3165b836bc383ab21cc975b60623c54
|
|
| MD5 |
605064a11dfb6395563546fd2e6cc66c
|
|
| BLAKE2b-256 |
3db115b8d6a8c9e527b6afef7cdf79e059e078a7b7f773691ea174c33b2a54fe
|
File details
Details for the file quick_pp-0.2.5-py3-none-any.whl.
File metadata
- Download URL: quick_pp-0.2.5-py3-none-any.whl
- Upload date:
- Size: 163.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6cd86273bc581051309bc3b318d433d9d4199d85df63a12d1a94f968d9c4f24f
|
|
| MD5 |
bb07bbb5ab1deeb908d53b605ed79672
|
|
| BLAKE2b-256 |
4853d030b8fee6b3a963f5ce009b81d7ec45886575e8517a59db29d3e2d10ef1
|