Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Useful utility functions.

Project description

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

Introduction

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

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

Project details


Release history Release notifications

This version
History Node

2.1.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
gs.core-2.1.1.zip (21.6 kB) Copy SHA256 hash SHA256 Egg any May 6, 2014

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