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/burnash/gspread/duplicate | LDU_FT | [
"<BEGIN>\n## `authorize`",
"Login to Google API using OAuth2 credentials.\n This is a shortcut function which\n instantiates :class:`gspread.client.Client`\n and performs login right away.",
" :returns: :class:`gspread.Client` instance.\n<END>",
"<BEGIN>\n## `batch_update`",
"Lower-level method ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the duplicate API.
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 duplicate API.
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... | Duplicate the sheet.
:param int insert_sheet_index: (optional) The zero-based index
where the new sheet should be inserted.
The index of all sheets after this are
incremented.
:param int... | "Duplicate the sheet.\n\n :param int insert_sheet_index: (optional) The zero-based index\n where the new sheet should be inserted.\n The index of all sheets after this are\n incremented.\n :pa... | 226 | false | burnash/gspread | duplicate | 27,973 | |
LDU_FT/ivanprjcts/sdklib/send_http_request_with_query_parameters | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parse the given XML input and convert it into a dictionary.",
" `xml_input` can either be a `string` or a file-like object.",
" If `xml_attribs` is `True`, element attributes are put in the dictionary\n among regular child elements, using `@` as a prefix to avoid collisions. I... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_http_request_with_query_parameters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicate... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_http_request_with_query_parameters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicate... | Parameters:
+-------------+--------------+
| param_name | param_value |
+=============+==============+
| param1 | value1 |
+-------------+--------------+
| param2 | value2 |
+-------------+--------------+ | "Parameters:\n\n +-------------+--------------+\n | param_name | param_value |\n +=============+==============+\n | param1 | value1 |\n +-------------+--------------+\n | param2 | value2 |\n +-------------+--------------+" | 125 | false | ivanprjcts/sdklib | send_http_request_with_query_parameters | 27,974 | |
LDU_FT/python-visualization/folium/fit_bounds | LDU_FT | [
"<BEGIN>\n## `_get_self_bounds`",
"Computes the bounds of the object itself (not including it's children)\n in the form [[lat_min, lon_min], [lat_max, lon_max]].\n<END>",
"<BEGIN>\n## `path_options`",
"Contains options and constants shared between vector overlays\n (Polygon, Polyline, Circle, Circle... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit_bounds API.
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 fit_bounds API.
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... | Fit the map to contain a bounding box with the
maximum zoom level possible.
Parameters
----------
bounds: list of (latitude, longitude) points
Bounding box specified as two points [southwest, northeast]
padding_top_left: (x, y) point, default None
Padding... | "Fit the map to contain a bounding box with the\n maximum zoom level possible.\n\n Parameters\n ----------\n bounds: list of (latitude, longitude) points\n Bounding box specified as two points [southwest, northeast]\n padding_top_left: (x, y) point, default None\n ... | 111 | false | python-visualization/folium | fit_bounds | 27,975 | |
LDU_FT/laymonage/kbbi-python/serialisasi | LDU_FT | [
"<BEGIN>\n## `ambil_teks_dalam_label`",
"Mengambil semua teks dalam sup label HTML (tanpa anak-anaknya).",
" :param sup: BeautifulSoup dari suatu label HTML\n :type sup: BeautifulSoup\n :returns: String semua teks dalam sup label HTML\n :rtype: str\n<END>",
"<BEGIN>\n## `_init_entri`",
"Membuat ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialisasi API.
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 serialisasi API.
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... | Mengembalikan hasil serialisasi objek Entri ini.
:returns: Dictionary hasil serialisasi
:rtype: dict | "Mengembalikan hasil serialisasi objek Entri ini.\n\n :returns: Dictionary hasil serialisasi\n :rtype: dict" | 30 | false | laymonage/kbbi-python | serialisasi | 27,976 | |
LDU_FT/Kjwon15/autotweet/_recalc_idfs | LDU_FT | [
"<BEGIN>\n## `add_document`",
"Add question answer set to DB.",
" :param question: A question to an answer\n :type question: :class:`str`",
" :param answer: An answer to a question\n :type answer: :class:`str`\n<END>",
"<BEGIN>\n## `get_best_answer`",
"Get best answer to a ques... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _recalc_idfs API.
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 _recalc_idfs API.
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... | Re-calculate idfs for database.
calculating idfs for gram is taking long time.
So I made it calculates idfs for some grams.
If you want make accuracy higher, use this with grams=None.
:param session: DB session
:type session: :class:`sqlalchemt.orm.Session`
:param gram... | "Re-calculate idfs for database.\n\n calculating idfs for gram is taking long time.\n So I made it calculates idfs for some grams.\n If you want make accuracy higher, use this with grams=None.\n\n :param session: DB session\n :type session: :class:`sqlalchemt.orm.Session`\n\n :... | 35 | false | Kjwon15/autotweet | _recalc_idfs | 27,977 | |
LDU_FT/teepark/junction/after | LDU_FT | [
"<BEGIN>\n## `wait_connected`",
"Wait for connections to be made and their handshakes to finish",
" :param conns:\n a single or list of (host, port) tuples with the connections that\n must be finished before the method will return. defaults to all the\n peers the :class:`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the after API.
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 after API.
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... | Create a new Future whose completion depends on this one
The new future will have a function that it calls once all its parents
have completed, the return value of which will be its final value.
There is a special case, however, in which the dependent future's
callback returns a future ... | "Create a new Future whose completion depends on this one\n\n The new future will have a function that it calls once all its parents\n have completed, the return value of which will be its final value.\n There is a special case, however, in which the dependent future's\n callback returns a f... | 131 | false | teepark/junction | after | 27,978 | |
LDU_FT/facundobatista/yaswfp/_generic_definetext_parser | LDU_FT | [
"<BEGIN>\n## `_str`",
"Show nicely the generic object received.\n<END>",
"<BEGIN>\n## `_repr`",
"Show the received object as precise as possible.\n<END>",
"<BEGIN>\n## `parsefile`",
"Parse a SWF.",
" If you have a file object already, just use SWFParser directly.",
" read_twips: True - return v... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generic_definetext_parser 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 _generic_definetext_parser API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Generic parser for the DefineTextN tags. | "Generic parser for the DefineTextN tags." | 56 | false | facundobatista/yaswfp | _generic_definetext_parser | 27,979 | |
LDU_FT/BlackEarth/bl/copy | LDU_FT | [
"<BEGIN>\n## `random_id`",
"Creates a random id with the given length and charset.\r\n ## Parameters\r\n * length the number of characters in the id\r\n * charset what character set to use (a list of characters)\r\n * first_charset what character set for the first character\r\n *... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy API.
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 copy API.
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... | copy the file to the new_fn, preserving atime and mtime | "copy the file to the new_fn, preserving atime and mtime" | 54 | false | BlackEarth/bl | copy | 27,980 | |
LDU_FT/revelc/pyaccumulo/revokeTablePermission | LDU_FT | [
"<BEGIN>\n## `following_key`",
"Returns the key immediately following the input key - based on the Java implementation found in\n org.apache.accumulo.core.data.Key, function followingKey(PartialKey part)\n :param key: the key to be followed\n :return: a key that immediately follows the input key\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the revokeTablePermission 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 revokeTablePermission API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Parameters:
- login
- user
- table
- perm | "Parameters:\n - login\n - user\n - table\n - perm" | 110 | false | revelc/pyaccumulo | revokeTablePermission | 27,981 | |
LDU_FT/junaruga/rpm-py-installer/find | 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 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 extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | Find matched files.
It does not include symbolic file in the result. | "Find matched files.\n\n It does not include symbolic file in the result." | 67 | false | junaruga/rpm-py-installer | find | 27,982 | |
LDU_FT/EventTeam/beliefs/set_domain | LDU_FT | [
"<BEGIN>\n## `size`",
"Size of LazyCell: the size of the intension plus accounting for\n excluded and included additions.",
" The exclusions are assumed to be part of the set\n The inclusions are assumed to NOT be part of the intension\n<END>",
"<BEGIN>\n## `update`",
"Updates intensio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_domain API.
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 set_domain API.
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... | Sets the domain. Should only be called once per class instantiation. | "Sets the domain. Should only be called once per class instantiation." | 158 | false | EventTeam/beliefs | set_domain | 27,983 | |
LDU_FT/dmlc/xgboost/feature_names | LDU_FT | [
"<BEGIN>\n## `init`",
"Initialize the rabit library with arguments\n<END>",
"<BEGIN>\n## `tracker_print`",
"Print message to the tracker.",
" This function can be used to communicate the information of\n the progress to the tracker",
" Parameters\n ----------\n msg : str\n The messag... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the feature_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the feature_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 ext... | Get feature names (column labels).
Returns
-------
feature_names : list or None | "Get feature names (column labels).\n\n Returns\n -------\n feature_names : list or None" | 276 | false | dmlc/xgboost | feature_names | 27,984 | |
LDU_FT/Microsoft/azure-devops-python-api/create_page_move | LDU_FT | [
"<BEGIN>\n## `create_attachment`",
"CreateAttachment.\n Creates an attachment in the wiki.\n :param object upload_stream: Stream to upload\n :param str project: Project ID or project name\n :param str wiki_identifier: Wiki Id or name.\n :param str name: Wiki attachment name.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_page_move API.
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 create_page_move API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | CreatePageMove.
Creates a page move operation that updates the path and order of the page as provided in the parameters.
:param :class:`<WikiPageMoveParameters> <azure.devops.v5_0.wiki.models.WikiPageMoveParameters>` page_move_parameters: Page more operation parameters.
:param str project: Proje... | "CreatePageMove.\n Creates a page move operation that updates the path and order of the page as provided in the parameters.\n :param :class:`<WikiPageMoveParameters> <azure.devops.v5_0.wiki.models.WikiPageMoveParameters>` page_move_parameters: Page more operation parameters.\n :param str project: P... | 1,304 | true | Microsoft/azure-devops-python-api | create_page_move | 27,985 | |
LDU_FT/dshean/pygeotools/sliding_window | LDU_FT | [
"<BEGIN>\n## `fn_check_full`",
"Check for file existence",
" Avoids race condition, but slower than os.path.exists.",
" Parameters\n ----------\n fn : str\n Input filename string.",
" Returns\n -------\n status \n True if file exists, False otherwise.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sliding_window API.
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 sliding_window API.
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... | Return a sliding window over a in any number of dimensions
Parameters:
a - an n-dimensional numpy array
ws - an int (a is 1D) or tuple (a is 2D or greater) representing the size
of each dimension of the window
ss - an int (a is 1D) or tuple (a is 2D or greater) representi... | "Return a sliding window over a in any number of dimensions\n \n Parameters:\n a - an n-dimensional numpy array\n ws - an int (a is 1D) or tuple (a is 2D or greater) representing the size\n of each dimension of the window\n ss - an int (a is 1D) or tuple (a is 2D or greater) rep... | 322 | false | dshean/pygeotools | sliding_window | 27,986 | |
LDU_FT/pysal/giddy/sojourn_time | LDU_FT | [
"<BEGIN>\n## `is_component`",
"Check if the set of ids form a single connected component",
" Parameters\n ----------",
" w : spatial weights boject",
" ids : list\n identifiers of units that are tested to be a single connected\n component",
" Returns\n -------",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sojourn_time API.
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 sojourn_time API.
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... | Calculate sojourn time based on a given transition probability matrix.
Parameters
----------
p : array
(k, k), a Markov transition probability matrix.
Returns
-------
: array
(k, ), sojourn times. Each element is the expected time a Markov
... | "Calculate sojourn time based on a given transition probability matrix.\n\n Parameters\n ----------\n p : array\n (k, k), a Markov transition probability matrix.\n\n Returns\n -------\n : array\n (k, ), sojourn times. Each element is the expected time a Mark... | 132 | false | pysal/giddy | sojourn_time | 27,987 | |
LDU_FT/nateshmbhat/pyttsx3/_pump | LDU_FT | [
"<BEGIN>\n## `init`",
"Constructs a new TTS engine instance or reuses the existing instance for\n the driver name.",
" @param driverName: Name of the platform specific driver to use. If\n None, selects the default driver for the operating system.\n @type: str\n @param debug: Debugging output ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pump API.
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 _pump API.
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... | Attempts to process the next command in the queue if one exists and the
driver is not currently busy. | "Attempts to process the next command in the queue if one exists and the\n driver is not currently busy." | 73 | false | nateshmbhat/pyttsx3 | _pump | 27,988 | |
LDU_FT/mdickinson/bigfloat/notequal | LDU_FT | [
"<BEGIN>\n## `build`",
"Build the bigfloat library for in-place testing.\n<END>",
"<BEGIN>\n## `_quotient_exponent`",
"Given two positive finite MPFR instances x and y,\n find the exponent of x / y; that is, the unique\n integer e such that 2**(e-1) <= x / y < 2**e.\n<END>",
"<BEGIN>\n## `mpfr_floordi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notequal API.
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 notequal API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return True if x != y and False otherwise.
This function returns True whenever x and/or y is a NaN. | "Return True if x != y and False otherwise.\n\n This function returns True whenever x and/or y is a NaN." | 273 | false | mdickinson/bigfloat | notequal | 27,989 | |
LDU_FT/dhondta/tinyscript/std_input | LDU_FT | [
"<BEGIN>\n## `_filtered_actions`",
"Get actions filtered on a list of action types.",
" :param a_type: argparse.Action instance name (e.g. count, append)\n<END>",
"<BEGIN>\n## `_input_arg`",
"Ask the user for input of a single argument.",
" :param a: argparse.Action instance\n :return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the std_input API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the std_input API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Very simple Python2/3-compatible input method.
:param prompt: prompt message
:param style: dictionary of ansi_wrap keyword-arguments | "Very simple Python2/3-compatible input method.\n \n :param prompt: prompt message\n :param style: dictionary of ansi_wrap keyword-arguments" | 74 | false | dhondta/tinyscript | std_input | 27,990 | |
LDU_FT/wohlgejm/accountable/addcomment | LDU_FT | [
"<BEGIN>\n## `configure`",
"Initial configuration. Used to specify your username, password and domain.\n Configuration is stored in ~/.accountable/config.yaml.\n<END>",
"<BEGIN>\n## `issuetypes`",
"List all issue types. Optional parameter to list issue types by a given\n project.\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addcomment API.
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 addcomment API.
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... | Add a comment to the given issue key. Accepts a body argument to be used
as the comment's body. | "Add a comment to the given issue key. Accepts a body argument to be used\n as the comment's body." | 22 | false | wohlgejm/accountable | addcomment | 27,991 | |
LDU_FT/AtteqCom/zsl/_parse_dict | 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 _parse_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_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 extra... | Parse xml element by a definition given in dict format.
:param element: ElementTree element
:param definition: definition schema
:type definition: dict
:return: parsed xml
:rtype: dict | "Parse xml element by a definition given in dict format.\n\n :param element: ElementTree element\n :param definition: definition schema\n :type definition: dict\n :return: parsed xml\n :rtype: dict" | 292 | false | AtteqCom/zsl | _parse_dict | 27,992 | |
LDU_FT/smdabdoub/kraken-biom/parse_kraken_report | LDU_FT | [
"<BEGIN>\n## `tax_fmt`",
"Create a string representation of a taxonomic hierarchy (QIIME for now).",
" :type tax_lvl: dict\n :param tax_lvl: Keyed on the entries in ranks\n :type end: int\n :param end: The end rank index (0-based indexing). If end == 3\n then the returned string will ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_kraken_report 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 parse_kraken_report 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... | Parse a single output file from the kraken-report tool. Return a list
of counts at each of the acceptable taxonomic levels, and a list of
NCBI IDs and a formatted string representing their taxonomic hierarchies.
:type kdata: str
:param kdata: Contents of the kraken report file. | "Parse a single output file from the kraken-report tool. Return a list\n of counts at each of the acceptable taxonomic levels, and a list of \n NCBI IDs and a formatted string representing their taxonomic hierarchies.\n\n :type kdata: str\n :param kdata: Contents of the kraken report file." | 21 | false | smdabdoub/kraken-biom | parse_kraken_report | 27,993 | |
LDU_FT/robmcmullen/atrcopy/resize | LDU_FT | [
"<BEGIN>\n## `text_to_int`",
"Convert text to int, raising exeception on invalid input\n<END>",
"<BEGIN>\n## `assign_sector_numbers`",
"Map out the sectors and link the sectors together",
" raises NotEnoughSpaceOnDisk if the whole file won't fit. It will not\n allow partial writes.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resize API.
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 resize API.
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 ... | Resize the data arrays.
This can only be performed on the container segment. Child segments
must adjust their rawdata to point to the correct place.
Since segments don't keep references to other segments, it is the
user's responsibility to update any child segments that point to this
... | "Resize the data arrays.\n\n This can only be performed on the container segment. Child segments\n must adjust their rawdata to point to the correct place.\n\n Since segments don't keep references to other segments, it is the\n user's responsibility to update any child segments that point to... | 73 | false | robmcmullen/atrcopy | resize | 27,994 | |
LDU_FT/jmgilman/Neolib/encryptCTR | LDU_FT | [
"<BEGIN>\n## `installed`",
"Returns whether or not Google Chrome is installed",
" Determines the application data path for Google Chrome\n and checks if the path exists. If so, returns True, otherwise\n it will return False.",
" Returns\n bool - True if Chrome is installe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encryptCTR API.
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 encryptCTR API.
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... | Encrypts a buffer of data with CTR mode. Multiple successive buffers
(beinting to the same logical stream of buffers) can be encrypted
with this method one after the other without any intermediate work. | "Encrypts a buffer of data with CTR mode. Multiple successive buffers\n (beinting to the same logical stream of buffers) can be encrypted\n with this method one after the other without any intermediate work." | 629 | false | jmgilman/Neolib | encryptCTR | 27,995 | |
LDU_FT/projectshift/shift-schema/validate_properties | LDU_FT | [
"<BEGIN>\n## `validate`",
"Validate\n Perform value validation against validation settings and return\n error object.",
" :param value: list, value to check\n :param model: parent model being validated\n :param context: object or None, validation co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_properties 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 validate_properties 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... | Validate simple properties
Performs validation on simple properties to return a result object.
:param model: object or dict
:param context: object, dict or None
:return: shiftschema.result.Result | "Validate simple properties\n Performs validation on simple properties to return a result object.\n :param model: object or dict\n :param context: object, dict or None\n :return: shiftschema.result.Result" | 135 | false | projectshift/shift-schema | validate_properties | 27,996 | |
LDU_FT/RaRe-Technologies/smart_open/_check_kwargs | LDU_FT | [
"<BEGIN>\n## `extract_kwargs`",
"Extract keyword argument documentation from a function's docstring.",
" Parameters\n ----------\n docstring: str\n The docstring to extract keyword arguments from.",
" Returns\n -------\n list of (str, str, list str)",
" str\n The name of t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_kwargs API.
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 _check_kwargs API.
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... | Check which keyword arguments the callable supports.
Parameters
----------
kallable: callable
A function or method to test
kwargs: dict
The keyword arguments to check. If the callable doesn't support any
of these, a warning message will get printed.
Returns
-------
... | "Check which keyword arguments the callable supports.\n\n Parameters\n ----------\n kallable: callable\n A function or method to test\n kwargs: dict\n The keyword arguments to check. If the callable doesn't support any\n of these, a warning message will get printed.\n\n Returns\n ... | 150 | false | RaRe-Technologies/smart_open | _check_kwargs | 27,997 | |
LDU_FT/digidotcom/python-devicecloud/get_file | LDU_FT | [
"<BEGIN>\n## `_parse_command_response`",
"Parse an SCI command response into ElementTree XML",
" This is a helper method that takes a Requests Response object\n of an SCI command response and will parse it into an ElementTree Element\n representing the root of the XML response.",
" :param response... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Get the contents of a file on the device
:param target: The device(s) to be targeted with this request
:type target: :class:`devicecloud.sci.TargetABC` or list of :class:`devicecloud.sci.TargetABC` instances
:param path: The path on the target to the file to retrieve
:param offset: Star... | "Get the contents of a file on the device\n\n :param target: The device(s) to be targeted with this request\n :type target: :class:`devicecloud.sci.TargetABC` or list of :class:`devicecloud.sci.TargetABC` instances\n :param path: The path on the target to the file to retrieve\n :param offset... | 366 | false | digidotcom/python-devicecloud | get_file | 27,998 | |
LDU_FT/ubccr/pinky/findInvariantPartitioning | LDU_FT | [
"<BEGIN>\n## `draw`",
"(molecule)->canonical representation of a molecule\n Well, it's only canonical if the atom symorders are\n canonical, otherwise it's arbitrary.",
" atoms must have a symorder attribute\n bonds must have a equiv_class attribute\n<END>",
"<BEGIN>\n## `getPyroleLikeAtoms`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the findInvariantPartitioning 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 findInvariantPartitioning API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Keep the initial ordering of the symmetry orders
but make all values unique. For example, if there are
two symmetry orders equal to 0, convert them to 0 and 1
and add 1 to the remaining orders
[0, 1, 0, 1]
should become
[0, 2, 1, 3] | "Keep the initial ordering of the symmetry orders\n but make all values unique. For example, if there are\n two symmetry orders equal to 0, convert them to 0 and 1\n and add 1 to the remaining orders\n\n [0, 1, 0, 1]\n should become\n [0, 2, 1, 3]" | 63 | false | ubccr/pinky | findInvariantPartitioning | 27,999 | |
LDU_FT/quantopian/trading_calendars/_special_dates | LDU_FT | [
"<BEGIN>\n## `days_at_time`",
"Create an index of days at time ``t``, interpreted in timezone ``tz``.",
" The returned index is localized to UTC.",
" Parameters\n ----------\n days : DatetimeIndex\n An index of dates (represented as midnight).\n t : datetime.time\n The time to app... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _special_dates API.
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 _special_dates API.
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... | Compute a Series of times associated with special dates.
Parameters
----------
holiday_calendars : list[(datetime.time, HolidayCalendar)]
Pairs of time and calendar describing when that time occurs. These
are used to describe regularly-scheduled late opens or early
... | "Compute a Series of times associated with special dates.\n\n Parameters\n ----------\n holiday_calendars : list[(datetime.time, HolidayCalendar)]\n Pairs of time and calendar describing when that time occurs. These\n are used to describe regularly-scheduled late opens or earl... | 150 | false | quantopian/trading_calendars | _special_dates | 28,000 | |
LDU_FT/jorgenschaefer/elpy/_call_backend | LDU_FT | [
"<BEGIN>\n## `get_pydoc_completions`",
"Get possible completions for modulename for pydoc.",
" Returns a list of possible values to be passed to pydoc.\n<END>",
"<BEGIN>\n## `get_modules`",
"Return a list of modules and packages under modulename.",
" If modulename is not given, return a list of all ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _call_backend API.
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 _call_backend API.
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... | Call the backend method with args.
If there is currently no backend, return default. | "Call the backend method with args.\n\n If there is currently no backend, return default." | 97 | false | jorgenschaefer/elpy | _call_backend | 28,001 | |
LDU_FT/ApproxEng/approxeng.input/register_button_handler | LDU_FT | [
"<BEGIN>\n## `map_into_range`",
"Map an input function into an output value, clamping such that the magnitude of the output is at most 1.0",
" :param low:\n The value in the input range corresponding to zero.\n :param high:\n The value in the input range corresponding to 1.0 or -1.0, dependi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_button_handler 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 register_button_handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Register a handler function which will be called when a button is pressed
:param button_handler:
A function which will be called when any of the specified buttons are pressed. The
function is called with the Button that was pressed as the sole argument.
:param [Button] buttons:
... | "Register a handler function which will be called when a button is pressed\n\n :param button_handler:\n A function which will be called when any of the specified buttons are pressed. The\n function is called with the Button that was pressed as the sole argument.\n :param [Button] but... | 86 | false | ApproxEng/approxeng.input | register_button_handler | 28,002 | |
LDU_FT/doconix/django-mako-plus/get | LDU_FT | [
"<BEGIN>\n## `run_command`",
"Runs a command, piping all output to the DMP log.\n The args should be separate arguments so paths and subcommands can have spaces in them:",
" ret = run_command('ls', '-l', '/Users/me/My Documents')\n print(ret.code)\n print(ret.stdout)\n print(ret.s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted doc... | Returns the element at idx, or default if idx is beyond the length of the list | "Returns the element at idx, or default if idx is beyond the length of the list" | 207 | false | doconix/django-mako-plus | get | 28,003 | |
LDU_FT/meejah/txtorcon/processEnded | LDU_FT | [
"<BEGIN>\n## `tor_agent`",
"This is the low-level method used by\n :meth:`txtorcon.Tor.web_agent` and\n :meth:`txtorcon.Circuit.web_agent` -- probably you should call one\n of those instead.",
" :returns: a Deferred that fires with an object that implements\n :class:`twisted.web.iweb.IAgent` ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the processEnded API.
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 processEnded API.
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... | :api:`twisted.internet.protocol.ProcessProtocol <ProcessProtocol>` API | ":api:`twisted.internet.protocol.ProcessProtocol <ProcessProtocol>` API" | 289 | false | meejah/txtorcon | processEnded | 28,004 | |
LDU_FT/JensRantil/rewind/add_event | LDU_FT | [
"<BEGIN>\n## `_zmq_socket_context`",
"A ZeroMQ socket context that both constructs a socket and closes it.\n<END>",
"<BEGIN>\n## `_get_with_fallback`",
"Get a configuration value, using fallback for missing values.",
" Parameters:\n config -- the configparser to try to extract the option value from.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_event API.
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_event API.
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 an event and its corresponding key to the store. | "Add an event and its corresponding key to the store." | 112 | false | JensRantil/rewind | add_event | 28,005 | |
LDU_FT/brutasse/graphite-api/mostDeviant | LDU_FT | [
"<BEGIN>\n## `_find_paths`",
"Recursively generates absolute paths whose components\n underneath current_dir match the corresponding pattern in\n patterns\n<END>",
"<BEGIN>\n## `union_overlapping`",
"Union any overlapping intervals in the given set.\n<END>",
"<BEGIN>\n## `recurse`",
"Recursi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mostDeviant API.
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 mostDeviant API.
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... | Takes one metric or a wildcard seriesList followed by an integer N.
Draws the N most deviant metrics.
To find the deviants, the standard deviation (sigma) of each series
is taken and ranked. The top N standard deviations are returned.
Example::
&target=mostDeviant(server*.instance*.memory.free... | "Takes one metric or a wildcard seriesList followed by an integer N.\n Draws the N most deviant metrics.\n To find the deviants, the standard deviation (sigma) of each series\n is taken and ranked. The top N standard deviations are returned.\n\n Example::\n\n &target=mostDeviant(server*.instance*.mem... | 519 | false | brutasse/graphite-api | mostDeviant | 28,006 | |
LDU_FT/SystemRDL/systemrdl-compiler/get_default | LDU_FT | [
"<BEGIN>\n## `derive_coordinates`",
"Depending on the compilation source, some members of the SourceRef\n object may be incomplete.\n Calling this function performs the necessary derivations to complete the\n object.\n<END>",
"<BEGIN>\n## `format_message`",
"Formats the message prior to e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_default API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_default API.
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... | If not explicitly set, check if rset or rclr imply the value | "If not explicitly set, check if rset or rclr imply the value" | 207 | false | SystemRDL/systemrdl-compiler | get_default | 28,007 | |
LDU_FT/modin-project/modin/apply_func_to_select_indices | LDU_FT | [
"<BEGIN>\n## `_read_sql_with_offset_pandas_on_ray`",
"Use a Ray task to read a chunk of SQL source.",
" Note: Ray functions are not detected by codecov (thus pragma: no cover)\n<END>",
"<BEGIN>\n## `read_sql`",
"Read SQL query or database table into a DataFrame.",
" Args:\n sql: strin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_func_to_select_indices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_func_to_select_indices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Applies a function to select indices.
Note: Your internal function must take a kwarg `internal_indices` for
this to work correctly. This prevents information leakage of the
internal index to the external representation.
Args:
axis: The axis to apply the func over.
... | "Applies a function to select indices.\n\n Note: Your internal function must take a kwarg `internal_indices` for\n this to work correctly. This prevents information leakage of the\n internal index to the external representation.\n\n Args:\n axis: The axis to apply the func... | 811 | false | modin-project/modin | apply_func_to_select_indices | 28,008 | |
LDU_FT/mnick/scikit-tensor/als | LDU_FT | [
"<BEGIN>\n## `asalsan`",
"ASALSAN algorithm to compute the three-way DEDICOM decomposition\n of a tensor",
" See\n ---\n .. [1] Brett W. Bader, Richard A. Harshman, Tamara G. Kolda\n \"Temporal analysis of semantic graphs using ASALSAN\"\n 7th International Conference on Data Mining, 200... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the als API.
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 als API.
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... | Alternating least-sqaures algorithm to compute the CP decomposition.
Parameters
----------
X : tensor_mixin
The tensor to be decomposed.
rank : int
Tensor rank of the decomposition.
init : {'random', 'nvecs'}, optional
The initialization method to use.
- random :... | "Alternating least-sqaures algorithm to compute the CP decomposition.\n\n Parameters\n ----------\n X : tensor_mixin\n The tensor to be decomposed.\n rank : int\n Tensor rank of the decomposition.\n init : {'random', 'nvecs'}, optional\n The initialization method to use.\n ... | 114 | false | mnick/scikit-tensor | als | 28,009 | |
LDU_FT/jashort/SmartFileSorter/add_action_rule | LDU_FT | [
"<BEGIN>\n## `do_action`",
":param target: Full path and filename\n :param dry_run: True - don't actually perform action. False: perform action. No effect for this rule.\n :return: filename: Full path and filename after action completes\n<END>",
"<BEGIN>\n## `add_match_rule`",
"Adds the given ma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_action_rule API.
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 add_action_rule API.
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... | Adds the given action rule to this ruleset's action rules
:param rule_config_name:
:return: | "Adds the given action rule to this ruleset's action rules\n :param rule_config_name:\n :return:" | 38 | false | jashort/SmartFileSorter | add_action_rule | 28,010 | |
LDU_FT/neuroticnerd/armory/env | LDU_FT | [
"<BEGIN>\n## `patch_gevent_hub`",
"This patches the error handler in the gevent Hub object.\n<END>",
"<BEGIN>\n## `env`",
"Retrieve environment variables and specify default and options.",
" :param key: (required) environment variable name to retrieve\n :param default: value to use if the environment ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the env API.
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 env API.
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... | Retrieve environment variables and specify default and options.
:param key: (required) environment variable name to retrieve
:param default: value to use if the environment var doesn't exist
:param cast: values always come in as strings, cast to this type if needed
:param force: force casting of value ... | "Retrieve environment variables and specify default and options.\n\n :param key: (required) environment variable name to retrieve\n :param default: value to use if the environment var doesn't exist\n :param cast: values always come in as strings, cast to this type if needed\n :param force: force casting of ... | 21 | false | neuroticnerd/armory | env | 28,011 | |
LDU_FT/Kyria/EsiPy/auth | LDU_FT | [
"<BEGIN>\n## `make_cache_key`",
"Generate a cache key from request object data\n<END>",
"<BEGIN>\n## `check_cache`",
"check if a cache fits esipy needs or not\n<END>",
"<BEGIN>\n## `get_cache_time_left`",
"return the time left in second for an expires header\n<END>",
"<BEGIN>\n## `generate_code_verifier... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auth API.
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 auth API.
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... | Request the token to the /oauth/token endpoint.
Update the security tokens.
:param code: the code you get from the auth process | "Request the token to the /oauth/token endpoint.\r\n Update the security tokens.\r\n\r\n :param code: the code you get from the auth process" | 87 | false | Kyria/EsiPy | auth | 28,012 | |
LDU_FT/joeyespo/grip/render | LDU_FT | [
"<BEGIN>\n## `_get_style_urls`",
"Gets the specified resource and parses all style URLs and their\n assets in the form of the specified patterns.\n<END>",
"<BEGIN>\n## `_cache_contents`",
"Fetches the given URLs and caches their contents\n and their assets in the given directory.\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API.
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 render API.
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 ... | Renders the specified markdown content and embedded styles. | "Renders the specified markdown content and embedded styles." | 77 | false | joeyespo/grip | render | 28,013 | |
LDU_FT/Julian/jsonschema/validator_for | LDU_FT | [
"<BEGIN>\n## `load_schema`",
"Load a schema from ./schemas/``name``.json and return it.\n<END>",
"<BEGIN>\n## `find_additional_properties`",
"Return the set of additional properties for the given ``instance``.",
" Weeds out properties that should have been validated by ``properties`` and\n / or ``patt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validator_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 validator_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... | Retrieve the validator class appropriate for validating the given schema.
Uses the :validator:`$schema` property that should be present in the given
schema to look up the appropriate validator class.
Arguments:
schema (collections.Mapping or bool):
the schema to look at
defa... | "Retrieve the validator class appropriate for validating the given schema.\n\n Uses the :validator:`$schema` property that should be present in the given\n schema to look up the appropriate validator class.\n\n Arguments:\n\n schema (collections.Mapping or bool):\n\n the schema to look at\n\n... | 181 | false | Julian/jsonschema | validator_for | 28,014 | |
LDU_FT/PyCQA/astroid/type | LDU_FT | [
"<BEGIN>\n## `_handle_blacklist`",
"remove files/directories in the black list",
" dirnames/filenames are usually from os.walk\n<END>",
"<BEGIN>\n## `load_module_from_name`",
"Load a Python module from its name.",
" :type dotted_name: str\n :param dotted_name: python name of a module or package",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the type API.
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 type API.
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... | The function type for this node.
Possible values are: method, function, staticmethod, classmethod.
:type: str | "The function type for this node.\n\n Possible values are: method, function, staticmethod, classmethod.\n\n :type: str" | 1,051 | true | PyCQA/astroid | type | 28,015 | |
LDU_FT/jameslyons/python_speech_features/framesig | LDU_FT | [
"<BEGIN>\n## `framesig`",
"Frame a signal into overlapping frames.",
" :param sig: the audio signal to frame.\n :param frame_len: length of each frame measured in samples.\n :param frame_step: number of samples after the start of the previous frame that the next frame should begin.\n :param winfunc:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the framesig API.
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 framesig API.
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... | Frame a signal into overlapping frames.
:param sig: the audio signal to frame.
:param frame_len: length of each frame measured in samples.
:param frame_step: number of samples after the start of the previous frame that the next frame should begin.
:param winfunc: the analysis window to apply to each fr... | "Frame a signal into overlapping frames.\n\n :param sig: the audio signal to frame.\n :param frame_len: length of each frame measured in samples.\n :param frame_step: number of samples after the start of the previous frame that the next frame should begin.\n :param winfunc: the analysis window to apply to e... | 42 | false | jameslyons/python_speech_features | framesig | 28,016 | |
LDU_FT/vimalloc/flask-jwt-extended/prune_database | LDU_FT | [
"<BEGIN>\n## `decode_token`",
"Returns the decoded token (python dict) from an encoded JWT. This does all\n the checks to insure that the decoded token is valid before returning it.",
" :param encoded_token: The encoded JWT to decode into a python dict.\n :param csrf_value: Expected CSRF double submit ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prune_database API.
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 prune_database API.
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... | Delete tokens that have expired from the database.
How (and if) you call this is entirely up you. You could expose it to an
endpoint that only administrators could call, you could run it as a cron,
set it up with flask cli, etc. | "Delete tokens that have expired from the database.\n\n How (and if) you call this is entirely up you. You could expose it to an\n endpoint that only administrators could call, you could run it as a cron,\n set it up with flask cli, etc." | 71 | false | vimalloc/flask-jwt-extended | prune_database | 28,017 | |
LDU_FT/7sDream/zhihu-py3/follower_num | LDU_FT | [
"<BEGIN>\n## `vote`",
"给答案或文章点赞或取消点赞",
" :param Answer/Post something: 需要点赞的答案或文章对象\n :param str vote:\n ===== ================ ======\n 取值 说明 默认值\n ===== ================ ======\n up 赞同 √\n down 反对 X... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the follower_num API.
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 follower_num API.
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... | 获取问题关注人数.
:return: 问题关注人数
:rtype: int | "获取问题关注人数.\n\n :return: 问题关注人数\n :rtype: int" | 234 | false | 7sDream/zhihu-py3 | follower_num | 28,018 | |
LDU_FT/MartinThoma/hwrt/get_sorted_pointlist | LDU_FT | [
"<BEGIN>\n## `classify_segmented_recording`",
"Use this function if you are sure you have a single symbol.",
" Parameters\n ----------\n recording : string\n The recording in JSON format",
" Returns\n -------\n list of dictionaries\n Each dictionary contains the keys 'symbol' a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sorted_pointlist 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_sorted_pointlist API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Make sure that the points and strokes are in order.
Returns
-------
list
A list of all strokes in the recording. Each stroke is represented
as a list of dicts {'time': 123, 'x': 45, 'y': 67} | "Make sure that the points and strokes are in order.\n\n Returns\n -------\n list\n A list of all strokes in the recording. Each stroke is represented\n as a list of dicts {'time': 123, 'x': 45, 'y': 67}" | 558 | false | MartinThoma/hwrt | get_sorted_pointlist | 28,019 | |
LDU_FT/bennylope/django-organizations/register_by_email | LDU_FT | [
"<BEGIN>\n## `invitation_backend`",
"Returns a specified invitation backend",
" Args:\n backend: dotted path to the invitation backend class\n namespace: URL namespace to use",
" Returns:\n an instance of an InvitationBackend\n<END>",
"<BEGIN>\n## `registration_backend`",
"Retur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_by_email API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_by_email API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Returns a User object filled with dummy data and not active, and sends
an invitation email. | "Returns a User object filled with dummy data and not active, and sends\n an invitation email." | 90 | false | bennylope/django-organizations | register_by_email | 28,020 | |
LDU_FT/theolind/pymysensors/alert | LDU_FT | [
"<BEGIN>\n## `_check_connection`",
"Check if connection is alive every reconnect_timeout seconds.\n<END>",
"<BEGIN>\n## `_connect`",
"Connect to socket. This should be run in a new thread.\n<END>",
"<BEGIN>\n## `_check_connection`",
"Check if connection is alive every reconnect_timeout seconds.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the alert API.
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 alert API.
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... | Tell anyone who wants to know that a sensor was updated. | "Tell anyone who wants to know that a sensor was updated." | 109 | false | theolind/pymysensors | alert | 28,021 | |
LDU_FT/pyviz/geoviews/load_tiff | LDU_FT | [
"<BEGIN>\n## `coord_to_dimension`",
"Converts an iris coordinate to a HoloViews dimension.\n<END>",
"<BEGIN>\n## `sort_coords`",
"Sorts a list of DimCoords trying to ensure that\n dates and pressure levels appear first and the\n longitude and latitude appear last in the correct\n order.\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_tiff API.
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 load_tiff API.
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... | Returns an RGB or Image element loaded from a geotiff file.
The data is loaded using xarray and rasterio. If a crs attribute
is present on the loaded data it will attempt to decode it into
a cartopy projection otherwise it will default to a non-geographic
HoloViews element.
Parameters
--------... | "Returns an RGB or Image element loaded from a geotiff file.\n\n The data is loaded using xarray and rasterio. If a crs attribute\n is present on the loaded data it will attempt to decode it into\n a cartopy projection otherwise it will default to a non-geographic\n HoloViews element.\n\n Parameters\n ... | 106 | false | pyviz/geoviews | load_tiff | 28,022 | |
LDU_FT/florianpaquet/mease/send | LDU_FT | [
"<BEGIN>\n## `get_kwargs`",
"Returns kwargs for both publisher and subscriber classes\n<END>",
"<BEGIN>\n## `onConnect`",
"Called when a client opens a websocket connection\n<END>",
"<BEGIN>\n## `onOpen`",
"Called when a client has opened a websocket connection\n<END>",
"<BEGIN>\n## `onClose`",
"Calle... | 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... | Alias for WebSocketServerProtocol `sendMessage` method | "Alias for WebSocketServerProtocol `sendMessage` method" | 14 | false | florianpaquet/mease | send | 28,023 | |
LDU_FT/aichaos/rivescript-python/index | LDU_FT | [
"<BEGIN>\n## `format_message`",
"Format a user's message for safe processing.",
" This runs substitutions on the message and strips out any remaining\n symbols (depending on UTF-8 mode).",
" :param str msg: The user's message.\n :param bool botreply: Whether this formatting is bein... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the index API.
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 index API.
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... | On all other routes, just return an example `curl` command. | "On all other routes, just return an example `curl` command." | 218 | false | aichaos/rivescript-python | index | 28,024 | |
LDU_FT/vimalloc/flask-jwt-extended/fresh_jwt_required | LDU_FT | [
"<BEGIN>\n## `decode_token`",
"Returns the decoded token (python dict) from an encoded JWT. This does all\n the checks to insure that the decoded token is valid before returning it.",
" :param encoded_token: The encoded JWT to decode into a python dict.\n :param csrf_value: Expected CSRF double submit ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fresh_jwt_required 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 fresh_jwt_required 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... | A decorator to protect a Flask endpoint.
If you decorate an endpoint with this, it will ensure that the requester
has a valid and fresh access token before allowing the endpoint to be
called.
See also: :func:`~flask_jwt_extended.jwt_required` | "A decorator to protect a Flask endpoint.\n\n If you decorate an endpoint with this, it will ensure that the requester\n has a valid and fresh access token before allowing the endpoint to be\n called.\n\n See also: :func:`~flask_jwt_extended.jwt_required`" | 71 | false | vimalloc/flask-jwt-extended | fresh_jwt_required | 28,025 | |
LDU_FT/MinchinWeb/colourettu/other_dependancies | LDU_FT | [
"<BEGIN>\n## `other_dependancies`",
"Installs things that need to be in place before installing the main package\n<END>",
"<BEGIN>\n## `update_version_number`",
"Update version number",
" Returns a semantic_version object\n<END>",
"<BEGIN>\n## `add_release_to_changelog`",
"Add release line at the top... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the other_dependancies 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 other_dependancies 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... | Installs things that need to be in place before installing the main package | "Installs things that need to be in place before installing the main package" | 90 | false | MinchinWeb/colourettu | other_dependancies | 28,026 | |
LDU_FT/radujica/baloo/weld_array_op | LDU_FT | [
"<BEGIN>\n## `evaluate`",
"Evaluates by creating an Index containing evaluated data.",
" See `LazyResult`",
" Returns\n -------\n Index\n Index with evaluated data.\n<END>",
"<BEGIN>\n## `raw`",
"Decorator for eager functions checking input array\n and stripping a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the weld_array_op API.
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 weld_array_op API.
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... | Applies operation to each pair of elements in the arrays.
Their lengths and types are assumed to be the same.
Parameters
----------
array1 : numpy.ndarray or WeldObject
Input array.
array2 : numpy.ndarray or WeldObject
Second input array.
result_type : WeldType
Weld typ... | "Applies operation to each pair of elements in the arrays.\n\n Their lengths and types are assumed to be the same.\n\n Parameters\n ----------\n array1 : numpy.ndarray or WeldObject\n Input array.\n array2 : numpy.ndarray or WeldObject\n Second input array.\n result_type : WeldType\n ... | 478 | false | radujica/baloo | weld_array_op | 28,027 | |
LDU_FT/toastdriven/restless/as_view | LDU_FT | [
"<BEGIN>\n## `skip_prepare`",
"A convenience decorator for indicating the raw data should not be prepared.\n<END>",
"<BEGIN>\n## `as_view`",
"Used for hooking up the all endpoints (including custom ones), this\n returns a wrapper function that creates a new instance of the resource\n class & cal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_view API.
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 as_view API.
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... | Used for hooking up the all endpoints (including custom ones), this
returns a wrapper function that creates a new instance of the resource
class & calls the correct view method for it.
:param view_type: Should be one of ``list``, ``detail`` or ``custom``.
:type view_type: string
... | "Used for hooking up the all endpoints (including custom ones), this\n returns a wrapper function that creates a new instance of the resource\n class & calls the correct view method for it.\n\n :param view_type: Should be one of ``list``, ``detail`` or ``custom``.\n :type view_type: string\n... | 94 | false | toastdriven/restless | as_view | 28,028 | |
LDU_FT/koordinates/python-client/_to_url | LDU_FT | [
"<BEGIN>\n## `create`",
"Create single permission for the given object.",
" :param Permission permission: A single Permission object to be set.\n<END>",
"<BEGIN>\n## `set`",
"Set the object permissions. If the parent object already has permissions, they will be overwritten.",
" :param [] per... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_url API.
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 _to_url API.
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... | Serialises this query into a request-able URL including parameters | "Serialises this query into a request-able URL including parameters" | 178 | false | koordinates/python-client | _to_url | 28,029 | |
LDU_FT/addisonlynch/iexfinance/get_market_losers | LDU_FT | [
"<BEGIN>\n## `_sanitize_dates`",
"Return (datetime_start, datetime_end) tuple\r\n if start is None - default is 2015/01/01\r\n if end is None - default is today\n<END>",
"<BEGIN>\n## `get_social_sentiment`",
"Social Sentiment",
" .. warning:: Unstable endpoint. May return unexpected results.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_market_losers API.
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_market_losers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | MOVED to iexfinance.stocks.get_market_losers | "MOVED to iexfinance.stocks.get_market_losers" | 129 | false | addisonlynch/iexfinance | get_market_losers | 28,030 | |
LDU_FT/bsolomon1124/pyfinance/load_shiller | LDU_FT | [
"<BEGIN>\n## `value`",
"Compute option value according to BSM model.\n<END>",
"<BEGIN>\n## `implied_vol`",
"Get implied vol at the specified price using an iterative approach.\r",
" There is no closed-form inverse of BSM-value as a function of sigma,\r\n so start at an anchoring volatility lev... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_shiller API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_shiller API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Load market & macroeconomic data from Robert Shiller's website.
Returns
-------
iedata : pd.DataFrame
Time series of S&P 500 and interest rate variables.
Example
-------
>>> from pyfinance import datasets
>>> shiller = datasets.load_shiller()
>>> shiller.iloc[:7, :5]... | "Load market & macroeconomic data from Robert Shiller's website.\r\n\r\n Returns\r\n -------\r\n iedata : pd.DataFrame\r\n Time series of S&P 500 and interest rate variables.\r\n\r\n Example\r\n -------\r\n >>> from pyfinance import datasets\r\n >>> shiller = datasets.load_shiller()\r\n >... | 372 | false | bsolomon1124/pyfinance | load_shiller | 28,031 | |
LDU_FT/mrcagney/make_gtfs/build_trips | LDU_FT | [
"<BEGIN>\n## `make_gtfs`",
"Create a GTFS feed from the files in the directory SOURCE_PATH.\n See the project README for a description of the required source\n files.\n Save the feed to the file or directory TARGET_PATH.\n If the target path ends in '.zip', then write the feed as a zip\n archive.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_trips API.
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 build_trips API.
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... | Given a ProtoFeed and its corresponding routes (DataFrame),
service-by-window (dictionary), return a DataFrame representing
``trips.txt``.
Trip IDs encode route, direction, and service window information
to make it easy to compute stop times later. | "Given a ProtoFeed and its corresponding routes (DataFrame),\n service-by-window (dictionary), return a DataFrame representing\n ``trips.txt``.\n Trip IDs encode route, direction, and service window information\n to make it easy to compute stop times later." | 67 | false | mrcagney/make_gtfs | build_trips | 28,032 | |
LDU_FT/bharadwajyarlagadda/bingmaps/incident_id | LDU_FT | [
"<BEGIN>\n## `build_url`",
"This method occurs after dumping the data into the class.",
" Args:\n data (dict): dictionary of all the query values",
" Returns:\n data (dict): ordered dict of all the values\n<END>",
"<BEGIN>\n## `build_query_string`",
"This method occurs ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the incident_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the incident_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Retrieves the incident id/ids of the incident/incidents from the
output response
Returns:
incident_id(namedtuple): List of named tuples of incident id/ids of
the incident/incidents | "Retrieves the incident id/ids of the incident/incidents from the\n output response\n\n Returns:\n incident_id(namedtuple): List of named tuples of incident id/ids of\n the incident/incidents" | 75 | false | bharadwajyarlagadda/bingmaps | incident_id | 28,033 | |
LDU_FT/okfn/ofs/put_stream | LDU_FT | [
"<BEGIN>\n## `revert`",
"Revert the state to the version stored on disc.\n<END>",
"<BEGIN>\n## `sync`",
"Synchronise and update the stored state to the in-memory state.\n<END>",
"<BEGIN>\n## `del_stream`",
"Will fail if the bucket or label don't exist\n<END>",
"<BEGIN>\n## `authenticate_request`",
"Au... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_stream API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_stream API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Create a new file to swift object storage. | "Create a new file to swift object storage." | 53 | false | okfn/ofs | put_stream | 28,034 | |
LDU_FT/eyeseast/python-tablefu/title | LDU_FT | [
"<BEGIN>\n## `sort`",
"Sort rows in this table, preserving a record of how that\n sorting is done in TableFu.options['sorted_by']\n<END>",
"<BEGIN>\n## `filter`",
"Tables can be filtered in one of two ways:\n - Simple keyword arguments return rows where values match *exactly*\n - Pass i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the title API.
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 title API.
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... | Converts a string into titlecase.
Lifted from Django. | "Converts a string into titlecase.\n \n Lifted from Django." | 51 | false | eyeseast/python-tablefu | title | 28,035 | |
LDU_FT/LordGaav/python-chaos/_perform_unbinds | LDU_FT | [
"<BEGIN>\n## `registerWorker`",
"Register a new Worker, under the given descriptive name.",
"\t\tTrying to register multiple workers under the same name will raise an Exception.",
"\t\tParameters\n\t\t----------\n\t\tname: string\n\t\t\tName to register the given worker under.\n\t\tworker: multiprocessing.Pro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _perform_unbinds API.
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 _perform_unbinds API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Unbinds queues from exchanges.
Parameters
----------
binds: list of dicts
A list of dicts with the following keys:
queue: string - name of the queue to bind
exchange: string - name of the exchange to bind
routing_key: string - routing key to use for this bind | "Unbinds queues from exchanges.\n\n\t\tParameters\n\t\t----------\n\t\tbinds: list of dicts\n\t\t\tA list of dicts with the following keys:\n\t\t\t\tqueue: string - name of the queue to bind\n\t\t\t\texchange: string - name of the exchange to bind\n\t\t\t\trouting_key: string - routing key to use for this bind" | 138 | false | LordGaav/python-chaos | _perform_unbinds | 28,036 | |
LDU_FT/micropython/micropython/indent | LDU_FT | [
"<BEGIN>\n## `ptr`",
"Returns the numbered function (i.e. USART6) for this AF.\n<END>",
"<BEGIN>\n## `run_loop`",
"Start the loop.",
" :param `leds`: Which LEDs to light up upon switch press.\n :type `leds`: sequence of LED objects\n<END>",
"<BEGIN>\n## `find_c_file`",
"Search vpaths for the c fil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the indent API.
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 indent API.
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 ... | indents paragraphs of text for rst formatting | "indents paragraphs of text for rst formatting" | 54 | false | micropython/micropython | indent | 28,037 | |
LDU_FT/brutasse/graphite-api/drawAsInfinite | LDU_FT | [
"<BEGIN>\n## `_find_paths`",
"Recursively generates absolute paths whose components\n underneath current_dir match the corresponding pattern in\n patterns\n<END>",
"<BEGIN>\n## `union_overlapping`",
"Union any overlapping intervals in the given set.\n<END>",
"<BEGIN>\n## `recurse`",
"Recursi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the drawAsInfinite API.
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 drawAsInfinite API.
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... | Takes one metric or a wildcard seriesList.
If the value is zero, draw the line at 0. If the value is above zero, draw
the line at infinity. If the value is null or less than zero, do not draw
the line.
Useful for displaying on/off metrics, such as exit codes. (0 = success,
anything else = failure.)... | "Takes one metric or a wildcard seriesList.\n If the value is zero, draw the line at 0. If the value is above zero, draw\n the line at infinity. If the value is null or less than zero, do not draw\n the line.\n\n Useful for displaying on/off metrics, such as exit codes. (0 = success,\n anything else = fa... | 519 | false | brutasse/graphite-api | drawAsInfinite | 28,038 | |
LDU_FT/ECESeniorDesign/lazy_record/select | LDU_FT | [
"<BEGIN>\n## `does_not_mutate`",
"Prevents methods from mutating the receiver\n<END>",
"<BEGIN>\n## `find_by`",
"Find first record subject to restrictions in +kwargs+, raising\n RecordNotFound if no such record exists.\n<END>",
"<BEGIN>\n## `first`",
"Returns the first record in the query (sorting ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select API.
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 select API.
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 ... | Select the passed +attributes+ from the table, subject to the
restrictions provided by the other methods in this class.
ex)
>>> Repo("foos").select("name", "id")
SELECT foos.name, foos.id FROM foos | "Select the passed +attributes+ from the table, subject to the\n restrictions provided by the other methods in this class.\n\n ex)\n\n >>> Repo(\"foos\").select(\"name\", \"id\")\n SELECT foos.name, foos.id FROM foos" | 78 | false | ECESeniorDesign/lazy_record | select | 28,039 | |
LDU_FT/google/pyu2f/InternalInit | LDU_FT | [
"<BEGIN>\n## `ToByteArray`",
"Serialize the command.",
" Encodes the command as per the U2F specs, using the standard\n ISO 7816-4 extended encoding. All Commands expect data, so\n Le is always present.",
" Returns:\n Python bytearray of the encoded command.\n<END>",
"<BEGIN>\n## `_BuildPl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the InternalInit API.
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 InternalInit API.
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... | Initializes the device and obtains channel id. | "Initializes the device and obtains channel id." | 95 | false | google/pyu2f | InternalInit | 28,040 | |
LDU_FT/codeinn/vcs/get_changeset | LDU_FT | [
"<BEGIN>\n## `make_ui`",
"A funcion that will read python rc files and make an ui from read options",
" :param path: path to mercurial config file\n<END>",
"<BEGIN>\n## `status`",
"Returns modified, added, removed, deleted files for current changeset\n<END>",
"<BEGIN>\n## `_fix_path`",
"Paths are sto... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_changeset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_changeset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns ``MercurialChangeset`` object representing repository's
changeset at the given ``revision``. | "Returns ``MercurialChangeset`` object representing repository's\n changeset at the given ``revision``." | 326 | false | codeinn/vcs | get_changeset | 28,041 | |
LDU_FT/blockstack/blockstack-core/atlas_get_all_neighbors | LDU_FT | [
"<BEGIN>\n## `anyword_substring_search_inner`",
"return True if ANY target_word matches a query_word\n<END>",
"<BEGIN>\n## `search_people_by_bio`",
"queries lucene index to find a nearest match, output is profile username\n<END>",
"<BEGIN>\n## `order_search_results`",
"order of results should be a) query ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the atlas_get_all_neighbors 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 atlas_get_all_neighbors 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 *all* neighbor information.
USED ONLY FOR TESTING | "Get *all* neighbor information.\n USED ONLY FOR TESTING" | 1,580 | true | blockstack/blockstack-core | atlas_get_all_neighbors | 28,042 | |
LDU_FT/Hrabal/TemPy/render_attrs | LDU_FT | [
"<BEGIN>\n## `render_attrs`",
"Renders the tag's attributes using the formats and performing special attributes name substitution.\n<END>",
"<BEGIN>\n## `toggle_class`",
"Same as jQuery's toggleClass function. It toggles the css class on this element.\n<END>",
"<BEGIN>\n## `remove_class`",
"Removes the gi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_attrs API.
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 render_attrs API.
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... | Renders the tag's attributes using the formats and performing special attributes name substitution. | "Renders the tag's attributes using the formats and performing special attributes name substitution." | 80 | false | Hrabal/TemPy | render_attrs | 28,043 | |
LDU_FT/ggaughan/pipe2py/str_arg | LDU_FT | [
"<BEGIN>\n## `repr_args`",
"formats a list of function arguments prettily but as working code",
" (kwargs are tuples (argname, argvalue)\n<END>",
"<BEGIN>\n## `repr_arg`",
"formats a function argument prettily but as working code",
" unicode encodable as ascii is formatted as str\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the str_arg API.
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 str_arg API.
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... | formats a function argument prettily not as code
dicts are expressed in {key=value} syntax
strings are formatted using str in quotes not repr | "formats a function argument prettily not as code\n\n dicts are expressed in {key=value} syntax\n strings are formatted using str in quotes not repr" | 257 | false | ggaughan/pipe2py | str_arg | 28,044 | |
LDU_FT/ga4gh/ga4gh-client/getAllContinuousSets | LDU_FT | [
"<BEGIN>\n## `_run_search_request`",
"Runs the specified request at the specified object_name and\n instantiates an object of the specified class. We yield each object in\n listAttr. If pages of results are present, repeat this process\n until the pageToken is null.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getAllContinuousSets 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 getAllContinuousSets API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns all continuous sets on the server. | "Returns all continuous sets on the server." | 104 | false | ga4gh/ga4gh-client | getAllContinuousSets | 28,045 | |
LDU_FT/pycontribs/jira/createmeta | LDU_FT | [
"<BEGIN>\n## `translate_resource_args`",
"Decorator that converts Issue and Project resources to their keys when used as arguments.\n<END>",
"<BEGIN>\n## `_check_update_`",
"Check if the current version of the library is outdated.\n<END>",
"<BEGIN>\n## `_fetch_pages`",
"Fetch pages.",
" :param it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createmeta API.
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 createmeta API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Get the metadata required to create issues, optionally filtered by projects and issue types.
:param projectKeys: keys of the projects to filter the results with.
Can be a single value or a comma-delimited string. May be combined
with projectIds.
:type projectKeys: Union[None, Tu... | "Get the metadata required to create issues, optionally filtered by projects and issue types.\n\n :param projectKeys: keys of the projects to filter the results with.\n Can be a single value or a comma-delimited string. May be combined\n with projectIds.\n :type projectKeys: Union[No... | 468 | false | pycontribs/jira | createmeta | 28,046 | |
LDU_FT/panzarino/mlbgame/scoreboard | LDU_FT | [
"<BEGIN>\n## `setobjattr`",
"Sets an object attribute with the correct data type.\n<END>",
"<BEGIN>\n## `get_scoreboard`",
"Return the game file for a certain day matching certain criteria.\n<END>",
"<BEGIN>\n## `get_box_score`",
"Return the box score file of a game with matching id.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scoreboard API.
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 scoreboard API.
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... | Return the scoreboard information for games matching the parameters
as a dictionary. | "Return the scoreboard information for games matching the parameters\n as a dictionary." | 66 | false | panzarino/mlbgame | scoreboard | 28,047 | |
LDU_FT/fkarb/xltable/clone | LDU_FT | [
"<BEGIN>\n## `itersheets`",
"Iterates over the worksheets in the book, and sets the active\n worksheet as the current one before yielding.\n<END>",
"<BEGIN>\n## `to_xlsx`",
"Write workbook to a .xlsx file using xlsxwriter.\n Return a xlsxwriter.workbook.Workbook.",
" :param kwargs: Extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clone API.
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 clone API.
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... | Create a clone of the Table, optionally with some properties changed | "Create a clone of the Table, optionally with some properties changed" | 48 | false | fkarb/xltable | clone | 28,048 | |
LDU_FT/eumis/pyviews/register_single | LDU_FT | [
"<BEGIN>\n## `parse_expression`",
"Returns tuple with expression type and expression body\n<END>",
"<BEGIN>\n## `register_single`",
"Generates resolver to return singleton value and adds it to global container\n<END>",
"<BEGIN>\n## `wrap_with_scope`",
"Wraps function with scope. If scope_name is None curr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_single API.
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 register_single API.
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... | Generates resolver to return singleton value and adds it to global container | "Generates resolver to return singleton value and adds it to global container" | 34 | false | eumis/pyviews | register_single | 28,049 | |
LDU_FT/ev3dev/ev3dev-lang-python/measured_voltage | LDU_FT | [
"<BEGIN>\n## `list_motors`",
"This is a generator function that enumerates all tacho motors that match\n the provided arguments.",
" Parameters:\n name_pattern: pattern that device name should match.\n For example, 'motor*'. Default value: '*'.\n keyword arguments: used for matchi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the measured_voltage API.
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 measured_voltage API.
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 measured voltage that the battery is supplying (in microvolts) | "The measured voltage that the battery is supplying (in microvolts)" | 452 | false | ev3dev/ev3dev-lang-python | measured_voltage | 28,050 | |
LDU_FT/wbond/certvalidator/truncate_to_issuer | LDU_FT | [
"<BEGIN>\n## `fetch`",
"Fetches an OCSP response for a certificate",
" :param cert:\n An asn1cyrpto.x509.Certificate object to get an OCSP reponse for",
" :param issuer:\n An asn1crypto.x509.Certificate object that is the issuer of cert",
" :param hash_algo:\n A unicode string ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the truncate_to_issuer 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 truncate_to_issuer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Remove all certificates in the path after the issuer of the cert
specified, as defined by this path
:param cert:
An asn1crypto.x509.Certificate object to find the issuer of
:raises:
LookupError - when the issuer of the certificate could not be found
:return:
... | "Remove all certificates in the path after the issuer of the cert\n specified, as defined by this path\n\n :param cert:\n An asn1crypto.x509.Certificate object to find the issuer of\n\n :raises:\n LookupError - when the issuer of the certificate could not be found\n\n :... | 202 | false | wbond/certvalidator | truncate_to_issuer | 28,051 | |
LDU_FT/morse-talk/morse-talk/decode | LDU_FT | [
"<BEGIN>\n## `decode`",
"Converts a string of morse code into English message",
" The encoded message can also be decoded using the same morse chart\n backwards.",
" >>> code = '... --- ...'\n >>> decode(code)\n 'SOS'\n<END>",
"<BEGIN>\n## `grouper`",
"grouper(3, 'ABCDEFG', 'x') --> ABC... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode API.
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 decode API.
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 ... | Converts a string of morse code into English message
The encoded message can also be decoded using the same morse chart
backwards.
>>> code = '... --- ...'
>>> decode(code)
'SOS' | "Converts a string of morse code into English message\n\n The encoded message can also be decoded using the same morse chart\n backwards.\n\n >>> code = '... --- ...'\n >>> decode(code)\n 'SOS'" | 111 | false | morse-talk/morse-talk | decode | 28,052 | |
LDU_FT/MacHu-GWU/uszipcode-project/by_water_area_in_sqmi | LDU_FT | [
"<BEGIN>\n## `from_query`",
"Execute an ORM style query, and return the result in\n :class:`prettytable.PrettyTable`.",
" :param query: an ``sqlalchemy.orm.Query`` object.\n :param engine: an ``sqlalchemy.engine.base.Engine`` object.\n :param limit: int, limit rows to return.",
" :return: a ``p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the by_water_area_in_sqmi 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 by_water_area_in_sqmi API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Search zipcode information by water area / sq miles range. | "Search zipcode information by water area / sq miles range." | 208 | false | MacHu-GWU/uszipcode-project | by_water_area_in_sqmi | 28,053 | |
LDU_FT/fastai/fastai/tensor | LDU_FT | [
"<BEGIN>\n## `xception`",
"Preview version of Xception network. Not tested yet - use at own risk. No pretrained model yet.\n<END>",
"<BEGIN>\n## `get_model`",
"Method returns a RNN_Learner object, that wraps an instance of the RNN_Encoder module.",
" Args:\n opt_fn (Optimizer): the torch o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tensor API.
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 tensor API.
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 ... | Like `torch.as_tensor`, but handle lists too, and can pass multiple vector elements directly. | "Like `torch.as_tensor`, but handle lists too, and can pass multiple vector elements directly." | 1,382 | true | fastai/fastai | tensor | 28,054 | |
LDU_FT/securestate/termineter/do_show | LDU_FT | [
"<BEGIN>\n## `format_ltime`",
"Return data formatted into a human readable time stamp.",
"\t:param str endianess: The endianess to use when packing values ('>' or '<')\n\t:param int tm_format: The format that the data is packed in, this typically\n\t corresponds with the value in the GEN_CONFIG_TBL (table #0) ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_show API.
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 do_show API.
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... | Valid parameters for the "show" command are: modules, options | "Valid parameters for the \"show\" command are: modules, options" | 68 | false | securestate/termineter | do_show | 28,055 | |
LDU_FT/frawau/aiolifx/mac_to_ipv6_linklocal | LDU_FT | [
"<BEGIN>\n## `mac_to_ipv6_linklocal`",
"Translate a MAC address into an IPv6 address in the prefixed network.",
" This function calculates the EUI (Extended Unique Identifier) from the given\n MAC address and prepend the needed prefix to come up with a valid IPv6 address.\n The default prefix is the li... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mac_to_ipv6_linklocal 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 mac_to_ipv6_linklocal API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Translate a MAC address into an IPv6 address in the prefixed network.
This function calculates the EUI (Extended Unique Identifier) from the given
MAC address and prepend the needed prefix to come up with a valid IPv6 address.
The default prefix is the link local prefix defined by RFC 4291 .
:para... | "Translate a MAC address into an IPv6 address in the prefixed network.\n\n This function calculates the EUI (Extended Unique Identifier) from the given\n MAC address and prepend the needed prefix to come up with a valid IPv6 address.\n The default prefix is the link local prefix defined by RFC 4291 .\n\n ... | 134 | false | frawau/aiolifx | mac_to_ipv6_linklocal | 28,056 | |
LDU_FT/DLR-RM/RAFCON/update_config | LDU_FT | [
"<BEGIN>\n## `modify_origin`",
"Set both from_state and from_key at the same time to modify data flow origin",
" :param str from_state: State id of the origin state\n :param int from_key: Data port id of the origin port\n :raises exceptions.ValueError: If parameters have wrong types or the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_config API.
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 update_config API.
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... | Update the content and reference of the config
:param dict config_dict: The new configuration
:param str config_file: The new file reference | "Update the content and reference of the config\n\n :param dict config_dict: The new configuration\n :param str config_file: The new file reference" | 2,325 | true | DLR-RM/RAFCON | update_config | 28,057 | |
LDU_FT/synw/dataswim/tables | LDU_FT | [
"<BEGIN>\n## `ndlayout_`",
"Create a Holoview NdLayout from a dictionnary of chart objects\n<END>",
"<BEGIN>\n## `layout_`",
"Returns a Holoview Layout from chart objects\n<END>",
"<BEGIN>\n## `_hline_bokeh_`",
"Returns an horizontal line from a column mean value\n<END>",
"<BEGIN>\n## `_sline_bokeh`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tables API.
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 tables API.
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 ... | Print the existing tables in a database
:example: ``ds.tables()`` | "Print the existing tables in a database\n\n :example: ``ds.tables()``" | 393 | false | synw/dataswim | tables | 28,058 | |
LDU_FT/wiheto/teneto/postpro_boxcox | LDU_FT | [
"<BEGIN>\n## `temporal_betweenness_centrality`",
"Returns temporal betweenness centrality per node.",
" Parameters\n -----------",
" Input should be *either* tnet or paths.",
" data : array or dict",
" Temporal network input (graphlet or contact). nettype: 'bu', 'bd'.",
" calc : st... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the postpro_boxcox API.
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 postpro_boxcox API.
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... | Performs box cox transform on everything in data.
If report variable is passed, this is added to the report. | "Performs box cox transform on everything in data.\n\n If report variable is passed, this is added to the report." | 649 | false | wiheto/teneto | postpro_boxcox | 28,059 | |
LDU_FT/openspending/babbage/get_cube | LDU_FT | [
"<BEGIN>\n## `count_results`",
"Get the count of records matching the query.\n<END>",
"<BEGIN>\n## `generate_results`",
"Generate the resulting records for this query, applying pagination.\n Values will be returned by their reference.\n<END>",
"<BEGIN>\n## `apply`",
"Sort on a set of field specificatio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cube API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cube API.
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... | Given a cube name, construct that cube and return it. Do not
overwrite this method unless you need to. | "Given a cube name, construct that cube and return it. Do not\n overwrite this method unless you need to." | 66 | false | openspending/babbage | get_cube | 28,060 | |
LDU_FT/Shizmob/pydle/on_raw_error | LDU_FT | [
"<BEGIN>\n## `on_ctcp_version`",
"Built-in CTCP version as some networks seem to require it.\n<END>",
"<BEGIN>\n## `on_raw_privmsg`",
"Modify PRIVMSG to redirect CTCP messages.\n<END>",
"<BEGIN>\n## `on_raw_notice`",
"Modify NOTICE to redirect CTCP messages.\n<END>",
"<BEGIN>\n## `_register`",
"Hijack... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_raw_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_raw_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Server encountered an error and will now close the connection. | "Server encountered an error and will now close the connection." | 96 | false | Shizmob/pydle | on_raw_error | 28,061 | |
LDU_FT/django-getpaid/django-plans/copy_plan | LDU_FT | [
"<BEGIN>\n## `import_name`",
"import module given by str or pass the module if it is not str\n<END>",
"<BEGIN>\n## `account_status`",
"Set following ``RequestContext`` variables:",
" * ``ACCOUNT_EXPIRED = boolean``, account was expired state,\n * ``ACCOUNT_NOT_ACTIVE = boolean``, set when account is... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_plan API.
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 copy_plan API.
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... | Admin command for duplicating plans preserving quotas and pricings. | "Admin command for duplicating plans preserving quotas and pricings." | 23 | false | django-getpaid/django-plans | copy_plan | 28,062 | |
LDU_FT/oseledets/ttpy/concatenate | LDU_FT | [
"<BEGIN>\n## `kron`",
"Kronecker product of two TT-matrices or two TT-vectors\n<END>",
"<BEGIN>\n## `dot`",
"Dot product of two TT-matrices or two TT-vectors\n<END>",
"<BEGIN>\n## `zkron`",
"Do kronecker product between cores of two matrices ttA and ttB.\n Look about kronecker at: https://en.wikipedia.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the concatenate API.
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 concatenate API.
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... | Concatenates given TT-vectors.
For two tensors :math:`X(i_1,\\ldots,i_d),Y(i_1,\\ldots,i_d)` returns :math:`(d+1)`-dimensional
tensor :math:`Z(i_0,i_1,\\ldots,i_d)`, :math:`i_0=\\overline{0,1}`, such that
.. math::
Z(0, i_1, \\ldots, i_d) = X(i_1, \\ldots, i_d),
Z(1, i_1, \\ldots, i_d) = Y(... | "Concatenates given TT-vectors.\n\n For two tensors :math:`X(i_1,\\\\ldots,i_d),Y(i_1,\\\\ldots,i_d)` returns :math:`(d+1)`-dimensional\n tensor :math:`Z(i_0,i_1,\\\\ldots,i_d)`, :math:`i_0=\\\\overline{0,1}`, such that\n\n .. math::\n Z(0, i_1, \\\\ldots, i_d) = X(i_1, \\\\ldots, i_d),\n\n Z(1, i_... | 196 | false | oseledets/ttpy | concatenate | 28,063 | |
LDU_FT/maxfischer2781/chainlet/printlet | LDU_FT | [
"<BEGIN>\n## `skip_pickle_inject`",
"skip global wrapper._raw_slave names used only for pickle support\n<END>",
"<BEGIN>\n## `wraplet_signature`",
"have wrapplets use the signature of the slave\n<END>",
"<BEGIN>\n## `_chain_forks`",
"Detect whether a sequence of elements leads to a fork of streams\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the printlet API.
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 printlet API.
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... | Print chunks of data from a chain
:param flatten: whether to flatten data chunks
:param kwargs: keyword arguments as for :py:func:`print`
If ``flatten`` is :py:const:`True`, every chunk received is unpacked.
This is useful when passing around connected data, e.g. from :py:func:`~.enumeratelet`.
K... | "Print chunks of data from a chain\n\n :param flatten: whether to flatten data chunks\n :param kwargs: keyword arguments as for :py:func:`print`\n\n If ``flatten`` is :py:const:`True`, every chunk received is unpacked.\n This is useful when passing around connected data, e.g. from :py:func:`~.enumeratelet`.... | 95 | false | maxfischer2781/chainlet | printlet | 28,064 | |
LDU_FT/bmcfee/pumpp/_index | LDU_FT | [
"<BEGIN>\n## `sample`",
"Sample a patch from the data object",
" Parameters\n ----------\n data : dict\n A data dict as produced by pumpp.Pump.transform",
" interval : slice\n The time interval to sample",
" Returns\n -------\n data_slic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _index API.
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 _index API.
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 ... | Rearrange a tensor according to the convolution mode
Input is assumed to be in (channels, bins, time) format. | "Rearrange a tensor according to the convolution mode\n\n Input is assumed to be in (channels, bins, time) format." | 291 | false | bmcfee/pumpp | _index | 28,065 | |
LDU_FT/twisted/txmongo/authenticate | LDU_FT | [
"<BEGIN>\n## `configure`",
"Configures the protocol using the information gathered from the\n remote Mongo instance. Such information may contain the max\n BSON document size, replica set configuration, and the master\n status of the instance.\n<END>",
"<BEGIN>\n## `notifyReady`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Send an authentication command for this database.
mostly stolen from pymongo | "Send an authentication command for this database.\n mostly stolen from pymongo" | 64 | false | twisted/txmongo | authenticate | 28,066 | |
LDU_FT/sprockets/sprockets-influxdb/_futures_wait | LDU_FT | [
"<BEGIN>\n## `add_measurement`",
"Add measurement data to the submission buffer for eventual writing to\n InfluxDB.",
" Example:",
" .. code:: python",
" import sprockets_influxdb as influxdb",
" measurement = influxdb.Measurement('example', 'measurement-name')\n measurement.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _futures_wait API.
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 _futures_wait API.
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... | Waits for all futures to be completed. If the futures are not done,
wait 100ms and then invoke itself via the ioloop and check again. If
they are done, set a result on `wait_future` indicating the list of
futures are done.
:param wait_future: The future to complete when all `futures` are done
:type... | "Waits for all futures to be completed. If the futures are not done,\n wait 100ms and then invoke itself via the ioloop and check again. If\n they are done, set a result on `wait_future` indicating the list of\n futures are done.\n\n :param wait_future: The future to complete when all `futures` are done\n ... | 93 | false | sprockets/sprockets-influxdb | _futures_wait | 28,067 | |
LDU_FT/minhhoit/yacms/get_text | LDU_FT | [
"<BEGIN>\n## `formfield`",
"Apply the widget class defined by the\n ``RICHTEXT_WIDGET_CLASS`` setting.\n<END>",
"<BEGIN>\n## `as_tag`",
"Creates a tag expecting the format:\n ``{% tag_name as var_name %}``\n The decorated func returns the value that is given to\n ``var_name`` in th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Gets the element's text value from the XML object provided. | "Gets the element's text value from the XML object provided." | 502 | false | minhhoit/yacms | get_text | 28,068 | |
LDU_FT/QualiSystems/vCenterShell/vm_get_network_by_name | LDU_FT | [
"<BEGIN>\n## `get_inventory`",
"Will locate vm in vcenter and fill its uuid\n :type context: cloudshell.shell.core.context.ResourceCommandContext\n<END>",
"<BEGIN>\n## `get_snapshots`",
"Restores a virtual machine to a snapshot\n :param vim.ServiceInstance si: py_vmomi service instance\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vm_get_network_by_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vm_get_network_by_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Try to find Network scanning all attached to VM networks
:param vm: <vim.vm>
:param network_name: <str> name of network
:return: <vim.vm.Network or None> | "Try to find Network scanning all attached to VM networks\n :param vm: <vim.vm>\n :param network_name: <str> name of network\n :return: <vim.vm.Network or None>" | 231 | false | QualiSystems/vCenterShell | vm_get_network_by_name | 28,069 | |
LDU_FT/selectel/pyte/define_charset | LDU_FT | [
"<BEGIN>\n## `default_char`",
"An empty character with default foreground and background colors.\n<END>",
"<BEGIN>\n## `display`",
"A :func:`list` of screen lines as unicode strings.\n<END>",
"<BEGIN>\n## `reset`",
"Reset the terminal to its initial state.",
" * Scrolling margins are reset to scr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the define_charset API.
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 define_charset API.
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... | Define ``G0`` or ``G1`` charset.
:param str code: character set code, should be a character
from ``"B0UK"``, otherwise ignored.
:param str mode: if ``"("`` ``G0`` charset is defined, if
``")"`` -- we operate on ``G1``.
.. warning:: User-defined... | "Define ``G0`` or ``G1`` charset.\n\n :param str code: character set code, should be a character\n from ``\"B0UK\"``, otherwise ignored.\n :param str mode: if ``\"(\"`` ``G0`` charset is defined, if\n ``\")\"`` -- we operate on ``G1``.\n\n .. warning:... | 127 | false | selectel/pyte | define_charset | 28,070 | |
LDU_FT/scikit-tda/kepler-mapper/node_hist_fig | LDU_FT | [
"<BEGIN>\n## `project`",
"Creates the projection/lens from a dataset. Input the data set. Specify a projection/lens type. Output the projected data/lens.",
" Parameters\n ----------",
" X : Numpy Array\n The data to fit a projection/lens to.",
" projection :\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the node_hist_fig API.
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 node_hist_fig API.
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... | Define the plotly plot representing the node histogram
Parameters
----------
node_color_distribution: list of dicts describing the build_histogram
width, height: integers - width and height of the histogram FigureWidget
left, top, right, bottom: ints; number of pixels around the FigureWi... | "Define the plotly plot representing the node histogram\r\n \r\n Parameters\r\n ----------\r\n node_color_distribution: list of dicts describing the build_histogram\r\n width, height: integers - width and height of the histogram FigureWidget\r\n left, top, right, bottom: ints; number of pixels around... | 169 | false | scikit-tda/kepler-mapper | node_hist_fig | 28,071 | |
LDU_FT/iamteem/redisco/isdisjoint | LDU_FT | [
"<BEGIN>\n## `_initialize_referenced`",
"Adds a property to the target of a reference field that\n returns the list of associated objects.\n<END>",
"<BEGIN>\n## `_initialize_lists`",
"Stores the list fields descriptors of a model.\n<END>",
"<BEGIN>\n## `_initialize_references`",
"Stores the list of ref... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isdisjoint API.
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 isdisjoint API.
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... | Return True if the set has no elements in common with other. | "Return True if the set has no elements in common with other." | 70 | false | iamteem/redisco | isdisjoint | 28,072 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.