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

Metadata

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 Provenance
milo-0.1.9.tar.gz 3.3 kB Without provenance 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

Security for milo 0.1.9

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