Skip to main content
BESSER platform

Python PyPI version PyPI - Downloads Documentation Status PyPI - License LinkedIn GitHub Repo stars

BESSER is a low-modeling low-code open-source platform. BESSER (Building bEtter Smart Software fastER) is funded thanks to an FNR Pearl grant led by the Luxembourg Institute of Science and Technology with the participation of the Snt/University of Luxembourg and open to all your contributions!

The BESSER low-code platform is built on top of B-UML our Python-based personal interpretation of a "Universal Modeling Language" (yes, heavily inspired and a simplified version of the better known UML, the Unified Modeling Language). With B-UML you can specify your software application and then use any of the code-generators available to translate your model into executable code suitable for various applications, such as Django web apps or database structures compatible with SQLAlchemy.

This repository contains the backend foundation for the ecosystem: the metamodel, code generators, notations, utilities, and services that drive the web modeling editor and the Python SDK. The editor's frontend is maintained in the companion BESSER-Web-Modeling-Editor repository and is included here only as a submodule (at besser/utilities/web_modeling_editor/frontend) for local deployments.

Check out the BESSER Web Modeling Editor online BESSER Web Modeling Editor Demo

Check out the official documentation

Basic Installation

BESSER works with Python 3.10+. We recommend creating a virtual environment (e.g. venv, conda).

The latest stable version of BESSER is available in the Python Package Index (PyPi) and can be installed using

$ pip install besser

BESSER can be used with any of the popular IDEs for Python development such as VScode, PyCharm, Sublime Text, etc.

Running BESSER Locally

If you are interested in developing new code generators or designing BESSER extensions, you can download and modify the full codebase, including tests and examples.

Step 1: Clone the repository

$ git clone https://github.com/BESSER-PEARL/BESSER.git
$ cd BESSER

Step 2: Create a virtual environment

Run the setup script to create a virtual environment (if not already created), install the requirements, and configure the PYTHONPATH. This ensures compatibility with IDEs (like VSCode) that may not automatically set the PYTHONPATH for recognizing besser as an importable module.

$ python -m venv venv
$ venv/Scripts/activate
$ pip install -r requirements.txt

Step 3: Run an example

To verify the setup, you can run a basic example.

$ cd tests/BUML/metamodel/structural/library
$ python library.py

Examples

If you want to try examples, check out the BESSER-examples repository!

AI Agent Skills

Working with BESSER through an AI coding agent (Claude Code, Cursor, Cline, Copilot, …)? Two companion repositories package BESSER as Agent Skills, so your agent gets the right knowledge on demand instead of loading the whole codebase into context.

BESSER Skills covers BESSER's metamodel, generators, and troubleshooting, so your agent builds correct, validated B-UML models — and viewable diagrams — without guesswork.

npx skills add BESSER-PEARL/besser-skills --all

UML Drawing is the diagrams-for-docs front door to BESSER: it turns a description or existing code into a correct UML class diagram, rendered as a real SVG/PNG straight into your README or docs.

npx skills add BESSER-PEARL/uml-drawing --all

Both follow the open Agent Skills standard, so they work with any spec-compatible coding agent.

Contributing

We encourage contributions from the community and any comment is welcome!

If you are interested in contributing to this project, please read the CONTRIBUTING.md file. You can also explore our step-by-step Contributor Guide and the dedicated AI Assistant Guide to understand the workflows and expectations before opening a pull request.

How to cite BESSER

This repository has the CITATION.cff file, which activates the "Cite this repository" button in the About section (right side of the repository). The citation is in APA and BibTex format.

Code of Conduct

At BESSER, our commitment is centered on establishing and maintaining development environments that are welcoming, inclusive, safe and free from all forms of harassment. All participants are expected to voluntarily respect and support our Code of Conduct.

Governance

The development of this project follows the governance rules described in the GOVERNANCE.md document.

Contact

You can reach us at: info@besser-pearl.org

Website: https://besser-pearl.org

License

This project is licensed under the MIT license.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

besser-7.11.2.tar.gz (627.7 kB view details)

Uploaded Source

Built Distribution

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

besser-7.11.2-py3-none-any.whl (751.2 kB view details)

Uploaded Python 3

File details

Details for the file besser-7.11.2.tar.gz.

File metadata

  • Download URL: besser-7.11.2.tar.gz
  • Upload date:
  • Size: 627.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for besser-7.11.2.tar.gz
Algorithm Hash digest
SHA256 ddf177dfc094464f6e4c3b2db095399db4a06ff8bf81a8c4993ec852e7abaeca
MD5 3ab3a735c1b604ffe71b548e35e4eda8
BLAKE2b-256 7a9e6febc300028d6d15b8635c596aa79edda3f673991c1431b97018aa45778d

See more details on using hashes here.

File details

Details for the file besser-7.11.2-py3-none-any.whl.

File metadata

  • Download URL: besser-7.11.2-py3-none-any.whl
  • Upload date:
  • Size: 751.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for besser-7.11.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f9ce636eb0ec46ee7234170b4913b259927a198a910eaf5767497e294c4fdf18
MD5 b11fd2a316eac2e09d72e684fe10284a
BLAKE2b-256 f7a00f75cc686e773878904dd99848b376cec63bbc8e4777c4cdcce28e97c531

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

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