Skip to main content

Date/time helper functions used by various Seantis packages.

Project description

There are projects like Arrow or Delorean which provide ways to work with timezones without having to think about it too much.

Seantis doesn’t use them because we want to reason about these things, to ensure they are correct, and partly because of self-loathing.

Adding another layer makes this reasoning harder.

Run the Tests

Install tox and run it:

pip install tox
tox

Limit the tests to a specific python version:

tox -e py27

Conventions

Sedate follows PEP8 as close as possible. To test for it run:

tox -e pep8

Sedate uses Semantic Versioning

Build Status

Build Status

Coverage

Project Coverage

Latests PyPI Release

Latest PyPI Release

License

sedate is released under GPLv2

Changelog

0.2.0 (2017-03-02)

  • Adds the ability to iterate over custom deltas between a start and an end. [href]

  • Adds the ability to iterate over weeks between a start and an end. [href]

0.1.0 (2016-05-12)

  • Adds methods to align dates to months and weeks. [href]

0.0.5 (2016-04-25)

  • Adds a time parsing function which accepts anything from 00:00 to 24:00. [href]

0.0.4 (2015-11-18)

  • Fixes an issue with daylight savings time and align_date_to_day.

    With this change, align_date_to_day ensures that the resulting date is in the timezone the date was aligned to, not in the timezone it originally was in. [href]

0.0.3 (2015-08-05)

  • Adds a function to turn date-ish objects into datetimes. [href]

0.0.2 (2015-08-04)

  • Fix align_date_to_day failing with certain timezones. [href]

0.0.1 (2015-06-30)

  • Initial Release

Project details


Download files

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

Source Distribution

sedate-0.2.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

sedate-0.2.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file sedate-0.2.0.tar.gz.

File metadata

  • Download URL: sedate-0.2.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sedate-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6e0283a9bcfa41e6753f06c5ebb6d743fc7f366cedf94d9897160a768b0e20c4
MD5 ab058455918436880bcd78df8a72d2c8
BLAKE2b-256 accd013feb02b61af650594efac2e1cb146d6ef38a9e50a5a1223ce8057310ee

See more details on using hashes here.

File details

Details for the file sedate-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sedate-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 266a8781028a48ef1c78f45c1f849513ca5159f2117a7574e6ade26f994d4aaf
MD5 1622f91f9016ae6d7a05c9a5fbfd56bb
BLAKE2b-256 37d552e8b2a87bfb93efa8e90a1ed94a6b6d658ad905fc1bdf8c20a5be4cccfb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page