Metadata-Version: 2.4
Name: square_common_bl
Version: 2.6.3
Summary: common business layer for my personal server.
Home-page: https://github.com/thepmsquare/square_common_bl
Author: thePmSquare
Author-email: thepmsquare@gmail.com
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
Requires-Dist: uvicorn>=0.24.0.post1
Requires-Dist: fastapi>=0.104.1
Requires-Dist: pydantic>=2.5.3
Requires-Dist: requests>=2.32.3
Requires-Dist: pytest>=8.0.0
Requires-Dist: httpx>=0.27.2
Requires-Dist: square_commons>=1.0.0
Requires-Dist: square_logger>=2.0.0
Requires-Dist: square_database_helper>=2.0.0
Requires-Dist: square_database_structure>=1.0.0
Requires-Dist: square_authentication_helper>=2.4.1
Requires-Dist: square_file_store_helper>=3.0.0
Requires-Dist: python-multipart>=0.0.16
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: summary

# square_common_bl

## about

common business layer for my personal server.

## Installation

```shell
pip install square_common_bl
```

## env

- python>=3.12.0

## changelog

### v2.6.3

- mock ini file for pytest.

### v2.6.2

- make profile_photo optional in update_profile_photo_v0.

### v2.6.1

- add python multipart as dependency.

### v2.6.0

- bump square_file_store_helper>=3.0.0.
- authentication
    - add update_profile_photo_v0.

### v2.5.0

- new dependency square_file_store_helper.
- config
    - add new section SQUARE_FILE_STORE_HELPER.
- update gitignore to add temp folder.
- authentication
    - add cleanup_task.
    - add get_user_profile_photo_v0.

### v2.4.1

- bump square_logger to 2.0.0.

### v2.4.0

- add pytest as dependency.
- add dummy test case.

### v2.3.1

- add error logs in all endpoints.

### v2.3.0

- add authentication -> logout_apps_v0.

### v2.2.0

- add authentication -> logout_all_v0.

### v2.1.0

- github actions for CI/CD for testing and auto build and push.

### v2.0.0

- remove authentication -> logout_v0, generate_access_token_v0.

### v1.11.0

- set allow_credentials=True.

### v1.10.0

- rename remove_app_for_self_v0 to logout_v0.

### v1.9.0

- add authentication -> get_user_details_v0.

### v1.8.0

- add authentication -> update_password_v0.

### v1.7.0

- add authentication -> update_username_v0.

### v1.6.0

- add authentication -> delete_user_v0.

### v1.5.0

- add authentication -> generate_access_token_v0.

### v1.4.0

- add authentication -> logout v0.

### v1.3.2

- validate extra params in greeting -> create_greeting v0.

### v1.3.1

- accept access_token as header instead of query param in greeting -> create_greeting v0.

### v1.3.0

- add square_authentication_helper as dependency.
- replace user_id with access_token in greeting -> create_greeting.

### v1.2.0

- initialize SquareDatabaseHelper in configuration.py.
- remove app_id from greeting -> create_greeting.

### v1.1.0

- add utils -> get_app_id_v0.

### v1.0.0

- initial implementation.

## Feedback is appreciated. Thank you!
