Complexity

Latest version: v0.9.1

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

Scan your dependencies

Page 2 of 3

0.4.2

++++++++++++++++++

* Make reading of JSON files from `json/` optional.

0.4.1

++++++++++++++++++

* Fix reading of JSON files from `json/`.

0.4

++++++++++++++++++

* Project layout is now::

my_repo/
├── project/ <--------- input
│ ├── assets/
│ │ ├── css/
│ │ ├── js/
│ │ └── img/
│ ├── json/
│ │ └── stuff.json
│ └── templates/
│ ├── base.html
│ ├── index.html
│ └── about.html
└── www/ <---------- output (generated)
├── index.html
├── about/
│ └── index.html
├── css/
├── js/
└── img/

* Assets are copied over to `www/` during site generation.
* If the `www/` directory was previously created, it prompts the user and then
deletes it before site regeneration.
* Templates starting with `base` are not generated as individual pages. They
are meant to be extended in other templates.

0.3

++++++++++++++++++

* Graceful shutdown/restart of dev server.
* Required input and output dir arguments.
* Optional port argument.
* Improved server start/stop messages.
* Major internal refactor.

0.2.1

+++++++++++++++++++

* Fixes to setup.py.

0.2.0

+++++++++++++++++++

* Data from .json files now gets read as template context data.
* Tested (and passing!) on Python 2.6, 2.7, 3.3, PyPy.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.