Metadata-Version: 2.1
Name: oramask
Version: 0.2.3
Summary: A simple converter from Oracle date/time masks to strftime format
Home-page: https://github.com/andzhi4/oramask
Author: Viacheslav Andzhich
Author-email: va.public@protonmail.com
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

[![build status](https://github.com/andzhi4/raws/actions/workflows/matrix-test.yml/badge.svg)](https://github.com/andzhi4/raws/actions/workflows/matrix-test.yml)
# oramask

Oramask is a simplistic converter of Oracle specific date/time masks to Python's strftime masks.

## Installation

You can install the oramask by cloning the repository and running pip install:
```shell
git clone git@github.com:andzhi4/oramask
cd oramask && pip install .
```

or using PyPi:
```shell
python3 -m pip install oramask
```

## Examples
Here is an example of usage:
```python
from oramask import ora_to_sft
from datetime import datetime

now = datetime.now()
formatted = now.strftime(ora_to_sft('DD-MON-YYYY HH24:MI:SS'))
print(formatted)
# Output: 23-Feb-2023 17:51:15
```

## Contributing

If you find a bug or have an idea for a new feature, feel free to create an issue or submit a pull request.

## License

Oramask is released under the MIT License.





