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/vicalloy/lbutils/get_only_selected_choices | LDU_FT | [
"<BEGIN>\n## `get_sum`",
"get sum for queryset.",
" ``qs``: queryset\n ``field``: The field name to sum.\n<END>",
"<BEGIN>\n## `get_max`",
"get max for queryset.",
" qs: queryset\n field: The field name to max.\n<END>",
"<BEGIN>\n## `do_filter`",
"auto filter queryset by dict.",
" qs:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_only_selected_choices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_only_selected_choices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Return a list of optgroups for this widget. | "Return a list of optgroups for this widget." | 30 | false | vicalloy/lbutils | get_only_selected_choices | 12,773 | |
LDU_FT/etcher-be/elib_miz/decode | LDU_FT | [
"<BEGIN>\n## `reorder`",
"Re-orders a miz file into a folder (flattened)",
" Args:\n miz_file_path: source miz file\n target_dir: folder to flatten the content into\n skip_options_file: do not re-order option file\n<END>",
"<BEGIN>\n## `decode`",
"Decodes the mission ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Decodes the mission files into dictionaries | "Decodes the mission files into dictionaries" | 100 | false | etcher-be/elib_miz | decode | 12,774 | |
LDU_FT/darkfeline/animanager/search | LDU_FT | [
"<BEGIN>\n## `_clean_fields`",
"Clean lookup fields and check for errors.\n<END>",
"<BEGIN>\n## `select`",
"Perform an arbitrary SQL SELECT WHERE on the anime table.",
" By nature of \"arbitrary query\", this is vulnerable to injection, use only\n trusted values for `where_query`.",
" This will \... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
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 search API.
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 ... | Search titles using a compiled RE query. | "Search titles using a compiled RE query." | 69 | false | darkfeline/animanager | search | 12,775 | |
LDU_FT/mrstephenneal/dirutility/map_tqdm | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect and login to an FTP server and return ftplib.FTP object.\n<END>",
"<BEGIN>\n## `get`",
"Download a remote file on the fto sever to a local directory.",
" :param remote: File path of remote source file\n :param local: Directory of local destination directory\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_tqdm API.
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 map_tqdm API.
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... | Perform a function on every item while displaying a progress bar.
:return: A list of yielded values | "Perform a function on every item while displaying a progress bar.\n\n :return: A list of yielded values" | 92 | false | mrstephenneal/dirutility | map_tqdm | 12,776 | |
LDU_FT/wuher/devil/__handle_request | LDU_FT | [
"<BEGIN>\n## `create`",
"Create object from the given data.",
" The given data may or may not have been validated prior to calling\n this function. This function will try its best in creating the object.\n If the resulting object cannot be produced, raises ``ValidationError``.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __handle_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 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __handle_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 ... | Intercept the request and response.
This function lets `HttpStatusCodeError`s fall through. They
are caught and transformed into HTTP responses by the caller.
:return: ``HttpResponse`` | "Intercept the request and response.\n\n This function lets `HttpStatusCodeError`s fall through. They\n are caught and transformed into HTTP responses by the caller.\n\n :return: ``HttpResponse``" | 193 | false | wuher/devil | __handle_request | 12,777 | |
LDU_FT/bspaans/python-mingus/from_Suite | LDU_FT | [
"<BEGIN>\n## `valid_beat_duration`",
"Return True when log2(duration) is an integer.\n<END>",
"<BEGIN>\n## `add_notes`",
"Add a Note, note as string or NoteContainer to the last Bar.",
" If the Bar is full, a new one will automatically be created.",
" If the Bar is not full but the note can'... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_Suite API.
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 from_Suite API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Convert a mingus.containers.Suite to an ASCII tablature string, complete
with headers.
This function makes use of the Suite's title, subtitle, author, email
and description attributes. | "Convert a mingus.containers.Suite to an ASCII tablature string, complete\n with headers.\n\n This function makes use of the Suite's title, subtitle, author, email\n and description attributes." | 535 | false | bspaans/python-mingus | from_Suite | 12,778 | |
LDU_FT/lowandrew/OLCTools/objectprep | LDU_FT | [
"<BEGIN>\n## `classes`",
"Uses .tfa files included in the ResFinder database to determine the resistance class of gene matches\n :param targetpath: Path to database files\n :return: Dictionary of resistance class: gene set\n<END>",
"<BEGIN>\n## `gene_name`",
"Split the FASTA header string into i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the objectprep API.
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 objectprep API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Create objects to store data and metadata for each sample. Also, perform necessary file manipulations | "Create objects to store data and metadata for each sample. Also, perform necessary file manipulations" | 432 | false | lowandrew/OLCTools | objectprep | 12,779 | |
LDU_FT/danpaquin/coinbasepro-python/place_market_order | LDU_FT | [
"<BEGIN>\n## `get_account_history`",
"List account activity. Account activity either increases or\n decreases your account balance.",
" Entry type indicates the reason for the account change.\n * transfer:\tFunds moved to/from Coinbase to cbpro\n * match:\tFunds moved as a result of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the place_market_order 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 place_market_order 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... | Place market order.
Args:
product_id (str): Product to order (eg. 'BTC-USD')
side (str): Order side ('buy' or 'sell)
size (Optional[Decimal]): Desired amount in crypto. Specify this or
`funds`.
funds (Optional[Decimal]): Desired amount of quote cu... | "Place market order.\n\n Args:\n product_id (str): Product to order (eg. 'BTC-USD')\n side (str): Order side ('buy' or 'sell)\n size (Optional[Decimal]): Desired amount in crypto. Specify this or\n `funds`.\n funds (Optional[Decimal]): Desired amount of ... | 127 | false | danpaquin/coinbasepro-python | place_market_order | 12,780 | |
LDU_FT/chr-1x/ananas/get_reply_visibility | LDU_FT | [
"<BEGIN>\n## `_expand_scheduledict`",
"Converts a dict of items, some of which are scalar and some of which are\n lists, to a list of dicts with scalar items.\n<END>",
"<BEGIN>\n## `interval_next`",
"Calculate the number of seconds from now until the function should next run.\n This function handles bot... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_reply_visibility 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_reply_visibility 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 status dict, return the visibility that should be used.
This behaves like Mastodon does by default. | "Given a status dict, return the visibility that should be used.\n This behaves like Mastodon does by default." | 19 | false | chr-1x/ananas | get_reply_visibility | 12,781 | |
LDU_FT/klmitch/tendril/_decode | LDU_FT | [
"<BEGIN>\n## `send_frame`",
"Sends a frame to the other end of the connection.\n<END>",
"<BEGIN>\n## `start`",
"Starts the TendrilManager.",
" :param acceptor: If given, specifies a callable that will be\n called with each newly received Tendril;\n that... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Decode a frame with the help of the table. | "Decode a frame with the help of the table." | 92 | false | klmitch/tendril | _decode | 12,782 | |
LDU_FT/alecthomas/importmagic/parse_ast | LDU_FT | [
"<BEGIN>\n## `index_path`",
"Index a path.",
" :param root: Either a package directory, a .so or a .py module.\n<END>",
"<BEGIN>\n## `get_or_create_index`",
"Get index with given name from cache. Create if it doesn't exists.\n<END>",
"<BEGIN>\n## `symbol_scores`",
"Find matches for symbol.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_ast API.
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 parse_ast API.
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... | Parse source into a Python AST, taking care of encoding. | "Parse source into a Python AST, taking care of encoding." | 13 | false | alecthomas/importmagic | parse_ast | 12,783 | |
LDU_FT/bodylabs/lace/vertices_per_edge | LDU_FT | [
"<BEGIN>\n## `copy`",
"Returns a deep copy with all of the numpy arrays copied\n If only is a list of strings, i.e. ['f', 'v'], then only those properties will be copied\n<END>",
"<BEGIN>\n## `concatenate`",
"Concatenates an arbitrary number of meshes.",
" Currently supports vertices, vertex c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vertices_per_edge API.
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 vertices_per_edge API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Returns an Ex2 array of adjacencies between vertices, where
each element in the array is a vertex index. Each edge is included
only once. Edges that are not shared by 2 faces are not included. | "Returns an Ex2 array of adjacencies between vertices, where\n each element in the array is a vertex index. Each edge is included\n only once. Edges that are not shared by 2 faces are not included." | 133 | false | bodylabs/lace | vertices_per_edge | 12,784 | |
LDU_FT/ThreatResponse/margaritashotgun/parse_manifest | LDU_FT | [
"<BEGIN>\n## `configure`",
"Connect paramiko transport",
" :type auth: :py:class`margaritashotgun.auth.AuthMethods`\n :param auth: authentication object\n :type address: str\n :param address: remote server ip or hostname\n :type port: int\n :param port: remote server po... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_manifest API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_manifest API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Parse manifest xml file
:type manifest_xml: str
:param manifest_xml: raw xml content of manifest file | "Parse manifest xml file\n\n :type manifest_xml: str\n :param manifest_xml: raw xml content of manifest file" | 134 | false | ThreatResponse/margaritashotgun | parse_manifest | 12,785 | |
LDU_FT/osrg/ryu/arp_ip | LDU_FT | [
"<BEGIN>\n## `update`",
"Updates global configuration settings with given values.",
" First checks if given configuration values differ from current values.\n If any of the configuration values changed, generates a change event.\n Currently we generate change event for any configuration cha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the arp_ip API.
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 arp_ip API.
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 ... | A convenient wrapper for IPv4 ARP for Ethernet.
This is an equivalent of the following code.
arp(ARP_HW_TYPE_ETHERNET, ether.ETH_TYPE_IP, \
6, 4, opcode, src_mac, src_ip, dst_mac, dst_ip) | "A convenient wrapper for IPv4 ARP for Ethernet.\n\n This is an equivalent of the following code.\n\n arp(ARP_HW_TYPE_ETHERNET, ether.ETH_TYPE_IP, \\\n 6, 4, opcode, src_mac, src_ip, dst_mac, dst_ip)" | 1,172 | true | osrg/ryu | arp_ip | 12,786 | |
LDU_FT/tkem/cachetools/typedkey | LDU_FT | [
"<BEGIN>\n## `popitem`",
"Remove and return the `(key, value)` pair least recently used.\n<END>",
"<BEGIN>\n## `lfu_cache`",
"Decorator to wrap a function with a memoizing callable that saves\n up to `maxsize` results based on a Least Frequently Used (LFU)\n algorithm.\n<END>",
"<BEGIN>\n## `lru_cache... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the typedkey API.
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 typedkey API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return a typed cache key for the specified hashable arguments. | "Return a typed cache key for the specified hashable arguments." | 24 | false | tkem/cachetools | typedkey | 12,787 | |
LDU_FT/ministryofjustice/money-to-prisoners-common/additional_assets | LDU_FT | [
"<BEGIN>\n## `get_form_errors`",
"Django form errors do not obey natural field order,\n this template tag returns non-field and field-specific errors\n :param form: the form instance\n<END>",
"<BEGIN>\n## `sub_nav`",
"Sub-nav displayed below proposition header\n - creates alternate language links if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the additional_assets API.
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 additional_assets API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Collects assets from GOV.UK frontend toolkit | "Collects assets from GOV.UK frontend toolkit" | 84 | false | ministryofjustice/money-to-prisoners-common | additional_assets | 12,788 | |
LDU_FT/vpelletier/python-libusb1/create_binary_buffer | LDU_FT | [
"<BEGIN>\n## `newStruct`",
"Create a ctype structure class based on USB standard field naming\n (type-prefixed).\n<END>",
"<BEGIN>\n## `get_iso_packet_buffer_list`",
"Python-specific helper extracting a list of iso packet buffers.\n<END>",
"<BEGIN>\n## `get_extra`",
"Python-specific helper to access \"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_binary_buffer 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 create_binary_buffer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | ctypes.create_string_buffer variant which does not add a trailing null
when init_or_size is not a size. | "ctypes.create_string_buffer variant which does not add a trailing null\n when init_or_size is not a size." | 136 | false | vpelletier/python-libusb1 | create_binary_buffer | 12,789 | |
LDU_FT/JamesGardiner/chwrapper/profile | LDU_FT | [
"<BEGIN>\n## `search_officers`",
"Search for officers by name.",
" Args:\n term (str): Officer name to search on.\n disqualified (Optional[bool]): True to search for disqualified\n officers\n kwargs (dict): additional keywords passed into\n requests.sessio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the profile API.
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 profile API.
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... | Search for company profile by company number.
Args:
num (str): Company number to search on. | "Search for company profile by company number.\n\n Args:\n num (str): Company number to search on." | 33 | false | JamesGardiner/chwrapper | profile | 12,790 | |
LDU_FT/DasIch/argvard/from_string | LDU_FT | [
"<BEGIN>\n## `from_string`",
"Returns a :class:`Signature` object based on the given `string`. If\n `option` is `True`, repetitions or optional patterns will not be\n allowed.",
" If the `string` cannot be parsed, :exc:`InvalidSignature` is raised.\n<END>",
"<BEGIN>\n## `usage`",
"A usa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Returns a :class:`Signature` object based on the given `string`. If
`option` is `True`, repetitions or optional patterns will not be
allowed.
If the `string` cannot be parsed, :exc:`InvalidSignature` is raised. | "Returns a :class:`Signature` object based on the given `string`. If\n `option` is `True`, repetitions or optional patterns will not be\n allowed.\n\n If the `string` cannot be parsed, :exc:`InvalidSignature` is raised." | 31 | false | DasIch/argvard | from_string | 12,791 | |
LDU_FT/sastrarobotics/pyHerkulex/get_torque_state | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect to the Herkulex bus",
" Connect to serial port to which Herkulex Servos are attatched",
" Args:\n portname (str): The serial port name\n baudrate (int): The serial port baudrate\n Raises:\n SerialException: Error occured while opening serial port... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_torque_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 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_torque_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 ... | get the torque state of motor
Returns:
bool: True if torque is enabled, else False | "get the torque state of motor\n\n Returns:\n bool: True if torque is enabled, else False" | 102 | false | sastrarobotics/pyHerkulex | get_torque_state | 12,792 | |
LDU_FT/digidotcom/python-wvalib/list | LDU_FT | [
"<BEGIN>\n## `emit_event`",
"Emit the specified event (notify listeners)\n<END>",
"<BEGIN>\n## `enable`",
"Enable the stream thread",
" This operation will ensure that the thread that is responsible\n for connecting to the WVA and triggering event callbacks is started.\n This thread wil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | List short name of all current subscriptions | "List short name of all current subscriptions" | 103 | false | digidotcom/python-wvalib | list | 12,793 | |
LDU_FT/xapple/plumbing/check_executable | LDU_FT | [
"<BEGIN>\n## `plot_and_save`",
"Used when the plot method defined does not create a figure nor calls save_plot\n Then the plot method has to use self.fig\n<END>",
"<BEGIN>\n## `plot`",
"An example plot function. You have to subclass this method.\n<END>",
"<BEGIN>\n## `count_processors`",
"How many ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_executable API.
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 check_executable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Raises an warning if the executable *tool_name* is not found. | "Raises an warning if the executable *tool_name* is not found." | 150 | false | xapple/plumbing | check_executable | 12,794 | |
LDU_FT/juju/theblues/debug | LDU_FT | [
"<BEGIN>\n## `list_models`",
"Get the logged in user's models from the JIMM controller.",
" @param macaroons The discharged JIMM macaroons.\n @return The json decoded list of environments.\n<END>",
"<BEGIN>\n## `make_request`",
"Make a request with the provided data.",
" @param url The ur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the debug API.
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 debug API.
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... | Retrieve the debug information from the identity manager. | "Retrieve the debug information from the identity manager." | 141 | false | juju/theblues | debug | 12,795 | |
LDU_FT/osrg/ryu/get_neighbor_in_filter | LDU_FT | [
"<BEGIN>\n## `update`",
"Updates global configuration settings with given values.",
" First checks if given configuration values differ from current values.\n If any of the configuration values changed, generates a change event.\n Currently we generate change event for any configuration cha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_neighbor_in_filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_neighbor_in_filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Returns a neighbor in_filter for given ip address if exists. | "Returns a neighbor in_filter for given ip address if exists." | 1,172 | true | osrg/ryu | get_neighbor_in_filter | 12,796 | |
LDU_FT/akatrevorjay/uninhibited/_add | LDU_FT | [
"<BEGIN>\n## `get_event`",
"Lookup an event by name.",
" :param str item: Event name\n :return Event: Event instance under key\n<END>",
"<BEGIN>\n## `_add_internal_event`",
"This is only here to ensure my constant hatred for Python 2's horrid variable argument support.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add API.
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 _add API.
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... | Add handler instance and attach any events to it.
:param object handler: handler instance
:param bool allow_dupe: If True, allow registering a handler more than once.
:return object: The handler you added is given back so this can be used as a decorator. | "Add handler instance and attach any events to it.\n\n :param object handler: handler instance\n :param bool allow_dupe: If True, allow registering a handler more than once.\n :return object: The handler you added is given back so this can be used as a decorator." | 40 | false | akatrevorjay/uninhibited | _add | 12,797 | |
LDU_FT/Scoppio/RagnarokEngine3/is_clicked | LDU_FT | [
"<BEGIN>\n## `set_default_pos`",
"Set the default starting location of our character.\n<END>",
"<BEGIN>\n## `__generate_location`",
"Reset the location of the cloud once it has left the viewable area of the screen.\n<END>",
"<BEGIN>\n## `load_character`",
"Create an instance of the main character and retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_clicked API.
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 is_clicked API.
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... | Did the user depress and release the button to signify a click?
MouseStateType is the button to query. Values found under StateTypes.py | "Did the user depress and release the button to signify a click?\n MouseStateType is the button to query. Values found under StateTypes.py" | 165 | false | Scoppio/RagnarokEngine3 | is_clicked | 12,798 | |
LDU_FT/tallforasmurf/byteplay/print_object_attributes | LDU_FT | [
"<BEGIN>\n## `object_attributes`",
"Return a sorted list of names defined by thing that are not also names in\n a standard object, except include __doc__.\n<END>",
"<BEGIN>\n## `print_object_attributes`",
"Print the attribute names in thing vertically\n<END>",
"<BEGIN>\n## `print_attr_values`",
"Print ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_object_attributes 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 print_object_attributes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Print the attribute names in thing vertically | "Print the attribute names in thing vertically" | 35 | false | tallforasmurf/byteplay | print_object_attributes | 12,799 | |
LDU_FT/Infinidat/infi.clickhouse_orm/set_database | LDU_FT | [
"<BEGIN>\n## `_range_check`",
"Utility method to check that the given value is between min_value and max_value.\n<END>",
"<BEGIN>\n## `get_sql`",
"Returns an SQL expression describing the field (e.g. for CREATE TABLE).\n :param with_default_expression: If True, adds default value to sql.\n I... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_database API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_database API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Sets the `Database` that this model instance belongs to.
This is done automatically when the instance is read from the database or written to it. | "Sets the `Database` that this model instance belongs to.\n This is done automatically when the instance is read from the database or written to it." | 86 | false | Infinidat/infi.clickhouse_orm | set_database | 12,800 | |
LDU_FT/pyokagan/pyglreg/get_profiles | LDU_FT | [
"<BEGIN>\n## `import_type`",
"Import Type `name` and its dependencies from Registry `src`\n to Registry `dest`.",
" :param Registry dest: Destination Registry\n :param Registry src: Source Registry\n :param str name: Name of type to import\n :param str api: Prefer to import Types with api Name `a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_profiles API.
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 get_profiles API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns set of profile names referenced in this Feature
:returns: set of profile names | "Returns set of profile names referenced in this Feature\n\n :returns: set of profile names" | 84 | false | pyokagan/pyglreg | get_profiles | 12,801 | |
LDU_FT/wbond/certvalidator/copy | LDU_FT | [
"<BEGIN>\n## `fetch`",
"Fetches an OCSP response for a certificate",
" :param cert:\n An asn1cyrpto.x509.Certificate object to get an OCSP reponse for",
" :param issuer:\n An asn1crypto.x509.Certificate object that is the issuer of cert",
" :param hash_algo:\n A unicode string ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Creates a copy of this path
:return:
A ValidationPath object | "Creates a copy of this path\n\n :return:\n A ValidationPath object" | 202 | false | wbond/certvalidator | copy | 12,802 | |
LDU_FT/DEIB-GECO/PyGMQL/parse_single_data | LDU_FT | [
"<BEGIN>\n## `preprocess_path`",
"Given a dataset path, the following structure is to be expected:\n - path/\n - files/\n - S_00000.gdm\n - S_00000.gdm.meta\n - S_00001.gdm\n - S_00001.gdm.meta\n - ...\n - ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_single_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_single_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Parses a single region data file
:param path: path to the file
:param cols: the column names coming from the schema file
:param selected_region_data: the selected of the region data to be parsed
In most cases the analyst only needs a small subset of the region data
:param selecte... | "Parses a single region data file\n :param path: path to the file\n :param cols: the column names coming from the schema file\n :param selected_region_data: the selected of the region data to be parsed\n In most cases the analyst only needs a small subset of the region data\n :param s... | 422 | false | DEIB-GECO/PyGMQL | parse_single_data | 12,803 | |
LDU_FT/andreikop/qutepart/show | LDU_FT | [
"<BEGIN>\n## `_createAction`",
"Create QAction with given parameters and add to the widget\n<END>",
"<BEGIN>\n## `clear`",
"Clear bookmarks on block range including start and end\n<END>",
"<BEGIN>\n## `_onPrevBookmark`",
"Previous Bookmark action triggered. Move cursor\n<END>",
"<BEGIN>\n## `_onNextBook... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Override the QWidget::show() method to properly recalculate the
editor viewport. | "Override the QWidget::show() method to properly recalculate the\n editor viewport." | 303 | false | andreikop/qutepart | show | 12,804 | |
LDU_FT/kwikteam/phy/_process_ups | LDU_FT | [
"<BEGIN>\n## `set_state`",
"Set the view state.",
" The passed object is the persisted `self.state` bunch.",
" May be overriden.\n<END>",
"<BEGIN>\n## `_fullname`",
"Return the fully-qualified name of a function.\n<END>",
"<BEGIN>\n## `_get_default_grid`",
"In the grid specification, 0 c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_ups API.
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 _process_ups API.
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... | This function processes the UpdateInfo instances of the two
undo stacks (clustering and cluster metadata) and concatenates them
into a single UpdateInfo instance. | "This function processes the UpdateInfo instances of the two\n undo stacks (clustering and cluster metadata) and concatenates them\n into a single UpdateInfo instance." | 346 | false | kwikteam/phy | _process_ups | 12,805 | |
LDU_FT/quantopian/alphalens/plot_quantile_returns_bar | LDU_FT | [
"<BEGIN>\n## `factor_information_coefficient`",
"Computes the Spearman Rank Correlation based Information Coefficient (IC)\n between factor values and N period forward returns for each period in\n the factor index.",
" Parameters\n ----------\n factor_data : pd.DataFrame - MultiIndex\n A M... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_quantile_returns_bar 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 plot_quantile_returns_bar API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Plots mean period wise returns for factor quantiles.
Parameters
----------
mean_ret_by_q : pd.DataFrame
DataFrame with quantile, (group) and mean period wise return values.
by_group : bool
Disaggregated figures by group.
ylim_percentiles : tuple of integers
Percentiles of ob... | "Plots mean period wise returns for factor quantiles.\n\n Parameters\n ----------\n mean_ret_by_q : pd.DataFrame\n DataFrame with quantile, (group) and mean period wise return values.\n by_group : bool\n Disaggregated figures by group.\n ylim_percentiles : tuple of integers\n Percent... | 243 | false | quantopian/alphalens | plot_quantile_returns_bar | 12,806 | |
LDU_FT/kgori/treeCl/simulate | LDU_FT | [
"<BEGIN>\n## `brent_optimise`",
"Optimise ML distance between two partials. min and max set brackets\n<END>",
"<BEGIN>\n## `pairdists`",
"Load an alignment, calculate all pairwise distances and variances\n model parameter must be a Substitution model type from phylo_utils\n<END>",
"<BEGIN>\n## `write... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simulate API.
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 simulate API.
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... | Evolve multiple sites during one tree traversal | "Evolve multiple sites during one tree traversal" | 389 | false | kgori/treeCl | simulate | 12,807 | |
LDU_FT/rocioar/flake8-django/run | LDU_FT | [
"<BEGIN>\n## `capture_url_missing_namespace`",
"Capture missing namespace in url include.\n<END>",
"<BEGIN>\n## `run`",
"Captures the use of locals() in render function.\n<END>",
"<BEGIN>\n## `is_string_dunder_all`",
"Return True if element is ast.Str or ast.Bytes and equals \"__all__\"\n<END>",
"<BEGIN... | 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... | Captures the use of locals() in render function. | "Captures the use of locals() in render function." | 12 | false | rocioar/flake8-django | run | 12,808 | |
LDU_FT/todddeluca/python-vagrant/_parse_status | LDU_FT | [
"<BEGIN>\n## `which`",
"Emulate unix 'which' command. If program is a path to an executable file\n (i.e. it contains any directory components, like './myscript'), return\n program. Otherwise, if an executable file matching program is found in one\n of the directories in the PATH environment variable, r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_status API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_status API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Unit testing is so much easier when Vagrant is removed from the
equation. | "Unit testing is so much easier when Vagrant is removed from the\n equation." | 94 | false | todddeluca/python-vagrant | _parse_status | 12,809 | |
LDU_FT/anlutro/russell/add_asset_hashes | LDU_FT | [
"<BEGIN>\n## `from_string`",
"Given a markdown string, create an Entry object.",
"\t\tUsually subclasses will want to customize the parts of the markdown\n\t\twhere you provide values for attributes like public - this can be done\n\t\tby overriding the process_meta method.\n<END>",
"<BEGIN>\n## `process_meta`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_asset_hashes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_asset_hashes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Scan through a directory and add hashes for each file found. | "Scan through a directory and add hashes for each file found." | 48 | false | anlutro/russell | add_asset_hashes | 12,810 | |
LDU_FT/scikit-tda/kepler-mapper/plotlyviz | LDU_FT | [
"<BEGIN>\n## `project`",
"Creates the projection/lens from a dataset. Input the data set. Specify a projection/lens type. Output the projected data/lens.",
" Parameters\n ----------",
" X : Numpy Array\n The data to fit a projection/lens to.",
" projection :\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plotlyviz API.
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 plotlyviz API.
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... | Visualizations and dashboards for kmapper graphs using Plotly. This method is suitable for use in Jupyter notebooks.
The generated FigureWidget can be updated (by performing a restyle or relayout). For example, let us add a title
to the colorbar (the name of the color function, if any),
... | "Visualizations and dashboards for kmapper graphs using Plotly. This method is suitable for use in Jupyter notebooks.\r\n\r\n\r\n The generated FigureWidget can be updated (by performing a restyle or relayout). For example, let us add a title \r\n to the colorbar (the name of the color function, if any),\... | 169 | false | scikit-tda/kepler-mapper | plotlyviz | 12,811 | |
LDU_FT/portfoliome/foil/ftp_walk | LDU_FT | [
"<BEGIN>\n## `_`",
"ISO 8601 format. Interprets naive datetime as UTC with zulu suffix.\n<END>",
"<BEGIN>\n## `create_key_filter`",
"Generate combinations of key, value pairs for each key in properties.",
" Examples\n --------\n properties = {'ent': ['geo_rev', 'supply_chain'], 'own', 'fi'}\n >>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ftp_walk API.
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 ftp_walk API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Recursively traverse an ftp directory to discovery directory listing. | "Recursively traverse an ftp directory to discovery directory listing." | 89 | false | portfoliome/foil | ftp_walk | 12,812 | |
LDU_FT/ManiacalLabs/PixelWeb/add_route | LDU_FT | [
"<BEGIN>\n## `_re_flatten`",
"Turn all capturing groups in a regular expression pattern into\n non-capturing groups.\n<END>",
"<BEGIN>\n## `redirect`",
"Aborts execution and causes a 303 or 302 redirect, depending on\n the HTTP protocol version.\n<END>",
"<BEGIN>\n## `_file_iter_range`",
"Yi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_route API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_route API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Add a route object, but do not change the :data:`Route.app`
attribute. | "Add a route object, but do not change the :data:`Route.app`\n attribute." | 100 | false | ManiacalLabs/PixelWeb | add_route | 12,813 | |
LDU_FT/ethereum/web3.py/attrdict_middleware | LDU_FT | [
"<BEGIN>\n## `solidityKeccak`",
"Executes keccak256 exactly as Solidity does.\n Takes list of abi_types as inputs -- `[uint24, int8[], bool]`\n and list of corresponding values -- `[20, [-1, 5, 0], True]`\n<END>",
"<BEGIN>\n## `gas_price_strategy_middleware`",
"Includes a gas price using the ga... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attrdict_middleware 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 attrdict_middleware 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... | Converts any result which is a dictionary into an a | "Converts any result which is a dictionary into an a" | 268 | false | ethereum/web3.py | attrdict_middleware | 12,814 | |
LDU_FT/bastibe/SoundFile/_check_dtype | LDU_FT | [
"<BEGIN>\n## `read`",
"Provide audio data from a sound file as NumPy array.",
" By default, the whole file is read from the beginning, but the\n position to start reading can be specified with `start` and the\n number of frames to read can be specified with `frames`.\n Alternatively, a range can be ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_dtype API.
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_dtype API.
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 dtype string is valid and return ctype string. | "Check if dtype string is valid and return ctype string." | 139 | false | bastibe/SoundFile | _check_dtype | 12,815 | |
LDU_FT/gboeing/osmnx/nominatim_request | LDU_FT | [
"<BEGIN>\n## `config`",
"Configure osmnx by setting the default global vars to desired values.",
" Parameters\n ---------\n data_folder : string\n where to save and load data files\n logs_folder : string\n where to write the log files\n imgs_folder : string\n where to save fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nominatim_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nominatim_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... | Send a request to the Nominatim API via HTTP GET and return the JSON
response.
Parameters
----------
params : dict or OrderedDict
key-value pairs of parameters
type : string
Type of Nominatim query. One of the following: search, reverse or lookup
pause_duration : int
how... | "Send a request to the Nominatim API via HTTP GET and return the JSON\n response.\n\n Parameters\n ----------\n params : dict or OrderedDict\n key-value pairs of parameters\n type : string\n Type of Nominatim query. One of the following: search, reverse or lookup\n pause_duration : int\n... | 479 | false | gboeing/osmnx | nominatim_request | 12,816 | |
LDU_FT/erikrose/peep/main | LDU_FT | [
"<BEGIN>\n## `activate`",
"Make a compatible version of pip importable. Raise a RuntimeError if we\n couldn't.\n<END>",
"<BEGIN>\n## `path_and_line`",
"Return the path and line number of the file from which an\n InstallRequirement came.\n<END>",
"<BEGIN>\n## `hashes_above`",
"Yield hashes from conti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Be the top-level entrypoint. Return a shell status code. | "Be the top-level entrypoint. Return a shell status code." | 53 | false | erikrose/peep | main | 12,817 | |
LDU_FT/dropbox/pyannotate/infer_annotation | LDU_FT | [
"<BEGIN>\n## `parse_json`",
"Deserialize a JSON file containing runtime collected types.",
" The input JSON is expected to to have a list of RawEntry items.\n<END>",
"<BEGIN>\n## `tokenize`",
"Translate a type comment into a list of tokens.\n<END>",
"<BEGIN>\n## `generate_annotations_json_string`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the infer_annotation API.
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 infer_annotation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Given some type comments, return a single inferred signature.
Args:
type_comments: Strings of form '(arg1, ... argN) -> ret'
Returns: Tuple of (argument types and kinds, return type). | "Given some type comments, return a single inferred signature.\n\n Args:\n type_comments: Strings of form '(arg1, ... argN) -> ret'\n\n Returns: Tuple of (argument types and kinds, return type)." | 93 | false | dropbox/pyannotate | infer_annotation | 12,818 | |
LDU_FT/Unidata/siphon/_get_data_raw | LDU_FT | [
"<BEGIN>\n## `open_store_variable`",
"Turn CDMRemote variable into something like a numpy.ndarray.\n<END>",
"<BEGIN>\n## `get_attrs`",
"Get the global attributes from underlying data set.\n<END>",
"<BEGIN>\n## `get_dimensions`",
"Get the dimensions from underlying data set.\n<END>",
"<BEGIN>\n## `_find_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_data_raw API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_data_raw API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Download observations matching the time range.
Returns a tuple with a string for the body, string for the headers,
and a list of dates. | "Download observations matching the time range.\n\n Returns a tuple with a string for the body, string for the headers,\n and a list of dates." | 309 | false | Unidata/siphon | _get_data_raw | 12,819 | |
LDU_FT/zooniverse/panoptes-python-client/collaborators | LDU_FT | [
"<BEGIN>\n## `find`",
"Like :py:meth:`.PanoptesObject.find` but can also query by user and\n project.",
" - **user** and **project** can be either a :py:class:`.User` and\n :py:class:`.Project` instance respectively, or they can be given as\n IDs. If either argument is given, the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collaborators API.
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 collaborators API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns a list of :py:class:`.User` who are collaborators on this
project.
Zero or more role arguments can be passed as strings to narrow down the
results. If any roles are given, users who possess at least one of the
given roles are returned.
Examples::
all_collab... | "Returns a list of :py:class:`.User` who are collaborators on this\n project.\n\n Zero or more role arguments can be passed as strings to narrow down the\n results. If any roles are given, users who possess at least one of the\n given roles are returned.\n\n Examples::\n\n ... | 104 | false | zooniverse/panoptes-python-client | collaborators | 12,820 | |
LDU_FT/dead-beef/markovchain/get_point | LDU_FT | [
"<BEGIN>\n## `create_arg_parser`",
"Create command subparsers.",
" Parameters\n ----------\n parent : `argparse.ArgumentParser`\n Command parser.\n<END>",
"<BEGIN>\n## `read`",
"Read data files and update a generator.",
" Parameters\n ----------\n fnames : `list` of `str`\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_point API.
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_point API.
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... | Get curve point coordinates by index.
Parameters
----------
idx : `int`
Point index.
size : `int`
Curve size.
Returns
-------
(`int`, `int`)
Point coordinates. | "Get curve point coordinates by index.\n\n Parameters\n ----------\n idx : `int`\n Point index.\n size : `int`\n Curve size.\n\n Returns\n -------\n (`int`, `int`)\n Point coordinates." | 323 | false | dead-beef/markovchain | get_point | 12,821 | |
LDU_FT/kmike/django-generic-images/get_template_search_list | LDU_FT | [
"<BEGIN>\n## `attachedimage_form_factory`",
"Returns ModelForm class to be used in admin.\n 'lang' is the language for GearsUploader (can be 'en' and 'ru' at the\n moment).\n<END>",
"<BEGIN>\n## `attachedimages_inline_factory`",
"Returns InlineModelAdmin for attached images.\n 'lang' is t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_template_search_list 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 get_template_search_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Returns template search list.
Example::
>>> from django.contrib.auth.models import User
>>> user=User()
>>> get_template_search_list('my_app', user, 'list.html')
[u'my_app/auth/user/list.html', u'my_app/auth/list.html', 'my_app/list.html'] | "Returns template search list.\n Example::\n \n >>> from django.contrib.auth.models import User\n >>> user=User()\n >>> get_template_search_list('my_app', user, 'list.html')\n [u'my_app/auth/user/list.html', u'my_app/auth/list.html', 'my_app/list.html']" | 59 | false | kmike/django-generic-images | get_template_search_list | 12,822 | |
LDU_FT/Scille/autobahn-sync/_bootstrap | LDU_FT | [
"<BEGIN>\n## `leave`",
"Actively close this WAMP session.",
" Replace :meth:`autobahn.wamp.interface.IApplicationSession.leave`\n<END>",
"<BEGIN>\n## `call`",
"Call a remote procedure.",
" Replace :meth:`autobahn.wamp.interface.IApplicationSession.call`\n<END>",
"<BEGIN>\n## `register`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _bootstrap API.
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 _bootstrap API.
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... | Synchronous bootstrap (even if `blocking=False` is provided !)
Create the WAMP session and configure the `_callbacks_runner`. | "Synchronous bootstrap (even if `blocking=False` is provided !)\n\n Create the WAMP session and configure the `_callbacks_runner`." | 39 | false | Scille/autobahn-sync | _bootstrap | 12,823 | |
LDU_FT/vadimk2016/v-vk-api/check_for_additional_actions | LDU_FT | [
"<BEGIN>\n## `request_method`",
"Process method request and return json with results",
" :param method: str: specifies the method, example: \"users.get\"\n :param method_kwargs: dict: method parameters,\n example: \"users_id=1\", \"fields='city, contacts'\"\n<END>",
"<BEGIN>\n## `request_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_for_additional_actions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_for_additional_actions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Checks the url for a request for additional actions,
if so, calls the event handler | "Checks the url for a request for additional actions,\n if so, calls the event handler" | 22 | false | vadimk2016/v-vk-api | check_for_additional_actions | 12,824 | |
LDU_FT/kennethreitz/requests-html/user_agent | LDU_FT | [
"<BEGIN>\n## `user_agent`",
"Returns an apparently legit user-agent, if not requested one of a specific\n style. Defaults to a Chrome-style User-Agent.\n<END>",
"<BEGIN>\n## `raw_html`",
"Bytes representation of the HTML content.\n (`learn more <http://www.diveintopython3.net/strings.html>`_).\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_agent API.
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 user_agent API.
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... | Returns an apparently legit user-agent, if not requested one of a specific
style. Defaults to a Chrome-style User-Agent. | "Returns an apparently legit user-agent, if not requested one of a specific\n style. Defaults to a Chrome-style User-Agent." | 58 | false | kennethreitz/requests-html | user_agent | 12,825 | |
LDU_FT/inveniosoftware/invenio-search/with_preference_param | LDU_FT | [
"<BEGIN>\n## `index`",
"Query Elasticsearch using Invenio query syntax.\n<END>",
"<BEGIN>\n## `templates`",
"Generate a dictionary with template names and file paths.\n<END>",
"<BEGIN>\n## `register_mappings`",
"Register mappings from a package under given alias.",
" :param alias: The alias.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the with_preference_param API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the with_preference_param API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Add the preference param to the ES request and return a new Search.
The preference param avoids the bouncing effect with multiple
replicas, documented on ES documentation.
See: https://www.elastic.co/guide/en/elasticsearch/guide/current
/_search_options.html#_preference for more informa... | "Add the preference param to the ES request and return a new Search.\n\n The preference param avoids the bouncing effect with multiple\n replicas, documented on ES documentation.\n See: https://www.elastic.co/guide/en/elasticsearch/guide/current\n /_search_options.html#_preference for more i... | 52 | false | inveniosoftware/invenio-search | with_preference_param | 12,826 | |
LDU_FT/Chilipp/model-organization/preproc | LDU_FT | [
"<BEGIN>\n## `dir_contains`",
"Check if a file of directory is contained in another.",
" Parameters\n ----------\n dirname: str\n The base directory that should contain `path`\n path: str\n The name of a directory or file that should be in `dirname`\n exists: bool\n If True, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the preproc API.
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 preproc API.
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... | Create preprocessing data
Parameters
----------
which: str
The name of the numpy function to apply
``**kwargs``
Any other parameter for the
:meth:`model_organization.ModelOrganizer.app_main` method | "Create preprocessing data\n\n Parameters\n ----------\n which: str\n The name of the numpy function to apply\n ``**kwargs``\n Any other parameter for the\n :meth:`model_organization.ModelOrganizer.app_main` method" | 161 | false | Chilipp/model-organization | preproc | 12,827 | |
LDU_FT/crm416/semantic/isValidUnit | LDU_FT | [
"<BEGIN>\n## `parseUnits`",
"Carries out a conversion (represented as a string) and returns the\n result as a human-readable string.",
" Args:\n inp (str): Text representing a unit conversion, which should\n include a magnitude, a description of the initial units,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isValidUnit API.
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 isValidUnit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Checks if a string represents a valid quantities unit.
Args:
w (str): A string to be tested against the set of valid
quantities units.
Returns:
True if the string can be used as a unit in the quantities
module. | "Checks if a string represents a valid quantities unit.\n\n Args:\n w (str): A string to be tested against the set of valid\n quantities units.\n\n Returns:\n True if the string can be used as a unit in the quantities\n module." | 75 | false | crm416/semantic | isValidUnit | 12,828 | |
LDU_FT/relwell/corenlp-xml-lib/sentiment | LDU_FT | [
"<BEGIN>\n## `mentions`",
"Returns mentions",
" :return: list of mentions\n :rtype: list\n<END>",
"<BEGIN>\n## `sentence`",
"The sentence related to this mention",
" :getter: returns the sentence this mention relates to\n :type: corenlp_xml.document.Sentence\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sentiment API.
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 sentiment API.
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... | The sentiment of this sentence
:getter: Returns the sentiment value of this sentence
:type: int | "The sentiment of this sentence\n\n :getter: Returns the sentiment value of this sentence\n :type: int" | 87 | false | relwell/corenlp-xml-lib | sentiment | 12,829 | |
LDU_FT/maxfischer2781/include/load_module | LDU_FT | [
"<BEGIN>\n## `disable`",
"Disable an include type",
" :param identifier: module or name of the include type\n :param children_only: disable the include type only for child processes, not the current process",
" The ``identifier`` can be specified in multiple ways to disable an include typ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_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 load_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... | Load and return a module
Always returns the corresponding module. If the module is already
loaded, the existing module is returned. | "Load and return a module\n\n Always returns the corresponding module. If the module is already\n loaded, the existing module is returned." | 40 | false | maxfischer2781/include | load_module | 12,830 | |
LDU_FT/konstantint/PassportEye/_are_aligned_angles | LDU_FT | [
"<BEGIN>\n## `_guess_type`",
"Guesses the type of the MRZ from given lines. Returns 'TD1', 'TD2', 'TD3', 'MRVA', 'MRVB' or None.\n The algorithm is basically just counting lines, looking at their length and checking whether the first character is a 'V'",
" >>> MRZ._guess_type([]) is None\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _are_aligned_angles 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 _are_aligned_angles 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... | Are two boxes aligned according to their angle? | "Are two boxes aligned according to their angle?" | 67 | false | konstantint/PassportEye | _are_aligned_angles | 12,831 | |
LDU_FT/open-homeautomation/pknx/received_message | LDU_FT | [
"<BEGIN>\n## `ip_to_array`",
"Convert a string representing an IPv4 address to 4 bytes.\n<END>",
"<BEGIN>\n## `int_to_array`",
"Convert an length byte integer to an array of bytes.\n<END>",
"<BEGIN>\n## `parse_group_address`",
"Parse KNX group addresses and return the address as an integer.",
" This ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the received_message API.
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 received_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Process a message received from the KNX bus. | "Process a message received from the KNX bus." | 80 | false | open-homeautomation/pknx | received_message | 12,832 | |
LDU_FT/agoragames/kairos/_join | LDU_FT | [
"<BEGIN>\n## `_resolve_time`",
"Resolve the time in seconds of a configuration value.\n<END>",
"<BEGIN>\n## `step_size`",
"Return the time in seconds of a step. If a begin and end timestamp,\n return the time in seconds between them after adjusting for what buckets\n they alias to. If t1 and t0 resolve ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _join API.
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 _join API.
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... | Join multiple rows worth of data into a single result. | "Join multiple rows worth of data into a single result." | 74 | false | agoragames/kairos | _join | 12,833 | |
LDU_FT/shaypal5/strct/find_range_in_section_list | LDU_FT | [
"<BEGIN>\n## `find_point_in_section_list`",
"Returns the start of the section the given point belongs to.",
" The given list is assumed to contain start points of consecutive\n sections, except for the final point, assumed to be the end point of the\n last section. For example, the list [5, 8, 30, 31] ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_range_in_section_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_range_in_section_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Returns all sections belonging to the given range.
The given list is assumed to contain start points of consecutive
sections, except for the final point, assumed to be the end point of the
last section. For example, the list [5, 8, 30, 31] is interpreted as the
following list of sections: [5-8), [8-30)... | "Returns all sections belonging to the given range.\n\n The given list is assumed to contain start points of consecutive\n sections, except for the final point, assumed to be the end point of the\n last section. For example, the list [5, 8, 30, 31] is interpreted as the\n following list of sections: [5-8), ... | 140 | false | shaypal5/strct | find_range_in_section_list | 12,834 | |
LDU_FT/joshspeagle/dynesty/add_live_points | LDU_FT | [
"<BEGIN>\n## `runplot`",
"Plot live points, ln(likelihood), ln(weight), and ln(evidence)\n as a function of ln(prior volume).",
" Parameters\n ----------\n results : :class:`~dynesty.results.Results` instance\n A :class:`~dynesty.results.Results` instance from a nested\n sampling run."... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_live_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_live_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 e... | Add the remaining set of live points to the current set of dead
points. Instantiates a generator that will be called by
the user. Returns the same outputs as :meth:`sample`. | "Add the remaining set of live points to the current set of dead\n points. Instantiates a generator that will be called by\n the user. Returns the same outputs as :meth:`sample`." | 709 | false | joshspeagle/dynesty | add_live_points | 12,835 | |
LDU_FT/astooke/gtimer/attach_subdivision | LDU_FT | [
"<BEGIN>\n## `start`",
"Mark the start of timing, overwriting the automatic start data written on\n import, or the automatic start at the beginning of a subdivision.",
" Notes:\n Backdating: For subdivisions only. Backdate time must be in the past\n but more recent than the latest stamp in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attach_subdivision 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 attach_subdivision 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... | Manual assignment of a (stopped) times object as a subdivision of running
timer. Use cases are expected to be very limited (mainly provided as a
one-Times variant of attach_par_subdivision).
Notes:
As with any subdivision, the interval in the receiving timer is assumed to
totally subsume t... | "Manual assignment of a (stopped) times object as a subdivision of running\n timer. Use cases are expected to be very limited (mainly provided as a\n one-Times variant of attach_par_subdivision).\n\n Notes:\n As with any subdivision, the interval in the receiving timer is assumed to\n totally su... | 137 | false | astooke/gtimer | attach_subdivision | 12,836 | |
LDU_FT/stephantul/reach/transform | LDU_FT | [
"<BEGIN>\n## `load`",
"r\"\"\"\n Read a file in word2vec .txt format.",
" The load function will raise a ValueError when trying to load items\n which do not conform to line lengths.",
" Parameters\n ----------\n pathtovector : string\n The path to the vecto... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API.
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 transform API.
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... | Transform a corpus by repeated calls to vectorize, defined above.
Parameters
----------
corpus : A list of strings, list of list of strings.
Represents a corpus as a list of sentences, where sentences
can either be strings or lists of tokens.
remove_oov : bool, o... | "Transform a corpus by repeated calls to vectorize, defined above.\n\n Parameters\n ----------\n corpus : A list of strings, list of list of strings.\n Represents a corpus as a list of sentences, where sentences\n can either be strings or lists of tokens.\n remove_oov :... | 63 | false | stephantul/reach | transform | 12,837 | |
LDU_FT/elifesciences/proofreader-python/get_flake8_options | LDU_FT | [
"<BEGIN>\n## `col_widths`",
"Get MAX possible width of each column in the table.",
" :return: defaultdict\n<END>",
"<BEGIN>\n## `_marker_line`",
"Generate a correctly sized marker line.",
" e.g.",
" '+------------------+---------+----------+---------+'",
" :return: str\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_flake8_options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_flake8_options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Checks for local config overrides for `flake8`
and add them in the correct `flake8` `options` format.
:param config_dir:
:return: List[str] | "Checks for local config overrides for `flake8`\n and add them in the correct `flake8` `options` format.\n\n :param config_dir:\n :return: List[str]" | 44 | false | elifesciences/proofreader-python | get_flake8_options | 12,838 | |
LDU_FT/lightning-viz/lightning-python/check_thickness | LDU_FT | [
"<BEGIN>\n## `enable_ipython`",
"Enable plotting in the iPython notebook.",
" Once enabled, all lightning plots will be automatically produced\n within the iPython notebook. They will also be available on\n your lightning server within the current session.\n<END>",
"<BEGIN>\n## `disable_i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_thickness API.
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 check_thickness API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Check and parse thickness specs as either a single [s] or a list of [s,s,s,...] | "Check and parse thickness specs as either a single [s] or a list of [s,s,s,...]" | 55 | false | lightning-viz/lightning-python | check_thickness | 12,839 | |
LDU_FT/nok/sklearn-porter/create_embedded_class | LDU_FT | [
"<BEGIN>\n## `export`",
"Port a trained estimator to the syntax of a chosen programming language.",
" Parameters\n ----------\n :param class_name : string\n The name of the class in the returned result.\n :param method_name : string\n The name of the method in t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_embedded_class 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 create_embedded_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Build the estimator class.
Returns
-------
:return : string
The built class as string. | "Build the estimator class.\n\n Returns\n -------\n :return : string\n The built class as string." | 197 | false | nok/sklearn-porter | create_embedded_class | 12,840 | |
LDU_FT/tijme/not-your-average-web-crawler/get_subdomain | LDU_FT | [
"<BEGIN>\n## `get_new_requests`",
"Retrieve all the new request that were found in this request.",
" Returns:\n list(:class:`nyawc.http.Request`): A list of request objects.\n<END>",
"<BEGIN>\n## `__make_request`",
"Execute a request with the given data.",
" Args:\n url... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_subdomain API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_subdomain API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Get the subdomain of the given URL.
Args:
url (str): The URL to get the subdomain from.
Returns:
str: The subdomain(s) | "Get the subdomain of the given URL.\n\n Args:\n url (str): The URL to get the subdomain from.\n\n Returns:\n str: The subdomain(s)" | 220 | false | tijme/not-your-average-web-crawler | get_subdomain | 12,841 | |
LDU_FT/AmanoTeam/amanobot/stopPoll | LDU_FT | [
"<BEGIN>\n## `sendAnimation`",
"See: https://core.telegram.org/bots/api#sendanimation",
" :param animation: Same as ``photo`` in :meth:`amanobot.aio.Bot.sendPhoto`\n<END>",
"<BEGIN>\n## `sendVenue`",
"See: https://core.telegram.org/bots/api#sendvenue\n<END>",
"<BEGIN>\n## `sendContact`",
"See: ht... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stopPoll API.
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 stopPoll API.
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... | See: https://core.telegram.org/bots/api#stoppoll
:param msg_identifier:
a 2-tuple (``chat_id``, ``message_id``),
a 1-tuple (``inline_message_id``),
or simply ``inline_message_id``.
You may extract this value easily with :meth:`amanobot.message_identifier` | "See: https://core.telegram.org/bots/api#stoppoll\n\n :param msg_identifier:\n a 2-tuple (``chat_id``, ``message_id``),\n a 1-tuple (``inline_message_id``),\n or simply ``inline_message_id``.\n You may extract this value easily with :meth:`amanobot.message_identifier`" | 38 | false | AmanoTeam/amanobot | stopPoll | 12,842 | |
LDU_FT/hMatoba/Piexif/load | LDU_FT | [
"<BEGIN>\n## `dump`",
"py:function:: piexif.load(data)",
" Return exif as bytes.",
" :param dict exif: Exif data({\"0th\":dict, \"Exif\":dict, \"GPS\":dict, \"Interop\":dict, \"1st\":dict, \"thumbnail\":bytes})\n :return: Exif\n :rtype: bytes\n<END>",
"<BEGIN>\n## `insert`",
"py:function:: pie... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Convert "UserComment" value in exif format to str.
:param bytes data: "UserComment" value from exif
:return: u"foobar"
:rtype: str(Unicode)
:raises: ValueError if the data does not conform to the EXIF specification,
or the encoding is unsupported. | "Convert \"UserComment\" value in exif format to str.\n\n :param bytes data: \"UserComment\" value from exif\n :return: u\"foobar\"\n :rtype: str(Unicode)\n :raises: ValueError if the data does not conform to the EXIF specification,\n or the encoding is unsupported." | 32 | false | hMatoba/Piexif | load | 12,843 | |
LDU_FT/adaptive-learning/proso-apps/user_stats_api | LDU_FT | [
"<BEGIN>\n## `process_answer`",
"This method is used during the answer streaming and is called after the\n predictive model for each answer.",
" Args:\n user (int):\n identifier of ther user answering the question\n asked (int):\n identifier of t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_stats_api API.
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 user_stats_api API.
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... | Get statistics for selected Edookit users
key:
api key
since:
time as timestamp - get stats changed since | "Get statistics for selected Edookit users\n\n key:\n api key\n since:\n time as timestamp - get stats changed since" | 276 | false | adaptive-learning/proso-apps | user_stats_api | 12,844 | |
LDU_FT/mgbarrero/xbob.db.atvskeystroke/has_protocol | LDU_FT | [
"<BEGIN>\n## `dumplist`",
"Dumps lists of files based on your criteria\n<END>",
"<BEGIN>\n## `checkfiles`",
"Checks existence of files based on your criteria\n<END>",
"<BEGIN>\n## `reverse`",
"Returns a list of file database identifiers given the path stems\n<END>",
"<BEGIN>\n## `path`",
"Returns a li... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_protocol API.
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 has_protocol API.
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... | Tells if a certain protocol is available | "Tells if a certain protocol is available" | 45 | false | mgbarrero/xbob.db.atvskeystroke | has_protocol | 12,845 | |
LDU_FT/rossant/ipymd/_add_hash | LDU_FT | [
"<BEGIN>\n## `_get_html_contents`",
"Process a HTML block and detects whether it is a code block,\n a math block, or a regular HTML block.\n<END>",
"<BEGIN>\n## `format_manager`",
"Return the instance singleton, creating if necessary\n<END>",
"<BEGIN>\n## `register_entrypoints`",
"Look through the `set... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_hash API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_hash API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Add a leading hash '#' at the beginning of every line in the source. | "Add a leading hash '#' at the beginning of every line in the source." | 64 | false | rossant/ipymd | _add_hash | 12,846 | |
LDU_FT/thomasw/djproxy/generate_proxy | LDU_FT | [
"<BEGIN>\n## `generate_proxy`",
"Generate a ProxyClass based view that uses the passed base_url.\n<END>",
"<BEGIN>\n## `generate_routes`",
"Generate a list of urls that map to generated proxy views.",
" generate_routes({\n 'test_proxy': {\n 'base_url': 'https://google.com/',\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_proxy API.
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 generate_proxy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Generate a ProxyClass based view that uses the passed base_url. | "Generate a ProxyClass based view that uses the passed base_url." | 26 | false | thomasw/djproxy | generate_proxy | 12,847 | |
LDU_FT/DataMedSci/mcpartools/find_external_files | LDU_FT | [
"<BEGIN>\n## `pip_command_output`",
"Get output (as a string) from pip command\n :param pip_args: list o pip switches to pass\n :return: string with results\n<END>",
"<BEGIN>\n## `setup_versioneer`",
"Generate (temporarily) versioneer.py file in project root directory\n :return:\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_external_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_external_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Scan all SHIELDHIT12A config files to find external files used and return them.
Also change paths in config files to match convention that all resources are
symlinked in job_xxxx/symlink | "Scan all SHIELDHIT12A config files to find external files used and return them.\n Also change paths in config files to match convention that all resources are\n symlinked in job_xxxx/symlink" | 24 | false | DataMedSci/mcpartools | find_external_files | 12,848 | |
LDU_FT/pokerregion/poker/_get_timezone | LDU_FT | [
"<BEGIN>\n## `get_ranked_players`",
"Get the list of the first 100 ranked players.\n<END>",
"<BEGIN>\n## `difference`",
"Tells the numerical difference between two ranks.\n<END>",
"<BEGIN>\n## `range_`",
"Prints the given range in a formatted table either in a plain ASCII or HTML.\n The only required a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_timezone API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_timezone API.
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... | Find timezone informatation on bottom of the page. | "Find timezone informatation on bottom of the page." | 32 | false | pokerregion/poker | _get_timezone | 12,849 | |
LDU_FT/openSUSE/py2pack/_get_archive_filelist | LDU_FT | [
"<BEGIN>\n## `_get_template_dirs`",
"existing directories where to search for jinja2 templates. The order\n is important. The first found template from the first found dir wins!\n<END>",
"<BEGIN>\n## `_license_from_classifiers`",
"try to get a license from the classifiers\n<END>",
"<BEGIN>\n## `_requirem... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_archive_filelist 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_archive_filelist API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Extract the list of files from a tar or zip archive.
Args:
filename: name of the archive
Returns:
Sorted list of files in the archive, excluding './'
Raises:
ValueError: when the file is neither a zip nor a tar archive
FileNotFoundError: when the provided file does not exi... | "Extract the list of files from a tar or zip archive.\n\n Args:\n filename: name of the archive\n\n Returns:\n Sorted list of files in the archive, excluding './'\n\n Raises:\n ValueError: when the file is neither a zip nor a tar archive\n FileNotFoundError: when the provided file d... | 21 | false | openSUSE/py2pack | _get_archive_filelist | 12,850 | |
LDU_FT/zerok/zs.bibtex/normalize_value | LDU_FT | [
"<BEGIN>\n## `register`",
"Register a new type for an entry-type. The 2nd argument has to be a\n subclass of structures.Entry.\n<END>",
"<BEGIN>\n## `validate`",
"Validates each entry (passing the provided arguments down to them and\n also tries to resolve all cross-references between the entrie... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_value API.
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 normalize_value API.
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... | This removes newlines and multiple spaces from a string. | "This removes newlines and multiple spaces from a string." | 21 | false | zerok/zs.bibtex | normalize_value | 12,851 | |
LDU_FT/mattloper/opendr/AcosTriAngles | LDU_FT | [
"<BEGIN>\n## `draw_edge_visibility`",
"Assumes camera is set up correctly in gl context.\n<END>",
"<BEGIN>\n## `draw_boundary_images`",
"Assumes camera is set up correctly, and that glf has any texmapping on necessary.\n<END>",
"<BEGIN>\n## `TriArea`",
"Returns a Ch object whose only attribute \"v\" repre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the AcosTriAngles API.
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 AcosTriAngles API.
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 Ch object whose only attribute "v" represents the flattened vertices. | "Returns a Ch object whose only attribute \"v\" represents the flattened vertices." | 28 | false | mattloper/opendr | AcosTriAngles | 12,852 | |
LDU_FT/pjmark/NIMPA/dev_setup | LDU_FT | [
"<BEGIN>\n## `trimim`",
"Trim and upsample PET image(s), e.g., for GPU execution,\n PVC correction, ROI sampling, etc.\n The input images 'fims' can be passed in multiple ways:\n 1. as a string of the folder containing NIfTI files\n 2. as a string of a NIfTI file path (this way a 4D image can be loade... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dev_setup API.
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 dev_setup API.
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... | figure out what GPU devices are available and choose the supported ones. | "figure out what GPU devices are available and choose the supported ones." | 78 | false | pjmark/NIMPA | dev_setup | 12,853 | |
LDU_FT/MacHu-GWU/single_file_module-project/rand_str | LDU_FT | [
"<BEGIN>\n## `use`",
"Change the hash algorithm you gonna use.\n<END>",
"<BEGIN>\n## `of_bytes`",
"Use default hash method to return hash value of bytes.",
" :type py_bytes: binary_type\n :param py_bytes: a binary object\n<END>",
"<BEGIN>\n## `of_text`",
"Use default hash method to return ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rand_str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rand_str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Generate fixed-length random string from your allowed character pool.
:param length: total length of this string.
:param allowed: allowed charset.
Example::
>>> import string
>>> rand_str(32)
H6ExQPNLzb4Vp3YZtfpyzLNPFwdfnwz6 | "Generate fixed-length random string from your allowed character pool.\n\n :param length: total length of this string.\n :param allowed: allowed charset.\n\n Example::\n\n >>> import string\n >>> rand_str(32)\n H6ExQPNLzb4Vp3YZtfpyzLNPFwdfnwz6" | 297 | false | MacHu-GWU/single_file_module-project | rand_str | 12,854 | |
LDU_FT/ensime/ensime-vim/point2pos | LDU_FT | [
"<BEGIN>\n## `buffer_typechecks_and_display`",
"Adds typecheck events to the buffer, and displays them right away.",
" This is a workaround for this issue:\n https://github.com/ensime/ensime-server/issues/1616\n<END>",
"<BEGIN>\n## `handle_typecheck_complete`",
"Handles ``NewScalaNotesEvent```... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the point2pos API.
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 point2pos API.
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... | Converts a point or offset in a file to a (row, col) position. | "Converts a point or offset in a file to a (row, col) position." | 150 | false | ensime/ensime-vim | point2pos | 12,855 | |
LDU_FT/ebu/PlugIt/getMedia | LDU_FT | [
"<BEGIN>\n## `doQuery`",
"Send a request to the server and return the result\n<END>",
"<BEGIN>\n## `ping`",
"Return true if the server successfully pinged\n<END>",
"<BEGIN>\n## `checkVersion`",
"Check if the server use the same version of our protocol\n<END>",
"<BEGIN>\n## `getMedia`",
"Return a tuple... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getMedia API.
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 getMedia API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return a tuple with a media and his content-type. Don't cache anything ! | "Return a tuple with a media and his content-type. Don't cache anything !" | 75 | false | ebu/PlugIt | getMedia | 12,856 | |
LDU_FT/ungarj/tilematrix/_tile_intersecting_tilepyramid | LDU_FT | [
"<BEGIN>\n## `tile`",
"Return Tile object of this TilePyramid.",
" - zoom: zoom level\n - row: tile matrix row\n - col: tile matrix column\n<END>",
"<BEGIN>\n## `matrix_width`",
"Tile matrix width (number of columns) at zoom level.",
" - zoom: zoom level\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _tile_intersecting_tilepyramid 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 _tile_intersecting_tilepyramid API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Return all tiles from tilepyramid intersecting with tile. | "Return all tiles from tilepyramid intersecting with tile." | 71 | false | ungarj/tilematrix | _tile_intersecting_tilepyramid | 12,857 | |
LDU_FT/rob-smallshire/trailer/visit_Metadata | LDU_FT | [
"<BEGIN>\n## `visit_GpxModel`",
"Render a GPXModel as a single JSON structure.\n<END>",
"<BEGIN>\n## `visit_Metadata`",
"Render GPX Metadata as a single JSON structure.\n<END>",
"<BEGIN>\n## `read_gpx`",
"Parse a GPX file into a GpxModel.",
" Args:\n xml: A file-like-object opened in binary mo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_Metadata API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_Metadata API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Render GPX Metadata as a single JSON structure. | "Render GPX Metadata as a single JSON structure." | 30 | false | rob-smallshire/trailer | visit_Metadata | 12,858 | |
LDU_FT/galaxyproject/pulsar/setup_job | LDU_FT | [
"<BEGIN>\n## `__posix_to_local_path`",
"Converts a posix path (coming from Galaxy), to a local path (be it posix or Windows).",
" >>> import ntpath\n >>> __posix_to_local_path('dataset_1_files/moo/cow', local_path_module=ntpath)\n 'dataset_1_files\\\\\\\\moo\\\\\\\\cow'\n >>> import posixpath\n >... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_job API.
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 setup_job API.
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... | Setup new job from these inputs and return dict summarizing state
(used to configure command line). | "Setup new job from these inputs and return dict summarizing state\n (used to configure command line)." | 142 | false | galaxyproject/pulsar | setup_job | 12,859 | |
LDU_FT/Netflix-Skunkworks/swag-client/parse_swag_config_options | LDU_FT | [
"<BEGIN>\n## `create_swag_from_ctx`",
"Creates SWAG client from the current context.\n<END>",
"<BEGIN>\n## `list_service`",
"Retrieve accounts pertaining to named service.\n<END>",
"<BEGIN>\n## `migrate`",
"Transition from one SWAG schema to another.\n<END>",
"<BEGIN>\n## `propagate`",
"Transfers SWAG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_swag_config_options 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 parse_swag_config_options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Ensures that options passed to the backend are valid. | "Ensures that options passed to the backend are valid." | 48 | false | Netflix-Skunkworks/swag-client | parse_swag_config_options | 12,860 | |
LDU_FT/biocore/deblur/remove_chimeras_denovo_from_seqs | LDU_FT | [
"<BEGIN>\n## `deblur_system_call`",
"Build deblur command for subprocess.",
" Parameters\n ----------\n params: list of str\n parameter settings to pass to deblur CLI\n input_fp : str\n name of the input fasta file to deblur",
" Returns\n -------\n stdout: string\n pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_chimeras_denovo_from_seqs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_chimeras_denovo_from_seqs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | Remove chimeras de novo using UCHIME (VSEARCH implementation).
Parameters
----------
seqs_fp: string
file path to FASTA input sequence file
output_fp: string
file path to store chimera-free results
threads : int
number of threads (0 for all cores)
Returns
-------
... | "Remove chimeras de novo using UCHIME (VSEARCH implementation).\n\n Parameters\n ----------\n seqs_fp: string\n file path to FASTA input sequence file\n output_fp: string\n file path to store chimera-free results\n threads : int\n number of threads (0 for all cores)\n\n Returns\n ... | 94 | false | biocore/deblur | remove_chimeras_denovo_from_seqs | 12,861 | |
LDU_FT/pyviz/param/get_range | LDU_FT | [
"<BEGIN>\n## `get_setup_version`",
"Helper for use in setup.py to get the current version from either\n git describe or the .version file (if available).",
" Set pkgname to the package name if it is different from the\n repository name.",
" To ensure git information is included in a git archive, a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_range API.
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_range API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return the possible types for this parameter's value.
(I.e. return {name: <class>} for all classes that are
concrete_descendents() of self.class_.)
Only classes from modules that have been imported are added
(see concrete_descendents()). | "Return the possible types for this parameter's value.\n\n (I.e. return {name: <class>} for all classes that are\n concrete_descendents() of self.class_.)\n\n Only classes from modules that have been imported are added\n (see concrete_descendents())." | 258 | false | pyviz/param | get_range | 12,862 | |
LDU_FT/jbaiter/gphoto2-cffi/status | LDU_FT | [
"<BEGIN>\n## `_logging_callback`",
"Callback that outputs libgphoto2's logging message via\n Python's standard logging facilities.",
" :param level: libgphoto2 logging level\n :param domain: component the message originates from\n :param message: logging message\n :param data: Other dat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the status API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the status API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Status information (read-only).
:rtype: :py:class:`SimpleNamespace` | "Status information (read-only).\n\n :rtype: :py:class:`SimpleNamespace`" | 78 | false | jbaiter/gphoto2-cffi | status | 12,863 | |
LDU_FT/apache/incubator-superset/mutate_query_from_config | LDU_FT | [
"<BEGIN>\n## `new`",
"Creates a new, blank dashboard and redirects to it in edit mode\n<END>",
"<BEGIN>\n## `import_datasource`",
"Imports the datasource from the object to the database.",
" Metrics and columns and datasource will be overrided if exists.\n This function can be used to import/export ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mutate_query_from_config 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 mutate_query_from_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Apply config's SQL_QUERY_MUTATOR
Typically adds comments to the query with context | "Apply config's SQL_QUERY_MUTATOR\n\n Typically adds comments to the query with context" | 411 | false | apache/incubator-superset | mutate_query_from_config | 12,864 | |
LDU_FT/riptano/ccm/execute_ccm_remotely | LDU_FT | [
"<BEGIN>\n## `actively_watch_logs_for_error`",
"Begins a thread that repeatedly scans system.log for new errors, every interval seconds.\n (The first pass covers the entire log contents written at that point,\n subsequent scans cover newly appended log messages).",
" Reports new errors, by ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute_ccm_remotely 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 execute_ccm_remotely API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Execute CCM operation(s) remotely
:return A tuple defining the execution of the command
* output - The output of the execution if the output was not displayed
* exit_status - The exit status of remotely executed script
:raises Exception if invalid options are passed for `--dse-... | "Execute CCM operation(s) remotely\n\n :return A tuple defining the execution of the command\n * output - The output of the execution if the output was not displayed\n * exit_status - The exit status of remotely executed script\n :raises Exception if invalid options are passed for `... | 108 | false | riptano/ccm | execute_ccm_remotely | 12,865 | |
LDU_FT/Robin8Put/pmes/confirmbalance | LDU_FT | [
"<BEGIN>\n## `create_table`",
"RPC method for creating table with custom name and fields\n :return event id\n<END>",
"<BEGIN>\n## `insert`",
"RPC method for inserting data to the table\n :return: None\n<END>",
"<BEGIN>\n## `select`",
"RPC method for selecting data from the database\n :return sele... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the confirmbalance API.
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 confirmbalance API.
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... | Confirm balance after trading
Accepts:
- message (signed dictionary):
- "txid" - str
- "coinid" - str
- "amount" - int
Returns:
- "address" - str
- "coinid" - str
- "amount" - int
- "uid" - int
- "unconfirmed" - int (0 by defaul... | "Confirm balance after trading\n\n\t\tAccepts:\n\t\t - message (signed dictionary):\n\t\t - \"txid\" - str\n\t\t - \"coinid\" - str\n\t\t - \"amount\" - int\n\n\t\tReturns:\n\t\t - \"address\" - str\n\t\t - \"coinid\" - str\n\t\t - \"amount\" - int\n\t\t - \"uid\" - i... | 170 | false | Robin8Put/pmes | confirmbalance | 12,866 | |
LDU_FT/SeabornGames/Timestamp/cst_now | LDU_FT | [
"<BEGIN>\n## `cst_now`",
"This will return a datetime of utcnow - 6 hours for\n Central Standard Time\n :return: Datetime\n<END>",
"<BEGIN>\n## `today`",
"This will return a datetime of cst_now - 5 hours with only\n Year, Month, and Day\n :return: Datetime\n<END>",
"<BEGIN>\n## `now`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cst_now API.
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 cst_now API.
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... | This will return a datetime of utcnow - 6 hours for
Central Standard Time
:return: Datetime | "This will return a datetime of utcnow - 6 hours for\n Central Standard Time\n :return: Datetime" | 12 | false | SeabornGames/Timestamp | cst_now | 12,867 | |
LDU_FT/jeffh/sniffer/_unwatch_file | LDU_FT | [
"<BEGIN>\n## `_import`",
"A messy way to import library-specific classes.\n TODO: I should really make a factory class or something, but I'm lazy.\n Plus, factories remind me a lot of java...\n<END>",
"<BEGIN>\n## `exec_from_dir`",
"Runs the scent.py file from the given directory (cwd if None given).",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _unwatch_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _unwatch_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Removes the file from the internal watchlist if exists. | "Removes the file from the internal watchlist if exists." | 54 | false | jeffh/sniffer | _unwatch_file | 12,868 | |
LDU_FT/marrow/cinje/process_generic | LDU_FT | [
"<BEGIN>\n## `match`",
"Match lines prefixed with a hash (\"#\") mark that don't look like text.\n<END>",
"<BEGIN>\n## `stream`",
"Safely iterate a template generator, ignoring ``None`` values and optionally stream encoding.",
"\tUsed internally by ``cinje.flatten``, this allows for easy use of a template g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_generic API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_generic API.
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... | Transform otherwise unhandled kinds of chunks by calling an underscore prefixed function by that name. | "Transform otherwise unhandled kinds of chunks by calling an underscore prefixed function by that name." | 66 | false | marrow/cinje | process_generic | 12,869 | |
LDU_FT/MIT-LCP/wfdb-python/find_local_peaks | LDU_FT | [
"<BEGIN>\n## `find_peaks`",
"Find hard peaks and soft peaks in a signal, defined as follows:",
" - Hard peak: a peak that is either /\\ or \\/\n - Soft peak: a peak that is either /-*\\ or \\-*/\n In this case we define the middle as the peak",
" Parameters\n ----------\n sig : np array\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_local_peaks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_local_peaks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Find all local peaks in a signal. A sample is a local peak if it is
the largest value within the <radius> samples on its left and right.
In cases where it shares the max value with nearby samples, the
middle sample is classified as the local peak.
Parameters
----------
sig : numpy array
... | "Find all local peaks in a signal. A sample is a local peak if it is\n the largest value within the <radius> samples on its left and right.\n\n In cases where it shares the max value with nearby samples, the\n middle sample is classified as the local peak.\n\n Parameters\n ----------\n sig : numpy arr... | 538 | false | MIT-LCP/wfdb-python | find_local_peaks | 12,870 | |
LDU_FT/joke2k/faker/date_of_birth | LDU_FT | [
"<BEGIN>\n## `checksum`",
"Calculates the checksum char used for the 16th char.\n Author: Vincenzo Palazzo\n<END>",
"<BEGIN>\n## `binary`",
"Returns random binary blob.",
" Default blob size is 1 Mb.\n<END>",
"<BEGIN>\n## `md5`",
"Calculates the md5 hash of a given string\n :example 'cf... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the date_of_birth API.
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 date_of_birth API.
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... | Generate a random date of birth represented as a Date object,
constrained by optional miminimum_age and maximum_age
parameters.
:param tzinfo Defaults to None.
:param minimum_age Defaults to 0.
:param maximum_age Defaults to 115.
:example Date('1979-02-02')
:ret... | "Generate a random date of birth represented as a Date object,\n constrained by optional miminimum_age and maximum_age\n parameters.\n\n :param tzinfo Defaults to None.\n :param minimum_age Defaults to 0.\n :param maximum_age Defaults to 115.\n\n :example Date('1979-02-02')\n ... | 334 | false | joke2k/faker | date_of_birth | 12,871 | |
LDU_FT/scoutapp/scout_apm_python/install | LDU_FT | [
"<BEGIN>\n## `add`",
"Adds context to the currently executing request.",
" :key: Any String identifying the request context.\n Example: \"user_ip\", \"plan\", \"alert_count\"\n :value: Any json-serializable type.\n Example: \"1.1.1.1\", \"free\", 100\n :returns: no... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install API.
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 install API.
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... | Installs ScoutApm SQL Instrumentation by monkeypatching the `cursor`
method of BaseDatabaseWrapper, to return a wrapper that instruments any
calls going through it. | "Installs ScoutApm SQL Instrumentation by monkeypatching the `cursor`\n method of BaseDatabaseWrapper, to return a wrapper that instruments any\n calls going through it." | 25 | false | scoutapp/scout_apm_python | install | 12,872 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.