Metadata-Version: 2.5
Name: securespace
Version: 0.1.0
Summary: Send your Python agent's calls through the SecureSpace Gateway, and handle its decisions.
Project-URL: Homepage, https://securespace.club
License: Copyright (c) 2026 SecureSpace. All rights reserved.
        
        This software is provided to connect to the SecureSpace service and may be used
        only for that purpose, under the SecureSpace Terms of Service:
        https://securespace.club/legal/terms
        
        You may not modify, reverse engineer, redistribute or sublicense it except as
        those terms allow.
License-File: LICENSE
Keywords: ai-agents,gateway,policy,security
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# SecureSpace SDK for Python

Send your agent's calls to outside services through the SecureSpace Gateway. Each
call is checked against your organization's rules, and blocked calls come back
as a value you can handle, never a silent failure. Standard library only.

You need a SecureSpace account and an agent key: sign up at
https://securespace.club, then create an agent in the console.

```bash
pip install securespace
```

```python
import os
from securespace import SecureSpaceClient

client = SecureSpaceClient("https://gateway.securespace.club", os.environ["SECURESPACE_API_KEY"])

# "crm" is a service registered on the console's Upstreams page.
res = client.get("crm", "/contacts")
if res.blocked:
    print("blocked:", res.error_code)
else:
    print(res.body)
```

Requires Python 3.9 or later.
