Zodiac Signs
Project description
Description
Getting the Zodiac sign by date.
Languages:
English
Russian
Portuguese - Thanks to @guilhermecomum
Install
$ pip install zodiac-sign
Example
from zodiac_sign import get_zodiac_sign from datetime import date d = date(1988, 3, 6) # only data param print(get_zodiac_sign(d)) # two params - day and month, without year print(get_zodiac_sign(6, 3))
Example with locale
from zodiac_sign import get_zodiac_sign import locale locale.setlocale(locale.LC_ALL, 'ru_RU') print(get_zodiac_sign(6, 3)) # out "Рыбы" locale.setlocale(locale.LC_ALL, 'en_US') print(get_zodiac_sign(6, 3)) # out "Pisces"
Repository
License
MIT
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
zodiac-sign-0.2.1.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for zodiac_sign-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b191615d7848e2870b7c36fe65e6154f224ffa43f3496fbae6f3db9d72f1c5a6 |
|
MD5 | 7522dae103df3b07655f44b1608d11ac |
|
BLAKE2b-256 | a839c29bf51a3cb9a231c12ca8924d3732c48a235510caad2547528173f3725b |