Skip to content

QA utils library provides methods compatibility with all python versions

License

Notifications You must be signed in to change notification settings

netzulo/qautils

Repository files navigation

QAutils ( Quality Assurance development, utils module )

Issues on Github Pull Request opened on Github Release version on Github Release date on Github

Code Metrics by sonarqube

Quality Gate Lines Bugs Vulnerabilities Code Smells Debt ratio Comments

Python tested versions

3.6 3.5 3.4 3.3 3.2 2.7
Supported Supported Supported Not Supported Not Supported Supported

How to install ?

    1. Install from PIP file : pip install qautils
    1. Install from setup.py file : python setup.py install

How to exec tests ?

    1. Tests from setup.py file : python setup.py test

Getting Started

Just starting example of usage before read Usage Guide.

from qautils.files import settings


# file_path = './' by default
SETTINGS = settings(
    file_path="/home/user/config/dir/",
    file_name="settings.json"
)
KEY_TO_CHECK = "some_json_key_name"


try:
    print(SETTINGS[KEY_TO_CHECK])
except Exception as err:
    print("ERROR: {}".format(err))
finally:
    bot.close()

Contributing

We welcome contributions to qautils! These are the many ways you can help:

  • Submit patches and features
  • Make qautils ( new updates for community )
  • Improve the documentation for qautils
  • Report bugs
  • And donate !

Please read our documentation to get started. Also note that this project is released with a code-of-conduct , please make sure to review and follow it.