This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
celery flower --address=127.0.0.1 --url_prefix=flower --broker=<broker url> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def invalid_cusip(cusip): | |
""" | |
:param cusip: | |
:type cusip: str | |
:return: | |
""" | |
cusip = cusip.upper() | |
if len(cusip) > 9: | |
return 'CUSIP is too long' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import argparse | |
import csv | |
import sys | |
from collections import OrderedDict | |
import simplejson as json | |