Skip to content

javidahmed64592/python-physics-engine

Repository files navigation

python uv Ruff CI License: MIT

Template Python Repository

This repository can be used as a template for a Python application.

Table of Contents

uv

This repository is managed using the uv Python project manager: https://docs.astral.sh/uv/

To install uv:

curl -LsSf https://astral.sh/uv/install.sh | sh                                    # Linux/Mac
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" # Windows

Installing Dependencies

Install the required dependencies using uv:

uv sync

To install with dev dependencies:

uv sync --extra dev

After installing dev dependencies, set up pre-commit hooks:

uv run pre-commit install

Testing, Linting, and Type Checking

  • Run all pre-commit checks: uv run pre-commit run --all-files
  • Lint code: uv run ruff check .
  • Format code: uv run ruff format .
  • Type check: uv run mypy .
  • Run tests: uv run pytest
  • Security scan: uv run bandit -r example/
  • Audit dependencies: uv run pip-audit

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A physics engine in Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages