Skip to main content

Betterlife Intelligent PSI Travis (.org) Code Coverage

Intelligent PSI(Purchase, Sales and Inventory) management system

GitHub Code Health Requires.io commits since release Release PyPI

Try to answer some questions like

  • Which product generates the most revenue/profit in my store and what's the data?
  • When do I need to replenish the stock and how much do I lost if that's not done?
  • What is the optimized quantity/date for replenish the stock?

Install & Run & Deploy

  • Run using Docker (Recommend)

    • Make sure docker is installed and configured correctly.
    • Clone the code via git clone https://github.com/betterlife/betterlifepsi.git
    • cd betterlifepsi && docker-compose build && docker-compose up to build and run the docker image
    • Please notice the database data is mounted to a docker volume called psi_data by default.
  • Install and run locally

    • Clone the code via git clone https://github.com/betterlife/betterlifepsi.git
    • pip install -r requirements.txt to install runtime dependencies.
    • pip install -r etc/requirements/test.txt to install development dependencies.
    • Create postgresql database and user for the application.
    • Set follow environment variables:
      • DATABASE_URL : Database URL, only postgresql is tested as of now.
      • FLASK_APP: Should be set to psi.cli:application
      • SECURITY_PASSWORD_SALT : password salt for password generation
      • SECRET_KEY : secret key for password generation
      • CLOUDINARY_URL : Cloudinary URL if use cloudinary to store image attachments
      • SENTRY_DSN : Sentry DSN if use sentry to handle exceptions
    • flask run to run the application
    • Set environment variable TEST_DATABASE_URL and invoke flask test to run tests.
  • Install and run on heroku

    • Click button Deploy to deploy current version to heroku.

License

Betterlife PSI uses MIT License

Metadata

Release files for betterlifepsi 0.6.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for betterlifepsi 0.6.8
File Size Uploaded Provenance Actions
betterlifepsi-0.6.8.tar.gz 1.4 MB Without provenance Details for betterlifepsi-0.6.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for betterlifepsi 0.6.8
File Interpreter ABI Platform Actions
betterlifepsi-0.6.8-py3-none-any.whl Python 3 none any Details for betterlifepsi-0.6.8-py3-none-any.whl

Total release size: 3.0 MB

Release files / betterlifepsi-0.6.8.tar.gz

Download URL betterlifepsi-0.6.8.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
7469c8688b0d1364dc328a8ff3e77250145a9172d0d0d79d46f73c09eec63a06
BLAKE2b-256 checksum
How to use checksums
f9895c4f239e7cba7223b5cec8ab8bbebda89b9056ade5a2e7367cafdf02c1e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

Release files / betterlifepsi-0.6.8-py3-none-any.whl

Download URL betterlifepsi-0.6.8-py3-none-any.whl
Size 1.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
af36980bf08ab44f909524988c4878c7a6600b94967f507a04670081aa45be10
BLAKE2b-256 checksum
How to use checksums
85e4746139b790bbdf3959ef177cc09f3dcdc84a4a6f40ca8614a7c5737b9610
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

Security for betterlifepsi 0.6.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page