id
stringlengths
17
116
task
stringclasses
1 value
context_length
stringclasses
1 value
documents
listlengths
10
1.02k
question
stringlengths
332
403
question_with_choices
stringlengths
332
403
answer
stringlengths
40
43.3k
answer_raw
stringlengths
42
43.8k
n_chunks_full
int64
10
61.9k
truncated
bool
2 classes
repo
stringlengths
7
54
target_name
stringlengths
1
72
document_id
int64
2.87k
144k
LDU_FT/hyde/fswrap/make_temp
LDU_FT
[ "<BEGIN>\n## `fully_expanded_path`", "Returns the absolutely absolute path. Calls os.(\n normpath, normcase, expandvars and expanduser).\n<END>", "<BEGIN>\n## `depth`", "Returns the number of ancestors of this directory.\n<END>", "<BEGIN>\n## `ancestors`", "Generates the parents until stop or the a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_temp API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_temp API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Creates a temprorary file and writes the `text` into it
"Creates a temprorary file and writes the `text` into it"
43
false
hyde/fswrap
make_temp
27,073
LDU_FT/twneale/visitors/get_method
LDU_FT
[ "<BEGIN>\n## `continues`", "Method decorator signifying that the visitor should not visit the\n current node's children once this method has been invoked.\n<END>", "<BEGIN>\n## `get_methodnames`", "Given a node, generate all names for matching visitor methods.\n<END>", "<BEGIN>\n## `get_method`", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_method API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_method API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Given a particular node, check the visitor instance for methods mathing the computed methodnames (the function is a generator). Note that methods are cached at the class level.
"Given a particular node, check the visitor instance for methods\n mathing the computed methodnames (the function is a generator).\n\n Note that methods are cached at the class level."
19
false
twneale/visitors
get_method
27,074
LDU_FT/NetEaseGame/aircv/find_all_sift
LDU_FT
[ "<BEGIN>\n## `imread`", "Like cv2.imread\n This function will make sure filename exists\n<END>", "<BEGIN>\n## `find_all_template`", "Locate image position with cv2.templateFind", " Use pixel match to find pictures.", " Args:\n im_source(string): 图像、素材\n im_search(string): 需要查找的图片\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_all_sift API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_all_sift API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
使用sift算法进行多个相同元素的查找 Args: im_source(string): 图像、素材 im_search(string): 需要查找的图片 threshold: 阈值,当相识度小于该阈值的时候,就忽略掉 maxcnt: 限制匹配的数量 Returns: A tuple of found [(point, rectangle), ...] A tuple of found [{"point": point, "rectangle": rectangle, "confidence": 0.76}, ...] ...
"使用sift算法进行多个相同元素的查找\n Args:\n im_source(string): 图像、素材\n im_search(string): 需要查找的图片\n threshold: 阈值,当相识度小于该阈值的时候,就忽略掉\n maxcnt: 限制匹配的数量\n\n Returns:\n A tuple of found [(point, rectangle), ...]\n A tuple of found [{\"point\": point, \"rectangle\": rectangle, \"confidence...
16
false
NetEaseGame/aircv
find_all_sift
27,075
LDU_FT/PlatformStories/geojsontools/filter_by_property
LDU_FT
[ "<BEGIN>\n## `join`", "Join geojsons into one. The spatial reference system of the output file is the same\n as the one of the last file in the list.", " Args:\n input_files (list): List of file name strings.\n output_file (str): Output file name.\n<END>", "<BEGIN>\n## `split`", "Spl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_by_property API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_by_property API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Create a file containing only features with specified property value(s) from input_file. Args input_file (str): File name. output_file (str): Output file name. property_name (str): Name of the feature property to filter by. values (list): Value(s) a feature may have for prop...
"Create a file containing only features with specified property value(s) from\n input_file.\n\n Args\n input_file (str): File name.\n output_file (str): Output file name.\n property_name (str): Name of the feature property to filter by.\n values (list): Value(s) a feature may have ...
22
false
PlatformStories/geojsontools
filter_by_property
27,076
LDU_FT/samfoo/vt102/_delete_line
LDU_FT
[ "<BEGIN>\n## `_escape_sequence`", "Handle characters seen when in an escape sequence. Most non-vt52\n commands start with a left-bracket after the escape and then a \n stream of parameters and a command.\n<END>", "<BEGIN>\n## `_end_escape_sequence`", "Handle the end of an escape sequence. The fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _delete_line API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _delete_line API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Deletes count lines, starting at line with cursor. As lines are deleted, lines displayed below cursor move up. Lines added to bottom of screen have spaces with same character attributes as last line moved up.
"Deletes count lines, starting at line with cursor. As lines are \n deleted, lines displayed below cursor move up. Lines added to bottom of\n screen have spaces with same character attributes as last line moved \n up."
55
false
samfoo/vt102
_delete_line
27,077
LDU_FT/sepandhaghighi/pycm/lambda_A_calc
LDU_FT
[ "<BEGIN>\n## `print_report`", "Print Compare report.", " :return: None\n<END>", "<BEGIN>\n## `save_report`", "Save Compare report in .comp (flat file format).", " :param name: filename\n :type name : str\n :param address: flag for address return\n :type address : bool\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lambda_A_calc API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lambda_A_calc API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Calculate Goodman and Kruskal's lambda A. :param classes: confusion matrix classes :type classes : list :param table: confusion matrix table :type table : dict :param P: condition positive :type P : dict :param POP: population :type POP : int :return: Goodman and Kruskal's lambda A ...
"Calculate Goodman and Kruskal's lambda A.\n\n :param classes: confusion matrix classes\n :type classes : list\n :param table: confusion matrix table\n :type table : dict\n :param P: condition positive\n :type P : dict\n :param POP: population\n :type POP : int\n :return: Goodman and Kruskal'...
259
false
sepandhaghighi/pycm
lambda_A_calc
27,078
LDU_FT/artefactual-labs/agentarchives/find_by_id
LDU_FT
[ "<BEGIN>\n## `edit_record`", "Update a record in Archivist's Toolkit using the provided new_record.", " The format of new_record is identical to the format returned by get_resource_component_and_children and related methods.\n This means it's possible, for example, to request a record, modify the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_by_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_by_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Find resource by a specific ID. Results are a dict in the format: { 'id': <resource URI fragment>, 'identifier': <resource identifier>, 'title': <title of the resource>, 'levelOfDescription': <level of description>, } :param str object_ty...
"Find resource by a specific ID.\n\n Results are a dict in the format:\n {\n 'id': <resource URI fragment>,\n 'identifier': <resource identifier>,\n 'title': <title of the resource>,\n 'levelOfDescription': <level of description>,\n }\n\n :param st...
122
false
artefactual-labs/agentarchives
find_by_id
27,079
LDU_FT/cloudtools/troposphere/inspect_members
LDU_FT
[ "<BEGIN>\n## `main`", "Create a ElastiCache Redis Node and EC2 Instance\n<END>", "<BEGIN>\n## `validate_backup_window`", "Validate PreferredBackupWindow for DBInstance\n<END>", "<BEGIN>\n## `validate_maintenance_window`", "Validate PreferredMaintenanceWindow for DBInstance\n<END>", "<BEGIN>\n## `validat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inspect_members API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inspect_members API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Returns the list of all troposphere members we are able to construct
"Returns the list of all troposphere members we are able to\n construct"
74
false
cloudtools/troposphere
inspect_members
27,080
LDU_FT/callowayproject/Calloway/smart_if
LDU_FT
[ "<BEGIN>\n## `get_url`", "Returns the reversed url given a string or dict and prints errors if MENU_DEBUG is enabled\n<END>", "<BEGIN>\n## `smart_if`", "A smarter {% if %} tag for django templates.", " While retaining current Django functionality, it also handles equality,\n greater than and less than...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the smart_if API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the smart_if API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
A smarter {% if %} tag for django templates. While retaining current Django functionality, it also handles equality, greater than and less than operators. Some common case examples:: {% if articles|length >= 5 %}...{% endif %} {% if "ifnotequal tag" != "beautiful" %}...{% endif %} Argumen...
"A smarter {% if %} tag for django templates.\n\n While retaining current Django functionality, it also handles equality,\n greater than and less than operators. Some common case examples::\n\n {% if articles|length >= 5 %}...{% endif %}\n {% if \"ifnotequal tag\" != \"beautiful\" %}...{% endif %}\n...
58
false
callowayproject/Calloway
smart_if
27,081
LDU_FT/timothyb0912/pylogit/fit_mle
LDU_FT
[ "<BEGIN>\n## `get_dataframe_from_data`", "Parameters\n ----------\n data : string or pandas dataframe.\n If string, data should be an absolute or relative path to a CSV file\n containing the long format data for this choice model. Note long format\n has one row per available alternative...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit_mle API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit_mle API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Parameters ---------- init_vals : 1D ndarray. The initial values to start the optimization process with. There should be one value for each utility coefficient being estimated. print_res : bool, optional. Determines whether the timing and initial and final log...
"Parameters\n ----------\n init_vals : 1D ndarray.\n The initial values to start the optimization process with. There\n should be one value for each utility coefficient being estimated.\n print_res : bool, optional.\n Determines whether the timing and initial and fi...
871
false
timothyb0912/pylogit
fit_mle
27,082
LDU_FT/foxx/python-helpful/extend_instance
LDU_FT
[ "<BEGIN>\n## `unique_iter`", "See http://www.peterbe.com/plog/uniqifiers-benchmark\n Originally f8 written by Dave Kirby\n<END>", "<BEGIN>\n## `ensure_subclass`", "Ensure value is a subclass of types", " >>> class Hello(object): pass\n >>> ensure_subclass(Hello, Hello)\n >>> ensure_subclass(obje...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extend_instance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extend_instance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Apply subclass (mixin) to a class object or its instance By default, the mixin is placed at the start of bases to ensure its called first as per MRO. If you wish to have it injected last, which is useful for monkeypatching, then you can specify 'last=True'. See here: http://stackoverflow.com/a/1001...
"Apply subclass (mixin) to a class object or its instance\n\n By default, the mixin is placed at the start of bases\n to ensure its called first as per MRO. If you wish to\n have it injected last, which is useful for monkeypatching,\n then you can specify 'last=True'. See here:\n http://stackoverflow.com...
57
false
foxx/python-helpful
extend_instance
27,083
LDU_FT/sbarham/dsrt/devectorize_utterance_ohe
LDU_FT
[ "<BEGIN>\n## `predict`", "Take in an integer-vectorized (i.e., index) vector, and predict the maximally\n likely response, returning it as an integer-vectorized (i.e., index) vector.\n<END>", "<BEGIN>\n## `pad_dialogues`", "Pad the entire dataset.\n This involves adding padding at the end of eac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the devectorize_utterance_ohe API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the devectorize_utterance_ohe API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Take in a sequence of one-hot vectors and transform it into a tokenized utterance
"Take in a sequence of one-hot vectors and transform it into a tokenized utterance"
77
false
sbarham/dsrt
devectorize_utterance_ohe
27,084
LDU_FT/jaraco/path.py/relpath
LDU_FT
[ "<BEGIN>\n## `load`", "If the supplied parameter is a string, assum it's a simple\n pattern.\n<END>", "<BEGIN>\n## `simple_cache`", "Save results for the :meth:'path.using_module' classmethod.\n When Python 3.2 is available, use functools.lru_cache instead.\n<END>", "<BEGIN>\n## `only_newer`", "Wrap...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the relpath API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the relpath API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Return this path as a relative path, based from `start`, which defaults to the current working directory.
"Return this path as a relative path,\n based from `start`, which defaults to the current working directory."
158
false
jaraco/path.py
relpath
27,085
LDU_FT/hanguokai/youku/searche_top_category
LDU_FT
[ "<BEGIN>\n## `check_error`", "Youku error should return in json form, like:\n HTTP 400\n {\n \"error\":{\n \"code\":120010223,\n \"type\":\"UploadsException\",\n \"description\":\"Expired upload token\"\n }\n }", " But error also maybe in response url p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the searche_top_category API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the searche_top_category API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
doc: http://open.youku.com/docs/doc?id=95
"doc: http://open.youku.com/docs/doc?id=95"
120
false
hanguokai/youku
searche_top_category
27,086
LDU_FT/jerith/txTwitter/set_str_param
LDU_FT
[ "<BEGIN>\n## `set_bool_param`", "Set a boolean parameter if applicable.", " :param dict params: A dict containing API call parameters.", " :param str name: The name of the parameter to set.", " :param bool value:\n The value of the parameter. If ``None``, the field will not be set. If\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_str_param API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_str_param API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Set a string parameter if applicable. :param dict params: A dict containing API call parameters. :param str name: The name of the parameter to set. :param value: The value of the parameter. If ``None``, the field will not be set. If an instance of ``str``, the relevant field will be set. ...
"Set a string parameter if applicable.\n\n :param dict params: A dict containing API call parameters.\n\n :param str name: The name of the parameter to set.\n\n :param value:\n The value of the parameter. If ``None``, the field will not be set. If\n an instance of ``str``, the relevant field will...
169
false
jerith/txTwitter
set_str_param
27,087
LDU_FT/ladybug-tools/ladybug/save
LDU_FT
[ "<BEGIN>\n## `project`", "Return one vector projected on the vector other\n<END>", "<BEGIN>\n## `rotate_around`", "Return the vector rotated around axis through angle theta.", " Right hand rule applies.\n<END>", "<BEGIN>\n## `to_ip`", "Return values in IP and the units to which the values have be...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Save epw object as an epw file. args: file_path: A string representing the path to write the epw file to.
"Save epw object as an epw file.\n\n args:\n file_path: A string representing the path to write the epw file to."
743
false
ladybug-tools/ladybug
save
27,088
LDU_FT/fozzle/python-brotherprint/print_start_command
LDU_FT
[ "<BEGIN>\n## `initialize`", "Calling this function initializes the printer.", " Args:\n None\n Returns:\n None\n Raises:\n None\n<END>", "<BEGIN>\n## `select_charset`", "Select international character set and changes codes in code table accordingly", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_start_command API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_start_command API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Set print command Args: command: the type of command you desire. Returns: None Raises: RuntimeError: Command too long.
"Set print command\n \n Args:\n command: the type of command you desire.\n Returns:\n None\n Raises:\n RuntimeError: Command too long."
113
false
fozzle/python-brotherprint
print_start_command
27,089
LDU_FT/inspirehep/refextract/repair_broken_urls
LDU_FT
[ "<BEGIN>\n## `process_reference_line`", "After the phase of identifying and tagging citation instances\n in a reference line, this function is called to go through the\n line and the collected information about the recognised citations,\n and to transform the line into a string of MARC XML in wh...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the repair_broken_urls API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the repair_broken_urls API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Attempt to repair broken URLs in a line of text. E.g.: remove spaces from the middle of a URL; something like that. @param line: (string) the line in which to check for broken URLs. @return: (string) the line after any broken URLs have been repaired.
"Attempt to repair broken URLs in a line of text.\n\n E.g.: remove spaces from the middle of a URL; something like that.\n\n @param line: (string) the line in which to check for broken URLs.\n @return: (string) the line after any broken URLs have been repaired."
301
false
inspirehep/refextract
repair_broken_urls
27,090
LDU_FT/ucbvislab/radiotool/fade_out
LDU_FT
[ "<BEGIN>\n## `analysis`", "Get musical analysis of the song using the librosa library\n<END>", "<BEGIN>\n## `read_frames`", "Read ``n`` frames from the track, starting\n with the current frame", " :param integer n: Number of frames to read\n :param integer channels: Number of channels t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fade_out API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fade_out API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Adds a fade out to a segment in the composition :param segment: Segment to fade out :type segment: :py:class:`radiotool.composer.Segment` :param duration: Duration of fade-out (in seconds) :type duration: float :returns: The fade that has been added to the composition :r...
"Adds a fade out to a segment in the composition\n\n :param segment: Segment to fade out\n :type segment: :py:class:`radiotool.composer.Segment`\n :param duration: Duration of fade-out (in seconds)\n :type duration: float\n :returns: The fade that has been added to the composition\n ...
107
false
ucbvislab/radiotool
fade_out
27,091
LDU_FT/linkedin/Zopkio/get_host
LDU_FT
[ "<BEGIN>\n## `make_machine_mapping`", "Convert the machine list argument from a list of names into a mapping of logical names to\n physical hosts. This is similar to the _parse_configs function but separated to provide the\n opportunity for extension and additional checking of machine access\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_host API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_host API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Gets the host of the process with `unique_id`. If the deployer does not know of a process with `unique_id` then it should return a value of SOME_SENTINAL_VALUE :Parameter unique_id: the name of the process :raises NameError if the name is not valid process
"Gets the host of the process with `unique_id`. If the deployer does not know of a process\n with `unique_id` then it should return a value of SOME_SENTINAL_VALUE\n\n :Parameter unique_id: the name of the process\n :raises NameError if the name is not valid process"
85
false
linkedin/Zopkio
get_host
27,092
LDU_FT/swistakm/graceful/describe
LDU_FT
[ "<BEGIN>\n## `authentication_required`", "Ensure that user is authenticated otherwise return ``401 Unauthorized``.", " If request fails to authenticate this authorization hook will also\n include list of ``WWW-Athenticate`` challenges.", " Args:\n req (falcon.Request): the request object.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the describe API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the describe API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Describe this field instance for purpose of self-documentation. Args: kwargs (dict): dictionary of additional description items for extending default description Returns: dict: dictionary of description items Suggested way for overriding description fie...
"Describe this field instance for purpose of self-documentation.\n\n Args:\n kwargs (dict): dictionary of additional description items for\n extending default description\n\n Returns:\n dict: dictionary of description items\n\n Suggested way for overriding descr...
209
false
swistakm/graceful
describe
27,093
LDU_FT/priestc/moneywagon/extract_crypto_data
LDU_FT
[ "<BEGIN>\n## `supported_currencies`", "Returns a list of all currencies that are supported by the passed in project.\n and support level. Support level can be: \"block\", \"transaction\", \"address\"\n or \"full\".\n<END>", "<BEGIN>\n## `not_supported_currencies`", "Returns a list of all currenc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_crypto_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_crypto_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
github_path can must be path on github, such as "bitcoin/bitcoin" or "litecoin-project/litecoin"
"github_path can must be path on github, such as\n \"bitcoin/bitcoin\" or \"litecoin-project/litecoin\""
135
false
priestc/moneywagon
extract_crypto_data
27,094
LDU_FT/lra/mackup/error
LDU_FT
[ "<BEGIN>\n## `getFilepaths`", "Get home and mackup filepaths for given file", " Args:\n filename (str)", " Returns:\n home_filepath, mackup_filepath (str, str)\n<END>", "<BEGIN>\n## `backup`", "Backup the application config files.", " Algorithm:\n if...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the error API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the error API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Throw an error with the given message and immediately quit. Args: message(str): The message to display.
"Throw an error with the given message and immediately quit.\n\n Args:\n message(str): The message to display."
116
false
lra/mackup
error
27,095
LDU_FT/astroswego/plotypus/make_predictor
LDU_FT
[ "<BEGIN>\n## `Lomb_Scargle`", "Returns the period of *data* according to the\n `Lomb-Scargle periodogram <https://en.wikipedia.org/wiki/Least-squares_spectral_analysis#The_Lomb.E2.80.93Scargle_periodogram>`_.", " **Parameters**", " data : array-like, shape = [n_samples, 2] or [n_samples, 3]\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_predictor API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_predictor API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
make_predictor(regressor=LassoLarsIC(fit_intercept=False), Selector=GridSearchCV, fourier_degree=(2, 25), selector_processes=1, use_baart=False, scoring='r2', scoring_cv=3, **kwargs) Makes a predictor object for use in :func:`get_lightcurve`. **Parameters** regressor : object with "fit" and "transform" m...
"make_predictor(regressor=LassoLarsIC(fit_intercept=False), Selector=GridSearchCV, fourier_degree=(2, 25), selector_processes=1, use_baart=False, scoring='r2', scoring_cv=3, **kwargs)\n\n Makes a predictor object for use in :func:`get_lightcurve`.\n\n **Parameters**\n\n regressor : object with \"fit\" and \"tr...
152
false
astroswego/plotypus
make_predictor
27,096
LDU_FT/alertot/detectem/get_plugins
LDU_FT
[ "<BEGIN>\n## `get_detection_results`", "Return results from detector.", " This function prepares the environment loading the plugins,\n getting the response and passing it to the detector.", " In case of errors, it raises exceptions to be handled externally.\n<END>", "<BEGIN>\n## `get_plugins`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_plugins API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_plugins API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Return the registered plugins. Load and return all registered plugins.
"Return the registered plugins.\n\n Load and return all registered plugins."
48
false
alertot/detectem
get_plugins
27,097
LDU_FT/carter-j-h/iterable-python-wrapper/export_data_json
LDU_FT
[ "<BEGIN>\n## `api_call`", "This is our generic api call function. We will route all calls except\n\t\trequests that do not return JSON ('Export' and 'Experiment Metrics' are\n\t\texamples where this is the case). This is beneficial because:\n\t\t\t1. Allows for easier debugging if a request fails\n\t\t\t2. Curr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_data_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_data_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Custom Keyword arguments: 1. return_response_object: if set to 'True', the 'r' response object will be returned. The benefit of this is that you can manipulate the data in any way you want. If set to false, we will write the response to a file where each Iterable activity you're exporting is a single-l...
"Custom Keyword arguments:\n\n\t\t1. return_response_object:\n\t\t\tif set to 'True', the 'r' response object will be returned. The\n\t\t\tbenefit of this is that you can manipulate the data in any way you\n\t\t\twant. If set to false, we will write the response to a file where each\n\t\t\tIterable activity you're ex...
25
false
carter-j-h/iterable-python-wrapper
export_data_json
27,098
LDU_FT/inspirehep/refextract/format_author_ed
LDU_FT
[ "<BEGIN>\n## `process_reference_line`", "After the phase of identifying and tagging citation instances\n in a reference line, this function is called to go through the\n line and the collected information about the recognised citations,\n and to transform the line into a string of MARC XML in wh...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_author_ed API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_author_ed API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Standardise to (ed.) and (eds.) e.g. Remove extra space in (ed. )
"Standardise to (ed.) and (eds.)\n\n e.g. Remove extra space in (ed. )"
301
false
inspirehep/refextract
format_author_ed
27,099
LDU_FT/hellock/icrawler/register_func
LDU_FT
[ "<BEGIN>\n## `to_dict`", "convert detailed proxy info into a dict", " Returns:\n dict: A dict with four keys: ``addr``, ``protocol``,\n ``weight`` and ``last_checked``\n<END>", "<BEGIN>\n## `proxy_num`", "Get the number of proxies in the pool", " Args:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_func API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_func API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Register a scan function Args: func_name: The function name of a scan function. func_kwargs: A dict containing arguments of the scan function.
"Register a scan function\n\n Args:\n func_name: The function name of a scan function.\n func_kwargs: A dict containing arguments of the scan function."
105
false
hellock/icrawler
register_func
27,100
LDU_FT/a1ezzz/wasp-general/remove_file
LDU_FT
[ "<BEGIN>\n## `connect`", ":meth:`.WNetworkClientProto.connect` method implementation\n<END>", "<BEGIN>\n## `scheme_specification`", ":meth:`.WSchemeHandler.scheme_specification` method implementation\n<END>", "<BEGIN>\n## `upload_file`", ":meth:`.WNetworkClientProto.upload_file` method implementation\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
:meth:`.WNetworkClientProto.remove_file` method implementation
":meth:`.WNetworkClientProto.remove_file` method implementation"
917
false
a1ezzz/wasp-general
remove_file
27,101
LDU_FT/devopshq/crosspm/split_fixed_pattern
LDU_FT
[ "<BEGIN>\n## `usedby_packages`", "Lock packages. Downloader search packages\n<END>", "<BEGIN>\n## `set_duplicated_flag`", "For all package set flag duplicated, if it's not unique package\n :return:\n<END>", "<BEGIN>\n## `get_object_from_string`", "Return python object from string\n :param object...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_fixed_pattern API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_fixed_pattern API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Split path into fixed and masked parts :param path: e.g https://repo.example.com/artifactory/libs-cpp-release.snapshot/boost/1.60-pm/*.*.*/vc110/x86/win/boost.*.*.*.tar.gz :return: _path_fixed: https://repo.example.com/artifactory/libs-cpp-release.snapshot/boost/1.60-pm/ ...
"Split path into fixed and masked parts\n :param path: e.g\n https://repo.example.com/artifactory/libs-cpp-release.snapshot/boost/1.60-pm/*.*.*/vc110/x86/win/boost.*.*.*.tar.gz\n :return:\n _path_fixed: https://repo.example.com/artifactory/libs-cpp-release.snapshot/boost/1.60-pm/\n ...
36
false
devopshq/crosspm
split_fixed_pattern
27,102
LDU_FT/PyThaiNLP/pythainlp/collate
LDU_FT
[ "<BEGIN>\n## `spell`", ":param str word: word to check spelling\n :param str engine:\n * pn - Peter Norvig's algorithm (default)\n :return: list of words\n<END>", "<BEGIN>\n## `get_corpus`", "Read corpus from file and return a frozenset", " :param string filename: file corpus\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
:param list data: a list of strings to be sorted :param bool reverse: reverse flag, set to get the result in descending order :return: a list of strings, sorted alphabetically, according to Thai rules **Example**:: >>> from pythainlp.util import * >>> collate(['ไก่', 'เป็ด', 'หมู', 'วัว']) ...
":param list data: a list of strings to be sorted\n :param bool reverse: reverse flag, set to get the result in descending order\n :return: a list of strings, sorted alphabetically, according to Thai rules\n **Example**::\n >>> from pythainlp.util import *\n >>> collate(['ไก่', 'เป็ด', 'หมู', 'วั...
190
false
PyThaiNLP/pythainlp
collate
27,103
LDU_FT/pytorch/tnt/resample
LDU_FT
[ "<BEGIN>\n## `add`", "Computes the confusion matrix of K x K size where K is no of classes", " Args:\n predicted (tensor): Can be an N x K tensor of predicted scores obtained from\n the model for N examples and K classes or an N-tensor of\n integer values between ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resample API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resample API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Resample the dataset. Args: seed (int, optional): Seed for resampling. By default no seed is used.
"Resample the dataset.\n\n Args:\n seed (int, optional): Seed for resampling. By default no seed is\n used."
32
false
pytorch/tnt
resample
27,104
LDU_FT/aws/sagemaker-containers/start_sync
LDU_FT
[ "<BEGIN>\n## `_orted_process`", "Waits maximum of 5 minutes for orted process to start\n<END>", "<BEGIN>\n## `_can_connect`", "Checks if the connection to provided ``host`` and ``port`` is possible or not.\n Args:\n host (str): Hostname for the host to check connection.\n port (int):...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_sync API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_sync API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Starts intermediate folder sync which copies files from 'opt/ml/output/intermediate' directory to the provided s3 output location as files created or modified. If files are deleted it doesn't delete them from s3. It starts intermediate folder behavior as a daemonic process and only if the directory doe...
"Starts intermediate folder sync which copies files from 'opt/ml/output/intermediate'\n directory to the provided s3 output location as files created or modified.\n If files are deleted it doesn't delete them from s3.\n\n It starts intermediate folder behavior as a daemonic process and\n only if the directo...
200
false
aws/sagemaker-containers
start_sync
27,105
LDU_FT/user-cont/conu/skopeo_push
LDU_FT
[ "<BEGIN>\n## `clean`", "remove the directory we operated on", " :return: None\n<END>", "<BEGIN>\n## `initialize`", "create the directory if needed and configure it", " :return: None\n<END>", "<BEGIN>\n## `_set_selinux_context`", "Set SELinux context or fields using chcon program. Raises ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the skopeo_push API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the skopeo_push API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Push image from Docker daemon to Docker using skopeo :param repository: repository to be pushed to :param tag: tag :return: pushed image
"Push image from Docker daemon to Docker using skopeo\n\n :param repository: repository to be pushed to\n :param tag: tag\n :return: pushed image"
487
false
user-cont/conu
skopeo_push
27,106
LDU_FT/sternoru/goscalecms/theme_lookup
LDU_FT
[ "<BEGIN>\n## `dict`", "Returns dictionary of post fields and attributes\n<END>", "<BEGIN>\n## `get_posts`", "This method returns list of Posts for this Data Source starting at a given offset and not more than limit\n It will call content-specific methods:\n _format() to format output from t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the theme_lookup API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the theme_lookup API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Returns theme based on site Returns None and sets settings.THEME if able to find a theme object by site. Otherwise, returns False.
"Returns theme based on site\n\n Returns None and sets settings.THEME if able to find a theme object by site.\n\n Otherwise, returns False."
54
false
sternoru/goscalecms
theme_lookup
27,107
LDU_FT/Microsoft/nni/update_search_space
LDU_FT
[ "<BEGIN>\n## `get_pre_compute`", ":param s: [src_sequence, batch_size, src_dim]\n :return: [src_sequence, batch_size. hidden_dim]\n<END>", "<BEGIN>\n## `get_prob`", ":param s: [src_sequence_length, batch_size, src_dim]\n :param h: [batch_size, tgt_dim] or [tgt_sequence_length, batch_size, tgt_di...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_search_space API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_search_space API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
TODO: this is urgly, we put all the initialization work in this method, because initialization relies on search space, also because update_search_space is called at the beginning. NOTE: updating search space is not supported. Parameters ---------- search_space: searc...
"TODO: this is urgly, we put all the initialization work in this method, because initialization relies\n on search space, also because update_search_space is called at the beginning.\n NOTE: updating search space is not supported.\n\n Parameters\n ----------\n search_space:\n ...
587
false
Microsoft/nni
update_search_space
27,108
LDU_FT/PMEAL/porespy/cylinders
LDU_FT
[ "<BEGIN>\n## `show_mesh`", "r\"\"\"\n Visualizes the mesh of a region as obtained by ``get_mesh`` function in\n the ``metrics`` submodule.", " Parameters\n ----------\n mesh : tuple\n A mesh returned by ``skimage.measure.marching_cubes``", " Returns\n -------\n fig : Matplotlib ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cylinders API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cylinders API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
r""" Generates a binary image of overlapping cylinders. This is a good approximation of a fibrous mat. Parameters ---------- shape : list The size of the image to generate in [Nx, Ny, Nz] where N is the number of voxels. 2D images are not permitted. radius : scalar The ...
"r\"\"\"\n Generates a binary image of overlapping cylinders. This is a good\n approximation of a fibrous mat.\n\n Parameters\n ----------\n shape : list\n The size of the image to generate in [Nx, Ny, Nz] where N is the\n number of voxels. 2D images are not permitted.\n radius : scalar...
688
false
PMEAL/porespy
cylinders
27,109
LDU_FT/pudo/normality/guess_path_encoding
LDU_FT
[ "<BEGIN>\n## `_safe_name`", "Convert the file name to ASCII and normalize the string.\n<END>", "<BEGIN>\n## `safe_filename`", "Create a secure filename for plain file system storage.\n<END>", "<BEGIN>\n## `stringify`", "Brute-force convert a given object to a string.", " This will attempt an increasi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the guess_path_encoding API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the guess_path_encoding API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Wrapper to open that damn file for you, lazy bastard.
"Wrapper to open that damn file for you, lazy bastard."
33
false
pudo/normality
guess_path_encoding
27,110
LDU_FT/ajk8/microcache/clear
LDU_FT
[ "<BEGIN>\n## `init_logging`", "Setup logging for the microcache module, but only do it once!", " :param stream: stream to log to (defaults to sys.stderr)\n :param filepath: path to a file to log to as well (defaults to None)\n :param format: override the default format with whatever you like\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clear API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clear API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Clear a cache entry, or the entire cache if no key is given Returns CACHE_DISABLED if the cache is disabled Returns True on successful operation :param key: optional key to limit the clear operation to (defaults to None)
"Clear a cache entry, or the entire cache if no key is given\n\n Returns CACHE_DISABLED if the cache is disabled\n Returns True on successful operation\n\n :param key: optional key to limit the clear operation to (defaults to None)"
35
false
ajk8/microcache
clear
27,111
LDU_FT/python-gitlab/python-gitlab/unapprove
LDU_FT
[ "<BEGIN>\n## `on_http_error`", "Manage GitlabHttpError exceptions.", " This decorator function can be used to catch GitlabHttpError exceptions\n raise specialized exceptions instead.", " Args:\n error(Exception): The exception type to raise -- must inherit from\n GitlabError\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unapprove API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unapprove API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Unapprove the merge request. Args: **kwargs: Extra options to send to the server (e.g. sudo) Raises: GitlabAuthenticationError: If authentication is not correct GitlabMRApprovalError: If the unapproval failed
"Unapprove the merge request.\n\n Args:\n **kwargs: Extra options to send to the server (e.g. sudo)\n\n Raises:\n GitlabAuthenticationError: If authentication is not correct\n GitlabMRApprovalError: If the unapproval failed"
508
false
python-gitlab/python-gitlab
unapprove
27,112
LDU_FT/CZ-NIC/python-rt/reply
LDU_FT
[ "<BEGIN>\n## `__request`", "General request for :term:`API`.", " :keyword selector: End part of URL which completes self.url parameter\n set during class initialization.\n E.g.: ``ticket/123456/show``\n :keyword post_data: Dictionary with POST me...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reply API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reply API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Sends email message to the contacts in ``Requestors`` field of given ticket with subject as is set in ``Subject`` field. Form of message according to documentation:: id: <ticket-id> Action: correspond Text: the text comment second line starts with ...
"Sends email message to the contacts in ``Requestors`` field of\n given ticket with subject as is set in ``Subject`` field.\n\n Form of message according to documentation::\n\n id: <ticket-id>\n Action: correspond\n Text: the text comment\n second line sta...
143
false
CZ-NIC/python-rt
reply
27,113
LDU_FT/jrief/djangocms-cascade/get_picture_elements
LDU_FT
[ "<BEGIN>\n## `_enrich_link`", "Enrich the dict glossary['link'] with an identifier onto the model\n<END>", "<BEGIN>\n## `get_form`", "Extend the form for the given plugin with the form SharableCascadeForm\n<END>", "<BEGIN>\n## `get_picture_elements`", "Create a context, used to render a <picture> together...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_picture_elements API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_picture_elements API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Create a context, used to render a <picture> together with all its ``<source>`` elements: It returns a list of HTML elements, each containing the information to render a ``<source>`` element. The purpose of this HTML entity is to display images with art directions. For normal images use the ``<img>`` el...
"Create a context, used to render a <picture> together with all its ``<source>`` elements:\n It returns a list of HTML elements, each containing the information to render a ``<source>``\n element.\n The purpose of this HTML entity is to display images with art directions. For normal images use\n the ``<img>...
78
false
jrief/djangocms-cascade
get_picture_elements
27,114
LDU_FT/RonenNess/Fileter/add_filter_by_pattern
LDU_FT
[ "<BEGIN>\n## `push_header`", "Push the header to a given filename\n :param filename: the file path to push into.\n<END>", "<BEGIN>\n## `add_folder`", "Add a folder source to scan recursively from path (string).", " :param path: folder path.\n :param depth: if provided will be depth limi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_filter_by_pattern API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_filter_by_pattern API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Add a files filter by linux-style pattern to this iterator. :param pattern: linux-style files pattern (or list of patterns)
"Add a files filter by linux-style pattern to this iterator.\n\n :param pattern: linux-style files pattern (or list of patterns)"
36
false
RonenNess/Fileter
add_filter_by_pattern
27,115
LDU_FT/nanoporetech/ont_fast5_api/add_channel_info
LDU_FT
[ "<BEGIN>\n## `_clean`", "Convert numpy numeric types to their python equivalents.\n<END>", "<BEGIN>\n## `get_prior_alignment`", "Return the prior alignment that was used for 2D basecalling.", " :return: Alignment data table.\n<END>", "<BEGIN>\n## `get_2d_call_alignment`", "Return the alignment an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_channel_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_channel_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Add channel info data to the channel_id group. :param data: A dictionary of key/value pairs. Keys must be strings. Values can be strings or numeric values. :param clear: If set, any existing channel info data will be removed.
"Add channel info data to the channel_id group.\n\n :param data: A dictionary of key/value pairs. Keys must be strings.\n Values can be strings or numeric values.\n :param clear: If set, any existing channel info data will be removed."
159
false
nanoporetech/ont_fast5_api
add_channel_info
27,116
LDU_FT/miguelgrinberg/climax/argument
LDU_FT
[ "<BEGIN>\n## `command`", "Decorator to define a command.", " The arguments to this decorator are those of the\n `ArgumentParser <https://docs.python.org/3/library/argparse.html\\\n#argumentparser-objects>`_\n object constructor.\n<END>", "<BEGIN>\n## `_subcommand`", "Decorator to define a subcomman...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the argument API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the argument API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Decorator to define an argparse option or argument. The arguments to this decorator are the same as the `ArgumentParser.add_argument <https://docs.python.org/3/library/\ argparse.html#the-add-argument-method>`_ method.
"Decorator to define an argparse option or argument.\n\n The arguments to this decorator are the same as the\n `ArgumentParser.add_argument <https://docs.python.org/3/library/\\\nargparse.html#the-add-argument-method>`_\n method."
18
false
miguelgrinberg/climax
argument
27,117
LDU_FT/alaudet/hcsr04sensor/main
LDU_FT
[ "<BEGIN>\n## `basic_distance`", "Return an unformatted distance in cm's as read directly from\n RPi.GPIO.\n<END>", "<BEGIN>\n## `raw_distance`", "Return an error corrected unrounded distance, in cm, of an object \n adjusted for temperature in Celcius. The distance calculated\n is the median ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Calculate the depth of a liquid in inches using a HCSR04 sensor and a Raspberry Pi
"Calculate the depth of a liquid in inches using a HCSR04 sensor\n and a Raspberry Pi"
20
false
alaudet/hcsr04sensor
main
27,118
LDU_FT/seb-m/pyinotify/process_IN_MOVED_FROM
LDU_FT
[ "<BEGIN>\n## `compatibility_mode`", "Use this function to turn on the compatibility mode. The compatibility\n mode is used to improve compatibility with Pyinotify 0.7.1 (or older)\n programs. The compatibility mode provides additional variables 'is_dir',\n 'event_name', 'EventsCodes.IN_*' and 'EventsCode...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_IN_MOVED_FROM API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_IN_MOVED_FROM API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Map the cookie with the source path (+ date for cleaning).
"Map the cookie with the source path (+ date for cleaning)."
107
false
seb-m/pyinotify
process_IN_MOVED_FROM
27,119
LDU_FT/mnubo/kubernetes-py/get_by_name
LDU_FT
[ "<BEGIN>\n## `run`", "Forces a K8sCronJob to run immediately.", " - Fail if the K8sCronJob is currently running on-schedule.\n - Suspend the K8sCronJob.\n - Spawn a K8sPod.\n - Unsuspend a K8sCronJob.", " :param timeout: The timeout, in seconds, after which to kill the K8sPo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_by_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_by_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Fetches a K8sDeployment by name. :param config: A K8sConfig object. :param name: The name we want. :param name_label: The label key to use for name. :return: A list of K8sDeployment objects.
"Fetches a K8sDeployment by name.\n \n :param config: A K8sConfig object.\n :param name: The name we want.\n :param name_label: The label key to use for name.\n :return: A list of K8sDeployment objects."
53
false
mnubo/kubernetes-py
get_by_name
27,120
LDU_FT/rndusr/torf/size
LDU_FT
[ "<BEGIN>\n## `files`", "Yield relative file paths specified in :attr:`metainfo`", " Each paths starts with :attr:`name`.", " Note that the paths may not exist. See :attr:`filepaths` for existing\n files.\n<END>", "<BEGIN>\n## `filepaths`", "Yield absolute paths to existing files in :a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Total size of content in bytes or ``None`` if :attr:`path` is ``None``
"Total size of content in bytes or ``None`` if :attr:`path` is ``None``"
89
false
rndusr/torf
size
27,121
LDU_FT/CivicSpleen/ambry/dict
LDU_FT
[ "<BEGIN>\n## `_or_join`", "Joins terms using OR operator.", " Args:\n terms (list): terms to join", " Examples:\n self._or_join(['term1', 'term2']) -> 'term1 | term2'", " Returns:\n str\n<END>", "<BEGIN>\n## `search`", "Finds datasets by search phras...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
A dict that holds key/values for all of the properties in the object. :return:
"A dict that holds key/values for all of the properties in the\n object.\n\n :return:"
1,165
true
CivicSpleen/ambry
dict
27,122
LDU_FT/eternnoir/pyTelegramBotAPI/delete_chat_sticker_set
LDU_FT
[ "<BEGIN>\n## `split_string`", "Splits one string into multiple strings, with a maximum amount of `chars_per_string` characters per string.\n This is very useful for splitting one giant message into multiples.", " :param text: The text to split\n :param chars_per_string: The number of characters per lin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_chat_sticker_set API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_chat_sticker_set API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Use this method to delete a group sticker set from a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Use the field can_set_sticker_set optionally returned in getChat requests to check if the bot can use this method. Returns True on su...
"Use this method to delete a group sticker set from a supergroup. The bot must be an administrator in the chat\n for this to work and must have the appropriate admin rights. Use the field can_set_sticker_set\n optionally returned in getChat requests to check if the bot can use this method. Returns True on...
187
false
eternnoir/pyTelegramBotAPI
delete_chat_sticker_set
27,123
LDU_FT/SetBased/py-etlt/_rows_date2int
LDU_FT
[ "<BEGIN>\n## `_split_scheme`", "Splits the scheme and actual expression", " :param str expression: The expression.", " :rtype: str\n<END>", "<BEGIN>\n## `register_scheme`", "Registers a scheme.", " :param str scheme: The scheme.\n :param callable constructor: The SimpleCondit...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _rows_date2int API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _rows_date2int API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Replaces start and end dates in a row set with their integer representation :param list[dict[str,T]] rows: The list of rows.
"Replaces start and end dates in a row set with their integer representation\n\n :param list[dict[str,T]] rows: The list of rows."
155
false
SetBased/py-etlt
_rows_date2int
27,124
LDU_FT/gunthercox/ChatterBot/process
LDU_FT
[ "<BEGIN>\n## `get_response`", "Return the bot's response based on the input.", " :param statement: An statement object or string.\n :returns: A response to the input.\n :rtype: Statement", " :param additional_response_selection_parameters: Parameters to pass to the\n cha...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Takes a statement string. Returns the equation from the statement with the mathematical terms solved.
"Takes a statement string.\n Returns the equation from the statement with the mathematical terms solved."
158
false
gunthercox/ChatterBot
process
27,125
LDU_FT/kurtbrose/pyjks/private_keys
LDU_FT
[ "<BEGIN>\n## `new`", "Helper function to create a new TrustedCertEntry.", " :param str alias: The alias for the Trusted Cert Entry\n :param str certs: The certificate, as a byte string.", " :returns: A loaded :class:`TrustedCertEntry` instance, ready\n to be placed in a keystore....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the private_keys API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the private_keys API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
A subset of the :attr:`entries` dictionary, filtered down to only those entries of type :class:`PrivateKeyEntry`.
"A subset of the :attr:`entries` dictionary, filtered down to only\n those entries of type :class:`PrivateKeyEntry`."
104
false
kurtbrose/pyjks
private_keys
27,126
LDU_FT/edx/pa11ycrawler/parse_item
LDU_FT
[ "<BEGIN>\n## `make_parser`", "Returns an argparse instance for this script.\n<END>", "<BEGIN>\n## `main`", "Validates script arguments and calls the render_html() function with them.\n<END>", "<BEGIN>\n## `wcag_refs`", "Given a `code` from pa11y, return a list of the WCAG references.\n These references...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Get basic information about a page, so that it can be passed to the `pa11y` tool for further testing. @url https://www.google.com/ @returns items 1 1 @returns requests 0 0 @scrapes url request_headers accessed_at page_title
"Get basic information about a page, so that it can be passed to the\n `pa11y` tool for further testing.\n\n @url https://www.google.com/\n @returns items 1 1\n @returns requests 0 0\n @scrapes url request_headers accessed_at page_title"
56
false
edx/pa11ycrawler
parse_item
27,127
LDU_FT/Robpol86/sphinxcontrib-imgur/prune_cache
LDU_FT
[ "<BEGIN>\n## `query_api`", "Query the Imgur API.", " :raise APIError: When Imgur responds with errors or unexpected data.", " :param sphinx.application.Sphinx app: Sphinx application object.\n :param str client_id: Imgur API client ID to use. https://api.imgur.com/oauth2\n :param str imgur_id: The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prune_cache API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prune_cache API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Remove Images and Albums from the cache if they are no longer used. :param dict album_cache: Cache of Imgur albums to update. Keys are Imgur IDs, values are Album instances. :param dict image_cache: Cache of Imgur images to update. Keys are Imgur IDs, values are Image instances. :param sphinx.application.S...
"Remove Images and Albums from the cache if they are no longer used.\n\n :param dict album_cache: Cache of Imgur albums to update. Keys are Imgur IDs, values are Album instances.\n :param dict image_cache: Cache of Imgur images to update. Keys are Imgur IDs, values are Image instances.\n :param sphinx.applicat...
90
false
Robpol86/sphinxcontrib-imgur
prune_cache
27,128
LDU_FT/project-rig/rig/dimensions_wizard
LDU_FT
[ "<BEGIN>\n## `minimise`", "Remove from the routing table any entries which could be replaced by\n default routing.", " Parameters\n ----------\n routing_table : [:py:class:`~rig.routing_table.RoutingTableEntry`, ...]\n Routing table from which to remove entries which could be handled by\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dimensions_wizard API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dimensions_wizard API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
A wizard which attempts to determine the dimensions of a SpiNNaker system. .. warning:: Since SC&MP v2.0.0 it is not necessary to know the dimensions of a SpiNNaker machine in order to boot it. As a result, most applications will no longer require this wizard step. Returns ``{"dim...
"A wizard which attempts to determine the dimensions of a SpiNNaker\n system.\n\n .. warning::\n\n Since SC&MP v2.0.0 it is not necessary to know the dimensions of a\n SpiNNaker machine in order to boot it. As a result, most applications\n will no longer require this wizard step.\n\n Retur...
983
false
project-rig/rig
dimensions_wizard
27,129
LDU_FT/LogicalDash/LiSE/pos_along
LDU_FT
[ "<BEGIN>\n## `on_touch_down`", "If hit, record my starting position, that I may return to it in\n ``on_touch_up`` after creating a real :class:`board.Spot` or\n :class:`board.Pawn` instance.\n<END>", "<BEGIN>\n## `on_touch_up`", "Return to ``pos_start``, but first, save my current ``pos`` into\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pos_along API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pos_along API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Return coordinates for where a Pawn should be if it has travelled along ``pct`` of my length (between 0 and 1). Might get complex when I switch over to using beziers for arrows, but for now this is quite simple, using distance along a line segment.
"Return coordinates for where a Pawn should be if it has travelled\n along ``pct`` of my length (between 0 and 1).\n\n Might get complex when I switch over to using beziers for\n arrows, but for now this is quite simple, using distance along\n a line segment."
660
false
LogicalDash/LiSE
pos_along
27,130
LDU_FT/OpenTreeOfLife/peyotl/suppress_deg_one_node
LDU_FT
[ "<BEGIN>\n## `write_taxon_info`", "Writes out data from `taxon` to the `output` stream to demonstrate\n the attributes of a taxon object.\n (currently some lines are commented out until the web-services call returns more info. See:\n https://github.com/OpenTreeOfLife/taxomachine/issues/85\n ).\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the suppress_deg_one_node API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the suppress_deg_one_node API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Deletes to_par_edge and nd_id. To be used when nd_id is an out-degree= 1 node
"Deletes to_par_edge and nd_id. To be used when nd_id is an out-degree= 1 node"
456
false
OpenTreeOfLife/peyotl
suppress_deg_one_node
27,131
LDU_FT/tango-controls/pytango/DbDeleteAttributeAlias
LDU_FT
[ "<BEGIN>\n## `get_object_executor`", "Returns the proper executor for the given object.", " If the object has *_executors* and *_green_mode* members it returns\n the submit callable for the executor corresponding to the green_mode.\n Otherwise it returns the global executor for the given green_mode.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the DbDeleteAttributeAlias API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the DbDeleteAttributeAlias API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Delete an attribute alias. :param argin: Attriibute alias name. :type: tango.DevString :return: :rtype: tango.DevVoid
"Delete an attribute alias.\n\n :param argin: Attriibute alias name.\n :type: tango.DevString\n :return:\n :rtype: tango.DevVoid"
577
false
tango-controls/pytango
DbDeleteAttributeAlias
27,132
LDU_FT/awickert/gFlex/TeArraySizeCheck
LDU_FT
[ "<BEGIN>\n## `elasprep`", "dx4, dy4, dx2dy2, D = elasprep(dx,dy,Te,E=1E11,nu=0.25)", " Defines the variables that are required to create the 2D finite \n difference solution coefficient matrix\n<END>", "<BEGIN>\n## `BC_selector_and_coeff_matrix_creator`", "Selects the boundary conditions\n E-W is f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the TeArraySizeCheck API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the TeArraySizeCheck API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Checks that Te and q0 array sizes are compatible For finite difference solution.
"Checks that Te and q0 array sizes are compatible\n For finite difference solution."
78
false
awickert/gFlex
TeArraySizeCheck
27,133
LDU_FT/tkf/rash/index_all
LDU_FT
[ "<BEGIN>\n## `concat_expr`", "Concatenate `conditions` with `operator` and wrap it by ().", " It returns a string in a list or empty list, if `conditions` is empty.\n<END>", "<BEGIN>\n## `join`", "Join `source`.", " >>> sc = SQLConstructor('main', ['c1', 'c2'])\n >>> sc.join('sub', 'JOIN'...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the index_all API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the index_all API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Index all records under :attr:`record_path`.
"Index all records under :attr:`record_path`."
142
false
tkf/rash
index_all
27,134
LDU_FT/buildbot/buildbot/warnExtractFromRegexpGroups
LDU_FT
[ "<BEGIN>\n## `parse`", "Parse messages sent by the 'buildbot-cvs-mail' program.\n<END>", "<BEGIN>\n## `parse`", "Parse messages sent by the svn 'commit-email.pl' trigger.\n<END>", "<BEGIN>\n## `parse`", "Parse branch notification messages sent by Launchpad.\n<END>", "<BEGIN>\n## `remote_write`", "Call...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the warnExtractFromRegexpGroups API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the warnExtractFromRegexpGroups API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Extract file name, line number, and warning text as groups (1,2,3) of warningPattern match.
"Extract file name, line number, and warning text as groups (1,2,3)\n of warningPattern match."
518
false
buildbot/buildbot
warnExtractFromRegexpGroups
27,135
LDU_FT/sio2project/filetracker/get_stream
LDU_FT
[ "<BEGIN>\n## `get_file`", "Retrieves file identified by ``name``.", " The file is saved as ``save_to``. If ``add_to_cache`` is ``True``,\n the file is added to the local store. If ``force_refresh`` is\n ``True``, local cache is not examined if a remote store is\n configur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_stream API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_stream API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Retrieves file identified by ``name`` in streaming mode. Works like :meth:`get_file`, except that returns a tuple (file-like object, versioned name). When both remote_store and local_store are present, serve_from_cache can be used to ensure that the file will be downloaded ...
"Retrieves file identified by ``name`` in streaming mode.\n\n Works like :meth:`get_file`, except that returns a tuple\n (file-like object, versioned name).\n\n When both remote_store and local_store are present, serve_from_cache\n can be used to ensure that the file will be down...
84
false
sio2project/filetracker
get_stream
27,136
LDU_FT/bsolomon1124/pyfinance/load_13f
LDU_FT
[ "<BEGIN>\n## `value`", "Compute option value according to BSM model.\n<END>", "<BEGIN>\n## `implied_vol`", "Get implied vol at the specified price using an iterative approach.\r", " There is no closed-form inverse of BSM-value as a function of sigma,\r\n so start at an anchoring volatility lev...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_13f API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_13f API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Load and parse an SEC.gov-hosted 13F XML file to Pandas DataFrame. Provide the URL to the raw .xml form13fInfoTable. (See example below.) Parameters ---------- url : str Link to .xml file. Returns ------- df : pd.DataFrame Holdings snapshot. Example ...
"Load and parse an SEC.gov-hosted 13F XML file to Pandas DataFrame.\r\n\r\n Provide the URL to the raw .xml form13fInfoTable. (See example below.)\r\n\r\n Parameters\r\n ----------\r\n url : str\r\n Link to .xml file.\r\n\r\n Returns\r\n -------\r\n df : pd.DataFrame\r\n Holdings sna...
372
false
bsolomon1124/pyfinance
load_13f
27,137
LDU_FT/NiklasRosenstein/myo-python/init
LDU_FT
[ "<BEGIN>\n## `encode`", "Encodes the number *value* to a MAC address ASCII string in binary form.\n Raises a #ValueError if *value* is a negative number or exceeds the MAC\n address range.\n<END>", "<BEGIN>\n## `decode`", "Decodes an ASCII encoded binary MAC address tring into a number.\n<END>", "<BEGIN>\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Initialize the Myo SDK by loading the libmyo shared library. With no arguments, libmyo must be on your `PATH` or `LD_LIBRARY_PATH`. You can specify the exact path to libmyo with *lib_name*. Alternatively, you can specify the binaries directory that contains libmyo with *bin_path*. Finally, you can also pass th...
"Initialize the Myo SDK by loading the libmyo shared library. With no\n arguments, libmyo must be on your `PATH` or `LD_LIBRARY_PATH`.\n\n You can specify the exact path to libmyo with *lib_name*. Alternatively,\n you can specify the binaries directory that contains libmyo with *bin_path*.\n Finally, you can also p...
44
false
NiklasRosenstein/myo-python
init
27,138
LDU_FT/malramsay64/experi/process_command
LDU_FT
[ "<BEGIN>\n## `parse_setup`", "Convert potentially a list of commands into a single string.", " This creates a single string with newlines between each element of the list\n so that they will all run after each other in a bash script.\n<END>", "<BEGIN>\n## `create_scheduler_file`", "Substitute values i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_command API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_command API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Generate all combinations of commands given a variable matrix. Processes the commands to be sequences of strings.
"Generate all combinations of commands given a variable matrix.\n\n Processes the commands to be sequences of strings."
52
false
malramsay64/experi
process_command
27,139
LDU_FT/ahawker/ulid/encode_randomness
LDU_FT
[ "<BEGIN>\n## `datetime`", "Creates a :class:`~datetime.datetime` instance (assumes UTC) from the Unix time value of the timestamp\n with millisecond precision.", " :return: Timestamp in datetime form.\n :rtype: :class:`~datetime.datetime`\n<END>", "<BEGIN>\n## `new`", "Create a new :cla...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode_randomness API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode_randomness API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Encode the given buffer to a :class:`~str` using Base32 encoding. The given :class:`~bytes` are expected to represent the last 10 bytes of a ULID, which are cryptographically secure random values. .. note:: This uses an optimized strategy from the `NUlid` project for encoding ULID bytes specifical...
"Encode the given buffer to a :class:`~str` using Base32 encoding.\n\n The given :class:`~bytes` are expected to represent the last 10 bytes of a ULID, which\n are cryptographically secure random values.\n\n .. note:: This uses an optimized strategy from the `NUlid` project for encoding ULID\n bytes spe...
72
false
ahawker/ulid
encode_randomness
27,140
LDU_FT/annayqho/TheCannon/_find_contpix_regions
LDU_FT
[ "<BEGIN>\n## `gen_cannon_grad_spec`", "Generate Cannon gradient spectra", " Parameters\n ----------\n labels: default values for [teff, logg, feh, cfe, nfe, afe, ak]\n choose: val of cfe or nfe, whatever you're varying\n low: lowest val of cfe or nfe, whatever you're varying\n high: highest va...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_contpix_regions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_contpix_regions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Find continuum pix in a spectrum split into chunks Parameters ---------- wl: numpy ndarray rest-frame wavelength vector fluxes: numpy ndarray pixel intensities ivars: numpy ndarray inverse variances, parallel to fluxes frac: float fraction of pixels in spectru...
"Find continuum pix in a spectrum split into chunks\n\n Parameters\n ----------\n wl: numpy ndarray\n rest-frame wavelength vector\n\n fluxes: numpy ndarray\n pixel intensities\n\n ivars: numpy ndarray\n inverse variances, parallel to fluxes\n\n frac: float\n fraction of pi...
188
false
annayqho/TheCannon
_find_contpix_regions
27,141
LDU_FT/django-import-export/django-import-export/field_specific_errors
LDU_FT
[ "<BEGIN>\n## `has_import_permission`", "Returns whether a request has import permission.\n<END>", "<BEGIN>\n## `get_import_resource_kwargs`", "Prepares/returns kwargs used when initializing Resource\n<END>", "<BEGIN>\n## `process_import`", "Perform the actual import action (after the user has confirmed th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the field_specific_errors API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the field_specific_errors API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Returns a dictionary of field-specific validation errors for this row.
"Returns a dictionary of field-specific validation errors for this row."
84
false
django-import-export/django-import-export
field_specific_errors
27,142
LDU_FT/hz-inova/run_jnb/is_literal_eval
LDU_FT
[ "<BEGIN>\n## `kwargs_to_variable_assignment`", "Convert a dictionary into a string with assignments", " Each assignment is constructed based on:\n key assignment_operator value_representation(value) statement_separator,\n where key and value are the key and value of the dictionary.\n Moreover one ca...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_literal_eval API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_literal_eval API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Check if an expresion can be literal_eval. ---------- node_or_string : Input Returns ------- tuple (bool,python object) If it can be literal_eval the python object is returned. Otherwise None it is returned. >>> is_literal_eval('[1,2,3]') (True, ...
"Check if an expresion can be literal_eval.\n\n ----------\n node_or_string : \n Input\n\n Returns\n -------\n tuple\n (bool,python object)\n\n \n If it can be literal_eval the python object is returned. Otherwise None it is returned.\n \n >>> is_literal_eval('[1,2,3...
65
false
hz-inova/run_jnb
is_literal_eval
27,143
LDU_FT/danielfrg/s3contents/rename_file
LDU_FT
[ "<BEGIN>\n## `_notebook_model_from_path`", "Build a notebook model from database record.\n<END>", "<BEGIN>\n## `_file_model_from_path`", "Build a file model from database record.\n<END>", "<BEGIN>\n## `_convert_file_records`", "Applies _notebook_model_from_s3_path or _file_model_from_s3_path to each entry...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rename_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rename_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Rename a file or directory. NOTE: This method is unfortunately named on the base class. It actually moves a file or a directory.
"Rename a file or directory.\n\n NOTE: This method is unfortunately named on the base class. It\n actually moves a file or a directory."
13
false
danielfrg/s3contents
rename_file
27,144
LDU_FT/guaix-ucm/numina/refine_peaks
LDU_FT
[ "<BEGIN>\n## `combine`", "Combine HDUList objects using algorithm 'method\n<END>", "<BEGIN>\n## `logging_from_debugplot`", "Set debugging level based on debugplot value.", " Parameters\n ----------\n debugplot : int\n Debugging level for messages and plots. For details see\n '...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refine_peaks API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refine_peaks API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Refine the peak location previously found by find_peaks_indexes Parameters ---------- arr : 1d numpy array, float Input 1D spectrum. ipeaks : 1d numpy array (int) Indices of the input array arr in which the peaks were initially found. window_width : int Width of the window w...
"Refine the peak location previously found by find_peaks_indexes\n\n Parameters\n ----------\n arr : 1d numpy array, float\n Input 1D spectrum.\n ipeaks : 1d numpy array (int)\n Indices of the input array arr in which the peaks were initially found.\n window_width : int\n Width of th...
605
false
guaix-ucm/numina
refine_peaks
27,145
LDU_FT/MultipedRobotics/pyxl320/makePacket
LDU_FT
[ "<BEGIN>\n## `makeServoIDPacket`", "Given the current ID, returns a packet to set the servo to a new ID\n<END>", "<BEGIN>\n## `packetToDict`", "Given a packet, this turns it into a dictionary ... is this useful?", "\tin: packet, array of numbers\n\tout: dictionary (key, value)\n<END>", "<BEGIN>\n## `sweep...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the makePacket API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the makePacket API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
This makes a generic packet. TODO: look a struct ... does that add value using it? 0xFF, 0xFF, 0xFD, 0x00, ID, LEN_L, LEN_H, INST, PARAM 1, PARAM 2, ..., PARAM N, CRC_L, CRC_H] in: ID - servo id instr - instruction reg - register params - instruction parameter values out: packet
"This makes a generic packet.\n\n\tTODO: look a struct ... does that add value using it?\n\n\t0xFF, 0xFF, 0xFD, 0x00, ID, LEN_L, LEN_H, INST, PARAM 1, PARAM 2, ..., PARAM N, CRC_L, CRC_H]\n\tin:\n\t\tID - servo id\n\t\tinstr - instruction\n\t\treg - register\n\t\tparams - instruction parameter values\n\tout: packet"
71
false
MultipedRobotics/pyxl320
makePacket
27,146
LDU_FT/mapbox/mapbox-cli-py/datasets
LDU_FT
[ "<BEGIN>\n## `match`", "Mapbox Map Matching API lets you use snap your GPS traces\nto the OpenStreetMap road and path network.", " $ mapbox mapmatching trace.geojson", "An access token is required, see `mapbox --help`.\n<END>", "<BEGIN>\n## `staticmap`", "Generate static map images from existing Mapb...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the datasets API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the datasets API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Read and write GeoJSON from Mapbox-hosted datasets All endpoints require authentication. An access token with appropriate dataset scopes is required, see `mapbox --help`. Note that this API is currently a limited-access beta.
"Read and write GeoJSON from Mapbox-hosted datasets\n\n All endpoints require authentication. An access token with\n appropriate dataset scopes is required, see `mapbox --help`.\n\n Note that this API is currently a limited-access beta."
81
false
mapbox/mapbox-cli-py
datasets
27,147
LDU_FT/rueckstiess/mtools/ninserted
LDU_FT
[ "<BEGIN>\n## `wait_for_host`", "Ping server and wait for response.", " Ping a mongod or mongos every `interval` seconds until it responds, or\n `timeout` seconds have passed. If `to_start` is set to False, will wait for\n the node to shut down instead. This function can be called as a separate\n thr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ninserted API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ninserted API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Extract ninserted or nInserted counter if available (lazy).
"Extract ninserted or nInserted counter if available (lazy)."
260
false
rueckstiess/mtools
ninserted
27,148
LDU_FT/Projectplace/basepage/handle_at_sign_for_ie
LDU_FT
[ "<BEGIN>\n## `click`", "Click web element.", " :param locator: locator tuple or WebElement instance\n :param params: (optional) locator parameters\n :param timeout: (optional) time to wait for element\n :return: None\n<END>", "<BEGIN>\n## `alt_click`", "Alt-click web element.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_at_sign_for_ie API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_at_sign_for_ie API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Handles typing @ symbols in input fields for internet explorer due to it failing when done normally. :param text: desired string ot text to input :param actions: ActionChains object :return: ActionChains Object
"Handles typing @ symbols in input fields for internet explorer due to it failing when done normally.\n\n :param text: desired string ot text to input\n :param actions: ActionChains object\n :return: ActionChains Object"
138
false
Projectplace/basepage
handle_at_sign_for_ie
27,149
LDU_FT/kyuupichan/aiorpcX/data_received
LDU_FT
[ "<BEGIN>\n## `timeout_after`", "Execute the specified coroutine and return its result. However,\n issue a cancellation request to the calling task after seconds\n have elapsed. When this happens, a TaskTimeout exception is\n raised. If coro is None, the result of this function serves\n as an asynchr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data_received API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data_received API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Called by asyncio when a message comes in.
"Called by asyncio when a message comes in."
118
false
kyuupichan/aiorpcX
data_received
27,150
LDU_FT/empirical-org/Quill-NLP-Tools-and-Datasets/detokenize
LDU_FT
[ "<BEGIN>\n## `_verbs_with_subjects`", "Given a spacy document return the verbs that have subjects\n<END>", "<BEGIN>\n## `mangle_agreement`", "Given a correct sentence, return a sentence or sentences with a subject\n verb agreement error\n<END>", "<BEGIN>\n## `_build_trigram_indices`", "Build a dictiona...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detokenize API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detokenize API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Detokenize a string by removing spaces before punctuation.
"Detokenize a string by removing spaces before punctuation."
70
false
empirical-org/Quill-NLP-Tools-and-Datasets
detokenize
27,151
LDU_FT/polyaxon/polyaxon-schemas/get_experiment_spec
LDU_FT
[ "<BEGIN>\n## `get_value`", "Helper for pulling a keyed value off various types of objects\n<END>", "<BEGIN>\n## `_handle_load_unknown`", "Preserve unknown keys during deserialization.\n<END>", "<BEGIN>\n## `_handle_dump_unknown`", "Preserve unknown keys during deserialization.\n<END>", "<BEGIN>\n## `val...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_experiment_spec API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_experiment_spec API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Returns an experiment spec for this group spec and the given matrix declaration.
"Returns an experiment spec for this group spec and the given matrix declaration."
16
false
polyaxon/polyaxon-schemas
get_experiment_spec
27,152
LDU_FT/mardix/Mocha/setup_installed_apps
LDU_FT
[ "<BEGIN>\n## `_normalize_response_tuple`", "Helper function to normalize view return values .\n It always returns (dict, status, headers). Missing values will be None.\n For example in such cases when tuple_ is\n (dict, status), (dict, headers), (dict, status, headers),\n (dict, headers, status)",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_installed_apps API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_installed_apps API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
To import 3rd party applications along with associated properties It is a list of dict or string. When a dict, it contains the `app` key and the configuration, if it's a string, it is just the app name If you require dependencies from other packages, dependencies must be place...
"To import 3rd party applications along with associated properties\n\n It is a list of dict or string.\n\n When a dict, it contains the `app` key and the configuration,\n if it's a string, it is just the app name\n\n If you require dependencies from other packages, dependencies\n must...
276
false
mardix/Mocha
setup_installed_apps
27,153
LDU_FT/eaton-lab/toytree/write_newick
LDU_FT
[ "<BEGIN>\n## `_translate_nodes`", "Convert node names into node instances...\n<END>", "<BEGIN>\n## `add_child`", "Adds a new child to this node. If child node is not suplied\n as an argument, a new node instance will be created.", " Parameters\n ----------", " child: \n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_newick API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_newick API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Iteratively export a tree structure and returns its NHX representation.
"Iteratively export a tree structure and returns its NHX\n representation."
332
false
eaton-lab/toytree
write_newick
27,154
LDU_FT/python273/telegraph/get_account_info
LDU_FT
[ "<BEGIN>\n## `create_account`", "Create a new Telegraph account", " :param short_name: Account name, helps users with several\n accounts remember which they are currently using.\n Displayed to the user above the \"Edit/Publish\"\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_account_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_account_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Get information about a Telegraph account :param fields: List of account fields to return. Available fields: short_name, author_name, author_url, auth_url, page_count Default: [“short_name”,“author_name”,“author_url”]
"Get information about a Telegraph account\n\n :param fields: List of account fields to return. Available fields:\n short_name, author_name, author_url, auth_url, page_count\n\n Default: [“short_name”,“author_name”,“author_url”]"
39
false
python273/telegraph
get_account_info
27,155
LDU_FT/lobocv/anonymoususage/fetch
LDU_FT
[ "<BEGIN>\n## `get_average`", "Return the statistic's count divided by the number of rows in the table. If it cannot be calculated return\n `default`.\n :return: The average count value (count / table rows) or `default` if it cannot be calculated.\n<END>", "<BEGIN>\n## `elapsed_time_s`", "Return ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Returns `n` rows from the table's start or end :param dbconn: database connection :param tablename: name of the table :param n: number of rows to return from the end of the table :param uuid: Optional UUID to select from :return: If n > 1, a list of rows. If n=1, a single row
"Returns `n` rows from the table's start or end\n :param dbconn: database connection\n :param tablename: name of the table\n :param n: number of rows to return from the end of the table\n :param uuid: Optional UUID to select from\n :return: If n > 1, a list of rows. If n=1, a single row"
60
false
lobocv/anonymoususage
fetch
27,156
LDU_FT/sampsyo/confuse/config_dir
LDU_FT
[ "<BEGIN>\n## `namespace_to_dict`", "If obj is argparse.Namespace or optparse.Values we'll return\n a dict representation of it, else return the original object.", " Redefine this method if using other parsers.", " :param obj: *\n :return:\n :rtype: dict or *\n<END>", "<BEGIN>\n## `_package_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the config_dir API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the config_dir API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Get the path to the user configuration directory. The directory is guaranteed to exist as a postcondition (one may be created if none exist). If the application's ``...DIR`` environment variable is set, it is used as the configuration directory. Otherwise, platform-specific stan...
"Get the path to the user configuration directory. The\n directory is guaranteed to exist as a postcondition (one may be\n created if none exist).\n\n If the application's ``...DIR`` environment variable is set, it\n is used as the configuration directory. Otherwise,\n platform-specif...
79
false
sampsyo/confuse
config_dir
27,157
LDU_FT/census-instrumentation/opencensus-python/to_header
LDU_FT
[ "<BEGIN>\n## `get_node`", "Generates Node message from params and system information.\n<END>", "<BEGIN>\n## `proto_ts_from_datetime_str`", "Converts string datetime in ISO format to protobuf timestamp.\n :type dt: str\n :param dt: string with datetime in ISO format\n :rtype: :class:`~google.protobuf....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_header API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_header API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Convert a SpanContext object to header string. :type span_context: :class:`~opencensus.trace.span_context.SpanContext` :param span_context: SpanContext object. :rtype: str :returns: A trace context header string in google cloud format.
"Convert a SpanContext object to header string.\n\n :type span_context:\n :class:`~opencensus.trace.span_context.SpanContext`\n :param span_context: SpanContext object.\n\n :rtype: str\n :returns: A trace context header string in google cloud format."
528
false
census-instrumentation/opencensus-python
to_header
27,158
LDU_FT/thilux/tvdb_client/get_languages
LDU_FT
[ "<BEGIN>\n## `__get_header_with_auth`", "This private method returns the HTTP heder filled with the Authorization information with the user token.\n The token validity is monitored whenever this function is called, so according to the swagger page of TheTVDB\n (https://api.thetvdb.com/swagger) the t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_languages API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_languages API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Returns a list of all language options available in TheTVDB. :return: a python dictionary with either the result of the search or an error from TheTVDB.
"Returns a list of all language options available in TheTVDB.\n\n :return: a python dictionary with either the result of the search or an error from TheTVDB."
58
false
thilux/tvdb_client
get_languages
27,159
LDU_FT/AlexandreDecan/python-intervals/from_string
LDU_FT
[ "<BEGIN>\n## `from_string`", "Parse given string and create an Interval instance.\n A converter function has to be provided to convert a bound (as string) to a value.", " :param string: string to parse.\n :param conv: function that converts a bound (as string) to an object.\n :param bound: pattern t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Parse given string and create an Interval instance. A converter function has to be provided to convert a bound (as string) to a value. :param string: string to parse. :param conv: function that converts a bound (as string) to an object. :param bound: pattern that matches a value. :param disj: patte...
"Parse given string and create an Interval instance.\n A converter function has to be provided to convert a bound (as string) to a value.\n\n :param string: string to parse.\n :param conv: function that converts a bound (as string) to an object.\n :param bound: pattern that matches a value.\n :param disj...
40
false
AlexandreDecan/python-intervals
from_string
27,160
LDU_FT/vhf/confusable_homoglyphs/generate_categories
LDU_FT
[ "<BEGIN>\n## `aliases_categories`", "Retrieves the script block alias and unicode category for a unicode character.", " >>> categories.aliases_categories('A')\n ('LATIN', 'L')\n >>> categories.aliases_categories('τ')\n ('GREEK', 'L')\n >>> categories.aliases_categories('-')\n ('COMMON', 'Pd')"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_categories API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_categories API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Generates the categories JSON data file from the unicode specification. :return: True for success, raises otherwise. :rtype: bool
"Generates the categories JSON data file from the unicode specification.\n\n :return: True for success, raises otherwise.\n :rtype: bool"
23
false
vhf/confusable_homoglyphs
generate_categories
27,161
LDU_FT/westurner/pyrpo/mtime
LDU_FT
[ "<BEGIN>\n## `itersplit`", "Split a string by ``sep`` and yield chunks", " Args:\n s (str-type): string to split\n sep (str-type): delimiter to split by", " Yields:\n generator of strings: chunks of string s\n<END>", "<BEGIN>\n## `itersplit_to_fields`", "Itersplit a string into ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mtime API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mtime API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Returns: str: strftime-formatted mtime (modification time) of fpath
"Returns:\n str: strftime-formatted mtime (modification time) of fpath"
149
false
westurner/pyrpo
mtime
27,162
LDU_FT/gmr/tredis/_on_read_only_error
LDU_FT
[ "<BEGIN>\n## `auth`", "Request for authentication in a password-protected Redis server.\n Redis can be instructed to require a password before allowing clients\n to execute commands. This is done using the ``requirepass`` directive\n in the configuration file.", " If the password doe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _on_read_only_error API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _on_read_only_error API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Invoked when a Redis node returns an error indicating it's in read-only mode. It will use the ``INFO REPLICATION`` command to attempt to find the master server and failover to that, reissuing the command to that server. :param command: The command that was being executed :type c...
"Invoked when a Redis node returns an error indicating it's in\n read-only mode. It will use the ``INFO REPLICATION`` command to\n attempt to find the master server and failover to that, reissuing\n the command to that server.\n\n :param command: The command that was being executed\n ...
523
false
gmr/tredis
_on_read_only_error
27,163
LDU_FT/rsgalloway/grit/stream_object_data
LDU_FT
[ "<BEGIN>\n## `assemble_WSGI_git_app`", "Assembles basic WSGI-compatible application providing functionality of git-http-backend.\r", " content_path (Defaults to '.' = \"current\" directory)\r\n The path to the folder that will be the root of served files. Accepts relative paths.\r", " uri_marker ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stream_object_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stream_object_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
As get_object_header, but returns the data as a stream :return: (hexsha, type_string, size_as_int, stream) :note: This method is not threadsafe, you need one independent Command instance per thread to be safe !
"As get_object_header, but returns the data as a stream\n\t\t:return: (hexsha, type_string, size_as_int, stream)\n\t\t:note: This method is not threadsafe, you need one independent\tCommand instance\n\t\t\tper thread to be safe !"
222
false
rsgalloway/grit
stream_object_data
27,164
LDU_FT/mukulhase/WebWhatsapp-Wrapper/before_request
LDU_FT
[ "<BEGIN>\n## `run`", "Locks the main thread while the subscription in running\n<END>", "<BEGIN>\n## `save_firefox_profile`", "Function to save the firefox profile to the permanant one\n<END>", "<BEGIN>\n## `get_contacts`", "Fetches list of all contacts\n This will return chats with people from the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the before_request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the before_request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
This runs before every API request. The function take cares of creating driver object is not already created. Also it checks for few prerequisits parameters and set global variables for other functions to use Required paramters for an API hit are: auth-key: key string to identify valid request ...
"This runs before every API request. The function take cares of creating\n driver object is not already created. Also it checks for few prerequisits\n parameters and set global variables for other functions to use\n \n Required paramters for an API hit are:\n auth-key: key string to identify valid reques...
108
false
mukulhase/WebWhatsapp-Wrapper
before_request
27,165
LDU_FT/bioasp/ingranalyze/get_predictions_under_minimal_repair
LDU_FT
[ "<BEGIN>\n## `readGraph`", "input: string, name of a file containing a Bioquali-like graph description\n output: asp.TermSet, with atoms matching the contents of the input file", " Parses a Bioquali-like graph description, and returns\n a TermSet object.\n Written using original Bioquali\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_predictions_under_minimal_repair API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_predictions_under_minimal_repair API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i...
Computes the set of signs on edges/vertices that can be cautiously derived from [instance], minus those that are a direct consequence of obs_[ev]label predicates
"Computes the set of signs on edges/vertices that can be cautiously\n derived from [instance], minus those that are a direct consequence\n of obs_[ev]label predicates"
15
false
bioasp/ingranalyze
get_predictions_under_minimal_repair
27,166
LDU_FT/DMSC-Instrument-Data/lewis/is_interface
LDU_FT
[ "<BEGIN>\n## `get_submodules`", "This function imports all sub-modules of the supplied module and returns a dictionary\n with module names as keys and the sub-module objects as values. If the supplied parameter\n is not a module object, a RuntimeError is raised.", " :param module: Module object from wh...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_interface API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_interface API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Returns True if obj is an interface (derived from :class:`InterfaceBase`), but not defined in :mod:`lewis.adapters`, where concrete interfaces for protocols are defined. :param obj: Object to test. :return: True if obj is an interface type.
"Returns True if obj is an interface (derived from :class:`InterfaceBase`), but not defined in\n :mod:`lewis.adapters`, where concrete interfaces for protocols are defined.\n\n :param obj: Object to test.\n :return: True if obj is an interface type."
198
false
DMSC-Instrument-Data/lewis
is_interface
27,167
LDU_FT/emory-libraries/eulfedora/object_data
LDU_FT
[ "<BEGIN>\n## `file_md5sum`", "Calculate and returns an MD5 checksum for the specified file. Any file\n errors (non-existent file, read error, etc.) are not handled here but should\n be caught where this method is called.", " :param filename: full path to the file for which a checksum should be calcula...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the object_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the object_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Process the archival export and return a buffer with foxml content for ingest into the destination repository. :returns: :class:`io.BytesIO` for ingest, with references to uploaded datastream content or content location urls
"Process the archival export and return a buffer with foxml\n content for ingest into the destination repository.\n\n :returns: :class:`io.BytesIO` for ingest, with references\n to uploaded datastream content or content location urls"
312
false
emory-libraries/eulfedora
object_data
27,168
LDU_FT/consbio/ncdjango/_get_form_defaults
LDU_FT
[ "<BEGIN>\n## `p_binary_operators`", "conditional : conditional AND condition\n | conditional OR condition\n condition : condition LTE expression\n | condition GTE expression\n | condition LT expression\n | condition GT expression...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_form_defaults API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_form_defaults API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Returns default values for the get image form
"Returns default values for the get image form"
146
false
consbio/ncdjango
_get_form_defaults
27,169
LDU_FT/jsommers/switchyard/interface_by_ipaddr
LDU_FT
[ "<BEGIN>\n## `router_main`", "Main method for router; we stay in a loop in this method, receiving\n packets until the end of time.\n<END>", "<BEGIN>\n## `from_bytes`", "Takes a byte string as a parameter and returns a list of\n IPOption objects.\n<END>", "<BEGIN>\n## `to_bytes`", "Takes a li...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interface_by_ipaddr API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interface_by_ipaddr API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Given an IP address, return the interface that 'owns' this address
"Given an IP address, return the interface that 'owns' this address"
192
false
jsommers/switchyard
interface_by_ipaddr
27,170
LDU_FT/cloudflare/sqlalchemy-clickhouse/fetchone
LDU_FT
[ "<BEGIN>\n## `_reset_state`", "Reset state about the previous query in preparation for running another query\n<END>", "<BEGIN>\n## `description`", "This read-only attribute is a sequence of 7-item sequences.", " Each of these sequences contains information describing one result column:", " -...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetchone API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetchone API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Fetch the next row of a query result set, returning a single sequence, or ``None`` when no more data is available.
"Fetch the next row of a query result set, returning a single sequence, or ``None`` when\n no more data is available."
22
false
cloudflare/sqlalchemy-clickhouse
fetchone
27,171
LDU_FT/SheffieldML/GPyOpt/constant_cost_withGradients
LDU_FT
[ "<BEGIN>\n## `constant_cost_withGradients`", "Constant cost function used by default: cost = 1, d_cost = 0.\n<END>", "<BEGIN>\n## `_cost_gp`", "Predicts the time cost of evaluating the function at x.\n<END>", "<BEGIN>\n## `_cost_gp_withGradients`", "Predicts the time cost and its gradient of evaluating th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the constant_cost_withGradients API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the constant_cost_withGradients API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Constant cost function used by default: cost = 1, d_cost = 0.
"Constant cost function used by default: cost = 1, d_cost = 0."
259
false
SheffieldML/GPyOpt
constant_cost_withGradients
27,172