Metadata-Version: 2.1
Name: bonniebully
Version: 1.0.3
Summary: This package was developed to simplify date manipulation.
Home-page: https://github.com/delvidioneto/bonniebully
Author: Delvidio Demarchi Neto
Author-email: delvidio.neto@outlook.com.br
License: MIT License
Keywords: datas date year month day bussiness day dia util
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: holidays

# Bonnie Bully

This package was developed to simplify date manipulation.

How to use?

### Importing the packages and creating the current day variable for manipulation.
###### (Importando os pacotes e criando a variavem de dia atual para manipulaÃ§Ã£o.)

```
from bonniebully import intdate
from datetime import date 

current_day = date.today()
print('Current day:', current_day)

```

### One month ahead of the current date with the start date of the month
###### (Um mÃªs a frente da data atual com a data inicial do mÃªs)

```
M1 = intdate('MONTH', current_day, 1,'B').getDates()
M1_yearMonth = intdate('MONTH',current_day, 1,'B').getYearMonth()

print('M1_dia:', M1)
print('M1_yearMonth:', M1_yearMonth)
```

### Same day 12 months previous to current date
###### Mesmo dia 12 meses anteriores a data atual

```
M12 = intdate('MONTH', current_day, -12,'S').getDates()
M12_yearMonth = intdate('MONTH',current_day, -12,'S').getYearMonth()

print('M1_dia:', M1)
print('M1_yearMonth:', M1_yearMonth)
```

### 2 years previous to the current date with the last day of the month
###### 2 anos anterior da data atual com o ultimo dia do mÃªs

```
Y2 = intdate('YEAR', current_day, -2,'E').getDates()
Y2_yearMonth = intdate('YEAR',current_day, -2,'E').getYearMonth()

```
### 2 day previous to the current date but only with the business day
###### 2 dias anteriores Ã  data atual, mas apenas com o dia Ãºtil

```
bday = intdate('BDAY', dia_atual, 3, 'S', "BR", "SP").getDates()

```
