types-objgraph 3.6.0.20240907__tar.gz
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.
- types-objgraph-3.6.0.20240907/CHANGELOG.md +7 -0
- types-objgraph-3.6.0.20240907/MANIFEST.in +1 -0
- types-objgraph-3.6.0.20240907/PKG-INFO +38 -0
- types-objgraph-3.6.0.20240907/objgraph-stubs/METADATA.toml +2 -0
- types-objgraph-3.6.0.20240907/objgraph-stubs/__init__.pyi +91 -0
- types-objgraph-3.6.0.20240907/objgraph-stubs/py.typed +0 -0
- types-objgraph-3.6.0.20240907/setup.cfg +4 -0
- types-objgraph-3.6.0.20240907/setup.py +52 -0
- types-objgraph-3.6.0.20240907/types_objgraph.egg-info/PKG-INFO +38 -0
- types-objgraph-3.6.0.20240907/types_objgraph.egg-info/SOURCES.txt +10 -0
- types-objgraph-3.6.0.20240907/types_objgraph.egg-info/dependency_links.txt +1 -0
- types-objgraph-3.6.0.20240907/types_objgraph.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
include CHANGELOG.md
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: types-objgraph
|
|
3
|
+
Version: 3.6.0.20240907
|
|
4
|
+
Summary: Typing stubs for objgraph
|
|
5
|
+
Home-page: https://github.com/python/typeshed
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: GitHub, https://github.com/python/typeshed
|
|
8
|
+
Project-URL: Changes, https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/objgraph.md
|
|
9
|
+
Project-URL: Issue tracker, https://github.com/python/typeshed/issues
|
|
10
|
+
Project-URL: Chat, https://gitter.im/python/typing
|
|
11
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Typing :: Stubs Only
|
|
14
|
+
Requires-Python: >=3.8
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
|
|
17
|
+
## Typing stubs for objgraph
|
|
18
|
+
|
|
19
|
+
This is a [PEP 561](https://peps.python.org/pep-0561/)
|
|
20
|
+
type stub package for the [`objgraph`](https://github.com/mgedmin/objgraph) package.
|
|
21
|
+
It can be used by type-checking tools like
|
|
22
|
+
[mypy](https://github.com/python/mypy/),
|
|
23
|
+
[pyright](https://github.com/microsoft/pyright),
|
|
24
|
+
[pytype](https://github.com/google/pytype/),
|
|
25
|
+
PyCharm, etc. to check code that uses
|
|
26
|
+
`objgraph`.
|
|
27
|
+
|
|
28
|
+
This version of `types-objgraph` aims to provide accurate annotations
|
|
29
|
+
for `objgraph==3.6.*`.
|
|
30
|
+
The source for this package can be found at
|
|
31
|
+
https://github.com/python/typeshed/tree/main/stubs/objgraph. All fixes for
|
|
32
|
+
types and metadata should be contributed there.
|
|
33
|
+
|
|
34
|
+
See https://github.com/python/typeshed/blob/main/README.md for more details.
|
|
35
|
+
This package was generated from typeshed commit
|
|
36
|
+
[`e8e9291c76f50c3bcde79e7bb61060f5c24c054e`](https://github.com/python/typeshed/commit/e8e9291c76f50c3bcde79e7bb61060f5c24c054e) and was tested
|
|
37
|
+
with mypy 1.11.1, pyright 1.1.379, and
|
|
38
|
+
pytype 2024.4.11.
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
from _typeshed import Incomplete, SupportsWrite
|
|
2
|
+
from collections import defaultdict
|
|
3
|
+
from collections.abc import Callable, Container, Iterable
|
|
4
|
+
from types import ModuleType
|
|
5
|
+
from typing import Final, Literal
|
|
6
|
+
from typing_extensions import TypeAlias, TypeGuard
|
|
7
|
+
|
|
8
|
+
IS_INTERACTIVE: bool
|
|
9
|
+
|
|
10
|
+
__author__: Final[str]
|
|
11
|
+
__copyright__: Final[str]
|
|
12
|
+
__license__: Final[str]
|
|
13
|
+
__version__: Final[str]
|
|
14
|
+
__date__: Final[str]
|
|
15
|
+
|
|
16
|
+
# GraphViz has types, but does not include the py.typed file.
|
|
17
|
+
# See https://github.com/xflr6/graphviz/pull/180
|
|
18
|
+
_GraphvizSource: TypeAlias = Incomplete
|
|
19
|
+
_Filter: TypeAlias = Callable[[object], bool]
|
|
20
|
+
|
|
21
|
+
def count(typename: str, objects: Iterable[object] | None = None) -> int: ...
|
|
22
|
+
def typestats(
|
|
23
|
+
objects: Iterable[object] | None = None, shortnames: bool = True, filter: _Filter | None = None
|
|
24
|
+
) -> dict[str, int]: ...
|
|
25
|
+
def most_common_types(
|
|
26
|
+
limit: int = 10, objects: Iterable[object] | None = None, shortnames: bool = True, filter: _Filter | None = None
|
|
27
|
+
) -> list[tuple[str, int]]: ...
|
|
28
|
+
def show_most_common_types(
|
|
29
|
+
limit: int = 10,
|
|
30
|
+
objects: Iterable[object] | None = None,
|
|
31
|
+
shortnames: bool = True,
|
|
32
|
+
file: SupportsWrite[str] | None = None,
|
|
33
|
+
filter: _Filter | None = None,
|
|
34
|
+
) -> None: ...
|
|
35
|
+
def growth(
|
|
36
|
+
limit: int = 10, peak_stats: dict[str, int] = {}, shortnames: bool = True, filter: _Filter | None = None
|
|
37
|
+
) -> list[tuple[str, int, int]]: ...
|
|
38
|
+
def show_growth(
|
|
39
|
+
limit: int = 10,
|
|
40
|
+
peak_stats: dict[str, int] | None = None,
|
|
41
|
+
shortnames: bool = True,
|
|
42
|
+
file: SupportsWrite[str] | None = None,
|
|
43
|
+
filter: _Filter | None = None,
|
|
44
|
+
) -> None: ...
|
|
45
|
+
def get_new_ids(
|
|
46
|
+
skip_update: bool = False,
|
|
47
|
+
limit: int = 10,
|
|
48
|
+
sortby: Literal["old", "current", "new", "deltas"] = "deltas",
|
|
49
|
+
shortnames: bool | None = None,
|
|
50
|
+
file: SupportsWrite[str] | None = None,
|
|
51
|
+
) -> defaultdict[str, set[int]]: ...
|
|
52
|
+
def get_leaking_objects(objects: Iterable[object] | None = None) -> list[object]: ...
|
|
53
|
+
def by_type(typename: str, objects: Iterable[object] | None = None) -> list[object]: ...
|
|
54
|
+
def at(addr: int) -> object: ...
|
|
55
|
+
def at_addrs(address_set: Container[int]) -> list[object]: ...
|
|
56
|
+
def find_ref_chain(obj: object, predicate: _Filter, max_depth: int = 20, extra_ignore: Iterable[int] = ()) -> list[object]: ...
|
|
57
|
+
def find_backref_chain(
|
|
58
|
+
obj: object, predicate: _Filter, max_depth: int = 20, extra_ignore: Iterable[int] = ()
|
|
59
|
+
) -> list[object]: ...
|
|
60
|
+
def show_backrefs(
|
|
61
|
+
objs: object,
|
|
62
|
+
max_depth: int = 3,
|
|
63
|
+
extra_ignore: Iterable[int] = (),
|
|
64
|
+
filter: _Filter | None = None,
|
|
65
|
+
too_many: int = 10,
|
|
66
|
+
highlight: object = None,
|
|
67
|
+
filename: str | None = None,
|
|
68
|
+
extra_info: Callable[[object], str] | None = None,
|
|
69
|
+
refcounts: bool = False,
|
|
70
|
+
shortnames: bool = True,
|
|
71
|
+
output: SupportsWrite[str] | None = None,
|
|
72
|
+
extra_node_attrs: Callable[[object], dict[str, str]] | None = None,
|
|
73
|
+
) -> None | _GraphvizSource: ...
|
|
74
|
+
def show_refs(
|
|
75
|
+
objs: object,
|
|
76
|
+
max_depth: int = 3,
|
|
77
|
+
extra_ignore: Iterable[int] = (),
|
|
78
|
+
filter: _Filter | None = None,
|
|
79
|
+
too_many: int = 10,
|
|
80
|
+
highlight: object = None,
|
|
81
|
+
filename: str | None = None,
|
|
82
|
+
extra_info: Callable[[object], str] | None = None,
|
|
83
|
+
refcounts: bool = False,
|
|
84
|
+
shortnames: bool = True,
|
|
85
|
+
output: SupportsWrite[str] | None = None,
|
|
86
|
+
extra_node_attrs: Callable[[object], dict[str, str]] | None = None,
|
|
87
|
+
) -> None | _GraphvizSource: ...
|
|
88
|
+
def show_chain(
|
|
89
|
+
*chains: list[object], obj: object, predicate: _Filter, max_depth: int = 20, extra_ignore: Iterable[int] = ()
|
|
90
|
+
) -> None: ...
|
|
91
|
+
def is_proper_module(obj: object) -> TypeGuard[ModuleType]: ...
|
|
File without changes
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
from setuptools import setup
|
|
2
|
+
|
|
3
|
+
name = "types-objgraph"
|
|
4
|
+
description = "Typing stubs for objgraph"
|
|
5
|
+
long_description = '''
|
|
6
|
+
## Typing stubs for objgraph
|
|
7
|
+
|
|
8
|
+
This is a [PEP 561](https://peps.python.org/pep-0561/)
|
|
9
|
+
type stub package for the [`objgraph`](https://github.com/mgedmin/objgraph) package.
|
|
10
|
+
It can be used by type-checking tools like
|
|
11
|
+
[mypy](https://github.com/python/mypy/),
|
|
12
|
+
[pyright](https://github.com/microsoft/pyright),
|
|
13
|
+
[pytype](https://github.com/google/pytype/),
|
|
14
|
+
PyCharm, etc. to check code that uses
|
|
15
|
+
`objgraph`.
|
|
16
|
+
|
|
17
|
+
This version of `types-objgraph` aims to provide accurate annotations
|
|
18
|
+
for `objgraph==3.6.*`.
|
|
19
|
+
The source for this package can be found at
|
|
20
|
+
https://github.com/python/typeshed/tree/main/stubs/objgraph. All fixes for
|
|
21
|
+
types and metadata should be contributed there.
|
|
22
|
+
|
|
23
|
+
See https://github.com/python/typeshed/blob/main/README.md for more details.
|
|
24
|
+
This package was generated from typeshed commit
|
|
25
|
+
[`e8e9291c76f50c3bcde79e7bb61060f5c24c054e`](https://github.com/python/typeshed/commit/e8e9291c76f50c3bcde79e7bb61060f5c24c054e) and was tested
|
|
26
|
+
with mypy 1.11.1, pyright 1.1.379, and
|
|
27
|
+
pytype 2024.4.11.
|
|
28
|
+
'''.lstrip()
|
|
29
|
+
|
|
30
|
+
setup(name=name,
|
|
31
|
+
version="3.6.0.20240907",
|
|
32
|
+
description=description,
|
|
33
|
+
long_description=long_description,
|
|
34
|
+
long_description_content_type="text/markdown",
|
|
35
|
+
url="https://github.com/python/typeshed",
|
|
36
|
+
project_urls={
|
|
37
|
+
"GitHub": "https://github.com/python/typeshed",
|
|
38
|
+
"Changes": "https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/objgraph.md",
|
|
39
|
+
"Issue tracker": "https://github.com/python/typeshed/issues",
|
|
40
|
+
"Chat": "https://gitter.im/python/typing",
|
|
41
|
+
},
|
|
42
|
+
install_requires=[],
|
|
43
|
+
packages=['objgraph-stubs'],
|
|
44
|
+
package_data={'objgraph-stubs': ['__init__.pyi', 'METADATA.toml', 'py.typed']},
|
|
45
|
+
license="Apache-2.0",
|
|
46
|
+
python_requires=">=3.8",
|
|
47
|
+
classifiers=[
|
|
48
|
+
"License :: OSI Approved :: Apache Software License",
|
|
49
|
+
"Programming Language :: Python :: 3",
|
|
50
|
+
"Typing :: Stubs Only",
|
|
51
|
+
]
|
|
52
|
+
)
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: types-objgraph
|
|
3
|
+
Version: 3.6.0.20240907
|
|
4
|
+
Summary: Typing stubs for objgraph
|
|
5
|
+
Home-page: https://github.com/python/typeshed
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: GitHub, https://github.com/python/typeshed
|
|
8
|
+
Project-URL: Changes, https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/objgraph.md
|
|
9
|
+
Project-URL: Issue tracker, https://github.com/python/typeshed/issues
|
|
10
|
+
Project-URL: Chat, https://gitter.im/python/typing
|
|
11
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Typing :: Stubs Only
|
|
14
|
+
Requires-Python: >=3.8
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
|
|
17
|
+
## Typing stubs for objgraph
|
|
18
|
+
|
|
19
|
+
This is a [PEP 561](https://peps.python.org/pep-0561/)
|
|
20
|
+
type stub package for the [`objgraph`](https://github.com/mgedmin/objgraph) package.
|
|
21
|
+
It can be used by type-checking tools like
|
|
22
|
+
[mypy](https://github.com/python/mypy/),
|
|
23
|
+
[pyright](https://github.com/microsoft/pyright),
|
|
24
|
+
[pytype](https://github.com/google/pytype/),
|
|
25
|
+
PyCharm, etc. to check code that uses
|
|
26
|
+
`objgraph`.
|
|
27
|
+
|
|
28
|
+
This version of `types-objgraph` aims to provide accurate annotations
|
|
29
|
+
for `objgraph==3.6.*`.
|
|
30
|
+
The source for this package can be found at
|
|
31
|
+
https://github.com/python/typeshed/tree/main/stubs/objgraph. All fixes for
|
|
32
|
+
types and metadata should be contributed there.
|
|
33
|
+
|
|
34
|
+
See https://github.com/python/typeshed/blob/main/README.md for more details.
|
|
35
|
+
This package was generated from typeshed commit
|
|
36
|
+
[`e8e9291c76f50c3bcde79e7bb61060f5c24c054e`](https://github.com/python/typeshed/commit/e8e9291c76f50c3bcde79e7bb61060f5c24c054e) and was tested
|
|
37
|
+
with mypy 1.11.1, pyright 1.1.379, and
|
|
38
|
+
pytype 2024.4.11.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
CHANGELOG.md
|
|
2
|
+
MANIFEST.in
|
|
3
|
+
setup.py
|
|
4
|
+
objgraph-stubs/METADATA.toml
|
|
5
|
+
objgraph-stubs/__init__.pyi
|
|
6
|
+
objgraph-stubs/py.typed
|
|
7
|
+
types_objgraph.egg-info/PKG-INFO
|
|
8
|
+
types_objgraph.egg-info/SOURCES.txt
|
|
9
|
+
types_objgraph.egg-info/dependency_links.txt
|
|
10
|
+
types_objgraph.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
objgraph-stubs
|