notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details
py-magika Tool to determine the content type of a file with deep learning
1.0.3 sysutilsnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-08-07 05:12:18
Last Update: 2026-08-07 05:09:29
Commit Hash: f0b69e2
Also Listed In: python
License: APACHE20
WWW:
https://github.com/google/magika
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}magika>0:sysutils/py-magika@${PY_FLAVOR}
To install the port:
cd /usr/ports/sysutils/py-magika/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/py-magika
  • pkg install py312-magika
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-magika listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-magika
Package flavors (<flavor>: <package>)
  • py312: py312-magika
distinfo:
TIMESTAMP = 1786057028 SHA256 (google-magika-python-v1.0.3_GH0.tar.gz) = 8d24d6638f30f4c89e5b71fd2f6dee665e5381215b8f9d1ba88b065e57edaff4 SIZE (google-magika-python-v1.0.3_GH0.tar.gz) = 84265337

Packages (timestamps in pop-ups are UTC):
py312-magika
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest-1.0.3------
FreeBSD:14:quarterly--------
FreeBSD:15:latest-1.0.3n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest-1.0.3n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py312-hatchling>0 : devel/py-hatchling@py312
  2. python3.12 : lang/python312
  3. py312-build>=0 : devel/py-build@py312
  4. py312-installer>=0 : devel/py-installer@py312
Test dependencies:
  1. py312-requests>0 : www/py-requests@py312
  2. py312-tqdm>0 : misc/py-tqdm@py312
  3. py312-dacite>=1.9.2 : devel/py-dacite@py312
  4. py312-tomli>=2.0.1 : textproc/py-tomli@py312
  5. py312-tomli-w>=1.0.0 : textproc/py-tomli-w@py312
  6. py312-pytest>=7,1 : devel/py-pytest@py312
  7. python3.12 : lang/python312
Runtime dependencies:
  1. py312-click>=8.1.7 : devel/py-click@py312
  2. py312-onnxruntime>=1.17.0 : misc/py-onnxruntime@py312
  3. python3.12 : lang/python312
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
sysutils_py-magika
USES:
python shebangfix
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/google/magika/tar.gz/python-v1.0.3?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.0.3
07 Aug 2026 05:09:29
commit hash: f0b69e29e340f7e9e22c9a4c6b75f362a4c147cfcommit hash: f0b69e29e340f7e9e22c9a4c6b75f362a4c147cfcommit hash: f0b69e29e340f7e9e22c9a4c6b75f362a4c147cfcommit hash: f0b69e29e340f7e9e22c9a4c6b75f362a4c147cf files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
sysutils/py-magika: New port: Tool to determine the content type of a file with
deep learning

Number of commits found: 1