blob_id stringlengths 40 40 | language stringclasses 1
value | text stringlengths 7 63.2k | index_in_file int64 0 3 |
|---|---|---|---|
d786e89b9d478dcff3c541c89731247075d078c3 | Python | '''
@author: Ken Venner
@contact: ken@venerllc.com
@version: 1.13
Read in a file of wine names and create consistent wine descriptions
from these names.
'''
import kvutil
import kvcsv
import re
import sys
import shutil
# may comment out in the future
import pprint
pp = pprint.PrettyPrinte... | 0 |
d786e89b9d478dcff3c541c89731247075d078c3 | Python | land' : r'\bBenchlands\b',
'Pritchard' : r'\bPitchard\b',
}
# regex search - set the ships as
reShipsAs = re.compile(r'\(ships?\s', re.IGNORECASE)
# the order in which we pull multiple single match attributes
defaultorderlist=[['Tok'], ['Oak'], ['Res'], ['RR'], ['Landslide'], ['Yount'], ['RRR'], ['Son'],... | 1 |
920cd41b18f5cfb45f46c44ed707cebe682d4dd9 | Python | # Software License Agreement (BSD License)
#
# Copyright (c) 2009-2011, Eucalyptus Systems, Inc.
# All rights reserved.
#
# Redistribution and use of this software in source and binary forms, with or
# without modification, are permitted provided that the following conditions
# are met:
#
# Redistributions of source ... | 0 |
920cd41b18f5cfb45f46c44ed707cebe682d4dd9 | Python | str(drive_id))
return ""
def get_parsed_wmic_command_output(self, wmic_command, verbose=False):
'''
Attempts to parse a wmic command using "/format:textvaluelist.xsl" for key value format into a list of
dicts.
:param wmic_command: string representing the remote wmic command ... | 1 |
33867677611ceb757f6973eb70368c9f75f3ce92 | Python | "# system\nimport os\nimport numpy as np\nimport random\nimport copy\nimport time\n\n# ROS\nimport r(...TRUNCATED) | 0 |
33867677611ceb757f6973eb70368c9f75f3ce92 | Python | "cm wide\n\n self.state.grasp_data = grasp_data\n self.visualize_grasp(grasp_data)\n\n(...TRUNCATED) | 1 |
33867677611ceb757f6973eb70368c9f75f3ce92 | Python | "GraspsResult(result)\n\n if not graspFound:\n rospy.loginfo(\"no grasp found, ret(...TRUNCATED) | 2 |
bd179fda18551d4f3d8a4d695a9da38ee607ef1d | Python | "import datetime\nimport json\n\nfrom dateutil import parser\nimport mock\nfrom python_http_client.e(...TRUNCATED) | 0 |
bd179fda18551d4f3d8a4d695a9da38ee607ef1d | Python | "HDR_RPT_POSITIVE\", hdr_record_pos.genomic_report_state_str)\n self.assertEqual(int(hdr_reco(...TRUNCATED) | 1 |
addf92a3d4060fa9464a802a4a4378cf9eeadde4 | Python | "# -*- coding: utf-8 -*-\n# This file is auto-generated, don't edit it. Thanks.\nfrom Tea.model impo(...TRUNCATED) | 0 |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 13