semvec/pypi-packages huggingface dataset:
dirstructx 0.1.0
A tool to generate structured representations of directories
Requires Python: >=3.6

# dirstructx – Directory Structure Generator 📂

**dirstructx** is a Python package that generates structured representations of a directory. It supports multiple output formats such as **JSON, YAML, and tree-like structures**, making it useful for documenting project structures or analyzing filesystem layouts.

## ✨ Features
- **Generate directory structures** recursively with flexible formatting
- **Supports multiple output formats:**
  - `json` (machine-readable)
  - `yaml` (configuration-friendly)
  - `tree` (human-readable)
- **CLI Usage** for quick execution in the terminal
- **Library Usage** for integration into Python projects
- **Custom Sorting Options:**  
  - List **files before directories** or **directories first**  
  - Sort alphabetically or keep the natural order

---

## 🛠 Installation

To install **dirstructx**, clone the repository and install dependencies:

```sh
git clone https://github.com/muldercw/dirstructx.git
cd dirstructx
pip install -r requirements.txt
```

Or install via `pip` (if published on PyPI):

```sh
pip install dirstructx
```

---

## 🚀 Usage

You can use **dirstructx** via **CLI** or as a **Python library**.

### 📌 CLI Usage

Run `dirstructx` on any directory:

```sh
python -m dirstructx /path/to/project --format tree
```

Available output formats:

```sh
python -m dirstructx /path/to/project --format json
python -m dirstructx /path/to/project --format yaml
python -m dirstructx /path/to/project --format tree
```

To redirect output to a file:

```sh
python -m dirstructx /path/to/project --format tree > output.txt
```

---

### 📜 Example Output

#### JSON Output (`--format json`)
```json
{
    "README.md": null,
    "setup.py": null,
    "src": {
        "__init__.py": null,
        "main.py": null,
        "utils": {
            "helpers.py": null,
            "formatters.py": null
        }
    }
}
```

#### YAML Output (`--format yaml`)
```yaml
README.md: null
setup.py: null
src:
  __init__.py: null
  main.py: null
  utils:
    helpers.py: null
    formatters.py: null
```

#### Tree Output (`--format tree`)
```
├── README.md
├── setup.py
└── src
    ├── __init__.py
    ├── main.py
    └── utils
        ├── helpers.py
        └── formatters.py
```

---

## 🖥️ Library Usage

You can also use `dirstructx` in your Python scripts:

```python
from dirstructx import generate_structure

directory_path = "/path/to/project"
structure = generate_structure(directory_path)

print(structure)  # Prints the directory structure as a dictionary
```

To format the output in JSON:

```python
import json
print(json.dumps(structure, indent=4))
```

Or in YAML:

```python
import yaml
print(yaml.dump(structure, default_flow_style=False))
```

---

## 📝 License

This project is licensed under the **MIT License**.

---

## 📫 Contact

For any issues or feature requests, please open an issue on [GitHub](https://github.com/muldercw/dirstructx).

Happy coding! 🚀
pynes-io 1.0.0
easy standard io line buffering
Requires Python: >=3.8

```
pip install pynes (todo)
```

## Hack your console with Pynes
An easy-to-use api for accessing python's sys.stdio and sys.stderr streams. Consistently line-buffered with asynchronous support.

Pynes has built-in support for windows with the msvcrt library.

### Write to std io

```python
from pynes.core import Writer

def synchronousWriter():
  writeline = Writer().createStdIoWriter()
  writeline("hello io")

async def asynchronousWriter():
  writeline = Writer().createStdIoWriterAsync()
  await writeline("hello io")

```

### Read from std io

```python
from pynes.core import Reader

def synchronousReader():
  readline = Reader().create()
  for line in readline:
    print(line)

async def asynchronousReader():
  readline = await Reader().createAsync()
  async for line in readline():
    print(line)

```

### Remember, you're just a number

  ![x](https://raw.githubusercontent.com/Auttcast/pynes/refs/heads/master/console.png)


### Built on 

Python 3.12.8

pytest 8.3.4
meowlogs 0.0.3
Python library to simplify working with the standard logging library
Requires Python: >=3.8

# meowlogs

[![PyPI - Version](https://img.shields.io/pypi/v/meowlogs.svg)](https://pypi.org/project/meowlogs)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/meowlogs.svg)](https://pypi.org/project/meowlogs)

-----
Python library to simplify working with the standard logging library.

The key features are:

- The library creates a configuration for logging. 
- Writes logs to the console and a file. 
- The file name is the current date. 
- When writing logs to a file, the logging level is taken into account. 
- Can be used to configure logging in Django, Celery, and custom logs.

## Table of Contents

- [Installation](#installation)
- [Example of use](#example-of-use)
- [License](#license)

## Installation

```console
pip install meowlogs
```

## Example of use

### [Using a library with a class](https://github.com/PyBackDev/meowlogs/blob/main/ready_made_solutions/meowlogs_class.py)

### [Using a library with a function](https://github.com/PyBackDev/meowlogs/blob/main/ready_made_solutions/meowlogs_func.py)

## License

`meowlogs` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
rni-pkg 0.1.0
Rni is used to install the package from github and other sites
Requires Python: >=3.6

# rni - Package Manager

## Overview
`rni` is a simple package manager designed for installing, updating, and managing packages from GitHub and other sources. It allows users to easily fetch, install, and uninstall packages while maintaining version control.

## Installation
To install `rni`, run the following command:

```sh
pip3 install rni
```

## Usage
After installing `rni`, you can use the following commands:

### Install a Package
```sh
rni install <package_url>
```
Example:
```sh
rni install -git rasmnout/rni
```

### Update `rni`
```sh
rni update
```

### Remove a Package
```sh
rni remove <package_name>
```
Example:
```sh
rni remove example-package
```

### Search for a Package
```sh
rni search <package_url>
```
Example:
```sh
rni search -git rasmnout/rni
```

### List Installed Packages
```sh
rni list
```

## Features
- Install packages from GitHub and other repositories.
- Uninstall packages and clean up related files.
- Check and update installed packages.
- Maintain package logs for tracking installed software.

## Configuration
By default, `rni` modifies the system's `PATH` variable to include its `bin` directory:
```sh
export PATH="/rni/bin:/usr/local/bin:/bin:$PATH"
```
If this is not automatically set up, you may need to manually add it to your `~/.bashrc` or `~/.bash_profile`.

## Contributing
Feel free to contribute to `rni` by submitting pull requests on GitHub: [rni Repository](https://github.com/rasmnout/rni).

## License
`rni` is licensed under the Apache License 2.0.

## Contact
Author: trspn (Rasmnout Owner)  
Email: rasmnout@gmail.com  
Website: [rni Home Page](https://rasmnout.github.io/rni)