FormatFinder
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 安装
pip install formatfinder
Usage 使用
from formatfinder 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 更新日志
Thanks 致谢
Metadata
Release files for formatfinder 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| formatfinder-0.1.0.tar.gz | 6.0 kB | Without provenance | Details for formatfinder-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| formatfinder-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for formatfinder-0.1.0-py3-none-any.whl |
Total release size: 12.1 kB
Release files / formatfinder-0.1.0.tar.gz
| Download URL | formatfinder-0.1.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1dcfea1e10d028d27e0029b8bac9b67380dd1ba049aa32353b8bb61a7cdea5ca
|
|
BLAKE2b-256 checksum How to use checksums |
51c419edd8e7c626ce34176b94ffc3f917b803ba34c3d99797a9b4f9ad43f381
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / formatfinder-0.1.0-py3-none-any.whl
| Download URL | formatfinder-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
882636d46d3d7e60f8d6a87e7446062e0796a303296c956177a34c482b75a8e5
|
|
BLAKE2b-256 checksum How to use checksums |
3d6ffb041181410e58a9280608707d0418ac689b3a0efa2e9be988eaa78975ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for formatfinder 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.