apphelpers


Nameapphelpers JSON
Version 0.96.4 PyPI version JSON
download
home_pagehttps://github.com/scrolltech/apphelpers
SummaryCommon helper libraries for Python Apps
upload_time2025-01-10 04:55:18
maintainerNone
docs_urlNone
authorScroll Tech
requires_pythonNone
licenseMIT license
keywords apphelpers
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            =======================================
Common helper libraries for Python Apps
=======================================


.. image:: https://img.shields.io/pypi/v/apphelpers.svg
        :target: https://pypi.python.org/pypi/apphelpers

.. image:: https://img.shields.io/travis/scrolltech/apphelpers.svg
        :target: https://travis-ci.org/scrolltech/apphelpers

.. image:: https://readthedocs.org/projects/apphelpers/badge/?version=latest
        :target: https://apphelpers.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status


.. image:: https://pyup.io/repos/github/scrolltech/apphelpers/shield.svg
     :target: https://pyup.io/repos/github/scrolltech/apphelpers/
     :alt: Updates



Common helper libraries for Python Apps


* Free software: MIT license
* Documentation: https://apphelpers.readthedocs.io.


Features
--------

* TODO

Credits
-------

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage


=======
History
=======

0.96.4 (2025-01-10)
-------------------
* Fixed peewee dbtransaction pool for fastapi.

0.96.3 (2024-10-07)
-------------------
* Fixed peewee dbtransaction for fastapi.

0.96.2 (2024-10-07)
-------------------
* Removed deprecated peewee autorollback option.

0.96.1 (2024-09-26)
-------------------
* Added annotated fastapi dependencies.

0.96.0 (2024-07-25)
-------------------
* Possible fix for Honeybadger exception masking the actual exceptions.
* Honeybadger 403 errors will not be raised anymore.
* Improved FastAPI honeybadger integration.

0.95.1 (2024-07-02)
-------------------
* Added socialauth.goog.fetch_info_using_jwt for fetching user info using Google JWT

0.95.0 (2024-06-18)
-------------------
* Won't rotate logs by default. Pass `rotate=True`.

0.94.0 (2024-03-06)
-------------------
* Added support for Piccolo ORM

0.93.1 (2023-01-20)
-------------------
* Fixed get_by_secondary_key of CachedModel

0.93.0 (2023-01-19)
-------------------
* Added secondary_key support for CachedModel

0.92.3 (2023-01-15)
-------------------
* Added @response_model for FastAPI endpoints

0.92.2 (2023-12-26)
-------------------
* Fixed operation_id generation

