Skip to main content

calculate age like `17 years and 90 months`.

Project description

practice_bucho is a package for exercises.

Requirements

  • Python 2.7 or later (not support 3.x)

Features

  • read below

    from datetime import datetime, date, time sg = SaiGene() born = date(1998, 1, 4) res = sg.calculate(born)

  • you also instantiate like below

    self.mc = SaiGene(age=18, lang=”kr”) # => 17세와180개월

    self.mc = SaiGene(age=18, lang=”vi”) # => 17 năm và 180 tháng

Setup

$ pip install saigene

History

0.0.1 (2015-1-5)

  • first 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

SaiGene-0.0.1.tar.gz (3.3 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