bikram
Utilities to work with Bikram/Vikram Samwat dates. Documentation: https://bikram.readthedocs.io.
Getting started
Install the
bikrampackage: https://bikram.readthedocs.io/installation.html.Read the usage guide: https://bikram.readthedocs.io/usage.html.
Read the module reference guide: https://bikram.readthedocs.io/bikram.html.
Features
Convert Bikram Samwat dates to AD and vice versa in a few line of codes. Intended to be useful for Nepali software developers.
Well tested and readable source code.
Date operations, i.e. addition/subtraction, supported with
datetime.dateanddatetime.timedeltawithin range.Supports comparison with
datetime.dateanddatetime.timedeltaobjects.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
2.1.3 to 2.1.4 (2025-10-17)
Few changes have been made to make the date map accurate as reported by several contributors.
2082 and 2083 BS Date changes and confirmed as per the Nepal RajPatra
2.1.4 - Bump to push the change log
2.1.0 to 2.1.3 (2024-06-20)
Few changes have been made to make the date map accurate as reported by several contributors.
2062 BS Date changes and confirmed as per the Nepal RajPatra
2081 BS Date changes and confirmed as per the calendar published in 2081
out of bound checks as suggested by Dipendra Nath (dipee), FIRST_AD_YEAR, LAST_AD_YEAR constanst introduced.
2.1.3 - Bump to push the change log
1.0.0 (2018-03-15)
Added usage guide and module docs.
Added
pipenvsupport.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.
Metadata
Release files for bikram 2.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| bikram-2.1.4.tar.gz | 22.9 kB | Without provenance | Details |
Release files / bikram-2.1.4.tar.gz
| Download URL | bikram-2.1.4.tar.gz |
|---|---|
| Size | 22.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e37ac6c7d59cfb2ee7195405d4c61eac70e9425394fce511834fb7661f7a3c19
|
|
BLAKE2b-256 checksum How to use checksums |
f95beaeb632cbcb9b6621e9afbeb04e6a413724dba0a8be8628ae67fd80a083b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|
Security for bikram 2.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.