semvec/pypi-packages huggingface dataset:
cli3 1.2.3
A highly configurable, dynamic, fast, and easy solution to managing a command-line application.
License: MIT
Requires Python: >=3.7

cli
===

[![forthebadge](https://forthebadge.com/images/badges/you-didnt-ask-for-this.svg)](https://forthebadge.com)
[![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com)
[![forthebadge](https://forthebadge.com/images/badges/made-with-python.svg)](https://forthebadge.com)

A highly configurable, dynamic, fast, and easy solution to managing
a command-line application. The goal is to make cli development as simple
and effective as possible for any configuration enabling the developer to
focus on function over form.

Supports Python >= 3.7 and can run asynchronously or synchronously.

This library took heavy initial inspiration by [urfave/cli](https://github.com/urfave/cli)
so credit to them for their work as well.

## Install

```bash
$ pip install cli3
```

## Documentation

More documentation is available in [`./docs`](https://github.com/imgurbot12/cli/tree/master/docs) or the hosted
documentation site at <https://cli3.readthedocs.org>.

## License

See [`LICENSE`](./LICENSE)
pyxml3 0.0.4
Pure python3 Alternative to stdlib xml.etree with HTML support
License: MIT
Requires Python: >=3.6

Pyxml
------
Pure python3 alternative to stdlib xml.etree with HTML support

### Install

```
pip install pyxml3
```

### Advantages

1. The default parser ignores XML Declaration Entities avoiding 
   most if not all XML related vulnerabilities such as 
   [The Billion Laughs Attack](https://en.wikipedia.org/wiki/Billion_laughs_attack)
 
2. Our XPATH implementation is much more complete than both xml.etree
   and even LXML. Additional functions and features are available making
   it easier to quickly parse complex data structures in a single line.

### Examples

###### Standard Usage:

```python
import pyxml

etree = pyxml.fromstring(b'<p>Hello World!</p>')
for element in etree.iter():
  print(element)

with open('example.xml', 'rb') as f:
  etree = pyxml.fromstring(f)
  print(etree)
```

###### Monkey Patch:

```python
import pyxml
pyxml.compat.monkey_patch()

from xml.etree import ElementTree as ET

etree = ET.fromstring('<div><p class="hello world">Hello World!</p></div>')
for element in etree.iter():
  print(element)

print(etree.find('//p[starts-with(lower-case(text()), "hello")]'))
```

###### HTML:

```python
import pyxml.html

etree = pyxml.html.fromstring('<div><p>Hello World!</p><br></div>')
for element in etree.iter():
  print(element)

print(etree.find('//p[notempty(text())]'))
```