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.1.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.1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: telegram_monitor_ads-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 aaf09da95cdfa99d45596e08358ea45bf49c427181cc0c472c8aaef91c84c5b5
MD5 322a8b25c420d5a6c013e4ee402f4ce7
BLAKE2b-256 41df13bf548e2ef5f5e0bb0edcd554b7f11698cbb84f9b2aea0701af7f728c07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for telegram_monitor_ads-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 de094019581bb903103324c4eab07c607cbf4012e2515ef8173e66d59d17049f
MD5 a55a18aa8adfcd48789246a741501d58
BLAKE2b-256 292c263bb86c984778792cf285b4930d7ca8d2a0ed1ce844c41f50087c4486a7

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