Skip to main content

Checking what kind of time a date is.

Project description

========
whattime
========

Checking of what kind a datetime object is.

Description
===========

whattime let’s you explore of what kind a certain datetime object is, if it e.g. is on a weekend, or in the evening.

Getting started
---------------

For quickly getting started, just import the ``whattime`` function and explore a date’s properties (see the `Get started example <examples/get_started.py>`_).

.. include:: examples/get_started.py
:code: python

Besides checking all the time types you can also only check a certain category of types, e.g. info about the current day, or the time within a day seperately (see the `Single info type example <examples/using_certain_descriptors_only.py>`_).

.. include:: examples/using_certain_descriptors_only.py
:code: python



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

whattime-0.1.0.tar.gz (20.3 kB view hashes)

Uploaded Source

Built Distribution

whattime-0.1.0-py2.py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 2 Python 3

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