@@ -1931,6 +1931,49 @@ a library.")
(description "DiskCache is a disk and file backed persistent cache.")
(license license:asl2.0)))
+(define-public python-dotenv
+ (package
+ (name "python-dotenv")
+ (version "0.19.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "python-dotenv" version))
+ (sha256
+ (base32
+ "0wk1kfzbpqk9swvmpa9z3q170ffqql2id4b2dxrkrq58r4mbq8gm"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-sh" ,python-sh)
+ ("python-ipython" ,python-ipython)
+ ("python-pytest" ,python-pytest)
+ ("python-mock" ,python-mock)))
+ (propagated-inputs
+ `(("python-click" ,python-click)))
+ (home-page
+ "https://github.com/theskumar/python-dotenv")
+ (synopsis
+ "Read key-value pairs from a .env file and set them as environment variables")
+ (description
+"Python-dotenv reads key-value pairs from a .env file and can set them as environment
+variables. It facilitates the development of applications following the 12 factors for
+building software-as-a-service apps as detailed by Adam Wiggins:
+@enumerate
+@item One codebase tracked in revision control, many deploys
+@item Explicitly declare and isolate dependencies
+@item Store config in the environment
+@item Treat backing services as attached resources
+@item Strictly separate build and run stages
+@item Execute the app as one or more stateless processes
+@item Export services via port binding
+@item Scale out via the process model
+@item Maximize robustness with fast startup and graceful shutdown
+@item Keep development, staging, and production as similar as possible
+@item Treat logs as event streams
+@item Run admin/management tasks as one-off processes
+@end enumerate")
+ (license license:bsd-4)))
+
(define-public python-bitstruct
(package
(name "python-bitstruct")