semvec/pypi-packages huggingface dataset:
ascii-dirtree 1.1.0
Small CLI app to print out a pretty ascii tree of a directory.
Requires Python: >=3.9

# dirtree
Generate good-looking ascii trees of directories and files.

## Installation
Install and update using [pip](https://pip.pypa.io/en/stable/quickstart/):
```bash
pip install -U ascii-dirtree
```

## Usage
```yaml
usage: dirtree [-h] [-p [PATH]] [-f] [-c] [-i [IGNORE ...]] [-d DEPTH]

optional arguments:
  -h, --help            show this help message and exit
  -p [PATH], --path [PATH]
                        Path to start from
  -f, --files           print files
  -c, --clip            copy to clipboard
  -i [IGNORE ...], --ignore [IGNORE ...]
                        ignore files matching glob
  -d DEPTH, --depth DEPTH
                        depth to traverse, negative for infinite
```

Example:  
![](https://user-images.githubusercontent.com/39841117/209985305-bcdf7945-debc-439e-bf69-a0f935d08d03.gif)
singledispatch-with-type-arg-support 0.1.3
singledispatch with support for type/class arguments
Requires Python: >=3.12,<4.0

# singledispatch-with-type-arg-support

Standalone "preview" of https://github.com/python/cpython/pull/100624

Based off `cpython` commit c4c5790120beabed83ce5855f18d209ab8324434

## Installation

**Requires a sufficiently recent Python 3.12 version** (some tests fail with
earlier 3.12 versions, although the main functionality might still work - do
your own testing).

```bash
pip3 install singledispatch-with-type-arg-support
```

## Example

See `example.py`:

```python
from singledispatch_with_type_arg_support import singledispatch

@singledispatch
def describe(x) -> str:
  raise TypeError(f"no description for {repr(x)}")

@describe.register
def _(x: type[int]) -> str:
  return "the integer type"

print(describe(int))  # should print: the integer type
```

## License

Same as CPython (as 99% of it is copied from there), see `LICENSE` file.