Skip to content

Development Guide

Welcome to the Bedrock Swarm development guide. This section provides comprehensive information for developers who want to contribute to the framework or build applications using it.

Getting Started

  1. Code Organization
  2. Testing Strategy
  3. Contributing Guidelines

Development Workflow

  1. Fork the repository
  2. Set up your development environment
  3. Create a feature branch
  4. Make your changes
  5. Write/update tests
  6. Update documentation
  7. Submit a pull request

Code Standards

We follow these coding standards:

  1. Python Style Guide:
  2. Follow PEP 8
  3. Use type hints
  4. Write docstrings
  5. Keep functions focused

  6. Documentation:

  7. Update API docs
  8. Include examples
  9. Write clear commit messages
  10. Maintain changelog

  11. Testing:

  12. Write unit tests
  13. Include integration tests
  14. Maintain coverage
  15. Document test cases

Development Tools

Essential tools for development:

  1. Code Quality:
  2. Black (formatting)
  3. isort (import sorting)
  4. flake8 (linting)
  5. mypy (type checking)

  6. Testing:

  7. pytest (testing framework)
  8. coverage (code coverage)
  9. pytest-asyncio (async testing)

  10. Documentation:

  11. MkDocs (documentation)
  12. mkdocstrings (API docs)
  13. mkdocs-material (theme)

Contributing

See our Contributing Guide for detailed information on:

  1. Code submission process
  2. Review guidelines
  3. Release process
  4. Community guidelines

Development Resources