File: sdist.pyi

package info (click to toggle)
python-pkginfo 1.12.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 980 kB
  • sloc: python: 2,142; makefile: 84; sh: 14
file content (34 lines) | stat: -rw-r--r-- 1,008 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
from typing import Sequence
from .distribution import Distribution as Distribution

class NoSuchFile(ValueError):
    fqp: str
    def __init__(self, fqp: str) -> None: ...

class UnknownArchiveFormat(ValueError):
    fqp: str
    def __init__(self, fqp: str) -> None: ...

class InvalidPkgInfo(ValueError):
    fqp: str
    candidates: Sequence[Sequence[str]]
    def __init__(self, fqp: str, candidates: Sequence[Sequence[str]]) -> None:
        ...

class NoPkgInfo(ValueError):
    fqp: str
    def __init__(self, fqp: str) -> None: ...

class InvalidUnpackedSDist(ValueError):
    fqp: str
    def __init__(self, fqp: str, raised: Exception) -> None: ...

class SDist(Distribution):
    filename: str
    metadata_version: str | None
    def __init__(self, filename: str, metadata_version: str | None = ...) -> None: ...
    def read(self) -> bytes: ...

class UnpackedSDist(SDist):
    def __init__(self, filename: str, metadata_version: str | None = ...) -> None: ...
    def read(self) -> bytes: ...