Flourish

Latest version: v0.10.3

Safety actively analyzes 666166 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

0.8

* Always apply the MIME type of a file when uploading to S3.
* Speed up previewing a site with dynamic generation by only re-reading
source files that have changed, instead of everything each time.
* Add a [generator for compiling SASS][sass] into CSS.
* Add [generators][cal] for calendar-based index pages.
* Altered the result of `flourish.sources` to be a [`SourceList`][sl]
object rather than a `Flourish` object.
* A substantial and breaking change to how generators are declared in the
`generate.py` file. Previously, Flourish used `URLS` and `SOURCE_URL`, but
now only uses `PATHS`, and how generators are declared has changed. See
the documentation on [adding paths][ap].
* Set Atom feeds to include at most 20 items by default.
* Can use [Sectile][sec] for template assembly. Experimental, so not yet
supported or documented.
* When previewing the site, you can add `?showrecipe` to the URL to see
a "recipe" page detailing the template(s) and context used to generate
the page.
* Change the special behaviour applied to the key `type` to apply to the
key `page_type` to be more explicit as to its meaning.
* Add `--dry-run` option to `flourish upload` to list what would be
uploaded without actually doing so.
* Bug fixes and performance improvements.

[sass]: https://flourish.readthedocs.io/en/latest/api-flourish-generators-sass/
[cal]: https://flourish.readthedocs.io/en/latest/api-flourish-generators-calendar/
[sl]: https://flourish.readthedocs.io/en/latest/api-flourish-sourcelist/
[ap]: https://flourish.readthedocs.io/en/latest/adding-paths/
[sec]: https://pypi.org/project/sectile/

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.