webtools-cli 1.0.7__tar.gz → 1.0.9__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.
- {webtools_cli-1.0.7 → webtools_cli-1.0.9}/PKG-INFO +1 -1
- {webtools_cli-1.0.7 → webtools_cli-1.0.9}/pyproject.toml +1 -1
- {webtools_cli-1.0.7 → webtools_cli-1.0.9}/webtools/core.py +3 -3
- {webtools_cli-1.0.7 → webtools_cli-1.0.9}/webtools_cli.egg-info/PKG-INFO +1 -1
- {webtools_cli-1.0.7 → webtools_cli-1.0.9}/LICENSE +0 -0
- {webtools_cli-1.0.7 → webtools_cli-1.0.9}/README.md +0 -0
- {webtools_cli-1.0.7 → webtools_cli-1.0.9}/setup.cfg +0 -0
- {webtools_cli-1.0.7 → webtools_cli-1.0.9}/webtools/__init__.py +0 -0
- {webtools_cli-1.0.7 → webtools_cli-1.0.9}/webtools/__main__.py +0 -0
- {webtools_cli-1.0.7 → webtools_cli-1.0.9}/webtools/cli.py +0 -0
- {webtools_cli-1.0.7 → webtools_cli-1.0.9}/webtools/web/index.html +0 -0
- {webtools_cli-1.0.7 → webtools_cli-1.0.9}/webtools/web/script.js +0 -0
- {webtools_cli-1.0.7 → webtools_cli-1.0.9}/webtools/web/style.css +0 -0
- {webtools_cli-1.0.7 → webtools_cli-1.0.9}/webtools_cli.egg-info/SOURCES.txt +0 -0
- {webtools_cli-1.0.7 → webtools_cli-1.0.9}/webtools_cli.egg-info/dependency_links.txt +0 -0
- {webtools_cli-1.0.7 → webtools_cli-1.0.9}/webtools_cli.egg-info/entry_points.txt +0 -0
- {webtools_cli-1.0.7 → webtools_cli-1.0.9}/webtools_cli.egg-info/requires.txt +0 -0
- {webtools_cli-1.0.7 → webtools_cli-1.0.9}/webtools_cli.egg-info/top_level.txt +0 -0
|
@@ -623,6 +623,7 @@ def ensure_playwright():
|
|
|
623
623
|
|
|
624
624
|
def ensure_textblob_corpora():
|
|
625
625
|
"""Ensure necessary NLTK corpora for TextBlob are downloaded"""
|
|
626
|
+
needed = ['punkt', 'brown', 'averaged_perceptron_tagger', 'wordnet', 'omw-1.4', 'conll2000', 'stopwords']
|
|
626
627
|
try:
|
|
627
628
|
import nltk
|
|
628
629
|
# OFFICIAL TEXTBLOB DOWNLOAD COMMAND (Ensures all defaults are met)
|
|
@@ -634,7 +635,6 @@ def ensure_textblob_corpora():
|
|
|
634
635
|
else: print("🧠 Fetching AI Intelligence Datasets...")
|
|
635
636
|
subprocess.run([sys.executable, "-m", "textblob.download_corpora"], check=False)
|
|
636
637
|
|
|
637
|
-
needed = ['punkt', 'brown', 'averaged_perceptron_tagger', 'wordnet', 'omw-1.4', 'conll2000', 'stopwords']
|
|
638
638
|
for corpus in needed:
|
|
639
639
|
try:
|
|
640
640
|
# Check for tokenizer or general data
|
|
@@ -649,8 +649,8 @@ def ensure_textblob_corpora():
|
|
|
649
649
|
except:
|
|
650
650
|
nltk.data.find(f'corpora/{corpus}.zip')
|
|
651
651
|
except (LookupError, AttributeError):
|
|
652
|
-
|
|
653
|
-
print(f"📦 Installing AI Intelligence Data: {corpus}...")
|
|
652
|
+
if COLOR_SUPPORT: print(f"{Fore.CYAN}📦 Installing AI Intelligence Data: {corpus}...{Style.RESET_ALL}")
|
|
653
|
+
else: print(f"📦 Installing AI Intelligence Data: {corpus}...")
|
|
654
654
|
nltk.download(corpus, quiet=True)
|
|
655
655
|
except Exception as e:
|
|
656
656
|
print(f"⚠️ AI Data Error: Could not download {needed}. AI features may be limited. ({e})")
|
|
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
|