Skip to content

Latest commit

 

History

History
executable file
·
62 lines (42 loc) · 1.12 KB

README.md

File metadata and controls

executable file
·
62 lines (42 loc) · 1.12 KB

Tabdil

Tabdil is a Python program that provides you with the possibility of converting measures.

Prerequisites

Install setuptools befor run setup.py

pip3 install setuptools

Build & Install

you can refer to makefile and use a command for build and install the project.

python3 setup.py build
python3 setup.py install

Test

There are 3 python files in order to test program: test_length.py test_weight.py test_time.py

Also, we were used github-actions for implement CI and automation test.

Usage

.../tabdil$ python3
>>> import tabdil
>>> tabdil.time.seconds(('d',5))
432000
>>> tabdil.length.millimeter(('m',2))
2000
>>> tabdil.weight.milli_gram(('ton',2))
2000000000
>>> tabdil.weight.gram(('kg',3))
3000
>>> 

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Acknowledgements

Whenever you need to use this program, just import it.

import tabdil

License

Creativecommons