An open API service indexing awesome lists of open source software.

https://github.com/iftahro/gregorian-months

First experience with pypi package
https://github.com/iftahro/gregorian-months

calendar gregorian gregorian-calendar month monthly months

Last synced: 5 months ago
JSON representation

First experience with pypi package

Awesome Lists containing this project

README

          

# Gregorian Months

Conduct with the Gregorian calendar months

## Usage

Get each month number by its name:

```python
from gregorian_months import get_number

get_number("July") # Will return `7`
get_number("January") # Will return `1`
get_number("October") # Will return `10`
```

The package supports all cases:

```python
from gregorian_months import get_number

get_number("july") # Will return `7`
get_number("JANUARY") # Will return `1`
get_number("OcToBer") # Will return `10`
```

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install the package:

```bash
pip install gregorian-months
```