semvec/pypi-packages huggingface dataset:
cybercafe 0.1.3
Cybercafe Python Library
Requires Python: >=3.8

# Cybercafe Python Library

[![PyPI version](https://img.shields.io/pypi/v/cybercafe.svg)](https://pypi.org/project/cybercafe/)


## Generate an API Key
[Sign up at Cybercafe](https://cybercafe.space/register) and generate an API key from the dashboard.


## Install the SDK
Install the SDK using pip:

```bash
pip install cybercafe
```


## Configure the Client
Import and configure the Cybercafe client with your API key:

```python
from cybercafe import Cybercafe

client = Cybercafe("YOUR_API_KEY")
```


## Connect to a Space
Connect to a running Space using its `SPACE_ID`:

```python
space = client.space("SPACE_ID")
```


## Interact with the Space
Use controllers to interact with the Space. For example, take a screenshot:

```python
import base64
import asyncio

async def main():
    image_base64 = await space.Screen.screenshot()
    image_bytes = base64.b64decode(image_base64)
    with open("screenshot.png", "wb") as f:
        f.write(image_bytes)

asyncio.run(main())
```
interfaced 0.1.0
Python interface system
Requires Python: <4.0,>=3.12

# Interfaced

Python interface system

## Install

```bash
pip install interfaced
```

## Quick Start

```python
from interfaced import interface, implements, is_implementation

@interface
class DataStore:
    def save(self, data: str) -> bool: ...
    async def load(self, id: str) -> str: ...

@implements(DataStore)
class MemoryStore:
    def save(self, data: str) -> bool:
        return True
    
    async def load(self, id: str) -> str:
        return "data"

store = MemoryStore()
print(is_implementation(store, DataStore))  # True
```

## Features

- Strict type enforcement for methods and attributes
- Generic interfaces with type variables  
- Zero configuration required