Skip to main content

Utilities to work with Bikram/Vikram Samwat dates.

Project description

Python Bikram Samwat

https://img.shields.io/pypi/v/bikram.svg https://img.shields.io/travis/poudel/bikram.svg Documentation Status

Utilities to work with Bikram/Vikram Samwat dates. Documentation: https://bikram.readthedocs.io.

Getting started

Features

  • Convert Bikram Samwat dates to AD and vice versa. Intended to be useful for Nepali software developers.

  • Well tested and readable source code.

  • Date operations, i.e. addition/subtraction, supported with datetime.date and datetime.timedelta within range.

  • Supports comparison with datetime.date and datetime.timedelta objects.

  • Supports string formatting of samwat dates.

Caveats

  • Is not very helpful if the date falls outside the map of BS years to days in month.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

1.0.0 (2018-03-15)

  • Added usage guide and module docs.

  • Added pipenv support.

  • Removed tox.

  • Removed support for python versions older than 3.6.

0.1.2 (2016-11-13)

  • Minor test fixes.

0.1.0 (2016-11-13)

  • First release on PyPI.

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

bikram-2.1.0.tar.gz (20.0 kB view details)

Uploaded Source

File details

Details for the file bikram-2.1.0.tar.gz.

File metadata

  • Download URL: bikram-2.1.0.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.5.3

File hashes

Hashes for bikram-2.1.0.tar.gz
Algorithm Hash digest
SHA256 4068f012d7633210ef1d67db5ac0730804fd66e2eef92cd0443bb8f4bf5b00b5
MD5 6d335964725a3b1563c21b108b76a05c
BLAKE2b-256 3c4c8c60170a75499b93ae9408a48623435a83e4f836420dd7977eecc76d7faa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page