semvec/pypi-packages huggingface dataset:
pup-tools 3.0.0
A collection of miscellaneous Python tools.
License: MIT
Requires Python: >=3.5

# pup-tools

A collection of Python tools, available via `python3 -m pup.TOOL [...]`
or `pup.TOOL`, which provide built using only the Python standard library.

## Usage

### http

Fetch a document over HTTP.

```
$ pup.http get https://da.gd/ua
Python-urllib/3.6

$
```

### xpath

Run XPath queries on a document provided via stdin, and print the
results.

```
$ pup.http get 'http://rss.accuweather.com/rss/liveweather_rss.asp?locCode=02451' | pup.xpath ./channel/title ./channel/item/title
Waltham, MA - AccuWeather.com Forecast
Currently: Intermittent Clouds: 93F
$
```

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/duckinator/pup-tools. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.

## License

The program is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

## Code of Conduct

Everyone interacting in the pup-tools project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/duckinator/pup-tools/blob/master/CODE_OF_CONDUCT.md).
python-markdown-graphviz 1.0.2
Graphviz extension for python-markdown
License: MIT

======================================
Graphviz extension for Python-Markdown
======================================

A Python Markdown extension that replaces inline Graphviz definitins with inline SVGs or PNGs!

refer: https://github.com/sprin/markdown-inline-graphviz

Install `Graphviz <https://www.graphviz.org/>`_ first! The command "dot" should be in system PATH.

example::

    {% dot attack_plan.svg
        digraph G {
            rankdir=LR
            Earth [peripheries=2]
            Mars
            Earth -> Mars
        }
    %}
python-docutils-graphviz 1.0.3
Graphviz extension for docutils
License: MIT

===============================
Graphviz extension for Docutils
===============================

A Docutils extension that replaces inline Graphviz definitins with inline SVGs or PNGs!

refer: https://github.com/sprin/markdown-inline-graphviz

Install `Graphviz <https://www.graphviz.org/>`_ first! The command "dot" should be in system PATH.


register::

    import docutils_graphviz
    from docutils.parsers.rst import directives

    directives.register_directive('dot', docutils_graphviz.Graphviz)

example:

.. dot:: svg
    :widht: 100%
    :height: 100%
    :alt: image.svg

    digraph G {
        node[fontname="simsun"]
        edge[fontname="simsun"]

        rankdir=LR
        Earth [peripheries=2]
        Mars
        Earth -> Mars
    }