Skip to main content
# 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).


Metadata

Release files for pup-tools 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pup-tools 3.0.0
File Size Uploaded Provenance
pup-tools-3.0.0.tar.gz 3.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pup-tools 3.0.0
File Interpreter ABI Platform
pup_tools-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.8 kB

Release files / pup-tools-3.0.0.tar.gz

Download URL pup-tools-3.0.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4f9a4a3d57cec12824f09280627c29fb3b431aefb4f9417bbace703776f8a989
BLAKE2b-256 checksum
How to use checksums
db29793924147cf8514ac0568873219ef4c6e8c736ea8eed0b08f2c20fc42fcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6

Release files / pup_tools-3.0.0-py3-none-any.whl

Download URL pup_tools-3.0.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3dc9f42f840489f298a474d503a894d3050cb2663d983b69bcb1435e0809ce30
BLAKE2b-256 checksum
How to use checksums
f895dd8bae7fad5a1bf250bc043b3e8cc5712ada2fc9eff4761566a95fbb5c3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6

Security for pup-tools 3.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page