plain 0.1.2__py3-none-any.whl → 0.2.0__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.
- plain/assets/README.md +18 -37
- plain/assets/__init__.py +0 -6
- plain/assets/compile.py +111 -0
- plain/assets/finders.py +26 -218
- plain/assets/fingerprints.py +38 -0
- plain/assets/urls.py +31 -0
- plain/assets/views.py +263 -0
- plain/cli/cli.py +68 -5
- plain/packages/config.py +5 -5
- plain/packages/registry.py +1 -7
- plain/preflight/urls.py +0 -10
- plain/runtime/README.md +0 -1
- plain/runtime/global_settings.py +7 -14
- plain/runtime/user_settings.py +0 -49
- plain/templates/jinja/globals.py +1 -1
- plain/test/__init__.py +0 -8
- plain/test/client.py +36 -16
- plain/views/base.py +5 -3
- plain/views/errors.py +7 -0
- {plain-0.1.2.dist-info → plain-0.2.0.dist-info}/LICENSE +0 -24
- {plain-0.1.2.dist-info → plain-0.2.0.dist-info}/METADATA +1 -1
- {plain-0.1.2.dist-info → plain-0.2.0.dist-info}/RECORD +24 -34
- plain/assets/preflight.py +0 -14
- plain/assets/storage.py +0 -916
- plain/assets/utils.py +0 -52
- plain/assets/whitenoise/__init__.py +0 -5
- plain/assets/whitenoise/base.py +0 -259
- plain/assets/whitenoise/compress.py +0 -189
- plain/assets/whitenoise/media_types.py +0 -137
- plain/assets/whitenoise/middleware.py +0 -197
- plain/assets/whitenoise/responders.py +0 -286
- plain/assets/whitenoise/storage.py +0 -178
- plain/assets/whitenoise/string_utils.py +0 -13
- plain/internal/legacy/management/commands/__init__.py +0 -0
- plain/internal/legacy/management/commands/collectstatic.py +0 -297
- plain/test/utils.py +0 -255
- {plain-0.1.2.dist-info → plain-0.2.0.dist-info}/WHEEL +0 -0
- {plain-0.1.2.dist-info → plain-0.2.0.dist-info}/entry_points.txt +0 -0
|
@@ -59,27 +59,3 @@ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
|
59
59
|
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
60
60
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
61
61
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
## This package contains code forked from github.com/evansd/whitenoise
|
|
65
|
-
|
|
66
|
-
The MIT License (MIT)
|
|
67
|
-
|
|
68
|
-
Copyright (c) 2013 David Evans
|
|
69
|
-
|
|
70
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
71
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
72
|
-
the Software without restriction, including without limitation the rights to
|
|
73
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
74
|
-
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
75
|
-
subject to the following conditions:
|
|
76
|
-
|
|
77
|
-
The above copyright notice and this permission notice shall be included in all
|
|
78
|
-
copies or substantial portions of the Software.
|
|
79
|
-
|
|
80
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
81
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
82
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
83
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
84
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
85
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,22 +1,15 @@
|
|
|
1
1
|
plain/README.md,sha256=mFsLBpqiHvuznV98eewupvo1JoQeQG0q87wNlXit21A,1695
|
|
2
2
|
plain/__main__.py,sha256=BiYbF-txGNbeRqp_CHQ9EZ_bCbbKq2iw51Z8RRUgIBY,105
|
|
3
|
-
plain/assets/README.md,sha256=
|
|
4
|
-
plain/assets/__init__.py,sha256=
|
|
5
|
-
plain/assets/
|
|
6
|
-
plain/assets/
|
|
7
|
-
plain/assets/
|
|
8
|
-
plain/assets/
|
|
9
|
-
plain/assets/
|
|
10
|
-
plain/assets/whitenoise/base.py,sha256=6-8nI1WPKiMdGW1iqwkQMoS4me9k8TMm9xJKeaTSy7Q,10100
|
|
11
|
-
plain/assets/whitenoise/compress.py,sha256=UYUOYCkkhx82bmsoNDSxVbjGetGUGRLkBfthIpOJrDk,5471
|
|
12
|
-
plain/assets/whitenoise/media_types.py,sha256=knZ-VEYwyuKanHERBT_wEGDMpawYzw13TnBZVm8ENjs,5195
|
|
13
|
-
plain/assets/whitenoise/middleware.py,sha256=nzx8mgIR-gG6zqDCqVmffMjYOHbKmHwADueZ_QR1nQE,6849
|
|
14
|
-
plain/assets/whitenoise/responders.py,sha256=RozpNG0JGgOPZD7OWUH6oqp8arxhXQT1HuxFf-t9-Co,9859
|
|
15
|
-
plain/assets/whitenoise/storage.py,sha256=r2L_xM5_m4qcCUmAYhYst3wL8ZFOq5txoOJQbZKSYaE,6547
|
|
16
|
-
plain/assets/whitenoise/string_utils.py,sha256=wUqhuc_3CFAu5VPg03IPSnUe4SBdILoP9cmKzBH-2zA,489
|
|
3
|
+
plain/assets/README.md,sha256=ZXXRtFKm6aU0M5i1WIOPG9tO7p-rDJVUTEB-kNaLLOk,929
|
|
4
|
+
plain/assets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
plain/assets/compile.py,sha256=yi5zsjFMPkPg2tO_gpYbteA08klC_ECsz2GFFmevn0I,3016
|
|
6
|
+
plain/assets/finders.py,sha256=WEKAnXTmpuQ7UKLZz7vHPrKFdDOkuZSP6_JTKmIxrKg,1268
|
|
7
|
+
plain/assets/fingerprints.py,sha256=1NKAnnXVlncY5iimXztr0NL3RIjBKsNlZRIe6nmItJc,931
|
|
8
|
+
plain/assets/urls.py,sha256=ZTIoM1Zq35JaXZ3wFhXhfGa7VoITDNlH9i5RS0R5xow,933
|
|
9
|
+
plain/assets/views.py,sha256=y-ONVDwB64e1adc1dR41OPlYLnZRBRN5cb001Wy4358,8827
|
|
17
10
|
plain/cli/README.md,sha256=bEp9B9C92YEa44wN2IywTmNZsYBv_uGq9AS_bBiAGdY,2580
|
|
18
11
|
plain/cli/__init__.py,sha256=9ByBOIdM8DebChjNz-RH2atdz4vWe8somlwNEsbhwh4,40
|
|
19
|
-
plain/cli/cli.py,sha256=
|
|
12
|
+
plain/cli/cli.py,sha256=E8ONgCSXkcVnwW9AipGGSO9ufJmV1_3PiHv6qKx29gU,14919
|
|
20
13
|
plain/cli/formatting.py,sha256=1hZH13y1qwHcU2K2_Na388nw9uvoeQH8LrWL-O9h8Yc,2207
|
|
21
14
|
plain/cli/packages.py,sha256=69VH1bIi1-5N5l2jlBcR5EP0pt-v16sPar9arO3gCSE,2052
|
|
22
15
|
plain/cli/print.py,sha256=XraUYrgODOJquIiEv78wSCYGRBplHXtXSS9QtFG5hqY,217
|
|
@@ -57,8 +50,6 @@ plain/internal/legacy/__main__.py,sha256=DY5iMUCva6mC6sIjMMYluLWYzlbJv_za0gclISh
|
|
|
57
50
|
plain/internal/legacy/management/__init__.py,sha256=RTZvasu5oeLdpJ5txMXEmBOXLNiLX22Q2OfrjdtBmug,16084
|
|
58
51
|
plain/internal/legacy/management/base.py,sha256=1gcco3NvX52bv4ecyrjgicOjVENPgfG7QqHhMnhehKA,24400
|
|
59
52
|
plain/internal/legacy/management/color.py,sha256=Oz4KsUwIfNtLZ6ecAPsoe2LaBGjt69pd3MEWMHkM2sU,2857
|
|
60
|
-
plain/internal/legacy/management/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
61
|
-
plain/internal/legacy/management/commands/collectstatic.py,sha256=_rwksdRbXXUzoWu6SMEtNw8XcI7TxExKtegmhyXTWOU,11639
|
|
62
53
|
plain/internal/legacy/management/sql.py,sha256=Yp_E6fSdS9OAL7oWimqbzxCB6740GPqG6_gO6_QdL6g,2106
|
|
63
54
|
plain/internal/legacy/management/utils.py,sha256=BeOiNnx26bkbq_OAOn5j1mxQ8UASnGCnZI5xuRwgnhU,5495
|
|
64
55
|
plain/json.py,sha256=McJdsbMT1sYwkGRG--f2NSZz0hVXPMix9x3nKaaak2o,1262
|
|
@@ -75,8 +66,8 @@ plain/middleware/gzip.py,sha256=2NogLO6hPxVc3otxkhMDl7-r2Zw3vcIkAP29fx4j2eU,2383
|
|
|
75
66
|
plain/middleware/security.py,sha256=r9UatFEaKVL1eZ5AxAuVX9uf5eLKwImEZmjL2t1slaY,2477
|
|
76
67
|
plain/packages/README.md,sha256=Vq1Nw3mmEmZ2IriQavuVi4BjcQC2nb8k7YIbnm8QjIg,799
|
|
77
68
|
plain/packages/__init__.py,sha256=DnHN1wwHXiXib4Y9BV__x9WrbUaTovoTIxW-tVyScTU,106
|
|
78
|
-
plain/packages/config.py,sha256=
|
|
79
|
-
plain/packages/registry.py,sha256=
|
|
69
|
+
plain/packages/config.py,sha256=6Vdf1TEQllZkkEvK0WK__zHJYT9nxmS3EyYrbuq0GkM,11201
|
|
70
|
+
plain/packages/registry.py,sha256=Bihdu1sOVslmb2CHAJbMqqzsLIPn0FkqwHoD_JrfZy4,17936
|
|
80
71
|
plain/paginator.py,sha256=4v5SbYotJH9HoNdzf-1j-AEy4ZLbLPuysf-VME4-6e0,6055
|
|
81
72
|
plain/preflight/README.md,sha256=fgcfVRD6rq7IO8AffQhk49c-6akxaE8MQidRp69InDQ,59
|
|
82
73
|
plain/preflight/__init__.py,sha256=odGgSal4YeWjIG9N2aJzlF1WyEJMx1c7ZP853ZTrbKM,735
|
|
@@ -88,11 +79,11 @@ plain/preflight/registry.py,sha256=ZpxnZPIklXuT8xZVTxCUp_IER3zhd7DdfsmqIpAbLj4,2
|
|
|
88
79
|
plain/preflight/security/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
89
80
|
plain/preflight/security/base.py,sha256=MjY1HXfUD4fsGz1kGs0eI2hpoSmD57x_30CMbLpw3h4,8445
|
|
90
81
|
plain/preflight/security/csrf.py,sha256=EZy_DkVqc1kUmBA-UbNmhVsKhRINfmqgWSRlatKy5AA,1237
|
|
91
|
-
plain/preflight/urls.py,sha256=
|
|
92
|
-
plain/runtime/README.md,sha256=
|
|
82
|
+
plain/preflight/urls.py,sha256=O4PQ_v205VA2872fQlhPfxaihDDRCsVp0ZVKQ92aX4k,3019
|
|
83
|
+
plain/runtime/README.md,sha256=F5USETg445RX1RxC13y_1NrbOs3GHQI2Jl9idGdVFnk,2270
|
|
93
84
|
plain/runtime/__init__.py,sha256=jKak9tK8MfcGNYOzqCOEmwSRAGOoji8r7e2IAwOymzE,1392
|
|
94
|
-
plain/runtime/global_settings.py,sha256=
|
|
95
|
-
plain/runtime/user_settings.py,sha256=
|
|
85
|
+
plain/runtime/global_settings.py,sha256=4BE6Blg3y4QHlvVR8RrnmLh_FlDlz4ut-rdHWJHc1hA,6294
|
|
86
|
+
plain/runtime/user_settings.py,sha256=3016w7YiOkG85L1Y5BsobgxgCOAaRbZzFaBadzmHSZg,11315
|
|
96
87
|
plain/signals/README.md,sha256=cd3tKEgH-xc88CUWyDxl4-qv-HBXx8VT32BXVwA5azA,230
|
|
97
88
|
plain/signals/__init__.py,sha256=eAs0kLqptuP6I31dWXeAqRNji3svplpAV4Ez6ktjwXM,131
|
|
98
89
|
plain/signals/dispatch/__init__.py,sha256=FzEygqV9HsM6gopio7O2Oh_X230nA4d5Q9s0sUjMq0E,292
|
|
@@ -107,11 +98,10 @@ plain/templates/jinja/__init__.py,sha256=1VAyXRHf2hDPniZfnKhiMWsOp4Gkg0Ss1xmAbuv
|
|
|
107
98
|
plain/templates/jinja/defaults.py,sha256=AhGxp8X4UNC6CRD0XygQDV3ZeIs4KH2NaCjPtlgFeL0,3770
|
|
108
99
|
plain/templates/jinja/extensions.py,sha256=AEmmmHDbdRW8fhjYDzq9eSSNbp9WHsXenD8tPthjc0s,1351
|
|
109
100
|
plain/templates/jinja/filters.py,sha256=3KJKKbxcv9dLzUDWPcaa88k3NU2m1GG3iMIgFhzXrBA,860
|
|
110
|
-
plain/templates/jinja/globals.py,sha256=
|
|
101
|
+
plain/templates/jinja/globals.py,sha256=MRhkTVVH2iKWc_GPX5E2uoafBV-tDVxyY58d_S4Zgwo,479
|
|
111
102
|
plain/test/README.md,sha256=Zso3Ir7a8vQerzKB6egjROQWkpveLAbscn7VTROPAiU,37
|
|
112
|
-
plain/test/__init__.py,sha256=
|
|
113
|
-
plain/test/client.py,sha256=
|
|
114
|
-
plain/test/utils.py,sha256=TELutP9vFYt6RtgX-7gTR0vbZV-UYTLZ7u46h3oXRwE,8546
|
|
103
|
+
plain/test/__init__.py,sha256=rXe88Y602NP8DBnReSyXb7dUzKoWweLuT43j-qwOUl4,138
|
|
104
|
+
plain/test/client.py,sha256=w8QxRE04ozCyF5TZRxrtg-R9ECiZ0VV105t9Ty89cXg,32412
|
|
115
105
|
plain/urls/README.md,sha256=pWnCvgYkWN7rG7hSyBOtX4ZUP3iO7FhqM6lvwwYll6c,33
|
|
116
106
|
plain/urls/__init__.py,sha256=3UzwIufXjIks2K_X_Vms2MV19IqvyPLrXUeHU3WP47c,753
|
|
117
107
|
plain/urls/base.py,sha256=ECaOCEXs1ygKn4k1mt5XxSNPNlg5raJvx0aPaj7DFfE,3719
|
|
@@ -153,17 +143,17 @@ plain/utils/tree.py,sha256=wdWzmfsgc26YDF2wxhAY3yVxXTixQYqYDKE9mL3L3ZY,4383
|
|
|
153
143
|
plain/validators.py,sha256=L9v9KtTe4iZhZVramZdKGf33R5Tt95FCdg2AJD2-2n0,19963
|
|
154
144
|
plain/views/README.md,sha256=qndsXKyNMnipPlLaAvgQeGxqXknNQwlFh31Yxk8rHp8,5994
|
|
155
145
|
plain/views/__init__.py,sha256=a-N1nkklVohJTtz0yD1MMaS0g66HviEjsKydNVVjvVc,392
|
|
156
|
-
plain/views/base.py,sha256=
|
|
146
|
+
plain/views/base.py,sha256=WQy5btO4NNkEQAleII57oXUaDdd76a7OnFGdK7uFook,3160
|
|
157
147
|
plain/views/csrf.py,sha256=gO9npd_Ut_LoYF_u7Qb_ZsPRfSeE3aTPG97XlMp4oEo,724
|
|
158
|
-
plain/views/errors.py,sha256=
|
|
148
|
+
plain/views/errors.py,sha256=Y4oGX4Z6D2COKcDEfINvXE1acE8Ad15KwNNWPs5BCfc,967
|
|
159
149
|
plain/views/exceptions.py,sha256=b4euI49ZUKS9O8AGAcFfiDpstzkRAuuj_uYQXzWNHME,138
|
|
160
150
|
plain/views/forms.py,sha256=hyi2yjPvl0f4thU3pcKUEjqzUAN95yIJSCZAOdgSlF8,2663
|
|
161
151
|
plain/views/objects.py,sha256=9QBYyb8PgkRirXCQ8-Pms4_yMzP37dfeL30hWRYmtZg,7909
|
|
162
152
|
plain/views/redirect.py,sha256=KLnlktzK6ZNMTlaEiZpMKQMEP5zeTgGLJ9BIkIJfwBo,1733
|
|
163
153
|
plain/views/templates.py,sha256=nF9CcdhhjAyp3LB0RrSYnBaHpHzMfPSw719RCdcXk7o,2007
|
|
164
154
|
plain/wsgi.py,sha256=R6k5FiAElvGDApEbMPTT0MPqSD7n2e2Az5chQqJZU0I,236
|
|
165
|
-
plain-0.
|
|
166
|
-
plain-0.
|
|
167
|
-
plain-0.
|
|
168
|
-
plain-0.
|
|
169
|
-
plain-0.
|
|
155
|
+
plain-0.2.0.dist-info/LICENSE,sha256=m0D5O7QoH9l5Vz_rrX_9r-C8d9UNr_ciK6Qwac7o6yo,3175
|
|
156
|
+
plain-0.2.0.dist-info/METADATA,sha256=mAJh5RGacFFLKauPM8p3hLfRdw11qLSlU68Y6MC5elM,2716
|
|
157
|
+
plain-0.2.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
158
|
+
plain-0.2.0.dist-info/entry_points.txt,sha256=7O1RZTmMasKYB73bfqQcTwIhsXo7RjEIKv2WbtTtOIM,39
|
|
159
|
+
plain-0.2.0.dist-info/RECORD,,
|
plain/assets/preflight.py
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
from plain.assets.finders import get_finders
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
def check_finders(package_configs=None, **kwargs):
|
|
5
|
-
"""Check all registered assets finders."""
|
|
6
|
-
errors = []
|
|
7
|
-
for finder in get_finders():
|
|
8
|
-
try:
|
|
9
|
-
finder_errors = finder.check()
|
|
10
|
-
except NotImplementedError:
|
|
11
|
-
pass
|
|
12
|
-
else:
|
|
13
|
-
errors.extend(finder_errors)
|
|
14
|
-
return errors
|