Installation
Prerequisites
To install the latest version of imfp
, you will need to have Python 3.10 or later installed on your system.
If you don’t already have Python, we recommend installing the uv
package manager and installing Python with uv python install
.
Installation
To install the latest stable imfp
wheel from PyPi using pip:
pip install --upgrade imfp
Alternatively, to install from the source code on Github, you can use the following command:
pip install --upgrade git+https://github.com/Promptly-Technologies-LLC/imfp.git
You can then import the package in your Python script:
import imfp
Suggested Dependencies for Data Analysis
imfp
outputs data in a pandas
data frame, so you will want to use the pandas
package for its functions for viewing and manipulating this object type. For data analysis and visualization, we recommend installing these additional packages:
pip install -q pandas matplotlib seaborn numpy
You can then import them in your Python script:
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
import numpy as np
Development Installation
To get started with development of imfp
,
Fork and clone the repository
Install uv with
curl -LsSf https://astral.sh/uv/install.sh | sh
Install the dependencies with
uv sync
Install a git pre-commit hook to enforce conventional commits:
curl -o- https://raw.githubusercontent.com/tapsellorg/conventional-commits-git-hook/master/scripts/install.sh | sh
To edit and preview the documentation, you’ll also want to install the Quarto CLI tool.