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.

🤖 Building a new case with Copilot

This repo ships a Copilot skill, create-rbs-case, that guides you through building a new RBS case for any topic. In VS Code Copilot Chat, type /create-rbs-case (or just ask to "create a new RBS case about ..."). The skill interviews you about the strategic challenge, decision maker options, KPIs/themes and scenarios, then authors the 11 CSV tables, builds and validates the case, and transforms it to xlsx. See .github/skills/create-rbs-case/SKILL.md for details.

🔗 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.7.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.7.0
File Size Uploaded Provenance Actions
vlinder-1.7.0.tar.gz 345.0 kB Without provenance Details for vlinder-1.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 594.0 kB

Release files / vlinder-1.7.0.tar.gz

Download URL vlinder-1.7.0.tar.gz
Size 345.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d2cf59abe353578092c24e201069f354781125646662f23afa1910cec967fdf3
BLAKE2b-256 checksum
How to use checksums
52185a8f986d79514a8ec2a3d2474e0b70f18a65b332d014ef43168273f0613f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.6

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

Download URL vlinder-1.7.0-py3-none-any.whl
Size 248.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ceefe3e041b545460f83a559f1645a7a2dc78558039e8c755a91fd1aef7cdfd
BLAKE2b-256 checksum
How to use checksums
53b99cec1eb195cc0d02bea3a7b9174336cee631a31f4f39927a2fd153cfca40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.6

Security for vlinder 1.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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