Skip to main content

Flask extension for providing auxiliary components to be used by different projects

Project description

Flask-Auxs

Flask extension for providing auxiliary components to be used by different projects.

Installation

$ pip install Flask-Auxs

Usage

First create the auxs object:

from flask_auxs import Auxs
auxs = Auxs()

Then initialize it using init_app method:

auxs.init_app(app)  # app is your Flask app instance

Content

Components automatically installed:

  • context processor for injecting redir_path to templates
  • dtformat jinja filter for date and time formatting

Components to be directly imported on demand:

  • error handler error_obj_not_found
  • exceptions: NotAllowed, PermissionDenied for crud validation
  • url helpers: get_cancel, get_next, valid_url

License

Flask-Auxs was created by Rafal Padkowski. It is licensed under the terms of the MIT license.

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

flask_auxs-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

flask_auxs-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file flask_auxs-0.1.0.tar.gz.

File metadata

  • Download URL: flask_auxs-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/5.15.0-79-generic

File hashes

Hashes for flask_auxs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2957c18dcebe82f2f7e787b0dc20929d5499fc56c690cf7fbd5247d393213fed
MD5 258412db0608ec3b65766171dc03abe3
BLAKE2b-256 937418de13c8299efe690fa80839d024f01e2e05444f78cf1d65d0713993a437

See more details on using hashes here.

File details

Details for the file flask_auxs-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: flask_auxs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/5.15.0-79-generic

File hashes

Hashes for flask_auxs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 396fd0b67bd17151ebd617c5a11d95d0a4bcf14e560608b230d2cdf814bfbe77
MD5 7cc401ef5ded44dacee3374691135b76
BLAKE2b-256 2232a6850e2c905d6ba3d8a6881f25b1f991576d20e22bf417cf76fb73a68290

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