sysutils/py-magika 1.0.3 FreeBSD
Tool to determine the content type of a file with deep learning
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
f0b69e29e3- License
- APACHE20
- Categories
- sysutils, python
- Package size
- 2921.8 KiB, 3417.8 KiB installed
Description
Magika is a tool to determine the content type of a file with deep learning. It can be used as a Python module or command-line tool to identify the type of files based on their contents.
Install
Binary package:
pkg install py312-magika
From the ports tree:
cd /usr/ports/sysutils/py-magika/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-magika>0:sysutils/py-magika
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.0.3 | 1.0.3 | - | - | - |
| FreeBSD:14:quarterly | 1.0.3 | 1.0.3 | n/a | - | - |
| FreeBSD:15:latest | 1.0.3 | 1.0.3 | n/a | - | - |
| FreeBSD:15:quarterly | 1.0.3 | 1.0.3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.0.3 | 1.0.3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}hatchling>0: devel/py-hatchling
Runtime 2
${PYTHON_PKGNAMEPREFIX}click>=8.1.7: devel/py-click${PYTHON_PKGNAMEPREFIX}onnxruntime>=1.17.0: misc/py-onnxruntime
Test 5
${PYTHON_PKGNAMEPREFIX}requests>0: www/py-requests${PYTHON_PKGNAMEPREFIX}tqdm>0: misc/py-tqdm${PYTHON_PKGNAMEPREFIX}dacite>=1.9.2: devel/py-dacite${PYTHON_PKGNAMEPREFIX}tomli>=2.0.1: textproc/py-tomli${PYTHON_PKGNAMEPREFIX}tomli-w>=1.0.0: textproc/py-tomli-w
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 22
- archivers/liblz4
- archivers/zstd
- devel/binutils
- devel/gettext-runtime
- devel/libffi
- devel/py-click
- devel/py-flatbuffers
- devel/py-packaging
- devel/py-protobuf
- devel/readline
- lang/gcc14
- lang/python312
- lang/python315
- math/gmp
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-numpy
- misc/py-onnxruntime
- print/indexinfo
- textproc/expat2
Required by 2
Configuration
No options to configure.
- USES
- python shebangfix
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| google-magika-python-v1.0.3_GH0.tar.gz | 8.4265337e+07 | 8d24d6638f30f4c89e5b71fd2f6dee665e5381215b8f9d1ba88b065e57edaff4 |