Skip to content
/ flag Public
forked from danielchatfield/flag

A simple flag library for python.

License

Notifications You must be signed in to change notification settings

skulos/flag

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 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 %s" % num_workers)

About

A simple flag library for python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%