Simple as dead support of Redis database for Flask applications

playpauseandstop, updated 🕥 2022-01-21 18:56:39

=============== Flask-And-Redis ===============

.. image:: https://travis-ci.org/playpauseandstop/Flask-And-Redis.png?branch=master&style=flat :target: https://travis-ci.org/playpauseandstop/Flask-And-Redis :alt: Travis CI

.. image:: https://coveralls.io/repos/github/playpauseandstop/Flask-And-Redis/badge.svg?branch=master :target: https://coveralls.io/github/playpauseandstop/Flask-And-Redis?branch=master :alt: Coverage

.. image:: https://img.shields.io/pypi/v/Flask-And-Redis.svg :target: https://pypi.python.org/pypi/Flask-And-Redis/ :alt: Latest Version

.. image:: https://img.shields.io/pypi/pyversions/Flask-And-Redis.svg :target: https://pypi.python.org/pypi/Flask-And-Redis/ :alt: Python versions

.. image:: https://img.shields.io/pypi/l/Flask-And-Redis.svg :target: https://github.com/playpauseandstop/Flask-And-Redis/blob/master/LICENSE :alt: BSD License

.. image:: https://readthedocs.org/projects/flask-and-redis/badge/?version=latest :target: http://flask-and-redis.readthedocs.org/en/latest/ :alt: Documentation

Flask-And-Redis provides simple as dead support of Redis <http://redis.io> database for Flask <http://flask.pocoo.org/> applications. Extension built around beautiful redis-py <https://github.com/andymccurdy/redis-py>_ library by Andy McCurdy.

  • Works on Python 2.7, 3.4+
  • BSD licensed
  • Latest documentation on Read the Docs <http://flask-and-redis.readthedocs.org>_
  • Source, issues and pull requests on GitHub <https://github.com/playpauseandstop/Flask-And-Redis>_
  • Install with pip install Flask-And-Redis

.. note:: Flask-And-Redis named as is, cause Flask-Redis name already taken <http://pypi.python.org/pypi/Flask-Redis>_, but that library didn't match my needs.

Issues

ModuleNotFoundError: No module named 'flask_redis'

opened on 2022-09-13 18:02:52 by adildg

I have been using Flask-And-Redis for some time, and I have noticed that when I use Python-3.10.x it doesn't work and I get this error :

ModuleNotFoundError: No module named 'flask_redis'

It only works if I use

bash $ python3.9 -m venv venv

Bump ipython from 7.13.0 to 7.16.3 in /testapp

opened on 2022-01-21 18:56:39 by dependabot[bot]

Bumps ipython from 7.13.0 to 7.16.3.

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/playpauseandstop/Flask-And-Redis/network/alerts).

Bump ipython from 7.13.0 to 7.26.0

opened on 2021-08-02 03:43:33 by dependabot-preview[bot]

Bumps ipython from 7.13.0 to 7.26.0.

Release notes

Sourced from ipython's releases.

See https://pypi.org/project/ipython/

We do not use GitHub release anymore. Please see PyPI https://pypi.org/project/ipython/

Commits
  • 9cc5c34 release 7.26.0
  • 39f50fb Merge pull request #13074 from meeseeksmachine/auto-backport-of-pr-13072-on-7.x
  • 990c908 Backport PR #13072: update what's new for 7.26
  • 3e0a411 Merge pull request #13070 from meeseeksmachine/auto-backport-of-pr-13050-on-7.x
  • 78bbe19 Backport PR #13050: Make Ipython.utils.timing work with jupyterlite
  • f34978f Merge pull request #13063 from meeseeksmachine/auto-backport-of-pr-13056-on-7.x
  • 4184b39 Merge pull request #13062 from meeseeksmachine/auto-backport-of-pr-13024-on-7.x
  • b182c03 Backport PR #13056: add expiry days option to pastebin magic and change http ...
  • a6c8044 Backport PR #13024: Documentation fixes
  • 4dcdce3 Merge pull request #13055 from meeseeksmachine/auto-backport-of-pr-13052-on-7.x
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)

Bump tox from 3.14.5 to 3.24.1

opened on 2021-08-02 03:43:13 by dependabot-preview[bot]

Bumps tox from 3.14.5 to 3.24.1.

Changelog

Sourced from tox's changelog.

v3.24.1 (2021-07-31)

