All Projects → myusuf3 → Delorean

myusuf3 / Delorean

Licence: mit
Delorean: Time Travel Made Easy

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to Delorean

Date
A date and time library based on the C++11/14/17 <chrono> header
Stars: ✭ 2,389 (+33.24%)
Mutual labels:  time, date, datetime, timezone
Luatz
Time, Date and Timezone library for lua
Stars: ✭ 92 (-94.87%)
Mutual labels:  time, date, datetime, timezone
hs-hourglass
efficient and simpler time API for haskell
Stars: ✭ 43 (-97.6%)
Mutual labels:  time, datetime, date, timezone
Time
Building a better date/time library for Swift
Stars: ✭ 1,983 (+10.6%)
Mutual labels:  time, date, datetime, timezone
nepali-datetime
Python's core datetime inspired nepali datetime (BS date & NPT) package 🇳🇵
Stars: ✭ 36 (-97.99%)
Mutual labels:  time, datetime, date, timezone
Js Joda
🕑 Immutable date and time library for javascript
Stars: ✭ 1,298 (-27.61%)
Mutual labels:  time, date, timezone
Dayjs
⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API
Stars: ✭ 37,373 (+1984.38%)
Mutual labels:  time, date, datetime
Dateparse
GoLang Parse many date strings without knowing format in advance.
Stars: ✭ 1,365 (-23.87%)
Mutual labels:  time, date, datetime
Graphql Java Datetime
GraphQL ISO Date is a set of RFC 3339 compliant date/time scalar types to be used with graphql-java.
Stars: ✭ 89 (-95.04%)
Mutual labels:  time, date, datetime
Carbon
A simple, semantic and developer-friendly golang package for datetime
Stars: ✭ 565 (-68.49%)
Mutual labels:  time, date, datetime
Tinydate
A tiny (349B) reusable date formatter. Extremely fast!
Stars: ✭ 990 (-44.79%)
Mutual labels:  time, date, datetime
Time Stamp
Get a formatted timestamp. Used in gulp, assemble, generate, and many others.
Stars: ✭ 104 (-94.2%)
Mutual labels:  time, date, datetime
Vue Datetime
Mobile friendly datetime picker for Vue. Supports date and datetime modes, i18n and more.
Stars: ✭ 928 (-48.24%)
Mutual labels:  time, date, datetime
Timezone Support
Lightweight time zone support for your applications or other date libraries.
Stars: ✭ 90 (-94.98%)
Mutual labels:  time, date, timezone
Period
PHP's time range API
Stars: ✭ 616 (-65.64%)
Mutual labels:  time, date, datetime
Zulu
A drop-in replacement for native Python datetimes that embraces UTC.
Stars: ✭ 52 (-97.1%)
Mutual labels:  time, date, datetime
Iso8601
Ruby parser to work with ISO8601 dateTimes and durations — http://en.wikipedia.org/wiki/ISO_8601
Stars: ✭ 70 (-96.1%)
Mutual labels:  time, date, datetime
When
A natural language date/time parser with pluggable rules
Stars: ✭ 1,113 (-37.93%)
Mutual labels:  time, date, datetime
Date Fns Timezone
Parsing and formatting date strings using IANA time zones for date-fns.
Stars: ✭ 118 (-93.42%)
Mutual labels:  time, date, timezone
Calendar
📅 PHP Date & Time library that solves common problems in object oriented, immutable way.
Stars: ✭ 113 (-93.7%)
Mutual labels:  time, date, datetime

http://delorean.readthedocs.org/en/latest/_static/delorean.png

Delorean: Time Travel Made Easy

Delorean is a library for clearing up the inconvenient truths that arise dealing with datetimes in Python. Understanding that timing is a delicate enough of a problem delorean hopes to provide a cleaner less troublesome solution to shifting, manipulating, and generating datetimes.

Delorean stands on the shoulders of giants pytz and dateutil

Delorean will provide natural language improvements for manipulating time, as well as datetime abstractions for ease of use. The overall goal is to improve datetime manipulations, with a little bit of software and philosophy.

Pretty much make you a badass time traveller.

Getting Started

Here is the world without a flux capacitor at your side:

from datetime import datetime
import pytz

est = pytz.timezone('US/Eastern')
d = datetime.now(pytz.utc)
d = est.normalize(d.astimezone(est))
return d

Now lets warm up the delorean:

from delorean import Delorean

d = Delorean()
d = d.shift('US/Eastern')
return d

Look at you looking all fly. This was just a test drive: check out out what else delorean can help with in the documentation.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].