plain.dev 0.17.0__tar.gz → 0.18.0__tar.gz

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.
Files changed (36) hide show
  1. {plain_dev-0.17.0 → plain_dev-0.18.0}/PKG-INFO +1 -1
  2. plain_dev-0.18.0/plain/dev/entrypoints.py +10 -0
  3. {plain_dev-0.17.0 → plain_dev-0.18.0}/pyproject.toml +1 -1
  4. {plain_dev-0.17.0 → plain_dev-0.18.0}/uv.lock +1 -1
  5. plain_dev-0.17.0/plain/dev/entrypoints.py +0 -9
  6. {plain_dev-0.17.0 → plain_dev-0.18.0}/.gitignore +0 -0
  7. {plain_dev-0.17.0 → plain_dev-0.18.0}/LICENSE +0 -0
  8. {plain_dev-0.17.0 → plain_dev-0.18.0}/README.md +0 -0
  9. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/README.md +0 -0
  10. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/__init__.py +0 -0
  11. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/cli.py +0 -0
  12. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/contribute/__init__.py +0 -0
  13. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/contribute/cli.py +0 -0
  14. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/db/__init__.py +0 -0
  15. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/db/cli.py +0 -0
  16. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/db/container.py +0 -0
  17. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/debug.py +0 -0
  18. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/default_settings.py +0 -0
  19. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/gunicorn_logging.json +0 -0
  20. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/mkcert.py +0 -0
  21. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/pid.py +0 -0
  22. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/poncho/__init__.py +0 -0
  23. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/poncho/color.py +0 -0
  24. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/poncho/compat.py +0 -0
  25. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/poncho/manager.py +0 -0
  26. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/poncho/printer.py +0 -0
  27. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/poncho/process.py +0 -0
  28. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/precommit/__init__.py +0 -0
  29. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/precommit/cli.py +0 -0
  30. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/requests.py +0 -0
  31. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/services.py +0 -0
  32. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/templates/dev/requests.html +0 -0
  33. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/urls.py +0 -0
  34. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/utils.py +0 -0
  35. {plain_dev-0.17.0 → plain_dev-0.18.0}/plain/dev/views.py +0 -0
  36. {plain_dev-0.17.0 → plain_dev-0.18.0}/tests/settings.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plain.dev
3
- Version: 0.17.0
3
+ Version: 0.18.0
4
4
  Summary: Local development tools for Plain.
5
5
  Author-email: Dave Gaeddert <dave.gaeddert@dropseed.dev>
6
6
  License-Expression: BSD-3-Clause
@@ -0,0 +1,10 @@
1
+ import os
2
+
3
+ from dotenv import load_dotenv
4
+
5
+
6
+ def load_dotenv_file():
7
+ if plain_env := os.environ.get("PLAIN_ENV", ""):
8
+ load_dotenv(f".env.{plain_env}")
9
+ else:
10
+ load_dotenv(".env")
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "plain.dev"
3
- version = "0.17.0"
3
+ version = "0.18.0"
4
4
  description = "Local development tools for Plain."
5
5
  authors = [{name = "Dave Gaeddert", email = "dave.gaeddert@dropseed.dev"}]
6
6
  license = "BSD-3-Clause"
@@ -214,7 +214,7 @@ wheels = [
214
214
 
215
215
  [[package]]
216
216
  name = "plain-dev"
217
- version = "0.17.0"
217
+ version = "0.18.0"
218
218
  source = { editable = "." }
219
219
  dependencies = [
220
220
  { name = "click" },
@@ -1,9 +0,0 @@
1
- from dotenv import load_dotenv
2
-
3
-
4
- def load_dotenv_file():
5
- loaded = load_dotenv(".env")
6
- if not loaded:
7
- # In CI-like environments, we may have .env.test committed
8
- # but not .env, so we can help out by loading it here.
9
- load_dotenv(".env.test")
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes