- Responsible for analytics and data processing, including AI models (Python) and data visualization (e.g. R).
- Performs receipt analysis, OCR processes and financial reporting.
Before you begin, ensure you have the following installed on your machine:
- Python 3.8 or higher
- For your own .ENV:
- OpenAI API key
- Sapiens API key to connect to and authorize the SapiensDataAPI subproject (identical to your
SAPIENS_ANALYZER_SERVER_KEYvariable fromSapiensDataAPI/.env) - A Google Drive folder path
- For more information, see the
Analytics/.env.dev.examplefile.
cd Analytics
Recommended: Open this path with vs code to select the Python interpreter in the IDE as the environment isolator method for this subproject only. The root and each subproject is better to open in vs code separately.
python3 -m venv venv
source venv/bin/activatepython -m venv venv
venv\Scripts\activate📦 pip install -r requirements.txt
📝 cp .env.dev.example .env.dev
⚙️ Edit .env.dev and configure your variables
python src/main.py
🔚 deactivate
git config user.name "Your User Name"
git config user.email "your-email@example.com"git flow init- Use default settings when prompted.
python3 -m venv venv
source venv/bin/activatepython -m venv venv
venv\Scripts\activatepip install -r requirements.txtcp .env.dev.example .env.dev🛠️ Edit .env.dev and set required values.
git checkout develop # Always start from the develop branch
git checkout -b feature/your-feature-namegit add .
git commit -m "🔧 Add new feature: description"git push origin feature/your-feature-name🔄 Go to GitHub and open a Pull Request (PR) to the develop branch.
💡 Tips for Contributors:
- Use
pip freeze > requirements.txtto update dependencies. - Keep your branch updated →
git pull origin develop - Follow commit message conventions
- Use Git Flow for structured development
🚀 Happy coding! 🎉