mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-08 23:38:49 +00:00
Clarify placeholder utils and clean imports
This commit is contained in:
@@ -18,7 +18,6 @@ import hashlib
|
|||||||
import hmac
|
import hmac
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
import traceback
|
|
||||||
from colorama import Fore
|
from colorama import Fore
|
||||||
|
|
||||||
from bip_utils import Bip32Slip10Secp256k1, Bip39MnemonicGenerator, Bip39Languages
|
from bip_utils import Bip32Slip10Secp256k1, Bip39MnemonicGenerator, Bip39Languages
|
||||||
|
@@ -17,7 +17,6 @@ from tomli import TOMLDecodeError
|
|||||||
from colorama import init as colorama_init
|
from colorama import init as colorama_init
|
||||||
from termcolor import colored
|
from termcolor import colored
|
||||||
from utils.color_scheme import color_text
|
from utils.color_scheme import color_text
|
||||||
import traceback
|
|
||||||
import importlib
|
import importlib
|
||||||
|
|
||||||
from seedpass.core.manager import PasswordManager
|
from seedpass.core.manager import PasswordManager
|
||||||
|
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
import time
|
import time
|
||||||
import logging
|
import logging
|
||||||
import traceback
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from monstr.event.event import Event
|
from monstr.event.event import Event
|
||||||
|
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
import hashlib
|
import hashlib
|
||||||
import logging
|
import logging
|
||||||
import traceback
|
|
||||||
from bech32 import bech32_encode, convertbits
|
from bech32 import bech32_encode, convertbits
|
||||||
|
|
||||||
from local_bip85.bip85 import BIP85
|
from local_bip85.bip85 import BIP85
|
||||||
|
@@ -1,8 +1,9 @@
|
|||||||
# nostr/utils.py
|
"""Placeholder utilities for Nostr.
|
||||||
|
|
||||||
import logging
|
This module is intentionally left minimal and will be expanded in future
|
||||||
|
releases as the Nostr integration grows.
|
||||||
|
"""
|
||||||
|
|
||||||
|
# The module currently provides no functionality.
|
||||||
# Example utility function (if any specific to nostr package)
|
# `pass` denotes the intentional absence of implementation.
|
||||||
def some_helper_function():
|
pass
|
||||||
pass # Implement as needed
|
|
||||||
|
@@ -15,7 +15,6 @@ import logging
|
|||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
import time
|
import time
|
||||||
import traceback
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from termcolor import colored
|
from termcolor import colored
|
||||||
|
|
||||||
|
@@ -86,7 +86,6 @@ from constants import (
|
|||||||
initialize_app,
|
initialize_app,
|
||||||
)
|
)
|
||||||
|
|
||||||
import traceback
|
|
||||||
import asyncio
|
import asyncio
|
||||||
import gzip
|
import gzip
|
||||||
import bcrypt
|
import bcrypt
|
||||||
|
@@ -23,7 +23,6 @@ import logging
|
|||||||
import hashlib
|
import hashlib
|
||||||
import string
|
import string
|
||||||
import hmac
|
import hmac
|
||||||
import traceback
|
|
||||||
import base64
|
import base64
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
@@ -15,7 +15,6 @@ import logging
|
|||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
import json
|
import json
|
||||||
import traceback
|
|
||||||
from typing import Optional, Any
|
from typing import Optional, Any
|
||||||
|
|
||||||
from termcolor import colored
|
from termcolor import colored
|
||||||
|
@@ -32,5 +32,5 @@ def color_text(text: str, category: str = "default") -> str:
|
|||||||
color = _COLOR_MAP.get(category, "white")
|
color = _COLOR_MAP.get(category, "white")
|
||||||
if color == "orange":
|
if color == "orange":
|
||||||
return _apply_orange(text)
|
return _apply_orange(text)
|
||||||
attrs = ["bold"] if category in {"info", "warning", "error"} else None
|
attrs = ["bold"] if category in {"info", "warning", "error"} else []
|
||||||
return colored(text, color, attrs=attrs)
|
return colored(text, color, attrs=attrs)
|
||||||
|
@@ -10,7 +10,6 @@ facilitating organized and secure storage.
|
|||||||
|
|
||||||
import hashlib
|
import hashlib
|
||||||
import logging
|
import logging
|
||||||
import traceback
|
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
# Instantiate the logger
|
# Instantiate the logger
|
||||||
|
@@ -3,7 +3,6 @@
|
|||||||
import os
|
import os
|
||||||
import json
|
import json
|
||||||
import logging
|
import logging
|
||||||
import traceback
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Callable, List, Optional
|
from typing import Callable, List, Optional
|
||||||
|
|
||||||
|
@@ -19,7 +19,6 @@ import hashlib
|
|||||||
import base64
|
import base64
|
||||||
import unicodedata
|
import unicodedata
|
||||||
import logging
|
import logging
|
||||||
import traceback
|
|
||||||
import hmac
|
import hmac
|
||||||
import time
|
import time
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
|
Reference in New Issue
Block a user