semvec/pypi-packages huggingface dataset:
xkeen-subscription-watcher 0.1.0
Add your description here
Requires Python: >=3.11

# xkeen-subscription-watcher

## Использование

```bash
xkeen-subscription-watcher <tag>=<url>
```

Можно передать несколько пар `<tag>=<url>`

Скрипт получает из переданных подписок прокси, генерирует конфиг `04_outbounds.generated.json`. От каждой подписки берется только один прокси.

Если конфиг изменился, выполняется `xkeen -restart`.

## Установка

```shell
opkg install python3
curl -sSo /opt/sbin/xkeen-subscription-watcher https://raw.githubusercontent.com/tkukushkin/xkeen-subscription-watcher/refs/heads/master/src/xkeen_subscription_watcher/main.py
chmod +x /opt/sbin/xkeen-subscription-watcher
crontab -e
```

Добавляем что-то вроде:

```crontab
0 * * * * /opt/sbin/xkeen-subscription-watcher <tag>=<url>
```
 
Убираем из 04_outbounds.json прокси, которые будут теперь генерироваться из подписок, иначе теги будут конфликтовать,
оставляем например такое:

```json
{
  "outbounds": [
    {
      "tag": "direct",
      "protocol": "freedom"
    },
    {
      "tag": "block",
      "protocol": "blackhole",
      "response": {
        "type": "HTTP"
      }
    }
  ]
}
```

Разово запускаем команду из crontab, проверяем, что всё работает.
deckgen 0.10.4
Tool to create anki decks using generative AI
Requires Python: <4.0,>=3.11

# DECKGEN

deckgen is a Python package designed to generate ANKI decks using Generative AI.

## Features

- Automatically generate flashcards for ANKI
- Leverage generative AI to create questions and answers
- Easy integration with existing study workflows

## Installation

```bash
pip install deckgen
```

## Command Line Interface

```bash
>> deckgen env --openai-api-key <MY OPENAI API KEY>
>> deckgen generate --input-file path/to/notes.txt --output mydeck.apkg --name <deck name>
```

## Requirements

- Python 3.8+
- OpenAI API key

## Contributing

Contributions are welcome! Please open issues or submit pull requests.

## Disclaimer

deckgen is not affiliated with or endorsed by Anki or OpenAI.
pear-software-devtoolkit 0.1.0
A versatile command-line toolkit for developers.
Requires Python: >=3.8

# DevToolkit

A versatile command-line toolkit for developers, built with Python and Click.

## Installation

```bash
# Clone the repository
git clone https://github.com/your-username/devtoolkit.git
cd devtoolkit

# Install using poetry
poetry install
```

## Usage

Once installed, you can use the `devtoolkit` command from your terminal.

```bash
devtoolkit --help
```

### Available Commands

*   `uuid`: Generates a version 4 UUID.
*   `hash`: Hashes a string using various algorithms.
*   `jsonfmt`: Formats and validates a JSON file.
*   `envgen`: Creates a .env file from user input.
*   `port-check`: Checks if a port is free.
*   `regex-tester`: Tests a regex pattern.
*   `cheats`: Displays cheat sheets.
*   `lorem`: Generates lorem ipsum text.
*   `base64`: Encodes/decodes base64.
*   `timer`: Starts a terminal timer.
*   `timestamp`: Converts timestamps and dates.
*   `gen-password`: Generates a secure password.
*   `slugify`: Converts text to a slug.
*   `file-stats`: Shows file statistics.
*   `colorize`: Colorizes terminal text.
*   `mkproject`: Creates a basic project structure.
*   `git-ignore`: Generates a .gitignore file.
*   `url-encode`: URL-encodes a string.
*   `url-decode`: URL-decodes a string.
*   `unit-convert`: Converts units.
*   `whoami`: Displays system and user info.
*   `ipinfo`: Shows public and local IP.

### Examples

```bash
# Generate a UUID
devtoolkit uuid

# Hash a string
devtoolkit hash "hello world" --algorithm sha256

# Format a JSON file
devtoolkit jsonfmt my_data.json
```

## Development

This project uses Poetry for dependency management.

### Running Tests

```bash
poetry run pytest
```
insurgentai-shared-utils 0.4.22
A collection of shared utility functions for InsurgentAI microservices.
Requires Python: >=3.12

# Knowledge Graph Shared Utils

Shared utilities for the Knowledge Graph system, providing database clients, SQL models, and query utilities for both regular PostgreSQL operations and Apache AGE graph database operations.

## Features

