semvec/pypi-packages huggingface dataset:
tutorial-text2pdf-style 0.1.2
Convert cleanly formatted .txt documentation into color-styled PDF files.
Requires Python: >=3.7

[![Use this template](https://img.shields.io/badge/-Use%20this%20template-brightgreen?style=for-the-badge)](https://github.com/adhikaripb/coding-scripting-tutorial-pdf-generator/generate)
<p align="center">
  <img src="assets/banner.png" width="80%" alt="Repo Banner"/>
</p>
# 📄 Text-to-Colored-PDF Converter

![Python](https://img.shields.io/badge/Python-3.7+-blue?logo=python)
![License](https://img.shields.io/badge/license-MIT-green)
![Status](https://img.shields.io/badge/status-active-brightgreen)
![Stars](https://img.shields.io/github/stars/adhikaripb/workflow-text-to-colored-pdf?style=social)
![Last Commit](https://img.shields.io/github/last-commit/adhikaripb/workflow-text-to-colored-pdf)

A stylish and minimal Python script that converts cleanly formatted `.txt` documentation into beautifully styled PDFs — ideal for sharing protocols, tutorials, coding steps, or structured instructions.

---
## 🧭 Table of Contents

- [Features](#️features)
- [Input Format Example](#input-format-example)
- [How to Use](#how-to-use)
- [Sample Output](#sample-output)
- [Project Structure](#project-structure)
- [Credits](#credits)
- [License](#license)

---

## 🖋️ Features

- 🪄 Converts step-based text into structured colored PDFs
- 🎨 Syntax-highlighted script blocks
- ✍️ Instruction + code separation with visual hierarchy
- 📦 Automatically wraps long lines inside script blocks
- 📜 Supports project titles and contributor metadata from the `.txt`
- 📤 Outputs PDF in the same directory as input

---

## 📝 Input Format Example

```text
Title: GitHub Push Workflow from PyCharm (Styled Script Format)
[Prepared by AdhikariPB with ChatGPT]

Step 1: Create a Proper PyCharm Project
- Structure cleanly (e.g., ~/PyCharmProjects/my_project)
- Include a README.md and .gitignore if needed.

"""
$ git init
"""
```

---

## 🚀 How to Use

### 1. Clone the Repository

```bash
git clone https://github.com/adhikaripb/coding-scripting-tutorial-pdf-generator.git
cd coding-scripting-tutorial-pdf-generator
```

### 2. [Optional] Install Required Package

The script auto-checks and installs prerequisite modules. However, if you'd like to do it manuyally,

```bash
pip install fpdf
```

### 3. Run the Script

Once installed (or after setup locally), you can run it from anywhere using:

```bash
tutorial-txt2pdf-style
```

- You'll be prompted to provide a path to a `.txt` file.
- A color-styled PDF will be generated in the same folder.

---

## 📷 Sample Output

<p align="center">
  <img src="tutorial_text2pdf_style/sample_output.png" alt="Sample Output Preview" width="100%" />
</p>
gads3 0.0.1
An async and lightweight S3 client for uploading, downloading, and deleting files
Requires Python: >=3.8

<p align="center">
  <a href="https://github.com/AlexDemure/gads3">
    <a href="https://ibb.co/8ghgbtdJ"><img src="https://i.ibb.co/xq4qYdfy/logo.png" alt="logo" border="0"></a>
  </a>
</p>

<p align="center">
  An async and lightweight S3 client for uploading, downloading, and deleting files
</p>

---

### Installation

```
pip install gads3
```

### Usage

```sh
from gads3 import S3, Mimetype

s3 = S3(
    bucket="media",
    endpoint_url="http://localhost:9000",
    aws_access_key_id="S3_ACCESS_KEY",
    aws_secret_access_key="S3_SECRET_KEY",
)

await s3.upload(file=bytes, filename="filename", mimetype=Mimetype.jpeg storage="files")
await s3.delete(filename="filename", mimetype=Mimetype.jpeg storage="files")
```
symbolslang 1.0.4
A CLI tool for compiling and executing symbols.
Requires Python: >=3.6

# Symbols

Symbols is a CLI tool for compiling and executing symbols files. It allows you to process and execute algorithms defined in custom `.sym` files.

## Features

- Compile `.sym` files into executable algorithms.
- Execute specific functions or all functions from a `.sym` file.
- Easy-to-use CLI interface.

## Requirements

- **Python 3.8+**
- **GCC**: Required for compiling the generated C code.

## Installation

Install the package using pip:

```bash
pip install symbols
```

## Usage

### Compile a `.sym` File

```bash
symbols compile <filename>
```

### Execute a Function

```bash
symbols execute <filename> <funcname> <args>
```

- `<filename>`: Path to the `.sym` file.
- `<funcname>`: Name of the function to execute. If omitted, all functions will be executed.
- `<args>`: Arguments to pass to the function(s).

### Example

```bash
symbols compile file.sym
symbols execute file.sym add 10
```

## License

This project is licensed under the MIT License. See the LICENSE file for details.
gadlogging 0.0.1
A production-ready logging configuration module for Python.
Requires Python: >=3.8

<p align="center">
  <a href="https://github.com/AlexDemure/gadlogging">
    <a href="https://ibb.co/9m5Bwnm9"><img src="https://i.ibb.co/vCnfs1Cx/logo.png" alt="logo" border="0"></a>
  </a>
</p>

<p align="center">
  A production-ready logging configuration module for Python.
</p>

---

### Installation

```
pip install gadlogging
```

### Usage

```python
import json
import sys
import logging
from gadlogging import config, Logger

config.setup(Logger("root", logging.INFO, json, sys.stdout))

logger = logging.getLogger()
```
gadcodegenerator 0.0.1
A fast code generator CLI tool
Requires Python: >=3.8

<p align="center">
  <a href="https://github.com/AlexDemure/gadcodegenerator">
    <a href="https://ibb.co/vSn3hLd"><img src="https://i.ibb.co/Rqw3NQ6/logo.png" alt="logo" border="0"></a>
  </a>
</p>

<p align="center">
  CLI utility for code generation based on a TOML configuration file.
</p>

---

### Installation

```
pip install gadcodegenerator
```

### Usage

```sh
gadcodegenerator --file {config.toml} --context "{}"
```

### General Structure

```
workdir = "myproject"

folders = []

exclude = []

[[files]]
path = "{{name}}.py"
content = """
def hello():
    print("Hello", {{name}})

if __name__ == '__main__':
    hello()
"""

[[scripts]]
command = "isort {{workdir}}"
check = true
```

### Sections Overview

| Section       | Format                          | Description                                                             |   |   |
|---------------|---------------------------------|-------------------------------------------------------------------------|---|---|
| `workdir`     | `""`                            | Uses the current directory                                              |   |   |
|               | `"myproject"`                   | Uses the current directory + `/myproject`                               |   |   |
|               | `"/home/myproject"`             | Uses an absolute path                                                   |   |   |
| `exclude`     | `["src/static/__init__.py"]`    | Uses a relative path to `workdir`. Excludes file creation.              |   |   |
| `folders`     | `["src/", "src/static"]`        | Uses a relative path to `workdir`. Describes directories to be created. |   |   |
| `[[files]]`   |                                 | Defines file creation rules                                             |   |   |
|               | `mode = "a"`                    | File writing mode: `"a"` (append), `"w"` (overwrite)                    |   |   |
|               | `path = "src/__init__.py"`      | Relative to workdir, specifies file location.                           |   |   |
|               | `""" ... """ / path / url`      | Raw content, local file path, or URL for remote content.                |   |   |
| `[[scripts]]` |                                 | Defines commands to be executed after generation.                       |   |   |
|               | `command = "isort {{workdir}}"` | Command to execute, supports dynamic variables.                         |   |   |
|               | `check = True\False"`           | If true, raises an error if the command fails, otherwise logs output.   |   |   |