Thank you for considering contributing to Scrape-ML! We welcome all types of contributions—bug reports, feature suggestions, documentation improvements, and code contributions. To make the process smooth, please follow the guidelines below.
By participating in this project, you agree to uphold our Code of Conduct. Please ensure that your contributions are respectful and considerate of others.
- Code of Conduct
- Project Structure
- How to Contribute
- Development Environment Setup
- Help And Support
- Good Coding Practices
SCRAPE-ML/
├── .github/ # GitHub-related configurations such as workflows, issue templates, etc
│
├── .ipynb_checkpoints/ # The movie review part is included here
│
├── .vscode/ # The settings.json file is included here
│
├── IMDB/ # IMDB related trained files are here
│
├── Movie Genre Classification/ # Movie genre classification file of python is included here
│
├── Smart_select features/ # Some .py files are included here
│
├── Tesseract-OCR/ # Some .html and .exe files are included here
│
├── Web_app/ # All the resources used in the web app are included here
│
├── assets/ # All the assets like images in the project are included here
│
├── backlog/ # All the .ipynb files are included here
│
├── data_scrapped # Some .csv files are included here
├──
├── .gitignore
├──
├── CODE_OF_CONDUCT.md # Some rules for the contributors
├──
├── CONTRIBUTING.md # Instructions for the contributors
├──
├── LICENSE # A permission to do something
├──
├── Learn.md
├──
├── Movie_review_imdb_scrapping.ipynb
├──
├── Movie_review_rotten_tomatoes.ipynb
├──
├── README.md # Some instructions related to the project
├──
├── image-1.png
├──
├── image-2.png
├──
├── image.png
├──
├── main.py # The main python file of the project
├──
├── results.csv # The results containing file of the project
-
Star this repository Click on the top right corner marked as Stars at last.
-
Fork this repository Click on the top right corner marked as Fork at second last.
-
Clone the forked repository
git clone https://github.com/<your-github-username>/Scrape-ML.git
- Navigate to the project directory
cd Scrape-ML
- Create a new branch
git checkout -b <your_branch_name>
- To make changes
git add .
- Now to commit
git commit -m "add comment according to your changes or addition of features inside this"
- Push your local commits to the remote repository
git push -u origin <your_branch_name>
-
Create a Pull Request
-
Congratulations! 🎉 you've made your contribution
-
Open GitHub Desktop: Launch GitHub Desktop and log in to your GitHub account if you haven't already.
-
Clone the Repository:
- If you haven't cloned the project repository yet, you can do so by clicking on the "File" menu and selecting "Clone Repository."
- Choose the project repository from the list of repositories on GitHub and clone it to your local machine.
3.Switch to the Correct Branch:
- Ensure you are on the branch that you want to submit a pull request for.
- If you need to switch branches, you can do so by clicking on the "Current Branch" dropdown menu and selecting the desired branch.
- Make Changes:
- Make your changes to the code or files in the repository using your preferred code editor.
- Commit Changes:
- In GitHub Desktop, you'll see a list of the files you've changed. Check the box next to each file you want to include in the commit.
- Enter a summary and description for your changes in the "Summary" and "Description" fields, respectively. Click the "Commit to " button to commit your changes to the local branch.
- Push Changes to GitHub:
- After committing your changes, click the "Push origin" button in the top right corner of GitHub Desktop to push your changes to your forked repository on GitHub.
- Create a Pull Request:
- Go to the GitHub website and navigate to your fork of the project repository.
- You should see a button to "Compare & pull request" between your fork and the original repository. Click on it.
- Review and Submit:
- On the pull request page, review your changes and add any additional information, such as a title and description, that you want to include with your pull request.
- Once you're satisfied, click the "Create pull request" button to submit your pull request.
- Wait for Review: Your pull request will now be available for review by the project maintainers. They may provide feedback or ask for changes before merging your pull request into the main branch of the project repository.
- Ensure your code follows the existing code style.
- Update documentation as needed.
- Verify that all existing tests pass and write new tests for new features.
- Mention the issue your pull request addresses (if applicable).
If you find a bug, please open an issue in our repository. When reporting a bug, provide as much detail as possible, including:
- To open issue, go here :- Issue
- Please kindly choose the appropriate template according to your issue.
- The version of Python you’re using.
- Steps to reproduce the issue.
- Screenshots or error logs, if available.
We are open to feature suggestions and improvements! If you have an idea for enhancing the project, please open an issue with:
- A clear and concise description of the suggested feature.
- How it would be beneficial to the project.
- Any potential implementation details you have in mind.
To contribute to Scrape-ML, follow these steps to set up your development environment:
- Python 3.7 or higher
- BeautifulSoup
- Requests
- Jupyter Notebook
-
Clone the repository:
git clone https://github.com/your-username/Scrape-ML.git
-
Create and activate a virtual environment:
python -m venv env
.\env\Scripts\activate # For Windows
source env/bin/activate # For Linux/macOS
-
Install the dependencies:
pip install -r requirements.txt
-
Launch Jupyter Notebook to start contributing:
jupyter notebook
- Admin Github Profile:- Sanjay Viswanathan
- Contact :- Topmate
-
Follow the Project's Code Style
- Maintain consistency with the existing code style (indentation, spacing, comments).
- Use meaningful and descriptive names for variables, functions, and classes.
- Keep functions short and focused on a single task.
- Avoid hardcoding values; instead, use constants or configuration files when possible.
-
Write Clear and Concise Comments
- Use comments to explain why you did something, not just what you did.
- Avoid unnecessary comments that state the obvious.
- Document complex logic and functions with brief explanations to help others understand your thought -process.
-
Keep Code DRY (Don't Repeat Yourself)
- Avoid duplicating code. Reuse functions, methods, and components whenever possible.
- If you find yourself copying and pasting code, consider creating a new function or component.
-
Write Tests
- Write unit tests for your functions and components.
- Ensure your tests cover both expected outcomes and edge cases.
- Run tests locally before making a pull request to make sure your changes don’t introduce new bugs.
-
Code Reviews and Feedback
- Be open to receiving constructive feedback from other contributors.
- Conduct code reviews for others and provide meaningful suggestions to improve the code.
- Always refactor your code based on feedback to meet the project's standards.
- Make sure to follow clean coding practices.
- Add comments wherever necessary for better code understanding.
- If you are adding new functionality, update the documentation in the README.
We truly appreciate your time and effort to help improve our project. Feel free to reach out if you have any questions or need guidance. Happy coding! 🚀