Skip to main content

helper module containing common functions for all my python modules.

Project description

square_commons

about

helper module containing common functions for all my python modules.

installation

pip install square_commons

usage

reference

env

  • python>=3.12.0

changelog

v2.2.0

  • api_utils
    • add make_request.

v2.1.0

  • config_reader
    • new optional parameter sample_file_path.

v2.0.0

  • api_utils
    • make_request_json_output have separate paramater for data and json.
    • new optional parameter auth.
  • email
    • add send_email_using_mailgun

v1.5.0

  • new dependencies: pytest, pytest-mock.
  • added pytest test cases.
  • add github workflow for auto test on commit.

v1.4.1

  • update default param for same_site to strict in api_utils -> create_cookie.

v1.4.0

  • add api_utils -> create_cookie.

v1.3.0

  • update api_utils -> make_request_json_output to send files as well.

v1.2.0

  • added make_request_json_output in api_utils.

v1.1.0

  • added api_utils with get_api_output_in_standard_format.

v1.0.0

  • initial version with config reading methods.

Feedback is appreciated. Thank you!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

square_commons-2.2.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

square_commons-2.2.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file square_commons-2.2.0.tar.gz.

File metadata

  • Download URL: square_commons-2.2.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for square_commons-2.2.0.tar.gz
Algorithm Hash digest
SHA256 9bbc9d9175a0cb126ba389161a9e4ef6f78d3984bc18018e501b5476a9a7fce1
MD5 5f70fcc2dce01bbe79fb2d4e3af641d6
BLAKE2b-256 b61e28c576add05220c4249055787451d825c2596d0b4fe76fb8319c3f1dbec0

See more details on using hashes here.

File details

Details for the file square_commons-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: square_commons-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for square_commons-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05c1eab8e9338cc31a4d54d09527070696ba760bdff9c121093baeb8cd37eb10
MD5 180e2fb241de28e91b65390aaca12f49
BLAKE2b-256 74263f111d5b2b773ad1e2319ebb4d2bb67dcd6adef34c5d9c11efc2cf83aefb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page