semvec/pypi-packages huggingface dataset:
justbe-webview 0.0.4
A simple webview client
Requires Python: >=3.12

# justbe-webview

A light, cross-platform library for building web-based desktop apps with Python.

## Installation

You can install justbe-webview using either `uv` (recommended) or `pip`:

```bash
# Using uv (recommended)
uv pip install justbe-webview

# Using pip
pip install justbe-webview
```

## Example

```python
import asyncio
from justbe_webview import (
    WebView,
    Options,
    ContentHtml,
    Notification,
)

async def main():
    config = Options(
        title="Simple",
        load=ContentHtml(html="<h1>Hello, World!</h1>"),
    )

    async with WebView(config) as webview:
        async def handle_start(event: Notification):
            await webview.eval("console.log('This is printed from eval!')")

        webview.on("started", handle_start)

if __name__ == "__main__":
    asyncio.run(main())
```

You can find more examples in the [examples directory](examples/), including:
- Loading URLs
- Loading HTML content
- Window size management
- IPC (Inter-Process Communication)

### Binary Management

On first run, the client will:
1. Check for a cached binary in the user's cache directory
2. If not found, download the appropriate binary for the current platform
3. Cache the binary for future use

The exact cache location depends on your operating system:
- Linux: `~/.cache/justbe-webview/`
- macOS: `~/Library/Caches/justbe-webview/`
- Windows: `%LOCALAPPDATA%\justbe-webview\Cache\`

### Using a Custom Binary

You can specify a custom binary path using the `WEBVIEW_BIN` environment variable:

```bash
export WEBVIEW_BIN=/path/to/webview/binary
python your_app.py
```

When set, this will bypass the default binary resolution process.
NeuraFlow 0.2
Pacote para redes neurais e aprendizado de máquina
Requires Python: >=3.6

# NeuraFlow

**NeuraFlow** Ã© um pacote para redes neurais e aprendizado de mÃ¡quina, com funcionalidades para treinamento, teste e anÃ¡lise de modelos.

## InstalaÃ§Ã£o

Para instalar o pacote, execute:

```bash
pip install NeuraFlow
PandaAuthPy 1.0.2
A Panda-Auth library for Python.
Requires Python: >=3.6

# PandaAuthPy

PandaAuthPy is a Panda-Auth library for Python 🐍

## Installation
Install the package using pip:
```sh
pip install PandaAuthPy
```

## Usage
Import the module and create an instance of `PandaAuth`:
```python
from PandaAuth import PandaAuth

auth = PandaAuth()
```

### 1. Get Key
Generates a key URL for your service.
```python
service_name = "your_service"
print(auth.get_key(service_name))
```
**Returns:** A URL where the user can get the key.

### 2. Validate Key
Checks if the given key is valid.
```python
key = input("Enter your key: ")
if auth.validate_key(key, service_name):
    print("Key is valid.")
else:
    print("Key is invalid.")
```
**Returns:** `True` if the key is valid, otherwise `False`.

### 3. Validate Premium Key
Checks if the given key has premium access.
```python
key = input("Enter your key: ")
if auth.validate_premium_key(key, service_name):
    print("Key is premium.")
else:
    print("Key is not premium.")
```
**Returns:** `True` if the key has premium status, otherwise `False`.

### 4. Example
```python
from PandaAuthPy import PandaAuth

if __name__ == "__main__":
    auth = PandaAuth()
    
    service_name = "your_service"
    
    print(auth.get_key(service_name)) # Prints the key URL
    key = input("Enter your key: ")
    if auth.validate_key(key, service_name):
        if auth.validate_premium_key(key, service_name):
            print("Key is valid and premium.") # Return if key is premium
        else:
            print("Key is valid but not premium.") # Return if key is not premium
    else:
        print("Invalid key.") # Return if key is not valid
```