Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Crinita is a Python application for generating static websites like blogs, data catalogues or simple static pages. It directly creates HTML files based on inputs (without requiring to run any script languages on the server-side).
Author: David Salac https://www.github.com/david-salac
Project sites: Crinita
Crinita is a Python application for generating static websites like blogs, data catalogues or simple static pages. It directly creates HTML files based on inputs (without requiring to run any script languages on the server-side).
Generally speaking, Crinita is a static website generator. That is
an application that generates simple HTML files that cover all the
content of sites from all inputs - composed mainly of the
definition of pages, articles, datasets and other entities on websites).
So after running of static websites generator, you have a set of
*.html
files (including index.html) that allows you to browse sites.
There are many advantages of using static websites generator rather than the standard approach using some web frameworks (like PHP, Django). Mainly, the result can be simply deployed to production as you do not need to configure anything on the server-side. There are many ways how to deploy the outcome; the most popular is GitHub pages (technically a free place where to host your static pages). Another significant advantage is the security perspective - it is almost impossible to hack static websites (what a massive difference if you consider how vulnerable are websites running on WordPress or similar technologies). Last but not least advantage is cost-effectiveness - you do not need to use any expensive technologies for hosting (like AWS) or pay directly for these services (like Wix, Medium).
Crinita allows you to generate blog, data catalogues or simple website. It includes advanced features like tags, the possibility to edit meta tags for each entity. Interface for using Crinita is simple, so you can learn it quickly. Installation of Crinita is a simple task as it does not require any system dependencies.
There are some typical use cases when it is beneficial to use Crinita, among the most popular are:
In order to install Crnita, you need to have prepared your Python (in version at least 3.8) environment ready first. There are many manuals on how to install Python on your machine (so there is no reason why to explain it here again).
To install Crinita, you can use your PIP directly with a default package manager (PyPi.org). Just write a command:
pip install crinita
To check if the installation is successful, write in some script:
import crinita as cr
If you do not see any error, it looks good.
The simplest way where to start to generate your own websites is to use the logic of existing ones:
In all these cases, the generating script is in the folder generator. There is also a definition of pages and articles there.
FAQs
Crinita is a Python application for generating static websites like blogs, data catalogues or simple static pages. It directly creates HTML files based on inputs (without requiring to run any script languages on the server-side).
We found that crinita demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.