helper module containing common functions for all my python modules.
pip install square_commons
- python>=3.12.0
- api_utils
- breaking_change in make_request change base_url to url.
- in make_request change endpoint to optional kwarg.
- mark make_request_json_output as deprecated.
- dependencies
- add Deprecated>=1.2.18.
- tests
- update test cases to account for change base_url to url in make_request.
- api_utils
- add make_request.
- config_reader
- new optional parameter sample_file_path.
- api_utils
- make_request_json_output have separate paramater for data and json.
- new optional parameter auth.
- email
- add send_email_using_mailgun
- new dependencies: pytest, pytest-mock.
- added pytest test cases.
- add github workflow for auto test on commit.
- update default param for same_site to strict in api_utils -> create_cookie.
- add api_utils -> create_cookie.
- update api_utils -> make_request_json_output to send files as well.
- added make_request_json_output in api_utils.
- added api_utils with get_api_output_in_standard_format.
- initial version with config reading methods.