Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/magrathealabs/dateutil-br
Implementation to python-dateutil with to Pt-br language. "(>_<)"
https://github.com/magrathealabs/dateutil-br
Last synced: about 2 months ago
JSON representation
Implementation to python-dateutil with to Pt-br language. "(>_<)"
- Host: GitHub
- URL: https://github.com/magrathealabs/dateutil-br
- Owner: magrathealabs
- License: mit
- Created: 2018-11-28T21:23:06.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-29T17:27:36.000Z (about 6 years ago)
- Last Synced: 2024-10-31T14:05:29.640Z (about 2 months ago)
- Language: Python
- Size: 11.7 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dateutil-br
Implementation to python-dateutil with to Pt-br language. "(>_<)"
This implementation rewrites the constants used in the [dateutil](https://github.com/dateutil/dateutil) library's date parse.
You can see the repository `pypi` on: https://pypi.org/project/dateutil-br/
## Install
```sh
pip install dateutil-br
```## Usage Exemples
```python
>>> from dateutil_br import BrParserInfo, parser>>> print(parser(BrParserInfo()).parse('08/04/2018'))
"2018-04-08 00:00:00">>> print(parser(BrParserInfo()).parse('10 de abril de 2018'))
"2018-04-10 00:00:00">>> print(parser(BrParserInfo()).parse('15 horas e 13 min de 10 de abril de 2018'))
"2018-04-10 15:13:00"
```## Maintainer
This code is sustained by Magrathea Labs, in the repository https://github.com/magrathealabs/dateutil-br
## License
The package is available as open source under the terms of the MIT License.