Skip to main content

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

  1. 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.txt file:

    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
    
  1. Run the script:
  • After setting up the repos.txt file, run the following command to start the script:

    automated-marking
    
  1. 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

automated_marking-0.1.5.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

automated_marking-0.1.5-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file automated_marking-0.1.5.tar.gz.

File metadata

  • Download URL: automated_marking-0.1.5.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for automated_marking-0.1.5.tar.gz
Algorithm Hash digest
SHA256 8fb42d6ea1c88d10da40f03dfa980bd36d6485b788beaa65e81186424f6449c4
MD5 557aea44c4a09a42148e5d5a9b021512
BLAKE2b-256 f328821c3883ca11eeb4ebf4727c1a4cac12c879febc374583cb5142dbbe070b

See more details on using hashes here.

File details

Details for the file automated_marking-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for automated_marking-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ceb9491f623af362685a4fedfc0b346d0e71b88c35adf95ab726cf1f025c8468
MD5 792e5288b8309b0d4c51bc448dd6e30c
BLAKE2b-256 68b287e5fb025c1c5e542bf0b4729d706f7360929d8357ba7195203f67cf41cd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page