Skip to main content

Python wrapper embedding the C_OpeningHours writing on my own, implementation of the opening hours standard as described here:

Project description

## OpeningHours (python)

This module is a parser between the excellent [OpenStreetMap Opening Hour format]( and python datetime objects.

### Installation

pip install opening_hours

### Usage

from opening_hours import OpeningHours
from datetime import datetime
import pytz

oh = OpeningHours("2016 Mar: Mo-Sa 08:00-13:00,14:00-17:00")


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

opening_hours-0.1.1.tar.gz (1.5 kB view hashes)

Uploaded source

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