Skip to main content

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

Metadata

Release files for sa_mysql_dt 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sa_mysql_dt 0.1.2
File Size Uploaded Provenance Actions
sa_mysql_dt-0.1.2.tar.gz 2.8 kB Without provenance Details for sa_mysql_dt-0.1.2.tar.gz

Release files / sa_mysql_dt-0.1.2.tar.gz

Download URL sa_mysql_dt-0.1.2.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ca4e665dcf60a4093057c97fff111dc9c2bf7702baba61a4ef2c9c9c209f8691
BLAKE2b-256 checksum
How to use checksums
91bebfd99b70539542d18e95a3b9e3e349a99f273f9b586e74ad2b979cf95910
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for sa_mysql_dt 0.1.2

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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file No provenance

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