Skip to content

nullpass/lockfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lock-file Management

  • locker.py - Locker is a Python class that provides lock-file tools for your Python applications. This was based on Gekitsuu's Mutex() and has expanded over the years to meet my various devops/sysadmin needs.
  • locker.sh - A POSIX-compliant command line tool to manage lock files for shell scripts.

Examples and documentation are included in each file.

To Do / To Discuss:

  1. Locker.check(): If the contents of self.file cannot be converted to an integer should we overwrite?
  2. Locker.*: Remove exception trapping.

About

Python and Shell lockfile utilities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published