Skip to main content

A package to help with testing of principles in decision making

Project description

PYDALIO

This package is inspired by the book of Ray Dalio, Principles. The idea is to pose a number of principle questions to make more informed, rational decisions. These can be saved and the endgoal is to be able to abstract a personal working algorithm from it.

How to get started using the package: 0. Create a virtual environment: https://realpython.com/python-virtual-environments-a-primer/#create-it

  1. pip install pydalio

  2. Define your principles: a. create a .yaml file b. define principle questions as shown in example_principles.yaml c. define possible options as shown in example_principles.yaml d. Set yaml path to .env file as shown in example_config.env

  3. Set database path in .env file as shown in example_config.env. Please note the name of the db (sqlite) is currently fixed at dalio.db

  4. Optional: if sqlite is not installed, please install it. For more information: https://www.gurusoftware.com/the-complete-guide-to-downloading-installing-sqlite/

  5. Setup environment by running the following python script: from pydalio.db import create_db from pydalio.db import initiliaze_tables

    create_db() initiliaze_tables()

  6. Activate your virtual environment: https://realpython.com/python-virtual-environments-a-primer/#activate-it

  7. Run the command "pydalio --help" to see all commands you can run.

  8. Enjoy your journey of improved decision making!

Development track: [x] create cli application basis [ ] create orchestrating logic to run continuously [x] create sqllite db interface [x] create generalised principle questions interface [ ] create simple algorithm interface based on database.First guesstimate is decision tree algorithm or logistic regression. [ ] make a bash script to install/run globally?

If you would like to contribute, fork the package: https://github.com/tlaumen/pydalio and make a PR. For further questions, e-mail to tom_laumen@hotmail.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydalio-0.1.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pydalio-0.1.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file pydalio-0.1.0.tar.gz.

File metadata

  • Download URL: pydalio-0.1.0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.8 Linux/6.10.6-arch1-1

File hashes

Hashes for pydalio-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ef42c37d5aa27e5ef34e30ec2a57f23079ad7fb6209382cfd8d2e17e31215e1c
MD5 16ea9af85edf09d9bb567d822c4673c0
BLAKE2b-256 4a735232ec2069ef03cd98aac6bc6d2a76a41ec4900ec0fe9e8b0ad0c46a3cfb

See more details on using hashes here.

File details

Details for the file pydalio-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pydalio-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.8 Linux/6.10.6-arch1-1

File hashes

Hashes for pydalio-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3af7de322c74392fca6a1c6775cb28a43983f5175e34cc665a93861f929c9124
MD5 036afa2e3800f023c596e97f59699aa8
BLAKE2b-256 d1850108ffdc636779e0fac6b023ee523391e7381a67ad0040082d806d2dc547

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page