dt-extensions-sdk 1.2.3__py3-none-any.whl → 1.2.4__py3-none-any.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.
Files changed (32) hide show
  1. {dt_extensions_sdk-1.2.3.dist-info → dt_extensions_sdk-1.2.4.dist-info}/METADATA +1 -1
  2. dt_extensions_sdk-1.2.4.dist-info/RECORD +34 -0
  3. {dt_extensions_sdk-1.2.3.dist-info → dt_extensions_sdk-1.2.4.dist-info}/licenses/LICENSE.txt +9 -9
  4. dynatrace_extension/__about__.py +5 -5
  5. dynatrace_extension/__init__.py +27 -27
  6. dynatrace_extension/cli/__init__.py +5 -5
  7. dynatrace_extension/cli/create/__init__.py +1 -1
  8. dynatrace_extension/cli/create/create.py +76 -76
  9. dynatrace_extension/cli/create/extension_template/.gitignore.template +160 -160
  10. dynatrace_extension/cli/create/extension_template/README.md.template +33 -33
  11. dynatrace_extension/cli/create/extension_template/activation.json.template +15 -15
  12. dynatrace_extension/cli/create/extension_template/extension/activationSchema.json.template +118 -118
  13. dynatrace_extension/cli/create/extension_template/extension/extension.yaml.template +17 -17
  14. dynatrace_extension/cli/create/extension_template/extension_name/__main__.py.template +43 -43
  15. dynatrace_extension/cli/create/extension_template/setup.py.template +28 -28
  16. dynatrace_extension/cli/main.py +437 -437
  17. dynatrace_extension/cli/schema.py +129 -129
  18. dynatrace_extension/sdk/__init__.py +3 -3
  19. dynatrace_extension/sdk/activation.py +43 -43
  20. dynatrace_extension/sdk/callback.py +145 -145
  21. dynatrace_extension/sdk/communication.py +483 -483
  22. dynatrace_extension/sdk/event.py +19 -19
  23. dynatrace_extension/sdk/extension.py +1070 -1071
  24. dynatrace_extension/sdk/helper.py +191 -191
  25. dynatrace_extension/sdk/metric.py +118 -118
  26. dynatrace_extension/sdk/runtime.py +67 -67
  27. dynatrace_extension/sdk/snapshot.py +198 -198
  28. dynatrace_extension/sdk/vendor/mureq/LICENSE +13 -13
  29. dynatrace_extension/sdk/vendor/mureq/mureq.py +448 -448
  30. dt_extensions_sdk-1.2.3.dist-info/RECORD +0 -34
  31. {dt_extensions_sdk-1.2.3.dist-info → dt_extensions_sdk-1.2.4.dist-info}/WHEEL +0 -0
  32. {dt_extensions_sdk-1.2.3.dist-info → dt_extensions_sdk-1.2.4.dist-info}/entry_points.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: dt-extensions-sdk
3
- Version: 1.2.3
3
+ Version: 1.2.4
4
4
  Project-URL: Documentation, https://github.com/dynatrace-extensions/dt-extensions-python-sdk#readme
5
5
  Project-URL: Issues, https://github.com/dynatrace-extensions/dt-extensions-python-sdk/issues
6
6
  Project-URL: Source, https://github.com/dynatrace-extensions/dt-extensions-python-sdk
