Skip to main content

A collection of miscellaneous Python tools.

Project description

# 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).


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pup-tools-3.0.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

pup_tools-3.0.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file pup-tools-3.0.0.tar.gz.

File metadata

  • Download URL: pup-tools-3.0.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pup-tools-3.0.0.tar.gz
Algorithm Hash digest
SHA256 4f9a4a3d57cec12824f09280627c29fb3b431aefb4f9417bbace703776f8a989
MD5 ccf92c0fb6f26d61cbdd9d94b6d9a48a
BLAKE2b-256 db29793924147cf8514ac0568873219ef4c6e8c736ea8eed0b08f2c20fc42fcf

See more details on using hashes here.

File details

Details for the file pup_tools-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: pup_tools-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pup_tools-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3dc9f42f840489f298a474d503a894d3050cb2663d983b69bcb1435e0809ce30
MD5 f07b33fb446f5f5b43e7873e424870ce
BLAKE2b-256 f895dd8bae7fad5a1bf250bc043b3e8cc5712ada2fc9eff4761566a95fbb5c3b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page