semvec/pypi-packages huggingface dataset:
datetime-nepali 1.0.0.5
Datetime module that operates on top of Bikram Sambat Date & Nepal Time.
License: MIT
Requires Python: >=3.5
Keywords: nepali, bs, b.s, date, datetime, time, timezone, nepal, bikram, sambat, samvat, nepali-date, nepali-datetime, nepal-time, npt, nepal-timezone

# Python Nepali Date time Package

The package inspired from Python's core `datetime` package that
operates on top of Bikram Sambat (B.S) Date & Nepal Time (NPT) `+05:45`.

This Project is a Fork of datetime_nepali and is only developed to used internally.

> Supports: **Python 3.5+**


## Basic Usage

```python
# importing
>>> import datetime
>>> import datetime_nepali

# today's date
>>> datetime.date.today()
>>> datetime_nepali.date.today()

# now datetime
>>> datetime.datetime.now()
>>> datetime_nepali.datetime.now()

# creating date object
>>> datetime.date(2020, 9, 4)
>>> datetime_nepali.date(2077, 5, 19)

# creating datetime object
>>> datetime.datetime(2020, 9, 4, 8, 26, 10, 123456)
>>> datetime_nepali.datetime(2077, 5, 19, 8, 26, 10, 123456)

# date/datetime formatting
>>> datetime_nepali.datetime(2077, 5, 19, 8, 26, 10, 123456).strftime("%d %B %Y")
# 19 Bhadau 2077

# datetime parsed from string (strptime)
>>> datetime_nepali.datetime.strptime('2077-09-12', '%Y-%m-%d')
# datetime_nepali.datetime(2077, 9, 12, 0, 0)

# date/datetime formatting with Nepali unicode support
>>> datetime_nepali.date(1977, 10, 25).strftime('%K-%n-%D (%k %N %G)')
# १९७७-१०-२५ (७७ माघ आइतबार)

# datetime.timedelta addition/subtraction
>>> datetime_nepali.date(1990, 5, 10) + datetime.timedelta(days=350)
# datetime_nepali.date(1991, 4, 26)
>>> datetime_nepali.datetime(1990, 5, 10, 5, 10, 20) + datetime.timedelta(hours=3, minutes=15)
# datetime_nepali.date(1990, 5, 10, 8, 25, 20)

# convert B.S to A.D date and vice-versa
>>> datetime_nepali.date(1999, 7, 25).to_datetime_date()
# datetime.date(1942, 11, 10)
>>> datetime_nepali.date.from_datetime_date(datetime.date(1942, 11, 10))
# datetime_nepali.date(1999, 7, 25)

# Bikram Sambat monthly calendar
>>> datetime_nepali.date(2078, 1, 1).calendar()

          Baishakh 2078
Sun  Mon  Tue  Wed  Thu  Fri  Sat
                1    2    3    4
5     6    7    8    9   10   11
12   13   14   15   16   17   18
19   20   21   22   23   24   25
26   27   28   29   30   31
```

## Installation

```shell
$ pip install datetime-nepali
```

## Documentation

Complete usage documentations can be found [here](https://github.com/44hukum/datetime-nepali).

## Contribution

Any contributions are most welcome. Do check this guidelines [CONTRIBUTING.md](https://github.com/44hukum/datetime-nepali/blob/master/CONTRIBUTING.md) for code contribution.
multi-media-operations 0.0.6
Short description
License: MIT
Requires Python: >=3
Keywords: basic_type, python

MIT License

Copyright (c) [year] [fullname]

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



![](https://mmbiz.qpic.cn/sz_mmbiz_png/BvGyVvvMmy0r3aXPwt6o7xk7VhHYEI4X9UDVrKib74r3ec23Xcra2no08HXJG3vGXX9k58FEHC2jiaDQrhlf7XXw/640?wx_fmt=png)
更多方法请看模块，或者联系作者一起探讨。