Daemon Skeleton introduction

Posted by 4Aiur on 2013/02/24 in Python |

Daemon Skeleton introduction

Past couple of days, i’ve builded some daemon tools, tired to do the same thing again and again, i think i need a template, to create python project with daemon easy and fast. So created this template Daemon Skeleton.

In this template i used python-daemon as the daemonizer, and did some tweak, add SIGQUIT signal catching in this module, and reformat the source code according to PEP8.

Daemon Skeleton Quick start

Clone the git repository, remove folder .git, create isolated Python environment with virturalenv, install dependencies:

Then, done. You can continue your daemon project now.

Another things for build good Python project

Automation

  • Create your own requirements.txt, when you need

  • Upgrade the packages to latest version

  • create a new source distribution as tarball

  • Deploying your code automatically

  • Testing code

Good Documentation

Related links

Tags: ,

Copyright © 2010-2017 4Aiur All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.

.