- **Dual Database Support**: Separate clients for PostgreSQL (SQLModel) and Apache AGE (psycopg)
- **Type-Safe Models**: SQLModel-based SQL models with proper relationships
- **Query Utilities**: Modular query functions for different data types
- **Connection Management**: Scoped and persistent session support
- **Event Contracts**: Standardized event definitions for system communication

## Quick Start

```python
from shared_utils.clients.db_client import create_db_client
from shared_utils.clients.age_client import create_age_client
from shared_utils.queries import documents, apache_age

# Regular database operations
db_client = create_db_client()
with db_client.scoped_session() as session:
    doc = documents.get_document(session, document_id)

# Graph database operations  
age_client = create_age_client()
with age_client.scoped_session() as conn:
    nodes = apache_age.find_nodes(conn, age_client.get_graph_name(), "Person")
```

## Documentation

See [ARCHITECTURE.md](./ARCHITECTURE.md) for detailed documentation on:
- Database client architecture
- SQL models and relationships
- Query module organization
- Environment configuration
- Best practices and migration notes

## Installation

Install with your package manager:
```bash
pip install -e .
```

Required dependencies are specified in `pyproject.toml`.

## Environment Variables

See the architecture guide for complete environment variable requirements for both PostgreSQL and Apache AGE connections.
yaapp 0.0.39
Yet Another Python Package - A library bridging FastAPI and CLI interfaces
Requires Python: >=3.8
Keywords: cli, web, fastapi, click, bridge

# yaapp - Yet Another App Framework

A powerful Python framework for building CLI and web applications with plugin-based architecture.

## 🚀 Quick Start

### Try the Auth Plugin Demo
```bash
# Interactive demo launcher
./examples/plugins/auth/auth-demo.sh

# Or run directly
./examples/plugins/auth/quick-start.sh           # Basic operations
python examples/plugins/auth/workflow.py         # Complete demo (Python)
./examples/plugins/auth/workflow.sh              # Complete demo (Shell)
```

### Examples
- **Auth Plugin**: `examples/plugins/auth/` - Complete authentication & authorization
- **Storage Plugin**: `examples/plugins/storage/` - Data persistence
- **Issues Plugin**: `examples/plugins/issues/` - Issue tracking

## 📖 Documentation

- **[Development Guide](docs/development.md)** - How to develop with yaapp
- **[Design Documentation](docs/design.md)** - Architecture and design decisions
- **[Testing Guide](docs/testing.md)** - Testing strategies and examples

## 🔧 Installation

```bash
# Install from source
pip install -e .

# For CLI support
pip install click

# For web server support
pip install fastapi uvicorn
```

## 📁 Project Structure

```
yaapp/
├── src/yaapp/           # Core framework
├── examples/            # Example applications
│   └── plugins/         # Plugin examples
│       ├── auth/        # Authentication & authorization
│       ├── storage/     # Data persistence
│       └── issues/      # Issue tracking
├── tests/               # Test suites
└── docs/                # Documentation
```

## 🎯 Features

- **Plugin Architecture**: Modular, extensible design
- **Auto-Discovery**: Automatic plugin detection and configuration
- **Dual Interface**: Both CLI and web API from the same code
- **Type Safety**: Full type hints and validation
- **Configuration**: JSON/YAML configuration with environment variables
- **Storage**: Multiple backends (memory, file, SQLite)
- **Authentication**: Built-in auth and authorization
- **Testing**: Comprehensive test framework

## 🤝 Contributing

See the development guide in `docs/development.md` for contribution guidelines.

## 📄 License

[Add your license here]
powerplanner-lib 0.0.15
Client package to access powerplanner API

# PowerPlanner API Lib
Library to support accessing the powerplanner API
Mainly used for the Home assistant integration

### Create an instance with your api key from powerplanner

#### update()
Fetches all schedules from the powerplanner API and returns the raw json result

If there is removed or added plans these will be available in the "new_plans" & "old_plans" variable
The "plans_changed" variable will also be true.

#### toggle(plan_id: str, enabled:bool)
Enables or disables a plan and updates the schedules

#### set_property(plan_id: str, property_key: str, value: any)
Updates a dynamic rule value on a plan

#### get_next_change(name: str)
returns when a plan will change its enabled status

#### add_sensor(sensor)
Adds a sensor to the collection and triggers the assigned callback

#### remove_sensor(sensor_name: str)
Removes a sensor from the collection

#### time_to_change(name: str)
Returns how many seconds left it is before the plan changes status

#### is_on(name: str)
Returns the current status for a plan by checking the schedule

#### authenticate():
Checks if the api key is correct