Skip to main content

--- english version below ---

TPworld3

Un TP pour jouer avec le modèle World3 et découvrir tout un tas de concepts, qui peuvent servir pour comprendre les dynamiques de la croissance dans un monde fini.

Installation

Option A: Avec le jupyterhub de l'UGA si vous avez un compte UGA

  • Se connecter à https://jupyterhub.univ-grenoble-alpes.fr avec ses identifiants UGA
  • Appuyer sur le bouton upload en haut à droite, et sélectionner le TP téléchargé
  • Sur le menu files, lancer le notebook TP.ipynb en cliquant dessus

Option B: Autrement, en local sous Linux

  • Il faut avoir Python3
  • Le module a été testé sous Ubuntu 24

Créer un environnement virtuel

  • Il est préférable d'utiliser un environnement virtuel, qui assure les bonnes versions des librairies.
  • Pour installer et créer un nouvel environnement virtuel sous le nom de dnovenv:
sudo apt install python3.12-venv
python3.12 -m venv dnovenv

Pour l'activer, si on est dans le dossier qui contient le dossier dnovenv, il faut rentrer:

source dnovenv/bin/activate

et peut on le désactiver avec deactivate.

Installer le TP

  • Ouvrir un terminal, puis installer jupyter et activer les extensions:
python3 -m pip install --upgrade ipykernel jupyter jupyter_contrib_nbextensions notebook==6.4.12
  • Ouvrir le TP.ipynb avec jupyter-lab TP.ipynb.

Jouer

Dans le notebook TP.ipynb, des textes et morceaux de codes montrent l'idée et le fonctionnement de Pydynamo et du modèle World3. On peut faire différentes expériences de simulation en changeant des paramètres, et étudier certains phénomènes.

--- english version ---

English

Tpworld3

A practical session to play with the World3 model and discover many interesting concepts that can be useful to understand the dynamics of growth in a finie world.

Installation

Option A: With UGA (Univ-Grenoble_Alpes) jupyterhub if you have an UGA account

  • Login to https://jupyterhub.univ-grenoble-alpes.fr with your agalan id
  • Click on the upload button at the top right and then select the notebook you downloaded
  • On the files menu, click on the notebook to run it

Option B: Otherwise, locally with linux

  • You should have Python3.8 or more recent
  • The notebook has been tested on Unbuntu20 and more

Create a virtual environment

  • It's better to use a virtual environment to store the librairies you'll use
  • To install a new virtual environment named dnovenv:
sudo apt install python3.12-venv
python3.12 -m venv dnovenv

To activate it, if you are in the folder that contains the dnovenv folder, type::

source dnovenv/bin/activate

et peut on le désactiver avec deactivate.

Install the notebook

  • Open a terminal, and the install jupyter and activate the extensions:
python3 -m pip install --upgrade ipykernel jupyter jupyter_contrib_nbextensions notebook==6.4.12
  • Open the notebook with jupyter-lab TP_en.ipynb.

Play

In the TP_en.ipynb notebook, there is texts and code cells that explain how the pydynamo module and the World3 model works. We cans run different simulations, change parameters and analyse some phenomenon.

Metadata

Release files for pydynamo-w 0.0.3

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

Source distribution (sdist)

Source distribution for pydynamo-w 0.0.3
File Size Uploaded Provenance Actions
pydynamo_w-0.0.3.tar.gz 46.4 kB Without provenance Details for pydynamo_w-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pydynamo-w 0.0.3
File Interpreter ABI Platform Actions
pydynamo_w-0.0.3-py3-none-any.whl Python 3 none any Details for pydynamo_w-0.0.3-py3-none-any.whl

Total release size: 96.1 kB

Release files / pydynamo_w-0.0.3.tar.gz

Download URL pydynamo_w-0.0.3.tar.gz
Size 46.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9ae4e3deae8fc273cf42855141b683b0324d47253cfac5b674527dba46cb742a
BLAKE2b-256 checksum
How to use checksums
a77dac2b5d07902e5d4f4b3091cff120d2804a7288727bdefda630a94056ba45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / pydynamo_w-0.0.3-py3-none-any.whl

Download URL pydynamo_w-0.0.3-py3-none-any.whl
Size 49.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2041a636bfacf0d84b259b17591b9b7477193401e33b89cba6327d68b32aabb
BLAKE2b-256 checksum
How to use checksums
8bfd6e6ce3bed84dc388b4b5c55fe2c3fe889ff46fa2d84f204633dbef211bca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for pydynamo-w 0.0.3

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