exceptiom-1.3.0


توضیحات

Make python exceptions fun
ویژگی مقدار
سیستم عامل -
نام فایل exceptiom-1.3.0
نام exceptiom
نسخه کتابخانه 1.3.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Syed Hassan Ashraf
ایمیل نویسنده hassanashraf8888@gmail.com
آدرس صفحه اصلی https://github.com/aqua-regia/exceptioms
آدرس اینترنتی https://pypi.org/project/exceptiom/
مجوز MIT
========= exceptiom ========= Make python exceptions fun. Installation ============ Install exceptiom using pip. `pip install exceptiom` We are on [PyPi](https://pypi.org/project/exceptiom/) Visit us on [Github](https://github.com/aqua-regia/exceptioms) Usage ===== Import Exceptiom `from exceptiom import Exceptiom` and then raise exceptiom like ``` try: 5 / 0 except Exception: raise Exceptiom('Failed while performing division') ``` You can also make it as the base class for all your derived exception. Instead of doing `class MyException(Exception)` you can write `class MyException(Exceptiom)` Contributon =========== To add jokes, just add joke in exceptiom/jokes_en and raise a PR. For any other features raise a PR For Developers ============== * Version bump ```bumpversion --current-version 1.2.0 minor setup.py``` * Publishing to PyPi 1.`python setup.py sdist` 2.`python setup.py sdist`


نحوه نصب


نصب پکیج whl exceptiom-1.3.0:

    pip install exceptiom-1.3.0.whl


نصب پکیج tar.gz exceptiom-1.3.0:

    pip install exceptiom-1.3.0.tar.gz