Skip to main content

Femtum SDK - Python

NuGet

Installation

To install the Femtum SDK, use the following command:

pip
pip install femtum-sdk
poetry
poetry add femtum-sdk

Usage

Here is a basic example of how to use the Femtum SDK:

  1. Start the SDK Server
  2. Use SDK in your code
# Find results by page and get sweep data

from femtum_sdk.adapter.analysis_pandas_adapter import SweepResulToDataframe
from femtum_sdk.core.result_pb2 import (
    FindResultByIdRequest,
    ListByPageResultsRequest,
    OptionalSweepResult,
    ResultsFilterRequest,
    ResultsPage,
)

from femtum_sdk import FemtumSdk
from femtum_sdk.core.tag_pb2 import Tag

# Make sure the API server is running before running next steps
with FemtumSdk() as sdk:
    page: ResultsPage = sdk.trimming.result.ListByPage(
        ListByPageResultsRequest(
            PageSize=10,
            PageNumber=1,
            Filters=ResultsFilterRequest(
                WaferName="MyWafer",
                ReticleName="MyReticle",
                DieName="MyDie",
                CircuitName="MyCircuit",
                Tags=[Tag(Key="ShotNumber", Value="6")],
            ),
        )
    )

    items = list(page.Items)
    print(items)

    firstResultWithData: OptionalSweepResult = sdk.trimming.result.FindSweepById(
        FindResultByIdRequest(Id=page.Items[0].Id)
    )
    result = firstResultWithData.Result

    print(result.WavelengthsArray)
    print(result.WavelengthsArray)
    print(result.PowersArray)

    dataframe = SweepResulToDataframe(result)
    print(dataframe)

With Specified SDK server url

with FemtumSdk(hostUrl=api_server.get_grpc_url()) as sdk:
  request = FindResultDataRequestDto()
  result: SpectrumProviderSweepResultArray = (
      sdk.analysis.FindSpectrumProviderSweepResults(request)
  )

  print(result.Items)

Scope

This package contains the gRPC bindings to the Femtum APIs (DatastoreApi, InstrumentApi) and the generated contracts. The analysis agent, the analytics helpers and the instrument drivers live in testing-core, which depends on this SDK.

Metadata

Release files for femtum-sdk 0.86.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for femtum-sdk 0.86.0
File Size Uploaded Provenance Actions
femtum_sdk-0.86.0.tar.gz 231.6 kB With provenance Details for femtum_sdk-0.86.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for femtum-sdk 0.86.0
File Interpreter ABI Platform Actions
femtum_sdk-0.86.0-py3-none-any.whl Python 3 none any Details for femtum_sdk-0.86.0-py3-none-any.whl

Total release size: 628.7 kB

Release files / femtum_sdk-0.86.0.tar.gz

Download URL femtum_sdk-0.86.0.tar.gz
Size 231.6 kB
Tags Source
SHA-256 checksum
How to use checksums
230d92b7f3a4d8a083a776bfefff09d631f9e5ccf8dfe3a81bf878d12beb3f57
BLAKE2b-256 checksum
How to use checksums
8b42dac8bde5a4b26f5294a3281924da1b84b78cf70c6f29a66e8167f4a0e373
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / femtum_sdk-0.86.0-py3-none-any.whl

Download URL femtum_sdk-0.86.0-py3-none-any.whl
Size 397.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e12de7c06274d5fe3595044a6b9021d5806f74be368d05476d7f314c5cc1e934
BLAKE2b-256 checksum
How to use checksums
9bfc50ca411e7aa2bd2591d26a0e272a751af10951c19a2c80de3e158a4ac32c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for femtum-sdk 0.86.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for femtum_sdk-0.86.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.86.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page