semi_cr package

Subpackages

Submodules

semi_cr.assets module

Asset path utilities.

semi_cr.assets.get_asset_path(filename: str) Path[source]

Return the full path to an asset file.

semi_cr.assets.get_font_path(filename: str = 'Inconsolata-Medium.ttf') str[source]

Return the full path to a font file as a string.

semi_cr.assets.get_sample_gds_path() str[source]

Return the full path to the sample GDS file.

semi_cr.hello_world module

semi_cr.hello_world.greeter(name: str) str[source]

Generate a greeting message.

Parameters:

name (str) – The name of the person to greet.

Returns:

The greeting message.

Return type:

str

semi_cr.hello_world.hello_world() None[source]

Print a friendly greeting.

semi_cr.hello_world.myadd(x: float, y: float) float[source]

Add two numbers.

Parameters:
  • x (float) – The first number.

  • y (float) – The second number.

Returns:

The sum of the two numbers.

Return type:

float

Module contents