Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Useful utility functions.

Project description

Author: Michael JasonSmith
Contact: Michael JasonSmith <>
Date: 2015-10-15
Copyright: This document is licensed under a Creative Commons Attribution-Share Alike 4.0 International License by OnlineGroups.Net.


This product contains some useful functions. They were originally written as part of the GroupServer project, but they are totally independent of GroupServer.

Get the current time, in UTC, as a datetime.datetime.
Convert a string to ASCII, with a reasonable chance of success.
Convert a string instance to a Unicode instance, with reasonable chance of success.
Turn a list of strings into a single strings, with commas.
Create a random identifier, using a string as a seed.
Convert an integer to a base-62 encoded string.
Generate a correctly-quoted mailto: URI.

Project details

Release history Release notifications

This version
History Node


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 (21.6 kB) Copy SHA256 hash SHA256 Egg any

Supported by

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