bonniebully


Namebonniebully JSON
Version 1.0.3 PyPI version JSON
download
home_pagehttps://github.com/delvidioneto/bonniebully
SummaryThis package was developed to simplify date manipulation.
upload_time2024-02-18 11:08:04
maintainer
docs_urlNone
authorDelvidio Demarchi Neto
requires_python
licenseMIT License
keywords datas date year month day bussiness day dia util
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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()

```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/delvidioneto/bonniebully",
    "name": "bonniebully",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "datas date year month day bussiness day dia util",
    "author": "Delvidio Demarchi Neto",
    "author_email": "delvidio.neto@outlook.com.br",
    "download_url": "https://files.pythonhosted.org/packages/67/fe/99e8a0a7bbf6c3d80ebd03a3ea03b3c199fc5fd26c40ce96422d3222cacb/bonniebully-1.0.3.tar.gz",
    "platform": null,
    "description": "# Bonnie Bully\r\n\r\nThis package was developed to simplify date manipulation.\r\n\r\nHow to use?\r\n\r\n### Importing the packages and creating the current day variable for manipulation.\r\n###### (Importando os pacotes e criando a variavem de dia atual para manipula\u00c3\u00a7\u00c3\u00a3o.)\r\n\r\n```\r\nfrom bonniebully import intdate\r\nfrom datetime import date \r\n\r\ncurrent_day = date.today()\r\nprint('Current day:', current_day)\r\n\r\n```\r\n\r\n### One month ahead of the current date with the start date of the month\r\n###### (Um m\u00c3\u00aas a frente da data atual com a data inicial do m\u00c3\u00aas)\r\n\r\n```\r\nM1 = intdate('MONTH', current_day, 1,'B').getDates()\r\nM1_yearMonth = intdate('MONTH',current_day, 1,'B').getYearMonth()\r\n\r\nprint('M1_dia:', M1)\r\nprint('M1_yearMonth:', M1_yearMonth)\r\n```\r\n\r\n### Same day 12 months previous to current date\r\n###### Mesmo dia 12 meses anteriores a data atual\r\n\r\n```\r\nM12 = intdate('MONTH', current_day, -12,'S').getDates()\r\nM12_yearMonth = intdate('MONTH',current_day, -12,'S').getYearMonth()\r\n\r\nprint('M1_dia:', M1)\r\nprint('M1_yearMonth:', M1_yearMonth)\r\n```\r\n\r\n### 2 years previous to the current date with the last day of the month\r\n###### 2 anos anterior da data atual com o ultimo dia do m\u00c3\u00aas\r\n\r\n```\r\nY2 = intdate('YEAR', current_day, -2,'E').getDates()\r\nY2_yearMonth = intdate('YEAR',current_day, -2,'E').getYearMonth()\r\n\r\n```\r\n### 2 day previous to the current date but only with the business day\r\n###### 2 dias anteriores \u00c3\u00a0 data atual, mas apenas com o dia \u00c3\u00batil\r\n\r\n```\r\nbday = intdate('BDAY', dia_atual, 3, 'S', \"BR\", \"SP\").getDates()\r\n\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "This package was developed to simplify date manipulation.",
    "version": "1.0.3",
    "project_urls": {
        "Homepage": "https://github.com/delvidioneto/bonniebully"
    },
    "split_keywords": [
        "datas",
        "date",
        "year",
        "month",
        "day",
        "bussiness",
        "day",
        "dia",
        "util"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "67fe99e8a0a7bbf6c3d80ebd03a3ea03b3c199fc5fd26c40ce96422d3222cacb",
                "md5": "06bd84ce70aa989e2bb7ba106e7f2e26",
                "sha256": "56fe41d79554d8e7108a1a8bca5e5d0c205313172935aeeb797a1b9df6cce90b"
            },
            "downloads": -1,
            "filename": "bonniebully-1.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "06bd84ce70aa989e2bb7ba106e7f2e26",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3990,
            "upload_time": "2024-02-18T11:08:04",
            "upload_time_iso_8601": "2024-02-18T11:08:04.564059Z",
            "url": "https://files.pythonhosted.org/packages/67/fe/99e8a0a7bbf6c3d80ebd03a3ea03b3c199fc5fd26c40ce96422d3222cacb/bonniebully-1.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-18 11:08:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "delvidioneto",
    "github_project": "bonniebully",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "bonniebully"
}
        
Elapsed time: 0.19270s