Skip to content

danielchatfield/flag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flag

A golang inspired simple flag library for python.

Installation

To install flag, simply:

$ pip install flag

Usage

import flag

num_workers = flag.int("workers", 10, "Number of worker threads")


if __name__ == '__main__':
    flag.parse()
    print("Num workers %d" % num_workers)

About

A simple flag library for python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages