This project implements a comprehensive a Python tool to create and manage SBOMs and to interact with SW360. The project is structured into multiple modules, each responsible for specific functionalities such as SBOM generation, SW360 interaction, and command-line interface (CLI) management.
- Use
poetryto manage the project. - Use
requestsfor HTTP communication. - Use
pytestfor unit testing. - Use
responsesfor mocking HTTP requests.
- use
flake8 - use
isort - use type hints
- use
requestsfor HTTP communication
- Follow PEP 8 naming conventions
- Use ALL_CAPS for constants
- Use meaningful variable and function names that clearly describe their purpose
- Include helpful comments for complex logic
- Add error handling for user inputs and API calls
- Use type hints throughout the codebase for better IDE support
- Include docstrings for all public methods
- Title format: [<project_name>] Title