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.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.0.0.tar.gz (3.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.0.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for square_commons-2.0.0.tar.gz
Algorithm Hash digest
SHA256 1bbfbab640639d71e31f2c88ff4a66c03516e5800a2fa896d29dc0a8b052d87a
MD5 b7e80e85bdb76ebf4e1d9f9dd1eec594
BLAKE2b-256 13a040bf4ab65afc972099ef28fd5ecd15898def29b7a22b72a63bbc5bccfd4a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for square_commons-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 64cb41ebbcd02fac194a477cb36fe902c63137a04b1dbb1c3f420ed8831bffe3
MD5 a67249758fbe21e6ac227134757e84fc
BLAKE2b-256 334e3ed278640666d7de26c7cedeb6bce01860d3708cf5844bc3e19358f7c263

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