Bugfixes

  • get_requires_for_build_sdist hook (PEP 517) is assumed to return an empty list if left unimplemented by the backend build system - by oczkoisse #2130

Documentation

  • The documentation of install_command now also mentions that you can provide arbitrary commands - by jugmac00 #2081

v3.24.0 (2021-07-14)

Bugfixes

  • --devenv no longer modifies the directory in which the .tox environment is provisioned - by isaac-ped #2065
  • Fix show config when the package names are not in canonical form - by gaborbernat. #2103

Documentation

  • Extended environment variables section - by majiang #2036

Miscellaneous

  • tox no longer shows deprecation warnings for distutils.sysconfig on Python 3.10 - by 9999years #2100

v3.23.1 (2021-05-05)

Bugfixes

  • Distinguish between normal Windows Python and MSYS2 Python when looking for virtualenv executable path. Adds os.sep to InterpreterInfo
    • by jschwartzentruber #1982
  • Fix a tox-conda isolation build bug - by AntoineD. #2056

Documentation

  • Update examples in the documentation to use setenv in the [testenv] sections, not wrongly in the [tox] main section.
    • by AndreyNautilus #1999

Miscellaneous

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)

Upgrade to GitHub-native Dependabot

opened on 2021-04-28 22:13:28 by dependabot-preview[bot]

Dependabot Preview will be shut down on August 3rd, 2021. In order to keep getting Dependabot updates, please merge this PR and migrate to GitHub-native Dependabot before then.

Dependabot has been fully integrated into GitHub, so you no longer have to install and manage a separate app. This pull request migrates your configuration from Dependabot.com to a config file, using the new syntax. When merged, we'll swap out dependabot-preview (me) for a new dependabot app, and you'll be all set!

With this change, you'll now use the Dependabot page in GitHub, rather than the Dependabot dashboard, to monitor your version updates, and you'll configure Dependabot through the new config file rather than a UI.

If you've got any questions or feedback for us, please let us know by creating an issue in the dependabot/dependabot-core repository.

Learn more about migrating to GitHub-native Dependabot

Please note that regular @dependabot commands do not work on this pull request.

Update infrastructure

opened on 2020-02-21 04:47:20 by playpauseandstop

Need to provide Python 2020 infrastructure for the library :), which means,

  • [ ] Integrating poetry
  • [ ] Using pre-commit hooks
  • [ ] Using type annotations & mypy
  • [ ] Stricter flake8 config
  • [ ] Strip Python 2 support
  • [ ] Compress list of versions of Flask & redis to test against
  • [ ] Migrate to GitHub Actions

As type annotations will be added, py.typed, and some classifiers looks like there will be 1.1.0 version soon.

Releases

1.0.0 Release 2019-02-18 18:44:54

  • Drop Python 2.6 & 3.3 support, ensure Python 3.6+ support. Kudos to jezdez for pull request & implementation
  • Support subclasses of the Redis client class. Again kudos to jezdez for pull request & implementation
  • Use inspect.getfullargspec() if available. Kudos to vibiu for pull request & implementation
  • Use redis.Redis as default connection class, when using redis-py >= 3

0.7 Release 2016-11-12 21:48:55

  • Improve multiple app support. Kudos to timothyqiu for pull request & implementation
  • Simplify running tests for test application

0.6 Release 2015-01-08 21:49:37

  • Python 3 support.
  • Move documentation to Read the Docs.
  • Refactor example test project to Comments app which shows how to use two Redis databases simultaneously.

0.5 Release 2013-05-10 15:41:09

  • Use redis.StrictRedis as connection class by default.
  • Understands unix socket path in REDIS_HOST.
  • Updates to README.

0.4 Release 2012-09-29 13:55:04

  • Big refactor for Redis class. Do not inherit redis.Redis class, store active redis connection in Redis.connection attribute and app.extensions['redis'] dict.
  • Add support of config_prefix keyword argument for Redis or Redis.init_app methods.
  • Support multiple redis connections in test application.

0.3.3 Release 2012-08-29 17:19:47

  • Fix problem while parsing REDIS_URL value, strip unnecessary slashes from database path (like redis://localhost:6379/12/).
Igor Davydenko

I am building web applications with Python 3. Still. On top of that I know how to make engineering teams effective & productive. Ukrainian

GitHub Repository Homepage

flask flask-extensions redis python