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/bdastur/rex/parse_multi_lrvalue_string
LDU_FT
[ "<BEGIN>\n## `reformat_pattern`", "Apply the filters on user pattern to generate a new regular expression\n pattern.\n A user provided variable, should start with an alphabet, can be\n alphanumeric and can have _.\n<END>", "<BEGIN>\n## `populate_resobj`", "Popuate the result object and append it to t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_multi_lrvalue_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 parse_multi_lrvalue_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...
The function is an extension of the parse_lrvalue_string() API. The function takes a multi-line output/string of the format "Category: xyz name: foo id: bar Category: abc name: foox id: barx : " It splits the output based on the splitstring passed as argument (eg...
"The function is an extension of the parse_lrvalue_string() API.\n The function takes a multi-line output/string of the format\n \"Category: xyz\n name: foo\n id: bar\n Category: abc\n name: foox\n id: barx\n :\n \"\n It splits the output based on the splitstring passed as\n ...
15
false
bdastur/rex
parse_multi_lrvalue_string
10,073
LDU_FT/brutus/boozelib/promille_to_gramm
LDU_FT
[ "<BEGIN>\n## `calculate_bw`", "Return the amount of water (in liter) in a persons body\n<END>", "<BEGIN>\n## `promille_to_gramm`", "Return the amount of alcohol (in gramm) for a person with the given\n body stats and blood alcohol content (per mill)\n<END>", "<BEGIN>\n## `gramm_to_promille`", "Return ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the promille_to_gramm API. 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 promille_to_gramm API. 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 the amount of alcohol (in gramm) for a person with the given body stats and blood alcohol content (per mill)
"Return the amount of alcohol (in gramm) for a person with the given\n body stats and blood alcohol content (per mill)"
10
false
brutus/boozelib
promille_to_gramm
10,074
LDU_FT/agoragames/leaderboard-python/around_me
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 around_me API. 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 around_me API. 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...
Retrieve a page of leaders from the leaderboard around a given member. @param member [String] Member name. @param options [Hash] Options to be used when retrieving the page from the leaderboard. @return a page of leaders from the leaderboard around a given member.
"Retrieve a page of leaders from the leaderboard around a given member.\n\n @param member [String] Member name.\n @param options [Hash] Options to be used when retrieving the page from the leaderboard.\n @return a page of leaders from the leaderboard around a given member."
180
false
agoragames/leaderboard-python
around_me
10,075
LDU_FT/praw-dev/prawcore/revoke_token
LDU_FT
[ "<BEGIN>\n## `receive_connection`", "Wait for and then return a connected socket..", " Opens a TCP connection on port 8080, and waits for a single client.\n<END>", "<BEGIN>\n## `send_message`", "Send message to client and close the connection.\n<END>", "<BEGIN>\n## `main`", "Provide the program's ent...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the revoke_token API. 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 revoke_token API. 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...
Ask Reddit to revoke the provided token. :param token: The access or refresh token to revoke. :param token_type: (Optional) When provided, hint to Reddit what the token type is for a possible efficiency gain. The value can be either ``access_token`` or ``refresh_token``.
"Ask Reddit to revoke the provided token.\n\n :param token: The access or refresh token to revoke.\n :param token_type: (Optional) When provided, hint to Reddit what the\n token type is for a possible efficiency gain. The value can be\n either ``access_token`` or ``refresh_token``."
51
false
praw-dev/prawcore
revoke_token
10,076
LDU_FT/falkr/stmpy/get_graphviz_dot
LDU_FT
[ "<BEGIN>\n## `get_graphviz_dot`", "Return the graph of the state machine.", " The format is the dot format for Graphviz, and can be directly used as input\n to Graphviz.", " To learn more about Graphviz, visit https://graphviz.gitlab.io.", " **Display in Jupyter Notebook**\n Install Python su...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_graphviz_dot API. 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_graphviz_dot API. 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 the graph of the state machine. The format is the dot format for Graphviz, and can be directly used as input to Graphviz. To learn more about Graphviz, visit https://graphviz.gitlab.io. **Display in Jupyter Notebook** Install Python support for Graphviz via `pip install graphviz`. Inst...
"Return the graph of the state machine.\n\n The format is the dot format for Graphviz, and can be directly used as input\n to Graphviz.\n\n To learn more about Graphviz, visit https://graphviz.gitlab.io.\n\n **Display in Jupyter Notebook**\n Install Python support for Graphviz via `pip install graphviz`....
47
false
falkr/stmpy
get_graphviz_dot
10,077
LDU_FT/viswa-swami/python-foscam/set_ip_info
LDU_FT
[ "<BEGIN>\n## `execute_command`", "Execute a command and return a parsed response.\n<END>", "<BEGIN>\n## `set_ip_info`", "isDHCP: 0(False), 1(True)\n System will reboot automatically to take effect after call this CGI command.\n<END>", "<BEGIN>\n## `get_wifi_list`", "Get the aps around after refresh...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_ip_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_ip_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
isDHCP: 0(False), 1(True) System will reboot automatically to take effect after call this CGI command.
"isDHCP: 0(False), 1(True)\n System will reboot automatically to take effect after call this CGI command."
34
false
viswa-swami/python-foscam
set_ip_info
10,078
LDU_FT/mfussenegger/cr8/_parse_options
LDU_FT
[ "<BEGIN>\n## `to_int`", "converts a string to an integer", " >>> to_int('1_000_000')\n 1000000", " >>> to_int('1e6')\n 1000000", " >>> to_int('1000')\n 1000\n<END>", "<BEGIN>\n## `dicts_from_lines`", "returns a generator producing dicts from json lines", " 1 JSON object per line i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_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. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_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. The ex...
Parse repeatable CLI options >>> opts = _parse_options(['cluster.name=foo', 'CRATE_JAVA_OPTS="-Dxy=foo"']) >>> print(json.dumps(opts, sort_keys=True)) {"CRATE_JAVA_OPTS": "\\"-Dxy=foo\\"", "cluster.name": "foo"}
"Parse repeatable CLI options\n\n >>> opts = _parse_options(['cluster.name=foo', 'CRATE_JAVA_OPTS=\"-Dxy=foo\"'])\n >>> print(json.dumps(opts, sort_keys=True))\n {\"CRATE_JAVA_OPTS\": \"\\\\\"-Dxy=foo\\\\\"\", \"cluster.name\": \"foo\"}"
146
false
mfussenegger/cr8
_parse_options
10,079
LDU_FT/spacetelescope/acstools/run
LDU_FT
[ "<BEGIN>\n## `extract_dark`", "Extract superdark data from ``DARKFILE`` or ``DRKCFILE``.", " Parameters\n ----------\n prihdr : obj\n FITS primary header HDU.", " scihdu : obj\n Extension HDU of the science image.\n This is only used to extract subarray data.", " Returns\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. 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 doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. 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 doc...
TEAL interface for the `acsrej` function.
"TEAL interface for the `acsrej` function."
319
false
spacetelescope/acstools
run
10,080
LDU_FT/Ffisegydd/whatis/print_variable
LDU_FT
[ "<BEGIN>\n## `get_type`", "Return the type of an object. Do some regex to remove the \"<class...\" bit.\n<END>", "<BEGIN>\n## `get_parents`", "Return the MRO of an object. Do regex on each element to remove the \"<class...\" bit.\n<END>", "<BEGIN>\n## `extract_type`", "Extract the type string from str(typ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_variable API. 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 print_variable API. 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...
Print the variable out. Limit the string length to, by default, 300 characters.
"Print the variable out. Limit the string length to, by default, 300 characters."
13
false
Ffisegydd/whatis
print_variable
10,081
LDU_FT/junaruga/rpm-py-installer/tar_extract
LDU_FT
[ "<BEGIN>\n## `download_and_install`", "Download and install RPM Python binding.\n<END>", "<BEGIN>\n## `add_patchs_to_build_without_pkg_config`", "Add patches to remove pkg-config command and rpm.pc part.", " Replace with given library_path: lib_dir and include_path: include_dir\n without rpm.p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tar_extract API. 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 tar_extract API. 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...
Extract tar.gz or tar bz2 file. It behaves like - tar xzf tar_gz_file_path - tar xjf tar_bz2_file_path It raises tarfile.ReadError if the file is broken.
"Extract tar.gz or tar bz2 file.\n\n It behaves like\n - tar xzf tar_gz_file_path\n - tar xjf tar_bz2_file_path\n It raises tarfile.ReadError if the file is broken."
67
false
junaruga/rpm-py-installer
tar_extract
10,082
LDU_FT/muckamuck/stackility/_get_ssm_parameter
LDU_FT
[ "<BEGIN>\n## `_init_boto3_clients`", "The utililty requires boto3 clients to CloudFormation.", " Args:\n None", " Returns:\n Good or Bad; True or False\n<END>", "<BEGIN>\n## `determine_drift`", "Determine the drift of the stack.", " Args:\n None", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_ssm_parameter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_ssm_parameter 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...
Get parameters from Simple Systems Manager Args: p - a parameter name Returns: a value, decrypted if needed, if successful or None if things go sideways.
"Get parameters from Simple Systems Manager\n\n Args:\n p - a parameter name\n\n Returns:\n a value, decrypted if needed, if successful or None if things go\n sideways."
89
false
muckamuck/stackility
_get_ssm_parameter
10,083
LDU_FT/AshleySetter/optoanalysis/multi_load_data_custom
LDU_FT
[ "<BEGIN>\n## `InterpretWaveform`", "Take the raw binary from a file saved from the LeCroy, read from a file using \n the 2 lines:\n with open(filename, \"rb\") as file:\n raw = file.read()\n And extracts various properties of the saved time trace.", " Parameters\n -----...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multi_load_data_custom 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 multi_load_data_custom API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Lets you load multiple datasets named with the LeCroy's custom naming scheme at once. Parameters ---------- Channel : int The channel you want to load TraceTitle : string The custom trace title of the files. RunNos : sequence Sequence of run numbers you want to load Rep...
"Lets you load multiple datasets named with the LeCroy's custom naming scheme at once.\n\n Parameters\n ----------\n Channel : int\n The channel you want to load\n TraceTitle : string\n The custom trace title of the files. \n RunNos : sequence\n Sequence of run numbers you want to lo...
402
false
AshleySetter/optoanalysis
multi_load_data_custom
10,084
LDU_FT/cackharot/suds-py3/detach
LDU_FT
[ "<BEGIN>\n## `genprefix`", "Generate a prefix.\n @param node: An XML node on which the prefix will be used.\n @type node: L{sax.element.Element}\n @param ns: A namespace needing an unique prefix.\n @type ns: (prefix, uri)\n @return: The I{ns} with a new prefix.\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detach API. 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 detach API. 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 ...
Detach from parent. @return: This element removed from its parent's child list and I{parent}=I{None} @rtype: L{Element}
"Detach from parent.\n @return: This element removed from its parent's\n child list and I{parent}=I{None}\n @rtype: L{Element}"
387
false
cackharot/suds-py3
detach
10,085
LDU_FT/geoadmin/lib-gatilegrid/numberOfTilesAtZoom
LDU_FT
[ "<BEGIN>\n## `tileBounds`", "Returns the bounds of a tile in LV03 (EPSG:21781)\n<END>", "<BEGIN>\n## `tileAddress`", "Returns a tile address based on a zoom level and \\\n a point in the tile\n<END>", "<BEGIN>\n## `intersectsExtent`", "Determine if an extent intersects this instance extent\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the numberOfTilesAtZoom 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 numberOfTilesAtZoom API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Returns the total number of tile at a given zoom level
"Returns the total number of tile at a given zoom level"
28
false
geoadmin/lib-gatilegrid
numberOfTilesAtZoom
10,086
LDU_FT/internetarchive/doublethink/pk_field
LDU_FT
[ "<BEGIN>\n## `_server_whitelist`", "Returns list of servers that have not errored in the last five minutes.\n If all servers have errored in the last five minutes, returns list with\n one item, the server that errored least recently.\n<END>", "<BEGIN>\n## `parse_rethinkdb_url`", "Parses a url li...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pk_field API. 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 pk_field API. 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...
Name of the primary key field as retrieved from rethinkdb table metadata, 'id' by default. Should not be overridden. Override `table_create` if you want to use a nonstandard field as the primary key.
"Name of the primary key field as retrieved from rethinkdb table\n metadata, 'id' by default. Should not be overridden. Override\n `table_create` if you want to use a nonstandard field as the primary\n key."
43
false
internetarchive/doublethink
pk_field
10,087
LDU_FT/zsethna/OLGA/read_igor_J_gene_parameters
LDU_FT
[ "<BEGIN>\n## `nt2aa`", "Translate a nucleotide sequence into an amino acid sequence.", " Parameters\n ----------\n ntseq : str\n Nucleotide sequence composed of A, C, G, or T (uppercase or lowercase)", " Returns\n -------\n aaseq : str\n Amino acid sequence", " Example\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_igor_J_gene_parameters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_igor_J_gene_parameters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Load raw genJ from file. genJ is a list of genomic J information. Each element is a list of three elements. The first is the name of the J allele, the second is the genomic sequence trimmed to the CDR3 region for productive sequences, and the last is the full germline sequence. For this 'raw gen...
"Load raw genJ from file.\n \n genJ is a list of genomic J information. Each element is a list of three \n elements. The first is the name of the J allele, the second is the genomic \n sequence trimmed to the CDR3 region for productive sequences, and the last \n is the full germline sequence. For this 'r...
287
false
zsethna/OLGA
read_igor_J_gene_parameters
10,088
LDU_FT/ehansis/ozelot/load
LDU_FT
[ "<BEGIN>\n## `_query`", "Base query for an url and xpath", " Args:\n url (str): URL to search\n xpath (str): xpath to search (may be ``None``)\n<END>", "<BEGIN>\n## `get`", "Get a URL via the cache.", " If the URL exists in the cache, return the cached value. Otherwise ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. 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 load API. 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...
Load table Keeps only rows with annual average defined (full year data available). Returns: pandas.DataFrame: loaded data
"Load table\n\n Keeps only rows with annual average defined (full year data available).\n\n Returns:\n pandas.DataFrame: loaded data"
203
false
ehansis/ozelot
load
10,089
LDU_FT/KelSolaar/Manager/list_dependents
LDU_FT
[ "<BEGIN>\n## `name`", "Setter for **self.__name** attribute.", " :param value: Attribute value.\n :type value: unicode\n<END>", "<BEGIN>\n## `activated`", "Setter for **self.__activated** attribute.", " :param value: Attribute value.\n :type value: bool\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_dependents API. 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 list_dependents API. 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...
Lists given Component dependents Components. Usage:: >>> manager = Manager(("./manager/tests/tests_manager/resources/components/core",)) >>> manager.register_components() True >>> manager.list_dependents("core.tests_component_a") [u'core.tests_compon...
"Lists given Component dependents Components.\n\n Usage::\n\n >>> manager = Manager((\"./manager/tests/tests_manager/resources/components/core\",))\n >>> manager.register_components()\n True\n >>> manager.list_dependents(\"core.tests_component_a\")\n [u'core...
133
false
KelSolaar/Manager
list_dependents
10,090
LDU_FT/ajenhl/tacl/load
LDU_FT
[ "<BEGIN>\n## `_format_content`", "Returns `content` with consecutive spaces converted to non-break\n spaces, and linebreak converted into HTML br elements.", " :param content: text to format\n :type content: `str`\n :rtype: `str`\n<END>", "<BEGIN>\n## `_prepare_text`", "Returns `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. 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 load API. 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...
Loads the data from `path` into the catalogue. :param path: path to catalogue file :type path: `str`
"Loads the data from `path` into the catalogue.\n\n :param path: path to catalogue file\n :type path: `str`"
463
false
ajenhl/tacl
load
10,091
LDU_FT/memphis-iis/GLUDB/get_default_val
LDU_FT
[ "<BEGIN>\n## `read_rec`", "Generator that yields keyed recs from store.\n<END>", "<BEGIN>\n## `set_db_application_prefix`", "Set the global app prefix and separator.\n<END>", "<BEGIN>\n## `find_by_index`", "Find records matching index query - defer to backend.\n<END>", "<BEGIN>\n## `_auto_init`", "Our...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_default_val API. 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 get_default_val API. 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...
Helper to expand default value (support callables).
"Helper to expand default value (support callables)."
57
false
memphis-iis/GLUDB
get_default_val
10,092
LDU_FT/shaunduncan/nosqlite/_all
LDU_FT
[ "<BEGIN>\n## `_eq`", "Returns True if the value of a document field is equal to a given value\n<END>", "<BEGIN>\n## `_gt`", "Returns True if the value of a document field is greater than a given value\n<END>", "<BEGIN>\n## `_lt`", "Returns True if the value of a document field is less than a given value\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _all API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _all API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Returns True if the value of document field contains all the values specified by ``value``. If supplied value is not an iterable, a MalformedQueryException is raised. If the value of the document field is not an iterable, False is returned
"Returns True if the value of document field contains all the values\n specified by ``value``. If supplied value is not an iterable, a\n MalformedQueryException is raised. If the value of the document field\n is not an iterable, False is returned"
53
false
shaunduncan/nosqlite
_all
10,093
LDU_FT/markovmodel/PyEMMA/trajectory_set_item
LDU_FT
[ "<BEGIN>\n## `filenames`", "list of file names the data is originally being read from.", " Returns\n -------\n names : list of str\n list of file names at the beginning of the input chain.\n<END>", "<BEGIN>\n## `_data_flow_chain`", "Get a list of all elements in the data flow...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trajectory_set_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trajectory_set_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
:param self: mdtraj.Trajectory :param idx: possible slices over frames, :param value: :return:
":param self: mdtraj.Trajectory\n :param idx: possible slices over frames,\n :param value:\n :return:"
1,924
true
markovmodel/PyEMMA
trajectory_set_item
10,094
LDU_FT/Galarzaa90/tibia.py/_parse_guild_guildhall
LDU_FT
[ "<BEGIN>\n## `ranks`", ":class:`list` of :class:`str`: Ranks in their hierarchical order.\n<END>", "<BEGIN>\n## `from_content`", "Creates an instance of the class from the HTML content of the guild's page.", " Parameters\n -----------\n content: :class:`str`\n The HTML conten...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_guild_guildhall 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_guild_guildhall 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 guild's guildhall info. Parameters ---------- info_container: :class:`bs4.Tag` The parsed content of the information container.
"Parses the guild's guildhall info.\n\n Parameters\n ----------\n info_container: :class:`bs4.Tag`\n The parsed content of the information container."
254
false
Galarzaa90/tibia.py
_parse_guild_guildhall
10,095
LDU_FT/patrickfuller/jgraph/draw
LDU_FT
[ "<BEGIN>\n## `draw`", "Draws an interactive 3D visualization of the inputted graph.", " Args:\n data: Either an adjacency list of tuples (ie. [(1,2),...]) or object\n size: (Optional) Dimensions of visualization, in pixels\n node_size: (Optional) Defaults to 2.0\n edge_size: (Opti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw API. 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 draw API. 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...
Draws an interactive 3D visualization of the inputted graph. Args: data: Either an adjacency list of tuples (ie. [(1,2),...]) or object size: (Optional) Dimensions of visualization, in pixels node_size: (Optional) Defaults to 2.0 edge_size: (Optional) Defaults to 0.25 defaul...
"Draws an interactive 3D visualization of the inputted graph.\n\n Args:\n data: Either an adjacency list of tuples (ie. [(1,2),...]) or object\n size: (Optional) Dimensions of visualization, in pixels\n node_size: (Optional) Defaults to 2.0\n edge_size: (Optional) Defaults to 0.25\n ...
16
false
patrickfuller/jgraph
draw
10,096
LDU_FT/rlisagor/pynetlinux/iterbridges
LDU_FT
[ "<BEGIN>\n## `iterbridges`", "Iterate over all the bridges in the system.\n<END>", "<BEGIN>\n## `iterifs`", "Iterate over all the interfaces in this bridge.\n<END>", "<BEGIN>\n## `addif`", "Add the interface with the given name to this bridge. Equivalent to\n brctl addif [bridge] [interface].\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iterbridges API. 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 iterbridges API. 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...
Iterate over all the bridges in the system.
"Iterate over all the bridges in the system."
23
false
rlisagor/pynetlinux
iterbridges
10,097
LDU_FT/Visgean/urljects/resolve_name
LDU_FT
[ "<BEGIN>\n## `render`", "This function finishes the url pattern creation by adding starting\n character ^ end possibly by adding end character at the end", " :param value: naive URL value\n :return: raw string\n<END>", "<BEGIN>\n## `add_part`", "Function for adding partial pattern to the value\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Auto guesses name of the view. For function it will be ``view.__name__`` For classes it will be ``view.url_name``
"Auto guesses name of the view.\n For function it will be ``view.__name__``\n For classes it will be ``view.url_name``"
24
false
Visgean/urljects
resolve_name
10,098
LDU_FT/googlesamples/assistant-sdk-python/read
LDU_FT
[ "<BEGIN>\n## `main`", "File based sample for the Google Assistant API.", " Examples:\n $ python -m audiofileinput -i <input file> -o <output file>\n<END>", "<BEGIN>\n## `process_event`", "Pretty prints events.", " Prints all events that occur with two spaces between each new\n conversation a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. 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 read API. 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...
Read bytes from the stream and block until sample rate is achieved. Args: size: number of bytes to read from the stream.
"Read bytes from the stream and block until sample rate is achieved.\n\n Args:\n size: number of bytes to read from the stream."
72
false
googlesamples/assistant-sdk-python
read
10,099
LDU_FT/djangonauts/django-rest-framework-gis/unformat_geojson
LDU_FT
[ "<BEGIN>\n## `get_properties`", "Get the feature metadata which will be used for the GeoJSON\n \"properties\" key.", " By default it returns all serializer fields excluding those used for\n the ID, the geometry and the bounding box.", " :param instance: The current Django model ins...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unformat_geojson API. 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 unformat_geojson API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
This function should return a dictionary containing keys which maps to serializer fields. Remember that GeoJSON contains a key "properties" which contains the feature metadata. This should be flattened to make sure this metadata is stored in the right serializer fields. :param ...
"This function should return a dictionary containing keys which maps\n to serializer fields.\n\n Remember that GeoJSON contains a key \"properties\" which contains the\n feature metadata. This should be flattened to make sure this\n metadata is stored in the right serializer fields.\n\n ...
22
false
djangonauts/django-rest-framework-gis
unformat_geojson
10,100
LDU_FT/marrow/mongo/_prepare_find
LDU_FT
[ "<BEGIN>\n## `process_fields`", "Process a list of simple string field definitions and assign their order based on prefix.\n<END>", "<BEGIN>\n## `create`", "Create this index in the specified collection; keyword arguments are passed to PyMongo.", "\t\thttp://api.mongodb.com/python/current/api/pymongo/collec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prepare_find API. 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 _prepare_find API. 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...
Execute a find and return the resulting queryset using combined plain and parametric query generation. Additionally, performs argument case normalization, refer to the `_prepare_query` method's docstring.
"Execute a find and return the resulting queryset using combined plain and parametric query generation.\n\t\t\n\t\tAdditionally, performs argument case normalization, refer to the `_prepare_query` method's docstring."
175
false
marrow/mongo
_prepare_find
10,101
LDU_FT/wtsi-hgi/python-baton-wrapper/connect_to_irods_with_baton
LDU_FT
[ "<BEGIN>\n## `validate_baton_binaries_location`", "Validates that the given directory contains the baton binaries required to use the runner.\n :param baton_binaries_directory: the directory to check\n :return: exception that describes the issue else `None` if no issues\n<END>", "<BEGIN>\n## `_rai...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect_to_irods_with_baton API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect_to_irods_with_baton API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Convenience method to create a pseudo connection to iRODS. :param baton_binaries_directory: see `Connection.__init__` :param skip_baton_binaries_validation: see `Connection.__init__` :return: pseudo connection to iRODS
"Convenience method to create a pseudo connection to iRODS.\n :param baton_binaries_directory: see `Connection.__init__`\n :param skip_baton_binaries_validation: see `Connection.__init__`\n :return: pseudo connection to iRODS"
71
false
wtsi-hgi/python-baton-wrapper
connect_to_irods_with_baton
10,102
LDU_FT/political-memory/django-representatives/update_abbreviations
LDU_FT
[ "<BEGIN>\n## `create_parl_websites`", "Prepare for remote_id removal by creating WebSite entities from it.\n<END>", "<BEGIN>\n## `migrate_constituencies`", "Re-save constituencies to recompute fingerprints\n<END>", "<BEGIN>\n## `_get_path`", "Get value at specific path in dictionary. Path is specified by ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_abbreviations 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 update_abbreviations API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Migrate to new FR committee abbreviations
"Migrate to new FR committee abbreviations"
22
false
political-memory/django-representatives
update_abbreviations
10,103
LDU_FT/LPgenerator/django-db-mailer/send
LDU_FT
[ "<BEGIN>\n## `send`", "Site: http://www.pubnub.com/\n API: https://www.mashape.com/pubnub/pubnub-network\n Desc: real-time browser notifications", " Installation and usage:\n pip install -U pubnub\n Tests for browser notification http://127.0.0.1:8000/browser_notification/\n<END>", "<BEGIN>\n##...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API. 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 send API. 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...
Site: https://apple.com API: https://developer.apple.com Desc: iOS notifications
"Site: https://apple.com\n API: https://developer.apple.com\n Desc: iOS notifications"
39
false
LPgenerator/django-db-mailer
send
10,104
LDU_FT/blockchain/api-v1-client-python/create_wallet
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 create_wallet API. 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 create_wallet API. 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...
Create a new Blockchain.info wallet. It can be created containing a pre-generated private key or will otherwise generate a new private key. :param str password: password for the new wallet. At least 10 characters. :param str api_code: API code with create wallets permission :param str...
"Create a new Blockchain.info wallet. It can be created containing a \n pre-generated private key or will otherwise generate a new private key. \n\n :param str password: password for the new wallet. At least 10 characters.\n :param str api_code: API code with create wallets permission\n :par...
78
false
blockchain/api-v1-client-python
create_wallet
10,105
LDU_FT/zagaran/mongobackup/tarbz
LDU_FT
[ "<BEGIN>\n## `call`", "Runs a bash command safely, with shell=false, catches any non-zero\n return codes. Raises slightly modified CalledProcessError exceptions\n on failures.\n Note: command is a string and cannot include pipes.\n<END>", "<BEGIN>\n## `tarbz`", "Tars and bzips a director...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tarbz API. 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 tarbz API. 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...
Tars and bzips a directory, preserving as much metadata as possible. Adds '.tbz' to the provided output file name.
"Tars and bzips a directory, preserving as much metadata as possible.\n Adds '.tbz' to the provided output file name."
36
false
zagaran/mongobackup
tarbz
10,106
LDU_FT/PSPC-SPAC-buyandsell/von_anchor/remove
LDU_FT
[ "<BEGIN>\n## `least_role`", "Return the TRUSTEE indy-sdk role for an anchor acting in an AnchorSmith capacity.", " :return: TRUSTEE role\n<END>", "<BEGIN>\n## `send_nym`", "Send input anchor's cryptonym (including DID, verification key, plus optional alias and role)\n to the distributed ledger...
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 serialized wallet if it exists. Raise WalletState if wallet is open. :param von_wallet: (closed) wallet to remove
"Remove serialized wallet if it exists. Raise WalletState if wallet is open.\n\n :param von_wallet: (closed) wallet to remove"
734
false
PSPC-SPAC-buyandsell/von_anchor
remove
10,107
LDU_FT/nickmckay/LiPD-utilities/_extract_fund
LDU_FT
[ "<BEGIN>\n## `update_dois`", "Get DOI publication info for a batch of DOIs. This is LiPD-independent and only requires a CSV file with all DOIs\n listed in a single column. The output is LiPD-formatted publication data for each entry.", " :param str csv_source: Local path to CSV file\n :param bool writ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_fund API. 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 _extract_fund API. 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 flat funding dictionary. :param list l: Funding entries
"Creates flat funding dictionary.\n :param list l: Funding entries"
796
false
nickmckay/LiPD-utilities
_extract_fund
10,108
LDU_FT/theiviaxx/Frog/post
LDU_FT
[ "<BEGIN>\n## `export`", "The export function needs to:\n - Move source image to asset folder\n - Rename to guid.ext\n - Save thumbnail, small, and image versions\n<END>", "<BEGIN>\n## `export`", "The export function needs to:\n - Move source image to asset folder\n - Rename ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API. 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 post API. 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...
Sets a key to a value on the currently logged in users preferences :param key: Key to set :type key: str :param val: Value to set :type val: primitive :returns: json
"Sets a key to a value on the currently logged in users preferences\n\n :param key: Key to set\n :type key: str\n :param val: Value to set\n :type val: primitive\n :returns: json"
101
false
theiviaxx/Frog
post
10,109
LDU_FT/Azure/azure-cosmos-python/peek
LDU_FT
[ "<BEGIN>\n## `ShouldRetry`", "Returns true if should retry based on the passed-in exception.", " :param (errors.HTTPFailure instance) exception:", " :rtype:\n boolean\n<END>", "<BEGIN>\n## `ExplicitlyExcludeFromIndex`", "The default index policy on a DocumentContainer will AUTOMAT...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the peek API. 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 peek API. 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...
TODO: use more_itertools.peekable instead :return: The current result item. :rtype: dict. :raises StopIteration: If there is no current item.
"TODO: use more_itertools.peekable instead\n :return: The current result item.\n :rtype: dict. \n :raises StopIteration: If there is no current item."
574
false
Azure/azure-cosmos-python
peek
10,110
LDU_FT/python-rope/rope/get_imported_module
LDU_FT
[ "<BEGIN>\n## `find_occurrences`", "Return a list of `Location`\\s", " If `unsure` is `True`, possible matches are returned, too. You\n can use `Location.unsure` to see which are unsure occurrences.\n `resources` can be a list of `rope.base.resource.File`\\s that\n should be searched for occurrences...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_imported_module 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_imported_module 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...
Get the imported `PyModule` Raises `rope.base.exceptions.ModuleNotFoundError` if module could not be found.
"Get the imported `PyModule`\n\n Raises `rope.base.exceptions.ModuleNotFoundError` if module\n could not be found."
312
false
python-rope/rope
get_imported_module
10,111
LDU_FT/JoelBender/bacpypes/connect
LDU_FT
[ "<BEGIN>\n## `decode_packet`", "decode the data, return some kind of PDU.\n<END>", "<BEGIN>\n## `decode_file`", "Given the name of a pcap file, open it, decode the contents and yield each packet.\n<END>", "<BEGIN>\n## `stop`", "Call to stop running, may be called with a signum and frame\n parameter if ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API. 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 connect API. 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...
Initiate a connection request to the peer router.
"Initiate a connection request to the peer router."
376
false
JoelBender/bacpypes
connect
10,112
LDU_FT/napalm-automation-community/napalm-panos/_send_merge_commands
LDU_FT
[ "<BEGIN>\n## `_send_merge_commands`", "Netmiko is being used to push set commands.\n<END>", "<BEGIN>\n## `compare_config`", "Netmiko is being used to obtain config diffs because pan-python\n doesn't support the needed command.\n<END>", "<BEGIN>\n## `commit_config`", "Netmiko is being used to commit...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _send_merge_commands 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 _send_merge_commands API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Netmiko is being used to push set commands.
"Netmiko is being used to push set commands."
10
false
napalm-automation-community/napalm-panos
_send_merge_commands
10,113
LDU_FT/JensAstrup/pyOutlook/get_subfolders
LDU_FT
[ "<BEGIN>\n## `auto_reply_message`", "The account's Internal auto reply message. Setting the value will change the auto reply message of the\n account, automatically setting the status to enabled (but not altering the schedule).\n<END>", "<BEGIN>\n## `set_auto_reply`", "Set an automatic reply for the a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_subfolders API. 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_subfolders API. 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...
Retrieve all child Folders inside of this Folder. Raises: AuthError: Raised if Outlook returns a 401, generally caused by an invalid or expired access token. Returns: List[:class:`Folder <pyOutlook.core.folder.Folder>`]
"Retrieve all child Folders inside of this Folder.\n\n Raises:\n AuthError: Raised if Outlook returns a 401, generally caused by an invalid or expired access token.\n\n Returns:\n List[:class:`Folder <pyOutlook.core.folder.Folder>`]"
99
false
JensAstrup/pyOutlook
get_subfolders
10,114
LDU_FT/helixyte/everest/parent
LDU_FT
[ "<BEGIN>\n## `domain_relationship`", "Returns a domain relationship equivalent with this resource\n relationship.\n<END>", "<BEGIN>\n## `get_attribute_cardinality`", "Returns the cardinality of the given resource attribute.", " :returns: One of the constants defined in\n :class:`evererst.cons...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parent API. 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 parent API. 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 ...
Returns the proxy from the last node visited on the path, or `None`, if no node has been visited yet.
"Returns the proxy from the last node visited on the path, or `None`,\n if no node has been visited yet."
449
false
helixyte/everest
parent
10,115
LDU_FT/Microsoft/malmo/angvel
LDU_FT
[ "<BEGIN>\n## `angvel`", "Use sigmoid function to choose a delta that will help smoothly steer from current angle to target angle.\n<END>", "<BEGIN>\n## `pointTo`", "Steer towards the target pitch/yaw, return True when within the given tolerance threshold.\n<END>", "<BEGIN>\n## `download`", "Download Malmo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the angvel API. 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 angvel API. 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 ...
Use sigmoid function to choose a delta that will help smoothly steer from current angle to target angle.
"Use sigmoid function to choose a delta that will help smoothly steer from current angle to target angle."
80
false
Microsoft/malmo
angvel
10,116
LDU_FT/chrisspen/dtree/mean_oob_mae_weight
LDU_FT
[ "<BEGIN>\n## `normalize`", "Scales each number in the sequence so that the sum of all numbers equals 1.\n<END>", "<BEGIN>\n## `normcdf`", "Describes the probability that a real-valued random variable X with a given\n probability distribution will be found at a value less than or equal to X\n in a normal...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mean_oob_mae_weight 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 mean_oob_mae_weight API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Returns weights proportional to the out-of-bag mean absolute error for each tree.
"Returns weights proportional to the out-of-bag mean absolute error for each tree."
100
false
chrisspen/dtree
mean_oob_mae_weight
10,117
LDU_FT/softlayer/softlayer-python/change_port_speed
LDU_FT
[ "<BEGIN>\n## `cli`", "List package items used for ordering.", " The item keyNames listed can be used with `slcli order place` to specify\n the items that are being ordered in the package.", " .. Note::\n Items with a numbered category, like disk0 or gpu0, can be included\n multiple time...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the change_port_speed API. 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 change_port_speed API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Allows you to change the port speed of a server's NICs. :param int hardware_id: The ID of the server :param bool public: Flag to indicate which interface to change. True (default) means the public interface. False indicates the private interface. ...
"Allows you to change the port speed of a server's NICs.\n\n :param int hardware_id: The ID of the server\n :param bool public: Flag to indicate which interface to change.\n True (default) means the public interface.\n False indicates the private inter...
1,375
true
softlayer/softlayer-python
change_port_speed
10,118
LDU_FT/obilaniu/Nauka/mkdirp
LDU_FT
[ "<BEGIN>\n## `_parseSpec`", "Split the argument string. Example:", "\t--arg name:value0,value1,key2=value2,key3=value3", "\tgets split into", "\tname, args, kwargs = (\n\t \"name\",\n\t (value0, value1),\n\t {\"key2\":value2, \"key3\":value3},\n\t)\n<END>", "<BEGIN>\n## `fromScratch`", "Start a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mkdirp API. 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 mkdirp API. 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 ...
`mkdir -p path/to/folder`. Creates a folder and all parent directories if they don't already exist.
"`mkdir -p path/to/folder`. Creates a folder and all parent\n\t\tdirectories if they don't already exist."
36
false
obilaniu/Nauka
mkdirp
10,119
LDU_FT/COALAIP/pycoalaip/transfer
LDU_FT
[ "<BEGIN>\n## `_copy_context_into_mutable`", "Copy a properly formatted context into a mutable data structure.\n<END>", "<BEGIN>\n## `_make_context_immutable`", "Best effort attempt at turning a properly formatted context\n (either a string, dict, or array of strings and dicts) into an\n immutable data s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracte...
Transfer this entity to another owner on the backing persistence layer Args: transfer_payload (dict): Payload for the transfer from_user (any): A user based on the model specified by the persistence layer to_user (any): A user based on the model speci...
"Transfer this entity to another owner on the backing\n persistence layer\n\n Args:\n transfer_payload (dict): Payload for the transfer\n from_user (any): A user based on the model specified by the\n persistence layer\n to_user (any): A user based on the mod...
49
false
COALAIP/pycoalaip
transfer
10,120
LDU_FT/mfcloud/python-zvm-sdk/guest_nic_uncouple_from_vswitch
LDU_FT
[ "<BEGIN>\n## `getConsole`", "Get the virtual machine's console output.", " Input:\n Request Handle with the following properties:\n function - 'CMDVM'\n subfunction - 'CMD'\n userid - userid of the virtual machine", " Output:\n Request Handle updated with t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the guest_nic_uncouple_from_vswitch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the guest_nic_uncouple_from_vswitch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
Disonnect nic device with network. :param str userid: the user's name who owns the nic :param str nic_vdev: nic device number, 1- to 4- hexadecimal digits :param bool active: whether make the change on active guest system
"Disonnect nic device with network.\n\n :param str userid: the user's name who owns the nic\n :param str nic_vdev: nic device number, 1- to 4- hexadecimal digits\n :param bool active: whether make the change on active guest system"
643
false
mfcloud/python-zvm-sdk
guest_nic_uncouple_from_vswitch
10,121
LDU_FT/pepkit/peppy/grab_project_data
LDU_FT
[ "<BEGIN>\n## `merge_sample`", "Use merge table (subannotation) data to augment/modify Sample.", " :param Sample sample: sample to modify via merge table data\n :param sample_subann: data with which to alter Sample\n :param Mapping data_sources: collection of named paths to data locations,\n opti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the grab_project_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the grab_project_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
From the given Project, grab Sample-independent data. There are some aspects of a Project of which it's beneficial for a Sample to be aware, particularly for post-hoc analysis. Since Sample objects within a Project are mutually independent, though, each doesn't need to know about any of the others. A P...
"From the given Project, grab Sample-independent data.\n\n There are some aspects of a Project of which it's beneficial for a Sample\n to be aware, particularly for post-hoc analysis. Since Sample objects\n within a Project are mutually independent, though, each doesn't need to\n know about any of the other...
53
false
pepkit/peppy
grab_project_data
10,122
LDU_FT/rdussurget/py-altimetry/set_sats
LDU_FT
[ "<BEGIN>\n## `bilinear_interpolation`", "Interpolate (x,y) from values associated with four points.\r", " The four points are a list of four triplets: (x, y, value).\r\n The four points can be in any order. They should form a rectangle.\r", " >>> bilinear_interpolation(12, 5.5,\r\n ... ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_sats API. 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 set_sats API. 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...
set satellite name using (cf. notes on file names in `altimetry.data.alti_data.__init__`)
"set satellite name using (cf. notes on file names in `altimetry.data.alti_data.__init__`)"
320
false
rdussurget/py-altimetry
set_sats
10,123
LDU_FT/Naresh1318/crystal/get_variable_update_dicts
LDU_FT
[ "<BEGIN>\n## `adapt_array`", "http://stackoverflow.com/a/31312102/190597 (SoulNibbler)\n<END>", "<BEGIN>\n## `open_data_base_connection`", "Creates a connections to the crystal database.\n :param skip_dir_check: bool, True -> Skips checking database file and creates a new one if not present.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_variable_update_dicts API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_variable_update_dicts API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Query appropriate tables and return data to dashboard in the required format. :param current_index: int, current index during update :param variable_names: str, variable name to fetch values from :param selected_run: str, run containing the variable :return: dict, {<variable_name>: [<values>]}
"Query appropriate tables and return data to dashboard in the required format.\n :param current_index: int, current index during update\n :param variable_names: str, variable name to fetch values from\n :param selected_run: str, run containing the variable\n :return: dict, {<variable_name>: [<values>]}"
52
false
Naresh1318/crystal
get_variable_update_dicts
10,124
LDU_FT/houtianze/bypy/compare
LDU_FT
[ "<BEGIN>\n## `human_time`", "DocTests:\n\t>>> human_time(0) == ''\n\tTrue\n\t>>> human_time(122.1) == '2m2s'\n\tTrue\n\t>>> human_time(133) == '2m13s'\n\tTrue\n\t>>> human_time(12345678) == '20W2D21h21m18s'\n\tTrue\n<END>", "<BEGIN>\n## `limit_unit`", "DocTests:\n\t>>> limit_unit('1m2s', 1) == '1m'\n\tTrue\n\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compare API. 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 compare API. 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...
Usage: compare [remotedir] [localdir] - \ compare the remote directory with the local directory remotedir - the remote directory at Baidu Yun (after app's directory). \ if not specified, it defaults to the root directory. localdir - the local directory, if not specified, it defaults to the current directory. skip...
"Usage: compare [remotedir] [localdir] - \\\ncompare the remote directory with the local directory\n remotedir - the remote directory at Baidu Yun (after app's directory). \\\nif not specified, it defaults to the root directory.\n localdir - the local directory, if not specified, it defaults to the current directory....
55
false
houtianze/bypy
compare
10,125
LDU_FT/xtrinch/fcm-django/send_messages
LDU_FT
[ "<BEGIN>\n## `send_message`", "Send notification for all active devices in queryset and deactivate if\n DELETE_INACTIVE_DEVICES setting is set to True.\n<END>", "<BEGIN>\n## `send_data_message`", "Send data messages for all active devices in queryset and deactivate if\n DELETE_INACTIVE_DEVICES s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_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. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_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. The ext...
Provides error handling for DeviceAdmin send_message and send_bulk_message methods.
"Provides error handling for DeviceAdmin send_message and\n send_bulk_message methods."
24
false
xtrinch/fcm-django
send_messages
10,126
LDU_FT/anthok/overwatch-api/_async_get
LDU_FT
[ "<BEGIN>\n## `_uses_aiohttp_session`", "This is a decorator that creates an async with statement around a function, and makes sure that a _session argument is always passed.\n Only usable on async functions of course.\n The _session argument is (supposed to be) an aiohttp.ClientSession instance in a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _async_get API. 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 _async_get API. 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...
Uses aiohttp to make a get request asynchronously. Will raise asyncio.TimeoutError if the request could not be completed within _async_timeout_seconds (default 5) seconds.
"Uses aiohttp to make a get request asynchronously. \n Will raise asyncio.TimeoutError if the request could not be completed \n within _async_timeout_seconds (default 5) seconds."
10
false
anthok/overwatch-api
_async_get
10,127
LDU_FT/jamescooke/flake8-aaa/build_assert
LDU_FT
[ "<BEGIN>\n## `do_command_line`", "Currently a small stub to create an instance of Checker for the passed\n ``infile`` and run its test functions through linting.", " Args:\n infile", " Returns:\n int: Number of flake8 errors raised.\n<END>", "<BEGIN>\n## `run`", "Yields:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_assert API. 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 build_assert API. 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...
Assert block is all nodes that are after the Act node. Note: The filtering is *still* running off the line number of the Act node, when instead it should be using the last line of the Act block.
"Assert block is all nodes that are after the Act node.\n\n Note:\n The filtering is *still* running off the line number of the Act\n node, when instead it should be using the last line of the Act\n block."
66
false
jamescooke/flake8-aaa
build_assert
10,128
LDU_FT/bioidiap/gridtk/str_
LDU_FT
[ "<BEGIN>\n## `submit`", "Submits a job that will be executed on the local machine during a call to \"run\".\n All kwargs will simply be ignored.\n<END>", "<BEGIN>\n## `stop_jobs`", "Resets the status of the job to 'submitted' when they are labeled as 'executing'.\n<END>", "<BEGIN>\n## `stop_job`", "Res...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the str_ API. 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 str_ API. 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...
Return the string representation of the given 'name'. If it is a bytes object, it will be converted into str. If it is a str object, it will simply be resurned.
"Return the string representation of the given 'name'.\n If it is a bytes object, it will be converted into str.\n If it is a str object, it will simply be resurned."
163
false
bioidiap/gridtk
str_
10,129
LDU_FT/jessemiller/HamlPy/add_child
LDU_FT
[ "<BEGIN>\n## `watched_extension`", "Return True if the given extension is one of the watched extensions\n<END>", "<BEGIN>\n## `watch_folder`", "Main entry point. Expects one or two arguments (the watch folder + optional destination folder).\n<END>", "<BEGIN>\n## `_watch_folder`", "Compares \"modified\" ti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_child API. 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 add_child API. 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...
Add child node, and copy all options to it
"Add child node, and copy all options to it"
10
false
jessemiller/HamlPy
add_child
10,130
LDU_FT/google/tangent/add_grad
LDU_FT
[ "<BEGIN>\n## `compile_file`", "Compile by saving to file and importing that.", " Compiling the AST/source code this way ensures that the source code is\n readable by e.g. `pdb` or `inspect`.", " Args:\n source: The code to compile, either as a string or as an AST.\n globals_: A dictionary of variable...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_grad API. 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 add_grad API. 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...
Recursively add the gradient of two objects. Args: left: The left value to add. Can be either an array, a number, list or dictionary. right: The right value. Must be of the same type (recursively) as the left. Returns: The sum of the two gradients, which will of the same type.
"Recursively add the gradient of two objects.\n\n Args:\n left: The left value to add. Can be either an array, a number, list or\n dictionary.\n right: The right value. Must be of the same type (recursively) as the left.\n\n Returns:\n The sum of the two gradients, which will of the same type."
368
false
google/tangent
add_grad
10,131
LDU_FT/developmentseed/sentinel-s3/range_metadata
LDU_FT
[ "<BEGIN>\n## `convert_coordinates`", "Convert coordinates from one crs to another\n<END>", "<BEGIN>\n## `to_latlon`", "Convert a given geojson to wgs84. The original epsg must be included insde the crs\n tag of geojson\n<END>", "<BEGIN>\n## `get_tiles_list`", "Returns the list of all tile names from Pr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the range_metadata API. 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 range_metadata API. 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...
Extra metadata for all products in a date range
"Extra metadata for all products in a date range"
17
false
developmentseed/sentinel-s3
range_metadata
10,132
LDU_FT/roycoding/slots/bayesian
LDU_FT
[ "<BEGIN>\n## `run`", "Run MAB test with T trials.", " Parameters\n ----------\n trials : int\n Number of trials to run.\n strategy : str\n Name of selected strategy.\n parameters : dict\n Parameters for selected strategy.", " Available...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bayesian API. 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 bayesian API. 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...
Run the Bayesian Bandit algorithm which utilizes a beta distribution for exploration and exploitation. Parameters ---------- params : None For API consistency, this function can take a parameters argument, but it is ignored. Returns ------- ...
"Run the Bayesian Bandit algorithm which utilizes a beta distribution\n for exploration and exploitation.\n\n Parameters\n ----------\n params : None\n For API consistency, this function can take a parameters argument,\n but it is ignored.\n\n Returns\n --...
55
false
roycoding/slots
bayesian
10,133
LDU_FT/budacom/trading-bots/fetch_open_orders
LDU_FT
[ "<BEGIN>\n## `fetch_deposits`", "Fetch latest deposits, must provide a limit.\n<END>", "<BEGIN>\n## `fetch_deposits_since`", "Fetch all deposits since the given timestamp.\n<END>", "<BEGIN>\n## `fetch_withdrawals`", "Fetch latest withdrawals, must provide a limit.\n<END>", "<BEGIN>\n## `fetch_withdrawal...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_open_orders API. 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 fetch_open_orders API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Fetch latest open orders, must provide a limit.
"Fetch latest open orders, must provide a limit."
62
false
budacom/trading-bots
fetch_open_orders
10,134
LDU_FT/datacats/datacats/collect_logs
LDU_FT
[ "<BEGIN>\n## `create`", "Create a new environment", "Usage:\n datacats create [-bin] [--interactive] [-s NAME] [--address=IP] [--syslog]\n [--ckan=CKAN_VERSION] [--no-datapusher] [--site-url SITE_URL]\n [--no-init-db] ENVIRONMENT_DIR [PORT]", "Options:\n --address=IP ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect_logs API. 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 collect_logs API. 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 string representation of the logs from a container. This is similar to container_logs but uses the `follow` option and flattens the logs into a string instead of a generator. :param name: The container name to grab logs for :return: A string representation of the logs
"Returns a string representation of the logs from a container.\n This is similar to container_logs but uses the `follow` option\n and flattens the logs into a string instead of a generator.\n\n :param name: The container name to grab logs for\n :return: A string representation of the logs"
256
false
datacats/datacats
collect_logs
10,135
LDU_FT/timothydmorton/orbitutils/RV_com2
LDU_FT
[ "<BEGIN>\n## `RV_1`", "Instantaneous RV of star 1 with respect to system center-of-mass\n<END>", "<BEGIN>\n## `RV_2`", "Instantaneous RV of star 2 with respect to system center-of-mass\n<END>", "<BEGIN>\n## `RV_3`", "Instantaneous RV of star 3 with respect to system center-of-mass\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the RV_com2 API. 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 RV_com2 API. 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...
RVs of star 2 relative to center-of-mass
"RVs of star 2 relative to center-of-mass"
38
false
timothydmorton/orbitutils
RV_com2
10,136
LDU_FT/tmoerman/arboreto/diy
LDU_FT
[ "<BEGIN>\n## `to_tf_matrix`", ":param expression_matrix: numpy matrix. Rows are observations and columns are genes.\n :param gene_names: a list of gene names. Each entry corresponds to the expression_matrix column with same index.\n :param tf_names: a list of transcription factor names. Should be a subset o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the diy API. 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 doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the diy API. 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 doc...
:param expression_data: one of: * a pandas DataFrame (rows=observations, columns=genes) * a dense 2D numpy.ndarray * a sparse scipy.sparse.csc_matrix :param regressor_type: string. One of: 'RF', 'GBM', 'ET'. Case insensitive. :param regressor_kwargs: a dictionary of key-value pa...
":param expression_data: one of:\n * a pandas DataFrame (rows=observations, columns=genes)\n * a dense 2D numpy.ndarray\n * a sparse scipy.sparse.csc_matrix\n :param regressor_type: string. One of: 'RF', 'GBM', 'ET'. Case insensitive.\n :param regressor_kwargs: a dictionary of key-va...
50
false
tmoerman/arboreto
diy
10,137
LDU_FT/roll/interest-py/warning
LDU_FT
[ "<BEGIN>\n## `match`", "Return match or None for the request/constraints pair.", " Parameters\n ----------\n request: :class:`.http.Request`\n Request instance.\n root: str\n HTTP path root.\n path: str\n HTTP path.\n methods: list\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the warning API. 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 warning API. 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...
Log warning event. Compatible with logging.warning signature.
"Log warning event.\n\n Compatible with logging.warning signature."
38
false
roll/interest-py
warning
10,138
LDU_FT/RiotGames/cloud-inquisitor/get_user_data_configuration
LDU_FT
[ "<BEGIN>\n## `options`", "Returns metadata information required for User Creation\n<END>", "<BEGIN>\n## `run`", "Update the cache of all DNS entries and perform checks", " Args:\n *args: Optional list of arguments\n **kwargs: Optional list of keyword arguments", " Retur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_user_data_configuration API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_user_data_configuration API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Retrieve and update the application configuration with information from the user-data Returns: `None`
"Retrieve and update the application configuration with information from the user-data\n\n Returns:\n `None`"
693
false
RiotGames/cloud-inquisitor
get_user_data_configuration
10,139
LDU_FT/pndurette/gTTS/print_languages
LDU_FT
[ "<BEGIN>\n## `tts_langs`", "Languages Google Text-to-Speech supports.", " Returns:\n dict: A dictionnary of the type `{ '<lang>': '<name>'}`", " Where `<lang>` is an IETF language tag such as `en` or `pt-br`,\n and `<name>` is the full English name of the language, such as\n `En...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_languages API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_languages API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Callback for <all> flag. Prints formatted sorted list of supported languages and exits
"Callback for <all> flag.\n Prints formatted sorted list of supported languages and exits"
68
false
pndurette/gTTS
print_languages
10,140
LDU_FT/sahilchinoy/django-irs-filings/download
LDU_FT
[ "<BEGIN>\n## `clean_cell`", "Uses the type of field (from the mapping) to\n determine how to clean and format the cell.\n<END>", "<BEGIN>\n## `parse_row`", "Parses a row, cell-by-cell, returning a dict of field names\n to the cleaned field values.\n<END>", "<BEGIN>\n## `build_mappings`", "Us...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API. 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 download API. 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...
Download the archive from the IRS website.
"Download the archive from the IRS website."
12
false
sahilchinoy/django-irs-filings
download
10,141
LDU_FT/dagwieers/vmguestlib/GetMemReservationMB
LDU_FT
[ "<BEGIN>\n## `OpenHandle`", "Gets a handle for use with other vSphere Guest API functions. The guest library\n handle provides a context for accessing information about the virtual machine.", " Virtual machine statistics and state data are associated with a particular guest library\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetMemReservationMB 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 GetMemReservationMB 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...
Retrieves the minimum amount of memory that is reserved for the virtual machine. For information about setting a memory reservation, see "Limits and Reservations" on page 14.
"Retrieves the minimum amount of memory that is reserved for the virtual\n machine. For information about setting a memory reservation, see \"Limits\n and Reservations\" on page 14."
50
false
dagwieers/vmguestlib
GetMemReservationMB
10,142
LDU_FT/AtteqCom/zsl/element_to_int
LDU_FT
[ "<BEGIN>\n## `_nested_transactional`", "In a transactional method create a nested transaction.\n<END>", "<BEGIN>\n## `exec_task`", "Execute task.", " :param task_path: task path\n :type task_path: str|Callable\n :param data: task's data\n :type data: Any\n :return:\n<END>", "<BEGIN>\n## `ap...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the element_to_int API. 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 element_to_int API. 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...
Convert ``element`` object to int. If attribute is not given, convert ``element.text``. :param element: ElementTree element :param attribute: attribute name :type attribute: str :returns: integer :rtype: int
"Convert ``element`` object to int. If attribute is not given, convert ``element.text``.\n\n :param element: ElementTree element\n :param attribute: attribute name\n :type attribute: str\n :returns: integer\n :rtype: int"
292
false
AtteqCom/zsl
element_to_int
10,143
LDU_FT/restran/mountains/read_dict
LDU_FT
[ "<BEGIN>\n## `set_dict_none_default`", "对字典中为None的值,重新设置默认值\n :param dict_item:\n :param default_value:\n :return:\n<END>", "<BEGIN>\n## `auto_model_name_recognize`", "自动将 site-user 识别成 SiteUser\n :param model_name:\n :return:\n<END>", "<BEGIN>\n## `model_to_select_list`", "只选择 id 和 name,用来...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
读取字典文件 :param encoding: :param clear_none: :param file_name: :return:
"读取字典文件\n :param encoding:\n :param clear_none:\n :param file_name:\n :return:"
81
false
restran/mountains
read_dict
10,144
LDU_FT/tilezen/mapbox-vector-tile/_union_in_blocks
LDU_FT
[ "<BEGIN>\n## `_coords`", "Return a list of lists of coordinates of the polygon. The list consists\n firstly of the list of exterior coordinates followed by zero or more lists\n of any interior coordinates.\n<END>", "<BEGIN>\n## `_drop_degenerate_inners`", "Drop degenerate (zero-size) inners from the pol...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _union_in_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 ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _union_in_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 ...
Generator which yields a valid shape for each block_size multiple of input contours. This merges together the contours for each block before yielding them.
"Generator which yields a valid shape for each block_size multiple of\n input contours. This merges together the contours for each block before\n yielding them."
32
false
tilezen/mapbox-vector-tile
_union_in_blocks
10,145
LDU_FT/welbornprod/colr/auto_disable
LDU_FT
[ "<BEGIN>\n## `main`", "Main entry point, expects doctopt arg dict as argd.\n<END>", "<BEGIN>\n## `print_err`", "A wrapper for print() that uses stderr by default.\n<END>", "<BEGIN>\n## `walk_dir_animated`", "Walk a directory, printing status updates along the way.\n<END>", "<BEGIN>\n## `walk_dir_progres...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auto_disable API. 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 auto_disable API. 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...
Automatically decide whether to disable color codes if stdout or stderr are not ttys. Arguments: enabled : Whether to automatically disable color codes. When set to True, the fds will be checked for ttys. When set to False, enable() is called. ...
"Automatically decide whether to disable color codes if stdout or\n stderr are not ttys.\n\n Arguments:\n enabled : Whether to automatically disable color codes.\n When set to True, the fds will be checked for ttys.\n When set to False, enable() is c...
316
false
welbornprod/colr
auto_disable
10,146
LDU_FT/dbrattli/OSlash/apply
LDU_FT
[ "<BEGIN>\n## `map`", "r\"\"\"Map a function over the Reader.", " Haskell:\n fmap f m = Reader $ \\r -> f (runReader m r).\n fmap f g = (\\x -> f (g x))\n<END>", "<BEGIN>\n## `bind`", "r\"\"\"Bind a monadic function to the Reader.", " Haskell:\n Reader: m >>= k = Reader ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply API. 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 apply API. 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"""(<*>) :: f (a -> b) -> f a -> f b. Haskell: f <*> g = \x -> f x (g x) Apply (<*>) is a beefed up map. It takes a Reader that has a function in it and another Reader, and extracts that function from the first Reader and then maps it over the second one (composes the two func...
"r\"\"\"(<*>) :: f (a -> b) -> f a -> f b.\n\n Haskell: f <*> g = \\x -> f x (g x)\n\n Apply (<*>) is a beefed up map. It takes a Reader that\n has a function in it and another Reader, and extracts that\n function from the first Reader and then maps it over the second\n one (composes ...
76
false
dbrattli/OSlash
apply
10,147
LDU_FT/pip-services3-python/pip-services3-components-python/register
LDU_FT
[ "<BEGIN>\n## `configure`", "Configures component by passing configuration parameters.", " :param config: configuration parameters to be set.\n<END>", "<BEGIN>\n## `can_create`", "Checks if this factory is able to create component by given locator.", " This method searches for all registered ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API. 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 register API. 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...
Registers a component using a factory method. :param locator: a locator to identify component to be created. :param factory: a factory function that receives a locator and returns a created component.
"Registers a component using a factory method.\n\n :param locator: a locator to identify component to be created.\n\n :param factory: a factory function that receives a locator and returns a created component."
272
false
pip-services3-python/pip-services3-components-python
register
10,148
LDU_FT/Commonists/CommonsDownloader/get_files_from_textfile
LDU_FT
[ "<BEGIN>\n## `make_thumbnail_name`", "Return name of the downloaded thumbnail, based on the extension.\n<END>", "<BEGIN>\n## `get_thumbnail_of_file`", "Return the file contents of the thumbnail of the given file.\n<END>", "<BEGIN>\n## `get_exception_based_on_api_message`", "Return the exception matching t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_files_from_textfile 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_files_from_textfile API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Yield the file names and widths by parsing a text file handler.
"Yield the file names and widths by parsing a text file handler."
16
false
Commonists/CommonsDownloader
get_files_from_textfile
10,149
LDU_FT/dwavesystems/penaltymodel/_decode_linear_biases
LDU_FT
[ "<BEGIN>\n## `get_penalty_model`", "Factory function for penaltymodel_maxgap.", " Args:\n specification (penaltymodel.Specification): The specification\n for the desired penalty model.", " Returns:\n :class:`penaltymodel.PenaltyModel`: Penalty model with the given specification....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decode_linear_biases 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 _decode_linear_biases API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Inverse of _serialize_linear_biases. Args: linear_string (str): base 64 encoded string of little endian 8 byte floats, one for each of the nodes in nodelist. nodelist (list): list of the form [node1, node2, ...]. Returns: dict: linear biases in a dict. Examples: ...
"Inverse of _serialize_linear_biases.\n\n Args:\n linear_string (str): base 64 encoded string of little endian\n 8 byte floats, one for each of the nodes in nodelist.\n nodelist (list): list of the form [node1, node2, ...].\n\n Returns:\n dict: linear biases in a dict.\n\n Examp...
186
false
dwavesystems/penaltymodel
_decode_linear_biases
10,150
LDU_FT/gwastro/pycbc-glue/insertBefore
LDU_FT
[ "<BEGIN>\n## `component_offsetvectors`", "Given an iterable of offset vectors, return the shortest list of\n\tthe unique n-instrument offset vectors from which all the vectors\n\tin the input iterable can be constructed. This can be used to\n\tdetermine the minimal set of n-instrument coincs required to\n\tconst...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insertBefore API. 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 insertBefore API. 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...
Insert a new child node before an existing child. It must be the case that refchild is a child of this node; if not, ValueError is raised. newchild is returned.
"Insert a new child node before an existing child. It must\n\t\tbe the case that refchild is a child of this node; if not,\n\t\tValueError is raised. newchild is returned."
1,048
true
gwastro/pycbc-glue
insertBefore
10,151
LDU_FT/linkedin/asciietch/_draw_ascii_graph
LDU_FT
[ "<BEGIN>\n## `_scale_x_values_timestamps`", "Scale X values to new width based on timestamps\n<END>", "<BEGIN>\n## `_scale_y_values`", "Take values and transmute them into a new range\n<END>", "<BEGIN>\n## `_get_ascii_field`", "Create a representation of an ascii graph using two lists in this format: fiel...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _draw_ascii_graph API. 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 _draw_ascii_graph API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Draw graph from field double nested list, format field[x][y] = char
"Draw graph from field double nested list, format field[x][y] = char"
12
false
linkedin/asciietch
_draw_ascii_graph
10,152
LDU_FT/consbio/ncdjango/fn_abs
LDU_FT
[ "<BEGIN>\n## `p_binary_operators`", "conditional : conditional AND condition\n | conditional OR condition\n condition : condition LTE expression\n | condition GTE expression\n | condition LT expression\n | condition GT expression...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fn_abs API. 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 fn_abs API. 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 the absolute value of a number. :param value: The number. :return: The absolute value of the number.
"Return the absolute value of a number.\n\n :param value: The number.\n :return: The absolute value of the number."
146
false
consbio/ncdjango
fn_abs
10,153
LDU_FT/mitodl/PyLmod/get_course_guide_staff
LDU_FT
[ "<BEGIN>\n## `unravel_sections`", "Unravels section type dictionary into flat list of sections with\n section type set as an attribute.", " Args:\n section_data(dict): Data return from py:method::get_sections", " Returns:\n list: Flat list of sections with ``sectionT...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_course_guide_staff 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_course_guide_staff 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 the staff roster for a course. Get a list of staff members for a given course, specified by a course id. Args: course_id (int): unique identifier for course, i.e. ``2314`` Raises: requests.RequestException: Exception connection error ValueError:...
"Get the staff roster for a course.\n\n Get a list of staff members for a given course,\n specified by a course id.\n\n Args:\n course_id (int): unique identifier for course, i.e. ``2314``\n\n Raises:\n requests.RequestException: Exception connection error\n ...
190
false
mitodl/PyLmod
get_course_guide_staff
10,154
LDU_FT/Zitrax/nose-dep/dependency_ran
LDU_FT
[ "<BEGIN>\n## `depends`", "Decorator to specify test dependencies", " :param after: The test needs to run after this/these tests. String or list of strings.\n :param before: The test needs to run before this/these tests. String or list of strings.\n<END>", "<BEGIN>\n## `split_on_condition`", "Split a s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dependency_ran API. 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 dependency_ran API. 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 an error string if any of the dependencies did not run
"Returns an error string if any of the dependencies did not run"
13
false
Zitrax/nose-dep
dependency_ran
10,155
LDU_FT/soxofaan/dahuffman/encode_streaming
LDU_FT
[ "<BEGIN>\n## `encode_streaming`", "Encode given data in streaming fashion.", " :param data: sequence of symbols (e.g. byte string, unicode string, list, iterator)\n :return: generator of bytes (single character strings in Python2, ints in Python 3)\n<END>", "<BEGIN>\n## `decode`", "Decode give...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode_streaming API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode_streaming API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Encode given data in streaming fashion. :param data: sequence of symbols (e.g. byte string, unicode string, list, iterator) :return: generator of bytes (single character strings in Python2, ints in Python 3)
"Encode given data in streaming fashion.\n\n :param data: sequence of symbols (e.g. byte string, unicode string, list, iterator)\n :return: generator of bytes (single character strings in Python2, ints in Python 3)"
14
false
soxofaan/dahuffman
encode_streaming
10,156
LDU_FT/sci-bots/pygtkhelpers/add_proxy_for
LDU_FT
[ "<BEGIN>\n## `gcall`", "Calls a function, with the given arguments inside Gtk's main loop.\n Example::\n gcall(lbl.set_text, \"foo\")", " If this call would be made in a thread there could be problems, using\n it inside Gtk's main loop makes it thread safe.\n<END>", "<BEGIN>\n## `invoke_in_mai...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_proxy_for API. 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 add_proxy_for API. 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...
Create a proxy for a widget and add it to this group :param name: The name or key of the proxy, which will be emitted with the changed signal :param widget: The widget to create a proxy for
"Create a proxy for a widget and add it to this group\n\n :param name: The name or key of the proxy, which will be emitted with\n the changed signal\n :param widget: The widget to create a proxy for"
240
false
sci-bots/pygtkhelpers
add_proxy_for
10,157
LDU_FT/bmweiner/skillful/dispatch
LDU_FT
[ "<BEGIN>\n## `timestamp`", "Validate timestamp specified by request.", " See `validate.request` for additional info.", " Args:\n stamp: str. Time request was made as ISO 8601 timestamp.\n tolerance: int. Number of seconds request remains valid from timestamp.", " Returns\n bool...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dispatch API. 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 dispatch API. 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...
Calls the matching logic function by request type or intent name.
"Calls the matching logic function by request type or intent name."
94
false
bmweiner/skillful
dispatch
10,158
LDU_FT/bachya/regenmaschine/login
LDU_FT
[ "<BEGIN>\n## `upcoming`", "Return watering statistics for the next 6 days.\n<END>", "<BEGIN>\n## `_raise_for_remote_status`", "Raise an error from the remote API if necessary.\n<END>", "<BEGIN>\n## `login`", "Authenticate against a RainMachine device.\n<END>", "<BEGIN>\n## `_request`", "Make a request...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API. 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 login API. 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...
Authenticate against the device (remotely).
"Authenticate against the device (remotely)."
22
false
bachya/regenmaschine
login
10,159
LDU_FT/caffeinehit/django-oauth2-provider/to_names
LDU_FT
[ "<BEGIN>\n## `check`", "Check if a desired scope ``wants`` is part of an available scope ``has``.", " Returns ``False`` if not, return ``True`` if yes.", " :example:", " If a list of scopes such as", " ::", " READ = 1 << 1\n WRITE = 1 << 2\n READ_WRITE = READ | WRITE", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_names API. 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 to_names API. 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...
Returns a list of scope names as defined in :attr:`provider.constants.SCOPES` for a given scope integer. >>> assert ['read', 'write'] == provider.scope.names(provider.constants.READ_WRITE)
"Returns a list of scope names as defined in\n :attr:`provider.constants.SCOPES` for a given scope integer.\n\n >>> assert ['read', 'write'] == provider.scope.names(provider.constants.READ_WRITE)"
74
false
caffeinehit/django-oauth2-provider
to_names
10,160
LDU_FT/seme0021/python-zillow/GetSearchResults
LDU_FT
[ "<BEGIN>\n## `GetSearchResults`", "The GetSearchResults API finds a property for a specified address.\n The content returned contains the address for the property or properties as well as the Zillow Property ID (ZPID) and current Zestimate.\n It also includes the date the Zestimate was computed, a v...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetSearchResults API. 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 GetSearchResults API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
The GetSearchResults API finds a property for a specified address. The content returned contains the address for the property or properties as well as the Zillow Property ID (ZPID) and current Zestimate. It also includes the date the Zestimate was computed, a valuation range and the Zestimate ranking fo...
"The GetSearchResults API finds a property for a specified address.\n The content returned contains the address for the property or properties as well as the Zillow Property ID (ZPID) and current Zestimate.\n It also includes the date the Zestimate was computed, a valuation range and the Zestimate ranking...
22
false
seme0021/python-zillow
GetSearchResults
10,161
LDU_FT/timstaley/voevent-parse/get_grouped_params
LDU_FT
[ "<BEGIN>\n## `Param`", "'Parameter', used as a general purpose key-value entry in the 'What' section.", " May be assembled into a :class:`Group`.", " NB ``name`` is not mandated by schema, but *is* mandated in full spec.", " Args:\n value(str): String representing parameter value.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_grouped_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_grouped_params 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...
Fetch grouped Params from the `What` section of a voevent as an omdict. This fetches 'grouped' Params, i.e. those enclosed in a Group element, and returns them as a nested dict-like structure, keyed by GroupName->ParamName->AttribName. Note that since multiple Params may share the same ParamName, the ...
"Fetch grouped Params from the `What` section of a voevent as an omdict.\n\n This fetches 'grouped' Params, i.e. those enclosed in a Group element,\n and returns them as a nested dict-like structure, keyed by\n GroupName->ParamName->AttribName.\n\n Note that since multiple Params may share the same ParamNam...
131
false
timstaley/voevent-parse
get_grouped_params
10,162
LDU_FT/vertexproject/synapse/getLiftRows
LDU_FT
[ "<BEGIN>\n## `openDatFile`", "Open a file-like object using a pkg relative path.", " Example:", " fd = openDatFile('foopkg.barpkg/wootwoot.bin')\n<END>", "<BEGIN>\n## `scrape`", "Scrape types from a blob of text and return node tuples.", " Args:\n text (str): Text to scrape.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getLiftRows API. 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 getLiftRows API. 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...
Yield row tuples from a series of lift operations. Row tuples only requirement is that the first element be the binary id of a node. Args: lops (list): A list of lift operations. Yields: (tuple): (layer_indx, (buid, ...)) rows.
"Yield row tuples from a series of lift operations.\n\n Row tuples only requirement is that the first element\n be the binary id of a node.\n\n Args:\n lops (list): A list of lift operations.\n\n Yields:\n (tuple): (layer_indx, (buid, ...)) rows."
1,135
true
vertexproject/synapse
getLiftRows
10,163
LDU_FT/alphagov/performanceplatform-collector/group
LDU_FT
[ "<BEGIN>\n## `parse_time_range`", "Convert the start/end datetimes specified by the user, specifically:\n - truncate any minutes/seconds\n - for a missing end time, use start + 24 hours\n - for a missing start time, use end - 24 hours\n - for missing start and end, use the last 24 hours\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the group API. 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 group API. 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...
groupby which sorts the input, discards the key and returns the output as a sequence of lists.
"groupby which sorts the input, discards the key and returns the output\n as a sequence of lists."
56
false
alphagov/performanceplatform-collector
group
10,164
LDU_FT/jasonlaska/spherecluster/_inertia_from_labels
LDU_FT
[ "<BEGIN>\n## `sample_vMF`", "Generate num_samples N-dimensional samples from von Mises Fisher\n distribution around center mu \\in R^N with concentration kappa.\n<END>", "<BEGIN>\n## `_sample_weight`", "Rejection sampling scheme for sampling distance from center on\n surface of the sphere.\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _inertia_from_labels 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 _inertia_from_labels API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Compute inertia with cosine distance using known labels.
"Compute inertia with cosine distance using known labels."
93
false
jasonlaska/spherecluster
_inertia_from_labels
10,165
LDU_FT/rbw/pysnow/insert
LDU_FT
[ "<BEGIN>\n## `count`", "Returns the number of records the query would yield\n<END>", "<BEGIN>\n## `_all_inner`", "Yields all records for the query and follows links if present on the response after validating", " :return: List of records with content\n<END>", "<BEGIN>\n## `get_multiple`", "Wrappe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert API. 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 insert API. 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 ...
Insert (POST) request wrapper :param table: table to insert on :param payload: update payload (dict) :param kwargs: Keyword arguments passed along to `Request` :return: - Dictionary containing the created record
"Insert (POST) request wrapper\n\n :param table: table to insert on\n :param payload: update payload (dict)\n :param kwargs: Keyword arguments passed along to `Request`\n :return:\n - Dictionary containing the created record"
164
false
rbw/pysnow
insert
10,166
LDU_FT/frejanordsiek/hdf5storage/read_object_array
LDU_FT
[ "<BEGIN>\n## `update_type_lookups`", "Update type and typestring lookup dicts.", " Must be called once the ``types`` and ``python_type_strings``\n attributes are set so that ``type_to_typestring`` and\n ``typestring_to_type`` are constructed.", " .. versionadded:: 0.2", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_object_array API. 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 read_object_array API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Reads an array of objects recursively. Read the elements of the given HDF5 Reference array recursively in the and constructs a ``numpy.object_`` array from its elements, which is returned. Parameters ---------- f : h5py.File The HDF5 file handle that is open. data : numpy.ndarray o...
"Reads an array of objects recursively.\n\n Read the elements of the given HDF5 Reference array recursively\n in the and constructs a ``numpy.object_`` array from its elements,\n which is returned.\n\n Parameters\n ----------\n f : h5py.File\n The HDF5 file handle that is open.\n data : nump...
264
false
frejanordsiek/hdf5storage
read_object_array
10,167
LDU_FT/Kortemme-Lab/pull_into_place/dihedral
LDU_FT
[ "<BEGIN>\n## `make_command_table`", "Return a nicely formatted table of all the PIP commands installed on this \n system to incorporate into the help text. The table will have two columns. \n The first will list the commands that comprise the main pipeline and the \n second will list all the other misc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dihedral API. 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 dihedral API. 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...
Calculates dihedral angle between four coordinate points. Used for dihedral constraints.
"Calculates dihedral angle between four coordinate points. Used for\n dihedral constraints."
75
false
Kortemme-Lab/pull_into_place
dihedral
10,168
LDU_FT/SuperCowPowers/workbench/_file_timestamp_info
LDU_FT
[ "<BEGIN>\n## `conn_log_graph`", "Build up a graph (nodes and edges from a Bro conn.log)\n<END>", "<BEGIN>\n## `dns_log_graph`", "Build up a graph (nodes and edges from a Bro dns.log)\n<END>", "<BEGIN>\n## `weird_log_graph`", "Build up a graph (nodes and edges from a Bro weird.log)\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _file_timestamp_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _file_timestamp_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Grab all the timestamps for the files in the directory
"Grab all the timestamps for the files in the directory"
328
false
SuperCowPowers/workbench
_file_timestamp_info
10,169
LDU_FT/nwilming/ocupy/firstSacDist
LDU_FT
[ "<BEGIN>\n## `path`", "Constructs the path to categories, images and features.", " This path function assumes that the following storage scheme is used on\n the hard disk to access categories, images and features:\n - categories: /impath/category\n - images: /impath/categ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the firstSacDist API. 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 firstSacDist API. 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...
Computes the distribution of angle and length combinations that were made as first saccades Parameters: fm : ocupy.fixmat The fixation data to be analysed
"Computes the distribution of angle and length\n combinations that were made as first saccades\n \n Parameters:\n fm : ocupy.fixmat \n The fixation data to be analysed"
310
false
nwilming/ocupy
firstSacDist
10,170
LDU_FT/langloisjp/pysvcmetrics/send
LDU_FT
[ "<BEGIN>\n## `timeit`", "Time execution of function. Returns (res, seconds).", " >>> res, timing = timeit(time.sleep, 1)\n<END>", "<BEGIN>\n## `timing`", "Log timing information", " >>> client = StatsdClient()\n >>> client.timing('example.timing', 500)\n >>> client.timing(('example...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API. 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 send API. 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...
Sends key/value pairs via UDP. >>> StatsdClient.send({"example.send":"11|c"}, ("127.0.0.1", 8125))
"Sends key/value pairs via UDP.\n\n >>> StatsdClient.send({\"example.send\":\"11|c\"}, (\"127.0.0.1\", 8125))"
40
false
langloisjp/pysvcmetrics
send
10,171
LDU_FT/belbio/bel/update_specifications
LDU_FT
[ "<BEGIN>\n## `convert_msg_to_html`", "Convert \\n into a <BR> for an HTML formatted message\n<END>", "<BEGIN>\n## `validate`", "Validate Nanopub", " Error Levels are similar to log levels - selecting WARNING includes both\n WARNING and ERROR, selecting ERROR just includes ERROR", " The validation...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_specifications 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 update_specifications API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Update BEL specifications Collect BEL specifications from Github BELBio BEL Specification folder and store in local directory specified in belbio_conf.yaml Process all BEL Specifications in YAML into an enhanced JSON version and capture all BEL versions in a separate file for quick access.
"Update BEL specifications\n\n Collect BEL specifications from Github BELBio BEL Specification folder\n and store in local directory specified in belbio_conf.yaml\n\n Process all BEL Specifications in YAML into an enhanced JSON version\n and capture all BEL versions in a separate file for quick access."
475
false
belbio/bel
update_specifications
10,172