@@ -0,0 +1,34 @@
1
+ dynatrace_extension/__about__.py,sha256=75SKDo5CRXGki7j2b1WSwi8fWtLggRuD-rUCCEHZveQ,114
2
+ dynatrace_extension/__init__.py,sha256=XYHyWducrLWengm6jcCZMYAHzaQwQfoJKzKT4QvhTxE,779
3
+ dynatrace_extension/cli/__init__.py,sha256=eg2YQkeboIfJ_hcUGp1WFEvT-moa2qGGN-L9RjTbxCM,128
4
+ dynatrace_extension/cli/main.py,sha256=0HBtzRzQHo4quM3Df9ifsm6iYJX5CAg5PuTmrHB0vI4,17691
5
+ dynatrace_extension/cli/schema.py,sha256=Fiks7vS69M52O3_pvdzkKk2X0zBhE8maforvRY9eUIU,3359
6
+ dynatrace_extension/cli/create/__init__.py,sha256=_MjYuWPJo7_NbGRqjWZ9DNzkfevz_Br2Yc90__f22yY,73
7
+ dynatrace_extension/cli/create/create.py,sha256=Wkkp4AuRID18k9EUJdVZ3GP2US35OF5h6jooKJY2CLM,2784
8
+ dynatrace_extension/cli/create/extension_template/.gitignore.template,sha256=k8e-DOj0fYnXYjlLOCHoN5GBgtkNXHAYEfEWr3_YZV0,3238
9
+ dynatrace_extension/cli/create/extension_template/README.md.template,sha256=VUkh1AGyHJ_7hmxaGGhwiHys82VR16ii92_WvuhKHTY,670
10
+ dynatrace_extension/cli/create/extension_template/activation.json.template,sha256=8sO0WcqhoQouRHfy_V5KhJXdNYbBxc73VOcxLQKylzs,272
11
+ dynatrace_extension/cli/create/extension_template/setup.py.template,sha256=i38dH4uIN0XJ8v5Ag7vJOrb6WDeXJpbylEIeVavln_I,874
12
+ dynatrace_extension/cli/create/extension_template/extension/activationSchema.json.template,sha256=ufVIxeAkrrrhEnk-TPvYgdEKpAbiWXNvHS5t9iZoED0,3023
13
+ dynatrace_extension/cli/create/extension_template/extension/extension.yaml.template,sha256=hdj4kShGE2u7A7bcVKypXTR3GExGm690EHwsNIBRrC4,316
14
+ dynatrace_extension/cli/create/extension_template/extension_name/__init__.py.template,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
+ dynatrace_extension/cli/create/extension_template/extension_name/__main__.py.template,sha256=UTwxpOkHFZTShEztuZwbAz8TjmXmRGAGmr_fwE4u0ro,1301
16
+ dynatrace_extension/sdk/__init__.py,sha256=sh7MNjmyR0vt-ugkqEHXVqwTNLExfexS0CTK-QnULcw,89
17
+ dynatrace_extension/sdk/activation.py,sha256=s1ZToshWNptfmgu5NsZCI_WMsNM3-O8CSzzoauo62Uk,1523
18
+ dynatrace_extension/sdk/callback.py,sha256=2zepf3_MnxbuUQRYw8f-3rgTum3Q9xLJmo22WFdOIc0,6452
19
+ dynatrace_extension/sdk/communication.py,sha256=ZS2dJ4WLRAeBdoUtZSJRrq5AeAl2zB1uTKJIIy2NpnA,18222
20
+ dynatrace_extension/sdk/event.py,sha256=oyvcm8uTle-A1jKgXIsFwAvl-Ta2RKbFHVZv3sxTPmo,407
21
+ dynatrace_extension/sdk/extension.py,sha256=cYtmHqVQZ9iDVwnYuSjLFxcxSL5Mts61qjJi7VsHyzk,42589
22
+ dynatrace_extension/sdk/helper.py,sha256=TyL6aSIN6lhoH2yHZw8NbhtixdvlyV5q6fDh5NPODdc,6753
23
+ dynatrace_extension/sdk/metric.py,sha256=QwrfrmFdj-IddZxAZlZrch62TWKDtzrDU88FwBIv30E,3808
24
+ dynatrace_extension/sdk/runtime.py,sha256=JgP_qVomatVw85ZuAjbR0S-rzrK5U9JwSZXwfQDKNA4,2869
25
+ dynatrace_extension/sdk/snapshot.py,sha256=jfYVzzaJB190GRQiT0SgE7-mIXj8BpZK0mirzRXjHWY,7209
26
+ dynatrace_extension/sdk/vendor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
+ dynatrace_extension/sdk/vendor/mureq/LICENSE,sha256=_rKBhB1pJYXjxjBCdOSIkv_slxWbhEXVBXXZs1MdpQQ,684
28
+ dynatrace_extension/sdk/vendor/mureq/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
+ dynatrace_extension/sdk/vendor/mureq/mureq.py,sha256=XuftyS8644RJbb68S_nq8H7YnTBamrrLrvaqcFsB54k,15104
30
+ dt_extensions_sdk-1.2.4.dist-info/METADATA,sha256=5EXQ9jRit9JQSB4GHktiDbrTqEmUma0tjHY10WwP_B0,2793
31
+ dt_extensions_sdk-1.2.4.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
32
+ dt_extensions_sdk-1.2.4.dist-info/entry_points.txt,sha256=pweyOCgENGHjOlT6_kXYaBPOrE3p18K0UettqnNlnoE,55
33
+ dt_extensions_sdk-1.2.4.dist-info/licenses/LICENSE.txt,sha256=k7kok_OTpJ5sfb5ANni8wu-Q1lXw8OQjNZXdrTGhFKc,1087
34
+ dt_extensions_sdk-1.2.4.dist-info/RECORD,,
@@ -1,9 +1,9 @@
1
- MIT License
2
-
3
- Copyright (c) 2023-present Dynatrace LLC
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
-
7
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2023-present Dynatrace LLC
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,5 +1,5 @@
1
- # SPDX-FileCopyrightText: 2023-present Dynatrace LLC
2
- #
3
- # SPDX-License-Identifier: MIT
4
-
5
- __version__ = "1.2.3"
1
+ # SPDX-FileCopyrightText: 2023-present Dynatrace LLC
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ __version__ = "1.2.4"
@@ -1,27 +1,27 @@
1
- # SPDX-FileCopyrightText: 2023-present Dynatrace LLC
2
- #
3
- # SPDX-License-Identifier: MIT
4
-
5
- # Ignore F401 because these are not used here, but are used by extension developers
6
- # ruff: noqa: F401
7
-
8
- from .sdk.activation import ActivationConfig, ActivationType
9
- from .sdk.communication import Status, StatusValue
10
- from .sdk.event import Severity
11
- from .sdk.extension import DtEventType, Extension
12
- from .sdk.helper import (
13
- get_activation_config,
14
- get_helper_extension,
15
- report_dt_event,
16
- report_dt_event_dict,
17
- report_event,
18
- report_log_event,
19
- report_log_events,
20
- report_log_lines,
21
- report_metric,
22
- report_mint_lines,
23
- run_extension,
24
- schedule,
25
- schedule_function,
26
- )
27
- from .sdk.metric import Metric, MetricType, SummaryStat
1
+ # SPDX-FileCopyrightText: 2023-present Dynatrace LLC
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ # Ignore F401 because these are not used here, but are used by extension developers
6
+ # ruff: noqa: F401
7
+
8
+ from .sdk.activation import ActivationConfig, ActivationType
9
+ from .sdk.communication import Status, StatusValue
10
+ from .sdk.event import Severity
11
+ from .sdk.extension import DtEventType, Extension
12
+ from .sdk.helper import (
13
+ get_activation_config,
14
+ get_helper_extension,
15
+ report_dt_event,
16
+ report_dt_event_dict,
17
+ report_event,
18
+ report_log_event,
19
+ report_log_events,
20
+ report_log_lines,
21
+ report_metric,
22
+ report_mint_lines,
23
+ run_extension,
24
+ schedule,
25
+ schedule_function,
26
+ )
27
+ from .sdk.metric import Metric, MetricType, SummaryStat
@@ -1,5 +1,5 @@
1
- # SPDX-FileCopyrightText: 2023-present Dynatrace LLC
2
- #
3
- # SPDX-License-Identifier: MIT
4
-
5
- from .main import app # noqa: F401
1
+ # SPDX-FileCopyrightText: 2023-present Dynatrace LLC
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ from .main import app # noqa: F401
@@ -1 +1 @@
1
- from .create import generate_extension, is_pep8_compliant # noqa: F401
1
+ from .create import generate_extension, is_pep8_compliant # noqa: F401
@@ -1,76 +1,76 @@
1
- import os
2
- import re
3
- import shutil
4
- from pathlib import Path
5
- from typing import Final, List, NamedTuple, Tuple
6
-
7
- output_mode_folder: Final = 0o755
8
- output_mode_file: Final = 0o644
9
- template_base_folder: Final = Path(__file__).parent
10
-
11
-
12
- class ReplaceString(NamedTuple):
13
- what: str
14
- replace: str
15
-
16
-
17
- def replace_placeholders(file: Path, replaces: List[Tuple[str, str]]):
18
- with open(file) as f:
19
- contents = f.read()
20
- for replace in replaces:
21
- old_text, new_text = replace
22
- contents = contents.replace(old_text, new_text)
23
- with open(file, "w") as f:
24
- f.write(contents)
25
-
26
-
27
- def copy_templates(source: Path, destination: Path, extension_name: str):
28
- extension_name_lower = extension_name.lower()
29
- extension_name_capitalize = extension_name.capitalize()
30
- extension_name_dash = extension_name_lower.replace("_", "-")
31
- extension_prefix = "custom:"
32
- replaces = [
33
- ("%Extension_Name%", extension_name_capitalize),
34
- ("%extension_name%", extension_name_lower),
35
- ("%extension-name%", extension_name_dash),
36
- ("%extension-prefix%", extension_prefix),
37
- ]
38
- for file in source.iterdir():
39
- if file.is_dir() and file.name != "__pycache__":
40
- # If it is a folder, recursively copy and process the template files
41
- dir_name = file.name
42
- if dir_name == "extension_name":
43
- dir_name = extension_name
44
- dest_dir = Path(destination, dir_name)
45
- dest_dir.mkdir(mode=output_mode_folder, exist_ok=True)
46
- copy_templates(file, dest_dir, extension_name)
47
-
48
- elif file.is_file() and file.name.endswith(".template"):
49
- # If it is a file, copy and process it
50
- file_name = file.name.removesuffix(".template")
51
- dest_file = Path(destination, file_name)
52
- shutil.copy(file, dest_file)
53
- os.chmod(dest_file, output_mode_file)
54
- replace_placeholders(dest_file, replaces)
55
-
56
-
57
- def is_pep8_compliant(extension_name: str) -> bool:
58
- """
59
- Check if extension name is valid according to PEP-8
60
- https://peps.python.org/pep-0008/#package-and-module-names
61
- :param extension_name: extension name to check
62
- :return: True if extension name is valid, False otherwise
63
- """
64
- if not re.match("[a-z][a-z0-9]*(_[a-z0-9]+)*$", extension_name):
65
- return False
66
- return True
67
-
68
-
69
- def generate_extension(extension_name: str, output: Path) -> Path:
70
- output.mkdir(mode=output_mode_folder, exist_ok=True, parents=True)
71
- try:
72
- copy_templates(template_base_folder / "extension_template", output, extension_name)
73
- return output.resolve()
74
- except Exception:
75
- shutil.rmtree(output)
76
- raise
1
+ import os
2
+ import re
3
+ import shutil
4
+ from pathlib import Path
5
+ from typing import Final, List, NamedTuple, Tuple
6
+
7
+ output_mode_folder: Final = 0o755
8
+ output_mode_file: Final = 0o644
9
+ template_base_folder: Final = Path(__file__).parent
10
+
11
+
12
+ class ReplaceString(NamedTuple):
13
+ what: str
14
+ replace: str
15
+
16
+
17
+ def replace_placeholders(file: Path, replaces: List[Tuple[str, str]]):
18
+ with open(file) as f:
19
+ contents = f.read()
20
+ for replace in replaces:
21
+ old_text, new_text = replace
22
+ contents = contents.replace(old_text, new_text)
23
+ with open(file, "w") as f:
24
+ f.write(contents)
25
+
26
+
27
+ def copy_templates(source: Path, destination: Path, extension_name: str):
28
+ extension_name_lower = extension_name.lower()
29
+ extension_name_capitalize = extension_name.capitalize()
30
+ extension_name_dash = extension_name_lower.replace("_", "-")
31
+ extension_prefix = "custom:"
32
+ replaces = [
33
+ ("%Extension_Name%", extension_name_capitalize),
34
+ ("%extension_name%", extension_name_lower),
35
+ ("%extension-name%", extension_name_dash),
36
+ ("%extension-prefix%", extension_prefix),
37
+ ]
38
+ for file in source.iterdir():
39
+ if file.is_dir() and file.name != "__pycache__":
40
+ # If it is a folder, recursively copy and process the template files
41
+ dir_name = file.name
42
+ if dir_name == "extension_name":
43
+ dir_name = extension_name
44
+ dest_dir = Path(destination, dir_name)
45
+ dest_dir.mkdir(mode=output_mode_folder, exist_ok=True)
46
+ copy_templates(file, dest_dir, extension_name)
47
+
48
+ elif file.is_file() and file.name.endswith(".template"):
49
+ # If it is a file, copy and process it
50
+ file_name = file.name.removesuffix(".template")
51
+ dest_file = Path(destination, file_name)
52
+ shutil.copy(file, dest_file)
53
+ os.chmod(dest_file, output_mode_file)
54
+ replace_placeholders(dest_file, replaces)
55
+
56
+
57
+ def is_pep8_compliant(extension_name: str) -> bool:
58
+ """
59
+ Check if extension name is valid according to PEP-8
60
+ https://peps.python.org/pep-0008/#package-and-module-names
61
+ :param extension_name: extension name to check
62
+ :return: True if extension name is valid, False otherwise
63
+ """
64
+ if not re.match("[a-z][a-z0-9]*(_[a-z0-9]+)*$", extension_name):
65
+ return False
66
+ return True
67
+
68
+
69
+ def generate_extension(extension_name: str, output: Path) -> Path:
70
+ output.mkdir(mode=output_mode_folder, exist_ok=True, parents=True)
71
+ try:
72
+ copy_templates(template_base_folder / "extension_template", output, extension_name)
73
+ return output.resolve()
74
+ except Exception:
75
+ shutil.rmtree(output)
76
+ raise
@@ -1,160 +1,160 @@
1
- # Byte-compiled / optimized / DLL files
2
- __pycache__/
3
- *.py[cod]
4
- *$py.class
5
-
6
- # C extensions
7
- *.so
8
-
9
- # Distribution / packaging
10
- .Python
11
- build/
12
- develop-eggs/
13
- dist/
14
- downloads/
15
- eggs/
16
- .eggs/
17
- lib/
18
- lib64/
19
- parts/
20
- sdist/
21
- var/
22
- wheels/
23
- share/python-wheels/
24
- *.egg-info/
25
- .installed.cfg
26
- *.egg
27
- MANIFEST
28
-
29
- # PyInstaller
30
- # Usually these files are written by a python script from a template
31
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
- *.manifest
33
- *.spec
34
-
35
- # Installer logs
36
- pip-log.txt
37
- pip-delete-this-directory.txt
38
-
39
- # Unit test / coverage reports
40
- htmlcov/
41
- .tox/
42
- .nox/
43
- .coverage
44
- .coverage.*
45
- .cache
46
- nosetests.xml
47
- coverage.xml
48
- *.cover
49
- *.py,cover
50
- .hypothesis/
51
- .pytest_cache/
52
- cover/
53
-
54
- # Translations
55
- *.mo
56
- *.pot
57
-
58
- # Django stuff:
59
- *.log
60
- local_settings.py
61
- db.sqlite3
62
- db.sqlite3-journal
63
-
64
- # Flask stuff:
65
- instance/
66
- .webassets-cache
67
-
68
- # Scrapy stuff:
69
- .scrapy
70
-
71
- # Sphinx documentation
72
- docs/_build/
73
-
74
- # PyBuilder
75
- .pybuilder/
76
- target/
77
-
78
- # Jupyter Notebook
79
- .ipynb_checkpoints
80
-
81
- # IPython
82
- profile_default/
83
- ipython_config.py
84
-
85
- # pyenv
86
- # For a library or package, you might want to ignore these files since the code is
87
- # intended to run in multiple environments; otherwise, check them in:
88
- # .python-version
89
-
90
- # pipenv
91
- # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
- # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
- # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
- # install all needed dependencies.
95
- #Pipfile.lock
96
-
97
- # poetry
98
- # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99
- # This is especially recommended for binary packages to ensure reproducibility, and is more
100
- # commonly ignored for libraries.
101
- # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102
- #poetry.lock
103
-
104
- # pdm
105
- # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106
- #pdm.lock
107
- # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108
- # in version control.
109
- # https://pdm.fming.dev/#use-with-ide
110
- .pdm.toml
111
-
112
- # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
113
- __pypackages__/
114
-
115
- # Celery stuff
116
- celerybeat-schedule
117
- celerybeat.pid
118
-
119
- # SageMath parsed files
120
- *.sage.py
121
-
122
- # Environments
123
- .env
124
- .venv
125
- env/
126
- venv/
127
- ENV/
128
- env.bak/
129
- venv.bak/
130
-
131
- # Spyder project settings
132
- .spyderproject
133
- .spyproject
134
-
135
- # Rope project settings
136
- .ropeproject
137
-
138
- # mkdocs documentation
139
- /site
140
-
141
- # mypy
142
- .mypy_cache/
143
- .dmypy.json
144
- dmypy.json
145
-
146
- # Pyre type checker
147
- .pyre/
148
-
149
- # pytype static type analyzer
150
- .pytype/
151
-
152
- # Cython debug symbols
153
- cython_debug/
154
-
155
- # PyCharm
156
- # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
157
- # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
158
- # and can be added to the global gitignore or merged into this file. For a more nuclear
159
- # option (not recommended) you can uncomment the following to ignore the entire idea folder.
160
- #.idea/
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py,cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ #Pipfile.lock
96
+
97
+ # poetry
98
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102
+ #poetry.lock
103
+
104
+ # pdm
105
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106
+ #pdm.lock
107
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108
+ # in version control.
109
+ # https://pdm.fming.dev/#use-with-ide
110
+ .pdm.toml
111
+
112
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
113
+ __pypackages__/
114
+
115
+ # Celery stuff
116
+ celerybeat-schedule
117
+ celerybeat.pid
118
+
119
+ # SageMath parsed files
120
+ *.sage.py
121
+
122
+ # Environments
123
+ .env
124
+ .venv
125
+ env/
126
+ venv/
127
+ ENV/
128
+ env.bak/
129
+ venv.bak/
130
+
131
+ # Spyder project settings
132
+ .spyderproject
133
+ .spyproject
134
+
135
+ # Rope project settings
136
+ .ropeproject
137
+
138
+ # mkdocs documentation
139
+ /site
140
+
141
+ # mypy
142
+ .mypy_cache/
143
+ .dmypy.json
144
+ dmypy.json
145
+
146
+ # Pyre type checker
147
+ .pyre/
148
+
149
+ # pytype static type analyzer
150
+ .pytype/
151
+
152
+ # Cython debug symbols
153
+ cython_debug/
154
+
155
+ # PyCharm
156
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
157
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
158
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
159
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
160
+ #.idea/