for Starwar lover, Converter Starwar Calendar to Human readable Year
Project description
starwar-calender-converter
This library was inspired by the needs to parse and convert date_birth in Star war datasets made available at https://swapi.dev/api/ into human readable format
See following Url:
- https://swapi.dev/api/people/
- https://starwars.fandom.com/wiki/Battle_of_Yavin
- https://starwars.fandom.com/wiki/0_BBY
USAGE
from starwardob import starwardob
actor = starwardob.StarwarDOB('3Aby') print(actor.unix_year) # Actor DOB in UNIX format (1970) is display print(actor.age) # Actor age is dispay in human readable format
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
starwar-dob-3.14.post0.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for starwar_dob-3.14.post0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff7627ef2d35ca5410ae835505cf2ea65b8e081ca6b396ee675e6a25b105797e |
|
MD5 | d32fdd5e2e0bea94a5a6f63528d1b440 |
|
BLAKE2b-256 | a4fc4900ec3874494303cf43446a0607b8cc59412a5bb0b6d6cb54e4fec3b281 |