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
- Host: GitHub
- URL: https://github.com/iftahro/gregorian-months
- Owner: iftahro
- Created: 2022-01-20T20:17:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-23T20:17:01.000Z (over 4 years ago)
- Last Synced: 2025-10-30T05:19:35.121Z (8 months ago)
- Topics: calendar, gregorian, gregorian-calendar, month, monthly, months
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```