Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Useful utility functions.

Project Description

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.
Release History

Release History

This version
History Node

2.1.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
gs.core-2.1.1.zip (21.6 kB) Copy SHA256 Checksum SHA256 any Egg May 6, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting