portlock 0.0.5

Creator: railscoder56

Last updated:

0 purchases

portlock 0.0.5 Image
portlock 0.0.5 Images
Add to Cart

Description:

portlock 0.0.5

portlock
A simple library you can use to ensure that only one copy of your script is running at once
Works on *NIX systems, not sure about Windows.
from portlock import ensure_singleton

def main():
ensure_singleton(6000)
# If you reach here, you can ensure that no other proccess
# is running on port 6000
...

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.