semvec/pypi-packages huggingface dataset:
varicon-observability 1.0.24
Unified observability package for Varicon services - logs, traces, and metrics
License: MIT
Requires Python: >=3.8
Keywords: observability, logging, tracing, metrics, opentelemetry, signoz

# Varicon Observability

Unified observability package for logs, traces, and metrics across all Varicon services.

## Features

- **Universal Log Capture**: Captures all logs regardless of how they're created
- **Distributed Tracing**: Automatic trace correlation across services
- **Metrics**: System telemetry and performance metrics
- **Zero Code Changes**: Works with existing logging code
- **Framework Support**: Auto-detects and instruments Django, FastAPI, Celery

## Installation

### From Local Source (Development)

```bash
cd varicon_observability
pip install -e .

# Or with optional dependencies
pip install -e ".[full]"
```

### From Git Repository

```bash
pip install git+https://github.com/your-org/varicon-observability.git

# With optional dependencies
pip install "git+https://github.com/your-org/varicon-observability.git#egg=varicon-observability[full]"
```

### Build and Install from Source

```bash
cd varicon_observability
python -m build
pip install dist/varicon_observability-*.whl
```

### Installation Options

- **Basic**: `pip install varicon-observability`
- **Django**: `pip install varicon-observability[django]`
- **FastAPI**: `pip install varicon-observability[fastapi]`
- **Celery**: `pip install varicon-observability[celery]`
- **Full**: `pip install varicon-observability[full]`

## Quick Start

### Django (varicon)

```python
# varicon/varicon/asgi.py or settings.py
from varicon_observability import setup_observability

setup_observability(service_name="varicon-django")
```

### FastAPI (integrations_service)

```python
# integrations_service/main.py
from varicon_observability import setup_observability

setup_observability(service_name="integration-service")
```

## Configuration

Set environment variables:

```bash
OTEL_ENABLED=true
OTEL_SERVICE_NAME=my-service
OTEL_EXPORTER_OTLP_ENDPOINT=http://signoz-otel-collector:4318
OTEL_EXPORTER_OTLP_PROTOCOL=grpc  # or http
OTEL_EXPORTER_OTLP_HEADERS=signoz-ingestion-key=your-key
```

## What Gets Captured

- All Python logging (`logging.getLogger()`, `IntegrationLogger()`, etc.)
- Framework logs (Django, FastAPI, Uvicorn, Celery)
- HTTP requests (requests, httpx)
- Database queries (PostgreSQL via psycopg2)
- Redis operations
- Custom traces and metrics

**Note**: SQLAlchemy logs are disabled by default (set `ENABLE_SQLALCHEMY_LOGS=true` to enable)

## Architecture

```
Application Code
    ↓
Python Logging (any pattern)
    ↓
Root Logger Handler
    ↓
OpenTelemetry LoggingHandler
    ↓
OTLP Exporter
    ↓
SigNoz
```

All logs automatically include trace context for correlation.
tree-sitter-rsm 1.0.1
RSM grammar for tree-sitter
License: MIT
Requires Python: >=3.9
Keywords: incremental, parsing, tree-sitter, rsm

# tree-sitter-rsm

This is the reference implementation of the Readable Science Markup (RSM) language,
written as a tree-sitter grammar. RSM is one of the cornerstone components of the
[Aris](https://github.com/leotrs/aris) system. For more information [see
here](https://aris.pub).


## Development

The two main files are `grammar.js` and `src/scanner.c` which implement the language
grammar and the external scanner, respectively. The tests are defined in
`test/corpus/*.txt`, and can be executed via `npx tree-sitter test`.

Compile the grammar locally by executing
```bash
npx tree-sitter generate --abi 14
```
and build locally by executing
```bash
npx tree-sitter build
```

Once development of a feature is complete, submit a PR.


## Publishing
The grammar is released as a PyPI package by following these
[intructions](https://tree-sitter.github.io/tree-sitter/creating-parsers/6-publishing.html).
At the time of writing, a summarized version of the instructions are the following:

+ Bump the grammar version with `npx tree-sitter version <version>` and commit the changes
  generated.
+ Tag the commit with `git tag -- v<version>`.
+ Push the commit and tag with `git push --tags origin main`.
+ The `publish.yml` GitHub workflow will take care of the rest.
binance-and-crypto-payment 0.1.0
Binance and Crypto Payment Checkout
License: MIT

# binance-and-crypto-payment

Official Python SDK for Binance and Crypto Payment integration.

## Installation

pip install binance-and-crypto-payment

## Usage

from binance_and_crypto_payment import CryptoPaymentClient

client = CryptoPaymentClient("PUBLIC_KEY", "SECRET_KEY")

response = client.payment(
    invoice_id="INV001",
    amount=1.00,
    items=[{"name": "Product", "qty": "1", "price": "1.00"}],
    data={
        "first_name": "John",
        "last_name": "Doe",
        "email": "john@example.com",
        "redirect_url": "https://example.com/success",
        "notify_url": "https://example.com/notify",
        "cancel_url": "https://example.com/cancel",
    }
)

print(response)