common business layer for my personal server.
Project description
square_administration
about
administration business layer for my personal server.
Installation
pip install square_administration
env
- python>=3.12.0
changelog
v3.2.1
- testing
- update get_patched_configuration and create_client_and_cleanup to be session scoped.
- env
- add ALLOW_ORIGINS
v3.2.0
- move global_int_app_id getting logic from configuration.py to utils->common
- env
- add DB_IP, DB_PORT, DB_USERNAME, DB_PASSWORD
- add config.testing.ini
- file path reading through os.path.join method.
- testing
- add conftest file to create and cleanup test database, also to patch config file.
- update existing tests to use the new fixtures.
v3.1.1
- bump square_logger to 2.0.0
v3.1.0
- add pytest as dependency.
- add dummy test case.
v3.0.2
- update logic to get usernames for non-anonymous greetings in get_all_greetings_v0.
v3.0.1
- add logging decorator to all functions.
v3.0.0
- add new parameter -> password in authentication -> remove_app_for_self_v0.
v2.4.0
- auto docker image build github action.
v2.3.0
- env
- add new variable COOKIE_DOMAIN.
- util
- add is_https.
- authentication
- add domain, exp_time, secure and http_only flags for cookies generated in login_username_v0, register_username_v0.
v2.2.1
- authentication
- add validation for refresh token app id in logout_v0, generate_access_token_v0.
v2.2.0
- authentication
- logout_v0, generate_access_token_v0 remove refresh token from request header and accept in cookie.
v2.1.0
- add authentication -> logout_v0, generate_access_token_v0.
v2.0.0
- remove refresh token from response body and send in cookies.
v1.2.1
- fix bug in core -> get_all_greetings_v0, now sending full response instead of only main.
v1.2.0
- set allow_credentials=True.
v1.1.0
- add core -> get_all_greetings_v0.
v1.0.0
- initial implementation.
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
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_administration-3.2.1.tar.gz.
File metadata
- Download URL: square_administration-3.2.1.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a157d5cece041902c4db9ad62deaddf7fc1f03b9ff735c3b5db18919652d90f
|
|
| MD5 |
c010380adf58fbaea9df3d8fdc6b14cb
|
|
| BLAKE2b-256 |
dbf094cb815539155022e011762bbab16a0a41ad8aa992ced0cb8fabc3f23a98
|
File details
Details for the file square_administration-3.2.1-py3-none-any.whl.
File metadata
- Download URL: square_administration-3.2.1-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c99da92b42c6db1649038633c97df91fe5f72a992c16a58494855e02de2236ca
|
|
| MD5 |
dd3efa831383159d1a7b16ecb074b157
|
|
| BLAKE2b-256 |
4ef2fa75407c3b4e6e26cf33a894334fb356ff7ca850372be74b37459c3d39c1
|