{"id":47158576,"url":"https://github.com/betterlife/betterlifepsi","last_synced_at":"2026-03-13T02:37:18.124Z","repository":{"id":191619251,"uuid":"37696073","full_name":"betterlife/betterlifepsi","owner":"betterlife","description":"Betterlife Intelligent PSI(Purchase, Sales and Inventory) system","archived":false,"fork":false,"pushed_at":"2023-10-25T16:16:58.000Z","size":3455,"stargazers_count":3,"open_issues_count":62,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-14T12:21:30.710Z","etag":null,"topics":["flask","inventory","machine-learning","order","purchase","python","sales"],"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/betterlife.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2015-06-19T02:00:10.000Z","updated_at":"2025-09-29T23:45:23.000Z","dependencies_parsed_at":"2023-08-30T18:32:18.680Z","dependency_job_id":"c0a5532e-8e08-4b55-ad59-5e47340272ab","html_url":"https://github.com/betterlife/betterlifepsi","commit_stats":null,"previous_names":["betterlife/betterlifepsi","betterlife/psi"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/betterlife/betterlifepsi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betterlife%2Fbetterlifepsi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betterlife%2Fbetterlifepsi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betterlife%2Fbetterlifepsi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betterlife%2Fbetterlifepsi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/betterlife","download_url":"https://codeload.github.com/betterlife/betterlifepsi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betterlife%2Fbetterlifepsi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30456096,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T02:22:12.178Z","status":"ssl_error","status_checked_at":"2026-03-13T02:06:49.475Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["flask","inventory","machine-learning","order","purchase","python","sales"],"created_at":"2026-03-13T02:37:17.015Z","updated_at":"2026-03-13T02:37:18.108Z","avatar_url":"https://github.com/betterlife.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Betterlife Intelligent PSI  [![Travis (.org)](https://img.shields.io/travis/com/betterlife/betterlifepsi.svg?logo=travis\u0026style=flat-square)](https://travis-ci.com/betterlife/betterlifepsi) [![Code Coverage](https://img.shields.io/codecov/c/github/betterlife/betterlifepsi.svg?label=Coverage\u0026style=flat-square)](http://codecov.io/github/betterlife/betterlifepsi?branch=master)\n\nIntelligent PSI(Purchase, Sales and Inventory) management system\n\n![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square)\n[![Code Health](https://landscape.io/github/betterlife/betterlifepsi/master/landscape.svg?style=flat-square)](https://landscape.io/github/betterlife/betterlifepsi/master)\n[![Requires.io](https://img.shields.io/requires/github/betterlife/betterlifepsi.svg?style=flat-square)](https://requires.io/github/betterlife/betterlifepsi/requirements/?branch=master)\n[![commits since release](https://img.shields.io/github/commits-since/betterlife/betterlifepsi/V0.6.8.svg?style=flat-square)](http://github.com/betterlife/betterlifepsi/releases)\n[![Release](https://img.shields.io/github/release/betterlife/betterlifepsi.svg?style=flat-square)](http://github.com/betterlife/betterlifepsi/releases) \n[![PyPI](https://img.shields.io/pypi/v/betterlifepsi.svg?style=flat-square)](https://pypi.org/project/betterlifepsi/)\n\n\n## Try to answer some questions like\n\n  - Which product generates the most revenue/profit in my store and what's the data?\n  - When do I need to replenish the stock and how much do I lost if that's not done?\n  - What is the optimized quantity/date for replenish the stock?\n  \n## Install \u0026 Run \u0026 Deploy  \n\n  - Run using Docker (Recommend)\n\n    * Make sure docker is installed and configured correctly. \n    * Clone the code via `git clone https://github.com/betterlife/betterlifepsi.git`\n    * `cd betterlifepsi \u0026\u0026 docker-compose build \u0026\u0026 docker-compose up` to build and run the docker image\n    * Please notice the database data is mounted to a docker volume called psi_data by default.\n\n  - Install and run locally\n    * Clone the code via `git clone https://github.com/betterlife/betterlifepsi.git`\n    * `pip install -r requirements.txt` to install runtime dependencies.\n    * `pip install -r etc/requirements/test.txt` to install development dependencies.\n    * Create postgresql database and user for the application.\n    * Set follow environment variables:\n      * DATABASE_URL : Database URL, only postgresql is tested as of now.\n      * FLASK_APP: Should be set to `psi.cli:application`\n      * SECURITY_PASSWORD_SALT : password salt for password generation\n      * SECRET_KEY : secret key for password generation\n      * CLOUDINARY_URL : Cloudinary URL if use cloudinary to store image attachments\n      * SENTRY_DSN : Sentry DSN if use sentry to handle exceptions \n    * `flask run` to run the application\n    * Set environment variable `TEST_DATABASE_URL` and invoke `flask test` to run tests.\n\n  - Install and run on heroku\n    * Click button [![Deploy](https://img.shields.io/badge/Heroku-Deploy-brightgreen.svg?style=flat-square)](https://heroku.com/deploy)  to deploy current version to heroku.\n\n## Links\n\n  - [Demo environment](https://psi-dev.herokuapp.com/)\n    - Organization administrator user: super_admin / password\n    - Business user: bu / password\n  - [Knowledge Center](https://github.com/betterlife/psi/wiki)    \n  - [Story management](https://betterlife.atlassian.net)\n\n## License    \nBetterlife PSI uses [MIT License](https://github.com/betterlife/flask-psi/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbetterlife%2Fbetterlifepsi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbetterlife%2Fbetterlifepsi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbetterlife%2Fbetterlifepsi/lists"}