Python script designed to clone Git repositories, detect programming languages, validate the code, and log the results to an Excel file.
Project description
Automated Repository Processor
This Python package is designed to clone Git repositories, detect their programming languages, validate the code, and log the results to an Excel file. It provides a user-friendly interface for processing multiple repositories efficiently.
Features
- Clone or pull repositories from Git.
- Automatically detect the programming language used in each repository.
- Validate the code based on the detected language (supports Java, HTML/CSS, and SQL).
- Log results to an Excel file, with options to append to existing files.
- User-friendly file dialog for selecting Excel files.
Installation
You can install the package directly from PyPI using pip:
pip install automated-marking
Usage
- Create the repos.txt File:
-
After installation, you will need to create a repos.txt file in the root directory of your project. This file should contain the repository URLs and folder names, one per line, in the following format:
https://github.com/user/repo_name folder_name
-
Here’s an example of a
repos.txtfile:https://github.com/example-user/java-project my-java-project https://github.com/example-user/html-css-project my-html-css-project https://github.com/example-user/sql-project my-sql-project
- Run the script:
-
After setting up the repos.txt file, run the following command to start the script:
automated-marking
- Follow the prompts:
- The script will check the validity of the repository URLs.
- You will be prompted to select an Excel file to log results using a visual dialog or create a new one.
- The results will be saved in the specified Excel file following a predetermined format.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file automated_marking-0.1.4.tar.gz.
File metadata
- Download URL: automated_marking-0.1.4.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9da99b51c2bec46f98153b3234232bdd0d4d7e1d2ce942191823d42a845f2cbc
|
|
| MD5 |
24a98aeb4ce9aa59614e162b95f36e4c
|
|
| BLAKE2b-256 |
8639f8b2548548ca3979b5394e91811a801afc68740a4bd0801522dc5701e3bc
|
File details
Details for the file automated_marking-0.1.4-py3-none-any.whl.
File metadata
- Download URL: automated_marking-0.1.4-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
254fad0335fdab7003120af7c620c1a64d80f495ea4360c86215f1caf18dae20
|
|
| MD5 |
4abc8dd4488b9f9384270b4e8d0c4e94
|
|
| BLAKE2b-256 |
71ddf86e37dfe671a32ca48f0c20f80421687b694524d436843227aef1b677d8
|