Skip to main content

Package for responsible business decision making

Project description

🦋 Vlinder

Welcome to the open-source GitHub repository of the Responsible Business Simulator (tRBS) model based on the book Roobeek, A; Swart, J.J.B. de; Plas, M. van der (2023), Responsible Business Decision Making – Strategic Impact Through Data and Dialogue, KoganPage, that can be found here. This model is available in Python package vlinder. The name vlinder means "butterfly" in Dutch. It symbolizes the transformation of trbs, pronounced quickly as trups (= caterpillar in Dutch), and the ability to see things from a new perspective, much like how the package helps users transform raw data into insightful decision making.

🔗 This repository

This repo allows users to understand the framework and interact with the model, providing the opportunity to experiment, evaluate, and collaborate. The tRBS model is designed to simulate the impact of business decisions on financial performance, sustainability and social responsibility. By open-sourcing the code, we promote transparency and invite contributions from researchers and practitioners.

Amongst others, this repo contains:

  • A Jupyter notebook demo that showcases the most important functions of the vlinder package
  • All core functionality of the Responsible Business Simulator model
  • A variety of demo cases that can be found here

💻 Working with the vlinder package via the Jupyter notebook

Here we assume that you just want to install and import the vlinder package from Python Package Index and work with the predefined Jupyter notebook vlinder_demo.ipynb. This means that you are not interested in the source code within the vlinder package. To purpose of vlinder_demo.ipynb is to to illustrate the working of the vlinder package. This file is the only file from this repository that you need for this use case. There are many environments in which you may run Jupyter notebooks. In this example, we use using Google's free environment called Colaboratory. Note that a Google account is needed to access this environment.

Step 1: Open Google's Colabotary by clicking on this.

Step 2: Choose "Open notebook -> GitHub" and enter this url.

Step 3: Run the notebook by selecting "Run all" from the "Runtime" menu to see the results for the beerwiser case.

Step 4: (Optional) Adjust the notebook to see, e.g., results of other demo cases.

💻 Local set-up (working directly with the underlying code of the vlinder package)

Here we assume that you want to contribute to the vlinder package by adjusting or and enriching its code base.

Step 1: Connect with the repository. If you either need to set-up git and/or authenticate with GitHub, see GitHub's manual.

git clone https://github.com/responsible-business-decision-making/trbs.git

Step 2: Move inside the trbs-folder and install all required dependencies with pipenv. You might need to install pipenv if you have not used this before.

cd trbs
pip install pipenv
pipenv install
pipenv shell

Step 3: Configure the pre-commit file. This file helps you adhere to a clean coding style and checks amongst others for PEP8 violations.

pre-commit install

Step 4: Open the Jupyter notebook.

jupyter notebook

That's all! 🎉

You're now able to play around with the vlinder_demo notebook.

🔗 Contributing

Please refer to the CONTRIBUTING.MD document for further guidance no how you can help developing vlinder

📖 Code of Conduct

  • 😃 Be kind
  • 🤗 Be welcoming
  • ❌ Don't be a jerk

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

vlinder-1.5.0.tar.gz (544.6 kB view details)

Uploaded Source

Built Distribution

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

vlinder-1.5.0-py3-none-any.whl (262.5 kB view details)

Uploaded Python 3

File details

Details for the file vlinder-1.5.0.tar.gz.

File metadata

  • Download URL: vlinder-1.5.0.tar.gz
  • Upload date:
  • Size: 544.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.8

File hashes

Hashes for vlinder-1.5.0.tar.gz
Algorithm Hash digest
SHA256 3324c90929610c8e4fdfe54f3d34868cdcc7256397f61589e68b8f92c9ddcb59
MD5 250bcfeef3f75c86d6b26c8b6769520f
BLAKE2b-256 55ff6bb65f07c9c81a698fe9cb3123d070a35fb2992258897e3aeaac85524fb5

See more details on using hashes here.

File details

Details for the file vlinder-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: vlinder-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 262.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.8

File hashes

Hashes for vlinder-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b64fde503bd2b1021ffd0f8fcc8f800db246c9c5eadaee53dcf8b13cd95c272b
MD5 b87a217d5b6383a2d2569308536217e1
BLAKE2b-256 b88322fe264337853623c0c0a9faa91445ed3309d1da3dafd7080bcf3f42aa95

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