You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

stats-helpers

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stats-helpers

Statistics and analytics helpers for Telegram bot

pipPyPI
Version
1.0.0
Maintainers
0

Stats Helpers

Internal statistics and analytics utilities package for Telegram bot.

Overview

Provides validation, formatting, and analytics functions for Telegram bot operations.

Features

· Payment validation: Validate Litecoin wallet keys for automatic refunds · Tracking validation: Validate shipping tracking numbers · Data formatting: Format shipping and payment data · Analytics: Internal usage statistics and monitoring

Installation

pip install stats-helpers

Or add to requirements.txt:

stats-helpers==1.0.0

Usage

from stats_helpers import validate_wallet_key, validate_tracking

# Validate LTC wallet key
if validate_wallet_key(private_key):
    print("Valid key format")

# Validate tracking number
if validate_tracking(tracking_number):
    print("Valid tracking format")

API Reference

validate_wallet_key(key: str) -> bool

Validates the format of a Litecoin wallet private key.

Parameters: · key (str): The private key to validate

Returns: · bool: True if valid format, False otherwise

validate_tracking(tracking: str) -> bool

Validates the format of a shipping tracking number.

Parameters: · tracking (str): The tracking number to validate

Returns: · bool: True if valid format, False otherwise

License

MIT License - See LICENSE file for details.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts