Skip to main content

LOBSTER Tool for Python3

Project description

LOBSTER

The Lightweight Open BMW Software Traceability Evidence Report allows you to demonstrate software traceability and requirements coverage, which is essential for meeting standards such as ISO 26262.

This package contains a tool extract tracing tags from Python3 source code.

Tools

  • lobster-python: Extrat requirements from Python3 code

Usage

This tool supports both Python code and PyUnit unit tests.

For either code or tests you can embedd tracing tags like this:

   def potato(self):
      # lobster-trace: something.example
	  return "potato"

You can add justifications as well:

   def potato(self):
      # lobster-exclude: a very good reason is here
	  return "potato"

For classes you have a choice on how you trace them: you either annotate the class itself, or each individual method. If you choose to annotate the class itself, then you will get warnings for each method with an annotation.

For normal code the usage is:

lobster-python FILES_OR_DIRS

For pyunit the usage is:

lobster-python --activity FILES_OR_DIRS

For pyunit the tool automatically ignore any class function that is not explicitly a test (i.e. you don't need to manually exclude your setup or tear down code, only individual tests will be included).

Copyright & License information

The copyright holder of LOBSTER is the Bayerische Motoren Werke Aktiengesellschaft (BMW AG), and LOBSTER is published under the GNU Affero General Public License, Version 3.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bmw-lobster-tool-python-0.9.13.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

bmw_lobster_tool_python-0.9.13-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file bmw-lobster-tool-python-0.9.13.tar.gz.

File metadata

File hashes

Hashes for bmw-lobster-tool-python-0.9.13.tar.gz
Algorithm Hash digest
SHA256 76ec5fbb02895eb4f17d69adabc4da1bcd7df3eed6763803163d16d621c1c559
MD5 0f9fdc4fcb3af0dd6917e6f8a6da5a97
BLAKE2b-256 e7947488742823ad7734e888fee09dc3bd73a793d640bb9d0cc30c5f3bdbd78d

See more details on using hashes here.

Provenance

File details

Details for the file bmw_lobster_tool_python-0.9.13-py3-none-any.whl.

File metadata

File hashes

Hashes for bmw_lobster_tool_python-0.9.13-py3-none-any.whl
Algorithm Hash digest
SHA256 273fd26d42827e5d837d353c7f0aa36d2a9b49a0c9a9ace484b3b07f8b80b4fe
MD5 c1f266e8ef2183396a1f380f7795ef67
BLAKE2b-256 5c50fbf90e3958482afbc99c1f0b95b7d8acdce8f9fe53d972baa5c3ef7ab1be

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page