Skip to main content

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.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

square_administration-3.0.2.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

square_administration-3.0.2-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file square_administration-3.0.2.tar.gz.

File metadata

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

File hashes

Hashes for square_administration-3.0.2.tar.gz
Algorithm Hash digest
SHA256 a15b0f9808a97bac755ab368a8a4d1a0ea7010d87ae6c7a3be802aedea6d6c0c
MD5 1ee75cf06e4608188eba6bde38b90445
BLAKE2b-256 76990701d2cc63e3bf2c3e89e0237f93c149f51874c8a577bbba1db85012a4be

See more details on using hashes here.

File details

Details for the file square_administration-3.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for square_administration-3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 235feb6f43782870fb444eca08fea6fe85f11bb007e214de77982623cf8c519b
MD5 57c6703c091bab4121bf3f96f02a6e8b
BLAKE2b-256 4c330cc5411094e53e55d87d3819bd75a274910aed789a4b984d1a483b66cd71

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