This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Really simple module to decide wether a a date string is considered “obsolete” or not.

Given a time-string like 2010-01-01 it will return True if this date should not be retained, or False if it should.

Other time strings can be used by specifying a different format string (see strftime and strptime for the detailed syntax)

Example Usage:

from retaindate import is_obsolete
from datetime import datetime, timedelta

for i in range(10*365, -1, -1):
    date = datetime.today() - timedelta(i)
    if not is_obsolete(date):
        print date

See the module docs (or the source) for more details

Release History

Release History

1.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
retaindate-1.0.tar.gz (1.5 kB) Copy SHA256 Checksum SHA256 Source Dec 24, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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