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.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.1.0.tar.gz (4.7 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.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: square_commons-2.1.0.tar.gz
  • Upload date:
  • Size: 4.7 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.1.0.tar.gz
Algorithm Hash digest
SHA256 e09359835243f5fb091733543786f54a0c4dc871a18eadc58bd20867836c7fb9
MD5 9b7d3f5151465ac8d757b7d225cce4d3
BLAKE2b-256 8300c7a47d09600efc4f780e1ae357ce0cc52aa0bd6a2d4752c458bcb70d4c48

See more details on using hashes here.

File details

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

File metadata

  • Download URL: square_commons-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a872bd17ccbd956438de4ad13a8a26e2acff2b1a3b3c2bda2fe1ca323851413b
MD5 38053c1ae71f70f5d9d32700ad09bfff
BLAKE2b-256 81a04c94908ed639cf9f8ebdd69f5995f71323670086aaf7831927daf071b063

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