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/jumpscale7/python-consistent-toml/_array_make_sure_table_exists
LDU_FT
[ "<BEGIN>\n## `peek`", "Returns PeekableIterator.Nothing when the iterator is exhausted.\n<END>", "<BEGIN>\n## `_append_to_parent`", "Causes this ephemeral table to be persisted on the TOMLFile.\n<END>", "<BEGIN>\n## `structure`", "Accepts an ordered sequence of TopLevel instances and returns a navigable o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _array_make_sure_table_exists API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _array_make_sure_table_exists API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Makes sure the table with the full name comprising of name_seq exists.
"Makes sure the table with the full name comprising of name_seq exists."
43
false
jumpscale7/python-consistent-toml
_array_make_sure_table_exists
40,573
LDU_FT/biosustain/optlang/parse_optimization_expression
LDU_FT
[ "<BEGIN>\n## `_constraint_lb_and_ub_to_gurobi_sense_rhs_and_range_value`", "Helper function used by Constraint and Model\n<END>", "<BEGIN>\n## `_evolve_kwargs`", "Filter None keyword arguments. Intended to be passed on to algorithm.evolve(...)\n<END>", "<BEGIN>\n## `parse_optimization_expression`", "Funct...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_optimization_expression API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_optimization_expression API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Function for parsing the expression of a Constraint or Objective object. Parameters ---------- object: Constraint or Objective The optimization expression to be parsed linear: Boolean If True the expression will be assumed to be linear quadratic: Boolean If True the expressi...
"Function for parsing the expression of a Constraint or Objective object.\n\n Parameters\n ----------\n object: Constraint or Objective\n The optimization expression to be parsed\n linear: Boolean\n If True the expression will be assumed to be linear\n quadratic: Boolean\n If True th...
106
false
biosustain/optlang
parse_optimization_expression
40,574
LDU_FT/myth/pepper8/report_build_messages
LDU_FT
[ "<BEGIN>\n## `parse`", "Reads all lines from the current data source and yields each FileResult objects\n<END>", "<BEGIN>\n## `analyze`", "Analyzes the parsed results from Flake8 or PEP 8 output and creates FileResult instances\n :param output_file: If specified, output will be written to this file ins...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the report_build_messages 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 report_build_messages API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Checks environment variables to see whether pepper8 is run under a build agent such as TeamCity and performs the adequate actions to report statistics. Will not perform any action if HTML output is written to OUTPUT_FILE and not stdout. Currently only supports TeamCity. :return: A list...
"Checks environment variables to see whether pepper8 is run under a build agent such as TeamCity\n and performs the adequate actions to report statistics.\n\n Will not perform any action if HTML output is written to OUTPUT_FILE and not stdout.\n Currently only supports TeamCity.\n\n :return:...
14
false
myth/pepper8
report_build_messages
40,575
LDU_FT/davidmcclure/textplot/get_pair
LDU_FT
[ "<BEGIN>\n## `build_graph`", "Tokenize a text, index a term matrix, and build out a graph.", " Args:\n path (str): The file path.\n term_depth (int): Consider the N most frequent terms.\n skim_depth (int): Connect each word to the N closest siblings.\n d_weights (bool): If true, g...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_pair 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_pair 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...
Get the value for a pair of terms. Args: term1 (str) term2 (str) Returns: The stored value.
"Get the value for a pair of terms.\n\n Args:\n term1 (str)\n term2 (str)\n\n Returns:\n The stored value."
71
false
davidmcclure/textplot
get_pair
40,576
LDU_FT/joshleeb/creditcard/is_discover
LDU_FT
[ "<BEGIN>\n## `is_visa`", "Checks if credit card number fits the visa format.\n<END>", "<BEGIN>\n## `is_visa_electron`", "Checks if credit card number fits the visa electron format.\n<END>", "<BEGIN>\n## `is_mastercard`", "Checks if credit card number fits the mastercard format.\n<END>", "<BEGIN>\n## `is...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_discover 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 is_discover 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...
Checks if credit card number fits the discover card format.
"Checks if credit card number fits the discover card format."
18
false
joshleeb/creditcard
is_discover
40,577
LDU_FT/da4089/simplefix/remove_raw
LDU_FT
[ "<BEGIN>\n## `add_raw`", "Define the tags used for a private raw data field.", " :param length_tag: tag number of length field.\n :param value_tag: tag number of value field.", " Data fields are not terminated by the SOH character as is usual for\n FIX, but instead have a second, p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_raw 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 remove_raw 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...
Remove the tags for a data type field. :param length_tag: tag number of the length field. :param value_tag: tag number of the value field. You can remove either private or standard data field definitions in case a particular application uses them for a field of a different type...
"Remove the tags for a data type field.\n\n :param length_tag: tag number of the length field.\n :param value_tag: tag number of the value field.\n\n You can remove either private or standard data field definitions in\n case a particular application uses them for a field of a different\n ...
79
false
da4089/simplefix
remove_raw
40,578
LDU_FT/lreis2415/PyGeoC/get_central_coors
LDU_FT
[ "<BEGIN>\n## `get_cell_length`", "Get flow direction induced cell length dict.\n Args:\n flow_model: Currently, \"TauDEM\", \"ArcGIS\", and \"Whitebox\" are supported.\n<END>", "<BEGIN>\n## `get_cell_shift`", "Get flow direction induced cell shift dict.\n Args:\n flow_model...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_central_coors 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_central_coors 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 the coordinates of central grid. Args: row: row number, range from 0 to (nRows - 1). col: col number, range from 0 to (nCols - 1). Returns: XY coordinates. If the row or col are invalid, raise ValueError.
"Get the coordinates of central grid.\n\n Args:\n row: row number, range from 0 to (nRows - 1).\n col: col number, range from 0 to (nCols - 1).\n\n Returns:\n XY coordinates. If the row or col are invalid, raise ValueError."
259
false
lreis2415/PyGeoC
get_central_coors
40,579
LDU_FT/carta/ldap_tools/__username
LDU_FT
[ "<BEGIN>\n## `create`", "Create an LDAP Group.", " Raises:\n ldap3.core.exceptions.LDAPNoSuchObjectResult:\n an object involved with the request is missing", " ldap3.core.exceptions.LDAPEntryAlreadyExistsResult:\n the entity being created already exis...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __username 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 __username 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...
Convert first name + last name into first.last style username.
"Convert first name + last name into first.last style username."
65
false
carta/ldap_tools
__username
40,580
LDU_FT/ffalcinelli/pydivert/matches
LDU_FT
[ "<BEGIN>\n## `check_filter`", "Checks if the given packet filter string is valid with respect to the filter language.", " The remapped function is WinDivertHelperCheckFilter::", " BOOL WinDivertHelperCheckFilter(\n __in const char *filter,\n __in WINDIVERT_LAYER...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the matches 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 matches 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...
Evaluates the packet against the given packet filter string. The remapped function is:: BOOL WinDivertHelperEvalFilter( __in const char *filter, __in WINDIVERT_LAYER layer, __in PVOID pPacket, __in UINT packetLen, __in...
"Evaluates the packet against the given packet filter string.\n\n The remapped function is::\n\n BOOL WinDivertHelperEvalFilter(\n __in const char *filter,\n __in WINDIVERT_LAYER layer,\n __in PVOID pPacket,\n __in UINT packetLen,\n ...
67
false
ffalcinelli/pydivert
matches
40,581
LDU_FT/EntilZha/PyFunctional/count_by_value_impl
LDU_FT
[ "<BEGIN>\n## `name`", "Retrieve a pretty name for the function\n :param function: function to get name from\n :return: pretty name\n<END>", "<BEGIN>\n## `map_t`", "Transformation for Sequence.map\n :param func: map function\n :return: transformation\n<END>", "<BEGIN>\n## `starmap_t`", "Transfo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count_by_value_impl 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 count_by_value_impl 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...
Implementation for count_by_value_t :param sequence: sequence of values :return: counts by value
"Implementation for count_by_value_t\n :param sequence: sequence of values\n :return: counts by value"
249
false
EntilZha/PyFunctional
count_by_value_impl
40,582
LDU_FT/RLBot/RLBot/parse_match_settings
LDU_FT
[ "<BEGIN>\n## `configure_processes`", "This will update the priority and CPU affinity of the processes owned by bots to try to achieve fairness and\n good performance.", " :param agent_metadata_map: A mapping of player index to agent metadata, including a list of owned process ids.\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_match_settings 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 parse_match_settings API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Parses the matching settings modifying the match settings object. :param match_settings: :param config: :return:
"Parses the matching settings modifying the match settings object.\n :param match_settings:\n :param config:\n :return:"
181
false
RLBot/RLBot
parse_match_settings
40,583
LDU_FT/qzmfranklin/easyshell/completer
LDU_FT
[ "<BEGIN>\n## `update_parser`", "Update the parser object for the shell.", " Arguments:\n parser: An instance of argparse.ArgumentParser.\n<END>", "<BEGIN>\n## `_do_debug`", "\\\n Enter the debugging shell.\n debug Show current debugging status, i.e, on/off.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the completer 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 completer 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...
Decorate a function to be the completer function of commands. Arguments: commands: Names of command that should trigger this function object. ------------------------------ Interface of completer methods: @completer('some-other_command') def complete_foo(self, args, text): ...
"Decorate a function to be the completer function of commands.\n\n Arguments:\n commands: Names of command that should trigger this function object.\n\n ------------------------------\n Interface of completer methods:\n\n @completer('some-other_command')\n def complete_foo(self, args, text...
147
false
qzmfranklin/easyshell
completer
40,584
LDU_FT/dailymuse/oz/config_maker
LDU_FT
[ "<BEGIN>\n## `db`", "Gets the SQLALchemy session for this request\n<END>", "<BEGIN>\n## `_sqlalchemy_on_finish`", "Closes the sqlalchemy transaction. Rolls back if an error occurred.\n<END>", "<BEGIN>\n## `_sqlalchemy_on_connection_close`", "Rollsback and closes the active session, since the client discon...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the config_maker 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 config_maker 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...
Creates a config file based on the project name
"Creates a config file based on the project name"
58
false
dailymuse/oz
config_maker
40,585
LDU_FT/pyroscope/pyrocore/disk_free
LDU_FT
[ "<BEGIN>\n## `resolve_slashed`", "Resolve symlinked directories if they end in a '/',\n remove trailing '/' otherwise.\n<END>", "<BEGIN>\n## `guarded`", "Catch exceptions thrown by filesystem calls, and don't really\n execute them in dry-run mode.\n<END>", "<BEGIN>\n## `_make_it_so`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disk_free 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 disk_free 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 free bytes on partition holding `path`.
"Return free bytes on partition holding `path`."
247
false
pyroscope/pyrocore
disk_free
40,586
LDU_FT/bioidiap/bob.ip.facedetect/sample_scaled
LDU_FT
[ "<BEGIN>\n## `add`", "Adds a new strong classifier with the given threshold to the cascade.", " **Parameters:**", " classifier : :py:class:`bob.learn.boosting.BoostedMachine`\n A strong classifier to add", " ``threshold`` : float\n The classification threshold for this cascade step", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sample_scaled 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 sample_scaled 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...
sample_scaled(shape) -> bounding_box Yields an iterator that iterates over all sampled bounding boxes in the given (scaled) image shape. **Parameters:** ``shape`` : (int, int) or (int, int, int) The (current) shape of the (scaled) image **Yields:** ``bounding_box`` : :py:class:`BoundingBo...
"sample_scaled(shape) -> bounding_box\n\n Yields an iterator that iterates over all sampled bounding boxes in the given (scaled) image shape.\n\n **Parameters:**\n\n ``shape`` : (int, int) or (int, int, int)\n The (current) shape of the (scaled) image\n\n **Yields:**\n\n ``bounding_box`` : :py:class...
246
false
bioidiap/bob.ip.facedetect
sample_scaled
40,587
LDU_FT/msfrank/cifparser/remove_container
LDU_FT
[ "<BEGIN>\n## `make_path`", ":param path_or_str_or_segments:\n :return:\n :rtype: cifparser.path.Path\n<END>", "<BEGIN>\n## `print_ast`", ":param f:\n :type f: file\n :return:\n<END>", "<BEGIN>\n## `pop_frame`", "Remove and return the frame at the top of the stack.", " :returns: The to...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_container 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 remove_container 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 ...
Removes the container at the specified path. :param path: str or Path instance :raises ValueError: A component of path is a field name. :raises KeyError: A component of path doesn't exist.
"Removes the container at the specified path.\n\n :param path: str or Path instance\n :raises ValueError: A component of path is a field name.\n :raises KeyError: A component of path doesn't exist."
67
false
msfrank/cifparser
remove_container
40,588
LDU_FT/mattsolo1/hmmerclust/make_protein_arrow_color_dict
LDU_FT
[ "<BEGIN>\n## `fetch_gbwithparts`", "Download genbank files from NCBI using Biopython Entrez efetch.", " Args:\n list_of_NC_accessions (list): a list of strings, e.g ['NC_015758', 'NC_002695']\n email (string): NCBI wants your email\n folder (string): Where the gb files download to, gene...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_protein_arrow_color_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_protein_arrow_color_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Generates a random color for all proteins in query_names, stores these in a dict.
"Generates a random color for all proteins in query_names,\n stores these in a dict."
40
false
mattsolo1/hmmerclust
make_protein_arrow_color_dict
40,589
LDU_FT/MisterY/gnucash-portfolio/__get_default_currency
LDU_FT
[ "<BEGIN>\n## `get_next_occurrence`", "Calculates the next occurrence date for scheduled transaction.\n Mimics the recurrenceNextInstance() function from GnuCash.\n Still not fully complete but handles the main cases I use.\n<END>", "<BEGIN>\n## `handle_friday`", "Extracted the calculation for when the n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __get_default_currency 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_default_currency API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Read the default currency from GnuCash preferences
"Read the default currency from GnuCash preferences"
157
false
MisterY/gnucash-portfolio
__get_default_currency
40,590
LDU_FT/dmwm/DBS/removeMigrationRequest
LDU_FT
[ "<BEGIN>\n## `inputChecks`", "This is a function to check all the input for GET APIs.\n<END>", "<BEGIN>\n## `validateStringInput`", "To check if a string has the required format. This is only used for POST APIs.\n<END>", "<BEGIN>\n## `execute`", "Lists all primary datasets if pattern is not provided.\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the removeMigrationRequest 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 removeMigrationRequest API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Method to remove pending or failed migration request from the queue.
"Method to remove pending or failed migration request from the queue."
352
false
dmwm/DBS
removeMigrationRequest
40,591
LDU_FT/marcotcr/lime/show_in_notebook
LDU_FT
[ "<BEGIN>\n## `generate_lars_path`", "Generates the lars path for weighted data.", " Args:\n weighted_data: data that has been weighted by kernel\n weighted_label: labels, weighted by kernel", " Returns:\n (alphas, coefs), both are arrays corresponding to the\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_in_notebook 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 show_in_notebook 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 ...
Shows html explanation in ipython notebook. See as_html() for parameters. This will throw an error if you don't have IPython installed
"Shows html explanation in ipython notebook.\n\n See as_html() for parameters.\n This will throw an error if you don't have IPython installed"
113
false
marcotcr/lime
show_in_notebook
40,592
LDU_FT/iqbal-lab-org/cluster_vcf_records/merge_vcf_files
LDU_FT
[ "<BEGIN>\n## `get_sample_name_from_vcf_header_lines`", "Given a list of header lines (made by either\n vcf_file_to_dict() or vcf_file_to_list()),\n returns the sample name. Assumes only one sample\n in the file.\n Raises error if badly formatted #CHROM line.\n Returns None if no #CHROM line found\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_vcf_files 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 merge_vcf_files 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...
infiles: list of input VCF file to be merge. outfile: name of output VCF file. threads: number of input files to read in parallel
"infiles: list of input VCF file to be merge.\n outfile: name of output VCF file.\n threads: number of input files to read in parallel"
59
false
iqbal-lab-org/cluster_vcf_records
merge_vcf_files
40,593
LDU_FT/inveniosoftware/invenio-files-rest/remove
LDU_FT
[ "<BEGIN>\n## `send_stream`", "Send the contents of a file to the client.", " .. warning::", " It is very easy to be exposed to Cross-Site Scripting (XSS) attacks if\n you serve user uploaded files. Here are some recommendations:", " 1. Serve user uploaded files from a separate do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove 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 remove 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 ...
Permanently remove a bucket and all objects (including versions). .. warning:: This by-passes the normal versioning and should only be used when you want to permanently delete a bucket and its objects. Otherwise use :py:data:`Bucket.delete()`. Note the method does ...
"Permanently remove a bucket and all objects (including versions).\n\n .. warning::\n\n This by-passes the normal versioning and should only be used when\n you want to permanently delete a bucket and its objects. Otherwise\n use :py:data:`Bucket.delete()`.\n\n Note the met...
272
false
inveniosoftware/invenio-files-rest
remove
40,594
LDU_FT/guaix-ucm/pyemir/rectwv_coeff_to_ds9
LDU_FT
[ "<BEGIN>\n## `merge2images`", "Merge 2 EMIR images, averaging the common region.", " Parameters\n ----------\n hdu1 : HDUList object\n Input image #1.\n hdu2 : HDUList object\n Input image #2.\n debugplot : int\n Determines whether intermediate computations and/or plots\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rectwv_coeff_to_ds9 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 rectwv_coeff_to_ds9 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...
Generate ds9 region output with requested slitlet limits Parameters ---------- rectwv_coeff : RectWaveCoeff instance Rectification and wavelength calibration coefficients for the particular CSU configuration. limits : str Region to be saved: the only two possibilities are 'bound...
"Generate ds9 region output with requested slitlet limits\n\n Parameters\n ----------\n rectwv_coeff : RectWaveCoeff instance\n Rectification and wavelength calibration coefficients for the\n particular CSU configuration.\n limits : str\n Region to be saved: the only two possibilities a...
282
false
guaix-ucm/pyemir
rectwv_coeff_to_ds9
40,595
LDU_FT/ewels/MultiQC/count_variants_barplot
LDU_FT
[ "<BEGIN>\n## `star_stats_table`", "Take the parsed stats from the STAR report and add them to the\n basic stats table at the top of the report\n<END>", "<BEGIN>\n## `mirtrace_length_plot`", "Generate the miRTrace Read Length Distribution\n<END>", "<BEGIN>\n## `mirtrace_contamination_check`", "Gener...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count_variants_barplot 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 count_variants_barplot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Return HTML for the Variant Counts barplot
"Return HTML for the Variant Counts barplot"
532
false
ewels/MultiQC
count_variants_barplot
40,596
LDU_FT/TestInABox/stackInABox/split_status
LDU_FT
[ "<BEGIN>\n## `httpretty_callback`", "httpretty request handler.", " converts a call intercepted by httpretty to\n the stack-in-a-box infrastructure", " :param request: request object\n :param uri: the uri of the request\n :param headers: headers for the response", " :returns: tuple - (int,...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_status 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 split_status 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...
Split a HTTP Status and Reason code string into a tuple. :param status string containing the status and reason text or the integer of the status code :returns: tuple - (int, string) containing the integer status code and reason text string
"Split a HTTP Status and Reason code string into a tuple.\n\n :param status string containing the status and reason text or\n the integer of the status code\n\n :returns: tuple - (int, string) containing the integer status code\n and reason text string"
124
false
TestInABox/stackInABox
split_status
40,597
LDU_FT/senaite/senaite.core/folderitem
LDU_FT
[ "<BEGIN>\n## `get_type_id`", "Returns the type id for the context passed in\n<END>", "<BEGIN>\n## `get_suffix`", "Get the suffix of the ID, e.g. '-R01' or '-P05'", " The current regex determines a pattern of a single uppercase character with\n at most 2 numbers following at the end of the ID as the su...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the folderitem 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 folderitem 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...
Service triggered each time an item is iterated in folderitems. The use of this service prevents the extra-loops in child objects. :obj: the instance of the class to be foldered :item: dict containing the properties of the object to be used by the template :index: current i...
"Service triggered each time an item is iterated in folderitems.\n\n The use of this service prevents the extra-loops in child objects.\n\n :obj: the instance of the class to be foldered\n :item: dict containing the properties of the object to be used by\n the template\n :index: c...
2,333
true
senaite/senaite.core
folderitem
40,598
LDU_FT/instana/python-sensor/hook
LDU_FT
[ "<BEGIN>\n## `run`", "Span a background thread to periodically report queued spans\n<END>", "<BEGIN>\n## `record_span`", "Convert the passed BasicSpan into an JsonSpan and\n add it to the span queue\n<END>", "<BEGIN>\n## `build_registered_span`", "Takes a BasicSpan and converts it into a registered...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hook 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 hook 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...
Hook method to install the Instana middleware into Flask
"Hook method to install the Instana middleware into Flask"
76
false
instana/python-sensor
hook
40,599
LDU_FT/mosesschwartz/scrypture/line_input
LDU_FT
[ "<BEGIN>\n## `hash`", "Hash input_text with the algorithm choice\n<END>", "<BEGIN>\n## `text_input`", "Get multi-line text input as a strong from a textarea form element.\n<END>", "<BEGIN>\n## `list_input`", "Get a list parsed from newline-delimited entries from a textarea\n<END>", "<BEGIN>\n## `line_in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the line_input 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 line_input 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 a single line of input as a string from a textfield
"Get a single line of input as a string from a textfield"
30
false
mosesschwartz/scrypture
line_input
40,600
LDU_FT/yfpeng/bioc/get_text
LDU_FT
[ "<BEGIN>\n## `decodes`", "Deserialize ``s`` to a BioC collection object.", " Args:\n s: a \"str\" instance containing a BioC collection", " Returns:\n an object of BioCollection\n<END>", "<BEGIN>\n## `decode`", "Deserialize ``fp`` to a BioC collection object.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_text 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_text 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...
Return text with its offset in the document Args: obj: BioCDocument, BioCPassage, or BioCSentence Returns: offset, text
"Return text with its offset in the document\r\n\r\n Args:\r\n obj: BioCDocument, BioCPassage, or BioCSentence\r\n\r\n Returns:\r\n offset, text"
75
false
yfpeng/bioc
get_text
40,601
LDU_FT/christophercrouzet/gorilla/patches
LDU_FT
[ "<BEGIN>\n## `apply`", "Apply a patch.", " The patch's :attr:`~Patch.obj` attribute is injected into the patch's\n :attr:`~Patch.destination` under the patch's :attr:`~Patch.name`.", " This is a wrapper around calling\n ``setattr(patch.destination, patch.name, patch.obj)``.", " Parameters\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patches 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 patches 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...
Decorator to create a patch for each member of a module or a class. Parameters ---------- destination : object Patch destination. settings : gorilla.Settings Settings. traverse_bases : bool If the object is a class, the base classes are also traversed. filter : function ...
"Decorator to create a patch for each member of a module or a class.\n\n Parameters\n ----------\n destination : object\n Patch destination.\n settings : gorilla.Settings\n Settings.\n traverse_bases : bool\n If the object is a class, the base classes are also traversed.\n filter ...
67
false
christophercrouzet/gorilla
patches
40,602
LDU_FT/blockstack/blockstack-core/get_name_from_name_consensus_hash
LDU_FT
[ "<BEGIN>\n## `anyword_substring_search_inner`", "return True if ANY target_word matches a query_word\n<END>", "<BEGIN>\n## `search_people_by_bio`", "queries lucene index to find a nearest match, output is profile username\n<END>", "<BEGIN>\n## `order_search_results`", "order of results should be a) query ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_name_from_name_consensus_hash API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_name_from_name_consensus_hash API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
Find the name.ns_id from hash( name.ns_id, consensus_hash ), given the sender and block_id, and assuming that name.ns_id is already registered. There are only a small number of values this hash can take, so test all of them to see if the hash matches one of them. This is used for name ...
"Find the name.ns_id from hash( name.ns_id, consensus_hash ), given the sender and\n block_id, and assuming that name.ns_id is already registered.\n\n There are only a small number of values this hash can take, so test all of them to\n see if the hash matches one of them.\n\n This is used fo...
1,580
true
blockstack/blockstack-core
get_name_from_name_consensus_hash
40,603
LDU_FT/dwkim78/upsilon/half_mag_amplitude_ratio
LDU_FT
[ "<BEGIN>\n## `sigma_clipping`", "Remove any fluctuated data points by magnitudes.", " Parameters\n ----------\n date : array_like\n An array of dates.\n mag : array_like\n An array of magnitudes.\n err : array_like\n An array of magnitude errors.\n threshold : float, optio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the half_mag_amplitude_ratio API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the half_mag_amplitude_ratio API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Return ratio of amplitude of higher and lower magnitudes. A ratio of amplitude of higher and lower magnitudes than average, considering weights. This ratio, by definition, should be higher for EB than for others. Parameters ---------- mag : array_like An ar...
"Return ratio of amplitude of higher and lower magnitudes.\n\n\n A ratio of amplitude of higher and lower magnitudes than average,\n considering weights. This ratio, by definition, should be higher\n for EB than for others.\n\n Parameters\n ----------\n mag : array_like\n ...
80
false
dwkim78/upsilon
half_mag_amplitude_ratio
40,604
LDU_FT/JustinLovinger/optimal/_crossover
LDU_FT
[ "<BEGIN>\n## `_initial_population_gsa`", "Create a random initial population of floating point values.", " Args:\n population_size: an integer representing the number of solutions in the population.\n problem_size: the number of values in each solution.\n lower_bounds: a list, each value...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _crossover 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 _crossover 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...
Perform crossover on a population, return the new crossed-over population.
"Perform crossover on a population, return the new crossed-over population."
152
false
JustinLovinger/optimal
_crossover
40,605
LDU_FT/toidi/hadoop-yarn-api-python-client/node_applications
LDU_FT
[ "<BEGIN>\n## `node_applications`", "With the Applications API, you can obtain a collection of resources,\n each of which represents an application.", " :param str state: application state\n :param str user: user name\n :returns: API response object with JSON data\n :rtype: :py...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the node_applications 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 node_applications 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...
With the Applications API, you can obtain a collection of resources, each of which represents an application. :param str state: application state :param str user: user name :returns: API response object with JSON data :rtype: :py:class:`yarn_api_client.base.Response` :ra...
"With the Applications API, you can obtain a collection of resources,\n each of which represents an application.\n\n :param str state: application state\n :param str user: user name\n :returns: API response object with JSON data\n :rtype: :py:class:`yarn_api_client.base.Response`\n ...
71
false
toidi/hadoop-yarn-api-python-client
node_applications
40,606
LDU_FT/codenerix/django-codenerix/form_invalid
LDU_FT
[ "<BEGIN>\n## `get_groups`", "<--------------------------------------- 12 columns ------------------------------------>\n <--- 6 columns ---> <--- 6 columns --->\n ------------------------------------------ ------------------------------------------\n |...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the form_invalid 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 form_invalid 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...
Called if a form is invalid. Re-renders the context data with the data-filled forms and errors.
"Called if a form is invalid. Re-renders the context data with the data-filled forms and errors."
82
false
codenerix/django-codenerix
form_invalid
40,607
LDU_FT/blockstack-packages/blockstack-gpg/gpg_fetch_key
LDU_FT
[ "<BEGIN>\n## `make_gpg_home`", "Make GPG keyring dir for a particular application.\n Return the path.\n<END>", "<BEGIN>\n## `get_gpg_home`", "Get the GPG keyring directory for a particular application.\n Return the path.\n<END>", "<BEGIN>\n## `make_gpg_tmphome`", "Make a temporary directory to hold ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gpg_fetch_key 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 gpg_fetch_key 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...
Fetch a GPG public key from the given URL. Supports anything urllib2 supports. If the URL has no scheme, then assume it's a PGP key server, and use GPG to go get it. The key is not accepted into any keyrings. Return the key data on success. If key_id is given, verify the key matches. Return None on...
"Fetch a GPG public key from the given URL.\n Supports anything urllib2 supports.\n If the URL has no scheme, then assume it's a PGP key server, and use GPG to go get it.\n The key is not accepted into any keyrings.\n Return the key data on success. If key_id is given, verify the key matches.\n Return N...
54
false
blockstack-packages/blockstack-gpg
gpg_fetch_key
40,608
LDU_FT/dillonhicks/rekt/load_service
LDU_FT
[ "<BEGIN>\n## `load_builtin_config`", "Uses package info magic to find the resource file located in the specs\n submodule.\n<END>", "<BEGIN>\n## `load_config`", "Loads a yaml configuration.", " :param path: a pathlib Path object pointing to the configuration\n<END>", "<BEGIN>\n## `load_swagger_config`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_service 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 load_service 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...
Load a restful service specified by some YAML file at config_path. :param config_path: A pathlib Path object that points to the yaml config :returns: A python module containing a Client class, call factory, and the definition of each of the APIs defined by the config.
"Load a restful service specified by some YAML file at config_path.\n\n :param config_path: A pathlib Path object that points to the yaml\n config\n :returns: A python module containing a Client class, call factory,\n and the definition of each of the APIs defined by the config."
19
false
dillonhicks/rekt
load_service
40,609
LDU_FT/renweizhukov/pytwis/get_pytwis
LDU_FT
[ "<BEGIN>\n## `_is_loggedin`", "Check if a user is logged-in by verifying the input authentication secret.", " Parameters\n ----------\n auth_secret: str\n The authentication secret of a logged-in user.", " Returns\n -------\n bool\n True if the a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_pytwis 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_pytwis 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...
Connect to the Redis database and return the Pytwis instance. Parameters ---------- epilog: str An epilog string which will be displayed by ArgumentParser. Returns ------- pytwis: A Pytwis instance. prompt: str The prompt string which contains either the hostname and the po...
"Connect to the Redis database and return the Pytwis instance.\n\n Parameters\n ----------\n epilog: str\n An epilog string which will be displayed by ArgumentParser.\n\n Returns\n -------\n pytwis: A Pytwis instance.\n prompt: str\n The prompt string which contains either the hostnam...
108
false
renweizhukov/pytwis
get_pytwis
40,610
LDU_FT/ottogroup/palladium/grid_search_cmd
LDU_FT
[ "<BEGIN>\n## `apply_kwargs`", "Call *func* with kwargs, but only those kwargs that it accepts.\n<END>", "<BEGIN>\n## `args_from_config`", "Decorator that injects parameters from the configuration.\n<END>", "<BEGIN>\n## `memory_usage_psutil`", "Return the current process memory usage in MB.\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the grid_search_cmd 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 grid_search_cmd 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...
\ Grid search parameters for the model. Uses 'dataset_loader_train', 'model', and 'grid_search' from the configuration to load a training dataset, and run a grid search on the model using the grid of hyperparameters. Usage: pld-grid-search [options] Options: --save-results=<fname> Save results to CSV file --...
"\\\nGrid search parameters for the model.\n\nUses 'dataset_loader_train', 'model', and 'grid_search' from the\nconfiguration to load a training dataset, and run a grid search on the\nmodel using the grid of hyperparameters.\n\nUsage:\n pld-grid-search [options]\n\nOptions:\n --save-results=<fname> Save results to ...
86
false
ottogroup/palladium
grid_search_cmd
40,611
LDU_FT/adafruit/Adafruit_CircuitPython_BME280/humidity
LDU_FT
[ "<BEGIN>\n## `_write_ctrl_meas`", "Write the values to the ctrl_meas and ctrl_hum registers in the device\n ctrl_meas sets the pressure and temperature data acquistion options\n ctrl_hum sets the humidty oversampling and must be written to first\n<END>", "<BEGIN>\n## `_write_config`", "Write the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the humidity 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 humidity 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...
The relative humidity in RH % returns None if humidity measurement is disabled
"The relative humidity in RH %\n returns None if humidity measurement is disabled"
20
false
adafruit/Adafruit_CircuitPython_BME280
humidity
40,612
LDU_FT/beregond/super_state_machine/_check_states_enum
LDU_FT
[ "<BEGIN>\n## `can_be_`", "Check if machine can transit to given state.\n<END>", "<BEGIN>\n## `force_set`", "Set new state without checking if transition is allowed.\n<END>", "<BEGIN>\n## `translate`", "Translate value to enum instance.", " If value is already enum instance, check if this value be...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_states_enum 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 _check_states_enum 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...
Check if states enum exists and is proper one.
"Check if states enum exists and is proper one."
21
false
beregond/super_state_machine
_check_states_enum
40,613
LDU_FT/ynop/audiomate/append
LDU_FT
[ "<BEGIN>\n## `load`", "Load and return the corpus from the given path.", " Args:\n path (str): Path to the data set to load.", " Returns:\n Corpus: The loaded corpus", " Raises:\n IOError: When the data set is invalid, for example because required files ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append 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 append 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 ...
Append the given samples to the data that already exists in the container for the given key. Args: key (str): A key to store the data for. samples (numpy.ndarray): 1-D array of audio samples (int-16). sampling_rate (int): The sampling-rate of the audio samples. ...
"Append the given samples to the data that already exists\n in the container for the given key.\n\n Args:\n key (str): A key to store the data for.\n samples (numpy.ndarray): 1-D array of audio samples (int-16).\n sampling_rate (int): The sampling-rate of the audio samples...
619
false
ynop/audiomate
append
40,614
LDU_FT/Fortran-FOSS-Programmers/ford/include
LDU_FT
[ "<BEGIN>\n## `line_to_variables`", "Returns a list of variables declared in the provided line of code. The\n line of code should be provided as a string.\n<END>", "<BEGIN>\n## `parse_type`", "Gets variable type, kind, length, and/or derived-type attributes from a\n variable declaration.\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the include 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 include 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...
If the next line is an include statement, inserts the contents of the included file into the pending buffer.
"If the next line is an include statement, inserts the contents\n of the included file into the pending buffer."
76
false
Fortran-FOSS-Programmers/ford
include
40,615
LDU_FT/alephdata/memorious/recurse
LDU_FT
[ "<BEGIN>\n## `size`", "Total operations pending for this crawler\n<END>", "<BEGIN>\n## `read_word`", "OCR a single word from an image. Useful for captchas.\n Image should be pre-processed to remove noise etc.\n<END>", "<BEGIN>\n## `read_char`", "OCR a single character from an image. Useful for capt...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the recurse 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 recurse 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...
Have a stage invoke itself with a modified set of arguments.
"Have a stage invoke itself with a modified set of arguments."
71
false
alephdata/memorious
recurse
40,616
LDU_FT/hyperledger/indy-plenum/init_state_from_ledger
LDU_FT
[ "<BEGIN>\n## `set_status`", "Set the status of the motor to the specified value if not already set.\n<END>", "<BEGIN>\n## `stop`", "Set the status to Status.stopping and also call `onStopping`\n with the provided args and kwargs.\n<END>", "<BEGIN>\n## `next_primary_replica_name_for_master`", "Retur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_state_from_ledger 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 init_state_from_ledger API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
If the trie is empty then initialize it by applying txns from ledger.
"If the trie is empty then initialize it by applying\n txns from ledger."
773
false
hyperledger/indy-plenum
init_state_from_ledger
40,617
LDU_FT/pycontribs/pyrax/update_records
LDU_FT
[ "<BEGIN>\n## `resize`", "Resize the volume to the specified size (in GB).\n<END>", "<BEGIN>\n## `get`", "This additional code is necessary to properly return the 'volume'\n attribute of the instance as a CloudDatabaseVolume object instead of\n a raw dict.\n<END>", "<BEGIN>\n## `_create_body`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_records 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 update_records 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...
Modifies an existing records for a domain.
"Modifies an existing records for a domain."
1,326
true
pycontribs/pyrax
update_records
40,618
LDU_FT/edx/edx-django-release-util/_parse_migrate_output
LDU_FT
[ "<BEGIN>\n## `dump_migration_session_state`", "Serialize a migration session state to yaml using nicer formatting", " Args:\n raw: object to serialize\n Returns: string (of yaml)", " Specifically, this forces the \"output\" member of state step dicts (e.g.\n state[0]['output']) to use block...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_migrate_output 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 _parse_migrate_output API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Args: output: str, output of "manage.py migrate" Returns (succeeded: list(tuple), failed: tuple or None) Both tuples are of the form (app, migration)
"Args:\n output: str, output of \"manage.py migrate\"\n Returns (succeeded: list(tuple), failed: tuple or None)\n Both tuples are of the form (app, migration)"
31
false
edx/edx-django-release-util
_parse_migrate_output
40,619
LDU_FT/koszullab/instaGRAAL/write_fasta
LDU_FT
[ "<BEGIN>\n## `estimate_parameters_rippe`", "estimation by least square optimization of Rippe parameters on the\n experimental data\n :param max_dist_kb:\n :param size_bin_kb:\n<END>", "<BEGIN>\n## `estimate_parameters`", "estimation by least square optimization of Rippe parameters on the\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_fasta 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 write_fasta 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...
Convert an info_frags.txt file into a fasta file given a reference. Optionally adds junction sequences to reflect the possibly missing base pairs between two newly joined scaffolds.
"Convert an info_frags.txt file into a fasta file given a reference.\n Optionally adds junction sequences to reflect the possibly missing base\n pairs between two newly joined scaffolds."
116
false
koszullab/instaGRAAL
write_fasta
40,620
LDU_FT/KennethWilke/PingdomLib/modify
LDU_FT
[ "<BEGIN>\n## `_serializeBooleans`", "Convert all booleans to lowercase strings\n<END>", "<BEGIN>\n## `actions`", "Returns a list of actions (alerts) that have been generated for\n your account.", " Optional Parameters:", " * from -- Only include actions generated later than th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the modify 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 modify 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 ...
Modify a contact. Returns status message Optional Parameters: * name -- Contact name Type: String * email -- Contact email address Type: String * cellphone -- Cellphone number, without the country code part. In ...
"Modify a contact.\n\n Returns status message\n\n Optional Parameters:\n\n * name -- Contact name\n Type: String\n\n * email -- Contact email address\n Type: String\n\n * cellphone -- Cellphone number, without the country code part. In...
177
false
KennethWilke/PingdomLib
modify
40,621
LDU_FT/dunovank/jupyter-themes/install_theme
LDU_FT
[ "<BEGIN>\n## `install_theme`", "Install theme to jupyter_customcss with specified font, fontsize,\n md layout, and toolbar pref\n<END>", "<BEGIN>\n## `infer_theme`", "checks jupyter_config_dir() for text file containing theme name\n (updated whenever user installs a new theme)\n<END>", "<BEGIN>\n## `s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install_theme 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 install_theme 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...
Install theme to jupyter_customcss with specified font, fontsize, md layout, and toolbar pref
"Install theme to jupyter_customcss with specified font, fontsize,\n md layout, and toolbar pref"
38
false
dunovank/jupyter-themes
install_theme
40,622
LDU_FT/andrewsnowden/dota2py/url_map
LDU_FT
[ "<BEGIN>\n## `load_heroes`", "Load hero details from JSON file into memoy\n<END>", "<BEGIN>\n## `load_items`", "Load item details fom JSON file into memory\n<END>", "<BEGIN>\n## `debug_dump`", "Utility while developing to dump message data to play with in the\n interpreter\n<END>", "<BEGIN>\n## `get_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the url_map 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 url_map 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 a URL with get parameters based on the params passed in This is more forgiving than urllib.urlencode and will attempt to coerce non-string objects into strings and automatically UTF-8 encode strings. @param params: HTTP GET parameters
"Return a URL with get parameters based on the params passed in\n This is more forgiving than urllib.urlencode and will attempt to coerce\n non-string objects into strings and automatically UTF-8 encode strings.\n\n @param params: HTTP GET parameters"
45
false
andrewsnowden/dota2py
url_map
40,623
LDU_FT/materials-data-facility/toolbox/custom_transfer
LDU_FT
[ "<BEGIN>\n## `login`", "Log in to Globus services", " Arguments:\n credentials (str or dict): A string filename, string JSON, or dictionary\n with credential and config information.\n By default, looks in ``~/mdf/credentials/globus_login.json``.\n Contains ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the custom_transfer 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 custom_transfer 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...
Perform a Globus Transfer. Arguments: transfer_client (TransferClient): An authenticated Transfer client. source_ep (str): The source Globus Endpoint ID. dest_ep (str): The destination Globus Endpoint ID. path_list (list of tuple of 2 str): A list of tuples containing the paths to t...
"Perform a Globus Transfer.\n\n Arguments:\n transfer_client (TransferClient): An authenticated Transfer client.\n source_ep (str): The source Globus Endpoint ID.\n dest_ep (str): The destination Globus Endpoint ID.\n path_list (list of tuple of 2 str): A list of tuples containing the pat...
173
false
materials-data-facility/toolbox
custom_transfer
40,624
LDU_FT/ministryofjustice/money-to-prisoners-common/lint_javascript
LDU_FT
[ "<BEGIN>\n## `get_form_errors`", "Django form errors do not obey natural field order,\n this template tag returns non-field and field-specific errors\n :param form: the form instance\n<END>", "<BEGIN>\n## `sub_nav`", "Sub-nav displayed below proposition header\n - creates alternate language links if ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lint_javascript 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 lint_javascript 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...
Tests javascript for code and style errors
"Tests javascript for code and style errors"
84
false
ministryofjustice/money-to-prisoners-common
lint_javascript
40,625
LDU_FT/ssalentin/plip/visualize_in_pymol
LDU_FT
[ "<BEGIN>\n## `process_pdb`", "Analysis of a single PDB file. Can generate textual reports XML, PyMOL session files and images as output.\n<END>", "<BEGIN>\n## `download_structure`", "Given a PDB ID, downloads the corresponding PDB structure.\n Checks for validity of ID and handles error while downloading.\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visualize_in_pymol 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 visualize_in_pymol 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...
Visualizes the protein-ligand pliprofiler at one site in PyMOL.
"Visualizes the protein-ligand pliprofiler at one site in PyMOL."
176
false
ssalentin/plip
visualize_in_pymol
40,626
LDU_FT/alpacahq/pylivetrader/_deprecated_getitem_method
LDU_FT
[ "<BEGIN>\n## `_deprecated_getitem_method`", "Create a deprecated ``__getitem__`` method that tells users to use\n getattr instead.", " Parameters\n ----------\n name : str\n The name of the object in the warning message.\n attrs : iterable[str]\n The set of allowed attributes.", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _deprecated_getitem_method API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _deprecated_getitem_method API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Create a deprecated ``__getitem__`` method that tells users to use getattr instead. Parameters ---------- name : str The name of the object in the warning message. attrs : iterable[str] The set of allowed attributes. Returns ------- __getitem__ : callable[any, str] ...
"Create a deprecated ``__getitem__`` method that tells users to use\n getattr instead.\n\n Parameters\n ----------\n name : str\n The name of the object in the warning message.\n attrs : iterable[str]\n The set of allowed attributes.\n\n Returns\n -------\n __getitem__ : callable[a...
81
false
alpacahq/pylivetrader
_deprecated_getitem_method
40,627
LDU_FT/bioasp/caspo/predictions
LDU_FT
[ "<BEGIN>\n## `from_str`", "Creates a literal from a string", " Parameters\n ----------\n string : str\n If the string starts with '!', it's interpreted as a negated variable", " Returns\n -------\n caspo.core.literal.Literal\n Created object inst...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predictions 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 predictions 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...
Returns a `pandas.DataFrame`_ with the weighted average predictions and variance of all readouts for each possible clampings in the given experimental setup. For each logical network the weight corresponds to the number of networks having the same behavior. Parameters ---------- ...
"Returns a `pandas.DataFrame`_ with the weighted average predictions and variance of all readouts for each possible\n clampings in the given experimental setup.\n For each logical network the weight corresponds to the number of networks having the same behavior.\n\n Parameters\n ----------\n...
366
false
bioasp/caspo
predictions
40,628
LDU_FT/Nukesor/pueue/remove
LDU_FT
[ "<BEGIN>\n## `clean`", "Clean queue items from a previous session.", " In case a previous session crashed and there are still some running\n entries in the queue ('running', 'stopping', 'killing'), we clean those\n and enqueue them again.\n<END>", "<BEGIN>\n## `clear`", "Remove all comp...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove 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 remove 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 ...
Remove a key from the queue, return `False` if no such key exists.
"Remove a key from the queue, return `False` if no such key exists."
104
false
Nukesor/pueue
remove
40,629
LDU_FT/blockchain/api-v1-client-python/get_blocks
LDU_FT
[ "<BEGIN>\n## `get_ticker`", "Call the 'ticker' method and return a dictionary\n of :class:`Currency` objects.", " :param str api_code: Blockchain.info API code (optional)\n :return: a dictionary in the format of ccy_symbol(str):currency(:class:`Currency`)\n<END>", "<BEGIN>\n## `to_btc`", "Call the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_blocks 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_blocks 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 a list of blocks for a specific day or mining pool. Both parameters are optional but at least one is required. :param int time: time in milliseconds :param str pool_name: name of the mining pool :param str api_code: Blockchain.info API code (optional) :return: an array of :class:`SimpleBlock` o...
"Get a list of blocks for a specific day or mining pool.\n Both parameters are optional but at least one is required.\n\n :param int time: time in milliseconds\n :param str pool_name: name of the mining pool\n :param str api_code: Blockchain.info API code (optional)\n :return: an array of :class:`SimpleB...
78
false
blockchain/api-v1-client-python
get_blocks
40,630
LDU_FT/tonybaloney/wily/exists
LDU_FT
[ "<BEGIN>\n## `revisions`", "Get the list of revisions.", " :param path: the path to target.\n :type path: ``str``", " :param max_revisions: the maximum number of revisions.\n :type max_revisions: ``int``", " :return: A list of revisions.\n :rtype: ``list`` of :cla...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exists 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 exists 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 ...
Check whether the .wily/ directory exists. :param config: The configuration :type config: :class:`wily.config.WilyConfig` :return: Whether the .wily directory exists :rtype: ``boolean``
"Check whether the .wily/ directory exists.\n\n :param config: The configuration\n :type config: :class:`wily.config.WilyConfig`\n\n :return: Whether the .wily directory exists\n :rtype: ``boolean``"
174
false
tonybaloney/wily
exists
40,631
LDU_FT/jjkester/moneybird-python/_process_response
LDU_FT
[ "<BEGIN>\n## `authorize_url`", "Returns the URL to which the user can be redirected to authorize your application to access his/her account. It\n will also return the state which can be used for CSRF protection. A state is generated if not passed to this\n method.", " Example:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_response 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 _process_response 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...
Processes an API response. Raises an exception when appropriate. The exception that will be raised is MoneyBird.APIError. This exception is subclassed so implementing programs can easily react appropriately to different exceptions. The following subclasses of MoneyBird.APIError are likely to b...
"Processes an API response. Raises an exception when appropriate.\n\n The exception that will be raised is MoneyBird.APIError. This exception is subclassed so implementing programs\n can easily react appropriately to different exceptions.\n\n The following subclasses of MoneyBird.APIError are likel...
29
false
jjkester/moneybird-python
_process_response
40,632
LDU_FT/juju/python-libjuju/_run_command
LDU_FT
[ "<BEGIN>\n## `get_charm_series`", "Inspects the charm directory at ``path`` and returns a default\n series from its metadata.yaml (the first item in the 'series' list).", " Returns None if no series can be determined.\n<END>", "<BEGIN>\n## `cares_about`", "Return True if this observer \"cares about\" ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _run_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _run_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 extr...
Run a command remotely via SSH. :param object ssh: The SSHClient :param str cmd: The command to execute :param list cmd: The `shlex.split` command to execute :param bool pty: Whether to allocate a pty :return: tuple: The stdout and stderr of the command execution :raise...
"Run a command remotely via SSH.\n\n :param object ssh: The SSHClient\n :param str cmd: The command to execute\n :param list cmd: The `shlex.split` command to execute\n :param bool pty: Whether to allocate a pty\n\n :return: tuple: The stdout and stderr of the command execution\n ...
672
false
juju/python-libjuju
_run_command
40,633
LDU_FT/WhereSoftwareGoesToDie/pymarquise/send_extended
LDU_FT
[ "<BEGIN>\n## `close`", "Close the Marquise context, ensuring data is flushed and\n spool files are closed.", " This should always be closed explicitly, as there's no\n guarantees that it will happen when the instance is deleted.\n<END>", "<BEGIN>\n## `send_simple`", "Queue a simple data...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_extended 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 send_extended 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...
Queue an extended datapoint (ie. a string), return True/False for success. Arguments: address -- uint64_t representing a unique metric. timestamp -- uint64_t representing number of nanoseconds (10^-9) since epoch. value -- string value being stored.
"Queue an extended datapoint (ie. a string), return True/False for success.\n\n Arguments:\n address -- uint64_t representing a unique metric.\n timestamp -- uint64_t representing number of nanoseconds (10^-9) since epoch.\n value -- string value being stored."
20
false
WhereSoftwareGoesToDie/pymarquise
send_extended
40,634
LDU_FT/iron-lion/nJSD/parse_gene_set
LDU_FT
[ "<BEGIN>\n## `njsd_all`", "Compute transcriptome-wide nJSD between reference and query expression profiles.\n Attribute:\n network (str): File path to a network file.\n ref (str): File path to a reference expression file.\n query (str): File path to a query expression file.\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_gene_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. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_gene_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. The ex...
Parses gene set file and returns a (group)-(gene set) dictionary. Attribute: gene_set_fp (str): File path to a gene set file.
"Parses gene set file and returns a (group)-(gene set) dictionary.\r\n Attribute:\r\n gene_set_fp (str): File path to a gene set file."
20
false
iron-lion/nJSD
parse_gene_set
40,635
LDU_FT/ghukill/pyfc4/_prep_binary_mimetype
LDU_FT
[ "<BEGIN>\n## `_post_create`", "resource.create() hook", "\t\tFor PCDM Collections, post creation, also create\n<END>", "<BEGIN>\n## `get_related`", "get ore:aggregates for this resource, optionally retrieving resource payload", "\t\tArgs:\n\t\t\tretrieve (bool): if True, issue .refresh() on resource there...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prep_binary_mimetype 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 _prep_binary_mimetype API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Sets Content-Type header based on headers and/or self.binary.mimetype values Implicitly favors Content-Type header if set Args: None Returns: None: sets attributes in self.binary and headers
"Sets Content-Type header based on headers and/or self.binary.mimetype values\n\t\tImplicitly favors Content-Type header if set\n\n\t\tArgs:\n\t\t\tNone\n\n\t\tReturns:\n\t\t\tNone: sets attributes in self.binary and headers"
203
false
ghukill/pyfc4
_prep_binary_mimetype
40,636
LDU_FT/jhuapl-boss/intern/get_neuroglancer_link
LDU_FT
[ "<BEGIN>\n## `list_groups`", "Get the groups the logged in user is a member of.", " Optionally filter by 'member' or 'maintainer'.", " Args:\n filtr (string|None): ['member'|'maintainer'] or defaults to None.\n url_prefix (string): Protocol + host such as https://api.thebos...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_neuroglancer_link 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_neuroglancer_link API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Get a neuroglancer link of the cutout specified from the host specified in the remote configuration step. Args: resource (intern.resource.Resource): Resource compatible with cutout operations. resolution (int): 0 indicates native resolution. x_range (list[in...
"Get a neuroglancer link of the cutout specified from the host specified in the remote configuration step. \n\n Args:\n resource (intern.resource.Resource): Resource compatible with cutout operations.\n resolution (int): 0 indicates native resolution.\n x_range (l...
451
false
jhuapl-boss/intern
get_neuroglancer_link
40,637
LDU_FT/fboender/ansible-cmdb/write_render_callable
LDU_FT
[ "<BEGIN>\n## `tokenize`", "Parse a string expression into a set of tokens that can be used as a path\n into a Python datastructure.\n<END>", "<BEGIN>\n## `jsonxs`", "Get, set, delete values in a JSON structure. `expr` is a JSONpath-like\n expression pointing to the desired value. `action` determines the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_render_callable 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 write_render_callable API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
write a top-level render callable. this could be the main render() method or that of a top-level def.
"write a top-level render callable.\n\n this could be the main render() method or that of a top-level def."
271
false
fboender/ansible-cmdb
write_render_callable
40,638
LDU_FT/ministryofjustice/money-to-prisoners-common/authenticate
LDU_FT
[ "<BEGIN>\n## `get_form_errors`", "Django form errors do not obey natural field order,\n this template tag returns non-field and field-specific errors\n :param form: the form instance\n<END>", "<BEGIN>\n## `sub_nav`", "Sub-nav displayed below proposition header\n - creates alternate language links if ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate 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 authenticate 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: a dict with: pk: the pk of the user token: dict containing all the data from the api (access_token, refresh_token, expires_at etc.) user_data: dict containing user data such as first_name, last_name etc. if the authentication s...
"Returns:\n a dict with:\n pk: the pk of the user\n token: dict containing all the data from the api\n (access_token, refresh_token, expires_at etc.)\n user_data: dict containing user data such as\n first_name, last_name etc.\n if the authenti...
84
false
ministryofjustice/money-to-prisoners-common
authenticate
40,639
LDU_FT/aliyun/aliyun-odps-python-sdk/read_little_endian64
LDU_FT
[ "<BEGIN>\n## `_process_worker`", "Evaluates calls from call_queue and places the results in result_queue.", " This worker is run in a separate process.", " Args:\n call_queue: A multiprocessing.Queue of _CallItems that will be read and\n evaluated by the worker.\n result_queue: ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_little_endian64 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 read_little_endian64 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Interprets the next 8 bytes of the stream as a little-endian encoded, unsiged 64-bit integer, and returns that integer.
"Interprets the next 8 bytes of the stream as a little-endian\n encoded, unsiged 64-bit integer, and returns that integer."
1,057
true
aliyun/aliyun-odps-python-sdk
read_little_endian64
40,640
LDU_FT/etal/biofrills/sequence_weights
LDU_FT
[ "<BEGIN>\n## `read_logodata`", "Get weblogo data for a sequence alignment.", " Returns a list of tuples: (posn, letter_counts, entropy, weight)\n<END>", "<BEGIN>\n## `aln2logodata`", "Get weblogo data for an alignment object.", " Returns a list of tuples: (posn, letter_counts, entropy, weight)\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sequence_weights 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 sequence_weights 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 ...
Weight aligned sequences to emphasize more divergent members. Returns a list of floating-point numbers between 0 and 1, corresponding to the proportional weight of each sequence in the alignment. The first list is the weight of the first sequence in the alignment, and so on. Scaling schemes: -...
"Weight aligned sequences to emphasize more divergent members.\n\n Returns a list of floating-point numbers between 0 and 1, corresponding to\n the proportional weight of each sequence in the alignment. The first list\n is the weight of the first sequence in the alignment, and so on.\n\n Scaling schemes:\n ...
81
false
etal/biofrills
sequence_weights
40,641
LDU_FT/xtream1101/web-wrapper/reset
LDU_FT
[ "<BEGIN>\n## `get_image_dimension`", "Return a tuple that contains (width, height)\n Pass in a url to an image and find out its size without loading the whole file\n If the image wxh could not be found, the tuple will contain `None` values\n<END>", "<BEGIN>\n## `screenshot`", "This can be used n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset 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 reset 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...
Kills old session and creates a new one with no proxies or headers
"Kills old session and creates a new one with no proxies or headers"
39
false
xtream1101/web-wrapper
reset
40,642
LDU_FT/bheinzerling/pyrouge/__clean_rouge_args
LDU_FT
[ "<BEGIN>\n## `split`", "Splits text and returns a list of the resulting sentences.\n<END>", "<BEGIN>\n## `xml_equal`", "Parse xml and convert to a canonical string representation so we don't\n have to worry about semantically meaningless differences\n<END>", "<BEGIN>\n## `process`", "Apply function to ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __clean_rouge_args 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 __clean_rouge_args 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...
Remove enclosing quotation marks, if any.
"Remove enclosing quotation marks, if any."
45
false
bheinzerling/pyrouge
__clean_rouge_args
40,643
LDU_FT/ASKIDA/Selenium2LibraryExtension/element_value_should_contain
LDU_FT
[ "<BEGIN>\n## `wait_until_element_has_focus`", "Waits until the element identified by `locator` has focus.\n\t\tYou might rather want to use `Element Focus Should Be Set`", "\t\t| *Argument* | *Description* | *Example* |\n\t\t| locator | Selenium 2 element locator | id=my_id |\n\t\t| timeout | maximum time to wa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the element_value_should_contain API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the element_value_should_contain API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Verifies the element identified by `locator` contains the expected value. | *Argument* | *Description* | *Example* | | locator | Selenium 2 element locator | id=my_id | | expected | expected value | Slim Shady |
"Verifies the element identified by `locator` contains the expected value.\n\n\t\t| *Argument* | *Description* | *Example* |\n\t\t| locator | Selenium 2 element locator | id=my_id |\n\t\t| expected | expected value | Slim Shady |"
76
false
ASKIDA/Selenium2LibraryExtension
element_value_should_contain
40,644
LDU_FT/NetworkAutomation/jaide/write_validate
LDU_FT
[ "<BEGIN>\n## `check_instance`", "Wrapper that tests the type of _session.", " Purpose: This decorator function is used by all functions within\n | the Jaide class that interact with a device to ensure the\n | proper session type is in use. If it is not, it will\n | ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_validate 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 write_validate 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...
Validate the -w option. Purpose: Validates the `-w`|`--write` option. Two arguments are expected. | The first is the mode, which must be in ['s', 'single', 'm', | 'multiple']. The mode determins if we're writing to one file for | all device output, or to a separate file for each d...
"Validate the -w option.\n\n Purpose: Validates the `-w`|`--write` option. Two arguments are expected.\n | The first is the mode, which must be in ['s', 'single', 'm',\n | 'multiple']. The mode determins if we're writing to one file for\n | all device output, or to a separate file for ...
191
false
NetworkAutomation/jaide
write_validate
40,645
LDU_FT/jelmer/python-fastimport/read_bytes
LDU_FT
[ "<BEGIN>\n## `check_path`", "Check that a path is legal.", " :return: the path if all is OK\n :raise ValueError: if the path is illegal\n<END>", "<BEGIN>\n## `format_path`", "Format a path in utf8, quoting it if necessary.\n<END>", "<BEGIN>\n## `format_who_when`", "Format a tuple of name,email,sec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_bytes 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 read_bytes 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...
Read a given number of bytes from the input stream. Throws MissingBytes if the bytes are not found. Note: This method does not read from the line buffer. :return: a string
"Read a given number of bytes from the input stream.\n\n Throws MissingBytes if the bytes are not found.\n\n Note: This method does not read from the line buffer.\n\n :return: a string"
100
false
jelmer/python-fastimport
read_bytes
40,646
LDU_FT/cstatz/maui/slice_global_to_local
LDU_FT
[ "<BEGIN>\n## `slice_local_to_global`", "Calculate start and stop index for mapping sliced index", " :param index_slice: sliced index?\n :param axis: current axis to calculate\n :return: slice object as calculated\n<END>", "<BEGIN>\n## `local_to_global`", "Calculate local index from glob...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the slice_global_to_local 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 slice_global_to_local API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Calculate start and stop index for mapping sliced index :param index_slice: sliced index? :param axis: current axis to calculate :return: slice object as calculated
"Calculate start and stop index for mapping sliced index\n\n :param index_slice: sliced index?\n :param axis: current axis to calculate\n :return: slice object as calculated"
54
false
cstatz/maui
slice_global_to_local
40,647
LDU_FT/ValvePython/steam/get_changes_since
LDU_FT
[ "<BEGIN>\n## `generate_twofactor_code_for_time`", "Generate Steam 2FA code for timestamp", " :param shared_secret: authenticator shared secret\n :type shared_secret: bytes\n :param timestamp: timestamp to use, if left out uses current time\n :type timestamp: int\n :return: steam two factor code\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_changes_since 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_changes_since 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 changes since a change number :param change_number: change number to use as stating point :type change_number: :class:`int` :param app_changes: whether to inclued app changes :type app_changes: :class:`bool` :param package_changes: whether to inclued package changes ...
"Get changes since a change number\n\n :param change_number: change number to use as stating point\n :type change_number: :class:`int`\n :param app_changes: whether to inclued app changes\n :type app_changes: :class:`bool`\n :param package_changes: whether to inclued package changes\n...
385
false
ValvePython/steam
get_changes_since
40,648
LDU_FT/AgeOfLearning/coeus-unity-python-framework/await_transform_exists
LDU_FT
[ "<BEGIN>\n## `await_transform_exists`", "Waits for a single transform to exist based on does_exist.\n :param cli:\n :param transform_path:\n :param does_exist: Whether or not to await for exist state (True | False)\n :param timeout_seconds: How long until this returns with failure\n :return: bool\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the await_transform_exists 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 await_transform_exists API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Waits for a single transform to exist based on does_exist. :param cli: :param transform_path: :param does_exist: Whether or not to await for exist state (True | False) :param timeout_seconds: How long until this returns with failure :return: bool
"Waits for a single transform to exist based on does_exist.\n :param cli:\n :param transform_path:\n :param does_exist: Whether or not to await for exist state (True | False)\n :param timeout_seconds: How long until this returns with failure\n :return: bool"
38
false
AgeOfLearning/coeus-unity-python-framework
await_transform_exists
40,649
LDU_FT/brechtm/rinohtype/adaptive_filter
LDU_FT
[ "<BEGIN>\n## `preprocess_tree`", "Transform internal refuri targets in reference nodes to refids and\n transform footnote rubrics so that they do not end up in the output\n<END>", "<BEGIN>\n## `_size_columns`", "Calculate the table's column sizes constrained by:", " - requested (absolute, rela...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the adaptive_filter 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 adaptive_filter 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...
Applying non-standart filters (e.g. adaptive selection) `strategy` may be one of following types: - string - find and use strategy with this name - dict - find and use strategy by field 'name' of this dict and use it with this dict as configuration - callable - use this calla...
"Applying non-standart filters (e.g. adaptive selection)\n\n `strategy` may be one of following types:\n\n - string - find and use strategy with this name\n - dict - find and use strategy by field 'name' of this dict\n and use it with this dict as configuration\n - callable - use th...
310
false
brechtm/rinohtype
adaptive_filter
40,650
LDU_FT/Parallels/artifactory/rest_get_stream
LDU_FT
[ "<BEGIN>\n## `encode_properties`", "Performs encoding of url parameters from dictionary to a string. It does\n not escape backslash because it is not needed.", " See: http://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-SetItemProperties\n<END>", "<BEGIN>\n## `splitroot`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rest_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 e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rest_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 e...
Perform a chunked GET request to url with optional authentication This is specifically to download files.
"Perform a chunked GET request to url with optional authentication\n This is specifically to download files."
27
false
Parallels/artifactory
rest_get_stream
40,651
LDU_FT/jadolg/rocketchat_API/groups_create
LDU_FT
[ "<BEGIN>\n## `directory`", "Search by users or channels on all server.\n<END>", "<BEGIN>\n## `spotlight`", "Searches for users or rooms that are visible to the user.\n<END>", "<BEGIN>\n## `users_info`", "Gets a user’s information, limited to the caller’s permissions.\n<END>", "<BEGIN>\n## `chat_search`"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the groups_create 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 groups_create 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...
Creates a new private group, optionally including users, only if you’re part of the group.
"Creates a new private group, optionally including users, only if you’re part of the group."
82
false
jadolg/rocketchat_API
groups_create
40,652
LDU_FT/GiulioRossetti/dynetx/interactions_iter
LDU_FT
[ "<BEGIN>\n## `node_link_data`", "Return data in node-link format that is suitable for JSON serialization\n and use in Javascript documents.", " Parameters\n ----------\n G : DyNetx graph", " attrs : dict\n A dictionary that contains three keys 'id', 'source' and 'target'.\n The c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interactions_iter 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 interactions_iter 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...
Return an iterator over the interaction present in a given snapshot. Edges are returned as tuples in the order (node, neighbor). Parameters ---------- nbunch : iterable container, optional (default= all nodes) A container of nodes. The container will be iterated ...
"Return an iterator over the interaction present in a given snapshot.\n\n Edges are returned as tuples\n in the order (node, neighbor).\n\n Parameters\n ----------\n nbunch : iterable container, optional (default= all nodes)\n A container of nodes. The container will be it...
349
false
GiulioRossetti/dynetx
interactions_iter
40,653
LDU_FT/inveniosoftware/invenio-search/register_mappings
LDU_FT
[ "<BEGIN>\n## `index`", "Query Elasticsearch using Invenio query syntax.\n<END>", "<BEGIN>\n## `templates`", "Generate a dictionary with template names and file paths.\n<END>", "<BEGIN>\n## `register_mappings`", "Register mappings from a package under given alias.", " :param alias: The alias.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_mappings 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 register_mappings 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...
Register mappings from a package under given alias. :param alias: The alias. :param package_name: The package name.
"Register mappings from a package under given alias.\n\n :param alias: The alias.\n :param package_name: The package name."
52
false
inveniosoftware/invenio-search
register_mappings
40,654
LDU_FT/ashmastaflash/kal-wrapper/build_kal_scan_band_string
LDU_FT
[ "<BEGIN>\n## `scan_band`", "Run Kalibrate for a band.", " Supported keyword arguments:\n gain -- Gain in dB\n device -- Index of device to be used\n error -- Initial frequency error in ppm\n<END>", "<BEGIN>\n## `scan_channel`", "Run Kalibrate.", " Supported keyword...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_kal_scan_band_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_kal_scan_band_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Return string for CLI invocation of kal, for band scan.
"Return string for CLI invocation of kal, for band scan."
25
false
ashmastaflash/kal-wrapper
build_kal_scan_band_string
40,655
LDU_FT/log2timeline/dfdatetime/CopyToDateTimeString
LDU_FT
[ "<BEGIN>\n## `_GetNormalizedTimestamp`", "Retrieves the normalized timestamp.", " Returns:\n decimal.Decimal: normalized timestamp, which contains the number of\n seconds since January 1, 1970 00:00:00 and a fraction of second used\n for increased precision, or None if the normalized t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the CopyToDateTimeString 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 CopyToDateTimeString API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Copies the time elements and fraction of second to a string. Args: time_elements_tuple (tuple[int, int, int, int, int, int]): time elements, contains year, month, day of month, hours, minutes and seconds. fraction_of_second (decimal.Decimal): fraction of second, which must be a ...
"Copies the time elements and fraction of second to a string.\n\n Args:\n time_elements_tuple (tuple[int, int, int, int, int, int]):\n time elements, contains year, month, day of month, hours, minutes and\n seconds.\n fraction_of_second (decimal.Decimal): fraction of second, which must be...
244
false
log2timeline/dfdatetime
CopyToDateTimeString
40,656
LDU_FT/kodexlab/reliure/get_ordered_options
LDU_FT
[ "<BEGIN>\n## `add_field`", "Add a named field to the schema.", " .. Warning:: the field name should not contains spaces and should not\n start with an underscore.", " :param name: name of the new field\n :type name: str\n :param field: type instance for the field \n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ordered_options 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_ordered_options 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...
:param hidden: whether to return hidden option :type hidden: bool :returns: **ordered** list of options pre-serialised (as_dict) :rtype: list `[opt_dict, ...]`
":param hidden: whether to return hidden option\n :type hidden: bool\n :returns: **ordered** list of options pre-serialised (as_dict)\n :rtype: list `[opt_dict, ...]`"
243
false
kodexlab/reliure
get_ordered_options
40,657
LDU_FT/ArabellaTech/aa-intercom/push_not_registered_user_data_task
LDU_FT
[ "<BEGIN>\n## `get_intercom_data`", "Specify the data sent to Intercom API according to event type\n<END>", "<BEGIN>\n## `get_intercom_data`", "Specify the user data sent to Intercom API\n<END>", "<BEGIN>\n## `upload_intercom_user`", "Creates or updates single user account on intercom\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the push_not_registered_user_data_task API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the push_not_registered_user_data_task API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its...
Async: push_not_registered_user_data_task.apply_async(args=[data], countdown=100)
"Async: push_not_registered_user_data_task.apply_async(args=[data], countdown=100)"
16
false
ArabellaTech/aa-intercom
push_not_registered_user_data_task
40,658
LDU_FT/fulfilio/python-magento/assignproduct
LDU_FT
[ "<BEGIN>\n## `info`", "Retrieve customer data", " :param id: ID of customer\n :param attributes: `List` of attributes needed\n<END>", "<BEGIN>\n## `search`", "Retrieve order list by options using search api. Using this result can\n be paginated", " :param options: Dictionary of...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assignproduct 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 assignproduct 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...
Assign product to a category :param category_id: ID of a category :param product: ID or Code of the product :param position: Position of product in category :return: boolean
"Assign product to a category\n\n :param category_id: ID of a category\n :param product: ID or Code of the product\n :param position: Position of product in category\n\n :return: boolean"
143
false
fulfilio/python-magento
assignproduct
40,659
LDU_FT/pysal/spglm/resid_dev
LDU_FT
[ "<BEGIN>\n## `fit`", "Method that fits a model with a particular estimation routine.", " Parameters\n ----------", " ini_betas : array\n k*1, initial coefficient values, including constant.\n Default is None, which calculates initial value...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resid_dev 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 resid_dev 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""" Gamma deviance residuals Parameters ----------- endog : array-like Endogenous response variable mu : array-like Fitted mean response variable scale : float, optional An optional argument to divide the residuals by scale. The defau...
"r\"\"\"\n Gamma deviance residuals\n\n Parameters\n -----------\n endog : array-like\n Endogenous response variable\n mu : array-like\n Fitted mean response variable\n scale : float, optional\n An optional argument to divide the residuals by sc...
161
false
pysal/spglm
resid_dev
40,660
LDU_FT/greenelab/PathCORE-T/weight_by_edge_odds_ratios
LDU_FT
[ "<BEGIN>\n## `_load_significant_pathways_file`", "Read in the significant pathways file as a\n pandas.DataFrame.\n<END>", "<BEGIN>\n## `_pathway_feature_permutation`", "Permute the pathways across features for one side in the\n network. Used in `permute_pathways_across_features`", " Parameters\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the weight_by_edge_odds_ratios API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the weight_by_edge_odds_ratios API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Applied during the permutation test. Update the edges in the network to be weighted by their odds ratios. The odds ratio measures how unexpected the observed edge weight is based on the expected weight. Parameters ----------- edges_expected_weight : list(tup(int, int), f...
"Applied during the permutation test. Update the edges in the\n network to be weighted by their odds ratios. The odds ratio measures\n how unexpected the observed edge weight is based on the expected\n weight.\n\n Parameters\n -----------\n edges_expected_weight : list(tup(int,...
82
false
greenelab/PathCORE-T
weight_by_edge_odds_ratios
40,661
LDU_FT/nimeshkverma/mongo_joins/generate_join_docs_list
LDU_FT
[ "<BEGIN>\n## `change_dict_keys`", "Prefixes 'L_'/'R_' to the collection keys\n :param data_dict: dictionary which is to be altered\n :type data_dict: dict", " :param prefix: prefix to be attached before every key\n :type prefix: string", " :return dict_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_join_docs_list 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 generate_join_docs_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Helper function for merge_join_docs :param left_collection_list: Left Collection to be joined :type left_collection_list: MongoCollection :param right_collection_list: Right Collection to be joined :type right_collection_list: MongoCollection :return joine...
"Helper function for merge_join_docs\n :param left_collection_list: Left Collection to be joined\n :type left_collection_list: MongoCollection\n\n :param right_collection_list: Right Collection to be joined\n :type right_collection_list: MongoCollection\n\n :retu...
40
false
nimeshkverma/mongo_joins
generate_join_docs_list
40,662
LDU_FT/iterative/dvc/_parsed_cmd
LDU_FT
[ "<BEGIN>\n## `_get_remote`", "The config file is stored in a way that allows you to have a\n cache for each remote.", " This is needed when specifying external outputs\n (as they require you to have an external cache location).", " Imagine a config file like the following:", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parsed_cmd 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 _parsed_cmd 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...
We need to take into account two cases: - ['python code.py foo bar']: Used mainly with dvc as a library - ['echo', 'foo bar']: List of arguments received from the CLI The second case would need quoting, as it was passed through: dvc run echo "foo bar"
"We need to take into account two cases:\n\n - ['python code.py foo bar']: Used mainly with dvc as a library\n - ['echo', 'foo bar']: List of arguments received from the CLI\n\n The second case would need quoting, as it was passed through:\n dvc run echo \"foo bar\""
269
false
iterative/dvc
_parsed_cmd
40,663
LDU_FT/agoragames/leaderboard-python/delete_leaderboard_named
LDU_FT
[ "<BEGIN>\n## `pool`", "Fetch a redis conenction pool for the unique combination of host\n and port. Will create a new one if there isn't one already.\n<END>", "<BEGIN>\n## `rank_member`", "Rank a member in the leaderboard.", " @param member [String] Member name.\n @param score [float] M...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_leaderboard_named API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_leaderboard_named API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Delete the named leaderboard. @param leaderboard_name [String] Name of the leaderboard.
"Delete the named leaderboard.\n\n @param leaderboard_name [String] Name of the leaderboard."
180
false
agoragames/leaderboard-python
delete_leaderboard_named
40,664
LDU_FT/cmcdowell/weatherpy/_parse_last_build_date
LDU_FT
[ "<BEGIN>\n## `_get_xml`", "Returns the channel element of the RSS feed\n<END>", "<BEGIN>\n## `_parse_text`", "Returns the text, as a string, of the specified element in the specified\n namespace of the RSS feed.", " Takes element_name and namespace as strings.\n<END>", "<BEGIN>\n## `_parse_a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_last_build_date 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 _parse_last_build_date 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 the last build date of the RSS feed as datetime.datetime object. Returned datetime is not time-zone aware
"Returns the last build date of the RSS feed as datetime.datetime\n object. Returned datetime is not time-zone aware"
19
false
cmcdowell/weatherpy
_parse_last_build_date
40,665
LDU_FT/mailund/statusbar/format_summary
LDU_FT
[ "<BEGIN>\n## `set_progress_brackets`", "Set brackets to set around a progress bar.\n<END>", "<BEGIN>\n## `add_progress`", "Add a section of progress to the progressbar.", " The progress is captured by \"count\" and displayed as a fraction\n of the statusbar width proportional to this count ove...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_summary 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 format_summary 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...
Generate a summary string for the progress bar.
"Generate a summary string for the progress bar."
26
false
mailund/statusbar
format_summary
40,666
LDU_FT/developmentseed/landsat-util/georgian_day
LDU_FT
[ "<BEGIN>\n## `_read_cmap`", "reads the colormap from a text file given in settings.py.\n See colormap_cubehelix.txt. File must contain 256 RGB values\n<END>", "<BEGIN>\n## `data_collector`", "Buffers n bytes of data.", " :param iterable:\n Could be a list, generator or string\n :type ite...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the georgian_day 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 georgian_day 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 the number of days passed since the start of the year. :param date: The string date with this format %m/%d/%Y :type date: String :returns: int :example: >>> georgian_day('05/1/2015') 121
"Returns the number of days passed since the start of the year.\n\n :param date:\n The string date with this format %m/%d/%Y\n :type date:\n String\n\n :returns:\n int\n\n :example:\n >>> georgian_day('05/1/2015')\n 121"
152
false
developmentseed/landsat-util
georgian_day
40,667
LDU_FT/Celeo/Pycord/set_member_roles
LDU_FT
[ "<BEGIN>\n## `parse`", "Gets the enum for the op code", " Args:\n op: value of the op code (will be casted to int)", " Returns:\n The enum that matches the op code\n<END>", "<BEGIN>\n## `run`", "Runs the thread", " This method handles sending the heartbeat to t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_member_roles 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 set_member_roles 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 ...
Set the member's roles This method takes a list of **role ids** that you want the user to have. This method will **overwrite** all of the user's current roles with the roles in the passed list of roles. When calling this method, be sure that the list of roles that you're setting ...
"Set the member's roles\n\n This method takes a list of **role ids** that you want the user to have. This\n method will **overwrite** all of the user's current roles with the roles in\n the passed list of roles.\n\n When calling this method, be sure that the list of roles that you're setting...
108
false
Celeo/Pycord
set_member_roles
40,668
LDU_FT/pylast/pylast/get_top_tracks
LDU_FT
[ "<BEGIN>\n## `cleanup_nodes`", "Remove text nodes containing only whitespace\n<END>", "<BEGIN>\n## `_collect_nodes`", "Returns a sequence of dom.Node objects about as close to limit as possible\n<END>", "<BEGIN>\n## `_extract_all`", "Extracts all the values from the xml string. returning a list.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_top_tracks 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 get_top_tracks 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...
Returns the most played tracks as a sequence of TopItem objects.
"Returns the most played tracks as a sequence of TopItem objects."
146
false
pylast/pylast
get_top_tracks
40,669
LDU_FT/note35/sinon/once
LDU_FT
[ "<BEGIN>\n## `__remove_args_first_item`", "# Todo: finding a better solution\n This is a dirty solution\n Because the first argument of inspectors' args will be itself\n For current implementation, it should be ignore\n<END>", "<BEGIN>\n## `lastCall`", "Return: SpyCall object for this spy...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the once 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 once 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...
Inspected function should be called one time Return: self
"Inspected function should be called one time\n Return: self"
162
false
note35/sinon
once
40,670
LDU_FT/olt/scriptine/owner
LDU_FT
[ "<BEGIN>\n## `autocmds`", "Parse and run commands.", " Will search ``namespace`` for functions that end with ``command_suffix``.", " :param namespace: the namespace/module to search for commands\n :param args: the arguments for the command parser. defaults to\n :data:`sys.argv`\n :param com...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the owner 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 owner 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...
r""" Return the name of the owner of this file or directory. This follows symbolic links. On Windows, this returns a name of the form ur'DOMAIN\User Name'. On Windows, a group can own a file or directory.
"r\"\"\" Return the name of the owner of this file or directory.\n\n This follows symbolic links.\n\n On Windows, this returns a name of the form ur'DOMAIN\\User Name'.\n On Windows, a group can own a file or directory."
84
false
olt/scriptine
owner
40,671
LDU_FT/revelc/pyaccumulo/listConstraints
LDU_FT
[ "<BEGIN>\n## `following_key`", "Returns the key immediately following the input key - based on the Java implementation found in\n org.apache.accumulo.core.data.Key, function followingKey(PartialKey part)\n :param key: the key to be followed\n :return: a key that immediately follows the input key\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listConstraints 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 listConstraints 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...
Parameters: - login - tableName
"Parameters:\n - login\n - tableName"
110
false
revelc/pyaccumulo
listConstraints
40,672