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


Download files

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

Source Distribution

milo-0.1.9.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file milo-0.1.9.tar.gz.

File metadata

  • Download URL: milo-0.1.9.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for milo-0.1.9.tar.gz
Algorithm Hash digest
SHA256 6d7a0834c6f9f68a80d4aa22e56a7bf27c92265921f0d8c02263625abbfa4382
MD5 fba92ace1547a25bc282225a4a51d8e3
BLAKE2b-256 cb96d1e335d767b0f9e77cf51c6ac1847a213f0fccb2f64df411999246eba907

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