Skip to main content

Useful Python code, primarily intented for the author's use.

Project description

Library of useful Python code

This is being published primarily so that the author can “pip install” it wherever fine virtualenvs can be found. However, anyone else is free to read and use it. Pull requests are welcome and will be added if they fit in with the main goal of this project.

This library contains useful bits of code, mostly small functions, which I’ve found myself rewriting or copying and pasting.

Current contents:

  • a memoize function implemented in Redis
  • a simple XML -> dictionary parser
  • polite_get: get a URL, with auto-caching
  • a simple get_logger that logs to a temp file, and stdout if interactive

Planned additions:

  • easy command-line e-mail utility, with attachments

Dependencies:

  • the redis module
  • the requests package

Project details


Release history Release notifications

This version
History Node

0.1.9

History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
milo-0.1.9.tar.gz (3.3 kB) Copy SHA256 hash SHA256 Source None May 24, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page