Simple flag library for python
Project description
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Flag-0.1.1.tar.gz
(2.4 kB
view hashes)