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
-
pip install pydalio
-
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
-
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
-
Optional: if sqlite is not installed, please install it. For more information: https://www.gurusoftware.com/the-complete-guide-to-downloading-installing-sqlite/
-
Setup environment by running the following python script: from pydalio.db import create_db from pydalio.db import initiliaze_tables
create_db() initiliaze_tables()
-
Activate your virtual environment: https://realpython.com/python-virtual-environments-a-primer/#activate-it
-
Run the command "pydalio --help" to see all commands you can run.
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef42c37d5aa27e5ef34e30ec2a57f23079ad7fb6209382cfd8d2e17e31215e1c
|
|
| MD5 |
16ea9af85edf09d9bb567d822c4673c0
|
|
| BLAKE2b-256 |
4a735232ec2069ef03cd98aac6bc6d2a76a41ec4900ec0fe9e8b0ad0c46a3cfb
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3af7de322c74392fca6a1c6775cb28a43983f5175e34cc665a93861f929c9124
|
|
| MD5 |
036afa2e3800f023c596e97f59699aa8
|
|
| BLAKE2b-256 |
d1850108ffdc636779e0fac6b023ee523391e7381a67ad0040082d806d2dc547
|