Skip to main content

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系统的核心组件,删除或修改可能导致系统无法正常运行。

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

Metadata

Release files for telegram-monitor-ads 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for telegram-monitor-ads 1.0.3
File Size Uploaded
telegram_monitor_ads-1.0.3.tar.gz 10.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for telegram-monitor-ads 1.0.3
File Interpreter ABI Platform
telegram_monitor_ads-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 17.5 kB

Release files / telegram_monitor_ads-1.0.3.tar.gz

Download URL telegram_monitor_ads-1.0.3.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d21af4605a946b12cf8bc804bd16c803f3d17c88bb2f0cd613f5f08869b63cb6
BLAKE2b-256 checksum
How to use checksums
b214c5f62860f6ca0af4bc2694d94c7b771d25ad76f1b28be84fa046784cab4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / telegram_monitor_ads-1.0.3-py3-none-any.whl

Download URL telegram_monitor_ads-1.0.3-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5b9d86ed589c87b6b258bb9b74eac049a76f28e734e9ad92b07da9657469367
BLAKE2b-256 checksum
How to use checksums
95f3ee4c48088058903e8f1a8f199c4102f977a34af2978ad836b472505352ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page