semvec/pypi-packages huggingface dataset:
printdirtree 0.1.5
A CLI utility to print the directory tree structure with customizable exclusions.
Requires Python: >=3.6

# PrintDirTree

`printdirtree` is a command-line utility that prints the structure of a directory tree, 
allowing you to easily specify files and directories to exclude. 

You can now also print the contents of all files, which is very useful for prompting LLMs. 

**Example:**

```bash
$ printdirtree
PrintDirTree
├── MANIFEST.in
├── README.md
├── printdirtree
│   ├── __init__.py
│   └── __main__.py
└── setup.py
```

This tool is very useful to aid with prompting ChatGPT. 

## Installation

Install `printdirtree` easily with pip:

```sh
pip install printdirtree
```

## Usage

To use `printdirtree`, simply run the command followed by optional arguments to tailor the output to your needs. 
The basic usage prints the current directory structure:

```sh
printdirtree
```

### Specifying a Directory

To print the structure of a specific directory:

```sh
printdirtree --dir /path/to/directory
```

### Excluding Directories and Files

Exclude specific directories and/or file patterns:

```sh
printdirtree --exclude-dir node_modules --exclude-dir .git --exclude-file "*.log"
```

### Saving Preferences

To save your exclusions for future runs:

```sh
printdirtree --exclude-dir temp --exclude-file "*.tmp" --save
```

### Viewing Current Exclusions

See what exclusions are currently saved:

```sh
printdirtree --view-exclusions
```

### Including Directories and Files Back

To remove exclusions and include directories or files back into the printout:

```sh
printdirtree --include-dir temp --include-file "*.tmp" --save
```

### Showing File Contents

To display both the directory structure and the contents of all files:

```sh
printdirtree --show-contents
```

This will output the directory tree followed by each file's contents with its relative path as a comment. For example:

```
temp
├── a.py
└── b.py

# temp/a.py
print("a.py")

# temp/b.py
print("b.py")
```

This is particularly useful when sharing code with LLMs, as it provides both structure and content in a clear, readable format.

## Example Usage

After installing `printdirtree`, you can run it to visualize the structure of your project directory. Here's an example command that excludes `.git` files:

```sh
printdirtree --exclude-file ".git"
```

Output for the `PrintDirTree` project might look like this:

```
PrintDirTree
├── MANIFEST.in
├── README.md
├── printdirtree
│   ├── __init__.py
│   └── __main__.py
└── setup.py
```
annie-lappd 0.1
A package that processes the ASCII data generated by the ACDC boards.
Requires Python: >=3.6

# annie_lappd

This is a Python package that reads and processes the ASCII files

## Installation

You can install the package using pip:

```bash
pip install annie_lappd
```

## Examples:

```bash
from annie_lappd import plotLAPPD

events = 2
data = 'datafile.txt'
pedestal1 = 'pedestal01.txt'
pedestal2 = 'pedestal02.txt'

pedestals = [pedestal1, pedestal2]

lappd = plotLAPPD(data, pedestals)
lappd.pedestalSubtraction
lappd.convertADCtoVoltage
lappd.correctingACDCmetadata
lappd.convertACDCtoStripIndex
lappd.baselineCorrection(50)
lappd.filterFFT

lappd.displayEvent(4, 1, 1)
```
hack4u-sammy-ulfh 0.1.1
Una biblioteca para consultar cursos de hack4u.

# Hack4u Academy Courses Library

Una biblioteca de Python para consultar cursos de la academia Hack4u.
## Cursos disponibles

- Introducción a Linux [15 horas]
- Personalización de entorno en Linux [3 horas]
- Python ofensivo [35 horas]
- Introducción al Hacking [53 horas]

## Instalación

Instala el paquete utilizando `pip3`

```python3	
pip3 install hack4u_sammy-ulfh
```

## Uso básico

### Listar todos los cursos

```python
from hack4u import list_courses

for course in list_courses():
	print(course)
```

### Obtener un curso por nombre

```python
from hack4u import search_course_by_name

course = search_course_by_name("Introducción a Linux")
print(course)
```


### Calcular la duración total de los cursos

```python
from hack4u import total_duration

print(f"Duración total: {total_duration()} horas")
```