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
env
- python>=3.12.0
changelog
v3.0.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.
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
Release history Release notifications | RSS feed
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-3.0.0.tar.gz
(5.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file square_commons-3.0.0.tar.gz.
File metadata
- Download URL: square_commons-3.0.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d67a6b21ffbfd44c858f742ef7978ac9b20566b8a7c6bf5529d0d46f1bc7335f
|
|
| MD5 |
a6fb573c2ad056a3ee0309bc76f29da3
|
|
| BLAKE2b-256 |
654d2b75fe2828ee6a14ebc2092b80e491c861ea2124a9795f2ed35d2786db65
|
File details
Details for the file square_commons-3.0.0-py3-none-any.whl.
File metadata
- Download URL: square_commons-3.0.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f4725cb5223f29f5ef0056df933d7d2d99513f71b509556742d8594f3e2faa5
|
|
| MD5 |
94a84dc8615362a5cdcd3c707b40cdff
|
|
| BLAKE2b-256 |
8e52f781c51511d76684e2da7067e11b2be59f604b5985e53b3d047436519b34
|