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.
Release files for automated-marking 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| automated_marking-0.1.7.tar.gz | 10.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| automated_marking-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.4 kB
Release files / automated_marking-0.1.7.tar.gz
| Download URL | automated_marking-0.1.7.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07c8dea68e36dd7158fff01f32e507f961f264dafa64304539e95ca19476e004
|
|
BLAKE2b-256 checksum How to use checksums |
e3bc6d65daaee02d686c25c61c5f46c70e8fb4d9203c5d1691a7f5ac1d73e6db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / automated_marking-0.1.7-py3-none-any.whl
| Download URL | automated_marking-0.1.7-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9667cd120e22ee34aaab8511d839b2501d5739eb2bc4fdbdd58be01ea733b32
|
|
BLAKE2b-256 checksum How to use checksums |
43e96e6c499952ed08c08a7769f114bdc8411ce8abd7d2430f5b31a6668a4f1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|