dev-python/magika - 0.6.2 (tatsh-overlay)

Search

Install

Install this version:

emerge -a =dev-python/magika-0.6.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/magika-0.6.2

Or alternatively:

emerge --autounmask-write -a =dev-python/magika-0.6.2

Package Information

Description:
Detect file content types with a deep learning model.
Homepage:
https://google.github.io/magika/ https://github.com/google/magika https://pypi.org/project/magika/
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
0.6.2 8 ~amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=hatchling
# sci-libs/onnxruntime only provides its Python bindings for 3.12 and later.
PYTHON_COMPAT=( python3_{12..15} )

inherit distutils-r1 pypi

DESCRIPTION="Detect file content types with a deep learning model."
HOMEPAGE="https://google.github.io/magika/ https://github.com/google/magika https://pypi.org/project/magika/"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	>=dev-python/click-8.1.7[${PYTHON_USEDEP}]
	>=dev-python/numpy-2.1.0[${PYTHON_USEDEP}]
	>=dev-python/python-dotenv-1.0.1[${PYTHON_USEDEP}]
	>=sci-libs/onnxruntime-1.17.0[python,${PYTHON_USEDEP}]
"

EPYTEST_PLUGINS=()
distutils_enable_tests pytest

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/click-8.1.7[]
	>=dev-python/numpy-2.1.0[]
	>=dev-python/python-dotenv-1.0.1[]
	>=sci-libs/onnxruntime-1.17.0[python,]