vnai 2.0.5__tar.gz → 2.0.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vnai
3
- Version: 2.0.5
3
+ Version: 2.0.7
4
4
  Summary: System optimization and resource management toolkit
5
5
  Author-email: Vnstock HQ <support@vnstocks.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "vnai"
7
- version = "2.0.5"
7
+ version = "2.0.7"
8
8
  description = "System optimization and resource management toolkit"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.7"
@@ -10,6 +10,8 @@ import threading
10
10
  import time
11
11
  import urllib.parse
12
12
 
13
+ _vnii_check_attempted = False
14
+
13
15
  # Enum AdCategory (tương thích với vnii)
14
16
  class AdCategory:
15
17
  FREE = 0
@@ -373,11 +375,6 @@ Khám phá các tính năng mới nhất và tham gia cộng đồng để nhậ
373
375
  # Singleton instance for module-level use
374
376
  manager = ContentManager()
375
377
 
376
- # Ép buộc hiện quảng cáo ngay khi import nếu là free user
377
- if not getattr(manager, 'is_paid_user', False):
378
- manager.present_content(context="auto_import")
379
-
380
-
381
378
  def present(context: str = "init", ad_category: int = AdCategory.FREE) -> None:
382
379
  """
383
380
  Shortcut to ContentManager.present_content for external callers.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vnai
3
- Version: 2.0.5
3
+ Version: 2.0.7
4
4
  Summary: System optimization and resource management toolkit
5
5
  Author-email: Vnstock HQ <support@vnstocks.com>
6
6
  License: MIT
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes