{"id":23388294,"url":"https://github.com/sabermahjoub/fin_genius","last_synced_at":"2026-02-05T12:33:23.394Z","repository":{"id":269095774,"uuid":"899580669","full_name":"Sabermahjoub/Fin_Genius","owner":"Sabermahjoub","description":"FinGenius : a python-based expert system for financial assistance and budget allocation, featuring interactive charts.","archived":false,"fork":false,"pushed_at":"2024-12-20T21:08:09.000Z","size":1991,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T04:22:57.293Z","etag":null,"topics":["charts","expert-system","experta","finance","finance-management","financial-analysis","python3","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sabermahjoub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-06T15:04:14.000Z","updated_at":"2024-12-20T21:08:13.000Z","dependencies_parsed_at":"2024-12-26T02:45:23.920Z","dependency_job_id":"e496c50c-6169-4c9e-af61-72649a15cb95","html_url":"https://github.com/Sabermahjoub/Fin_Genius","commit_stats":null,"previous_names":["sabermahjoub/fin_genius"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sabermahjoub%2FFin_Genius","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sabermahjoub%2FFin_Genius/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sabermahjoub%2FFin_Genius/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sabermahjoub%2FFin_Genius/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sabermahjoub","download_url":"https://codeload.github.com/Sabermahjoub/Fin_Genius/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248354079,"owners_count":21089753,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["charts","expert-system","experta","finance","finance-management","financial-analysis","python3","streamlit"],"created_at":"2024-12-22T02:18:34.583Z","updated_at":"2026-02-05T12:33:23.347Z","avatar_url":"https://github.com/Sabermahjoub.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FinGenius 🤖💰\n\nWelcome to FinGenius - Your Expert System-Powered Financial Planning Assistant\n\n![License](https://img.shields.io/badge/license-MIT-blue.svg)\n![Python](https://img.shields.io/badge/python-3.8%2B-blue)\n![Streamlit](https://img.shields.io/badge/streamlit-1.0%2B-red)\n![Experta](https://img.shields.io/badge/experta-1.9.4-green)\n\n## 📌 Table of Contents\n- [Overview](#overview)\n- [Features](#features)\n  - [Savings Goal Tracking](#savings-goal-tracking)\n  - [Budget Allocation](#budget-allocation)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Overview\n\nFinGenius is an intelligent financial planning assistant that combines the power of expert systems with a user-friendly interface. Built using Python, Streamlit, and Experta, it helps users make informed financial decisions through advanced rule-based analysis and charts visualizations.\n\n## ▶️ Demo (Click on video)\n[![Video Title](Demo_Images/Home.PNG)](https://drive.google.com/file/d/1Z_U_oascO8W9nPZ6kH3RBVccl6hobCWA/view?usp=drive_link)\n\n\n## Features\n\n### Savings Goal Tracking\n\nFinGenius helps you set and achieve your financial goals through intelligent tracking and recommendations.\n\n**Key Features:**\n- Authentication\n- Custom savings goal creation\n- Progress tracking with interactive visualizations\n- Smart milestone generation\n- Automated feasibility assessments\n- Budget adjustment recommendations\n- Interactive charts\n\n**Expert System Rules:**\n```python\n# Rule example: Milestones generation\n    @Rule(Fact(goal_achievable=True), Fact(target_amount=MATCH.target), Fact(timeline=MATCH.timeline), Fact(current_savings=MATCH.savings))\n    def generate_milestones(self, target, timeline, savings):\n        \"\"\"Generates monthly milestones to track progress.\"\"\"\n        if(savings == target):\n            self.result[\"milestone\"]= f\"\"\"Your savings match exactly your savings target. No need for further savings. \\n\"\"\"\n        elif(savings \u003e target):\n            self.result[\"milestone\"]= f\"\"\"You have enough current savings to satisfy your goal. You will save {savings-target:.2f} TND . \\n\"\"\"\n        else:\n            monthly_milestone = (target-savings) / timeline\n            self.declare(Fact(monthly_milestone=monthly_milestone))\n            self.result[\"milestone\"]= (f\"To reach your goal, save {monthly_milestone:.2f} per month.\")\n```\n\n### Budget Allocation\n\nOptimize your spending with expert-driven budget recommendations using the 50-30-20 rule.\n\n**Key Features:**\n- Smart expense categorization\n- Personalized budget breakdowns\n- Real-time budget feasibility checks\n- Intelligent spending calculus\n\n\n## Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/Sabermahjoub/Fin_Genius.git\ncd fingenius\n```\n\n2. Create and activate virtual environment:\n```bash\npython -m venv venv\nsource venv/bin/activate  # On Windows: venv\\Scripts\\Activate.ps1\n```\n\n3. Install dependencies:\n```bash\npip install -r requirements.txt\n```\n\n## Usage\n\n1. Start the application:\n```bash\nstreamlit run src/main-app.py\n```\n\n2. Access the web interface at `http://localhost:8501`\n\n3. Authenticate yourself :\n\n     ![screenshot](Demo_Images/authentication.png)\n\n5. Use the sidebar to navigate between features:\n   - Advisor (Savings Goal Tracker + Budget Allocator)\n      ![screenshot](Demo_Images/Advisor.png)\n\n   - Charts\n      ![screenshot](Demo_Images/Charts.png)\n\n\n## Dependencies\n\n- Python 3.8+\n- Streamlit\n- Experta\n- Pandas\n- Plotly\n- Python-dateutil\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n---\nMade with ❤️ by [Saber \u0026 Maha]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsabermahjoub%2Ffin_genius","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsabermahjoub%2Ffin_genius","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsabermahjoub%2Ffin_genius/lists"}