Pyriodic Backend, The Backend for the Small Web, is published on PyPi
I am very happy to inform that my Python project, Pyriodic Backend, has been published to PyPi, and is for anyone to use with the code available as open source.
Pyriodic Backend on Codeberg
Pyriodic Backend on PyPi
Pyriodic What?
Pyriodic Backend is my idea to create the simplest possible “backend” service for updating static HTML websites with absolutely minimum resources. With Pyriodic Backend, the websites can be updated with changing information, for example the temperature outside, the weather, the CPU load, the battery level. The use-case is static websites running on Raspberry Pi Zeros, old phones, e-waste-level hardware. The interval between the updates of particular tags can be defined in increments of one minute, with one minute being the default.
To run PB on the server, the only requirements are python3 and cron. Pyriodic Backend is able to update purely HTML websites, no JS or any other magic required, just tags with ids.
As an example, I am using it to update my solar-powered website with temperature and CPU information.
(As it is basically winter right now where I live, with long and cold nights, the site is usually down during the night).
The installation and setup instructions are all in the README file in the repo and the PyPi page, and I hope they are sufficient to get you started.
Publishing to PyPi
The code is open source under the GPLv3 license, and hosted at Codeberg.org. For now the deployment to PyPi is being done manually, but I am considering using Woodpecker CI to put it into Actions.
As with my previous PyPi project, zambretti-py, I have been using this tutorial to go through the deployment process. Everything went smoothly, even smoother than for the first time.
Future Roadmap and contributions
The future roadmap for Pyriodic Backend for now includes adding more possible ways to track the function execution, I am thinking of adding Redis or other DB support. But I don’t want to overload the project with too many features, it’s meant to be simple and functional.
I am very much open to any feedback, suggestions for improvement, or code contributions. Create an issue in Codeberg or send me an email :)
The Bottom Line
With Pyriodic Backend I want to contribute to the Small Web that I like so much and try to be an active member of. I hope someone will find it useful and will add it to their webpage. If you do, please send me a link!
Thanks for reading!
If you enjoyed this post, please consider helping me make new projects by supporting me on the following crowdfunding sites: