semvec/pypi-packages huggingface dataset:
ts-topy 0.5.0
A Python-based monitoring tool for Teraslice distributed computing clusters
License: MIT
Requires Python: >=3.10

# ts-topy

A monitoring tool for Teraslice distributed computing clusters, built on Python
with Textual.

## Overview

This is a rewrite of [teraslice-top](https://github.com/godber/teraslice-top)
in Python, designed to provide better scalability and UX for monitoring
Teraslice clusters with many jobs.

## Installation

```bash
# Install using uv (recommended for CLI tools)
uv tool install ts-topy

# Or from PyPI
pip install ts-topy

# Or using pipx
pipx install ts-topy
```

## Usage

```bash
# Select from or add cluster to ~/.teraslice/aliases.yaml
ts-topy

# Specify custom URL
ts-topy https://teraslice.example.com:8000

# Set refresh interval (default: 5s)
ts-topy http://localhost:5678 --interval 5
ts-topy http://localhost:5678 -i 5

# Set request timeout (default: 10s)
ts-topy http://localhost:5678 --request-timeout 30

# All options
ts-topy https://teraslice.example.com:8000 -i 5 --request-timeout 30
```

## Features

- **Real-time monitoring** of Teraslice cluster state
- **Three-pane display** showing:
  - Execution Contexts
  - Controllers
  - Jobs
- **Global search/filter** across all data
- **Auto-refresh** with configurable intervals
- **Terminal UI** built with Textual

## Technology Stack

- **Python 3.10+**
- **uv** - Python project and package manager
- **Textual** - Terminal UI framework
- **httpx** - Async HTTP client
- **Pydantic** - Data validation and models
- **Typer** - CLI interface

## Development

```bash
# Install dependencies
uv sync

# Run the application
uv run ts-topy
```

## Releasing

This project uses GitHub Actions for automated releases to PyPI. To create a new release:

1. **Bump the version** using the bump script:

   ```bash
   # For a patch release (bug fixes)
   uv run scripts/bump_version.py patch

   # For a minor release (new features)
   uv run scripts/bump_version.py minor

   # For a major release (breaking changes)
   uv run scripts/bump_version.py major

   # Or set a specific version
   uv run scripts/bump_version.py --set 1.2.3
   ```

2. **Review and commit the changes**:

   ```bash
   git diff  # Review the version change
   git add pyproject.toml
   git commit -m "Bump version to X.Y.Z"
   ```

3. **Create and push a git tag**:

   ```bash
   git tag vX.Y.Z
   git push origin main --tags
   ```

4. **GitHub Actions will automatically**:
   - Build the package
   - Create a GitHub release
   - Publish to PyPI

5. **Verify the release**:
   - Check the [GitHub releases page](https://github.com/godber/ts-topy/releases)
   - Verify on [PyPI](https://pypi.org/project/ts-topy/)

### Manual Release (if needed)

If you need to build and publish manually:

```bash
# Build the package
uv build

# Publish to PyPI (requires PyPI credentials)
uv publish
```

## License

MIT
triplets 0.0.17
Simple tools to load/modify/export XML/RDF data using Pandas DataFrames
License: MIT

### About:

 - Parses CIM RDF/XML data to pandas dataframe with 4 columns [ID, KEY, VALUE, INSTANCE_ID] (triplestore like)
 - The solution does not care about CIM version nor namespaces
 - Input files can be xml or zip files (containing one or mutiple xml files)
 - All files are parsed into one and same Pandas DataFrame, thus if you want single file or single data model, you need to filter on INSTANCE_ID column

### Documentation:
https://haigutus.github.io/triplets

### To get started:

```shell
python -m pip install triplets
```


```python
import pandas
import triplets

path = "CGMES_v2.4.15_RealGridTestConfiguration_v2.zip"
data = pandas.read_RDF([path])
```

### Result:

![image](https://user-images.githubusercontent.com/11408965/64228384-53350500-ceef-11e9-9a8b-473ed1dc6e4d.png)


You can then query a dataframe of all same type elements and its parameters across all [EQ, SSH, TP, SV etc.] instance files, where parameters are columns and index is object ID-s

```python
data.type_tableview("ACLineSegment")
```

![image](https://user-images.githubusercontent.com/11408965/64228433-7eb7ef80-ceef-11e9-81d4-43e39ecf099d.png)


### Export:

```python
data.export_to_cimxml(
    rdf_map=schemas.ENTSOE_CGMES_2_4_15_552_ED1,
    export_type=ExportType.XML_PER_INSTANCE_ZIP_PER_XML,
)
```


Look into examples folders for more
ss-utils-logging 0.0.11
Utilities for logging with orjson serialization and advanced features
License: MIT
Requires Python: >=3.10
Keywords: configuration, logging, orjson, yaml

# ss-utils-logging

A Python logging utility package with orjson serialization and advanced configuration features.

## Features

- **ORJSON Serialization**: High-performance JSON logging with orjson
- **YAML Configuration**: Easy logging setup using YAML configuration files
- **Merging Logger Adapter**: Advanced adapter that properly merges extra fields (fixes Python <3.13 limitation)
- **Console & JSON Formatters**: Flexible formatting options for different output needs
- **Config File Generation**: Automatically generate example configuration files

## Installation

```bash
uv add ss-utils-logging
```

## Quick Start

```bash
# [one-time] Generate example configuration files in `config/` folder
# This creates example YAML configuration files (logging.yaml and logging.prod.yaml) that you can customize for your needs.
uv run ss-utils-logging config --no-overwrite
```

```python
from ss_utils_logging import configure_logging, get_logger, generate_config_files

# Configure logging with YAML file
configure_logging("config/logging.yaml")

# Set up a logger with extra context
logger = get_logger(__name__, extra={"service": "my-app", "version": "1.0.0"})

# Log with additional context (optional)
logger.info("Processing request", user_id=123, action="login")
```

## Key Components

### MergingLoggerAdapter
Fixes the Python <3.13 limitation where LoggerAdapter doesn't properly merge extra fields from both the adapter and individual log calls.

### Formatters
- `ConsoleFormatter`: Human-readable console output
- `ORJSONFormatter`: High-performance JSON output using orjson

### Configuration Management
- `configure_logging()`: Set up logging from YAML configuration
- `generate_config_files()`: Create example configuration files
- `get_logger()`: Get logger instances with optional extra context


## Test notes

- Tested only on macos