plain 0.1.0__py3-none-any.whl → 0.1.1__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/cli/cli.py CHANGED
@@ -3,6 +3,7 @@ import json
3
3
  import os
4
4
  import subprocess
5
5
  import sys
6
+ import traceback
6
7
  from importlib.util import find_spec
7
8
  from pathlib import Path
8
9
 
@@ -308,7 +309,12 @@ def compile(ctx):
308
309
  @plain_cli.command()
309
310
  @click.argument("package_name")
310
311
  def create(package_name):
311
- """Create a new local package"""
312
+ """
313
+ Create a new local package.
314
+
315
+ The PACKAGE_NAME is typically a plural noun, like "users" or "posts",
316
+ where you might create a "User" or "Post" model inside of the package.
317
+ """
312
318
  package_dir = plain.runtime.APP_PATH / package_name
313
319
  package_dir.mkdir(exist_ok=True)
314
320
 
@@ -417,6 +423,9 @@ class PlainCommandCollection(click.CommandCollection):
417
423
  fg="red",
418
424
  err=True,
419
425
  )
426
+ print("---")
427
+ print(traceback.format_exc())
428
+ print("---")
420
429
 
421
430
  sources = [
422
431
  EntryPointGroup(),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: plain
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: A web framework for building products with Python.
5
5
  Author: Dave Gaeddert
6
6
  Author-email: dave.gaeddert@dropseed.dev
@@ -16,7 +16,7 @@ plain/assets/whitenoise/storage.py,sha256=r2L_xM5_m4qcCUmAYhYst3wL8ZFOq5txoOJQbZ
16
16
  plain/assets/whitenoise/string_utils.py,sha256=wUqhuc_3CFAu5VPg03IPSnUe4SBdILoP9cmKzBH-2zA,489
17
17
  plain/cli/README.md,sha256=bEp9B9C92YEa44wN2IywTmNZsYBv_uGq9AS_bBiAGdY,2580
18
18
  plain/cli/__init__.py,sha256=9ByBOIdM8DebChjNz-RH2atdz4vWe8somlwNEsbhwh4,40
19
- plain/cli/cli.py,sha256=wYpvA2DQ1G43OCUU7Q7CRjVBju4IljON2fafyTxhLWQ,12744
19
+ plain/cli/cli.py,sha256=3jbK8Z1WzsahwDo2bQkRsjO8UQIR03YDbHzLBo6wbjs,13014
20
20
  plain/cli/formatting.py,sha256=1hZH13y1qwHcU2K2_Na388nw9uvoeQH8LrWL-O9h8Yc,2207
21
21
  plain/cli/packages.py,sha256=69VH1bIi1-5N5l2jlBcR5EP0pt-v16sPar9arO3gCSE,2052
22
22
  plain/cli/print.py,sha256=XraUYrgODOJquIiEv78wSCYGRBplHXtXSS9QtFG5hqY,217
@@ -162,8 +162,8 @@ plain/views/objects.py,sha256=9QBYyb8PgkRirXCQ8-Pms4_yMzP37dfeL30hWRYmtZg,7909
162
162
  plain/views/redirect.py,sha256=KLnlktzK6ZNMTlaEiZpMKQMEP5zeTgGLJ9BIkIJfwBo,1733
163
163
  plain/views/templates.py,sha256=nF9CcdhhjAyp3LB0RrSYnBaHpHzMfPSw719RCdcXk7o,2007
164
164
  plain/wsgi.py,sha256=R6k5FiAElvGDApEbMPTT0MPqSD7n2e2Az5chQqJZU0I,236
165
- plain-0.1.0.dist-info/LICENSE,sha256=Dz4Dapr9r65LuCGJkZzCFbOVcr5hfzFkLRcjXFQq2qU,4327
166
- plain-0.1.0.dist-info/METADATA,sha256=JZuDEpdHB2_XCYUQZL10WQtIS_SH5AHJWz5X56y9Q7I,2716
167
- plain-0.1.0.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
168
- plain-0.1.0.dist-info/entry_points.txt,sha256=7O1RZTmMasKYB73bfqQcTwIhsXo7RjEIKv2WbtTtOIM,39
169
- plain-0.1.0.dist-info/RECORD,,
165
+ plain-0.1.1.dist-info/LICENSE,sha256=Dz4Dapr9r65LuCGJkZzCFbOVcr5hfzFkLRcjXFQq2qU,4327
166
+ plain-0.1.1.dist-info/METADATA,sha256=KHTVVXcJXTiedbik4c5zAqrwDkgPdXvBmaJD56h-VQM,2716
167
+ plain-0.1.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
168
+ plain-0.1.1.dist-info/entry_points.txt,sha256=7O1RZTmMasKYB73bfqQcTwIhsXo7RjEIKv2WbtTtOIM,39
169
+ plain-0.1.1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 1.8.1
2
+ Generator: poetry-core 1.9.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
File without changes