Skip to main content

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

Release files for milo 0.1.9

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

Source distribution (sdist)

Source distribution for milo 0.1.9
File Size Uploaded
milo-0.1.9.tar.gz 3.3 kB Details

Release files / milo-0.1.9.tar.gz

Download URL milo-0.1.9.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6d7a0834c6f9f68a80d4aa22e56a7bf27c92265921f0d8c02263625abbfa4382
BLAKE2b-256 checksum
How to use checksums
cb96d1e335d767b0f9e77cf51c6ac1847a213f0fccb2f64df411999246eba907
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.9 This release

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1

1 release file

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