feat: Add Arabic support, Docker Compose, and retry mechanisms#579
Closed
razour08 wants to merge 1 commit intogijzelaerr:masterfrom
Closed
feat: Add Arabic support, Docker Compose, and retry mechanisms#579razour08 wants to merge 1 commit intogijzelaerr:masterfrom
razour08 wants to merge 1 commit intogijzelaerr:masterfrom
Conversation
Owner
|
and so the AI PR thing starts here also. sorry these are just too many unrelated changes. it changes formatting and file permissions also. please issue seperate PR's per problem you try to solve. |
Owner
|
also, i want to merge the pure python implementation first #569 if you can, please test if that code works for you and report back on the PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📋 Summary
This PR introduces Arabic language support, Docker Compose infrastructure, and new utility modules (retry & managed connection) to enhance the python-snap7 developer experience.
🆕 New Features
🌍 Arabic Language Support
README_AR.rst— Full Arabic README for Arabic-speaking contributorsdoc/ar/— Arabic Sphinx documentation:development.rst,docker.rst,examples.rst,troubleshooting.rst🐳 Docker & Containerization
docker-compose.yml— Two services:snap7-server: S7 server emulator on port 102 with healthchecksnap7-dev: Development environment with live source code mountingDockerfile— Optimized layers,EXPOSE,CMD, bilingual comments.dockerignore— Comprehensive exclusions to reduce image size🔧 Utility Modules
snap7/util/retry.py—@retrydecorator with configurable exponential backoff +RetryConfigclass for reusable retry configurationssnap7/util/connection.py—ManagedClientwith auto-reconnect, connection health monitoring, timeout configuration, and context manager support📖 Documentation
CONTRIBUTING.md— Bilingual contribution guide (English + Arabic) covering bug reporting, PRs, code style, and testingdoc/faq.rst— Frequently asked questionsdoc/troubleshooting.rst— Common issues and solutionsdoc/docker.rst— Docker usage guiderequirements.txt— Dependencies with bilingual comments🔄 Improvements
pyproject.tomlconfigurationpytest-covsupport for coverage reportsCHANGES.mdwith all new additions under version 2.1📊 Stats