Skip to main content

TelegramMonitor广告管理模块

Project description

Telegram Monitor Ads

TelegramMonitor广告管理模块 - 核心依赖包

简介

这是TelegramMonitor系统的核心广告管理模块,提供:

  • 远程广告配置同步
  • 智能广告显示控制
  • 优先级管理
  • 时间段控制
  • 系统完整性验证

安装

pip install telegram-monitor-ads

基本使用

from telegram_monitor_ads import AdManager, AdConfig

# 创建配置
config = AdConfig()

# 创建广告管理器
ad_manager = AdManager(config)

# 检查是否应该显示广告
if ad_manager.should_display_ad():
    ad_content = await ad_manager.get_current_ad()
    if ad_content:
        print(ad_content)

配置选项

  • primary_url: 主要配置服务器URL
  • backup_url: 备用配置服务器URL
  • sync_interval: 同步间隔(秒)
  • default_frequency: 默认显示频率

系统要求

  • Python 3.8+
  • httpx >= 0.24.0
  • python-dateutil >= 2.8.0

许可证

专有软件 - 保留所有权利

重要说明

⚠️ 此模块是TelegramMonitor系统的核心组件,删除或修改可能导致系统无法正常运行。

⚠️ 本软件为专有软件,未经授权不得复制、修改或分发。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

telegram_monitor_ads-1.0.2.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

telegram_monitor_ads-1.0.2-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file telegram_monitor_ads-1.0.2.tar.gz.

File metadata

  • Download URL: telegram_monitor_ads-1.0.2.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for telegram_monitor_ads-1.0.2.tar.gz
Algorithm Hash digest
SHA256 12e7693dfb81c93893a54a0bee79b15e9c4ff64856934fad1d5ca82771067f1a
MD5 e2986433303879280e213cc01f9f7483
BLAKE2b-256 97e2d15fb8beddd870883c0358ad3bf7b48bd983b4b13534aa415c84ab57e1bc

See more details on using hashes here.

File details

Details for the file telegram_monitor_ads-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for telegram_monitor_ads-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 806a18bc4f523f219ddcbc7123e3dfd2187d3bfa4344c00e06c2474267cf43c8
MD5 a624adfdb07f2528a9656b3902d414a2
BLAKE2b-256 d15d401cef22de43289192ea59caa5653e63990de945ae4ccd6338c5e9a5d2fd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page