aiogram-cmds 0.1.0__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.
Files changed (86) hide show
  1. aiogram_cmds-0.1.0/.cursorignore +100 -0
  2. aiogram_cmds-0.1.0/.github/CODEOWNERS +40 -0
  3. aiogram_cmds-0.1.0/.github/ISSUE_TEMPLATE/bug_report.yml +149 -0
  4. aiogram_cmds-0.1.0/.github/ISSUE_TEMPLATE/documentation_issue.yml +123 -0
  5. aiogram_cmds-0.1.0/.github/ISSUE_TEMPLATE/feature_request.yml +130 -0
  6. aiogram_cmds-0.1.0/.github/ISSUE_TEMPLATE/performance_issue.yml +173 -0
  7. aiogram_cmds-0.1.0/.github/ISSUE_TEMPLATE/question_help.yml +166 -0
  8. aiogram_cmds-0.1.0/.github/ISSUE_TEMPLATE/security_issue.yml +175 -0
  9. aiogram_cmds-0.1.0/.github/PULL_REQUEST_TEMPLATE.md +92 -0
  10. aiogram_cmds-0.1.0/.github/dependabot.yml +62 -0
  11. aiogram_cmds-0.1.0/.github/workflows/ci.yml +411 -0
  12. aiogram_cmds-0.1.0/.github/workflows/docs.yml +98 -0
  13. aiogram_cmds-0.1.0/.github/workflows/pr-management.yml +162 -0
  14. aiogram_cmds-0.1.0/.github/workflows/release.yml +86 -0
  15. aiogram_cmds-0.1.0/.gitignore +231 -0
  16. aiogram_cmds-0.1.0/CHANGELOG.md +210 -0
  17. aiogram_cmds-0.1.0/CODE_OF_CONDUCT.md +159 -0
  18. aiogram_cmds-0.1.0/CONTRIBUTING.md +365 -0
  19. aiogram_cmds-0.1.0/DEPLOYMENT.md +295 -0
  20. aiogram_cmds-0.1.0/LICENSE +21 -0
  21. aiogram_cmds-0.1.0/PKG-INFO +282 -0
  22. aiogram_cmds-0.1.0/README.md +240 -0
  23. aiogram_cmds-0.1.0/SECURITY.md +0 -0
  24. aiogram_cmds-0.1.0/docs/ARCHITECTURE.md +343 -0
  25. aiogram_cmds-0.1.0/docs/ROADMAP.md +0 -0
  26. aiogram_cmds-0.1.0/docs/TESTING.md +259 -0
  27. aiogram_cmds-0.1.0/docs/api/configuration.md +495 -0
  28. aiogram_cmds-0.1.0/docs/api/core.md +359 -0
  29. aiogram_cmds-0.1.0/docs/api/translator.md +488 -0
  30. aiogram_cmds-0.1.0/docs/configuration.md +642 -0
  31. aiogram_cmds-0.1.0/docs/faq.md +391 -0
  32. aiogram_cmds-0.1.0/docs/index.md +158 -0
  33. aiogram_cmds-0.1.0/docs/installation.md +263 -0
  34. aiogram_cmds-0.1.0/docs/performance.md +655 -0
  35. aiogram_cmds-0.1.0/docs/quickstart.md +248 -0
  36. aiogram_cmds-0.1.0/docs/release.md +0 -0
  37. aiogram_cmds-0.1.0/docs/troubleshooting.md +504 -0
  38. aiogram_cmds-0.1.0/docs/tutorials/advanced-profiles.md +692 -0
  39. aiogram_cmds-0.1.0/docs/tutorials/basic-setup.md +395 -0
  40. aiogram_cmds-0.1.0/docs/tutorials/dynamic-commands.md +1197 -0
  41. aiogram_cmds-0.1.0/docs/tutorials/i18n-integration.md +464 -0
  42. aiogram_cmds-0.1.0/examples/README.md +369 -0
  43. aiogram_cmds-0.1.0/examples/basic_bot.py +159 -0
  44. aiogram_cmds-0.1.0/examples/dynamic_bot.py +452 -0
  45. aiogram_cmds-0.1.0/examples/i18n_bot.py +217 -0
  46. aiogram_cmds-0.1.0/examples/locales/en/LC_MESSAGES/messages.po +49 -0
  47. aiogram_cmds-0.1.0/examples/locales/es/LC_MESSAGES/messages.po +49 -0
  48. aiogram_cmds-0.1.0/examples/locales/ru/LC_MESSAGES/messages.po +49 -0
  49. aiogram_cmds-0.1.0/examples/profile_based_bot.py +352 -0
  50. aiogram_cmds-0.1.0/mkdocs.yml +95 -0
  51. aiogram_cmds-0.1.0/pyproject.toml +249 -0
  52. aiogram_cmds-0.1.0/pyrightconfig.json +57 -0
  53. aiogram_cmds-0.1.0/reports/README.md +0 -0
  54. aiogram_cmds-0.1.0/reports/security/bandit-report.json +202 -0
  55. aiogram_cmds-0.1.0/src/aiogram_cmds/__init__.py +69 -0
  56. aiogram_cmds-0.1.0/src/aiogram_cmds/apply.py +88 -0
  57. aiogram_cmds-0.1.0/src/aiogram_cmds/auto_setup.py +161 -0
  58. aiogram_cmds-0.1.0/src/aiogram_cmds/builder.py +77 -0
  59. aiogram_cmds-0.1.0/src/aiogram_cmds/builders_configured.py +69 -0
  60. aiogram_cmds-0.1.0/src/aiogram_cmds/customize.py +67 -0
  61. aiogram_cmds-0.1.0/src/aiogram_cmds/dynamic.py +39 -0
  62. aiogram_cmds-0.1.0/src/aiogram_cmds/manager.py +148 -0
  63. aiogram_cmds-0.1.0/src/aiogram_cmds/policy.py +38 -0
  64. aiogram_cmds-0.1.0/src/aiogram_cmds/registry.py +21 -0
  65. aiogram_cmds-0.1.0/src/aiogram_cmds/setters.py +92 -0
  66. aiogram_cmds-0.1.0/src/aiogram_cmds/settings.py +54 -0
  67. aiogram_cmds-0.1.0/src/aiogram_cmds/translator.py +33 -0
  68. aiogram_cmds-0.1.0/src/aiogram_cmds/version.py +3 -0
  69. aiogram_cmds-0.1.0/tests/conftest.py +364 -0
  70. aiogram_cmds-0.1.0/tests/integration/conftest.py +88 -0
  71. aiogram_cmds-0.1.0/tests/integration/test_full_workflow.py +612 -0
  72. aiogram_cmds-0.1.0/tests/perf/conftest.py +44 -0
  73. aiogram_cmds-0.1.0/tests/perf/test_benchmarks.py +363 -0
  74. aiogram_cmds-0.1.0/tests/unit/test_apply.py +439 -0
  75. aiogram_cmds-0.1.0/tests/unit/test_auto_setup.py +460 -0
  76. aiogram_cmds-0.1.0/tests/unit/test_builder.py +275 -0
  77. aiogram_cmds-0.1.0/tests/unit/test_manager.py +365 -0
  78. aiogram_cmds-0.1.0/tests/unit/test_policy.py +422 -0
  79. aiogram_cmds-0.1.0/tests/unit/test_registry.py +346 -0
  80. aiogram_cmds-0.1.0/tests/unit/test_setters.py +495 -0
  81. aiogram_cmds-0.1.0/tests/unit/test_settings.py +355 -0
  82. aiogram_cmds-0.1.0/tests/unit/test_translator.py +225 -0
  83. aiogram_cmds-0.1.0/tools/README.md +331 -0
  84. aiogram_cmds-0.1.0/tools/check_version_tag.py +184 -0
  85. aiogram_cmds-0.1.0/tools/gen_tree.py +247 -0
  86. aiogram_cmds-0.1.0/uv.lock +2540 -0
