Contribution Guidelines for Demon_Connect1 WhatsApp API#
We welcome contributions to the Demon_Connect1 WhatsApp API project. Whether you want to fix a bug, add a new feature, or improve the documentation, your contributions are valuable. To ensure smooth collaboration, please follow these guidelines:
Project Structure#
Our project is organized as follows:
whatsapp_api_project/
βββ π api/
β βββ π whatsapp_api.py
β βββ π __init__.py
β
βββ π drivers/
β βββ βοΈ chromedriver.exe
β βββ βοΈ geckodriver.exe
β
βββ π utils/
β βββ π constants.py
β βββ π helpers.py
β βββ π __init__.py
β
βββ π features/
β βββ π send/
β βββ π receive/
β βββ π login/
β βββ π group/
β βββ π media/
β βββ π commands/
β βββ π moderation/
β βββ π user_management/
β
βββ π requirements.txt
βββ π main.py
βββ π sample_usage.py
Contribution Workflow#
Fork the Repository: Click on the βForkβ button on the top right of the Demon_Connect1 repository to create your own copy of the repository.
Clone Your Fork: Clone your forked repository to your local machine:
git clone https://github.com/anupammaurya6767/Demon_connect.git
Create a New Branch: Create a new branch for your work. Name it descriptively, indicating the purpose of the branch:
git checkout -b feature/add-new-feature
Make Changes: Make your changes in the appropriate directory based on the feature youβre working on. Please follow our coding style and conventions.
Commit Changes: Commit your changes with a descriptive commit message:
git commit -m "Add new feature: feature name"
Push to Your Fork: Push your changes to your fork on GitHub:
git push origin feature/add-new-feature
Open a Pull Request: Go to your fork on GitHub and click the βNew Pull Requestβ button. Describe your changes and submit the pull request. Make sure to select the appropriate base repository and branch.
Coding Guidelines#
Follow PEP 8 style guidelines.
Write clear and concise code.
Provide meaningful variable and function names.
Document your code using docstrings and comments as necessary.
Ensure backward compatibility if youβre modifying existing functionality.
Testing#
If youβre adding new features or modifying existing ones, please provide tests for your code. We use Pythonβs built-in unittest framework for testing.
Documentation#
If youβre contributing to documentation, please use reStructuredText (rst) format and add your documentation in the relevant modules or create a new documentation module.
Review and Merge#
Your pull request will be reviewed by the project maintainers. They may suggest changes or improvements. Once the changes are accepted, your code will be merged into the main project.
Be Courteous#
Respect other contributors and maintainers. Constructive criticism is welcome, but be respectful in your interactions. We value a friendly and inclusive community.
We look forward to your contributions! Thank you for helping improve Demon_Connect1 WhatsApp API.