معرفی شرکت ها


formatdetector-0.2.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A library that can easily find out the format of a binary file.
ویژگی مقدار
سیستم عامل -
نام فایل formatdetector-0.2.0
نام formatdetector
نسخه کتابخانه 0.2.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده AkagiYui
ایمیل نویسنده akagiyui@yeah.net
آدرس صفحه اصلی https://github.com/AkagiYui/FormatDetector
آدرس اینترنتی https://pypi.org/project/formatdetector/
مجوز -
# FormatDetector [![release](https://github.com/AkagiYui/FormatDetector/workflows/release/badge.svg)](https://github.com/AkagiYui/FormatDetector/actions?query=workflow%3Arelease) [![pypi](https://img.shields.io/pypi/v/FormatDetector.svg)](https://pypi.org/project/formatdetector/) ![support-version](https://img.shields.io/pypi/pyversions/formatdetector) [![license](https://img.shields.io/github/license/AkagiYui/FormatDetector)](https://github.com/AkagiYui/FormatDetector/blob/master/LICENSE) [![commit](https://img.shields.io/github/last-commit/AkagiYui/FormatDetector)](https://github.com/AkagiYui/FormatDetector/commits/master) A python library that can easily find out the real format of a binary file with a common format. 可以轻松找到一个常见格式的二进制文件的真实格式。 The result of the finder may be wrong, please be careful. 这个工具返回的结果可能是错误的,请谨慎使用。 If you find any bug or mistake, please report it in issues. 如果你发现了任何 bug 或者错误,请在 issues 中告诉我。 ## Install 安装 ```shell pip install formatdetector ``` ## Usage 使用 ```python from formatdetector import get_file_format get_file_format('xxx.zip') # ['zip', 'jar', 'apk', 'xapk'] get_file_format('fff.mp3') # ['ogg'] # so the 'mp3' tag may be wrong get_file_format('hhh') # ['rar'] # now you find out the real format of the file with no extension name ``` ## [Changelog 更新日志](https://github.com/AkagiYui/FormatDetector/blob/master/Changelog.md) ## Thanks 致谢 [python3通过文件头判断文件类型](https://blog.csdn.net/privateobject/article/details/78069500)


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl formatdetector-0.2.0:

    pip install formatdetector-0.2.0.whl


نصب پکیج tar.gz formatdetector-0.2.0:

    pip install formatdetector-0.2.0.tar.gz