@@ -0,0 +1,100 @@
1
+ # Python
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ *.so
6
+
7
+ # Distribution / packaging
8
+ .Python
9
+ build/
10
+ develop-eggs/
11
+ dist/
12
+ downloads/
13
+ eggs/
14
+ .eggs/
15
+ lib/
16
+ lib64/
17
+ parts/
18
+ sdist/
19
+ var/
20
+ wheels/
21
+ share/python-wheels/
22
+ *.egg-info/
23
+ .installed.cfg
24
+ *.egg
25
+ MANIFEST
26
+
27
+ # Virtual environments
28
+ .env
29
+ .venv
30
+ env/
31
+ venv/
32
+ ENV/
33
+ env.bak/
34
+ venv.bak/
35
+ .uv/
36
+
37
+ # Testing
38
+ htmlcov/
39
+ .tox/
40
+ .nox/
41
+ .coverage
42
+ .coverage.*
43
+ .cache
44
+ nosetests.xml
45
+ coverage.xml
46
+ *.cover
47
+ *.py,cover
48
+ .hypothesis/
49
+ .pytest_cache/
50
+ cover/
51
+
52
+ # Documentation
53
+ docs/_build/
54
+ /site
55
+ site/
56
+
57
+ # IDE
58
+ .vscode/
59
+ .idea/
60
+ *.iml
61
+ *.ipr
62
+ *.iws
63
+
64
+ # OS
65
+ .DS_Store
66
+ .DS_Store?
67
+ ._*
68
+ .Spotlight-V100
69
+ .Trashes
70
+ ehthumbs.db
71
+ Thumbs.db
72
+
73
+ # Temporary files
74
+ *.tmp
75
+ *.temp
76
+ *.bak
77
+ *.backup
78
+ *.orig
79
+ *.swp
80
+ *.swo
81
+ *~
82
+
83
+ # Logs
84
+ *.log
85
+ logs/
86
+
87
+ # Reports (keep structure but ignore generated files)
88
+ reports/coverage/
89
+ reports/*.log
90
+ reports/performance/
91
+
92
+ # Benchmark results
93
+ .benchmarks/
94
+
95
+ # Translations
96
+ *.mo
97
+ *.pot
98
+
99
+ # Project specific
100
+ .notes/
@@ -0,0 +1,40 @@
1
+ # Global owners
2
+ * @ArmanAvanesyan
3
+
4
+ # Core package
5
+ /src/aiogram_cmds/ @ArmanAvanesyan
6
+
7
+ # Core functionality modules
8
+ /src/aiogram_cmds/manager.py @ArmanAvanesyan
9
+ /src/aiogram_cmds/builder.py @ArmanAvanesyan
10
+ /src/aiogram_cmds/policy.py @ArmanAvanesyan
11
+ /src/aiogram_cmds/settings.py @ArmanAvanesyan
12
+ /src/aiogram_cmds/customize.py @ArmanAvanesyan
13
+ /src/aiogram_cmds/translator.py @ArmanAvanesyan
14
+ /src/aiogram_cmds/registry.py @ArmanAvanesyan
15
+ /src/aiogram_cmds/apply.py @ArmanAvanesyan
16
+ /src/aiogram_cmds/setters.py @ArmanAvanesyan
17
+ /src/aiogram_cmds/auto_setup.py @ArmanAvanesyan
18
+ /src/aiogram_cmds/dynamic.py @ArmanAvanesyan
19
+ /src/aiogram_cmds/builders_configured.py @ArmanAvanesyan
20
+ /src/aiogram_cmds/version.py @ArmanAvanesyan
21
+
22
+ # Documentation
23
+ /docs/ @ArmanAvanesyan
24
+ /README.md @ArmanAvanesyan
25
+ /CONTRIBUTING.md @ArmanAvanesyan
26
+
27
+ # CI/CD and project configuration
28
+ /.github/ @ArmanAvanesyan
29
+ /pyproject.toml @ArmanAvanesyan
30
+ /uv.lock @ArmanAvanesyan
31
+
32
+ # Development tools
33
+ /tools/ @ArmanAvanesyan
34
+ /.cursor/ @ArmanAvanesyan
35
+
36
+ # Examples
37
+ /examples/ @ArmanAvanesyan
38
+
39
+ # Tests
40
+ /tests/ @ArmanAvanesyan
@@ -0,0 +1,149 @@
1
+ name: Bug Report
2
+ description: Report a bug or unexpected behavior
3
+ title: "[BUG] "
4
+ labels: ["bug"]
5
+ assignees: []
6
+
7
+ body:
8
+ - type: markdown
9
+ attributes:
10
+ value: |
11
+ Thank you for taking the time to report a bug! Please fill out the form below to help us understand and reproduce the issue.
12
+
13
+ - type: textarea
14
+ id: description
15
+ attributes:
16
+ label: Description
17
+ description: A clear and concise description of what the bug is.
18
+ placeholder: Describe the bug...
19
+ validations:
20
+ required: true
21
+
22
+ - type: textarea
23
+ id: steps-to-reproduce
24
+ attributes:
25
+ label: Steps to Reproduce
26
+ description: Steps to reproduce the behavior
27
+ placeholder: |
28
+ 1. Go to '...'
29
+ 2. Click on '....'
30
+ 3. Scroll down to '....'
31
+ 4. See error
32
+ validations:
33
+ required: true
34
+
35
+ - type: textarea
36
+ id: expected-behavior
37
+ attributes:
38
+ label: Expected Behavior
39
+ description: A clear and concise description of what you expected to happen.
40
+ placeholder: What should happen?
41
+ validations:
42
+ required: true
43
+
44
+ - type: textarea
45
+ id: actual-behavior
46
+ attributes:
47
+ label: Actual Behavior
48
+ description: A clear and concise description of what actually happened.
49
+ placeholder: What actually happened?
50
+ validations:
51
+ required: true
52
+
53
+ - type: textarea
54
+ id: code-example
55
+ attributes:
56
+ label: Code Example
57
+ description: If applicable, provide a minimal code example that demonstrates the issue.
58
+ placeholder: |
59
+ ```python
60
+ # Your code here
61
+ ```
62
+ render: python
63
+
64
+ - type: textarea
65
+ id: error-messages
66
+ attributes:
67
+ label: Error Messages
68
+ description: If applicable, paste any error messages or stack traces.
69
+ placeholder: |
70
+ ```
71
+ # Error messages here
72
+ ```
73
+ render: shell
74
+
75
+ - type: dropdown
76
+ id: python-version
77
+ attributes:
78
+ label: Python Version
79
+ description: What Python version are you using?
80
+ options:
81
+ - "3.10"
82
+ - "3.11"
83
+ - "3.12"
84
+ - "3.13"
85
+ - "Other (please specify)"
86
+ validations:
87
+ required: true
88
+
89
+ - type: input
90
+ id: aiogram-cmds-version
91
+ attributes:
92
+ label: aiogram-cmds Version
93
+ description: What version of aiogram-cmds are you using?
94
+ placeholder: e.g., 0.1.0
95
+ validations:
96
+ required: true
97
+
98
+ - type: dropdown
99
+ id: operating-system
100
+ attributes:
101
+ label: Operating System
102
+ description: What operating system are you using?
103
+ options:
104
+ - "Windows"
105
+ - "macOS"
106
+ - "Linux"
107
+ - "Other (please specify)"
108
+ validations:
109
+ required: true
110
+
111
+ - type: dropdown
112
+ id: python-environment
113
+ attributes:
114
+ label: Python Environment
115
+ description: What Python environment are you using?
116
+ options:
117
+ - "virtualenv"
118
+ - "conda"
119
+ - "pipenv"
120
+ - "poetry"
121
+ - "uv"
122
+ - "system"
123
+ - "Other (please specify)"
124
+ validations:
125
+ required: true
126
+
127
+ - type: textarea
128
+ id: additional-context
129
+ attributes:
130
+ label: Additional Context
131
+ description: Add any other context about the problem here.
132
+ placeholder: Any additional information that might be helpful...
133
+
134
+ - type: checkboxes
135
+ id: checklist
136
+ attributes:
137
+ label: Checklist
138
+ description: Please confirm the following
139
+ options:
140
+ - label: I have searched existing issues to ensure this is not a duplicate
141
+ required: true
142
+ - label: I have provided all the requested information
143
+ required: true
144
+ - label: I have included a minimal code example (if applicable)
145
+ required: false
146
+ - label: I have included error messages (if applicable)
147
+ required: false
148
+ - label: I have checked the documentation for similar issues
149
+ required: true
@@ -0,0 +1,123 @@
1
+ name: Documentation Issue
2
+ description: Report issues with documentation or suggest improvements
3
+ title: "[DOCS] "
4
+ labels: ["documentation"]
5
+ assignees: []
6
+
7
+ body:
8
+ - type: markdown
9
+ attributes:
10
+ value: |
11
+ Thank you for helping improve our documentation! Please fill out the form below.
12
+
13
+ - type: textarea
14
+ id: issue-description
15
+ attributes:
16
+ label: Issue Description
17
+ description: A clear and concise description of the documentation issue.
18
+ placeholder: Describe the documentation issue...
19
+ validations:
20
+ required: true
21
+
22
+ - type: dropdown
23
+ id: issue-type
24
+ attributes:
25
+ label: Issue Type
26
+ description: What type of documentation issue is this?
27
+ options:
28
+ - "Missing documentation"
29
+ - "Incorrect information"
30
+ - "Unclear or confusing"
31
+ - "Outdated information"
32
+ - "Broken links"
33
+ - "Formatting issues"
34
+ - "Missing examples"
35
+ - "Other (please specify)"
36
+ validations:
37
+ required: true
38
+
39
+ - type: input
40
+ id: affected-docs
41
+ attributes:
42
+ label: Affected Documentation
43
+ description: Which documentation files or sections are affected?
44
+ placeholder: e.g., README.md, CONTRIBUTING.md, API docs, etc.
45
+ validations:
46
+ required: true
47
+
48
+ - type: textarea
49
+ id: current-content
50
+ attributes:
51
+ label: Current Content (if applicable)
52
+ description: Paste the current documentation content that has issues.
53
+ placeholder: |
54
+ ```markdown
55
+ # Current documentation content
56
+ ```
57
+ render: markdown
58
+
59
+ - type: textarea
60
+ id: expected-content
61
+ attributes:
62
+ label: Expected Content
63
+ description: Describe what the documentation should say or show.
64
+ placeholder: |
65
+ Describe what the documentation should contain or how it should be improved.
66
+ Include specific examples if applicable.
67
+
68
+ - type: textarea
69
+ id: suggested-fix
70
+ attributes:
71
+ label: Suggested Fix
72
+ description: If you have a specific suggestion for how to fix this, please provide it.
73
+ placeholder: |
74
+ ```markdown
75
+ # Suggested documentation content
76
+ ```
77
+ render: markdown
78
+
79
+ - type: textarea
80
+ id: examples
81
+ attributes:
82
+ label: Examples or Screenshots
83
+ description: If applicable, provide examples, screenshots, or code snippets that would help clarify the documentation.
84
+ placeholder: |
85
+ Provide examples, screenshots, or code snippets that would help improve the documentation.
86
+
87
+ - type: dropdown
88
+ id: priority
89
+ attributes:
90
+ label: Priority
91
+ description: How important is this documentation issue?
92
+ options:
93
+ - "Low - Minor improvement"
94
+ - "Medium - Confusing but workable"
95
+ - "High - Blocks understanding"
96
+ - "Critical - Misleading or incorrect"
97
+ validations:
98
+ required: true
99
+
100
+ - type: textarea
101
+ id: additional-context
102
+ attributes:
103
+ label: Additional Context
104
+ description: Add any other context about the documentation issue here.
105
+ placeholder: |
106
+ Add any other context, references, or information about the documentation issue.
107
+
108
+ - type: checkboxes
109
+ id: checklist
110
+ attributes:
111
+ label: Checklist
112
+ description: Please confirm the following
113
+ options:
114
+ - label: I have searched existing issues to ensure this is not a duplicate
115
+ required: true
116
+ - label: I have clearly described the documentation issue
117
+ required: true
118
+ - label: I have identified the affected documentation
119
+ required: true
120
+ - label: I have provided the current content (if applicable)
121
+ required: false
122
+ - label: I have suggested improvements or fixes
123
+ required: false
@@ -0,0 +1,130 @@
1
+ name: Feature Request
2
+ description: Suggest a new feature or enhancement
3
+ title: "[FEATURE] "
4
+ labels: ["enhancement"]
5
+ assignees: []
6
+
7
+ body:
8
+ - type: markdown
9
+ attributes:
10
+ value: |
11
+ Thank you for suggesting a new feature! Please fill out the form below to help us understand your request.
12
+
13
+ - type: textarea
14
+ id: feature-description
15
+ attributes:
16
+ label: Feature Description
17
+ description: A clear and concise description of the feature you'd like to see.
18
+ placeholder: Describe the feature...
19
+ validations:
20
+ required: true
21
+
22
+ - type: textarea
23
+ id: problem-statement
24
+ attributes:
25
+ label: Problem Statement
26
+ description: What problem does this feature solve? What pain point does it address?
27
+ placeholder: |
28
+ Is your feature request related to a problem? Please describe.
29
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
30
+ validations:
31
+ required: true
32
+
33
+ - type: textarea
34
+ id: proposed-solution
35
+ attributes:
36
+ label: Proposed Solution
37
+ description: Describe the solution you'd like to see implemented.
38
+ placeholder: |
39
+ A clear and concise description of what you want to happen.
40
+ Include any specific implementation details if you have them.
41
+ validations:
42
+ required: true
43
+
44
+ - type: textarea
45
+ id: alternatives
46
+ attributes:
47
+ label: Alternatives Considered
48
+ description: Describe any alternative solutions or workarounds you've considered.
49
+ placeholder: |
50
+ A clear and concise description of any alternative solutions or features you've considered.
51
+
52
+ - type: textarea
53
+ id: use-cases
54
+ attributes:
55
+ label: Use Cases
56
+ description: Provide specific use cases or examples where this feature would be helpful.
57
+ placeholder: |
58
+ Describe specific scenarios where this feature would be useful.
59
+ Include code examples if applicable.
60
+
61
+ - type: dropdown
62
+ id: priority
63
+ attributes:
64
+ label: Priority
65
+ description: How important is this feature to you?
66
+ options:
67
+ - "Low - Nice to have"
68
+ - "Medium - Would be helpful"
69
+ - "High - Important for my use case"
70
+ - "Critical - Blocking my project"
71
+ validations:
72
+ required: true
73
+
74
+ - type: dropdown
75
+ id: complexity
76
+ attributes:
77
+ label: Estimated Complexity
78
+ description: How complex do you think this feature would be to implement?
79
+ options:
80
+ - "Simple - Small change"
81
+ - "Medium - Moderate effort"
82
+ - "Complex - Significant development"
83
+ - "Unknown - Not sure"
84
+
85
+ - type: textarea
86
+ id: api-design
87
+ attributes:
88
+ label: API Design (if applicable)
89
+ description: If this feature involves new APIs, describe how you'd like them to work.
90
+ placeholder: |
91
+ ```python
92
+ # Example of how the new API might look
93
+ from aiogram_cmds import SomeNewFeature
94
+
95
+ # Usage example
96
+ ```
97
+ render: python
98
+
99
+ - type: textarea
100
+ id: breaking-changes
101
+ attributes:
102
+ label: Breaking Changes
103
+ description: Would this feature require breaking changes to existing APIs?
104
+ placeholder: |
105
+ Describe any potential breaking changes and how they might be mitigated.
106
+
107
+ - type: textarea
108
+ id: additional-context
109
+ attributes:
110
+ label: Additional Context
111
+ description: Add any other context, mockups, or references about the feature request here.
112
+ placeholder: |
113
+ Add any other context, screenshots, or references about the feature request here.
114
+
115
+ - type: checkboxes
116
+ id: checklist
117
+ attributes:
118
+ label: Checklist
119
+ description: Please confirm the following
120
+ options:
121
+ - label: I have searched existing issues to ensure this is not a duplicate
122
+ required: true
123
+ - label: I have provided a clear problem statement
124
+ required: true
125
+ - label: I have described the proposed solution
126
+ required: true
127
+ - label: I have considered the impact on existing functionality
128
+ required: true
129
+ - label: I have provided use cases or examples
130
+ required: false
@@ -0,0 +1,173 @@
1
+ name: Performance Issue
2
+ description: Report performance problems or suggest optimizations
3
+ title: "[PERF] "
4
+ labels: ["performance"]
5
+ assignees: []
6
+
7
+ body:
8
+ - type: markdown
9
+ attributes:
10
+ value: |
11
+ Thank you for reporting a performance issue! Please fill out the form below to help us understand and investigate the problem.
12
+
13
+ - type: textarea
14
+ id: issue-description
15
+ attributes:
16
+ label: Performance Issue Description
17
+ description: A clear and concise description of the performance problem.
18
+ placeholder: Describe the performance issue...
19
+ validations:
20
+ required: true
21
+
22
+ - type: dropdown
23
+ id: issue-type
24
+ attributes:
25
+ label: Issue Type
26
+ description: What type of performance issue is this?
27
+ options:
28
+ - "Slow execution"
29
+ - "High memory usage"
30
+ - "Memory leak"
31
+ - "CPU intensive"
32
+ - "Network latency"
33
+ - "Database performance"
34
+ - "Concurrency issues"
35
+ - "Other (please specify)"
36
+ validations:
37
+ required: true
38
+
39
+ - type: textarea
40
+ id: affected-component
41
+ attributes:
42
+ label: Affected Component
43
+ description: Which component or feature is experiencing performance issues?
44
+ placeholder: e.g., CommandScopeManager, CommandBuilder, ProfileResolver, Translator, etc.
45
+ validations:
46
+ required: true
47
+
48
+ - type: textarea
49
+ id: reproduction-steps
50
+ attributes:
51
+ label: Steps to Reproduce
52
+ description: Detailed steps to reproduce the performance issue.
53
+ placeholder: |
54
+ 1. Set up the following configuration...
55
+ 2. Run the following code...
56
+ 3. Observe the performance issue...
57
+ validations:
58
+ required: true
59
+
60
+ - type: textarea
61
+ id: code-example
62
+ attributes:
63
+ label: Code Example
64
+ description: Provide a minimal code example that demonstrates the performance issue.
65
+ placeholder: |
66
+ ```python
67
+ # Code that demonstrates the performance issue
68
+ import time
69
+ from aiogram_cmds import CommandScopeManager
70
+
71
+ # Your code here
72
+ ```
73
+ render: python
74
+ validations:
75
+ required: true
76
+
77
+ - type: textarea
78
+ id: performance-metrics
79
+ attributes:
80
+ label: Performance Metrics
81
+ description: Provide specific performance measurements (execution time, memory usage, etc.).
82
+ placeholder: |
83
+ - Execution time: X seconds
84
+ - Memory usage: X MB
85
+ - CPU usage: X%
86
+ - Number of operations: X
87
+ - Throughput: X ops/sec
88
+
89
+ - type: textarea
90
+ id: expected-performance
91
+ attributes:
92
+ label: Expected Performance
93
+ description: What performance do you expect or consider acceptable?
94
+ placeholder: |
95
+ - Expected execution time: X seconds
96
+ - Expected memory usage: X MB
97
+ - Expected throughput: X ops/sec
98
+
99
+ - type: textarea
100
+ id: environment-details
101
+ attributes:
102
+ label: Environment Details
103
+ description: Provide details about your environment that might affect performance.
104
+ placeholder: |
105
+ - Python version: X.X.X
106
+ - aiogram-cmds version: X.X.X
107
+ - Operating system: X
108
+ - Hardware specs: CPU, RAM, etc.
109
+ - Bot configuration: Number of commands, profiles, languages, etc.
110
+ - Load conditions: Number of concurrent users, command update frequency, etc.
111
+
112
+ - type: textarea
113
+ id: profiling-results
114
+ attributes:
115
+ label: Profiling Results (if available)
116
+ description: If you've done any profiling, share the results here.
117
+ placeholder: |
118
+ ```python
119
+ # Profiling code and results
120
+ import cProfile
121
+ import pstats
122
+
123
+ # Your profiling code here
124
+ ```
125
+ render: python
126
+
127
+ - type: textarea
128
+ id: workarounds
129
+ attributes:
130
+ label: Workarounds
131
+ description: Have you found any workarounds or temporary solutions?
132
+ placeholder: |
133
+ Describe any workarounds or temporary solutions you've implemented.
134
+
135
+ - type: dropdown
136
+ id: severity
137
+ attributes:
138
+ label: Severity
139
+ description: How severe is this performance issue?
140
+ options:
141
+ - "Low - Minor impact"
142
+ - "Medium - Noticeable impact"
143
+ - "High - Significant impact"
144
+ - "Critical - Blocks production use"
145
+ validations:
146
+ required: true
147
+
148
+ - type: textarea
149
+ id: additional-context
150
+ attributes:
151
+ label: Additional Context
152
+ description: Add any other context about the performance issue here.
153
+ placeholder: |
154
+ Add any other context, logs, or information about the performance issue.
155
+
156
+ - type: checkboxes
157
+ id: checklist
158
+ attributes:
159
+ label: Checklist
160
+ description: Please confirm the following
161
+ options:
162
+ - label: I have searched existing issues to ensure this is not a duplicate
163
+ required: true
164
+ - label: I have provided a clear description of the performance issue
165
+ required: true
166
+ - label: I have included reproduction steps
167
+ required: true
168
+ - label: I have provided a minimal code example
169
+ required: true
170
+ - label: I have included performance metrics (if available)
171
+ required: false
172
+ - label: I have described the expected performance
173
+ required: true