python-alpm 0.2.0__cp310-abi3-manylinux_2_31_riscv64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of python-alpm might be problematic. Click here for more details.

alpm/py.typed ADDED
File without changes
alpm/type_aliases.py ADDED
@@ -0,0 +1,135 @@
1
+ """Type aliases for various submodules of the alpm package."""
2
+
3
+ from typing import TypeAlias, Union, Any
4
+
5
+ from alpm.alpm_types import (
6
+ Blake2b512Checksum,
7
+ Md5Checksum,
8
+ Sha1Checksum,
9
+ Sha224Checksum,
10
+ Sha256Checksum,
11
+ Sha384Checksum,
12
+ Sha512Checksum,
13
+ SkippableBlake2b512Checksum,
14
+ SkippableMd5Checksum,
15
+ SkippableSha1Checksum,
16
+ SkippableSha224Checksum,
17
+ SkippableSha256Checksum,
18
+ SkippableSha384Checksum,
19
+ SkippableSha512Checksum,
20
+ OpenPGPKeyId,
21
+ OpenPGPv4Fingerprint,
22
+ BuildEnvironmentOption,
23
+ PackageOption,
24
+ PackageVersion,
25
+ SonameV1,
26
+ PackageRelation,
27
+ BzrInfo,
28
+ FossilInfo,
29
+ GitInfo,
30
+ HgInfo,
31
+ SvnInfo,
32
+ KnownArchitecture,
33
+ UnknownArchitecture,
34
+ )
35
+
36
+ from alpm.alpm_srcinfo import SourceInfoV1
37
+
38
+ Checksum: TypeAlias = Union[
39
+ Blake2b512Checksum,
40
+ Md5Checksum,
41
+ Sha1Checksum,
42
+ Sha224Checksum,
43
+ Sha256Checksum,
44
+ Sha384Checksum,
45
+ Sha512Checksum,
46
+ ]
47
+ """A checksum using a supported algorithm"""
48
+
49
+ SkippableChecksum: TypeAlias = Union[
50
+ SkippableBlake2b512Checksum,
51
+ SkippableMd5Checksum,
52
+ SkippableSha1Checksum,
53
+ SkippableSha224Checksum,
54
+ SkippableSha256Checksum,
55
+ SkippableSha384Checksum,
56
+ SkippableSha512Checksum,
57
+ ]
58
+ """ A skippable checksum using a supported algorithm.
59
+
60
+ Strings representing checksums are used to verify the integrity of files.
61
+ If the "SKIP" keyword is found, the integrity check is skipped.
62
+ """
63
+
64
+ OpenPGPIdentifier: TypeAlias = Union[
65
+ OpenPGPKeyId,
66
+ OpenPGPv4Fingerprint,
67
+ ]
68
+ """An OpenPGP key identifier.
69
+
70
+ The OpenPGPIdentifier type represents a valid OpenPGP identifier, which can be either
71
+ an OpenPGP Key ID or an OpenPGP v4 fingerprint.
72
+ """
73
+
74
+ MakepkgOption: TypeAlias = Union[
75
+ BuildEnvironmentOption,
76
+ PackageOption,
77
+ ]
78
+ """Either PackageOption or BuildEnvironmentOption.
79
+
80
+ This is necessary for metadata files such as SRCINFO or PKGBUILD package scripts that
81
+ don't differentiate between the different types and scopes of options.
82
+ """
83
+
84
+ VersionOrSoname: TypeAlias = Union[
85
+ PackageVersion,
86
+ str,
87
+ ]
88
+ """Either a PackageVersion or a string representing a shared object name."""
89
+
90
+
91
+ RelationOrSoname: TypeAlias = Union[
92
+ SonameV1,
93
+ PackageRelation,
94
+ ]
95
+ """Either a SonameV1 or a PackageRelation."""
96
+
97
+ SystemArchitecture: TypeAlias = Union[KnownArchitecture, UnknownArchitecture]
98
+ """A specific system architecture.
99
+
100
+ Either KnownArchitecture or UnknownArchitecture.
101
+ """
102
+
103
+ SourceInfo: TypeAlias = Union[SourceInfoV1, Any]
104
+ """The representation of SRCINFO data.
105
+
106
+ Tracks all available versions of the file format.
107
+
108
+ This union includes Any to allow for future extensions without breaking changes.
109
+ """
110
+
111
+ VcsInfo: TypeAlias = Union[
112
+ BzrInfo,
113
+ FossilInfo,
114
+ GitInfo,
115
+ HgInfo,
116
+ SvnInfo,
117
+ ]
118
+ """Information on Version Control Systems (VCS) using a URL.
119
+
120
+ Several different VCS systems can be used in the context of a SourceUrl.
121
+ Each system supports addressing different types of objects and may optionally require
122
+ signature verification for those objects.
123
+ """
124
+
125
+ __all__ = [
126
+ "Checksum",
127
+ "SkippableChecksum",
128
+ "OpenPGPIdentifier",
129
+ "MakepkgOption",
130
+ "VersionOrSoname",
131
+ "RelationOrSoname",
132
+ "SystemArchitecture",
133
+ "SourceInfo",
134
+ "VcsInfo",
135
+ ]
@@ -0,0 +1,9 @@
1
+ Metadata-Version: 2.4
2
+ Name: python-alpm
3
+ Version: 0.2.0
4
+ Classifier: Programming Language :: Python :: Implementation :: CPython
5
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
6
+ Classifier: Programming Language :: Rust
7
+ Home-Page: https://alpm.archlinux.page
8
+ License-Expression: Apache-2.0 OR MIT
9
+ Requires-Python: >=3.10
@@ -0,0 +1,28 @@
1
+ alpm/__init__.py,sha256=VdNfeuoEmDNm8gxzuFz1B4WtO6EOZuUlHBN1yIvUReU,232
2
+ alpm/__pycache__/__init__.cpython-313.pyc,sha256=qh0kdrhGd1seA17RjZ6C5Fz-fPOUV7wEoomPMVAEPCg,423
3
+ alpm/__pycache__/alpm_types.cpython-313.pyc,sha256=wo-vdoOt1JlEAEXUyUkU947rlaTi38a702k6y4JMfsA,68125
4
+ alpm/__pycache__/type_aliases.cpython-313.pyc,sha256=yQddzWsmJVOzlINRGOHKEq1uvhq9rxJinZ5ROsCDahY,2061
5
+ alpm/_native.abi3.so,sha256=ghIHhDv0frxleI0cUR2SAv4SK2VAFXKcfj03fwj1CdU,1628312
6
+ alpm/_native.pyi,sha256=qtRhGpgRq5TKWrdiHGexaJU0OhHPaZ5pIvQJrBOwgWs,135
7
+ alpm/alpm_srcinfo/__init__.pyi,sha256=uU9wwNCwTElNb4G0cnsGPYgdA4KHkz-AN_lhVk1KG1A,541
8
+ alpm/alpm_srcinfo/__pycache__/__init__.cpython-313.pyc,sha256=VG9pXptXWC-KLzS_Z5SMg6KVLu9L_MQ1drFpzGp2Aac,663
9
+ alpm/alpm_srcinfo/__pycache__/error.cpython-313.pyc,sha256=7gsaWWoDD4hqO-MQIsRgQa0hUqCjiAVfLQALJSp_RYM,592
10
+ alpm/alpm_srcinfo/__pycache__/schema.cpython-313.pyc,sha256=qG3xoeZC67-T9a6MQWcu8TWqa8-gySM1_zUp_1zl5LI,3014
11
+ alpm/alpm_srcinfo/error.pyi,sha256=6XNyfzOVKcn2W52wybJSxZ6gSus_g_PdiHaClP7JaMs,201
12
+ alpm/alpm_srcinfo/schema.pyi,sha256=Y88imZSs_MguGUSN_WX0wjiiwIQmDSpu--SfARuUCCc,1982
13
+ alpm/alpm_srcinfo/source_info/__init__.pyi,sha256=oiOX3PSzxxsusuaeDbFy4xF4SagZYO6D4v5fAGjEub4,1552
14
+ alpm/alpm_srcinfo/source_info/__pycache__/__init__.cpython-313.pyc,sha256=hgWa-UpcWqvLT8M8S05gahT5w_u3Qhy6ftSrtmM_NTY,1920
15
+ alpm/alpm_srcinfo/source_info/v1/__init__.pyi,sha256=jauHv2XtubSxCfFbtGulcshPovxYL_VMxJ6P4nN_eiA,2859
16
+ alpm/alpm_srcinfo/source_info/v1/__pycache__/__init__.cpython-313.pyc,sha256=4Y1MDNPlBXeIEo3o0l7mwUzNleUlAlAavt_UrINCI6s,4003
17
+ alpm/alpm_srcinfo/source_info/v1/__pycache__/merged.cpython-313.pyc,sha256=MPPQjf2pknGP1LJm491LOASiKMxpPbreY63a3aH6W6c,9556
18
+ alpm/alpm_srcinfo/source_info/v1/__pycache__/package.cpython-313.pyc,sha256=MI3ZOyFkqQ6oVp9nsAIQS4OUe5Zj0bcNzSRDXZvVwIw,13508
19
+ alpm/alpm_srcinfo/source_info/v1/__pycache__/package_base.cpython-313.pyc,sha256=-y2Ny6ZerN5AzE-x6QT1bKch9bJiKoOcUv_xbTh6UWA,21659
20
+ alpm/alpm_srcinfo/source_info/v1/merged.pyi,sha256=jNub3dw_m2CmFxxqdpolB5R9U4vlG2z_O7e1Px0yGbw,5796
21
+ alpm/alpm_srcinfo/source_info/v1/package.pyi,sha256=BkFWLsLO-mG9c-taNbUBKO-EPpl35glA1n2FLjJwAZ0,8636
22
+ alpm/alpm_srcinfo/source_info/v1/package_base.pyi,sha256=Jce3oUsIvxP2lRxuu2nEC659sblUSA_g64F6B2wL3J0,13599
23
+ alpm/alpm_types.pyi,sha256=w3SbmrMCOVlA3KTixYuKS4InAHqIXoG6wCvd-0MHXjQ,39871
24
+ alpm/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
+ alpm/type_aliases.py,sha256=lNxU475OCuCxEPKA4RKT2FhbJWBBMaztP3ExcD4Qbv8,3227
26
+ python_alpm-0.2.0.dist-info/METADATA,sha256=cS_XtidAZS9ACGyiWcKl8Rw1BF999UCoXpqOr9y5v4g,338
27
+ python_alpm-0.2.0.dist-info/WHEEL,sha256=IKAMETgsWjnlfpGxgaIOUTmGSJGliYEPhL1ZoYsBbhE,108
28
+ python_alpm-0.2.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: maturin (1.9.6)
3
+ Root-Is-Purelib: false
4
+ Tag: cp310-abi3-manylinux_2_31_riscv64