gdsfactoryhub ¶DoData SDK.
Modules:
Name | Description |
---|---|
api_client | API client for DoData SDK. |
client | DoDataClient module for creating and managing DoData API and Query clients. |
columns | PostgREST columns definitions. |
errors | Module for defining custom exceptions for the DoData library. |
helpers | Dodata helpers module. |
query_client | Query Client for DoData. |
schemas | Defines the data models for the application, including device data, wafers, dies, cells, and projects. |
utils | Utilities for interacting with the DoData API. |
Classes:
Name | Description |
---|---|
Analysis | Analysis model. |
DeviceData | Device data model. |
DeviceDataType | Device data types. |
DoDataError | Base class for all DoData exceptions. |
ExtractionRule | Defines a rule for filtering cells. |
FunctionRunResult | Result of a function run. |
FunctionRunStatus | Status of a function run. |
FunctionTargetModel | Target models for functions. |
GDSFactoryHubClient | A client for interacting with DoData API and Query services. |
MatplotlibPlotSpec | Matplotlib plot specification for device data visualization. |
Project | Project model. |
Functions:
Name | Description |
---|---|
create_client | Create a DoDataClient instance with the provided API and Query URLs and key. |
create_client_from_env | Create a DoDataClient instance using URLs from environment variables. |
df_from_bytes | Convert bytes to a DataFrame. |
get_function_path | Get the file path of a function. |
get_module_path | Get the file path of a module. |
parallel | Run a function in parallel over a list of items. |
suppress_api_error | Context manager to suppress DoDataError and print the error message. |
Analysis ¶ Bases: BaseModel
Analysis model.
DeviceData ¶
ExtractionRule ¶ Bases: BaseModel
Defines a rule for filtering cells.
FunctionRunResult ¶ Bases: BaseModel
Result of a function run.
Methods:
Name | Description |
---|---|
is_successful | Check if the function run was successful. |
output | Return the output of the function run. |
summary_plot | Display the summary plot of the function run. |
GDSFactoryHubClient ¶
MatplotlibPlotSpec ¶ Bases: BaseModel
Matplotlib plot specification for device data visualization.
Project ¶ Bases: BaseModel
Project model.
create_client ¶create_client(
api_url: str, query_url: str, key: str, *, project_id: str = ""
) -> GDSFactoryHubClient
Create a DoDataClient instance with the provided API and Query URLs and key.
create_client_from_env ¶create_client_from_env(*, project_id: str = '') -> GDSFactoryHubClient
Create a DoDataClient instance using URLs from environment variables.
GDSFACTORY_HUB_API_URL: URL for the API client GDSFACTORY_HUB_QUERY_URL: URL for the query client GDSFACTORY_HUB_KEY: Key for both the api client and query client
parallel ¶Run a function in parallel over a list of items.