Skip to main content

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:

  1. https://swapi.dev/api/people/
  2. https://starwars.fandom.com/wiki/Battle_of_Yavin
  3. 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


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)

Uploaded Source

Built Distribution

starwar_dob-3.14.post0-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

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