Skip to content

Commit 6cd5917

Browse files
committed
Release 0.0.22
1 parent 0545469 commit 6cd5917

13 files changed

+489
-28
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "axiomatic"
3-
version = "0.0.21"
3+
version = "0.0.22"
44
description = ""
55
readme = "README.md"
66
authors = []

reference.md

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,6 +1102,115 @@ client.pic.verify_netlist(
11021102
</dl>
11031103

11041104

1105+
</dd>
1106+
</dl>
1107+
</details>
1108+
1109+
<details><summary><code>client.pic.<a href="src/axiomatic/pic/client.py">optimize_netlist</a>(...)</code></summary>
1110+
<dl>
1111+
<dd>
1112+
1113+
#### 📝 Description
1114+
1115+
<dl>
1116+
<dd>
1117+
1118+
<dl>
1119+
<dd>
1120+
1121+
Optimize a netlist with given constraints
1122+
</dd>
1123+
</dl>
1124+
</dd>
1125+
</dl>
1126+
1127+
#### 🔌 Usage
1128+
1129+
<dl>
1130+
<dd>
1131+
1132+
<dl>
1133+
<dd>
1134+
1135+
```python
1136+
from axiomatic import Axiomatic, Measurement, Netlist, PicComponent, Statement
1137+
1138+
client = Axiomatic(
1139+
api_key="YOUR_API_KEY",
1140+
)
1141+
client.pic.optimize_netlist(
1142+
netlist=Netlist(
1143+
name="name",
1144+
instances={
1145+
"key": PicComponent(
1146+
component="component",
1147+
)
1148+
},
1149+
connections={"key": "value"},
1150+
ports={"key": "value"},
1151+
),
1152+
statements=[
1153+
Statement(
1154+
id="id",
1155+
statement="statement",
1156+
z_3_formalization="z3_formalization",
1157+
)
1158+
],
1159+
measurements=[
1160+
Measurement(
1161+
variable="variable",
1162+
arguments={"key": "value"},
1163+
measurement_name="measurement_name",
1164+
)
1165+
],
1166+
)
1167+
1168+
```
1169+
</dd>
1170+
</dl>
1171+
</dd>
1172+
</dl>
1173+
1174+
#### ⚙️ Parameters
1175+
1176+
<dl>
1177+
<dd>
1178+
1179+
<dl>
1180+
<dd>
1181+
1182+
**netlist:** `Netlist`
1183+
1184+
</dd>
1185+
</dl>
1186+
1187+
<dl>
1188+
<dd>
1189+
1190+
**statements:** `typing.Sequence[Statement]`
1191+
1192+
</dd>
1193+
</dl>
1194+
1195+
<dl>
1196+
<dd>
1197+
1198+
**measurements:** `typing.Sequence[Measurement]`
1199+
1200+
</dd>
1201+
</dl>
1202+
1203+
<dl>
1204+
<dd>
1205+
1206+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1207+
1208+
</dd>
1209+
</dl>
1210+
</dd>
1211+
</dl>
1212+
1213+
11051214
</dd>
11061215
</dl>
11071216
</details>

src/axiomatic/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,22 @@
66
Edge,
77
ExtractLinksResponse,
88
ExtractResponse,
9+
ExtractStatementsInput,
910
ExtractStatementsResponse,
1011
ExtractTitleResponse,
1112
FormalizeResponse,
13+
GenerateCodeBody,
1214
GenerateCodeResponse,
1315
HttpValidationError,
1416
InteractiveResponse,
1517
Measurement,
1618
Netlist,
19+
OptimizeNetlistBody,
20+
OptimizeNetlistResponse,
1721
PicComponent,
1822
PicComponentInfoValue,
1923
PicComponentSettingsValue,
24+
RefineCodeBody,
2025
RefineCodeResponse,
2126
RequirementBody,
2227
SolutionResponse,
@@ -29,6 +34,7 @@
2934
ValidateResponse,
3035
ValidationError,
3136
ValidationErrorLocItem,
37+
VerifyNetlistInput,
3238
VerifyNetlistResponse,
3339
VerifyResponse,
3440
)
@@ -48,17 +54,22 @@
4854
"Edge",
4955
"ExtractLinksResponse",
5056
"ExtractResponse",
57+
"ExtractStatementsInput",
5158
"ExtractStatementsResponse",
5259
"ExtractTitleResponse",
5360
"FormalizeResponse",
61+
"GenerateCodeBody",
5462
"GenerateCodeResponse",
5563
"HttpValidationError",
5664
"InteractiveResponse",
5765
"Measurement",
5866
"Netlist",
67+
"OptimizeNetlistBody",
68+
"OptimizeNetlistResponse",
5969
"PicComponent",
6070
"PicComponentInfoValue",
6171
"PicComponentSettingsValue",
72+
"RefineCodeBody",
6273
"RefineCodeResponse",
6374
"RequirementBody",
6475
"SolutionBodyValuesValue",
@@ -73,6 +84,7 @@
7384
"ValidateResponse",
7485
"ValidationError",
7586
"ValidationErrorLocItem",
87+
"VerifyNetlistInput",
7688
"VerifyNetlistResponse",
7789
"VerifyResponse",
7890
"__version__",

src/axiomatic/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_headers(self) -> typing.Dict[str, str]:
1616
headers: typing.Dict[str, str] = {
1717
"X-Fern-Language": "Python",
1818
"X-Fern-SDK-Name": "axiomatic",
19-
"X-Fern-SDK-Version": "0.0.21",
19+
"X-Fern-SDK-Version": "0.0.22",
2020
}
2121
headers["X-API-Key"] = self.api_key
2222
return headers

0 commit comments

Comments
 (0)