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.3.tar.gz (10.3 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.3-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for telegram_monitor_ads-1.0.3.tar.gz
Algorithm Hash digest
SHA256 d21af4605a946b12cf8bc804bd16c803f3d17c88bb2f0cd613f5f08869b63cb6
MD5 f02b881cb8644c616800af8ef23c1f30
BLAKE2b-256 b214c5f62860f6ca0af4bc2694d94c7b771d25ad76f1b28be84fa046784cab4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for telegram_monitor_ads-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b5b9d86ed589c87b6b258bb9b74eac049a76f28e734e9ad92b07da9657469367
MD5 a2e2a237403f5e0a6e19495cdb9d6a3d
BLAKE2b-256 95f3ee4c48088058903e8f1a8f199c4102f977a34af2978ad836b472505352ae

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