semvec/pypi-packages huggingface dataset:
automated-marking 0.1.7
Python script designed to clone Git repositories, detect programming languages, validate the code, and log the results to an Excel file.
Requires Python: >=3.6

# 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:

```bash
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:

  ```txt
  https://github.com/user/repo_name folder_name
  ```

- Here's an example of a `repos.txt` file:

  ```txt
  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
  ```

2. **Run the script**:

- After setting up the repos.txt file, run the following command to start the script:

  ```bash
  automated-marking
  ```

3. **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.
pocket-to-bookmarks-html 0.2.1
A pocket to bookmarks.html converter
Requires Python: >=3.9

# Pocket-to-Bookmarks HTML Converter

This Python package converts a Pocket export HTML file to a standard bookmarks file format. It extracts links from your Pocket export and creates a new HTML file compatible with most web browsers' bookmark import features.

## Features

- Parses Pocket export HTML files
- Extracts link information including title, URL, and time added
- Generates a new HTML file in standard bookmarks format
- Preserves the original "time added" information for each bookmark
- Provides informative logging throughout the conversion process

## Requirements

- Python 3.9+
- BeautifulSoup4

## Installation

You can install the package using pip:

```
pip install pocket-to-bookmarks-html
```

## Usage

After installation, you can run the script from the command line using:

```
pocket2bookmarks input_pocket_export.html output_bookmarks.html
```

Replace `input_pocket_export.html` with the path to your Pocket export file, and `output_bookmarks.html` with your desired output file name.

## How It Works

1. The script parses the Pocket export HTML file using BeautifulSoup.
2. It extracts the title, URL, and time added for each link.
3. The extracted information is then formatted into a standard bookmarks HTML file.
4. The resulting file can be imported into most web browsers as bookmarks.

## Error Handling

- The script includes error handling for file reading and writing operations.
- Informative error messages are logged in case of any issues during the conversion process.

## Logging

The script uses Python's logging module to provide information about the conversion process, including:

- The number of links successfully converted
- Any errors encountered during file operations
- A warning if no links were found or processed

## Development

To set up the development environment:

1. Clone the repository:

   ```
   git clone https://github.com/davidpoblador/pocket-to-bookmarks-html.git
   cd pocket-to-bookmarks-html
   ```

2. Install development dependencies:

   ```
   pip install uv
   uv sync
   ```

## Contributing

Contributions, issues, and feature requests are welcome. Feel free to check the [issues page](https://github.com/davidpoblador/pocket-to-bookmarks-html/issues) if you want to contribute.

## License

[MIT](https://choosealicense.com/licenses/mit/)

## Author

David Poblador i Garcia

---

For more information or support, please open an issue in the repository.