This template is used to initialize a new Biscuit extension. It includes the basic structure (package, tests) for a simple extension that greets the user.
Check the API reference for adding more functionality to your extension.
To create a new Biscuit extension using this template, you can use the Biscuit CLI(Make sure you have it installed).
biscuit ext new <extension name>Note
Make sure you have cookiecutter installed (pip install cookiecutter).
Keep the structure of the project as follows to ensure compatibility with Biscuit's extension system:
your-extension/
βββ src/
β βββ your_extension/
β βββ __init__.py # Extension entry point
β βββ extension.py # Main extension logic
βββ tests/
β βββ __init__.py
β βββ conftest.py # Pytest configuration
β βββ test_your_extension.py # Test cases
βββ pyproject.toml # Project configuration
βββ README.md # Documentation
βββ .gitignore # Git ignore rules