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

Metadata

Release files for vlinder 1.6.0

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

Source distribution (sdist)

Source distribution for vlinder 1.6.0
File Size Uploaded
vlinder-1.6.0.tar.gz 352.1 kB Details

Built distribution (wheel)

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

Total release size: 617.3 kB

Release files / vlinder-1.6.0.tar.gz

Download URL vlinder-1.6.0.tar.gz
Size 352.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6e8540e8921ca43558fb8fceef543b871be2dd948a767767918489027abbc28b
BLAKE2b-256 checksum
How to use checksums
4e4b03af284c1791ad42c372c24aa3da2abfdd18afb609273f5af9fe8f911fbf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.9

Release files / vlinder-1.6.0-py3-none-any.whl

Download URL vlinder-1.6.0-py3-none-any.whl
Size 265.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5cd56b304ae91d5cf305a8f0fb18ba010ed93ade7883d84a6444200b13515b42
BLAKE2b-256 checksum
How to use checksums
72c95bff50a51e4c0394edcdae356d97c2b7e2d3125c455037da8b3f9d6a35b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

1.6.0 This release

2 release files

1.5.0

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.1.0

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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