single_accessSingle access to run Python script | |
Download |
single_access Ranking & Summary
Advertisement
- License:
- ISC License
- Price:
- FREE
- Publisher Name:
- Imbolc
- Publisher web site:
- http://bitbucket.org/imbolc/
single_access Tags
single_access Description
single_access is a module that provides single access to run Python script.Installation pip install single_accessUsagefrom single_access import single_access, lock@single_accessdef main(): # try to lock this script file ...or@single_access(filename='/tmp/single_access_test.loc')def main(): ...ordef main(): if not lock('/tmp/single_access_test.loc'): return ...Repositoryhttps://bitbucket.org/imbolc/single_accessProduct's homepage
single_access Related Software