navigator-session 0.5.2__py3-none-any.whl → 0.5.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- navigator_session/data.py +1 -1
- navigator_session/middleware.py +1 -1
- navigator_session/storages/abstract.py +3 -2
- navigator_session/storages/redis.py +1 -1
- navigator_session/version.py +1 -1
- {navigator_session-0.5.2.dist-info → navigator_session-0.5.3.dist-info}/METADATA +3 -4
- navigator_session-0.5.3.dist-info/RECORD +15 -0
- navigator_session-0.5.2.dist-info/RECORD +0 -15
- {navigator_session-0.5.2.dist-info → navigator_session-0.5.3.dist-info}/LICENSE +0 -0
- {navigator_session-0.5.2.dist-info → navigator_session-0.5.3.dist-info}/WHEEL +0 -0
- {navigator_session-0.5.2.dist-info → navigator_session-0.5.3.dist-info}/top_level.txt +0 -0
navigator_session/data.py
CHANGED
|
@@ -8,7 +8,7 @@ import jsonpickle
|
|
|
8
8
|
from jsonpickle.unpickler import loadclass
|
|
9
9
|
from aiohttp import web
|
|
10
10
|
from datamodel import BaseModel
|
|
11
|
-
from
|
|
11
|
+
from .conf import SESSION_KEY, SESSION_STORAGE
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
class ModelHandler(jsonpickle.handlers.BaseHandler):
|
navigator_session/middleware.py
CHANGED
|
@@ -7,13 +7,14 @@ import logging
|
|
|
7
7
|
from typing import Optional
|
|
8
8
|
from aiohttp import web
|
|
9
9
|
from datamodel.parsers.encoders import DefaultEncoder
|
|
10
|
-
from
|
|
10
|
+
from ..conf import (
|
|
11
11
|
SESSION_TIMEOUT,
|
|
12
12
|
SESSION_KEY,
|
|
13
13
|
SESSION_OBJECT,
|
|
14
14
|
SESSION_COOKIE_SECURE
|
|
15
15
|
)
|
|
16
|
-
from
|
|
16
|
+
from ..data import SessionData
|
|
17
|
+
|
|
17
18
|
|
|
18
19
|
if sys.version_info >= (3, 8):
|
|
19
20
|
from typing import TypedDict
|
navigator_session/version.py
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
__title__ = 'navigator_session'
|
|
6
6
|
__description__ = ('Navigator Session allows us to store user-specific data '
|
|
7
7
|
'into session object.')
|
|
8
|
-
__version__ = '0.5.
|
|
8
|
+
__version__ = '0.5.3'
|
|
9
9
|
__author__ = 'Jesus Lara'
|
|
10
10
|
__author_email__ = 'jesuslarag@gmail.com'
|
|
11
11
|
__license__ = 'Apache-2.0'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: navigator-session
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.3
|
|
4
4
|
Summary: Navigator Session allows us to store user-specific data into session object.
|
|
5
5
|
Home-page: https://github.com/phenobarbital/navigator-session
|
|
6
6
|
Author: Jesus Lara
|
|
@@ -26,14 +26,13 @@ Classifier: Framework :: aiohttp
|
|
|
26
26
|
Requires-Python: >=3.9.16
|
|
27
27
|
Description-Content-Type: text/markdown
|
|
28
28
|
License-File: LICENSE
|
|
29
|
-
Requires-Dist: aiohttp ==3.9.
|
|
29
|
+
Requires-Dist: aiohttp ==3.9.3
|
|
30
30
|
Requires-Dist: uvloop ==0.19.0
|
|
31
31
|
Requires-Dist: asyncio ==3.4.3
|
|
32
|
-
Requires-Dist: navconfig[default] >=1.5.0
|
|
33
32
|
Requires-Dist: jsonpickle ==3.0.2
|
|
34
33
|
Requires-Dist: redis ==5.0.1
|
|
35
|
-
Requires-Dist: pendulum ==2.1.2
|
|
36
34
|
Requires-Dist: python-datamodel >=0.2.1
|
|
35
|
+
Requires-Dist: navconfig[default] >=1.6.3
|
|
37
36
|
|
|
38
37
|
# Navigator_Session #
|
|
39
38
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
navigator_session/__init__.py,sha256=xsmc90K04EgQEtYidPN7bsXn0WIqw6GucNwy138Mmno,3038
|
|
2
|
+
navigator_session/conf.py,sha256=PwCGoYpg_2MEq5_zObvbx4yXKf7AIKObO-lzTh2AvxM,1466
|
|
3
|
+
navigator_session/data.py,sha256=tD40x16dujarX3F1RMPAuYqDP3oiG_8kyqLNYyD3Ik4,5798
|
|
4
|
+
navigator_session/middleware.py,sha256=7RO83pz4q16_56GvmbswEukbDZQ0JutJdVdF4UHbEw8,1942
|
|
5
|
+
navigator_session/session.py,sha256=I6qWkMbqIpVX1RjxmccGsk1sCcqWZ_ZBVGwLXjV8wjw,2188
|
|
6
|
+
navigator_session/version.py,sha256=ZLk7Wt5xlc7MSppNZmPBeL5ogFgNpd7HawJUWB5JfPg,394
|
|
7
|
+
navigator_session/storages/__init__.py,sha256=ln0Xli0lppUopDMrvQGt69BFtUAe1Grmy2DGkEpANNU,132
|
|
8
|
+
navigator_session/storages/abstract.py,sha256=5nqEF0I0G3p4pcTNfOQYspbXp-U7QJntJWVsKYDu9KY,6043
|
|
9
|
+
navigator_session/storages/cookie.py,sha256=_qL5kIGbT4rtCMze4yj1h4J7Zauz_e7HnorPnFbi90w,2468
|
|
10
|
+
navigator_session/storages/redis.py,sha256=qk8V3FGYDLbfTT851NOU864hSsgup661b8GY1u_uhtQ,9345
|
|
11
|
+
navigator_session-0.5.3.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
12
|
+
navigator_session-0.5.3.dist-info/METADATA,sha256=plJi8EJAbzFmxdbAViAkfcLbc_KasF34eedFM2OqZS4,2288
|
|
13
|
+
navigator_session-0.5.3.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
14
|
+
navigator_session-0.5.3.dist-info/top_level.txt,sha256=ZpOEy3wLKGsxG2rc0nHqcqJCV3HIOG_XCfE6mtsYYYY,18
|
|
15
|
+
navigator_session-0.5.3.dist-info/RECORD,,
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
navigator_session/__init__.py,sha256=xsmc90K04EgQEtYidPN7bsXn0WIqw6GucNwy138Mmno,3038
|
|
2
|
-
navigator_session/conf.py,sha256=PwCGoYpg_2MEq5_zObvbx4yXKf7AIKObO-lzTh2AvxM,1466
|
|
3
|
-
navigator_session/data.py,sha256=9XEaLDRIs3qrIVmeouN2Tx_mTPa2QbLZlB6s4ewelG8,5815
|
|
4
|
-
navigator_session/middleware.py,sha256=kbTFWwY-NrFE-yen7DyOEyWjy8Pfol-5qiXCnm0vGa8,1959
|
|
5
|
-
navigator_session/session.py,sha256=I6qWkMbqIpVX1RjxmccGsk1sCcqWZ_ZBVGwLXjV8wjw,2188
|
|
6
|
-
navigator_session/version.py,sha256=Rfdl4mDazRXEkPD2tIjyk3Di_AbQaURFB_muEFW9GYM,394
|
|
7
|
-
navigator_session/storages/__init__.py,sha256=ln0Xli0lppUopDMrvQGt69BFtUAe1Grmy2DGkEpANNU,132
|
|
8
|
-
navigator_session/storages/abstract.py,sha256=mgtCvUD5KKlkWa-xOUBAoZbtZyPG_R7MbxIDOKGANYU,6074
|
|
9
|
-
navigator_session/storages/cookie.py,sha256=_qL5kIGbT4rtCMze4yj1h4J7Zauz_e7HnorPnFbi90w,2468
|
|
10
|
-
navigator_session/storages/redis.py,sha256=XSNEJ_xuyM-8y6xrraDyF6w_BT_JR4eGyclfa8ZvODo,9361
|
|
11
|
-
navigator_session-0.5.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
12
|
-
navigator_session-0.5.2.dist-info/METADATA,sha256=eiapOKvilwhb78qS62fXrRwX6FvKO0l2jQzApWOchC0,2320
|
|
13
|
-
navigator_session-0.5.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
14
|
-
navigator_session-0.5.2.dist-info/top_level.txt,sha256=ZpOEy3wLKGsxG2rc0nHqcqJCV3HIOG_XCfE6mtsYYYY,18
|
|
15
|
-
navigator_session-0.5.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|