<|file_name|>sample.py<|end_file_name|><｜fim▁begin｜>#!/usr/bin/env python
# sample module 
from jira.client import JIRA

def main():
    <|fim_middle|>


# Standard boilerplate to call the main() function. 
if __name__ == '__main__':
    main()<｜fim▁end｜>
    jira = JIRA()
    JIRA(options={'server': 'http://localhost:8100'})
    projects = jira.projects()
    print projects
    for project in projects:
        print project.key