> ## Documentation Index
> Fetch the complete documentation index at: https://nono.sh/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# SupportInfo

> Platform support information

`SupportInfo` provides details about sandbox support on the current platform. It's returned by the `support_info()` function.

## Properties

### is\_supported

```python theme={null}
@property
is_supported: bool
```

`True` if sandboxing is available on this platform.

```python theme={null}
from nono_py import support_info

info = support_info()
if info.is_supported:
    print("Sandbox available")
else:
    print("Sandbox not available")
```

***

### platform

```python theme={null}
@property
platform: str
```

Platform identifier string.

| Value           | Description            |
| --------------- | ---------------------- |
| `"linux"`       | Linux with Landlock    |
| `"macos"`       | macOS with Seatbelt    |
| `"unsupported"` | Platform not supported |

```python theme={null}
info = support_info()
print(info.platform)  # "macos"
```

***

### details

```python theme={null}
@property
details: str
```

Human-readable description of the support status.

```python theme={null}
info = support_info()
print(info.details)
# "Seatbelt sandbox available"
# or "Landlock ABI v5 available"
# or "Landlock not available (kernel too old)"
```

## String Representation

```python theme={null}
info = support_info()
print(repr(info))  # "SupportInfo(supported=True, platform='macos')"
```

## Example: Platform Check

```python theme={null}
from nono_py import support_info, is_supported

def check_platform():
    info = support_info()

    print(f"Platform: {info.platform}")
    print(f"Supported: {info.is_supported}")
    print(f"Details: {info.details}")

    if not info.is_supported:
        if info.platform == "linux":
            print("\nLinux detected but Landlock not available.")
            print("Ensure your kernel is 5.13+ and Landlock is enabled.")
        elif info.platform == "unsupported":
            print("\nThis platform is not supported.")
            print("nono requires Linux or macOS.")

    return info.is_supported

if not check_platform():
    exit(1)
```

## Related

* [support\_info()](/python/api/functions#support_info) - Get support information
* [is\_supported()](/python/api/functions#is_supported) - Quick boolean check
