Skip to content

Development setup

git clone https://github.com/adelkazemi1/bimora-open-source
cd bimora-open-source
python -m venv .venv
# Windows: .venv\Scripts\activate    macOS / Linux: source .venv/bin/activate
python -m pip install -e ".[dev]"

Checks

ruff check src tests scripts          # lint
ruff format --check src tests scripts # formatting
mypy                                  # strict type checking of src/bimora
python -m pytest --cov=bimora         # tests with coverage
pip-audit                             # known vulnerabilities in installed dependencies
python -m build                       # sdist + wheel into dist/
python scripts/check_dist.py dist     # inspect distribution contents

Layout

src/bimora/      package (see README → Architecture)
tests/           pytest suite (fixtures are the committed examples and in-memory models)
examples/        generated example models, configuration and mapping examples
scripts/         generate_examples.py, check_dist.py
docs/            documentation
.github/         workflows, issue and pull-request templates

Continuous integration

.github/workflows/ defines:

  • ci.yml — ruff, formatting, mypy, and pytest on Ubuntu, Windows and macOS with Python 3.11, 3.12, 3.13;
  • security.yml — pip-audit and gitleaks secret scanning (also weekly);
  • build.yml — sdist / wheel build, content check, clean-environment install and CLI smoke test.

All workflows use read-only contents permission, pin actions to commit SHAs and publish nothing. They have not run yet: they run on GitHub after the branch is pushed.

Releasing (maintainers)

Releases are made manually after review: update CHANGELOG.md, bump the version in pyproject.toml and src/bimora/__init__.py, build, check, tag. Nothing is published automatically.