Switch from puremagic to magika. (#1108)

This commit is contained in:
afourney
2025-03-10 12:49:52 -07:00
committed by GitHub
parent 2405f201af
commit 8e73a325c6
3 changed files with 22 additions and 56 deletions

View File

@@ -14,9 +14,6 @@ from typing import Any, List, Optional, Union, BinaryIO
from pathlib import Path
from urllib.parse import urlparse
from warnings import warn
# File-format detection
import puremagic
import requests
from ._stream_info import StreamInfo, _guess_stream_info_from_stream