pepeunit-client 0.10.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.
- pepeunit_client-0.10.0/.cursor/rules/pepeunit-client.mdc +28 -0
- pepeunit_client-0.10.0/.gitignore +21 -0
- pepeunit_client-0.10.0/LICENSE +661 -0
- pepeunit_client-0.10.0/PKG-INFO +485 -0
- pepeunit_client-0.10.0/README.md +450 -0
- pepeunit_client-0.10.0/example/basic.py +109 -0
- pepeunit_client-0.10.0/example/tmp/.keep +0 -0
- pepeunit_client-0.10.0/pyproject.toml +57 -0
- pepeunit_client-0.10.0/pytest.ini +19 -0
- pepeunit_client-0.10.0/src/pepeunit_client/__init__.py +11 -0
- pepeunit_client-0.10.0/src/pepeunit_client/abstract_clients.py +156 -0
- pepeunit_client-0.10.0/src/pepeunit_client/client.py +308 -0
- pepeunit_client-0.10.0/src/pepeunit_client/enums.py +56 -0
- pepeunit_client-0.10.0/src/pepeunit_client/file_manager.py +159 -0
- pepeunit_client-0.10.0/src/pepeunit_client/logger.py +92 -0
- pepeunit_client-0.10.0/src/pepeunit_client/pepeunit_mqtt_client.py +77 -0
- pepeunit_client-0.10.0/src/pepeunit_client/pepeunit_rest_client.py +82 -0
- pepeunit_client-0.10.0/src/pepeunit_client/schema_manager.py +81 -0
- pepeunit_client-0.10.0/src/pepeunit_client/settings.py +54 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
description:
|
|
3
|
+
globs:
|
|
4
|
+
alwaysApply: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## PRIORITY 1: Core Requirements (MUST follow)
|
|
8
|
+
- Follow PyPI Python packaging standards with proper project structure
|
|
9
|
+
- PepeunitClient is the ONLY public interface - all other classes are internal
|
|
10
|
+
- Implement ALL functionality specified in context/tz.md exactly as described
|
|
11
|
+
- Use context/old_client.py as reference for MQTT/REST interaction patterns
|
|
12
|
+
|
|
13
|
+
## PRIORITY 2: Code Organization (MUST follow)
|
|
14
|
+
- Remove unused code: functions, methods, attributes, classes not referenced in codebase
|
|
15
|
+
- No redundant implementations - one function per responsibility
|
|
16
|
+
- No comments in code - code must be self-documenting
|
|
17
|
+
- Use type hints and proper class organization
|
|
18
|
+
|
|
19
|
+
## PRIORITY 3: Project Constraints (MUST follow)
|
|
20
|
+
- Do not modify: .gitignore, README.md, pyproject.toml structure
|
|
21
|
+
- No test files, no example files, no documentation files
|
|
22
|
+
- Only create/modify files explicitly required by tz.md specifications
|
|
23
|
+
|
|
24
|
+
## PRIORITY 4: Implementation Rules (MUST follow)
|
|
25
|
+
- Only implement what is explicitly specified in user prompts
|
|
26
|
+
- Use Protocol classes for dependency injection (MQTT/REST clients)
|
|
27
|
+
- Handle missing dependencies gracefully with standard Python errors
|
|
28
|
+
- No print() statements - use proper error handling or logger
|