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.15.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for bmw-lobster-tool-python-0.9.15.tar.gz
Algorithm Hash digest
SHA256 055100365362ccdcadf45d04e5cdfe8c359d1a03924821f25cc7d57729366328
MD5 bb608c8c6998a868950cfda72c16deeb
BLAKE2b-256 d1c1c8e8c83cbe9d9d9dbea456672b53963db0041f7b6b055d37e7f3fc3cea23

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for bmw_lobster_tool_python-0.9.15-py3-none-any.whl
Algorithm Hash digest
SHA256 843ae9c94cc5c0dad1f43d7679bc85d56026637259536238262e0dafe0d4ce6f
MD5 1a6a8b96b0367d1c5b5ed46c903cb4d1
BLAKE2b-256 729fc15d3dfb4e8b43d150f7726cb6b56e5f629cc6d98ac2b0a3e3eb11eb463d

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