Skip to main content

Common helper libraries for Python Apps

Project description

Common helper libraries for Python Apps

https://img.shields.io/pypi/v/apphelpers.svg https://img.shields.io/travis/scrolltech/apphelpers.svg Documentation Status Updates

Common helper libraries for Python Apps

Features

  • TODO

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.92.0 (2023-12-23)

  • site_ctx implementation for FastAPI

  • user_agent directive for FastAPI & Hug

  • ignore_site_ctx implementation for FastAPI & Hug

  • count_matched_keys implementation for ReadOnlyCachedModel

0.91.0 (2023-12-22)

  • Breaking: moved apphelpers.sessions.whoami to apphelpers.rest.{hug/fastapi}.whoami

  • New convenient decorators in apphelpers.rest.endpoint

  • any_group_required and all_groups_required implementation for FastAPI

  • Improved errors

  • Other improvements and fixes

  • Moved CI from travis to github actions

0.90.0 (2023-10-16)

  • Support for FastAPI framework.

0.34.2 (2023-09-04)

  • Email INTERNAL_EMAIL_DOMAINS will also restrict bcc email recipients.

  • Fixed typo

0.34.0 (2023-09-01)

  • settings.INTERNAL_EMAIL_DOMAINS must me defined for email sending safety in non-prod env. e.g. INTERNAL_EMAIL_DOMAINS = [‘example.com’, ‘example.org’] allows sending emails to only address ending with example.com or example.org

0.33.5 (2023-08-08)

  • Reusable utility format_msg added in email module to format email message

0.33.4 (2023-08-08)

  • Support for optionally addding headers added to email message

0.33.3 (2023-08-04)

  • For site-bound sessions, restrict access if site_id is missing

0.33.2 (2023-07-20)

  • session destroy fix for site-bound sessions

0.33.1 (2023-07-20)

  • site_id check fix for site-bound sessions

0.33.0 (2023-05-23)

  • Support for new directives: user_groups, user_site_groups, user_site_ctx

  • Ambiguously named groups_required decorator is now replaced with any_group_required

  • New decorator: all_groups_required

0.32.1 (2023-04-18)

  • Support for resyncing & destroying context bound session

0.32.0 (2023-04-11)

  • Support for context bound sessions

0.31.2 (2022-12-15)

  • Implement ReadWriteCachedModel.decrement()

0.31.1 (2022-09-20)

  • Extend sesion timeout fix for lookup key

  • Implement sessions.sid2uid()

0.31.0 (2022-08-08)

  • Rename Config directive MD_* to SMTP_*

0.21.1 (2022-06-09)

  • Fix for SMTP+SSL connection

0.21.0 (2022-05-18)

  • applogger: general purpose application logging

0.20.0 (2022-04-29)

  • Support for custom authorizaion

0.19.1 (2021-10-07)

  • Report function args in honeybadger context

0.9.2 (2019-05-20)

  • New options groups_forbidden and groups_required to secure API access

0.1.0 (2019-03-24)

  • First release on PyPI.

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

apphelpers-0.92.0.tar.gz (31.1 kB view details)

Uploaded Source

File details

Details for the file apphelpers-0.92.0.tar.gz.

File metadata

  • Download URL: apphelpers-0.92.0.tar.gz
  • Upload date:
  • Size: 31.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.12

File hashes

Hashes for apphelpers-0.92.0.tar.gz
Algorithm Hash digest
SHA256 6192fb27152fc99f3fc73274fe391ef65f73774395ab9cd8d01b9dc4d0e39a76
MD5 272163fe062015308b1504a20af143f0
BLAKE2b-256 e7fd8b9e7cf8bc3ba411195bba57700dcfd37be8c9e5e1b807e57e9b5faad347

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page