Skip to main content

🦋 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

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.6.0.tar.gz (352.1 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.6.0-py3-none-any.whl (265.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vlinder-1.6.0.tar.gz
Algorithm Hash digest
SHA256 6e8540e8921ca43558fb8fceef543b871be2dd948a767767918489027abbc28b
MD5 1d81bc2e086b1c5df804e10598e42452
BLAKE2b-256 4e4b03af284c1791ad42c372c24aa3da2abfdd18afb609273f5af9fe8f911fbf

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for vlinder-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5cd56b304ae91d5cf305a8f0fb18ba010ed93ade7883d84a6444200b13515b42
MD5 63fbf51e19a4717081af757d21e40d08
BLAKE2b-256 72c95bff50a51e4c0394edcdae356d97c2b7e2d3125c455037da8b3f9d6a35b1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.6.0 This release

2 files

1.5.0

2 files

1.4.3

2 files

1.4.2

2 files

1.4.1

2 files

1.4.0

2 files

1.3.0

2 files

1.2.0

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.0

2 files

0.1.0

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

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