Skip to main content
`SaiGene` is a calc for age.

Requirements
------------
* Python 2.7 or later (not support 3.x)

Features
--------
* read below

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

* you also instantiate like below

sg = SaiGene(age=18, lang="kr")
res = sg.calculate(born)
print(res)
# => 17세와180개월

sg = SaiGene(age=18, lang="vi")
res = sg.calculate(born)
print(res)
# => 17 năm và 180 tháng

Setup
-----
::

$ pip install saigene

History
-------
0.0.4 (2015-1-5)
~~~~~~~~~~~~~~~~~~
* first release
0.0.1 (2015-1-5)

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.4.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file SaiGene-0.0.4.tar.gz.

File metadata

  • Download URL: SaiGene-0.0.4.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for SaiGene-0.0.4.tar.gz
Algorithm Hash digest
SHA256 fae214367f8fcee736d7a4bc89634d1eef4a483efdd35296d40d72409f8198a6
MD5 5af5dd64f405689d7e311bff8a2bdcfd
BLAKE2b-256 a3f87f2a561c8605f1ddbe827be64c37f332490be8b4cfa9acd365cc64996386

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page