python-torch-ema
LOW
maintainer harrietobrien
0 votes
scanned 2026-10-30 03:55:04.906523
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Harriet O'Brien <harrietobrien@protonmail.com>
2
3
pkgname=python-torch-ema
4
_pkgname=torch_ema
5
pkgver=0.3
6
pkgrel=1
7
pkgdesc="Exponential Moving Average of PyTorch model parameters"
8
arch=('any')
9
url="https://github.com/fadel/pytorch_ema"
10
license=('MIT')
11
depends=(
12
'python-pytorch'
13
)
14
makedepends=(
15
'python-build'
16
'python-installer'
17
'python-setuptools'
18
'python-wheel'
19
)
20
source=("${_pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
21
sha256sums=('5a3595405fa311995f01291a1d4a9242d6be08a0fc9db29152ec6cfd586ea414')
22
23
build() {
24
cd "${_pkgname}-${pkgver}"
25
/usr/bin/python -m build --wheel --no-isolation
26
}
27
28
package() {
29
cd "${_pkgname}-${pkgver}"
30
/usr/bin/python -m installer --destdir="${pkgdir}" dist/*.whl
31
}
32
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-30 03:55:04 | Low | 1 |