semvec/pypi-packages huggingface dataset:
RepoScribe 0.2.6
A lightweight tool to compile project files and directories into a structured Markdown document
Requires Python: >=3.10

# RepoScribe
RepoScribe is a basic, lightweight tool for compiling your codebase and directory structure into a structured Markdown document. It is designed to enrich Large Language Models (LLMs) with project-specific context, but it's also highly effective for straightforward navigation and review of code projects or folders. The python package is self-contained, with no external dependencies.


<div style="text-align: center;">
  <img src="reposcribe_logo.png" alt="The kindly helper" style="max-width: 30%; height: auto; display: block; margin: 0 auto;">
</div>


## Installation

To install RepoScribe, simply use pip:

```bash
pip install RepoScribe
```

## Usage

### In the Terminal

RepoScribe can be used directly from your command line. You can run it in your project's root directory to create a Markdown file of the entire project:

```bash
reposcribe
```

This command will generate a `reposcribe.md` file in the current directory. If you want to specify the root directory of your project and the output file location, you can do so as follows:

```bash
reposcribe /path/to/project /path/to/output.md
```

### In a Python File

You can also use RepoScribe programmatically in your Python scripts. Here's a simple usage example:

```python
from reposcribe import create_doc_file

# Generate documentation for the project
project_doc = create_doc_file(root_path='/path/to/project', save_path='/path/to/output.md')

# The `project_doc` variable now contains the Markdown content
print(project_doc)
```

## Features

- Compile entire projects into a single Markdown document.
- Include a detailed file and directory structure.
- Simple and intuitive command-line interface.
- Flexible usage - run in your project's root directory with no arguments or specify paths as needed.

- **File Type Filters**: Specify a list of file extensions or file names to include or exclude from the documentation.

## Planned Features

- **Multiple Output Formats**: Allow exporting documentation to formats like HTML, PDF, or a Word document.
- **Code Syntax Highlighting**: Integrate syntax highlighting in the generated Markdown for better readability of code snippets.
- **Documenting Non-Code Files**: Include a structured summary of non-code files (like images, text files) in the project.
- **GitHub Integration**: Generate documentation by specifying a public GitHub repository.
- **Dependency Graphs**: Generate visual dependency graphs for the project, showing how different files and modules are interconnected.
py416 0.62
don't question my methods
Requires Python: >=3.8

# py416

[![tests](https://github.com/ezio416/py416/actions/workflows/tests.yml/badge.svg)](https://github.com/ezio416/py416/actions)
[![docs](https://readthedocs.org/projects/py416/badge/?version=latest)](https://py416.readthedocs.io/en/latest/)
[![PyPI](https://badge.fury.io/py/py416.svg)](https://pypi.org/project/py416/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

What this package is and hopes to achieve
-----------------------------------------

This is a collection of various functions, mostly for my own use in writing scripts for work and personal projects. I built this for the following reasons:

- Learn more advanced Python concepts
- Convenience of installing through pip
- Greatly cut down on the amount copy-pasting of code between projects
- Produce something that looks professional and can be used by others
- I abhor Windows' backslashes

The bulk of this package deals with filesystem manipulation as that's what I need it for most. A lot of these functions are just wrappers for basic os and shutil functions with some extra safety, configurability, and normalization.

This is built in Python 3.8 because it's the latest version available on Windows 8, which is required for my work. This is automatically tested on macOS, Ubuntu, and Windows with Python versions 3.8-3.12. I have no plans to test on older versions, nor to add new features that don't work in 3.8, such as dict union operators (3.9), match (3.10), or toml (3.11).
clean_links 0.1.3
Tools for cleaning up links
Requires Python: >=3.8,<4.0

# clean-links

[![Release](https://img.shields.io/github/v/release/stringertheory/clean-links)](https://img.shields.io/github/v/release/stringertheory/clean-links)
[![Build status](https://img.shields.io/github/actions/workflow/status/stringertheory/clean-links/main.yml?branch=main)](https://github.com/stringertheory/clean-links/actions/workflows/main.yml?query=branch%3Amain)
[![codecov](https://codecov.io/gh/stringertheory/clean-links/branch/main/graph/badge.svg)](https://codecov.io/gh/stringertheory/clean-links)
[![Commit activity](https://img.shields.io/github/commit-activity/m/stringertheory/clean-links)](https://img.shields.io/github/commit-activity/m/stringertheory/clean-links)
[![License](https://img.shields.io/github/license/stringertheory/clean-links)](https://img.shields.io/github/license/stringertheory/clean-links)

Tools for cleaning up links.

Remove cruft from URLs using the rules from
https://github.com/ClearURLs/Rules

Unshorten URLs by making requests and following redirects.

Are these two links the same?

```python
link1 = "https://trib.al/5m7fAg3"
link2 = "https://bit.ly/dirtylank"

resolved1 = unshorten_url(link1).get("resolved")
cleaned1 = clear_url(resolved1)

resolved2 = unshorten_url(link2).get("resolved")
cleaned2 = clear_url(resolved2)

cleaned1 == cleaned2  # True!
```