Metadata-Version: 2.3
Name: archil-api-types
Version: 0.0.110
Summary: Generated Python types for the Archil control-plane API and process protocol
Keywords: archil,openapi,protobuf
Author: Archil, Inc.
Author-email: Archil, Inc. <support@archil.com>
License: MIT License
         
         Copyright (c) 2026 Archil, Inc.
         
         Permission is hereby granted, free of charge, to any person obtaining a copy
         of this software and associated documentation files (the "Software"), to deal
         in the Software without restriction, including without limitation the rights
         to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
         copies of the Software, and to permit persons to whom the Software is
         furnished to do so, subject to the following conditions:
         
         The above copyright notice and this permission notice shall be included in all
         copies or substantial portions of the Software.
         
         THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
         IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
         FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
         AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
         LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
         OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
         SOFTWARE.
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Typing :: Typed
Requires-Dist: typing-extensions>=4.7
Requires-Dist: protobuf>=5.28.3 ; extra == 'dev'
Requires-Dist: pytest>=8 ; extra == 'dev'
Requires-Dist: ruff>=0.14 ; extra == 'dev'
Requires-Dist: protobuf>=5.28.3 ; extra == 'process'
Requires-Python: >=3.10
Project-URL: Documentation, https://docs.archil.com
Project-URL: Homepage, https://archil.com
Provides-Extra: dev
Provides-Extra: process
Description-Content-Type: text/markdown

# archil-api-types

Generated Python types for Archil. It is the Python counterpart of the npm
package [`@archildata/api-types`](https://www.npmjs.com/package/@archildata/api-types),
and is released with it at the same version.

- `archil_api_types.schemas`: the control-plane API's schemas as `TypedDict`s,
  keyed by the JSON field names, with enums as `Literal` unions. Like the npm
  package's types, they are for type checkers only and check nothing at runtime.
- `archil_api_types.process_pb2`: internal types used by the Archil SDK. It
  needs the `process` extra.

```sh
pip install archil-api-types
pip install 'archil-api-types[process]'  # with the internal process types
```

```python
from archil_api_types.schemas import DiskResponse

def disk_name(disk: DiskResponse) -> str:
    return disk["name"]
```

Use the high-level [`archil`](https://pypi.org/project/archil/) package for the
recommended disk, object, sandbox, and agent-tool APIs. Releases before 0.0.110
also carried a generated API client, and were first published as
`archil-openapi`.
