Skip to content

Commit 121982c

Browse files
chg: The project is now using Trusted Publishing with Pypi. Updated dependencies.
1 parent 4cbafc8 commit 121982c

10 files changed

+629
-55
lines changed

.github/workflows/release.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
on:
2+
release:
3+
types:
4+
- published
5+
6+
name: release
7+
8+
jobs:
9+
pypi-publish:
10+
name: Upload release to PyPI
11+
runs-on: ubuntu-latest
12+
environment:
13+
name: pypi
14+
url: https://pypi.org/p/pyAndroZoo
15+
16+
permissions:
17+
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
18+
steps:
19+
- uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 0
22+
- name: Install Poetry
23+
run: python -m pip install --upgrade pip poetry
24+
- name: Build artifacts
25+
run: poetry build
26+
- name: Publish package distributions to PyPI
27+
uses: pypa/gh-action-pypi-publish@release/v1

CHANGELOG.rst

+7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Release History
22
===============
33

4+
0.3.1 (2025-02-18)
5+
------------------
6+
7+
- Updated dependencies.
8+
- The project is now using Trusted Publishing with Pypi.
9+
10+
411
0.3 (2017-03-29)
512
----------------
613

MANIFEST.in

-8
This file was deleted.

README.rst

+2
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,5 @@ Contact
6060
-------
6161
6262
`Cédric Bonhomme <https://www.cedricbonhomme.org>`_
63+
64+
Copyright (C) 2017-2025 Cédric Bonhomme - https://github.com/cedricbonhomme

poetry.lock

+529
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyandrozoo/api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import os
55
from urllib.parse import urlparse, urlunparse, urlencode, parse_qs
66

7-
import grequests
7+
import grequests # type: ignore[import-untyped]
88

99
ANDROZOO_URL = 'https://androzoo.uni.lu/api/download'
1010

pyproject.toml

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
[build-system]
2+
requires = ["poetry-core>=2.0.0,<3.0.0"]
3+
build-backend = "poetry.core.masonry.api"
4+
5+
6+
[project]
7+
name = "pyAndroZoo"
8+
version = "0.3.1"
9+
description = "A Python library to access the AndroZoo data set."
10+
authors = [
11+
{name = "Cédric Bonhomme",email = "cedric@cedricbonhomme.org"}
12+
]
13+
license = "GPL-3.0-or-later"
14+
readme = "README.rst"
15+
keywords = ["android", "androzoo", "malware"]
16+
17+
requires-python = ">=3.10,<4.0"
18+
dependencies = [
19+
"grequests (>=0.7.0)"
20+
]
21+
22+
[project.urls]
23+
Homepage = "https://github.com/ICC-analysis/pyAndroZoo"
24+
Repository = "https://github.com/ICC-analysis/pyAndroZoo"
25+
Changelog = "https://github.com/ICC-analysis/pyAndroZoo/blob/master/CHANGELOG.rst"
26+
27+
28+
[tool.poetry]
29+
requires-poetry = ">=2.0"
30+
classifiers = [
31+
"Development Status :: 5 - Production/Stable",
32+
"Environment :: Console",
33+
"Intended Audience :: Developers",
34+
"Intended Audience :: Science/Research",
35+
"Topic :: Security",
36+
"Operating System :: POSIX :: Linux",
37+
"Programming Language :: Python :: 3.10",
38+
"Programming Language :: Python :: 3.11",
39+
"Programming Language :: Python :: 3.12",
40+
"Programming Language :: Python :: 3.13",
41+
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)"
42+
]
43+
44+
45+
[tool.mypy]
46+
python_version = "3.13"
47+
check_untyped_defs = true
48+
ignore_errors = false
49+
ignore_missing_imports = true
50+
strict_optional = true
51+
no_implicit_optional = true
52+
warn_unused_ignores = true
53+
warn_redundant_casts = true
54+
warn_unused_configs = true
55+
warn_unreachable = true
56+
57+
show_error_context = true
58+
pretty = true
59+
60+
exclude = "build|dist|docs"
61+
62+
[tool.isort]
63+
profile = "black"

requirements.txt

-1
This file was deleted.

setup.cfg

-2
This file was deleted.

setup.py

-43
This file was deleted.

0 commit comments

Comments
 (0)