minikai 0.1.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of minikai might be problematic. Click here for more details.
- minikai/__init__.py +8 -0
- minikai/api/__init__.py +1 -0
- minikai/api/groups/__init__.py +1 -0
- minikai/api/groups/add_minis_to_group.py +196 -0
- minikai/api/groups/add_users_to_group.py +196 -0
- minikai/api/groups/create_group.py +178 -0
- minikai/api/groups/delete_group.py +115 -0
- minikai/api/groups/get_group.py +170 -0
- minikai/api/groups/get_group_minis.py +175 -0
- minikai/api/groups/get_group_users.py +175 -0
- minikai/api/groups/get_groups.py +150 -0
- minikai/api/groups/remove_minis_from_group.py +196 -0
- minikai/api/groups/remove_users_from_group.py +196 -0
- minikai/api/groups/update_group.py +195 -0
- minikai/api/minis/__init__.py +1 -0
- minikai/api/minis/create_mini.py +178 -0
- minikai/api/minis/delete_mini.py +115 -0
- minikai/api/minis/get_external_mini.py +183 -0
- minikai/api/minis/get_minis.py +150 -0
- minikai/api/minis/patch_mini.py +195 -0
- minikai/api/minis/update_mini.py +195 -0
- minikai/api/records/__init__.py +1 -0
- minikai/api/records/add_attachments.py +203 -0
- minikai/api/records/add_relations.py +209 -0
- minikai/api/records/create_record.py +182 -0
- minikai/api/records/delete_record.py +115 -0
- minikai/api/records/download_attachment.py +119 -0
- minikai/api/records/get_created_by.py +202 -0
- minikai/api/records/get_labels.py +194 -0
- minikai/api/records/get_records_by_external.py +248 -0
- minikai/api/records/get_states.py +194 -0
- minikai/api/records/get_updated_by.py +202 -0
- minikai/api/records/remove_attachments.py +132 -0
- minikai/api/records/remove_relations.py +132 -0
- minikai/api/records/update_attachments.py +203 -0
- minikai/api/records/update_record.py +199 -0
- minikai/api/records/update_relations.py +209 -0
- minikai/api/records/upsert_records_by_external_uri.py +182 -0
- minikai/api/users/__init__.py +1 -0
- minikai/api/users/delete_api_users_minis.py +122 -0
- minikai/api/users/get_api_users_minis.py +175 -0
- minikai/api/users/get_users.py +150 -0
- minikai/api/users/post_api_users_minis.py +187 -0
- minikai/client.py +271 -0
- minikai/errors.py +14 -0
- minikai/models/__init__.py +103 -0
- minikai/models/add_attachments_body.py +140 -0
- minikai/models/batch_upsert_result.py +124 -0
- minikai/models/create_group_command.py +127 -0
- minikai/models/create_mini_command.py +144 -0
- minikai/models/create_record_command.py +263 -0
- minikai/models/create_record_command_tags.py +63 -0
- minikai/models/cursor_paginated_list_of_record_dto.py +122 -0
- minikai/models/document_file_dto.py +171 -0
- minikai/models/document_file_metadata_dto.py +72 -0
- minikai/models/failed_upsert_item.py +83 -0
- minikai/models/form_field.py +138 -0
- minikai/models/form_field_dto.py +181 -0
- minikai/models/form_field_type.py +10 -0
- minikai/models/group_dto.py +155 -0
- minikai/models/http_validation_problem_details.py +198 -0
- minikai/models/http_validation_problem_details_errors.py +74 -0
- minikai/models/mini_dto.py +224 -0
- minikai/models/mini_template_dto.py +167 -0
- minikai/models/paginated_list_of_record_dto.py +124 -0
- minikai/models/patch_mini_command.py +102 -0
- minikai/models/problem_details.py +174 -0
- minikai/models/record.py +441 -0
- minikai/models/record_attachment.py +265 -0
- minikai/models/record_attachment_dto.py +265 -0
- minikai/models/record_attachment_dto_metadata_type_0.py +63 -0
- minikai/models/record_attachment_metadata_type_0.py +63 -0
- minikai/models/record_authorization.py +107 -0
- minikai/models/record_authorization_dto.py +107 -0
- minikai/models/record_dto.py +385 -0
- minikai/models/record_dto_tags.py +63 -0
- minikai/models/record_relation.py +105 -0
- minikai/models/record_relation_dto.py +105 -0
- minikai/models/record_state.py +10 -0
- minikai/models/record_tag.py +159 -0
- minikai/models/record_tag_dto.py +68 -0
- minikai/models/slim_mini_dto.py +197 -0
- minikai/models/tool_dto.py +95 -0
- minikai/models/update_attachments_body.py +140 -0
- minikai/models/update_group_command.py +148 -0
- minikai/models/update_mini_command.py +153 -0
- minikai/models/update_mini_template_workspaces_command.py +74 -0
- minikai/models/update_record_command.py +274 -0
- minikai/models/update_record_command_tags.py +63 -0
- minikai/models/upsert_record_dto.py +275 -0
- minikai/models/upsert_record_dto_tags.py +63 -0
- minikai/models/upsert_records_by_external_uri_command.py +79 -0
- minikai/models/user_dto.py +215 -0
- minikai/models/user_to_mini_dto.py +99 -0
- minikai/models/workspace_dto.py +99 -0
- minikai/py.typed +1 -0
- minikai/types.py +53 -0
- minikai-0.1.7.dist-info/METADATA +133 -0
- minikai-0.1.7.dist-info/RECORD +100 -0
- minikai-0.1.7.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar, Optional, BinaryIO, TextIO, TYPE_CHECKING, Generator
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
from ..types import UNSET, Unset
|
|
8
|
+
|
|
9
|
+
from ..types import UNSET, Unset
|
|
10
|
+
from typing import cast, Union
|
|
11
|
+
from typing import Union
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
T = TypeVar("T", bound="UserToMiniDto")
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
@_attrs_define
|
|
23
|
+
class UserToMiniDto:
|
|
24
|
+
"""
|
|
25
|
+
Attributes:
|
|
26
|
+
user_id (Union[Unset, str]):
|
|
27
|
+
mini_id (Union[Unset, int]):
|
|
28
|
+
mini_name (Union[Unset, str]):
|
|
29
|
+
mini_description (Union[None, Unset, str]):
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
user_id: Union[Unset, str] = UNSET
|
|
33
|
+
mini_id: Union[Unset, int] = UNSET
|
|
34
|
+
mini_name: Union[Unset, str] = UNSET
|
|
35
|
+
mini_description: Union[None, Unset, str] = UNSET
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def to_dict(self) -> dict[str, Any]:
|
|
42
|
+
user_id = self.user_id
|
|
43
|
+
|
|
44
|
+
mini_id = self.mini_id
|
|
45
|
+
|
|
46
|
+
mini_name = self.mini_name
|
|
47
|
+
|
|
48
|
+
mini_description: Union[None, Unset, str]
|
|
49
|
+
if isinstance(self.mini_description, Unset):
|
|
50
|
+
mini_description = UNSET
|
|
51
|
+
else:
|
|
52
|
+
mini_description = self.mini_description
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
field_dict: dict[str, Any] = {}
|
|
56
|
+
|
|
57
|
+
field_dict.update({
|
|
58
|
+
})
|
|
59
|
+
if user_id is not UNSET:
|
|
60
|
+
field_dict["userId"] = user_id
|
|
61
|
+
if mini_id is not UNSET:
|
|
62
|
+
field_dict["miniId"] = mini_id
|
|
63
|
+
if mini_name is not UNSET:
|
|
64
|
+
field_dict["miniName"] = mini_name
|
|
65
|
+
if mini_description is not UNSET:
|
|
66
|
+
field_dict["miniDescription"] = mini_description
|
|
67
|
+
|
|
68
|
+
return field_dict
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
@classmethod
|
|
73
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
74
|
+
d = dict(src_dict)
|
|
75
|
+
user_id = d.pop("userId", UNSET)
|
|
76
|
+
|
|
77
|
+
mini_id = d.pop("miniId", UNSET)
|
|
78
|
+
|
|
79
|
+
mini_name = d.pop("miniName", UNSET)
|
|
80
|
+
|
|
81
|
+
def _parse_mini_description(data: object) -> Union[None, Unset, str]:
|
|
82
|
+
if data is None:
|
|
83
|
+
return data
|
|
84
|
+
if isinstance(data, Unset):
|
|
85
|
+
return data
|
|
86
|
+
return cast(Union[None, Unset, str], data)
|
|
87
|
+
|
|
88
|
+
mini_description = _parse_mini_description(d.pop("miniDescription", UNSET))
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
user_to_mini_dto = cls(
|
|
92
|
+
user_id=user_id,
|
|
93
|
+
mini_id=mini_id,
|
|
94
|
+
mini_name=mini_name,
|
|
95
|
+
mini_description=mini_description,
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
return user_to_mini_dto
|
|
99
|
+
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar, Optional, BinaryIO, TextIO, TYPE_CHECKING, Generator
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
from ..types import UNSET, Unset
|
|
8
|
+
|
|
9
|
+
from ..types import UNSET, Unset
|
|
10
|
+
from typing import cast, Union
|
|
11
|
+
from typing import Union
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
T = TypeVar("T", bound="WorkspaceDto")
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
@_attrs_define
|
|
23
|
+
class WorkspaceDto:
|
|
24
|
+
"""
|
|
25
|
+
Attributes:
|
|
26
|
+
id (Union[Unset, int]):
|
|
27
|
+
workspace_id (Union[Unset, str]):
|
|
28
|
+
name (Union[Unset, str]):
|
|
29
|
+
organization_id (Union[None, Unset, str]):
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
id: Union[Unset, int] = UNSET
|
|
33
|
+
workspace_id: Union[Unset, str] = UNSET
|
|
34
|
+
name: Union[Unset, str] = UNSET
|
|
35
|
+
organization_id: Union[None, Unset, str] = UNSET
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def to_dict(self) -> dict[str, Any]:
|
|
42
|
+
id = self.id
|
|
43
|
+
|
|
44
|
+
workspace_id = self.workspace_id
|
|
45
|
+
|
|
46
|
+
name = self.name
|
|
47
|
+
|
|
48
|
+
organization_id: Union[None, Unset, str]
|
|
49
|
+
if isinstance(self.organization_id, Unset):
|
|
50
|
+
organization_id = UNSET
|
|
51
|
+
else:
|
|
52
|
+
organization_id = self.organization_id
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
field_dict: dict[str, Any] = {}
|
|
56
|
+
|
|
57
|
+
field_dict.update({
|
|
58
|
+
})
|
|
59
|
+
if id is not UNSET:
|
|
60
|
+
field_dict["id"] = id
|
|
61
|
+
if workspace_id is not UNSET:
|
|
62
|
+
field_dict["workspaceId"] = workspace_id
|
|
63
|
+
if name is not UNSET:
|
|
64
|
+
field_dict["name"] = name
|
|
65
|
+
if organization_id is not UNSET:
|
|
66
|
+
field_dict["organizationId"] = organization_id
|
|
67
|
+
|
|
68
|
+
return field_dict
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
@classmethod
|
|
73
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
74
|
+
d = dict(src_dict)
|
|
75
|
+
id = d.pop("id", UNSET)
|
|
76
|
+
|
|
77
|
+
workspace_id = d.pop("workspaceId", UNSET)
|
|
78
|
+
|
|
79
|
+
name = d.pop("name", UNSET)
|
|
80
|
+
|
|
81
|
+
def _parse_organization_id(data: object) -> Union[None, Unset, str]:
|
|
82
|
+
if data is None:
|
|
83
|
+
return data
|
|
84
|
+
if isinstance(data, Unset):
|
|
85
|
+
return data
|
|
86
|
+
return cast(Union[None, Unset, str], data)
|
|
87
|
+
|
|
88
|
+
organization_id = _parse_organization_id(d.pop("organizationId", UNSET))
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
workspace_dto = cls(
|
|
92
|
+
id=id,
|
|
93
|
+
workspace_id=workspace_id,
|
|
94
|
+
name=name,
|
|
95
|
+
organization_id=organization_id,
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
return workspace_dto
|
|
99
|
+
|
minikai/py.typed
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Marker file for PEP 561
|
minikai/types.py
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
""" Contains some shared types for properties """
|
|
2
|
+
|
|
3
|
+
from collections.abc import Mapping, MutableMapping
|
|
4
|
+
from http import HTTPStatus
|
|
5
|
+
from typing import BinaryIO, Generic, Optional, TypeVar, Literal, Union, IO
|
|
6
|
+
|
|
7
|
+
from attrs import define
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Unset:
|
|
11
|
+
def __bool__(self) -> Literal[False]:
|
|
12
|
+
return False
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
UNSET: Unset = Unset()
|
|
16
|
+
|
|
17
|
+
# The types that `httpx.Client(files=)` can accept, copied from that library.
|
|
18
|
+
FileContent = Union[IO[bytes], bytes, str]
|
|
19
|
+
FileTypes = Union[
|
|
20
|
+
# (filename, file (or bytes), content_type)
|
|
21
|
+
tuple[Optional[str], FileContent, Optional[str]],
|
|
22
|
+
# (filename, file (or bytes), content_type, headers)
|
|
23
|
+
tuple[Optional[str], FileContent, Optional[str], Mapping[str, str]],
|
|
24
|
+
]
|
|
25
|
+
RequestFiles = list[tuple[str, FileTypes]]
|
|
26
|
+
|
|
27
|
+
@define
|
|
28
|
+
class File:
|
|
29
|
+
""" Contains information for file uploads """
|
|
30
|
+
|
|
31
|
+
payload: BinaryIO
|
|
32
|
+
file_name: Optional[str] = None
|
|
33
|
+
mime_type: Optional[str] = None
|
|
34
|
+
|
|
35
|
+
def to_tuple(self) -> FileTypes:
|
|
36
|
+
""" Return a tuple representation that httpx will accept for multipart/form-data """
|
|
37
|
+
return self.file_name, self.payload, self.mime_type
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
T = TypeVar("T")
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
@define
|
|
44
|
+
class Response(Generic[T]):
|
|
45
|
+
""" A response from an endpoint """
|
|
46
|
+
|
|
47
|
+
status_code: HTTPStatus
|
|
48
|
+
content: bytes
|
|
49
|
+
headers: MutableMapping[str, str]
|
|
50
|
+
parsed: Optional[T]
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
__all__ = ["UNSET", "File", "FileTypes", "RequestFiles", "Response", "Unset"]
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: minikai
|
|
3
|
+
Version: 0.1.7
|
|
4
|
+
Summary: A client library for accessing Minikai Public API
|
|
5
|
+
Requires-Dist: httpx>=0.23.0,<0.29.0
|
|
6
|
+
Requires-Dist: attrs>=22.2.0
|
|
7
|
+
Requires-Dist: python-dateutil>=2.8.0,<3
|
|
8
|
+
Requires-Python: >=3.9, <4.0
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
|
|
11
|
+
# minikai
|
|
12
|
+
A client library for accessing Minikai Public API
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
First, create a client:
|
|
16
|
+
|
|
17
|
+
```python
|
|
18
|
+
from minikai import Client
|
|
19
|
+
|
|
20
|
+
client = Client(base_url="https://api.example.com")
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
If the endpoints you're going to hit require authentication, use `AuthenticatedClient` instead:
|
|
24
|
+
|
|
25
|
+
```python
|
|
26
|
+
from minikai import AuthenticatedClient
|
|
27
|
+
|
|
28
|
+
client = AuthenticatedClient(base_url="https://api.example.com", token="SuperSecretToken")
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Now call your endpoint and use your models:
|
|
32
|
+
|
|
33
|
+
```python
|
|
34
|
+
from minikai.models import MyDataModel
|
|
35
|
+
from minikai.api.my_tag import get_my_data_model
|
|
36
|
+
from minikai.types import Response
|
|
37
|
+
|
|
38
|
+
with client as client:
|
|
39
|
+
my_data: MyDataModel = get_my_data_model.sync(client=client)
|
|
40
|
+
# or if you need more info (e.g. status_code)
|
|
41
|
+
response: Response[MyDataModel] = get_my_data_model.sync_detailed(client=client)
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Or do the same thing with an async version:
|
|
45
|
+
|
|
46
|
+
```python
|
|
47
|
+
from minikai.models import MyDataModel
|
|
48
|
+
from minikai.api.my_tag import get_my_data_model
|
|
49
|
+
from minikai.types import Response
|
|
50
|
+
|
|
51
|
+
async with client as client:
|
|
52
|
+
my_data: MyDataModel = await get_my_data_model.asyncio(client=client)
|
|
53
|
+
response: Response[MyDataModel] = await get_my_data_model.asyncio_detailed(client=client)
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
By default, when you're calling an HTTPS API it will attempt to verify that SSL is working correctly. Using certificate verification is highly recommended most of the time, but sometimes you may need to authenticate to a server (especially an internal server) using a custom certificate bundle.
|
|
57
|
+
|
|
58
|
+
```python
|
|
59
|
+
client = AuthenticatedClient(
|
|
60
|
+
base_url="https://internal_api.example.com",
|
|
61
|
+
token="SuperSecretToken",
|
|
62
|
+
verify_ssl="/path/to/certificate_bundle.pem",
|
|
63
|
+
)
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
You can also disable certificate validation altogether, but beware that **this is a security risk**.
|
|
67
|
+
|
|
68
|
+
```python
|
|
69
|
+
client = AuthenticatedClient(
|
|
70
|
+
base_url="https://internal_api.example.com",
|
|
71
|
+
token="SuperSecretToken",
|
|
72
|
+
verify_ssl=False
|
|
73
|
+
)
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Things to know:
|
|
77
|
+
1. Every path/method combo becomes a Python module with four functions:
|
|
78
|
+
1. `sync`: Blocking request that returns parsed data (if successful) or `None`
|
|
79
|
+
1. `sync_detailed`: Blocking request that always returns a `Request`, optionally with `parsed` set if the request was successful.
|
|
80
|
+
1. `asyncio`: Like `sync` but async instead of blocking
|
|
81
|
+
1. `asyncio_detailed`: Like `sync_detailed` but async instead of blocking
|
|
82
|
+
|
|
83
|
+
1. All path/query params, and bodies become method arguments.
|
|
84
|
+
1. If your endpoint had any tags on it, the first tag will be used as a module name for the function (my_tag above)
|
|
85
|
+
1. Any endpoint which did not have a tag will be in `minikai.api.default`
|
|
86
|
+
|
|
87
|
+
## Advanced customizations
|
|
88
|
+
|
|
89
|
+
There are more settings on the generated `Client` class which let you control more runtime behavior, check out the docstring on that class for more info. You can also customize the underlying `httpx.Client` or `httpx.AsyncClient` (depending on your use-case):
|
|
90
|
+
|
|
91
|
+
```python
|
|
92
|
+
from minikai import Client
|
|
93
|
+
|
|
94
|
+
def log_request(request):
|
|
95
|
+
print(f"Request event hook: {request.method} {request.url} - Waiting for response")
|
|
96
|
+
|
|
97
|
+
def log_response(response):
|
|
98
|
+
request = response.request
|
|
99
|
+
print(f"Response event hook: {request.method} {request.url} - Status {response.status_code}")
|
|
100
|
+
|
|
101
|
+
client = Client(
|
|
102
|
+
base_url="https://api.example.com",
|
|
103
|
+
httpx_args={"event_hooks": {"request": [log_request], "response": [log_response]}},
|
|
104
|
+
)
|
|
105
|
+
|
|
106
|
+
# Or get the underlying httpx client to modify directly with client.get_httpx_client() or client.get_async_httpx_client()
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
You can even set the httpx client directly, but beware that this will override any existing settings (e.g., base_url):
|
|
110
|
+
|
|
111
|
+
```python
|
|
112
|
+
import httpx
|
|
113
|
+
from minikai import Client
|
|
114
|
+
|
|
115
|
+
client = Client(
|
|
116
|
+
base_url="https://api.example.com",
|
|
117
|
+
)
|
|
118
|
+
# Note that base_url needs to be re-set, as would any shared cookies, headers, etc.
|
|
119
|
+
client.set_httpx_client(httpx.Client(base_url="https://api.example.com", proxies="http://localhost:8030"))
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
## Building / publishing this package
|
|
123
|
+
This project uses [uv](https://github.com/astral-sh/uv) to manage dependencies and packaging. Here are the basics:
|
|
124
|
+
1. Update the metadata in `pyproject.toml` (e.g. authors, version).
|
|
125
|
+
2. If you're using a private repository: https://docs.astral.sh/uv/guides/integration/alternative-indexes/
|
|
126
|
+
3. Build a distribution with `uv build`, builds `sdist` and `wheel` by default.
|
|
127
|
+
1. Publish the client with `uv publish`, see documentation for publishing to private indexes.
|
|
128
|
+
|
|
129
|
+
If you want to install this client into another project without publishing it (e.g. for development) then:
|
|
130
|
+
1. If that project **is using uv**, you can simply do `uv add <path-to-this-client>` from that project
|
|
131
|
+
1. If that project is not using uv:
|
|
132
|
+
1. Build a wheel with `uv build --wheel`.
|
|
133
|
+
1. Install that wheel from the other project `pip install <path-to-wheel>`.
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
minikai/__init__.py,sha256=kV1nYee3R-MMpA4LjiTUS1YmjrCCqrwJQ1jmr_EYlAw,163
|
|
2
|
+
minikai/api/__init__.py,sha256=87ApBzKyGb5zsgTMOkQXDqsLZCmaSFoJMwbGzCDQZMw,47
|
|
3
|
+
minikai/api/groups/__init__.py,sha256=wYN6A3_bvYW13B1J9YvYCmcv5Els-q-E07kZJwJ7Vto,58
|
|
4
|
+
minikai/api/groups/add_minis_to_group.py,sha256=LbEWypXVhfpQUGW-Te-c74Q2KWra358SW12XzBBc6hM,4542
|
|
5
|
+
minikai/api/groups/add_users_to_group.py,sha256=rMIXmr-6SESZ_5nsJYSHQJtL1goDqWQJzhSgpquolmk,4542
|
|
6
|
+
minikai/api/groups/create_group.py,sha256=7tEmrFxTzVTFb2klemRmY9_6vHOe9FAgtpkxbNoCf6o,4288
|
|
7
|
+
minikai/api/groups/delete_group.py,sha256=al1nyEm1SNTHGFGtGUC9Gr13vh7q81ShWLoeUC9SIhM,2415
|
|
8
|
+
minikai/api/groups/get_group.py,sha256=j2C3J3Zc6vBuOYBlzVvBqjAoy6sHc5t2JL2QSTLMRWM,3766
|
|
9
|
+
minikai/api/groups/get_group_minis.py,sha256=bXlK8WCUYkvJ716CWbd6XRC4X0ND_8fqdCZeJuiD0h8,4081
|
|
10
|
+
minikai/api/groups/get_group_users.py,sha256=Y3QQ9614NVX9bDIr4_k8Ul6JYvbDaVPyaQivx2QnnOQ,4028
|
|
11
|
+
minikai/api/groups/get_groups.py,sha256=4g4OHgFyTcZ1b2uR47m1Bi5KmoaMnu4y4NPG-mC8otc,3466
|
|
12
|
+
minikai/api/groups/remove_minis_from_group.py,sha256=vsALcljVvgQn7yVARfHubhY75JVsVF9yAZ4c7I3560E,4543
|
|
13
|
+
minikai/api/groups/remove_users_from_group.py,sha256=CW2aV9MKbmX63mRx3v5r6iSb5RTSbzmNQT7F91qLUBA,4543
|
|
14
|
+
minikai/api/groups/update_group.py,sha256=UTzB6oT1r3kdpfILzzG77zewVAlgGyYxTkv5EXTwjI4,4685
|
|
15
|
+
minikai/api/minis/__init__.py,sha256=wYN6A3_bvYW13B1J9YvYCmcv5Els-q-E07kZJwJ7Vto,58
|
|
16
|
+
minikai/api/minis/create_mini.py,sha256=aKcSyD4-kGIps3YwUbqO1V1H7OsbsrlVf2_ZecmHqWo,4276
|
|
17
|
+
minikai/api/minis/delete_mini.py,sha256=X3wEPhYUDUG0wnQY0sVC4Js3nutUMsVqaLkq3zFHej4,2342
|
|
18
|
+
minikai/api/minis/get_external_mini.py,sha256=PWvc04wKCwjz8sOf4xG_gacWxMYrOPSfHNSW4bT_4yA,4301
|
|
19
|
+
minikai/api/minis/get_minis.py,sha256=vQq2QfDglz6EQWz5LbEbeJB3nV4oR6Dx54WJhyhqp7g,3505
|
|
20
|
+
minikai/api/minis/patch_mini.py,sha256=O_Is_bZL_e9bkZ7yWvased9K2RGIYIgbI2TkL514w8o,4544
|
|
21
|
+
minikai/api/minis/update_mini.py,sha256=qpcaG80atqSdEQXvbpTF54uybVekdCiS-vMxVR3XPRM,4553
|
|
22
|
+
minikai/api/records/__init__.py,sha256=wYN6A3_bvYW13B1J9YvYCmcv5Els-q-E07kZJwJ7Vto,58
|
|
23
|
+
minikai/api/records/add_attachments.py,sha256=8FrSYjyNQloUzQLdjMF19FFCUkNDv2tdbNXfbswM9WU,5213
|
|
24
|
+
minikai/api/records/add_relations.py,sha256=0HuVASqQZPP9sWTvLjyED3i7L_OTcbWqhCkgUHxbnvw,5398
|
|
25
|
+
minikai/api/records/create_record.py,sha256=xCYvXNBDfiq6elY3bRO-nlJd7NUwXgnFASdS8gXNPto,4376
|
|
26
|
+
minikai/api/records/delete_record.py,sha256=wcOXyj1iYjyk4GeQ6Bpo7sIlpkmrhFAFZST8UY7H9VY,2428
|
|
27
|
+
minikai/api/records/download_attachment.py,sha256=I0BYCTxqn6hUmYwtHyjVZdjmo2V4W46XaxOcZqi071s,2612
|
|
28
|
+
minikai/api/records/get_created_by.py,sha256=96tNKqf2HoBO39dmSAkstYjxWrTY078lw0cOMpZdQAc,4757
|
|
29
|
+
minikai/api/records/get_labels.py,sha256=xsE2eYRTqfyzQXgPGWQMKYhG3eNupbPMj0hu1GKTHig,4461
|
|
30
|
+
minikai/api/records/get_records_by_external.py,sha256=82an4hDTnZW3QPGCxI0Ao1B-SvKn_7W-O4ht-BZcI_U,6181
|
|
31
|
+
minikai/api/records/get_states.py,sha256=KcWZ4BltYgw6OZfKUmFDepFXmt1ryn4sIJ6g7NrLslA,4461
|
|
32
|
+
minikai/api/records/get_updated_by.py,sha256=6hewm3EJp5TAegyw7y3Smm52VHJqEWT_iGcB5e3YGuo,4757
|
|
33
|
+
minikai/api/records/remove_attachments.py,sha256=UdQJhd_COY-cPUdVs2VhOF8OiN7ggGoHfl4LDVx4d3A,2750
|
|
34
|
+
minikai/api/records/remove_relations.py,sha256=nuXJGs38cZJ6zIg78gy5E_1Xes0F74BHvspCqvaTnlc,2748
|
|
35
|
+
minikai/api/records/update_attachments.py,sha256=9tZF6hyf3uxYEYhiQvxsVfQ_sen8kj9CyOaliJZPYuY,5245
|
|
36
|
+
minikai/api/records/update_record.py,sha256=_Y2fr7xMq7zj5URppHGvfBL4HFZHDttYdcjdJ4z36pU,4854
|
|
37
|
+
minikai/api/records/update_relations.py,sha256=vgDkiDsGAaEICjj5l-H_wi_lxoVMeK1mg7uybbRsyrM,5397
|
|
38
|
+
minikai/api/records/upsert_records_by_external_uri.py,sha256=Y91ERJvHcMwhJ2nc5jP-kcuDl5pQfFsotgvLRMjDLB8,4693
|
|
39
|
+
minikai/api/users/__init__.py,sha256=wYN6A3_bvYW13B1J9YvYCmcv5Els-q-E07kZJwJ7Vto,58
|
|
40
|
+
minikai/api/users/delete_api_users_minis.py,sha256=jpdNH_rzK3LN6G0llIl_JbTA5FsAC-0LZ78c66FRtug,2568
|
|
41
|
+
minikai/api/users/get_api_users_minis.py,sha256=kBiWl-HAnzQGxBbwxbuq73KMkUB_YO9plT768wIKhic,4087
|
|
42
|
+
minikai/api/users/get_users.py,sha256=DkZIUC9IWuWfvqNq1F4XsTAjo1LaiB7ekvKMD0EYWDw,3452
|
|
43
|
+
minikai/api/users/post_api_users_minis.py,sha256=HKywpxHf9Nut0l8ufuVZEsI-Vi-vAlyFs2ypj4TTo6w,4394
|
|
44
|
+
minikai/client.py,sha256=MQiaVLlrcv5XT405hz_Xb6ZleKaEfIiqtOelJfJsSRA,12422
|
|
45
|
+
minikai/errors.py,sha256=trp-p5qn1_JLRxGZhdHtICaNPaCrcDCe4TgIihBravk,546
|
|
46
|
+
minikai/models/__init__.py,sha256=hyXhNc5cNO81ktNTUmJl9ZkNG1LBGJ8110i-feWUiA4,3871
|
|
47
|
+
minikai/models/add_attachments_body.py,sha256=P-a9mF9ZfgwlEe2ldQFbPKCveyRhEjfPGuJkHoWxKIE,3670
|
|
48
|
+
minikai/models/batch_upsert_result.py,sha256=eDP8IEHxuuIbQ11r8HdJASgawnIlHkyLkuv7lkmbLnQ,3310
|
|
49
|
+
minikai/models/create_group_command.py,sha256=oejPqgaQ9eMPjuOpbO61y9bBIxdLBkiaM_uyIHzeToM,3171
|
|
50
|
+
minikai/models/create_mini_command.py,sha256=c1myG5XgdETvSyJGrX-h7GpRbHFr0R5sLMiQc0ZpyJQ,4037
|
|
51
|
+
minikai/models/create_record_command.py,sha256=tUlFbxHqXAIXZ5uYL-Y_5XGNz8N5Yr_xn64Goxtfy8A,8099
|
|
52
|
+
minikai/models/create_record_command_tags.py,sha256=As_aj7WHfQHTneQNq-f2EUz4zhC8io-vDj5BHOU9dDE,1392
|
|
53
|
+
minikai/models/cursor_paginated_list_of_record_dto.py,sha256=YV6AOBvgXfE-S1Jq0I4aqnYSH91Rz8zDTzkRQRDaswI,3251
|
|
54
|
+
minikai/models/document_file_dto.py,sha256=rRs3uyiexduhmIRIks2zEY2tNXo1tWEIwFpEpnPB9gA,4699
|
|
55
|
+
minikai/models/document_file_metadata_dto.py,sha256=mWnjYrCNh2yQzy9P_VBQM83oHLgcIq32i5kSqNJbuWs,1586
|
|
56
|
+
minikai/models/failed_upsert_item.py,sha256=22Aq_fUVYvzEztsknRyfaOY2Nf-vay92PS8CqFBzTsM,1781
|
|
57
|
+
minikai/models/form_field.py,sha256=jFA_4byRcPCc4eY4M19FN6B5M2eGc0mdpwOUIWi_U_I,3716
|
|
58
|
+
minikai/models/form_field_dto.py,sha256=UpqxDnFFgW1EB85buw5xggc8pGrkYcnykiozbCDJOfw,5004
|
|
59
|
+
minikai/models/form_field_type.py,sha256=fW6OEODfxB1dWAxPC6gQ6PBscSFj47f7ArejhW8npuA,425
|
|
60
|
+
minikai/models/group_dto.py,sha256=s0q7CsyC2hMoXwVVRK3-bZSqF7JafYzMbzeTIJCqmM4,3953
|
|
61
|
+
minikai/models/http_validation_problem_details.py,sha256=n2dEq8T31TDT7PFA0y-S4NQCz9ezwpMCUKHxse3dUXU,5828
|
|
62
|
+
minikai/models/http_validation_problem_details_errors.py,sha256=4lT_oiyoKAxrbTV8KWuq04mNqRH0nFUWW8h_lL0oXwU,1781
|
|
63
|
+
minikai/models/mini_dto.py,sha256=dCgJqDgBDQWePQucjPslB0Izgclm4C6KOPVip56H7SQ,6853
|
|
64
|
+
minikai/models/mini_template_dto.py,sha256=A_ElBnJtc2lbN8xZgJXGhgwSgNQS6hgPBsJ8EvduUcg,4551
|
|
65
|
+
minikai/models/paginated_list_of_record_dto.py,sha256=kwPv7UxZpQuhn9y-Vqnmd6XH31mAHfzb9q8fRyFAu3k,3283
|
|
66
|
+
minikai/models/patch_mini_command.py,sha256=W-hUZcWbh4h1P8xnYH7diiPlp2RD3Dqb2J0o1ckkYXI,2371
|
|
67
|
+
minikai/models/problem_details.py,sha256=5Gmva0NBCiwcun-q7VQpWi4C3smGE9X9R1jmL06fTPs,4754
|
|
68
|
+
minikai/models/record.py,sha256=1jJKh1QWl4Da4UkvIjD2-zNrr0qleQ9_2tVTwU4pQ2A,13791
|
|
69
|
+
minikai/models/record_attachment.py,sha256=eGdexnyM_7hv95BcoWEfJLbxY4snjl-A4OIDBGfLpv4,8020
|
|
70
|
+
minikai/models/record_attachment_dto.py,sha256=Chan6LcVKPoI2h2a8GK4tgutaGSbfXlj2_zgMqGbX4Q,8073
|
|
71
|
+
minikai/models/record_attachment_dto_metadata_type_0.py,sha256=SL2MNC334q6aIn2lBAoFh5ZABgZP2PzWBUIlPQBMthU,1443
|
|
72
|
+
minikai/models/record_attachment_metadata_type_0.py,sha256=Wq4zXZikUugFmi-80jucluWmDnQUUq9yP7YZ67BdTjI,1425
|
|
73
|
+
minikai/models/record_authorization.py,sha256=3DYRP53eBgcIqhy3kfjRaAlbKSoi-JagqXq9CEMRjDs,2425
|
|
74
|
+
minikai/models/record_authorization_dto.py,sha256=vaX9WEfiqSSRJLDwvUIas6xMXQaWSlFSOp0Dq_lp_Zg,2439
|
|
75
|
+
minikai/models/record_dto.py,sha256=zf1LuhYVmW62Hf6xB3v_9PEs5CwQfeqiA14_2nqvQWM,11996
|
|
76
|
+
minikai/models/record_dto_tags.py,sha256=ZNUvGFIzujwA-7nhn_WmrAF4SiHpZ5lybvan8vvN-os,1339
|
|
77
|
+
minikai/models/record_relation.py,sha256=P5bZxZcTtQyiwWRNpxyjjUIPzpJ-CxuA6xoj04fFJhs,2430
|
|
78
|
+
minikai/models/record_relation_dto.py,sha256=zdRtd64Yb9am0-qCZ7wP2LiwwVu7ckEfuw-M-gWvN78,2444
|
|
79
|
+
minikai/models/record_state.py,sha256=A5FH_IGSxYmfxAexzOQpP-oNPU3SQnBSnLt3lIYngd0,341
|
|
80
|
+
minikai/models/record_tag.py,sha256=BbmyeZkFWq-3EmG8ZfTRn3hZNPIewKNxDIC5eeFOOcY,4486
|
|
81
|
+
minikai/models/record_tag_dto.py,sha256=agGz1Fj3SbRzWk4mxCeW7yf3a0o7ZaOOQb14c3M2xfg,1216
|
|
82
|
+
minikai/models/slim_mini_dto.py,sha256=7rH3II07mkL41SwJEE8u6v6hcZHm44WvXmmXxCrASnM,5765
|
|
83
|
+
minikai/models/tool_dto.py,sha256=tmxGI9iTydX-jJY9RFBQPfVtMZp2BG2jodQMBh2zShU,1999
|
|
84
|
+
minikai/models/update_attachments_body.py,sha256=Vq8nOZG79zePut9iqHiIz6BR60-42K6jHgVT4ZrHP3Q,3685
|
|
85
|
+
minikai/models/update_group_command.py,sha256=M1BHvascJPK86tzjTJafvazHOd5IzCE-IHb1H6x82k4,3836
|
|
86
|
+
minikai/models/update_mini_command.py,sha256=XeTteq2QvXiUFjUDjKhhjLHW8bir5iokpZRVVnHVDag,4243
|
|
87
|
+
minikai/models/update_mini_template_workspaces_command.py,sha256=m-vHPJS_60BUHUb6GBRKwvIwpv2VoLlz034emM1Hd-4,1706
|
|
88
|
+
minikai/models/update_record_command.py,sha256=Wm-e_TFFcgZBicxcls9Z8mNXOOE4HbCapsPt6bErMfw,8448
|
|
89
|
+
minikai/models/update_record_command_tags.py,sha256=kJZ3a241woFhLv2L7dl5mRDcE5Yv6q2k84mGl-6Gfhg,1392
|
|
90
|
+
minikai/models/upsert_record_dto.py,sha256=IRLngOxFZQe-F4F8lL6c0wTLUix4UCjeHC-ZtNPeSJ8,8353
|
|
91
|
+
minikai/models/upsert_record_dto_tags.py,sha256=k1sEF422phgjDakMWZmTIF-XwrL85e0jO6wE6rpkFuY,1372
|
|
92
|
+
minikai/models/upsert_records_by_external_uri_command.py,sha256=suILkJWKyeSmyykUXPaOs9WDEx_d9rbYWgQknfDxFmY,1775
|
|
93
|
+
minikai/models/user_dto.py,sha256=Hgd-wweke5g9Kv98BaiAhFPSXyG355odOpKrhw6KjCU,6351
|
|
94
|
+
minikai/models/user_to_mini_dto.py,sha256=PKFM7VLUuHoDeMsXcteh_Bk4dqyQD5HCCy9Jt-ynLfs,2409
|
|
95
|
+
minikai/models/workspace_dto.py,sha256=CaOK9P5EfGijPHD8maZuLCq_xaChd3aUp3sLqPGabB0,2334
|
|
96
|
+
minikai/py.typed,sha256=8ZJUsxZiuOy1oJeVhsTWQhTG_6pTVHVXk5hJL79ebTk,25
|
|
97
|
+
minikai/types.py,sha256=hEuJx--jICd2FIQy390JC7wcmZgGuB-uFzp3_mouNdo,1398
|
|
98
|
+
minikai-0.1.7.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
|
|
99
|
+
minikai-0.1.7.dist-info/METADATA,sha256=dtVOhI10xTGhzLbXAr4utQ6q6x0jBGUZS2hP1QI0LSw,5106
|
|
100
|
+
minikai-0.1.7.dist-info/RECORD,,
|