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!

Alternative implementation of DateTime column for MySQL.

Project Description

sa_mysql_dt

MySQL, unlike for instance, PostgreSQL, doesn’t support datetime columns with a sub-second granularity. This means that it is not possible to distinguish between two datetimes that were generated in the same second.

This can however be very useful. This package defines a new field type for SQLAlchemy that should be a drop-in replacement for the standard SQLAlchemy DateTime. It stores its information in a Numeric column to enable sub-second granularity.

It’s probably also not properly timezone aware.

To use it in a SQLAlchemy table definition as a column type, import it instead of SQLAlchemy’s version:

>>> from sa_mysql_dt import DateTime

CHANGES

0.1.2 (2010-11-15)

  • Nothing changed yet.

0.1.1 (2010-11-15)

  • Bugfix release; somehow CHANGES.txt wasn’t included.

0.1 (2010-11-15)

  • Initial public release.

Download

Release History

Release History

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.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
sa_mysql_dt-0.1.2.tar.gz (2.8 kB) Copy SHA256 Checksum SHA256 Source Nov 15, 2010

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