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/wtsi-hgi/consul-lock/_generate_event_listener_caller | LDU_FT | [
"<BEGIN>\n## `get_consul_configuration_from_environment`",
"Gets configuration on how to connect to Consul from the environment.\n :return: the configuration derived from the environment\n :raises KeyError: if a required environment variable has not been set\n<END>",
"<BEGIN>\n## `create_logger`",
"Crea... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_event_listener_caller API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_event_listener_caller API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | TODO
:param executables:
:return: | "TODO\n :param executables:\n :return:" | 55 | false | wtsi-hgi/consul-lock | _generate_event_listener_caller | 29,773 | |
LDU_FT/msoulier/tftpy/handle | LDU_FT | [
"<BEGIN>\n## `parse`",
"This method is used to parse an existing datagram into its\n corresponding TftpPacket object. The buffer is the raw bytes off of\n the network.\n<END>",
"<BEGIN>\n## `__create`",
"This method returns the appropriate class object corresponding to\n the passed opcode... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle API.
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 handle API.
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 ... | Handle an initial WRQ packet as a server. | "Handle an initial WRQ packet as a server." | 70 | false | msoulier/tftpy | handle | 29,774 | |
LDU_FT/OCA/vertical-hotel/onchange_check_dates | LDU_FT | [
"<BEGIN>\n## `_offset_format_timestamp1`",
"Convert a source timeStamp string into a destination timeStamp string,\n attempting to apply the correct offset if both the server and local\n timeZone are recognized,or no offset at all if they aren't or if\n tz_offset is false (i.e. assuming they are both in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the onchange_check_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the onchange_check_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.
... | This method gives the duration between check in checkout if
customer will leave only for some hour it would be considers
as a whole day. If customer will checkin checkout for more or equal
hours, which configured in company as additional hours than it would
be consider as full days
... | "This method gives the duration between check in checkout if\n customer will leave only for some hour it would be considers\n as a whole day. If customer will checkin checkout for more or equal\n hours, which configured in company as additional hours than it would\n be consider as full days\... | 71 | false | OCA/vertical-hotel | onchange_check_dates | 29,775 | |
LDU_FT/maweigert/gputools/_fft_convolve_numpy | LDU_FT | [
"<BEGIN>\n## `gaussian_filter`",
"blurs data with a gaussian kernel of given sigmas",
" Parameters\n ----------\n data: ndarray\n 2 or 3 dimensional array \n sigma: scalar or tuple\n the sigma of the gaussian \n truncate: float \n truncate the kernel after truncate*sigma \n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fft_convolve_numpy 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 _fft_convolve_numpy 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... | convolving via opencl fft for numpy arrays
data and h must have the same size | "convolving via opencl fft for numpy arrays\n\n data and h must have the same size" | 199 | false | maweigert/gputools | _fft_convolve_numpy | 29,776 | |
LDU_FT/sfischer13/python-prompt/string | LDU_FT | [
"<BEGIN>\n## `character`",
"Prompt a single character.",
" Parameters\n ----------\n prompt : str, optional\n Use an alternative prompt.\n empty : bool, optional\n Allow an empty response.",
" Returns\n -------\n str or None\n A str if the user entered a single-charac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Prompt a string.
Parameters
----------
prompt : str, optional
Use an alternative prompt.
empty : bool, optional
Allow an empty response.
Returns
-------
str or None
A str if the user entered a non-empty string.
None if the user pressed only Enter and ``empty... | "Prompt a string.\n\n Parameters\n ----------\n prompt : str, optional\n Use an alternative prompt.\n empty : bool, optional\n Allow an empty response.\n\n Returns\n -------\n str or None\n A str if the user entered a non-empty string.\n None if the user pressed only Ent... | 32 | false | sfischer13/python-prompt | string | 29,777 | |
LDU_FT/PyPSA/PyPSA/network_pf | LDU_FT | [
"<BEGIN>\n## `generate_dummy_graph`",
"Generate a dummy graph to feed to the FIAS libraries.\n It adds the \"pos\" attribute and removes the 380 kV duplicate\n buses when the buses have been split, so that all load and generation\n is attached to the 220kV bus.\n<END>",
"<BEGIN>\n## `voronoi_partition`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the network_pf API.
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 network_pf API.
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... | Full non-linear power flow for generic network.
Parameters
----------
snapshots : list-like|single snapshot
A subset or an elements of network.snapshots on which to run
the power flow, defaults to network.snapshots
skip_pre: bool, default False
Skip the preliminary steps of comp... | "Full non-linear power flow for generic network.\n\n Parameters\n ----------\n snapshots : list-like|single snapshot\n A subset or an elements of network.snapshots on which to run\n the power flow, defaults to network.snapshots\n skip_pre: bool, default False\n Skip the preliminary step... | 291 | false | PyPSA/PyPSA | network_pf | 29,778 | |
LDU_FT/SwoopSearch/pyaddress/_normalize | LDU_FT | [
"<BEGIN>\n## `post_multipart`",
"Post fields and files to an http host as multipart/form-data.\n fields is a sequence of (name, value) elements for regular form fields.\n files is a sequence of (name, filename, value) elements for data to be uploaded as files\n Return the server's response page.\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _normalize API.
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 _normalize API.
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... | Normalize prefixes, suffixes and other to make matching original to returned easier. | "Normalize prefixes, suffixes and other to make matching original to returned easier." | 45 | false | SwoopSearch/pyaddress | _normalize | 29,779 | |
LDU_FT/numat/midas/_request | LDU_FT | [
"<BEGIN>\n## `get`",
"Get current state from the Midas gas detector.\n<END>",
"<BEGIN>\n## `_parse`",
"Parse the response, returning a dictionary.\n<END>",
"<BEGIN>\n## `read_registers`",
"Read modbus registers.",
" The Modbus protocol doesn't allow responses longer than 250 bytes\n (ie. 1... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Send a request to the device and awaits a response.
This mainly ensures that requests are sent serially, as the Modbus
protocol does not allow simultaneous requests (it'll ignore any
request sent while it's processing something). The driver handles this
by assuming there is only one cli... | "Send a request to the device and awaits a response.\n\n This mainly ensures that requests are sent serially, as the Modbus\n protocol does not allow simultaneous requests (it'll ignore any\n request sent while it's processing something). The driver handles this\n by assuming there is only o... | 15 | false | numat/midas | _request | 29,780 | |
LDU_FT/ncclient/ncclient/request | LDU_FT | [
"<BEGIN>\n## `request`",
"Retrieve running configuration and device state information.",
" *filter* specifies the portion of the configuration to retrieve (by default entire configuration is retrieved)",
" :seealso: :ref:`filter_params`\n<END>",
"<BEGIN>\n## `request`",
"command text\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Retrieve running configuration and device state information.
*filter* specifies the portion of the configuration to retrieve (by default entire configuration is retrieved)
:seealso: :ref:`filter_params` | "Retrieve running configuration and device state information.\n\n *filter* specifies the portion of the configuration to retrieve (by default entire configuration is retrieved)\n\n :seealso: :ref:`filter_params`" | 179 | false | ncclient/ncclient | request | 29,781 | |
LDU_FT/inveniosoftware/invenio-oaiserver/listidentifiers | LDU_FT | [
"<BEGIN>\n## `_schema_from_verb`",
"Return an instance of schema for given verb.\n<END>",
"<BEGIN>\n## `load`",
"Deserialize a data structure to an object.\n<END>",
"<BEGIN>\n## `make_request_validator`",
"Validate arguments in incomming request.\n<END>",
"<BEGIN>\n## `from_iso_permissive`",
"Parse an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listidentifiers API.
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 listidentifiers API.
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... | Create OAI-PMH response for verb ListIdentifiers. | "Create OAI-PMH response for verb ListIdentifiers." | 78 | false | inveniosoftware/invenio-oaiserver | listidentifiers | 29,782 | |
LDU_FT/fhcrc/nestly/_templated | LDU_FT | [
"<BEGIN>\n## `_delim_accum`",
"Accumulator for delimited files",
" Combines each file with values from JSON dictionary in same directory",
" :param iterable control_files: Iterable of control files\n :param filename_template: A template for the file to nest_map\n :param keys: List of keys to selec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _templated API.
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 _templated API.
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 a function which applies ``str.format(**ctl)`` to all results of
``fn(ctl)``. | "Return a function which applies ``str.format(**ctl)`` to all results of\n ``fn(ctl)``." | 73 | false | fhcrc/nestly | _templated | 29,783 | |
LDU_FT/opentok/Opentok-Python-SDK/dial | LDU_FT | [
"<BEGIN>\n## `get_stream_url`",
"this method returns the url to get streams information\n<END>",
"<BEGIN>\n## `force_disconnect_url`",
"this method returns the force disconnect url endpoint\n<END>",
"<BEGIN>\n## `set_archive_layout_url`",
"this method returns the url to set the archive layout\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dial API.
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 dial API.
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... | Use this method to connect a SIP platform to an OpenTok session. The audio from the end
of the SIP call is added to the OpenTok session as an audio-only stream. The OpenTok Media
Router mixes audio from other streams in the session and sends the mixed audio to the SIP
endpoint
:param St... | "Use this method to connect a SIP platform to an OpenTok session. The audio from the end\n of the SIP call is added to the OpenTok session as an audio-only stream. The OpenTok Media\n Router mixes audio from other streams in the session and sends the mixed audio to the SIP\n endpoint\n\n :pa... | 128 | false | opentok/Opentok-Python-SDK | dial | 29,784 | |
LDU_FT/denisenkom/pytds/querying_context | LDU_FT | [
"<BEGIN>\n## `validate_host`",
"Validates host name against certificate",
" @param cert: Certificate returned by host\n @param name: Actual host name used for connection\n @return: Returns true if host name matches certificate\n<END>",
"<BEGIN>\n## `revert_to_clear`",
"Reverts connection back to no... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the querying_context API.
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 querying_context API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Context manager for querying.
Sets state to TDS_QUERYING, and reverts it to TDS_IDLE if exception happens inside managed block,
and to TDS_PENDING if managed block succeeds and flushes buffer. | "Context manager for querying.\n\n Sets state to TDS_QUERYING, and reverts it to TDS_IDLE if exception happens inside managed block,\n and to TDS_PENDING if managed block succeeds and flushes buffer." | 210 | false | denisenkom/pytds | querying_context | 29,785 | |
LDU_FT/fjwCode/cerium/screencap_exec | LDU_FT | [
"<BEGIN>\n## `version`",
"Show the version number of Android Debug Bridge.\n<END>",
"<BEGIN>\n## `devices_l`",
"List connected devices (-l for long output).\n<END>",
"<BEGIN>\n## `connect`",
"Connect to a device via TCP/IP directly.\n<END>",
"<BEGIN>\n## `disconnect`",
"Disconnect from given TCP/IP de... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the screencap_exec API.
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 screencap_exec API.
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... | Taking a screenshot of a device display, then copy it to your computer. | "Taking a screenshot of a device display, then copy it to your computer." | 95 | false | fjwCode/cerium | screencap_exec | 29,786 | |
LDU_FT/classam/silly/a_noun | LDU_FT | [
"<BEGIN>\n## `_slugify`",
"This is not as good as a proper slugification function, but the input space is limited",
" >>> _slugify(\"beets\")\n 'beets'\n >>> _slugify(\"Toaster Strudel\")\n 'toaster-strudel'",
" Here's why: It handles very little. It doesn't handle esoteric whitespace or symbol... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the a_noun API.
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 a_noun API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Return a noun, but with an 'a' in front of it. Or an 'an', depending!
>>> mock_random.seed(0)
>>> a_noun(random=mock_random)
'an onion'
>>> a_noun(random=mock_random, capitalize=True)
'A Chimp'
>>> a_noun(random=mock_random, slugify=True)
'a-blister' | "Return a noun, but with an 'a' in front of it. Or an 'an', depending!\n\n >>> mock_random.seed(0)\n >>> a_noun(random=mock_random)\n 'an onion'\n >>> a_noun(random=mock_random, capitalize=True)\n 'A Chimp'\n >>> a_noun(random=mock_random, slugify=True)\n 'a-blister'" | 80 | false | classam/silly | a_noun | 29,787 | |
LDU_FT/StorjOld/pyp2p/predict_mappings | LDU_FT | [
"<BEGIN>\n## `set_keep_alive`",
"This function instructs the TCP socket to send a heart beat every n\n seconds to detect dead connections. It's the TCP equivalent of the\n IRC ping-pong protocol and allows for better cleanup / detection\n of dead TCP connections.",
" It activates aft... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict_mappings API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict_mappings API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | This function is used to predict the remote ports that a NAT
will map a local connection to. It requires the NAT type to
be determined before use. Current support for preserving and
delta type mapping behaviour. | "This function is used to predict the remote ports that a NAT\r\n will map a local connection to. It requires the NAT type to\r\n be determined before use. Current support for preserving and\r\n delta type mapping behaviour." | 88 | false | StorjOld/pyp2p | predict_mappings | 29,788 | |
LDU_FT/rbarrois/mpdlcd/del_key | LDU_FT | [
"<BEGIN>\n## `auto_retry`",
"Decorator for retrying method calls, based on instance parameters.\n<END>",
"<BEGIN>\n## `extract_pattern`",
"Extracts used strings from a %(foo)s pattern.\n<END>",
"<BEGIN>\n## `parse`",
"Parse the lines, and fill self.line_fields accordingly.\n<END>",
"<BEGIN>\n## `compute... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the del_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the del_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Delete a key.
(ref)
Return None or LCDd response on error | "Delete a key.\n\n (ref)\n Return None or LCDd response on error" | 65 | false | rbarrois/mpdlcd | del_key | 29,789 | |
LDU_FT/toejough/pimento/_check_items | LDU_FT | [
"<BEGIN>\n## `_get_standard_tc_matches`",
"get the standard tab completions.\n These are the options which could complete the full_text.\n<END>",
"<BEGIN>\n## `_get_fuzzy_tc_matches`",
"Get the options that match the full text, then from each option\n return only the individual words which have not yet ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_items API.
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 _check_items API.
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... | Check:
- that the list of items is iterable and finite.
- that the list is not empty | "Check:\n - that the list of items is iterable and finite.\n - that the list is not empty" | 26 | false | toejough/pimento | _check_items | 29,790 | |
LDU_FT/spyder-ide/spyder/create_unique_autosave_filename | LDU_FT | [
"<BEGIN>\n## `set_bracket_matcher_color_scheme`",
"Set color scheme for matched parentheses.\n<END>",
"<BEGIN>\n## `long_banner`",
"Banner for IPython widgets with pylab message\n<END>",
"<BEGIN>\n## `reset_namespace`",
"Reset the namespace by removing all names defined by the user.\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_unique_autosave_filename API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_unique_autosave_filename API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Create unique autosave file name for specified file name.
Args:
filename (str): original file name
autosave_dir (str): directory in which autosave files are stored | "Create unique autosave file name for specified file name.\n\n Args:\n filename (str): original file name\n autosave_dir (str): directory in which autosave files are stored" | 2,144 | true | spyder-ide/spyder | create_unique_autosave_filename | 29,791 | |
LDU_FT/dcaune/perseus-lib-python-common/_canon_decode_camera_info | LDU_FT | [
"<BEGIN>\n## `convert_image_to_rgb_mode`",
"Convert the specified image instance to RGB mode.",
" @param image: a Python Library Image (PIL) instance to convert its\n pixel format to RGB, discarding the alpha channel.",
" @param fill_color: color to be used to fill transparent pixels when\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _canon_decode_camera_info 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 _canon_decode_camera_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Decode the variable length encoded camera info section. | "Decode the variable length encoded camera info section." | 498 | false | dcaune/perseus-lib-python-common | _canon_decode_camera_info | 29,792 | |
LDU_FT/Ezhil-Language-Foundation/open-tamil/get_letters | LDU_FT | [
"<BEGIN>\n## `unicode2encode`",
"charmap : dictionary which has both encode as key, unicode as value\n<END>",
"<BEGIN>\n## `unicode2auto`",
"This function will convert unicode (first argument) text into other\r\n encodes by auto find the encode (from available encodes) by using sample\r\n encode text in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_letters API.
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_letters API.
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... | splits the word into a character-list of tamil/english
characters present in the stream | "splits the word into a character-list of tamil/english\n characters present in the stream" | 90 | false | Ezhil-Language-Foundation/open-tamil | get_letters | 29,793 | |
LDU_FT/frawau/aiolifx/resp_set_power | 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 resp_set_power API.
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 resp_set_power API.
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... | Default callback for get_power/set_power | "Default callback for get_power/set_power" | 134 | false | frawau/aiolifx | resp_set_power | 29,794 | |
LDU_FT/hammerlab/cohorts/random_cohort | LDU_FT | [
"<BEGIN>\n## `download_to_path`",
"This method is analogous to \"gsutil cp gsuri localpath\", but in a\n programatically accesible way. The only difference is that we\n have to make a guess about the encoding of the file to not upset\n downstream file operations. If you are downloading a VCF,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_cohort API.
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 random_cohort API.
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... | Parameters
----------
min_random_variants: optional, int
Minimum number of random variants to be generated per patient.
max_random_variants: optional, int
Maximum number of random variants to be generated per patient. | "Parameters\n ----------\n min_random_variants: optional, int\n Minimum number of random variants to be generated per patient.\n max_random_variants: optional, int\n Maximum number of random variants to be generated per patient." | 230 | false | hammerlab/cohorts | random_cohort | 29,795 | |
LDU_FT/inveniosoftware/invenio-files-rest/make_path | LDU_FT | [
"<BEGIN>\n## `send_stream`",
"Send the contents of a file to the client.",
" .. warning::",
" It is very easy to be exposed to Cross-Site Scripting (XSS) attacks if\n you serve user uploaded files. Here are some recommendations:",
" 1. Serve user uploaded files from a separate do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_path API.
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... | Generate a path as base location for file instance.
:param base_uri: The base URI.
:param path: The relative path.
:param path_dimensions: Number of chunks the path should be split into.
:param split_length: The length of any chunk.
:returns: A string representing the full path. | "Generate a path as base location for file instance.\n\n :param base_uri: The base URI.\n :param path: The relative path.\n :param path_dimensions: Number of chunks the path should be split into.\n :param split_length: The length of any chunk.\n :returns: A string representing the full path." | 272 | false | inveniosoftware/invenio-files-rest | make_path | 29,796 | |
LDU_FT/amzn/ion-python/_annotation_handler | LDU_FT | [
"<BEGIN>\n## `local_symbol_table`",
"Constructs a local symbol table.",
" Args:\n imports (Optional[SymbolTable]): Shared symbol tables to import.\n symbols (Optional[Iterable[Unicode]]): Initial local symbols to add.",
" Returns:\n SymbolTable: A mutable local symbol table with the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _annotation_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _annotation_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.
T... | Handles annotations. ``ion_type`` is ignored. | "Handles annotations. ``ion_type`` is ignored." | 384 | false | amzn/ion-python | _annotation_handler | 29,797 | |
LDU_FT/hydpy-dev/hydpy/prepare_model | LDU_FT | [
"<BEGIN>\n## `xml_replace`",
"Read the content of an XML template file (XMLT), apply the given\n `replacements` to its substitution markers, and write the result into\n an XML file with the same name but ending with `xml` instead of `xmlt`.",
" First, we write an XMLT file, containing a regular HTML c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare_model API.
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... | Prepare and return the model of the given module.
In usual HydPy projects, each hydrological model instance is prepared
in an individual control file. This allows for "polluting" the
namespace with different model attributes. There is no danger of
name conflicts, as long as no other (wildcard) import... | "Prepare and return the model of the given module.\n\n In usual HydPy projects, each hydrological model instance is prepared\n in an individual control file. This allows for \"polluting\" the\n namespace with different model attributes. There is no danger of\n name conflicts, as long as no other (wildcard... | 3,847 | true | hydpy-dev/hydpy | prepare_model | 29,798 | |
LDU_FT/tjguk/networkzero/poll_command_request | LDU_FT | [
"<BEGIN>\n## `get_command`",
"Attempt to return a unicode object from the command socket",
" If no message is available without blocking (as opposed to a blank \n message), return None\n<END>",
"<BEGIN>\n## `send_response`",
"Send a unicode object as reply to the most recently-issued command\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the poll_command_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the poll_command_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | If the command RPC socket has an incoming request,
separate it into its action and its params and put it
on the command request queue. | "If the command RPC socket has an incoming request,\n separate it into its action and its params and put it\n on the command request queue." | 76 | false | tjguk/networkzero | poll_command_request | 29,799 | |
LDU_FT/aliyun/aliyun-odps-python-sdk/_pprint_dict | LDU_FT | [
"<BEGIN>\n## `_process_worker`",
"Evaluates calls from call_queue and places the results in result_queue.",
" This worker is run in a separate process.",
" Args:\n call_queue: A multiprocessing.Queue of _CallItems that will be read and\n evaluated by the worker.\n result_queue: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pprint_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pprint_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 extr... | internal. pprinter for iterables. you should probably use pprint_thing()
rather then calling this directly. | "internal. pprinter for iterables. you should probably use pprint_thing()\n rather then calling this directly." | 1,057 | true | aliyun/aliyun-odps-python-sdk | _pprint_dict | 29,800 | |
LDU_FT/sanger-pathogens/pymummer/reverse_query | LDU_FT | [
"<BEGIN>\n## `_swap`",
"Swaps the alignment so that the reference becomes the query and vice-versa. Swaps their names, coordinates etc. The frame is not changed\n<END>",
"<BEGIN>\n## `qry_coords`",
"Returns a pyfastaq.intervals.Interval object of the start and end coordinates in the query sequence\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reverse_query API.
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 reverse_query API.
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... | Changes the coordinates as if the query sequence has been reverse complemented | "Changes the coordinates as if the query sequence has been reverse complemented" | 26 | false | sanger-pathogens/pymummer | reverse_query | 29,801 | |
LDU_FT/LionelAuroux/cnorm/declfuncs | LDU_FT | [
"<BEGIN>\n## `declfuncs`",
"generator on all declaration of functions\n<END>",
"<BEGIN>\n## `func`",
"return the first func defined named name\n<END>",
"<BEGIN>\n## `type`",
"return the first complete definition of type 'name\n<END>",
"<BEGIN>\n## `declallfuncs`",
"generator on all declaration of func... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the declfuncs API.
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 declfuncs API.
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... | generator on all declaration of functions | "generator on all declaration of functions" | 10 | false | LionelAuroux/cnorm | declfuncs | 29,802 | |
LDU_FT/fogleman/pg/bounding_box | LDU_FT | [
"<BEGIN>\n## `delete_all`",
"Calls `delete()` on all members of `obj` that are recognized as\n instances of `pg` objects.\n<END>",
"<BEGIN>\n## `_glfw_get_version`",
"Queries and returns the library version tuple or None by using a\n subprocess.\n<END>",
"<BEGIN>\n## `set_error_callback`",
"Sets the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bounding_box API.
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 bounding_box API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Computes the bounding box for a list of 3-dimensional points. | "Computes the bounding box for a list of 3-dimensional points." | 39 | false | fogleman/pg | bounding_box | 29,803 | |
LDU_FT/HttpRunner/HttpRunner/load_api_folder | LDU_FT | [
"<BEGIN>\n## `setup_logger`",
"setup root logger with ColoredFormatter.\n<END>",
"<BEGIN>\n## `_handle_skip_feature`",
"handle skip feature for test\n - skip: skip current test unconditionally\n - skipIf: skip current test if condition is true\n - skipUnless: skip current test... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_api_folder API.
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 load_api_folder API.
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... | load api definitions from api folder.
Args:
api_folder_path (str): api files folder.
api file should be in the following format:
[
{
"api": {
"def": "api_login",
"request": {},
... | "load api definitions from api folder.\n\n Args:\n api_folder_path (str): api files folder.\n\n api file should be in the following format:\n [\n {\n \"api\": {\n \"def\": \"api_login\",\n \"request\": {},\n ... | 267 | false | HttpRunner/HttpRunner | load_api_folder | 29,804 | |
LDU_FT/askedrelic/libgreader/_modifyItemTag | LDU_FT | [
"<BEGIN>\n## `get`",
"Convenience method for requesting to google with proper cookies/params.\n<END>",
"<BEGIN>\n## `post`",
"Convenience method for requesting to google with proper cookies/params.\n<END>",
"<BEGIN>\n## `_getAuth`",
"Main step in authorizing with Reader.\n Sends request to Google C... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _modifyItemTag API.
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 _modifyItemTag API.
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... | wrapper around actual HTTP POST string for modify tags | "wrapper around actual HTTP POST string for modify tags" | 47 | false | askedrelic/libgreader | _modifyItemTag | 29,805 | |
LDU_FT/coleifer/django-relationships/remove | LDU_FT | [
"<BEGIN>\n## `if_relationship`",
"Determine if a certain type of relationship exists between two users.\n The ``status`` parameter must be a slug matching either the from_slug,\n to_slug or symmetrical_slug of a RelationshipStatus.",
" Example::",
" {% if_relationship from_user to_user \"frien... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Remove a relationship from one user to another, with the same caveats
and behavior as adding a relationship. | "Remove a relationship from one user to another, with the same caveats\n and behavior as adding a relationship." | 22 | false | coleifer/django-relationships | remove | 29,806 | |
LDU_FT/Xion/callee/_is_writable | LDU_FT | [
"<BEGIN>\n## `_validate_argument`",
"Validate a type or matcher argument to the constructor.\n<END>",
"<BEGIN>\n## `_initialize`",
"Initiaize the mapping matcher with constructor arguments.\n<END>",
"<BEGIN>\n## `docs`",
"Build the docs and show them in default web browser.\n<END>",
"<BEGIN>\n## `fatal`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_writable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_writable API.
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... | Check if the argument is a writable file-like object. | "Check if the argument is a writable file-like object." | 36 | false | Xion/callee | _is_writable | 29,807 | |
LDU_FT/nicferrier/md/getrawpart | LDU_FT | [
"<BEGIN>\n## `_list`",
"Do structured list output.",
" Sorts the list by date, possibly reversed, filtered from 'since'.",
" The returned list is: foldername, message key, message object\n<END>",
"<BEGIN>\n## `ls`",
"Do standard text list of the folder to the stream.",
" 'foldername... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getrawpart API.
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 getrawpart API.
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 first part from the message and print it raw. | "Get the first part from the message and print it raw." | 135 | false | nicferrier/md | getrawpart | 29,808 | |
LDU_FT/MacHu-GWU/angora-project/plot_one_day | LDU_FT | [
"<BEGIN>\n## `run_backup`",
"The backup utility method.",
" :param root_dir: the directory you want to backup\n :param ignore: file or directory defined in this list will be ignored.\n :param ignore_ext: file with extensions defined in this list will be ignored.\n :param ignore_pattern: any file or ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_one_day API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_one_day API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | 时间跨度为一天。
major tick = every hours
minor tick = every 15 minutes | "时间跨度为一天。\n \n major tick = every hours\n minor tick = every 15 minutes" | 616 | false | MacHu-GWU/angora-project | plot_one_day | 29,809 | |
LDU_FT/fredRos/pypmc/r_group | LDU_FT | [
"<BEGIN>\n## `r_value`",
"Calculate the Gelman-Rubin R value (Chapter 2.2 in [GR92]_).",
" The R value can be used to quantify mixing of \"multiple iterative\n simulations\" (e.g. Markov Chains) in parameter space. An R value\n \"close to one\" indicates that all chains explored the same region\n o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the r_group API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the r_group API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Group ``m`` (Markov) chains whose common :py:func:`.r_value` is
less than ``critical_r`` in each of the D dimensions.
:param means:
(m x D) Matrix-like array; the mean value estimates.
:param variances:
(m x D) Matrix-like array; the variance estimates. | "Group ``m`` (Markov) chains whose common :py:func:`.r_value` is\n less than ``critical_r`` in each of the D dimensions.\n\n :param means:\n\n (m x D) Matrix-like array; the mean value estimates.\n\n :param variances:\n\n (m x D) Matrix-like array; the variance estimates." | 279 | false | fredRos/pypmc | r_group | 29,810 | |
LDU_FT/mingchen/django-cas-ng/authenticate | LDU_FT | [
"<BEGIN>\n## `permission_required`",
"Replacement for django.contrib.auth.decorators.permission_required that\n returns 403 Forbidden if the user is already logged in.\n<END>",
"<BEGIN>\n## `authenticate`",
"Verifies CAS ticket and gets or creates User object\n<END>",
"<BEGIN>\n## `get_user_id`",
"For ... | 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... | Verifies CAS ticket and gets or creates User object | "Verifies CAS ticket and gets or creates User object" | 25 | false | mingchen/django-cas-ng | authenticate | 29,811 | |
LDU_FT/slundberg/shap/human_xor_11 | LDU_FT | [
"<BEGIN>\n## `imagenet50`",
"This is a set of 50 images representative of ImageNet images.",
" This dataset was collected by randomly finding a working ImageNet link and then pasting the\n original ImageNet image into Google image search restricted to images licensed for reuse. A\n similar image (now w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the human_xor_11 API.
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 human_xor_11 API.
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... | XOR (true/true)
This tests how well a feature attribution method agrees with human intuition
for an eXclusive OR operation combined with linear effects. This metric deals
specifically with the question of credit allocation for the following function
when all three inputs are true:
if fever: +2 poin... | "XOR (true/true)\n\n This tests how well a feature attribution method agrees with human intuition\n for an eXclusive OR operation combined with linear effects. This metric deals\n specifically with the question of credit allocation for the following function\n when all three inputs are true:\n if fever: ... | 299 | false | slundberg/shap | human_xor_11 | 29,812 | |
LDU_FT/sanger-pathogens/circlator/_get_ref_lengths | LDU_FT | [
"<BEGIN>\n## `run_spades`",
"Runs spades on all kmers. Each a separate run because SPAdes dies if any kmer does\n not work. Chooses the 'best' assembly to be the one with the biggest N50\n<END>",
"<BEGIN>\n## `aligned_read_to_read`",
"Returns Fasta or Fastq sequence from pysam aligned read\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_ref_lengths API.
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_ref_lengths API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Gets the length of each reference sequence from the header of the bam. Returns dict name => length | "Gets the length of each reference sequence from the header of the bam. Returns dict name => length" | 102 | false | sanger-pathogens/circlator | _get_ref_lengths | 29,813 | |
LDU_FT/vinci1it2000/schedula/_check_cutoff | LDU_FT | [
"<BEGIN>\n## `register`",
"Creates a :class:`Blueprint.cls` and calls each deferred operation.",
" :param obj:\n The initialized object with which to call all deferred operations.\n :type obj: object",
" :param memo:\n A dictionary to cache registered Blueprints.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_cutoff API.
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_cutoff API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns a function to stop the search of the investigated node of the
ArciDispatch algorithm.
:return:
A function to stop the search.
:rtype: (int | float) -> bool | "Returns a function to stop the search of the investigated node of the\n ArciDispatch algorithm.\n\n :return:\n A function to stop the search.\n :rtype: (int | float) -> bool" | 765 | false | vinci1it2000/schedula | _check_cutoff | 29,814 | |
LDU_FT/gabrielelanaro/chemview/points | LDU_FT | [
"<BEGIN>\n## `pairs`",
"Return array of pairs of adjacent elements in a.",
" >>> pairs([1, 2, 3, 4])\n array([[1, 2],\n [2, 3],\n [3, 4]])\n<END>",
"<BEGIN>\n## `points`",
"Display the system as points.",
" :param float size: the size of the points.\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the points API.
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 points API.
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 ... | Display the system as points.
:param float size: the size of the points. | "Display the system as points.\n\n :param float size: the size of the points." | 45 | false | gabrielelanaro/chemview | points | 29,815 | |
LDU_FT/openai/universe/from_ps | LDU_FT | [
"<BEGIN>\n## `send_KeyEvent`",
"For most ordinary keys, the \"keysym\" is the same as the\n corresponding ASCII value. Other common keys are shown in the\n KEY_ constants.\n<END>",
"<BEGIN>\n## `send_PointerEvent`",
"Indicates either pointer movement or a pointer button press or\n rel... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_ps API.
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 from_ps API.
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... | Construct a container object from the output of GET /containers/json. | "Construct a container object from the output of GET /containers/json." | 126 | false | openai/universe | from_ps | 29,816 | |
LDU_FT/mardix/Juice/meta_tags | LDU_FT | [
"<BEGIN>\n## `get_env`",
"Return the Capitalize environment name\n It can be used to retrieve class base config\n Default: Development\n :returns: str\n<END>",
"<BEGIN>\n## `init_app`",
"To bind middlewares, plugins that needs the 'app' object to init\n Bound middlewares will be assigned on cls.in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the meta_tags API.
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 meta_tags API.
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... | Meta allows you to add meta data to site
:params **kwargs:
meta keys we're expecting:
title (str)
description (str)
url (str) (Will pick it up by itself if not set)
image (str)
site_name (str) (but can pick it up from config file)
... | "Meta allows you to add meta data to site\n :params **kwargs:\n\n meta keys we're expecting:\n title (str)\n description (str)\n url (str) (Will pick it up by itself if not set)\n image (str)\n site_name (str) (but can pick it up from config file)\n ... | 101 | false | mardix/Juice | meta_tags | 29,817 | |
LDU_FT/liamw9534/bt-manager/register_transport_ready_event | LDU_FT | [
"<BEGIN>\n## `translate_to_dbus_type`",
"Helper function to map values from their native Python types\n to Dbus types.",
" :param type typeof: Target for type conversion e.g., 'dbus.Dictionary'\n :param value: Value to assign using type 'typeof'\n :return: 'value' converted to type 'typeof'\n :rt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_transport_ready_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_transport_ready_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Register for transport ready events. The `transport ready`
event is raised via a user callback. If the endpoint
is configured as a source, then the user may then
call :py:meth:`write_transport` in order to send data to
the associated sink.
Otherwise, if the endpoint is configur... | "Register for transport ready events. The `transport ready`\n event is raised via a user callback. If the endpoint\n is configured as a source, then the user may then\n call :py:meth:`write_transport` in order to send data to\n the associated sink.\n Otherwise, if the endpoint is co... | 66 | false | liamw9534/bt-manager | register_transport_ready_event | 29,818 | |
LDU_FT/omnisci/mapd-core/check_clang_apply_replacements_binary | LDU_FT | [
"<BEGIN>\n## `get_connection`",
"Connects to the db using pymapd\n https://pymapd.readthedocs.io/en/latest/usage.html#connecting",
" Kwargs:\n db_user(str): DB username\n db_passwd(str): DB password\n db_server(str): DB host\n db_port(int): DB port\n db_name(str): DB... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_clang_apply_replacements_binary API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_clang_apply_replacements_binary API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | Checks if invoking supplied clang-apply-replacements binary works. | "Checks if invoking supplied clang-apply-replacements binary works." | 31 | false | omnisci/mapd-core | check_clang_apply_replacements_binary | 29,819 | |
LDU_FT/pytroll/pyorbital/compute_pixels | LDU_FT | [
"<BEGIN>\n## `gmst`",
"Greenwich mean sidereal utc_time, in radians.",
" As defined in the AIAA 2006 implementation:\n http://www.celestrak.com/publications/AIAA/2006-6753/\n<END>",
"<BEGIN>\n## `sun_ecliptic_longitude`",
"Ecliptic longitude of the sun at *utc_time*.\n<END>",
"<BEGIN>\n## `sun_ra_de... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_pixels API.
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 compute_pixels API.
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 cartesian coordinates of the pixels in instrument scan. | "Compute cartesian coordinates of the pixels in instrument scan." | 83 | false | pytroll/pyorbital | compute_pixels | 29,820 | |
LDU_FT/euske/pdfminer/get_bound | LDU_FT | [
"<BEGIN>\n## `nextline`",
"Fetches a next line that ends either with \\\\r or \\\\n.\n<END>",
"<BEGIN>\n## `revreadlines`",
"Fetches a next line backward.",
" This is used to locate the trailers at the end of a file.\n<END>",
"<BEGIN>\n## `nextobject`",
"Yields a list of objects.",
" Ret... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_bound API.
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 get_bound API.
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... | Compute a minimal rectangle that covers all the points. | "Compute a minimal rectangle that covers all the points." | 45 | false | euske/pdfminer | get_bound | 29,821 | |
LDU_FT/wtolson/gnsq/multipublish | LDU_FT | [
"<BEGIN>\n## `read_response`",
"Read an individual response from nsqd.",
" :returns: tuple of the frame type and the processed data.\n<END>",
"<BEGIN>\n## `identify`",
"Update client metadata on the server and negotiate features.",
" :returns: nsqd response data if there was feature negotiat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multipublish API.
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 multipublish API.
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... | Publish an iterable of messages to the given topic over http.
:param topic: the topic to publish to
:param messages: iterable of bytestrings to publish
:param binary: enable binary mode. defaults to False
(requires nsq 1.0.0)
By default multipublish expects messages to be... | "Publish an iterable of messages to the given topic over http.\n\n :param topic: the topic to publish to\n\n :param messages: iterable of bytestrings to publish\n\n :param binary: enable binary mode. defaults to False\n (requires nsq 1.0.0)\n\n By default multipublish expects mess... | 96 | false | wtolson/gnsq | multipublish | 29,822 | |
LDU_FT/rodluger/everest/HiResHDU | LDU_FT | [
"<BEGIN>\n## `Download`",
"Submits a cluster job to the build queue to download all TPFs for a given\n campaign.",
" :param int campaign: The `K2` campaign to run\n :param str queue: The name of the queue to submit to. Default `build`\n :param str email: The email to send job status notifications to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the HiResHDU API.
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 HiResHDU API.
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... | Construct the HDU containing the hi res image of the target. | "Construct the HDU containing the hi res image of the target." | 364 | false | rodluger/everest | HiResHDU | 29,823 | |
LDU_FT/seznam/shelter/start_processes | LDU_FT | [
"<BEGIN>\n## `exitcode`",
"Process exit code. :const:`0` when process exited successfully,\n positive number when exception was occurred, negative number when\n process was signaled and :data:`None` when process has not exited\n yet.\n<END>",
"<BEGIN>\n## `run`",
"Tornado worker which han... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_processes API.
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 start_processes API.
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... | Start processes and check their status. When some process crashes,
start it again. *max_restarts* is maximum amount of the restarts
across all processes. *processes* is a :class:`list` of the
:class:`ProcessWrapper` instances. | "Start processes and check their status. When some process crashes,\n start it again. *max_restarts* is maximum amount of the restarts\n across all processes. *processes* is a :class:`list` of the\n :class:`ProcessWrapper` instances." | 61 | false | seznam/shelter | start_processes | 29,824 | |
LDU_FT/spacetelescope/acstools/run | LDU_FT | [
"<BEGIN>\n## `extract_dark`",
"Extract superdark data from ``DARKFILE`` or ``DRKCFILE``.",
" Parameters\n ----------\n prihdr : obj\n FITS primary header HDU.",
" scihdu : obj\n Extension HDU of the science image.\n This is only used to extract subarray data.",
" Returns\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | TEAL interface for the `calacs` function. | "TEAL interface for the `calacs` function." | 319 | false | spacetelescope/acstools | run | 29,825 | |
LDU_FT/python-tap/tappy/generate_tap_reports | LDU_FT | [
"<BEGIN>\n## `check`",
"Check the status of all provided data and update the suite.\n<END>",
"<BEGIN>\n## `handle_skipping_plan`",
"Handle a plan that contains a SKIP directive.\n<END>",
"<BEGIN>\n## `format_exception`",
"Format an exception as diagnostics output.",
" exception is the tuple as expect... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_tap_reports API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_tap_reports API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Generate TAP reports.
The results are either combined into a single output file or
the output file name is generated from the test case. | "Generate TAP reports.\n\n The results are either combined into a single output file or\n the output file name is generated from the test case." | 47 | false | python-tap/tappy | generate_tap_reports | 29,826 | |
LDU_FT/SatelliteQE/nailgun/create | LDU_FT | [
"<BEGIN>\n## `main`",
"Create an identical user account on a pair of satellites.\n<END>",
"<BEGIN>\n## `get_organization_id`",
"Return the ID of the organization with label ``label``.",
" :param server_config: A dict of information about the server being talked\n to. The dict should include the ke... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Do extra work to fetch a complete set of attributes for this entity.
For more information, see `Bugzilla #1232855
<https://bugzilla.redhat.com/show_bug.cgi?id=1232855>`_. | "Do extra work to fetch a complete set of attributes for this entity.\n\n For more information, see `Bugzilla #1232855\n <https://bugzilla.redhat.com/show_bug.cgi?id=1232855>`_." | 695 | false | SatelliteQE/nailgun | create | 29,827 | |
LDU_FT/googlefonts/fontmake/build_interpolatable_otfs | LDU_FT | [
"<BEGIN>\n## `exclude_args`",
"Delete options that are not appropriate for a following code path; exit\n with an error if excluded options were passed in by the user.",
" argparse generates a namespace with all options it knows, but not every\n attribute should be passed to all code paths (i.e. options... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_interpolatable_otfs 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 build_interpolatable_otfs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Build OpenType binaries with interpolatable TrueType outlines
from DesignSpaceDocument object. | "Build OpenType binaries with interpolatable TrueType outlines\n from DesignSpaceDocument object." | 57 | false | googlefonts/fontmake | build_interpolatable_otfs | 29,828 | |
LDU_FT/resync/resync/compile_excludes | LDU_FT | [
"<BEGIN>\n## `read`",
"Read sitemap from a URI including handling sitemapindexes.",
" If index_only is True then individual sitemaps references in a sitemapindex\n will not be read. This will result in no resources being returned and is\n useful only to read the metadata and links listed in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile_excludes API.
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 compile_excludes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Compile a set of regexps for files to be exlcuded from scans. | "Compile a set of regexps for files to be exlcuded from scans." | 322 | false | resync/resync | compile_excludes | 29,829 | |
LDU_FT/spencerahill/aospy/av | LDU_FT | [
"<BEGIN>\n## `_preprocess_and_rename_grid_attrs`",
"Call a custom preprocessing method first then rename grid attrs.",
" This wrapper is needed to generate a single function to pass to the\n ``preprocesss`` of xr.open_mfdataset. It makes sure that the\n user-specified preprocess function is called on ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the av API.
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 docu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the av API.
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 docu... | Time-average of region-averaged data.
Parameters
----------
data : xarray.DataArray
The array to compute the regional time-average of
lat_str, lon_str, land_mask_str, sfc_area_str : str, optional
The name of the latitude, longitude, land mask, and surface area
... | "Time-average of region-averaged data.\n\n Parameters\n ----------\n data : xarray.DataArray\n The array to compute the regional time-average of\n lat_str, lon_str, land_mask_str, sfc_area_str : str, optional\n The name of the latitude, longitude, land mask, and surface... | 323 | false | spencerahill/aospy | av | 29,830 | |
LDU_FT/robertpeteuil/aws-shortcuts/dprintx | LDU_FT | [
"<BEGIN>\n## `init`",
"Initialize DEBUG and DEBUGALL.",
" Allows other modules to set DEBUG and DEBUGALL, so their\n call to dprint or dprintx generate output.",
" Args:\n deb1 (bool): value of DEBUG to set\n deb2 (bool): optional - value of DEBUGALL to set,\n defaul... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dprintx API.
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 dprintx API.
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 Text if DEBUGALL set, optionally with PrettyPrint.
Args:
passeditem (str): item to print
special (bool): determines if item prints with PrettyPrint
or regular print. | "Print Text if DEBUGALL set, optionally with PrettyPrint.\n\n Args:\n passeditem (str): item to print\n special (bool): determines if item prints with PrettyPrint\n or regular print." | 76 | false | robertpeteuil/aws-shortcuts | dprintx | 29,831 | |
LDU_FT/tschaume/ccsgp_get_started/gp_rdiff | LDU_FT | [
"<BEGIN>\n## `gp_xfac`",
"example using QM12 enhancement factors",
" - uses `gpcalls` kwarg to reset xtics\n - numpy.loadtxt needs reshaping for input files w/ only one datapoint\n - according poster presentations see QM12_ & NSD_ review",
" .. _QM12: http://indico.cern.ch/getFile.py/access?contribId=268&... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gp_rdiff API.
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 gp_rdiff API.
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... | example for ratio or difference plots using QM12 data (see gp_panel)
- uses uncertainties package for easier error propagation and rebinning
- stat. error for medium = 0!
- stat. error for cocktail ~ 0!
- statistical error bar on data stays the same for diff
- TODO: implement ratio!
- TODO: adjust statisti... | "example for ratio or difference plots using QM12 data (see gp_panel)\n\n - uses uncertainties package for easier error propagation and rebinning\n - stat. error for medium = 0!\n - stat. error for cocktail ~ 0!\n - statistical error bar on data stays the same for diff\n - TODO: implement ratio!\n - TODO: adjust ... | 48 | false | tschaume/ccsgp_get_started | gp_rdiff | 29,832 | |
LDU_FT/Locu/chronology/delete | LDU_FT | [
"<BEGIN>\n## `is_remote_allowed`",
"Check if `remote` is allowed to make a CORS request.\n<END>",
"<BEGIN>\n## `endpoint`",
"Returns a decorator which when applied a function, causes that function to\n serve `url` and only allows the HTTP methods in `methods`\n<END>",
"<BEGIN>\n## `get_seconds`",
"Conver... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
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 delete API.
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 ... | Delete events in the stream with name `stream` that occurred between
`start_time` and `end_time` (both inclusive). An optional `start_id` allows
the client to delete events starting from after an ID rather than starting
at a timestamp. | "Delete events in the stream with name `stream` that occurred between\n `start_time` and `end_time` (both inclusive). An optional `start_id` allows\n the client to delete events starting from after an ID rather than starting\n at a timestamp." | 156 | false | Locu/chronology | delete | 29,833 | |
LDU_FT/splunk/splunk-sdk-python/run | LDU_FT | [
"<BEGIN>\n## `dispatch`",
"Instantiates and executes a search command class",
" This function implements a `conditional script stanza <https://docs.python.org/2/library/__main__.html>`_ based on the value of\n :code:`module_name`::",
" if module_name is None or module_name == '__main__':\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Start a server instance. This method blocks until the server terminates.
:param app: WSGI application or target string supported by
:func:`load_app`. (default: :func:`default_app`)
:param server: Server adapter to use. See :data:`server_names` keys
for valid names or pass ... | "Start a server instance. This method blocks until the server terminates.\n\n :param app: WSGI application or target string supported by\n :func:`load_app`. (default: :func:`default_app`)\n :param server: Server adapter to use. See :data:`server_names` keys\n for valid names or... | 747 | false | splunk/splunk-sdk-python | run | 29,834 | |
LDU_FT/MartijnBraam/python-isc-dhcp-leases/valid | LDU_FT | [
"<BEGIN>\n## `parse_time`",
"Like datetime.datetime.strptime(s, \"%w %Y/%m/%d %H:%M:%S\") but 5x faster.\n<END>",
"<BEGIN>\n## `_extract_prop_option`",
"Extract the (key,value)-tuple from a string like:\n >>> \"option foobar 123\"\n :param line:\n :return: tuple (key, value)\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the valid API.
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 valid API.
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... | Checks if the lease is currently valid (not expired and not in the future)
:return: bool: True if lease is valid | "Checks if the lease is currently valid (not expired and not in the future)\n :return: bool: True if lease is valid" | 16 | false | MartijnBraam/python-isc-dhcp-leases | valid | 29,835 | |
LDU_FT/wasp/waspy/exchange_declare | LDU_FT | [
"<BEGIN>\n## `make_request`",
"Make a request to another service. If `context` is provided, then\n context and correlation will be pulled from the provided request\n object for you. This includes credentials, correlationid,\n and service-headers.",
" :param method: GET/PUT/PATCH, etc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exchange_declare API.
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 exchange_declare API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Override this method to change how a exchange is declared | "Override this method to change how a exchange is declared" | 34 | false | wasp/waspy | exchange_declare | 29,836 | |
LDU_FT/mthh/smoomapy/isopoly_to_gdf | LDU_FT | [
"<BEGIN>\n## `quick_idw`",
"Function acting as a one-shot wrapper around SmoothIdw object.\n Read a file of point values and optionnaly a mask file,\n return the smoothed representation as GeoJSON or GeoDataFrame.",
" Parameters\n ----------\n input_geojson_points : str\n Path to file to u... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isopoly_to_gdf API.
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 isopoly_to_gdf API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Convert a collection of matplotlib.contour.QuadContourSet to a GeoDataFrame
Set an attribute `field_name` on each feature, according to `levels` values
(`levels` must have the same number of features as the collection of contours)
Parameters
----------
collection_polygons : matplotlib.contour.QuadC... | "Convert a collection of matplotlib.contour.QuadContourSet to a GeoDataFrame\n Set an attribute `field_name` on each feature, according to `levels` values\n (`levels` must have the same number of features as the collection of contours)\n\n Parameters\n ----------\n collection_polygons : matplotlib.contou... | 44 | false | mthh/smoomapy | isopoly_to_gdf | 29,837 | |
LDU_FT/freakboy3742/pyxero/state | LDU_FT | [
"<BEGIN>\n## `parse_date`",
"Takes a Xero formatted date, e.g. /Date(1426849200000+1300)/\n<END>",
"<BEGIN>\n## `json_load_object_hook`",
"Hook for json.parse(...) to parse Xero date formats.\n<END>",
"<BEGIN>\n## `_get_data`",
"This is the decorator for our DECORATED_METHODS.\n Each of the decorat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the state API.
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 state API.
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... | Obtain the useful state of this credentials object so that
we can reconstruct it independently. | "Obtain the useful state of this credentials object so that\n we can reconstruct it independently." | 31 | false | freakboy3742/pyxero | state | 29,838 | |
LDU_FT/jd/tenacity/after_log | LDU_FT | [
"<BEGIN>\n## `after_log`",
"After call strategy that logs to some logger the finished attempt.\n<END>",
"<BEGIN>\n## `retry`",
"Wrap a function with a new `Retrying` object.",
" :param dargs: positional arguments passed to Retrying object\n :param dkw: keyword arguments passed to the Retrying object\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the after_log API.
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 after_log API.
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... | After call strategy that logs to some logger the finished attempt. | "After call strategy that logs to some logger the finished attempt." | 44 | false | jd/tenacity | after_log | 29,839 | |
LDU_FT/ucfopen/canvasapi/get_outcome | LDU_FT | [
"<BEGIN>\n## `request`",
"Make a request to the Canvas API and return the response.",
" :param method: The HTTP method for the request.\n :type method: str\n :param endpoint: The endpoint to call.\n :type endpoint: str\n :param headers: Optional HTTP headers to be sent with th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_outcome API.
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_outcome API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Returns the details of the outcome with the given id.
:calls: `GET /api/v1/outcomes/:id \
<https://canvas.instructure.com/doc/api/outcomes.html#method.outcomes_api.show>`_
:param outcome: The outcome object or ID to return.
:type outcome: :class:`canvasapi.outcome.Outcome` or int
... | "Returns the details of the outcome with the given id.\n\n :calls: `GET /api/v1/outcomes/:id \\\n <https://canvas.instructure.com/doc/api/outcomes.html#method.outcomes_api.show>`_\n\n :param outcome: The outcome object or ID to return.\n :type outcome: :class:`canvasapi.outcome.Outcome` or i... | 219 | false | ucfopen/canvasapi | get_outcome | 29,840 | |
LDU_FT/yougov/vr.runners/ensure_image | LDU_FT | [
"<BEGIN>\n## `untar`",
"Unpack tarpath to outfolder. Make a guess about the compression based on\n file extension (.gz or .bz2).",
" The unpacking of the tarfile is done in a temp directory and moved into\n place atomically at the end (assuming /tmp is on the same filesystem as\n outfolder).",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ensure_image API.
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 ensure_image API.
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... | Ensure OS image at url has been downloaded and (optionally) unpacked. | "Ensure OS image at url has been downloaded and (optionally) unpacked." | 28 | false | yougov/vr.runners | ensure_image | 29,841 | |
LDU_FT/alvinwan/TexSoup/delete | LDU_FT | [
"<BEGIN>\n## `all`",
"r\"\"\"Returns all content in this node, regardless of whitespace or\n not. This includes all LaTeX needed to reconstruct the original source.",
" >>> from TexSoup import TexSoup\n >>> soup = TexSoup(r'''\n ... \\newcommand{reverseconcat}[3]{#3#2#1}\n ...... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
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 delete API.
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 ... | r"""Delete this node from the parse tree.
Where applicable, this will remove all descendants of this node from
the parse tree.
>>> from TexSoup import TexSoup
>>> soup = TexSoup(r'''\textit{\color{blue}{Silly}}\textit{keep me!}''')
>>> soup.textit.color.delete()
>>> sou... | "r\"\"\"Delete this node from the parse tree.\n\n Where applicable, this will remove all descendants of this node from\n the parse tree.\n\n >>> from TexSoup import TexSoup\n >>> soup = TexSoup(r'''\\textit{\\color{blue}{Silly}}\\textit{keep me!}''')\n >>> soup.textit.color.delete()\n... | 166 | false | alvinwan/TexSoup | delete | 29,842 | |
LDU_FT/wavefrontHQ/python-client/get_maintenance_window | LDU_FT | [
"<BEGIN>\n## `display`",
"Sets the display of this Message.",
" The form of display for this message # noqa: E501",
" :param display: The display of this Message. # noqa: E501\n :type: str\n<END>",
"<BEGIN>\n## `scope`",
"Sets the scope of this Message.",
" The audience sco... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_maintenance_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.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_maintenance_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.... | Get a specific maintenance window # noqa: E501
# noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_maintenance_window(id, async_req=True)
>>> result = thread.get()
... | "Get a specific maintenance window # noqa: E501\n\n # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.get_maintenance_window(id, async_req=True)\n >>> result = thread.get()\n... | 954 | false | wavefrontHQ/python-client | get_maintenance_window | 29,843 | |
LDU_FT/whiteclover/dbpy/execute | LDU_FT | [
"<BEGIN>\n## `compile`",
"Building the sql expression",
" :param db: the database instance\n<END>",
"<BEGIN>\n## `find`",
"Find and load the user from database by uid(user id)\n<END>",
"<BEGIN>\n## `find_by_username`",
"Return user by username if find in database otherwise None\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
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 execute API.
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... | It is used for update, delete records.
:param sql string: the sql stamtement like 'select * from %s'
:param args list: Wen set None, will use dbi execute(sql), else
dbi execute(sql, args), the args keep the original rules, it shuld be tuple or list of list
eg::
execut... | "It is used for update, delete records.\n\n :param sql string: the sql stamtement like 'select * from %s'\n :param args list: Wen set None, will use dbi execute(sql), else\n dbi execute(sql, args), the args keep the original rules, it shuld be tuple or list of list\n\n eg::\n\n ... | 41 | false | whiteclover/dbpy | execute | 29,844 | |
LDU_FT/wickerwaka/russound_rio/get_zone_variable | LDU_FT | [
"<BEGIN>\n## `_retrieve_cached_zone_variable`",
"Retrieves the cache state of the named variable for a particular\n zone. If the variable has not been cached then the UncachedVariable\n exception is raised.\n<END>",
"<BEGIN>\n## `_store_cached_zone_variable`",
"Stores the current known value of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_zone_variable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_zone_variable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Retrieve the current value of a zone variable. If the variable is
not found in the local cache then the value is requested from the
controller. | "Retrieve the current value of a zone variable. If the variable is\n not found in the local cache then the value is requested from the\n controller." | 24 | false | wickerwaka/russound_rio | get_zone_variable | 29,845 | |
LDU_FT/RLBot/RLBot/get_extra_pids | LDU_FT | [
"<BEGIN>\n## `configure_processes`",
"This will update the priority and CPU affinity of the processes owned by bots to try to achieve fairness and\n good performance.",
" :param agent_metadata_map: A mapping of player index to agent metadata, including a list of owned process ids.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_extra_pids API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_extra_pids API.
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... | Gets the list of process ids that should be marked as high priority.
:return: A list of process ids that are used by this bot in addition to the ones inside the python process. | "Gets the list of process ids that should be marked as high priority.\n :return: A list of process ids that are used by this bot in addition to the ones inside the python process." | 181 | false | RLBot/RLBot | get_extra_pids | 29,846 | |
LDU_FT/NASA-AMMOS/AIT-Core/parse | LDU_FT | [
"<BEGIN>\n## `crc32File`",
"Computes the CRC-32 of the contents of filename, optionally\n skipping a certain number of bytes at the beginning of the file.\n<END>",
"<BEGIN>\n## `endianSwapU16`",
"Swaps pairs of bytes (16-bit words) in the given bytearray.\n<END>",
"<BEGIN>\n## `setDictDefaults`",
"Sets... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
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 parse API.
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... | parse(name) -> [typename | None, nelems | None]
Parses an ArrayType name to return the element type name and
number of elements, e.g.:
>>> ArrayType.parse('MSB_U16[32]')
['MSB_U16', 32]
If typename cannot be determined, None is returned.
Similarly, if nelems is... | "parse(name) -> [typename | None, nelems | None]\n\n Parses an ArrayType name to return the element type name and\n number of elements, e.g.:\n\n >>> ArrayType.parse('MSB_U16[32]')\n ['MSB_U16', 32]\n\n If typename cannot be determined, None is returned.\n Similarly, if... | 688 | false | NASA-AMMOS/AIT-Core | parse | 29,847 | |
LDU_FT/GemHQ/round-py/format_auth_params | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new Device object.",
" Devices tie Users and Applications together. For your Application to\n access and act on behalf of a User, the User must authorize a Device\n created by your Application.",
" This function will return a `device_token` which y... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_auth_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_auth_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Generate the format expected by HTTP Headers from parameters.
Args:
params (dict): {key: value} to convert to key=value
Returns:
A formatted header string. | "Generate the format expected by HTTP Headers from parameters.\n\n Args:\n params (dict): {key: value} to convert to key=value\n\n Returns:\n A formatted header string." | 136 | false | GemHQ/round-py | format_auth_params | 29,848 | |
LDU_FT/justanr/Flask-Transfer/_postprocess | LDU_FT | [
"<BEGIN>\n## `pdftojpg`",
"Converts a PDF to a JPG and places it back onto the FileStorage instance\n passed to it as a BytesIO object.",
" Optional meta arguments are:\n * resolution: int or (int, int) used for wand to determine resolution,\n defaults to 300.\n * width: new width of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _postprocess API.
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 _postprocess API.
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... | Runs all attached postprocessors on the provided filehandle. | "Runs all attached postprocessors on the provided filehandle." | 25 | false | justanr/Flask-Transfer | _postprocess | 29,849 | |
LDU_FT/SAP/PyHDB/unpack_rows | LDU_FT | [
"<BEGIN>\n## `from_ini`",
"Make connection to database by reading connection parameters from an ini file.\n :param ini_file: Name of ini file, e.g. 'pytest.ini'\n :param section: specify alternative section in ini file. Section 'hana' and 'pytest' will be searched by default\n :return: connection object"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unpack_rows API.
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 unpack_rows API.
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... | Unpack output or input/output parameters from the stored procedure call result
:parameters_metadata: a stored procedure parameters metadata
:returns: parameter values | "Unpack output or input/output parameters from the stored procedure call result\n :parameters_metadata: a stored procedure parameters metadata\n :returns: parameter values" | 81 | false | SAP/PyHDB | unpack_rows | 29,850 | |
LDU_FT/cthoyt/onto2nx/load_text | LDU_FT | [
"<BEGIN>\n## `parse_owl_rdf`",
"Parses an OWL resource that's encoded in OWL/RDF into a NetworkX directional graph",
" :param str iri: The location of the OWL resource to be parsed by Ontospy\n :type iri: str\n :rtype: network.DiGraph\n<END>",
"<BEGIN>\n## `get_or_create_home_repo`",
"Check to make... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_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 extract... | :param text:
:param rdf_format_opts:
:param verbose:
:return: | ":param text:\n :param rdf_format_opts:\n :param verbose:\n :return:" | 102 | false | cthoyt/onto2nx | load_text | 29,851 | |
LDU_FT/andy-z/ged4py/parse_name_altree | LDU_FT | [
"<BEGIN>\n## `guess_codec`",
"Look at file contents and guess its correct encoding.",
" File must be open in binary mode and positioned at offset 0. If BOM\n record is present then it is assumed to be UTF-8 or UTF-16 encoded\n file. GEDCOM header is searched for CHAR record and encoding name\n is ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_name_altree API.
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 parse_name_altree API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Parse NAME structure assuming ALTREE dialect.
In ALTREE dialect maiden name (if present) is saved as SURN sub-record
and is also appended to family name in parens. Given name is saved in
GIVN sub-record. Few examples:
No maiden name:
1 NAME John /Smith/
2 GIVN John
With maiden na... | "Parse NAME structure assuming ALTREE dialect.\n\n In ALTREE dialect maiden name (if present) is saved as SURN sub-record\n and is also appended to family name in parens. Given name is saved in\n GIVN sub-record. Few examples:\n\n No maiden name:\n\n 1 NAME John /Smith/\n 2 GIVN John\n\n Wi... | 101 | false | andy-z/ged4py | parse_name_altree | 29,852 | |
LDU_FT/taborlab/FlowCal/_name_to_index | LDU_FT | [
"<BEGIN>\n## `clustering_gmm`",
"Find clusters in an array using a Gaussian Mixture Model.",
" Before clustering, `data` can be automatically rescaled as specified by\n the `scale` argument.",
" Parameters\n ----------\n data : FCSData or array_like\n Data to cluster.\n n_clusters : i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _name_to_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _name_to_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 ex... | Return the channel indices for the specified channel names.
Integers contained in `channel` are returned unmodified, if they
are within the range of ``self.channels``.
Parameters
----------
channels : int or str or list of int or list of str
Name(s) of the channel(s... | "Return the channel indices for the specified channel names.\n\n Integers contained in `channel` are returned unmodified, if they\n are within the range of ``self.channels``.\n\n Parameters\n ----------\n channels : int or str or list of int or list of str\n Name(s) of the ... | 418 | false | taborlab/FlowCal | _name_to_index | 29,853 | |
LDU_FT/TorkamaniLab/metapipe/get_command_templates | LDU_FT | [
"<BEGIN>\n## `consume`",
"Converts the lexer tokens into valid statements. This process\n also checks command syntax.\n<END>",
"<BEGIN>\n## `_get`",
"Given a type and a dict of parser results, return\n the items as a list.\n<END>",
"<BEGIN>\n## `_parse`",
"Given a type and a list, parse it u... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_command_templates 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_command_templates API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Given a list of tokens from the grammar, return a
list of commands. | "Given a list of tokens from the grammar, return a\n list of commands." | 84 | false | TorkamaniLab/metapipe | get_command_templates | 29,854 | |
LDU_FT/fossasia/AYABInterface/enter | LDU_FT | [
"<BEGIN>\n## `get`",
"Return the needle positions or None.",
" :param int line_number: the number of the line\n :rtype: list\n :return: the needle positions for a specific line specified by\n :paramref:`line_number` or :obj:`None` if no were given\n<END>",
"<BEGIN>\n## `get_bytes... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enter API.
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 enter API.
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... | Send a LineConfirmation to the controller.
When this state is entered, a
:class:`AYABInterface.communication.host_messages.LineConfirmation`
is sent to the controller.
Also, the :attr:`last line requested
<AYABInterface.communication.Communication.last_requested_line_number>`
... | "Send a LineConfirmation to the controller.\n\n When this state is entered, a\n :class:`AYABInterface.communication.host_messages.LineConfirmation`\n is sent to the controller.\n Also, the :attr:`last line requested\n <AYABInterface.communication.Communication.last_requested_line_numb... | 79 | false | fossasia/AYABInterface | enter | 29,855 | |
LDU_FT/cloudsmith-io/cloudsmith-cli/move | LDU_FT | [
"<BEGIN>\n## `convert`",
"Take a path with $HOME variables and resolve it to full path.\n<END>",
"<BEGIN>\n## `make_user_agent`",
"Get a suitable user agent for identifying the CLI process.\n<END>",
"<BEGIN>\n## `pretty_print_list_info`",
"Pretty print list info, with pagination, for user display.\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | Move (promote) a package to another repo.
This requires appropriate permissions for both the source
repository/package and the destination repository.
- OWNER/REPO/PACKAGE: Specify the OWNER namespace (i.e. user or org), the
REPO name where the package is stored, and the PACKAGE name (slug) of the
... | "Move (promote) a package to another repo.\n\n This requires appropriate permissions for both the source\n repository/package and the destination repository.\n\n - OWNER/REPO/PACKAGE: Specify the OWNER namespace (i.e. user or org), the\n REPO name where the package is stored, and the PACKAGE name (slug) of ... | 214 | false | cloudsmith-io/cloudsmith-cli | move | 29,856 | |
LDU_FT/ArtoLabs/SimpleSteem/scale_vote | LDU_FT | [
"<BEGIN>\n## `setup`",
"Runs only the first time SimpleSteem() \n is instantiated. Prompts user for the values\n that are then written to config.py\n<END>",
"<BEGIN>\n## `make`",
"takes the arguments and writes them as \n variable / value pairs to config.py\n<END>",
"<BEGIN>\n## `goodno... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scale_vote API.
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 scale_vote API.
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... | Scales a vote value between 1 and 100
to 150 to 10000 as required by Steem-Python
for certain method calls | "Scales a vote value between 1 and 100\n to 150 to 10000 as required by Steem-Python\n for certain method calls" | 74 | false | ArtoLabs/SimpleSteem | scale_vote | 29,857 | |
LDU_FT/bfrog/whizzer/result | LDU_FT | [
"<BEGIN>\n## `remote`",
"Decorator that adds a remote attribute to a function.",
" fn -- function being decorated\n name -- aliased name of the function, used for remote proxies\n types -- a argument type specifier, can be used to ensure\n arguments are of the correct type\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the result API.
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 result API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Return the last result of the callback chain or raise the last
exception thrown and not caught by an errback.
This will block until the result is available.
If a timeout is given and the call times out raise a TimeoutError
If SIGINT is caught while waiting raises CancelledErro... | "Return the last result of the callback chain or raise the last\n exception thrown and not caught by an errback.\n\n This will block until the result is available.\n \n If a timeout is given and the call times out raise a TimeoutError\n\n If SIGINT is caught while waiting raises Cance... | 107 | false | bfrog/whizzer | result | 29,858 | |
LDU_FT/marshmallow-code/marshmallow-jsonapi/format_json_api_response | LDU_FT | [
"<BEGIN>\n## `check_relations`",
"Recursive function which checks if a relation is valid.\n<END>",
"<BEGIN>\n## `format_json_api_response`",
"Post-dump hook that formats serialized data as a top-level JSON API object.",
" See: http://jsonapi.org/format/#document-top-level\n<END>",
"<BEGIN>\n## `on_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_json_api_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_json_api_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Post-dump hook that formats serialized data as a top-level JSON API object.
See: http://jsonapi.org/format/#document-top-level | "Post-dump hook that formats serialized data as a top-level JSON API object.\n\n See: http://jsonapi.org/format/#document-top-level" | 41 | false | marshmallow-code/marshmallow-jsonapi | format_json_api_response | 29,859 | |
LDU_FT/OnroerendErfgoed/crabpy/list_kadastrale_afdelingen_by_gemeente | LDU_FT | [
"<BEGIN>\n## `crab_gateway_request`",
"Utility function that helps making requests to the CRAB service.",
" This is a specialised version of :func:`crabpy.client.crab_request` that\n allows adding extra functionality for the calls made by the gateway.",
" :param client: A :class:`suds.client.Client` ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_kadastrale_afdelingen_by_gemeente API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_kadastrale_afdelingen_by_gemeente API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates... | List all `kadastrale afdelingen` in a `gemeente`.
:param gemeente: The :class:`Gemeente` for which the \
`afdelingen` are wanted.
:param integer sort: Field to sort on.
:rtype: A :class:`list` of :class:`Afdeling`. | "List all `kadastrale afdelingen` in a `gemeente`.\n\n :param gemeente: The :class:`Gemeente` for which the \\\n `afdelingen` are wanted.\n :param integer sort: Field to sort on.\n :rtype: A :class:`list` of :class:`Afdeling`." | 196 | false | OnroerendErfgoed/crabpy | list_kadastrale_afdelingen_by_gemeente | 29,860 | |
LDU_FT/GeospatialPython/pyshp/polym | LDU_FT | [
"<BEGIN>\n## `signed_area`",
"Return the signed area enclosed by a ring using the linear time\r\n algorithm. A value >= 0 indicates a counter-clockwise oriented ring.\n<END>",
"<BEGIN>\n## `as_dict`",
"Returns this Record as a dictionary using the field names as keys\r\n :return: dict\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the polym API.
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 polym API.
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... | Creates a POLYGONM shape.
Polys is a collection of polygons, each made up of a list of xym values.
Note that for ordinary polygons the coordinates must run in a clockwise direction.
If some of the polygons are holes, these must run in a counterclockwise direction.
If the m (measure) ... | "Creates a POLYGONM shape.\r\n Polys is a collection of polygons, each made up of a list of xym values.\r\n Note that for ordinary polygons the coordinates must run in a clockwise direction.\r\n If some of the polygons are holes, these must run in a counterclockwise direction.\r\n If the m (... | 82 | false | GeospatialPython/pyshp | polym | 29,861 | |
LDU_FT/deanmalmgren/textract/parse_requirements | LDU_FT | [
"<BEGIN>\n## `get_parser`",
"Initialize the parser for the command line interface and bind the\n autocompletion functionality\n<END>",
"<BEGIN>\n## `_get_available_encodings`",
"Get a list of the available encodings to make it easy to\n tab-complete the command line interface.",
" Inspiration from ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_requirements 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 parse_requirements 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... | read in the dependencies from the requirements files | "read in the dependencies from the requirements files" | 36 | false | deanmalmgren/textract | parse_requirements | 29,862 | |
LDU_FT/DheerendraRathor/django-auth-ldap-ng/get_ldap | LDU_FT | [
"<BEGIN>\n## `get_ldap`",
"Returns the ldap module. The unit test harness will assign a mock object\n to _LDAPConfig.ldap. It is imperative that the ldap module not be\n imported anywhere else so that the unit tests will pass in the absence\n of python-ldap.\n<END>",
"<BEGIN>\n## `get_logge... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ldap API.
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_ldap API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns the ldap module. The unit test harness will assign a mock object
to _LDAPConfig.ldap. It is imperative that the ldap module not be
imported anywhere else so that the unit tests will pass in the absence
of python-ldap. | "Returns the ldap module. The unit test harness will assign a mock object\n to _LDAPConfig.ldap. It is imperative that the ldap module not be\n imported anywhere else so that the unit tests will pass in the absence\n of python-ldap." | 55 | false | DheerendraRathor/django-auth-ldap-ng | get_ldap | 29,863 | |
LDU_FT/CityOfZion/neo-python-rpc/invoke_script | LDU_FT | [
"<BEGIN>\n## `get_account`",
"Look up an account on the blockchain. Sample output:",
" Args:\n address: (str) address to lookup ( in format 'AXjaFSP23Jkbe6Pk9pPGT6NBDs1HVdqaXK')\n id: (int, optional) id to use for response tracking\n endpoint: (RPCEndpoint, optional) end... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the invoke_script API.
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 invoke_script API.
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... | Invokes a script that has been assembled
Args:
script: (str) a hexlified string of a contract invocation script, example '00c10b746f74616c537570706c796754a64cac1b1073e662933ef3e30b007cd98d67d7'
id: (int, optional) id to use for response tracking
endpoint: (RPCEndpoint, option... | "Invokes a script that has been assembled\n Args:\n script: (str) a hexlified string of a contract invocation script, example '00c10b746f74616c537570706c796754a64cac1b1073e662933ef3e30b007cd98d67d7'\n id: (int, optional) id to use for response tracking\n endpoint: (RPCEndpoint, o... | 76 | false | CityOfZion/neo-python-rpc | invoke_script | 29,864 | |
LDU_FT/atmos-python/atmos/doc_paragraph | LDU_FT | [
"<BEGIN>\n## `assumes`",
"Stores a function's assumptions as an attribute.\n<END>",
"<BEGIN>\n## `overridden_by_assumptions`",
"Stores what assumptions a function is overridden by as an attribute.\n<END>",
"<BEGIN>\n## `equation_docstring`",
"Creates a decorator that adds a docstring to an equation functi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the doc_paragraph API.
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 doc_paragraph API.
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... | Takes in a string without wrapping corresponding to a paragraph,
and returns a version of that string wrapped to be at most 80
characters in length on each line.
If indent is given, ensures each line is indented to that number
of spaces. | "Takes in a string without wrapping corresponding to a paragraph,\n and returns a version of that string wrapped to be at most 80\n characters in length on each line.\n If indent is given, ensures each line is indented to that number\n of spaces." | 126 | false | atmos-python/atmos | doc_paragraph | 29,865 | |
LDU_FT/sarenji/pyrc/stopword | LDU_FT | [
"<BEGIN>\n## `stopword`",
"will repeat 'lol', 'lmao, 'rofl' or 'roflmao' when seen in a message\n only applies to channel messages\n<END>",
"<BEGIN>\n## `run`",
"Keep running this thread until it's stopped\n<END>",
"<BEGIN>\n## `connect`",
"Connects to the IRC server with the options defined in `co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stopword API.
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 stopword API.
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... | will repeat 'lol', 'lmao, 'rofl' or 'roflmao' when seen in a message
only applies to channel messages | "will repeat 'lol', 'lmao, 'rofl' or 'roflmao' when seen in a message\n only applies to channel messages" | 16 | false | sarenji/pyrc | stopword | 29,866 | |
LDU_FT/thiagopbueno/tf-rddlsim/run | LDU_FT | [
"<BEGIN>\n## `interm_size`",
"Returns the MDP intermediate state size.\n<END>",
"<BEGIN>\n## `output_size`",
"Returns the simulation cell output size.\n<END>",
"<BEGIN>\n## `_dtype`",
"Converts `tensor` to tf.float32 datatype if needed.\n<END>",
"<BEGIN>\n## `timesteps`",
"Returns the input tensor for... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Builds the MDP graph and simulates in batch the trajectories
with given `horizon`. Returns the non-fluents, states, actions, interms
and rewards. Fluents and non-fluents are returned in factored form.
Note:
All output arrays have shape: (batch_size, horizon, fluent_shape).
... | "Builds the MDP graph and simulates in batch the trajectories\n with given `horizon`. Returns the non-fluents, states, actions, interms\n and rewards. Fluents and non-fluents are returned in factored form.\n\n Note:\n All output arrays have shape: (batch_size, horizon, fluent_shape).\n ... | 64 | false | thiagopbueno/tf-rddlsim | run | 29,867 | |
LDU_FT/hardbyte/python-can/load_file_config | LDU_FT | [
"<BEGIN>\n## `open`",
"Opens a CAN connection using `CanalOpen()`.",
" :param str configuration: the configuration: \"device_id; baudrate\"\n :param int flags: the flags to be set",
" :raises can.CanError: if any error occurred\n :returns: Valid handle for CANAL API functions on su... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_file_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 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_file_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 ... | Loads configuration from file with following content::
[default]
interface = socketcan
channel = can0
:param path:
path to config file. If not specified, several sensible
default locations are tried depending on platform.
:param section:
name of the section to r... | "Loads configuration from file with following content::\n\n [default]\n interface = socketcan\n channel = can0\n\n :param path:\n path to config file. If not specified, several sensible\n default locations are tried depending on platform.\n :param section:\n name of the s... | 417 | false | hardbyte/python-can | load_file_config | 29,868 | |
LDU_FT/klahnakoski/pyLibrary/metas | LDU_FT | [
"<BEGIN>\n## `groupby`",
":param data:\n :param keys:\n :param size:\n :param min_size:\n :param max_size:\n :param contiguous: MAINTAIN THE ORDER OF THE DATA, STARTING THE NEW GROUP WHEN THE SELECTOR CHANGES\n :return: return list of (keys, values) PAIRS, WHERE\n keys IS IN LEAF... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the metas API.
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 metas API.
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... | RETURN THE METADATA DESCRIPTORS FOR EACH KEY | "RETURN THE METADATA DESCRIPTORS FOR EACH KEY" | 574 | false | klahnakoski/pyLibrary | metas | 29,869 | |
LDU_FT/Deepwalker/trafaret/xor_key | LDU_FT | [
"<BEGIN>\n## `ensure_trafaret`",
"Helper for complex trafarets, takes trafaret instance or class\n and returns trafaret instance\n<END>",
"<BEGIN>\n## `DictKeys`",
"Checks if dict has all given keys",
" :param keys:\n :type keys:",
" >>> _dd(DictKeys(['a','b']).check({'a':1,'b':2,}))\n \"{'... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the xor_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the xor_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | xor_key - takes `first` and `second` key names and `trafaret`.
Checks if we have only `first` or only `second` in data, not both,
and at least one.
Then checks key value against trafaret. | "xor_key - takes `first` and `second` key names and `trafaret`.\n\n Checks if we have only `first` or only `second` in data, not both,\n and at least one.\n\n Then checks key value against trafaret." | 36 | false | Deepwalker/trafaret | xor_key | 29,870 | |
LDU_FT/Yelp/uwsgi_metrics/meter | LDU_FT | [
"<BEGIN>\n## `initialize`",
"Initialize metrics, must be invoked at least once prior to invoking any\n other method.\n<END>",
"<BEGIN>\n## `emit`",
"Serialize metrics to the memory mapped buffer.\n<END>",
"<BEGIN>\n## `view`",
"Get a dictionary representation of current metrics.\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the meter API.
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 meter API.
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... | Record an event rate:
::
meter(__name__, 'my_meter', 'event_type') | "Record an event rate:\n ::\n\n meter(__name__, 'my_meter', 'event_type')" | 32 | false | Yelp/uwsgi_metrics | meter | 29,871 | |
LDU_FT/openstack/monasca-common/_get_module | LDU_FT | [
"<BEGIN>\n## `fmtd_sub_expr_str`",
"Get the entire sub expressions as a string with spaces.\n<END>",
"<BEGIN>\n## `normalized_operator`",
"Get the operator as one of LT, GT, LTE, or GTE.\n<END>",
"<BEGIN>\n## `_get_conn`",
"Get or create a connection to a broker using host and port\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_module API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_module API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Import a named class, module, method or function.
Accepts these formats:
".../file/path|module_name:Class.method"
".../file/path|module_name:Class"
".../file/path|module_name:function"
"module_name:Class"
"module_name:function"
"module_name:Class.function"
If a ... | "Import a named class, module, method or function.\n\n Accepts these formats:\n \".../file/path|module_name:Class.method\"\n \".../file/path|module_name:Class\"\n \".../file/path|module_name:function\"\n \"module_name:Class\"\n \"module_name:function\"\n \"module_name:Class.... | 227 | false | openstack/monasca-common | _get_module | 29,872 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.