Skip to content

Commit c19ba00

Browse files
committed
Release 0.0.69
1 parent ec2cc8c commit c19ba00

25 files changed

+549
-17
lines changed

poetry.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "axiomatic"
33

44
[tool.poetry]
55
name = "axiomatic"
6-
version = "0.0.68"
6+
version = "0.0.69"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

Lines changed: 104 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,93 @@ client.code_execution.python.execute(
966966
</dl>
967967

968968

969+
</dd>
970+
</dl>
971+
</details>
972+
973+
## Document Plot
974+
<details><summary><code>client.document.plot.<a href="src/axiomatic/document/plot/client.py">points</a>(...)</code></summary>
975+
<dl>
976+
<dd>
977+
978+
#### 📝 Description
979+
980+
<dl>
981+
<dd>
982+
983+
<dl>
984+
<dd>
985+
986+
Extracts points from plots
987+
</dd>
988+
</dl>
989+
</dd>
990+
</dl>
991+
992+
#### 🔌 Usage
993+
994+
<dl>
995+
<dd>
996+
997+
<dl>
998+
<dd>
999+
1000+
```python
1001+
from axiomatic import Axiomatic
1002+
1003+
client = Axiomatic(
1004+
api_key="YOUR_API_KEY",
1005+
)
1006+
client.document.plot.points(
1007+
b_64_img_str="b64_img_str",
1008+
)
1009+
1010+
```
1011+
</dd>
1012+
</dl>
1013+
</dd>
1014+
</dl>
1015+
1016+
#### ⚙️ Parameters
1017+
1018+
<dl>
1019+
<dd>
1020+
1021+
<dl>
1022+
<dd>
1023+
1024+
**b_64_img_str:** `str` — Img of plot as a base64 string
1025+
1026+
</dd>
1027+
</dl>
1028+
1029+
<dl>
1030+
<dd>
1031+
1032+
**method:** `typing.Optional[int]` — Can specify specific method to extract points
1033+
1034+
</dd>
1035+
</dl>
1036+
1037+
<dl>
1038+
<dd>
1039+
1040+
**plot_info:** `typing.Optional[str]` — Can add specific plot info
1041+
1042+
</dd>
1043+
</dl>
1044+
1045+
<dl>
1046+
<dd>
1047+
1048+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1049+
1050+
</dd>
1051+
</dl>
1052+
</dd>
1053+
</dl>
1054+
1055+
9691056
</dd>
9701057
</dl>
9711058
</details>
@@ -1644,6 +1731,14 @@ client.pic.circuit.generate(
16441731
<dl>
16451732
<dd>
16461733

1734+
**max_iterations:** `typing.Optional[int]`
1735+
1736+
</dd>
1737+
</dl>
1738+
1739+
<dl>
1740+
<dd>
1741+
16471742
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
16481743

16491744
</dd>
@@ -1842,6 +1937,14 @@ client.pic.circuit.optimize(
18421937
<dl>
18431938
<dd>
18441939

1940+
**config:** `typing.Optional[OptimizeConfig]`
1941+
1942+
</dd>
1943+
</dl>
1944+
1945+
<dl>
1946+
<dd>
1947+
18451948
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
18461949

18471950
</dd>
@@ -1958,7 +2061,6 @@ client = Axiomatic(
19582061
)
19592062
client.pic.circuit.placementoptimize(
19602063
netlist={"key": "value"},
1961-
method="method",
19622064
)
19632065

19642066
```
@@ -1983,7 +2085,7 @@ client.pic.circuit.placementoptimize(
19832085
<dl>
19842086
<dd>
19852087

1986-
**method:** `str`
2088+
**method:** `typing.Optional[str]`
19872089

19882090
</dd>
19892091
</dl>

src/axiomatic/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
Computation,
77
ComputationArgumentsValue,
88
CostFunction,
9+
CreateApiKeyResponse,
10+
CreateApiKeyrequest,
11+
CreateUserRequest,
12+
CreateUserResponse,
913
ExecuteCodeResponse,
1014
ExtractConstantsResponse,
1115
ExtractTextResponse,
@@ -20,10 +24,12 @@
2024
GetSpectrumResponseSpectrumItem,
2125
HttpValidationError,
2226
InteractiveResponse,
27+
MultiPoints,
2328
Net,
2429
Netlist,
2530
NetlistPlacementsValueValue,
2631
OptimizationHistory,
32+
OptimizeConfig,
2733
OptimizeNetlistResponse,
2834
OptimizePlacementBodyResponse,
2935
Parameter,
@@ -34,6 +40,7 @@
3440
PicInstanceInfoValue,
3541
PicInstanceSettingsValue,
3642
PicWarnings,
43+
Points,
3744
RefineCodeResponse,
3845
RefineComponentCodeResponse,
3946
ScheduleJobResponse,
@@ -74,6 +81,10 @@
7481
"Computation",
7582
"ComputationArgumentsValue",
7683
"CostFunction",
84+
"CreateApiKeyResponse",
85+
"CreateApiKeyrequest",
86+
"CreateUserRequest",
87+
"CreateUserResponse",
7788
"ExecuteCodeResponse",
7889
"ExtractConstantsResponse",
7990
"ExtractTextResponse",
@@ -88,10 +99,12 @@
8899
"GetSpectrumResponseSpectrumItem",
89100
"HttpValidationError",
90101
"InteractiveResponse",
102+
"MultiPoints",
91103
"Net",
92104
"Netlist",
93105
"NetlistPlacementsValueValue",
94106
"OptimizationHistory",
107+
"OptimizeConfig",
95108
"OptimizeNetlistResponse",
96109
"OptimizePlacementBodyResponse",
97110
"Parameter",
@@ -102,6 +115,7 @@
102115
"PicInstanceInfoValue",
103116
"PicInstanceSettingsValue",
104117
"PicWarnings",
118+
"Points",
105119
"RefineCodeResponse",
106120
"RefineComponentCodeResponse",
107121
"ScheduleJobResponse",

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.68",
19+
"X-Fern-SDK-Version": "0.0.69",
2020
}
2121
headers["X-API-Key"] = self.api_key
2222
return headers

src/axiomatic/document/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
# This file was auto-generated by Fern from our API Definition.
22

3+
from . import plot
4+
from .plot import PlotPointsResponse
5+
6+
__all__ = ["PlotPointsResponse", "plot"]

src/axiomatic/document/client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import typing
44
from ..core.client_wrapper import SyncClientWrapper
5+
from .plot.client import PlotClient
56
from .. import core
67
from ..core.request_options import RequestOptions
78
from ..types.extract_text_response import ExtractTextResponse
@@ -13,6 +14,7 @@
1314
from ..types.parse_response import ParseResponse
1415
from ..types.extract_constants_response import ExtractConstantsResponse
1516
from ..core.client_wrapper import AsyncClientWrapper
17+
from .plot.client import AsyncPlotClient
1618

1719
# this is used as the default value for optional parameters
1820
OMIT = typing.cast(typing.Any, ...)
@@ -21,6 +23,7 @@
2123
class DocumentClient:
2224
def __init__(self, *, client_wrapper: SyncClientWrapper):
2325
self._client_wrapper = client_wrapper
26+
self.plot = PlotClient(client_wrapper=self._client_wrapper)
2427

2528
def text(
2629
self,
@@ -243,6 +246,7 @@ def constants(
243246
class AsyncDocumentClient:
244247
def __init__(self, *, client_wrapper: AsyncClientWrapper):
245248
self._client_wrapper = client_wrapper
249+
self.plot = AsyncPlotClient(client_wrapper=self._client_wrapper)
246250

247251
async def text(
248252
self,
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# This file was auto-generated by Fern from our API Definition.
2+
3+
from .types import PlotPointsResponse
4+
5+
__all__ = ["PlotPointsResponse"]

0 commit comments

Comments
 (0)