semvec/pypi-packages huggingface dataset:
speedapi-lib 0.1.4
A Python library for interacting with Speed API and managing Lightning Network invoices
Requires Python: >=3.7

# speedapi_lib

This is a Python library for interacting with the Speed API and managing Lightning Network invoices.

## Installation

You can install this library from your private GitHub repository:

```bash
pip install speedapi-lib
```

## Usage

```python
from speedapi_lib.speedapi import SpeedAPI

# Initialize the SpeedAPI class with user-provided inputs
api = SpeedAPI(secret_key='your_secret_key', base_url='https://api.tryspeed.com')

# Get balance in SATS
balance = api.get_balance_sats()
print(f"Balance: {balance} SATS")

# Decode and print invoice details
invoice_str = "your_invoice_here"
invoice_info = api.get_invoice_info(invoice_str)
print(invoice_info)

# Pay the invoice if balance is sufficient
if balance >= invoice_info["amount"]:
    payment_response = api.pay_invoice(invoice_str)
    print("Payment successful:", payment_response)
else:
    print("Insufficient balance to pay invoice")

```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
safedit 0.1.2
A collaborative file editor with real-time synchronization using CRDT
Requires Python: >=3.8
Keywords: editor collaborative real-time crdt websocket

# safedit

An experimental Python package and playground for building a local, collaborative text editor that merges changes from multiple frontends serving simutaneosly and your OS editor (via file watching) without losing edits or corrupting the file, via LSEQ and CRDT techniques. Used Vue.js + FastAPI.

```
pip install safedit
safedit path/to/your/file.txt
```

<img width="1465" height="823" alt="image" src="https://github.com/user-attachments/assets/0127f63f-1af8-4d3d-8895-7de74c32ec63" />