diff --git a/Cargo.lock b/Cargo.lock index 3ab769a..3b4db70 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -115,7 +115,7 @@ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "cloudcheck" -version = "8.4.3" +version = "8.4.4" dependencies = [ "env_logger", "log", diff --git a/Cargo.toml b/Cargo.toml index b93a535..8ea8058 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cloudcheck" -version = "8.4.3" +version = "8.4.4" edition = "2024" description = "CloudCheck is a simple Rust tool to check whether an IP address or hostname belongs to a cloud provider." license = "GPL-3.0" diff --git a/cloudcheck/providers/__init__.py b/cloudcheck/providers/__init__.py index 6d11076..680ebe5 100644 --- a/cloudcheck/providers/__init__.py +++ b/cloudcheck/providers/__init__.py @@ -1,4 +1,5 @@ import importlib +from sys import stderr from pathlib import Path from typing import Dict, Type @@ -36,10 +37,9 @@ def load_provider_classes() -> Dict[str, Type[BaseProvider]]: ): provider_name = attr.__name__ _provider_classes[provider_name] = attr - print(f"Loaded provider class: {attr.__name__}") except Exception as e: - print(f"Failed to load provider from {file}: {e}") + print(f"Failed to load provider from {file}: {e}", file=stderr) raise return _provider_classes diff --git a/cloudcheck/providers/base.py b/cloudcheck/providers/base.py index 7a7712c..7e4f411 100644 --- a/cloudcheck/providers/base.py +++ b/cloudcheck/providers/base.py @@ -60,7 +60,6 @@ def name(self): def __init__(self, **data): super().__init__(**data) - print(f"Initializing {self.name}") self._cidrs = [] self._cache_dir = Path.home() / ".cache" / "cloudcheck" self._repo_url = "https://github.com/v2fly/domain-list-community.git" diff --git a/pyproject.toml b/pyproject.toml index fe95968..79fc00b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "cloudcheck" -version = "8.4.3" +version = "8.4.4" description = "Detailed database of cloud providers. Instantly look up a domain or IP address" readme = "README.md" requires-python = ">=3.9" diff --git a/uv.lock b/uv.lock index f3f8ae5..a917e10 100644 --- a/uv.lock +++ b/uv.lock @@ -140,7 +140,7 @@ wheels = [ [[package]] name = "cloudcheck" -version = "8.4.3" +version = "8.4.4" source = { editable = "." } [package.dev-dependencies]