0.92.1 (2023-12-24)
-------------------
* Fixed _get_matched_keys access for ReadOnlyCachedModel

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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/scrolltech/apphelpers",
    "name": "apphelpers",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "apphelpers",
    "author": "Scroll Tech",
    "author_email": "tech@scrollstack.com",
    "download_url": "https://files.pythonhosted.org/packages/26/e8/503f96308a28f4a827cf05903b1f7a16f16e16bff1cb3dfc1e39a344e99a/apphelpers-0.96.4.tar.gz",
    "platform": null,
    "description": "=======================================\nCommon helper libraries for Python Apps\n=======================================\n\n\n.. image:: https://img.shields.io/pypi/v/apphelpers.svg\n        :target: https://pypi.python.org/pypi/apphelpers\n\n.. image:: https://img.shields.io/travis/scrolltech/apphelpers.svg\n        :target: https://travis-ci.org/scrolltech/apphelpers\n\n.. image:: https://readthedocs.org/projects/apphelpers/badge/?version=latest\n        :target: https://apphelpers.readthedocs.io/en/latest/?badge=latest\n        :alt: Documentation Status\n\n\n.. image:: https://pyup.io/repos/github/scrolltech/apphelpers/shield.svg\n     :target: https://pyup.io/repos/github/scrolltech/apphelpers/\n     :alt: Updates\n\n\n\nCommon helper libraries for Python Apps\n\n\n* Free software: MIT license\n* Documentation: https://apphelpers.readthedocs.io.\n\n\nFeatures\n--------\n\n* TODO\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\n=======\nHistory\n=======\n\n0.96.4 (2025-01-10)\n-------------------\n* Fixed peewee dbtransaction pool for fastapi.\n\n0.96.3 (2024-10-07)\n-------------------\n* Fixed peewee dbtransaction for fastapi.\n\n0.96.2 (2024-10-07)\n-------------------\n* Removed deprecated peewee autorollback option.\n\n0.96.1 (2024-09-26)\n-------------------\n* Added annotated fastapi dependencies.\n\n0.96.0 (2024-07-25)\n-------------------\n* Possible fix for Honeybadger exception masking the actual exceptions.\n* Honeybadger 403 errors will not be raised anymore.\n* Improved FastAPI honeybadger integration.\n\n0.95.1 (2024-07-02)\n-------------------\n* Added socialauth.goog.fetch_info_using_jwt for fetching user info using Google JWT\n\n0.95.0 (2024-06-18)\n-------------------\n* Won't rotate logs by default. Pass `rotate=True`.\n\n0.94.0 (2024-03-06)\n-------------------\n* Added support for Piccolo ORM\n\n0.93.1 (2023-01-20)\n-------------------\n* Fixed get_by_secondary_key of CachedModel\n\n0.93.0 (2023-01-19)\n-------------------\n* Added secondary_key support for CachedModel\n\n0.92.3 (2023-01-15)\n-------------------\n* Added @response_model for FastAPI endpoints\n\n0.92.2 (2023-12-26)\n-------------------\n* Fixed operation_id generation\n\n0.92.1 (2023-12-24)\n-------------------\n* Fixed _get_matched_keys access for ReadOnlyCachedModel\n\n0.92.0 (2023-12-23)\n-------------------\n* site_ctx implementation for FastAPI\n* user_agent directive for FastAPI & Hug\n* ignore_site_ctx implementation for FastAPI & Hug\n* count_matched_keys implementation for ReadOnlyCachedModel\n\n0.91.0 (2023-12-22)\n-------------------\n* Breaking: moved apphelpers.sessions.whoami to apphelpers.rest.{hug/fastapi}.whoami\n* New convenient decorators in apphelpers.rest.endpoint\n* any_group_required and all_groups_required implementation for FastAPI\n* Improved errors\n* Other improvements and fixes\n* Moved CI from travis to github actions\n\n0.90.0 (2023-10-16)\n-------------------\n* Support for FastAPI framework.\n\n0.34.2 (2023-09-04)\n-------------------\n* Email INTERNAL_EMAIL_DOMAINS will also restrict bcc email recipients.\n* Fixed typo\n\n0.34.0 (2023-09-01)\n-------------------\n\n* settings.INTERNAL_EMAIL_DOMAINS must me defined for email sending safety in\n  non-prod env.\n  e.g. INTERNAL_EMAIL_DOMAINS = ['example.com', 'example.org']\n  allows sending emails to only address ending with example.com or example.org\n\n0.33.5 (2023-08-08)\n-------------------\n* Reusable utility `format_msg` added in email module to format email message\n\n0.33.4 (2023-08-08)\n-------------------\n* Support for optionally addding headers added to email message\n\n0.33.3 (2023-08-04)\n-------------------\n* For site-bound sessions, restrict access if site_id is missing\n\n0.33.2 (2023-07-20)\n-------------------\n* session destroy fix for site-bound sessions\n\n0.33.1 (2023-07-20)\n-------------------\n* site_id check fix for site-bound sessions\n\n0.33.0 (2023-05-23)\n-------------------\n* Support for new directives: user_groups, user_site_groups, user_site_ctx\n* Ambiguously named groups_required decorator is now replaced with any_group_required\n* New decorator: all_groups_required\n\n0.32.1 (2023-04-18)\n-------------------\n* Support for resyncing & destroying context bound session\n\n0.32.0 (2023-04-11)\n-------------------\n* Support for context bound sessions\n\n0.31.2 (2022-12-15)\n-------------------\n* Implement ReadWriteCachedModel.decrement()\n\n0.31.1 (2022-09-20)\n-------------------\n* Extend sesion timeout fix for lookup key\n* Implement sessions.sid2uid()\n\n0.31.0 (2022-08-08)\n-------------------\n* Rename Config directive MD_* to SMTP_*\n\n0.21.1 (2022-06-09)\n-------------------\n* Fix for SMTP+SSL connection\n\n0.21.0 (2022-05-18)\n-------------------\n* applogger: general purpose application logging\n\n0.20.0 (2022-04-29)\n-------------------\n* Support for custom authorizaion\n\n0.19.1 (2021-10-07)\n-------------------\n\n* Report function args in honeybadger context\n\n0.9.2 (2019-05-20)\n------------------\n\n* New options `groups_forbidden` and `groups_required` to secure API access\n\n0.1.0 (2019-03-24)\n------------------\n\n* First release on PyPI.\n",
    "bugtrack_url": null,
    "license": "MIT license",
    "summary": "Common helper libraries for Python Apps",
    "version": "0.96.4",
    "project_urls": {
        "Homepage": "https://github.com/scrolltech/apphelpers"
    },
    "split_keywords": [
        "apphelpers"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "26e8503f96308a28f4a827cf05903b1f7a16f16e16bff1cb3dfc1e39a344e99a",
                "md5": "67ec192b58dcddec5457bbc3e763f9c2",
                "sha256": "448a41c44c02a9ebb0f417cdd9cb3215aece6c36e5ff6ef6a8f6813ce54b737f"
            },
            "downloads": -1,
            "filename": "apphelpers-0.96.4.tar.gz",
            "has_sig": false,
            "md5_digest": "67ec192b58dcddec5457bbc3e763f9c2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 35932,
            "upload_time": "2025-01-10T04:55:18",
            "upload_time_iso_8601": "2025-01-10T04:55:18.747231Z",
            "url": "https://files.pythonhosted.org/packages/26/e8/503f96308a28f4a827cf05903b1f7a16f16e16bff1cb3dfc1e39a344e99a/apphelpers-0.96.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-10 04:55:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "scrolltech",
    "github_project": "apphelpers",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "apphelpers"
}
        
Elapsed time: 0.54317s