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/erikrose/more-itertools/split_into | LDU_FT | [
"<BEGIN>\n## `first`",
"Return the first item of *iterable*, or *default* if *iterable* is\n empty.",
" >>> first([0, 1, 2, 3])\n 0\n >>> first([], 'some default')\n 'some default'",
" If *default* is not provided and there are no items in the iterable,\n raise ``ValueErro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_into API.
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 split_into API.
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... | Yield a list of sequential items from *iterable* of length 'n' for each
integer 'n' in *sizes*.
>>> list(split_into([1,2,3,4,5,6], [1,2,3]))
[[1], [2, 3], [4, 5, 6]]
If the sum of *sizes* is smaller than the length of *iterable*, then the
remaining items of *iterable* will not be returned.... | "Yield a list of sequential items from *iterable* of length 'n' for each\n integer 'n' in *sizes*.\n\n >>> list(split_into([1,2,3,4,5,6], [1,2,3]))\n [[1], [2, 3], [4, 5, 6]]\n\n If the sum of *sizes* is smaller than the length of *iterable*, then the\n remaining items of *iterable* will not be r... | 342 | false | erikrose/more-itertools | split_into | 26,573 | |
LDU_FT/Knio/pynmea2/longitude | LDU_FT | [
"<BEGIN>\n## `next`",
"consume `data` (if given, or calls `stream.read()` if `stream` was given\r\n in the constructor) and yield a list of `NMEASentence` objects parsed\r\n from the stream (may be empty)\n<END>",
"<BEGIN>\n## `parse`",
"parse(line)\r",
" Parses a string representing a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the longitude API.
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 longitude API.
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... | Longitude in signed degrees (python float) | "Longitude in signed degrees (python float)" | 16 | false | Knio/pynmea2 | longitude | 26,574 | |
LDU_FT/gunthercox/ChatterBot/filter | LDU_FT | [
"<BEGIN>\n## `get_response`",
"Return the bot's response based on the input.",
" :param statement: An statement object or string.\n :returns: A response to the input.\n :rtype: Statement",
" :param additional_response_selection_parameters: Parameters to pass to the\n cha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Returns a list of objects from the database.
The kwargs parameter can contain any number
of attributes. Only objects which contain all
listed attributes and in which all values match
for all listed attributes will be returned. | "Returns a list of objects from the database.\n The kwargs parameter can contain any number\n of attributes. Only objects which contain all\n listed attributes and in which all values match\n for all listed attributes will be returned." | 158 | false | gunthercox/ChatterBot | filter | 26,575 | |
LDU_FT/ox-it/django-conneg/resolve | LDU_FT | [
"<BEGIN>\n## `process_response`",
"Adds WWW-Authenticate: Basic headers to 401 responses, and rewrites\n redirects the login page to be 401 responses if it's a non-browser\n agent.\n<END>",
"<BEGIN>\n## `get_renderers`",
"Returns a list of renderer functions in the order they should be tried.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve API.
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 resolve API.
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... | Resolves a list of accepted MediaTypes and available renderers to the preferred renderer.
Call as MediaType.resolve([MediaType], [renderer]). | "Resolves a list of accepted MediaTypes and available renderers to the preferred renderer.\n\n Call as MediaType.resolve([MediaType], [renderer])." | 24 | false | ox-it/django-conneg | resolve | 26,576 | |
LDU_FT/Rockhopper-Technologies/pluginlib/plugins_all | LDU_FT | [
"<BEGIN>\n## `_items`",
"Args:\n type_filter(list): Optional iterable of types to return (GroupDict only)\n name(str): Only return key by this name",
" Alternative generator for items() method\n<END>",
"<BEGIN>\n## `_filter`",
"Args:\n blacklist(tuple): Iterable of of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plugins_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plugins_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | All resulting versions of all plugins in the group filtered by ``blacklist``
Returns:
dict: Nested dictionary of plugins accessible through dot-notation.
Similar to :py:attr:`plugins`, but lowest level is a regular dictionary of
all unfiltered plugin versions for the given plugin t... | "All resulting versions of all plugins in the group filtered by ``blacklist``\n\n Returns:\n dict: Nested dictionary of plugins accessible through dot-notation.\n\n Similar to :py:attr:`plugins`, but lowest level is a regular dictionary of\n all unfiltered plugin versions for the given p... | 65 | false | Rockhopper-Technologies/pluginlib | plugins_all | 26,577 | |
LDU_FT/Leeps-Lab/otree-redwood/_on_connect | LDU_FT | [
"<BEGIN>\n## `message`",
"Dictionary representation of the Event appropriate for JSON-encoding.\n<END>",
"<BEGIN>\n## `save`",
"Saving an Event automatically sets the timestamp if not already set.\n<END>",
"<BEGIN>\n## `_on_connect`",
"Called from the WebSocket consumer. Checks if all players in the group... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _on_connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _on_connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Called from the WebSocket consumer. Checks if all players in the group
have connected; runs :meth:`when_all_players_ready` once all connections
are established. | "Called from the WebSocket consumer. Checks if all players in the group\n have connected; runs :meth:`when_all_players_ready` once all connections\n are established." | 18 | false | Leeps-Lab/otree-redwood | _on_connect | 26,578 | |
LDU_FT/chaoss/grimoirelab-elk/get_time_diff_days | LDU_FT | [
"<BEGIN>\n## `__related_categories`",
"Get all related categories to a given one\n<END>",
"<BEGIN>\n## `__show_categories_tree`",
"Show the category tree: list of categories and its subcategories\n<END>",
"<BEGIN>\n## `fetch_track_items`",
"The file format is:",
" # Upstream contributions, bitergia w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_time_diff_days 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_time_diff_days 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... | Number of days between two dates in UTC format | "Number of days between two dates in UTC format" | 296 | false | chaoss/grimoirelab-elk | get_time_diff_days | 26,579 | |
LDU_FT/msoulier/tftpy/decode | LDU_FT | [
"<BEGIN>\n## `parse`",
"This method is used to parse an existing datagram into its\n corresponding TftpPacket object. The buffer is the raw bytes off of\n the network.\n<END>",
"<BEGIN>\n## `__create`",
"This method returns the appropriate class object corresponding to\n the passed opcode... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 self.buffer, populating instance variables and return self. | "Decode self.buffer, populating instance variables and return self." | 70 | false | msoulier/tftpy | decode | 26,580 | |
LDU_FT/combust/mleap/transform | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit label encoder",
" Parameters\n ----------\n y : array-like of shape (n_samples,)\n Target values.",
" Returns\n -------\n self : returns an instance of self.\n<END>",
"<BEGIN>\n## `fit_transform`",
"Fit label encoder and return... | 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 features per specified math function.
:param y:
:return: | "Transform features per specified math function.\n :param y:\n :return:" | 34 | false | combust/mleap | transform | 26,581 | |
LDU_FT/pywavefront/PyWavefront/next_line | LDU_FT | [
"<BEGIN>\n## `load_vertex_buffer`",
"Load vertex data from file. Can be overriden to reduce data copy",
" :param fd: file object\n :param material: The material these vertices belong to\n :param length: Byte length of the vertex data\n<END>",
"<BEGIN>\n## `_load_vertex_buffers`",
"Load ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next_line API.
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 next_line API.
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... | Read the next line from the line generator and split it | "Read the next line from the line generator and split it" | 42 | false | pywavefront/PyWavefront | next_line | 26,582 | |
LDU_FT/PBR/MQ2/get_session_identifiers | LDU_FT | [
"<BEGIN>\n## `add_qtl_to_marker`",
"Add the number of QTLs found for a given marker.",
" :arg marker, the marker we are looking for the QTL's.\n :arg qtls, the list of all QTLs found.\n<END>",
"<BEGIN>\n## `add_qtl_to_map`",
"This function adds to a genetic map for each marker the number\n of signi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_session_identifiers 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_session_identifiers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Retrieve the list of session identifiers contained in the
data on the folder.
:kwarg folder: the path to the folder containing the files to
check. This folder may contain sub-folders.
:kwarg inputfile: the path to the input file to use | "Retrieve the list of session identifiers contained in the\n data on the folder.\n\n :kwarg folder: the path to the folder containing the files to\n check. This folder may contain sub-folders.\n :kwarg inputfile: the path to the input file to use" | 98 | false | PBR/MQ2 | get_session_identifiers | 26,583 | |
LDU_FT/StyXman/ayrton/async | LDU_FT | [
"<BEGIN>\n## `build_ast`",
"Convert an top level parse tree node into an AST mod.\n<END>",
"<BEGIN>\n## `number_of_statements`",
"Compute the number of AST statements contained in a node.\n<END>",
"<BEGIN>\n## `error`",
"Raise a SyntaxError with the lineno and col_offset set to n's.\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the async API.
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 async API.
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... | Check if this is an exception that should better not be caught. | "Check if this is an exception that should better not be caught." | 107 | false | StyXman/ayrton | async | 26,584 | |
LDU_FT/flrt/hl7tersely/get | LDU_FT | [
"<BEGIN>\n## `get`",
"Get a value in the HL7 dictionary. The terser can be fully qualified or not.\n Fully qualified : OBR[1]-10-01\n Simpliest form : OBR-10-1 (in this case, 1 uniq segment OBR is present in the HL7 message)",
" :return : the value or a list of values. Otherwis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Get a value in the HL7 dictionary. The terser can be fully qualified or not.
Fully qualified : OBR[1]-10-01
Simpliest form : OBR-10-1 (in this case, 1 uniq segment OBR is present in the HL7 message)
:return : the value or a list of values. Otherwise None. | "Get a value in the HL7 dictionary. The terser can be fully qualified or not.\n Fully qualified : OBR[1]-10-01\n Simpliest form : OBR-10-1 (in this case, 1 uniq segment OBR is present in the HL7 message)\n\n :return : the value or a list of values. Otherwise None." | 22 | false | flrt/hl7tersely | get | 26,585 | |
LDU_FT/rkhleics/wagtailmenus/menu_text | LDU_FT | [
"<BEGIN>\n## `_get_specified_sub_menu_template_name`",
"Called by get_sub_menu_template(). Iterates through the various ways in\n which developers can specify potential sub menu templates for a menu,\n and returns the name of the most suitable template for the\n ``current_level``. Values are ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the menu_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the menu_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return a string to use as link text when this page appears in
menus. | "Return a string to use as link text when this page appears in\n menus." | 95 | false | rkhleics/wagtailmenus | menu_text | 26,586 | |
LDU_FT/ska-sa/montblanc/point_stokes | LDU_FT | [
"<BEGIN>\n## `encode`",
"Produces a numpy array of integers which encode\n the supplied cube dimensions.\n<END>",
"<BEGIN>\n## `decode`",
"Produce a list of dictionaries for each dimension in this transcoder\n<END>",
"<BEGIN>\n## `dl_cub`",
"Download cub archive from cub_url and store it in cub_arc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the point_stokes API.
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 point_stokes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return a stokes parameter array to montblanc | "Return a stokes parameter array to montblanc" | 197 | false | ska-sa/montblanc | point_stokes | 26,587 | |
LDU_FT/desbma/r128gain/get_r128_loudness | LDU_FT | [
"<BEGIN>\n## `parse_oggopus_output_gain`",
"Parse an OggOpus file headers, read and return its output gain, and set file seek position to start of Opus header.\n<END>",
"<BEGIN>\n## `write_oggopus_output_gain`",
"Write output gain Opus header for a file.",
" file must be an object successfully used by pars... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_r128_loudness API.
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_r128_loudness API.
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 R128 loudness loudness level and sample peak. | "Get R128 loudness loudness level and sample peak." | 14 | false | desbma/r128gain | get_r128_loudness | 26,588 | |
LDU_FT/mdickinson/bigfloat/expm1 | LDU_FT | [
"<BEGIN>\n## `build`",
"Build the bigfloat library for in-place testing.\n<END>",
"<BEGIN>\n## `_quotient_exponent`",
"Given two positive finite MPFR instances x and y,\n find the exponent of x / y; that is, the unique\n integer e such that 2**(e-1) <= x / y < 2**e.\n<END>",
"<BEGIN>\n## `mpfr_floordi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expm1 API.
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 expm1 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Return one less than the exponential of x. | "Return one less than the exponential of x." | 273 | false | mdickinson/bigfloat | expm1 | 26,589 | |
LDU_FT/python-openxml/python-docx/_tc_below | LDU_FT | [
"<BEGIN>\n## `default_cx`",
"Native width of this image, calculated from its width in pixels and\n horizontal dots per inch (dpi).\n<END>",
"<BEGIN>\n## `default_cy`",
"Native height of this image, calculated from its height in pixels and\n vertical dots per inch (dpi).\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _tc_below API.
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 _tc_below API.
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 tc element immediately below this one in its grid column. | "The tc element immediately below this one in its grid column." | 626 | false | python-openxml/python-docx | _tc_below | 26,590 | |
LDU_FT/metachris/logzero/__remove_internal_loggers | LDU_FT | [
"<BEGIN>\n## `setup_logger`",
"Configures and returns a fully configured logger instance, no hassles.\n If a logger with the specified name already exists, it returns the existing instance,\n else creates a new one.",
" If you set the ``logfile`` parameter with a filename, the logger will save the mess... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __remove_internal_loggers 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 __remove_internal_loggers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Remove the internal loggers (e.g. stderr logger and file logger) from the specific logger
:param logger_to_update: the logger to remove internal loggers from
:param disableStderrLogger: should the default stderr logger be disabled? defaults to True | "Remove the internal loggers (e.g. stderr logger and file logger) from the specific logger\n :param logger_to_update: the logger to remove internal loggers from\n :param disableStderrLogger: should the default stderr logger be disabled? defaults to True" | 38 | false | metachris/logzero | __remove_internal_loggers | 26,591 | |
LDU_FT/objectrocket/python-client/register_extension_method | LDU_FT | [
"<BEGIN>\n## `register_extension_class`",
"Instantiate the given extension class and register as a public attribute of the given base.",
" README: The expected protocol here is to instantiate the given extension and pass the base\n object as the first positional argument, then unpack args and kwargs as ad... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_extension_method 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 register_extension_method API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Register the given extension method as a public attribute of the given base.
README: The expected protocol here is that the given extension method is an unbound function.
It will be bound to the specified base as a method, and then set as a public attribute of that
base. | "Register the given extension method as a public attribute of the given base.\n\n README: The expected protocol here is that the given extension method is an unbound function.\n It will be bound to the specified base as a method, and then set as a public attribute of that\n base." | 118 | false | objectrocket/python-client | register_extension_method | 26,592 | |
LDU_FT/sanoma/django-arctic/arctic_setting | LDU_FT | [
"<BEGIN>\n## `get_all_fields`",
"Returns a list of all field names on the instance.\n<END>",
"<BEGIN>\n## `query_string_ordering`",
"Add ordering param to the given query string\n :param context: template context\n :param value: examples would be '-id' or 'id'. A minus indicates that the\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the arctic_setting API.
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 arctic_setting API.
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... | Tries to get a setting from the django settings, if not available defaults
to the one defined in defaults.py | "Tries to get a setting from the django settings, if not available defaults\n to the one defined in defaults.py" | 85 | false | sanoma/django-arctic | arctic_setting | 26,593 | |
LDU_FT/awslabs/aws-serverlessrepo-python/_get_template_dict | LDU_FT | [
"<BEGIN>\n## `validate`",
"Check if the formats of principals and actions are valid.",
" :return: True, if the policy is valid\n :raises: InvalidApplicationPolicyError\n<END>",
"<BEGIN>\n## `publish_application`",
"Create a new application or new application version in SAR.",
" :param tem... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_template_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_template_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Parse string template and or copy dictionary template.
:param template: Content of a packaged YAML or JSON SAM template
:type template: str_or_dict
:return: Template as a dictionary
:rtype: dict
:raises ValueError | "Parse string template and or copy dictionary template.\n\n :param template: Content of a packaged YAML or JSON SAM template\n :type template: str_or_dict\n :return: Template as a dictionary\n :rtype: dict\n :raises ValueError" | 51 | false | awslabs/aws-serverlessrepo-python | _get_template_dict | 26,594 | |
LDU_FT/EUDAT-B2SAFE/B2HANDLE/is_10320LOC_empty | LDU_FT | [
"<BEGIN>\n## `add_missing_optional_args_with_value_none`",
"Adds key-value pairs to the passed dictionary, so that\n afterwards, the dictionary can be used without needing\n to check for KeyErrors.",
" If the keys passed as a second argument are not present,\n they are added with None as... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_10320LOC_empty API.
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 is_10320LOC_empty API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Checks if there is a 10320/LOC entry in the handle record.
*Note:* In the unlikely case that there is a 10320/LOC entry, but it does
not contain any locations, it is treated as if there was none.
:param handle: The handle.
:param handlerecord_json: Optional. The content of the response ... | "Checks if there is a 10320/LOC entry in the handle record.\n *Note:* In the unlikely case that there is a 10320/LOC entry, but it does\n not contain any locations, it is treated as if there was none.\n\n :param handle: The handle.\n :param handlerecord_json: Optional. The content of the res... | 168 | false | EUDAT-B2SAFE/B2HANDLE | is_10320LOC_empty | 26,595 | |
LDU_FT/kpdyer/regex2dfa/_GetAuthCookie | LDU_FT | [
"<BEGIN>\n## `MakeRanges`",
"Turn a list like [1,2,3,7,8,9] into a range list [[1,3], [7,9]]\n<END>",
"<BEGIN>\n## `PrintRanges`",
"Print the ranges as an array of type named name.\n<END>",
"<BEGIN>\n## `PrintGroup`",
"Print the data structures for the group of codes.\n Return a UGroup literal for the gr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _GetAuthCookie API.
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 _GetAuthCookie API.
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... | Fetches authentication cookies for an authentication token.
Args:
auth_token: The authentication token returned by ClientLogin.
Raises:
HTTPError: If there was an error fetching the authentication cookies. | "Fetches authentication cookies for an authentication token.\n\n\t\tArgs:\n\t\t\tauth_token: The authentication token returned by ClientLogin.\n\n\t\tRaises:\n\t\t\tHTTPError: If there was an error fetching the authentication cookies." | 163 | false | kpdyer/regex2dfa | _GetAuthCookie | 26,596 | |
LDU_FT/ToFuProject/tofu/plot | LDU_FT | [
"<BEGIN>\n## `Struct_plot`",
"Plot the projections of a list of Struct subclass instances",
" D. VEZINET, Aug. 2014\n Inputs :\n V A Ves instance\n Nstep An int (the number of points for evaluation of theta by np.linspace)\n axP A plt.Axes instance (if given) on... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot API.
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 plot API.
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... | Plot the Rays / LOS, in the chosen projection(s)
Optionnally also plot associated :class:`~tofu.geom.Ves` and Struct
The plot can also include:
- special points
- the unit directing vector
Parameters
----------
Lax : list / plt.Axes
The... | "Plot the Rays / LOS, in the chosen projection(s)\n\n Optionnally also plot associated :class:`~tofu.geom.Ves` and Struct\n The plot can also include:\n - special points\n - the unit directing vector\n\n Parameters\n ----------\n Lax : list / plt.Axes\n ... | 424 | false | ToFuProject/tofu | plot | 26,597 | |
LDU_FT/brechtm/rinohtype/try_greyscale | LDU_FT | [
"<BEGIN>\n## `preprocess_tree`",
"Transform internal refuri targets in reference nodes to refids and\n transform footnote rubrics so that they do not end up in the output\n<END>",
"<BEGIN>\n## `_size_columns`",
"Calculate the table's column sizes constrained by:",
" - requested (absolute, rela... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the try_greyscale API.
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 try_greyscale API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Check if flatboxed RGB `pixels` could be converted to greyscale
If could - return iterator with greyscale pixels,
otherwise return `False` constant | "Check if flatboxed RGB `pixels` could be converted to greyscale\n\n If could - return iterator with greyscale pixels,\n otherwise return `False` constant" | 310 | false | brechtm/rinohtype | try_greyscale | 26,598 | |
LDU_FT/475Cumulus/TBone/wrap_handler | LDU_FT | [
"<BEGIN>\n## `request_args`",
"Returns the arguments passed with the request in a dictionary.\n Returns both URL resolved arguments and query string arguments.\n<END>",
"<BEGIN>\n## `connect`",
"Connects a signal to a receiver function",
" :param receiver:\n The callback function wh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap_handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap_handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Wrap a request handler with the matching protocol handler | "Wrap a request handler with the matching protocol handler" | 100 | false | 475Cumulus/TBone | wrap_handler | 26,599 | |
LDU_FT/MrKriss/vigilance/accepts | LDU_FT | [
"<BEGIN>\n## `maha_dist`",
"Compute the squared Mahalanobis Distance for each row in the dataframe ",
" Given a list of rows `x`, each with `p` elements, a vector :math:\\mu of the \n row means of length `p`, and the :math:pxp covarence matrix of the columns :math:\\Sigma, ",
" The returned value fo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the accepts API.
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 accepts API.
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 a decorator for validating function parameters.
Parameters
----------
checkers_args: positional args
Functions to apply to the inputs of the decorated function. The position of the argument
is assumed to match the position of the function in the decorator.
checkers_kws: keyw... | "Create a decorator for validating function parameters.\n \n Parameters\n ----------\n checkers_args: positional args\n Functions to apply to the inputs of the decorated function. The position of the argument \n is assumed to match the position of the function in the decorator.\n checkers_k... | 33 | false | MrKriss/vigilance | accepts | 26,600 | |
LDU_FT/jaraco/jaraco.packaging/check_dependencies | LDU_FT | [
"<BEGIN>\n## `load_config_from_setup`",
"Replace values in app.config from package metadata\n<END>",
"<BEGIN>\n## `open_archive`",
"Open an archive (tarball or zip) and return the object.\n<END>",
"<BEGIN>\n## `get_prefix_dir`",
"Often, all files are in a single directory. If so, they'll all have\n the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_dependencies API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_dependencies 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... | Given a setuptools package requirement (e.g. 'gryphon==2.42' or just
'gryphon'), print a tree of dependencies as they resolve in this
environment. | "Given a setuptools package requirement (e.g. 'gryphon==2.42' or just\n 'gryphon'), print a tree of dependencies as they resolve in this\n environment." | 13 | false | jaraco/jaraco.packaging | check_dependencies | 26,601 | |
LDU_FT/pyQode/pyqode.cobol/normalize_text | LDU_FT | [
"<BEGIN>\n## `on_state_changed`",
"Connects/disconnects slots to/from signals when the mode state\n changed.\n<END>",
"<BEGIN>\n## `_add_decoration`",
"Adds a decoration for the word under ``cursor``.\n<END>",
"<BEGIN>\n## `request_goto`",
"Request a go to assignment.",
" :param tc: Text c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Normalize text, when fixed format is ON, replace the first 6 chars by a space. | "Normalize text, when fixed format is ON, replace the first 6 chars by a space." | 69 | false | pyQode/pyqode.cobol | normalize_text | 26,602 | |
LDU_FT/mangalam-research/selenic/sanitize_capabilities | LDU_FT | [
"<BEGIN>\n## `sanitize_capabilities`",
"Sanitize the capabilities we pass to Selenic so that they can\n be consumed by Browserstack.",
" :param caps: The capabilities passed to Selenic. This dictionary\n is modified.",
" :returns: The sanitized capabilities.\n<END>",
"<BEGIN>\n## `locations_with... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sanitize_capabilities 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 sanitize_capabilities API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Sanitize the capabilities we pass to Selenic so that they can
be consumed by Browserstack.
:param caps: The capabilities passed to Selenic. This dictionary
is modified.
:returns: The sanitized capabilities. | "Sanitize the capabilities we pass to Selenic so that they can\n be consumed by Browserstack.\n\n :param caps: The capabilities passed to Selenic. This dictionary\n is modified.\n\n :returns: The sanitized capabilities." | 50 | false | mangalam-research/selenic | sanitize_capabilities | 26,603 | |
LDU_FT/Mxit/python-mxit/set_status | LDU_FT | [
"<BEGIN>\n## `send_message`",
"Send a message (from a Mxit app) to a list of Mxit users\n<END>",
"<BEGIN>\n## `send_user_to_user_message`",
"Send a message (from a Mxit user) to a list of Mxit users\n<END>",
"<BEGIN>\n## `get_user_id`",
"Retrieve the Mxit user's internal \"user ID\"\n No user authe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_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 extrac... | Set the Mxit user's status
User authentication required with the following scope: 'status/write' | "Set the Mxit user's status\n User authentication required with the following scope: 'status/write'" | 58 | false | Mxit/python-mxit | set_status | 26,604 | |
LDU_FT/scot-dev/scot/singletrial | LDU_FT | [
"<BEGIN>\n## `ignore_patterns`",
"Function that can be used as copytree() ignore parameter.",
" Patterns is a sequence of glob-style patterns\n that are used to exclude files\n<END>",
"<BEGIN>\n## `copytree`",
"Recursively copy a directory tree using copy2().",
" The destination directory must no... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the singletrial API.
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 singletrial API.
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... | Single-trial cross-validation schema
Use one trial for training, all others for testing.
Parameters
----------
num_trials : int
Total number of trials
skipstep : int
only use every `skipstep` trial for training
Returns
-------
gen : generator object
the generat... | "Single-trial cross-validation schema\n\n Use one trial for training, all others for testing.\n\n Parameters\n ----------\n num_trials : int\n Total number of trials\n skipstep : int\n only use every `skipstep` trial for training\n\n Returns\n -------\n gen : generator object\n ... | 381 | false | scot-dev/scot | singletrial | 26,605 | |
LDU_FT/google/google-visualization-python/SetRowsCustomProperties | LDU_FT | [
"<BEGIN>\n## `CoerceValue`",
"Coerces a single value into the type expected for its column.",
" Internal helper method.",
" Args:\n value: The value which should be converted\n value_type: One of \"string\", \"number\", \"boolean\", \"date\", \"datetime\" or\n \"timeofday\".",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the SetRowsCustomProperties 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 SetRowsCustomProperties API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Sets the custom properties for given row(s).
Can accept a single row or an iterable of rows.
Sets the given custom properties for all specified rows.
Args:
rows: The row, or rows, to set the custom properties for.
custom_properties: A string to string dictionary of custom properties to
s... | "Sets the custom properties for given row(s).\n\n Can accept a single row or an iterable of rows.\n Sets the given custom properties for all specified rows.\n\n Args:\n rows: The row, or rows, to set the custom properties for.\n custom_properties: A string to string dictionary of custom properties to... | 87 | false | google/google-visualization-python | SetRowsCustomProperties | 26,606 | |
LDU_FT/agoragames/haigha/_recv_flow_ok | LDU_FT | [
"<BEGIN>\n## `commit`",
"Commit the current transaction. Caller can specify a callback to use\n when the transaction is committed.\n<END>",
"<BEGIN>\n## `rollback`",
"Abandon all message publications and acks in the current transaction.\n Caller can specify a callback to use when the transactio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _recv_flow_ok API.
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 _recv_flow_ok API.
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... | Receive a flow control ack from the broker. | "Receive a flow control ack from the broker." | 200 | false | agoragames/haigha | _recv_flow_ok | 26,607 | |
LDU_FT/MisterY/asset-allocation/get_asset_allocation | LDU_FT | [
"<BEGIN>\n## `get_symbols_with_positive_balances`",
"Identifies all the securities with positive balances\n<END>",
"<BEGIN>\n## `__get_pricedb_session`",
"Provides initialization and access to module-level session\n<END>",
"<BEGIN>\n## `format`",
"Returns the view-friendly output of the aa model\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_asset_allocation 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_asset_allocation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Creates and populates the Asset Allocation model. The main function of the app. | "Creates and populates the Asset Allocation model. The main function of the app." | 56 | false | MisterY/asset-allocation | get_asset_allocation | 26,608 | |
LDU_FT/codelv/enaml-native/popup | LDU_FT | [
"<BEGIN>\n## `init_layout`",
"Initialize the layout of the toolkit widget.",
" This method is called during the bottom-up pass. This method\n should initialize the layout of the widget. The child widgets\n will be fully initialized and layed out when this is called.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the popup API.
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 popup API.
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... | Show the notification from code. This will initialize and activate
if needed.
Notes
------
This does NOT block. Callbacks should be used to handle click events
or the `show` state should be observed to know when it is closed. | "Show the notification from code. This will initialize and activate\n if needed.\n \n Notes\n ------\n This does NOT block. Callbacks should be used to handle click events\n or the `show` state should be observed to know when it is closed." | 573 | false | codelv/enaml-native | popup | 26,609 | |
LDU_FT/priestc/giotto/execute_input_middleware_stream | LDU_FT | [
"<BEGIN>\n## `get_response`",
"High level function for getting a response. This is what the concrete\n controller should call. Returns a controller specific response.\n<END>",
"<BEGIN>\n## `get_data_response`",
"Execute the model and view, and handle the cache.\n Returns controller-agnostic resp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute_input_middleware_stream API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute_input_middleware_stream API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Request comes from the controller. Returned is a request.
controller arg is the name of the controller. | "Request comes from the controller. Returned is a request.\n controller arg is the name of the controller." | 75 | false | priestc/giotto | execute_input_middleware_stream | 26,610 | |
LDU_FT/nugget/python-insteonplm/add_device_not_active_callback | LDU_FT | [
"<BEGIN>\n## `data_received`",
"Receive data from the protocol.",
" Called when asyncio.Protocol detects received data from network.\n<END>",
"<BEGIN>\n## `connection_lost`",
"Reestablish the connection to the transport.",
" Called when asyncio.Protocol loses the network connection.\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_device_not_active_callback 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 add_device_not_active_callback API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Register callback to be invoked when a device is not responding. | "Register callback to be invoked when a device is not responding." | 375 | false | nugget/python-insteonplm | add_device_not_active_callback | 26,611 | |
LDU_FT/scottwoodall/python-pgextras/outliers | LDU_FT | [
"<BEGIN>\n## `pg_stat_statement`",
"Some queries require the pg_stat_statement module to be installed.\n http://www.postgresql.org/docs/current/static/pgstatstatements.html",
" :returns: boolean\n<END>",
"<BEGIN>\n## `is_pg_at_least_nine_two`",
"Some queries have different syntax depending wha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the outliers API.
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 outliers API.
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... | Show 10 queries that have longest execution time in aggregate. Requires
the pg_stat_statments Postgres module to be installed.
Record(
qry='UPDATE pgbench_tellers SET tbalance = tbalance + ?;',
exec_time=datetime.timedelta(0, 19944, 993099),
prop_exec_time='67.1%',
... | "Show 10 queries that have longest execution time in aggregate. Requires\n the pg_stat_statments Postgres module to be installed.\n\n Record(\n qry='UPDATE pgbench_tellers SET tbalance = tbalance + ?;',\n exec_time=datetime.timedelta(0, 19944, 993099),\n prop_exec_time='67... | 33 | false | scottwoodall/python-pgextras | outliers | 26,612 | |
LDU_FT/Knoema/knoema-python-driver/upload_verify | LDU_FT | [
"<BEGIN>\n## `is_equal_strings_ignore_case`",
"The function compares strings ignoring case\n<END>",
"<BEGIN>\n## `find_dimension_by_name`",
"the method searching dimension with a given name\n<END>",
"<BEGIN>\n## `find_dimension_by_id`",
"the method searching dimension with a given id\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload_verify API.
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 upload_verify API.
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... | This method is verifiing posted file on server | "This method is verifiing posted file on server" | 48 | false | Knoema/knoema-python-driver | upload_verify | 26,613 | |
LDU_FT/qubell/contrib-python-qubell-client/get_most_recent_update_time | LDU_FT | [
"<BEGIN>\n## `request_upload_secret`",
":return: json with \"keyId\" as secret and \"url\" for posting key\n<END>",
"<BEGIN>\n## `entity`",
"CLI for tonomi.com using contrib-python-qubell-client",
" To enable completion:",
" eval \"$(_NOMI_COMPLETE=source nomi)\"\n<END>",
"<BEGIN>\n## `import_ap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_most_recent_update_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_most_recent_update_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Indicated most recent update of the instance, assumption based on:
- if currentWorkflow exists, its startedAt time is most recent update.
- else max of workflowHistory startedAt is most recent update. | "Indicated most recent update of the instance, assumption based on:\n - if currentWorkflow exists, its startedAt time is most recent update.\n - else max of workflowHistory startedAt is most recent update." | 112 | false | qubell/contrib-python-qubell-client | get_most_recent_update_time | 26,614 | |
LDU_FT/TheHive-Project/TheHive4py/update_alert | LDU_FT | [
"<BEGIN>\n## `create`",
"Create an instance of the Case class.\n :param title: Case title.\n :param description: Case description.\n :param kwargs: Additional arguments.",
" :return: The created instance.\n<END>",
"<BEGIN>\n## `update`",
"Update a case. \n :param ca... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_alert API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_alert API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Update an alert.
:param alert_id: The ID of the alert to update.
:param data: The alert to update.
:param fields: Optional parameter, an array of fields names, the ones we want to update
:return: | "Update an alert.\n :param alert_id: The ID of the alert to update.\n :param data: The alert to update.\n :param fields: Optional parameter, an array of fields names, the ones we want to update\n :return:" | 39 | false | TheHive-Project/TheHive4py | update_alert | 26,615 | |
LDU_FT/willkg/everett/get_key_from_envs | LDU_FT | [
"<BEGIN>\n## `parse_yaml_file`",
"Parse yaml file at ``path`` and return a dict.\n<END>",
"<BEGIN>\n## `import_class`",
"Given a clspath, returns the class.",
" Note: This is a really simplistic implementation.\n<END>",
"<BEGIN>\n## `upper_lower_none`",
"Validate arg value as \"upper\", \"lower\", or... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_key_from_envs API.
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_key_from_envs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Return the value of a key from the given dict respecting namespaces.
Data can also be a list of data dicts. | "Return the value of a key from the given dict respecting namespaces.\n\n Data can also be a list of data dicts." | 63 | false | willkg/everett | get_key_from_envs | 26,616 | |
LDU_FT/openfisca/openfisca-survey-manager/randomly_init_variable | LDU_FT | [
"<BEGIN>\n## `read_dbf`",
"Read a dbf file as a pandas.DataFrame, optionally selecting the index\n variable and which columns are to be loaded.",
" __author__ = \"Dani Arribas-Bel <darribas@asu.edu> \"\n ...",
" Arguments\n ---------\n dbf_path : str\n Path to the DBF fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the randomly_init_variable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the randomly_init_variable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Initialise a variable with random values (from 0 to max_value).
If a condition vector is provided, only set the value of persons or groups for which condition is True.
Exemple:
>>> from openfisca_survey_manager.input_dataframe_generator import make_input_dataframe_by_entity
>>> from op... | "Initialise a variable with random values (from 0 to max_value).\n If a condition vector is provided, only set the value of persons or groups for which condition is True.\n\n Exemple:\n\n >>> from openfisca_survey_manager.input_dataframe_generator import make_input_dataframe_by_entity\n >>> ... | 80 | false | openfisca/openfisca-survey-manager | randomly_init_variable | 26,617 | |
LDU_FT/gwpy/gwpy/fetch | LDU_FT | [
"<BEGIN>\n## `canonical_name`",
"Find the canonical name for the given window in scipy.signal",
" Parameters\n ----------\n name : `str`\n the name of the window you want",
" Returns\n -------\n realname : `str`\n the name of the window as implemented in `scipy.signal.window`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch API.
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 fetch API.
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... | Fetch data from an SQL table into an `EventTable`
Parameters
----------
engine : `sqlalchemy.engine.Engine`
the database engine to use when connecting
table : `str`,
The name of table you are attempting to receive triggers
from.
selection
other filters you would li... | "Fetch data from an SQL table into an `EventTable`\n\n Parameters\n ----------\n engine : `sqlalchemy.engine.Engine`\n the database engine to use when connecting\n\n table : `str`,\n The name of table you are attempting to receive triggers\n from.\n\n selection\n other filters... | 2,764 | true | gwpy/gwpy | fetch | 26,618 | |
LDU_FT/Bogdanp/dramatiq/enqueue | LDU_FT | [
"<BEGIN>\n## `consume`",
"Create a new consumer for a queue.",
" Parameters:\n queue_name(str): The queue to consume.\n prefetch(int): The number of messages to prefetch.\n timeout(int): The idle timeout in milliseconds.",
" Returns:\n Consumer: A consumer tha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enqueue API.
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 enqueue API.
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... | Enqueue a message.
Parameters:
message(Message): The message to enqueue.
delay(int): The minimum amount of time, in milliseconds, to
delay the message by.
Raises:
ConnectionClosed: If the underlying channel or connection
has been closed. | "Enqueue a message.\n\n Parameters:\n message(Message): The message to enqueue.\n delay(int): The minimum amount of time, in milliseconds, to\n delay the message by.\n\n Raises:\n ConnectionClosed: If the underlying channel or connection\n has been closed." | 219 | false | Bogdanp/dramatiq | enqueue | 26,619 | |
LDU_FT/Ouranosinc/xclim/units2pint | LDU_FT | [
"<BEGIN>\n## `build_module`",
"Create a module from imported objects.",
" Parameters\n ----------\n name : str\n New module name.\n objs : dict\n Dictionary of the objects (or their name) to import into the module,\n keyed by the name they will take in the created module.\n doc : s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the units2pint API.
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 units2pint API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return the pint Unit for the DataArray units.
Parameters
----------
value : xr.DataArray or string
Input data array or expression.
Returns
-------
pint.Unit
Units of the data array. | "Return the pint Unit for the DataArray units.\n\n Parameters\n ----------\n value : xr.DataArray or string\n Input data array or expression.\n\n Returns\n -------\n pint.Unit\n Units of the data array." | 578 | false | Ouranosinc/xclim | units2pint | 26,620 | |
LDU_FT/pgmpy/pgmpy/get_static_properties | LDU_FT | [
"<BEGIN>\n## `_initalize_tree`",
"Initalizes root node of the tree, i.e depth = 0\n<END>",
"<BEGIN>\n## `_build_tree`",
"Recursively builds a tree for proposing new position and momentum\n<END>",
"<BEGIN>\n## `_sample`",
"Returns a sample using a single iteration of NUTS\n<END>",
"<BEGIN>\n## `sample`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_static_properties API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_static_properties API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns a dictionary of STATICPROPERTIES
Examples
--------
>>> reader = XBNReader('xbn_test.xml')
>>> reader.get_static_properties()
{'FORMAT': 'MSR DTAS XML', 'VERSION': '0.2', 'CREATOR': 'Microsoft Research DTAS'} | "Returns a dictionary of STATICPROPERTIES\n\n Examples\n --------\n >>> reader = XBNReader('xbn_test.xml')\n >>> reader.get_static_properties()\n {'FORMAT': 'MSR DTAS XML', 'VERSION': '0.2', 'CREATOR': 'Microsoft Research DTAS'}" | 1,557 | true | pgmpy/pgmpy | get_static_properties | 26,621 | |
LDU_FT/smarie/python-autoclass/autohash_decorate | LDU_FT | [
"<BEGIN>\n## `autohash`",
"A decorator to makes objects of the class implement __hash__, so that they can be used correctly for example in\n sets.",
" Parameters allow to customize the list of attributes that are taken into account in the hash.",
" :param include: a tuple of explicit attribute names ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the autohash_decorate API.
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 autohash_decorate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | To automatically generate the appropriate methods so that objects of this class are hashable,
manually, without using @autohash decorator.
:param cls: the class on which to execute. Note that it won't be wrapped.
:param include: a tuple of explicit attribute names to include (None means all)
:param exc... | "To automatically generate the appropriate methods so that objects of this class are hashable,\n manually, without using @autohash decorator.\n\n :param cls: the class on which to execute. Note that it won't be wrapped.\n :param include: a tuple of explicit attribute names to include (None means all)\n :par... | 94 | false | smarie/python-autoclass | autohash_decorate | 26,622 | |
LDU_FT/pmorissette/ffn/calc_stats | LDU_FT | [
"<BEGIN>\n## `memoize`",
"Memoize decorator. The refresh keyword is the keyword\n used to bypass the cache (in the function call).\n<END>",
"<BEGIN>\n## `parse_arg`",
"Parses arguments for convenience. Argument can be a\n csv list ('a,b,c'), a string, a list, a tuple.",
" Returns a list.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_stats API.
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 calc_stats API.
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... | Calculates performance stats of a given object.
If object is Series, a PerformanceStats object is
returned. If object is DataFrame, a GroupStats object
is returned.
Args:
* prices (Series, DataFrame): Set of prices | "Calculates performance stats of a given object.\n\n If object is Series, a PerformanceStats object is\n returned. If object is DataFrame, a GroupStats object\n is returned.\n\n Args:\n * prices (Series, DataFrame): Set of prices" | 176 | false | pmorissette/ffn | calc_stats | 26,623 | |
LDU_FT/derpston/python-multitail2/poll | LDU_FT | [
"<BEGIN>\n## `_open`",
"Open `path`, optionally seeking to the end if `skip_to_end` is True.\n<END>",
"<BEGIN>\n## `_read`",
"Checks the file for new data and refills the buffer if it finds any.\n<END>",
"<BEGIN>\n## `hasBeenRotated`",
"Returns a boolean indicating whether the file has been removed and re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the poll API.
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 poll API.
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... | A generator producing (path, line) tuples with lines seen since the last time poll() was called. Will not block. Checks for new/deleted/rotated files every `interval` seconds, but will check every time if `force_rescan` is True. (default False) | "A generator producing (path, line) tuples with lines seen since the last time poll() was called. Will not block. Checks for new/deleted/rotated files every `interval` seconds, but will check every time if `force_rescan` is True. (default False)" | 16 | false | derpston/python-multitail2 | poll | 26,624 | |
LDU_FT/nutechsoftware/alarmdecoder/read | LDU_FT | [
"<BEGIN>\n## `main`",
"Example application that watches for an event from a specific RF device.",
" This feature allows you to watch for events from RF devices if you have\n an RF receiver. This is useful in the case of internal sensors, which\n don't emit a FAULT if the sensor is tripped and the pane... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Reads a single character from the device.
:returns: character read from the device
:raises: :py:class:`~alarmdecoder.util.CommError` | "Reads a single character from the device.\n\n :returns: character read from the device\n :raises: :py:class:`~alarmdecoder.util.CommError`" | 286 | false | nutechsoftware/alarmdecoder | read | 26,625 | |
LDU_FT/ets-labs/python-dependency-injector/create | LDU_FT | [
"<BEGIN>\n## `import_cls`",
"Import class by its fully qualified name.",
" In terms of current example it is just a small helper function. Please,\n don't use it in production approaches.\n<END>",
"<BEGIN>\n## `find_all`",
"Return all found movies.",
" :rtype: list[movies.models.Movie]\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Create user with provided name and return his id. | "Create user with provided name and return his id." | 38 | false | ets-labs/python-dependency-injector | create | 26,626 | |
LDU_FT/joferkington/mpldatacursor/_increment_index | LDU_FT | [
"<BEGIN>\n## `_event_ignored`",
"Decide whether or not to ignore a click/hover event.\n<END>",
"<BEGIN>\n## `_show_annotation_box`",
"Update an existing box or create an annotation box for an event.\n<END>",
"<BEGIN>\n## `event_info`",
"Get a dict of info for the artist selected by \"event\".\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _increment_index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _increment_index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Move the most recently displayed annotation to the next item in the
series, if possible. If ``di`` is -1, move it to the previous item. | "Move the most recently displayed annotation to the next item in the\n series, if possible. If ``di`` is -1, move it to the previous item." | 80 | false | joferkington/mpldatacursor | _increment_index | 26,627 | |
LDU_FT/DBuildService/dockerfile-parse/parent_images | LDU_FT | [
"<BEGIN>\n## `image_from`",
":param from_value: string like \"image:tag\" or \"image:tag AS name\"\n :return: tuple of the image and stage name, e.g. (\"image:tag\", None)\n<END>",
"<BEGIN>\n## `lines`",
":return: list containing lines (unicode) from Dockerfile\n<END>",
"<BEGIN>\n## `lines`",
"Fill Doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parent_images API.
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 parent_images API.
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... | setter for images in 'FROM' instructions.
Images are updated per build stage with the given parents in the order they appear.
Raises RuntimeError if a different number of parents are given than there are stages
as that is likely to be a mistake.
:param parents: list of image strings | "setter for images in 'FROM' instructions.\n Images are updated per build stage with the given parents in the order they appear.\n Raises RuntimeError if a different number of parents are given than there are stages\n as that is likely to be a mistake.\n\n :param parents: list of image strin... | 58 | false | DBuildService/dockerfile-parse | parent_images | 26,628 | |
LDU_FT/datamachine/twx/send_location | LDU_FT | [
"<BEGIN>\n## `_ige`",
"Given a key, given an iv, and message\n do whatever operation asked in the operation field.\n Operation will be checked for: \"decrypt\" and \"encrypt\" strings.\n Returns the message encrypted/decrypted.\n message must be a multiple by 16 bytes (for division in 16 byte bloc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_location API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_location API.
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... | Send location to peer.
:param peer: Peer to send message to.
:param latitude: Latitude of the location.
:param longitude: Longitude of the location.
:param reply: Message object or message_id to reply to.
:param on_success: Callback to call when call is complete.
:type r... | "Send location to peer.\n :param peer: Peer to send message to.\n :param latitude: Latitude of the location.\n :param longitude: Longitude of the location.\n :param reply: Message object or message_id to reply to.\n :param on_success: Callback to call when call is complete.\n\n ... | 94 | false | datamachine/twx | send_location | 26,629 | |
LDU_FT/aalireza/SimpleAudioIndexer/_filtering_step | LDU_FT | [
"<BEGIN>\n## `set_username_ibm`",
"Parameters\n ----------\n username_ibm : str",
" Raises\n ------\n Exception\n If mode is not `ibm`\n<END>",
"<BEGIN>\n## `set_password_ibm`",
"Parameters\n ----------\n password_ibm : str",
" Raises\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _filtering_step API.
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 _filtering_step API.
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... | Moves the audio file if the format is `wav` to `filtered` directory.
Parameters
----------
basename : str
A basename of `/home/random-guy/some-audio-file.wav` is
`some-audio-file.wav` | "Moves the audio file if the format is `wav` to `filtered` directory.\n\n Parameters\n ----------\n basename : str\n A basename of `/home/random-guy/some-audio-file.wav` is\n `some-audio-file.wav`" | 159 | false | aalireza/SimpleAudioIndexer | _filtering_step | 26,630 | |
LDU_FT/pyamg/pyamg/_approximate_eigenvalues | LDU_FT | [
"<BEGIN>\n## `make_csr`",
"Convert A to CSR, if A is not a CSR or BSR matrix already.",
" Parameters\n ----------\n A : array, matrix, sparse matrix\n (n x n) matrix to convert to CSR",
" Returns\n -------\n A : csr_matrix, bsr_matrix\n If A is csr_matrix or bsr_matrix, then do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _approximate_eigenvalues 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 _approximate_eigenvalues API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Apprixmate eigenvalues.
Used by approximate_spectral_radius and condest.
Returns [W, E, H, V, breakdown_flag], where W and E are the eigenvectors
and eigenvalues of the Hessenberg matrix H, respectively, and V is the
Krylov space. breakdown_flag denotes whether Lanczos/Arnoldi suffered
breakdown.... | "Apprixmate eigenvalues.\n\n Used by approximate_spectral_radius and condest.\n\n Returns [W, E, H, V, breakdown_flag], where W and E are the eigenvectors\n and eigenvalues of the Hessenberg matrix H, respectively, and V is the\n Krylov space. breakdown_flag denotes whether Lanczos/Arnoldi suffered\n br... | 1,074 | true | pyamg/pyamg | _approximate_eigenvalues | 26,631 | |
LDU_FT/brettcannon/gidgethub/from_http | LDU_FT | [
"<BEGIN>\n## `_parse_content_type`",
"Tease out the content-type and character encoding.",
" A default character encoding of UTF-8 is used, so the content-type\n must be used to determine if any decoding is necessary to begin\n with.\n<END>",
"<BEGIN>\n## `_decode_body`",
"Decode an HTTP body based... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_http API.
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 from_http API.
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... | Construct an event from HTTP headers and JSON body data.
The mapping providing the headers is expected to support lowercase keys.
Since this method assumes the body of the HTTP request is JSON, a check
is performed for a content-type of "application/json" (GitHub does
support other con... | "Construct an event from HTTP headers and JSON body data.\n\n The mapping providing the headers is expected to support lowercase keys.\n\n Since this method assumes the body of the HTTP request is JSON, a check\n is performed for a content-type of \"application/json\" (GitHub does\n support ... | 49 | false | brettcannon/gidgethub | from_http | 26,632 | |
LDU_FT/readbeyond/aeneas/_compute_head_process_tail | LDU_FT | [
"<BEGIN>\n## `pretty_print`",
"Return a Unicode string pretty print of the log entries.",
" :param bool as_list: if ``True``, return a list of Unicode strings,\n one for each entry, instead of a Unicode string\n :param bool show_datetime: if ``True``, show the date and ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compute_head_process_tail 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 _compute_head_process_tail API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Set the audio file head or tail,
by either reading the explicit values
from the Task configuration,
or using SD to determine them.
This function returns the lengths, in seconds,
of the (head, process, tail).
:rtype: tuple (float, float, float) | "Set the audio file head or tail,\n by either reading the explicit values\n from the Task configuration,\n or using SD to determine them.\n\n This function returns the lengths, in seconds,\n of the (head, process, tail).\n\n :rtype: tuple (float, float, float)" | 1,097 | true | readbeyond/aeneas | _compute_head_process_tail | 26,633 | |
LDU_FT/jf-parent/brome/kill_pid | LDU_FT | [
"<BEGIN>\n## `validate_config`",
"Validate that the browser config contains all the needed config\n<END>",
"<BEGIN>\n## `send_keys`",
"wait_until_clickable = kwargs.get(\n 'wait_until_clickable',\n BROME_CONFIG['proxy_element']['wait_until_clickable']\n )",
" if wait_unti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the kill_pid API.
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 kill_pid API.
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... | Kill process by pid
Args:
pid (int) | "Kill process by pid\n\n Args:\n pid (int)" | 144 | false | jf-parent/brome | kill_pid | 26,634 | |
LDU_FT/PyCQA/pylint-django/generic_is_view_attribute | LDU_FT | [
"<BEGIN>\n## `register`",
"Required method to auto register this checker.\n<END>",
"<BEGIN>\n## `ignore_import_warnings_for_related_fields`",
"Replaces the leave_module method on the VariablesChecker class to\n prevent unused-import warnings which are caused by the ForeignKey\n and OneToOneField transfo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generic_is_view_attribute 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 generic_is_view_attribute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Generates is_X_attribute function for given parents and attrs. | "Generates is_X_attribute function for given parents and attrs." | 32 | false | PyCQA/pylint-django | generic_is_view_attribute | 26,635 | |
LDU_FT/scour-project/scour/optimizeAngle | LDU_FT | [
"<BEGIN>\n## `lex`",
"Yield (token_type, str_data) tokens.",
" The last token will be (EOF, None) where EOF is the singleton object\n defined in this module.\n<END>",
"<BEGIN>\n## `parse`",
"Parse a string of SVG transform=\"\" data.\n<END>",
"<BEGIN>\n## `findReferencedElements`",
"Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the optimizeAngle API.
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 optimizeAngle API.
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... | Because any rotation can be expressed within 360 degrees
of any given number, and since negative angles sometimes
are one character longer than corresponding positive angle,
we shorten the number to one in the range to [-90, 270[. | "Because any rotation can be expressed within 360 degrees\n of any given number, and since negative angles sometimes\n are one character longer than corresponding positive angle,\n we shorten the number to one in the range to [-90, 270[." | 103 | false | scour-project/scour | optimizeAngle | 26,636 | |
LDU_FT/dead-beef/markovchain/save | 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 save API.
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 save API.
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... | Update settings JSON data and save to file.
Parameters
----------
fp : `file` or `str`, optional
Output file. | "Update settings JSON data and save to file.\n\n Parameters\n ----------\n fp : `file` or `str`, optional\n Output file." | 323 | false | dead-beef/markovchain | save | 26,637 | |
LDU_FT/StagPython/StagPy/diff_prof | LDU_FT | [
"<BEGIN>\n## `out_name`",
"Return StagPy out file name.",
" Args:\n stem (str): short description of file content.\n timestep (int): timestep if relevant.",
" Returns:\n str: the output file name.",
" Other Parameters:\n conf.core.outname (str): the generic name stem, de... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the diff_prof API.
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 diff_prof API.
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... | Diffusion.
Args:
step (:class:`~stagpy.stagyydata._Step`): a step of a StagyyData
instance.
Returns:
tuple of :class:`numpy.array`: the diffusion and the radial position
at which it is evaluated. | "Diffusion.\n\n Args:\n step (:class:`~stagpy.stagyydata._Step`): a step of a StagyyData\n instance.\n Returns:\n tuple of :class:`numpy.array`: the diffusion and the radial position\n at which it is evaluated." | 299 | false | StagPython/StagPy | diff_prof | 26,638 | |
LDU_FT/digmore/pypushed/access_token | LDU_FT | [
"<BEGIN>\n## `push_app`",
"Push a notification to a Pushed application.",
" Param: content -> content of Pushed notification message\n content_url (optional) -> enrich message with URL\n Returns Shipment ID as string\n<END>",
"<BEGIN>\n## `push_channel`",
"Push a notification to ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the access_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the access_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Exchange a temporary OAuth2 code for an access token.
Param: code -> temporary OAuth2 code from a Pushed callback
Returns access token as string | "Exchange a temporary OAuth2 code for an access token.\n\n Param: code -> temporary OAuth2 code from a Pushed callback\n Returns access token as string" | 18 | false | digmore/pypushed | access_token | 26,639 | |
LDU_FT/AltSchool/dynamic-rest/get_ordering | LDU_FT | [
"<BEGIN>\n## `merge_link_object`",
"Add a 'links' attribute to the data that maps field names to URLs.",
" NOTE: This is the format that Ember Data supports, but alternative\n implementations are possible to support other formats.\n<END>",
"<BEGIN>\n## `register_post_processor`",
"Register a pos... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ordering API.
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_ordering API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return an ordering for a given request.
DRF expects a comma separated list, while DREST expects an array.
This method overwrites the DRF default so it can parse the array. | "Return an ordering for a given request.\n\n DRF expects a comma separated list, while DREST expects an array.\n This method overwrites the DRF default so it can parse the array." | 213 | false | AltSchool/dynamic-rest | get_ordering | 26,640 | |
LDU_FT/aparo/pyes/health | LDU_FT | [
"<BEGIN>\n## `serialize`",
"Serialize the search to a structure as passed for a search body.\n<END>",
"<BEGIN>\n## `symbol_by_name`",
"Get symbol by qualified name.",
" The name should be the full dot-separated path to the class::",
" modulename.ClassName",
" Example::",
" celery.c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the health API.
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 health API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Check the current :ref:`cluster health <es-guide-reference-api-admin-cluster-health>`.
Request Parameters
The cluster health API accepts the following request parameters:
:param level: Can be one of cluster, indices or shards. Controls the
details level of the health in... | "Check the current :ref:`cluster health <es-guide-reference-api-admin-cluster-health>`.\n Request Parameters\n\n The cluster health API accepts the following request parameters:\n\n :param level: Can be one of cluster, indices or shards. Controls the\n details level of the he... | 350 | false | aparo/pyes | health | 26,641 | |
LDU_FT/theiviaxx/Frog/post | LDU_FT | [
"<BEGIN>\n## `export`",
"The export function needs to:\n - Move source image to asset folder\n - Rename to guid.ext\n - Save thumbnail, small, and image versions\n<END>",
"<BEGIN>\n## `export`",
"The export function needs to:\n - Move source image to asset folder\n - Rename ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Creates a tag object
:param name: Name for tag
:type name: str
:returns: json | "Creates a tag object\n\n :param name: Name for tag\n :type name: str\n :returns: json" | 101 | false | theiviaxx/Frog | post | 26,642 | |
LDU_FT/darothen/xbpch/_replace_star | LDU_FT | [
"<BEGIN>\n## `from_model`",
"Define a grid using the specifications of a given model.",
" Parameters\n ----------\n model_name : string\n Name the model (see :func:`get_supported_models` for available\n model names).\n Supports multiple formats (e.g., 'GEOS5... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _replace_star API.
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 _replace_star API.
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... | Replace the `*` placeholder in a format string (fmt), so that
struct.calcsize(fmt) is equal to the given `size` using the format
following the placeholder.
Raises `ValueError` if number of `*` is larger than 1. If no `*`
in `fmt`, returns `fmt` without checking its size!
Examples
--------
... | "Replace the `*` placeholder in a format string (fmt), so that\n struct.calcsize(fmt) is equal to the given `size` using the format\n following the placeholder.\n\n Raises `ValueError` if number of `*` is larger than 1. If no `*`\n in `fmt`, returns `fmt` without checking its size!\n\n Examples\n ----... | 122 | false | darothen/xbpch | _replace_star | 26,643 | |
LDU_FT/timothydmorton/VESPA/draw_eccs | LDU_FT | [
"<BEGIN>\n## `from_df`",
"Builds TripleOrbitPopulation from DataFrame",
" ``DataFrame`` objects must be of appropriate form to pass\n to :func:`OrbitPopulation.from_df`.",
" :param df_long, df_short:\n :class:`pandas.DataFrame` objects to pass to\n :func:`OrbitPopula... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_eccs API.
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 draw_eccs API.
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... | draws eccentricities appropriate to given periods, generated according to empirical data from Multiple Star Catalog | "draws eccentricities appropriate to given periods, generated according to empirical data from Multiple Star Catalog" | 495 | false | timothydmorton/VESPA | draw_eccs | 26,644 | |
LDU_FT/cloudendpoints/endpoints-python/check_list_type | LDU_FT | [
"<BEGIN>\n## `_GetFieldAttributes`",
"Decomposes field into the needed arguments to pass to the constructor.",
" This can be used to create copies of the field or to compare if two fields\n are \"equal\" (since __eq__ is not implemented on messages.Field).",
" Args:\n field: A ProtoRPC message field (po... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_list_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_list_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Verify that objects in list are of the allowed type or raise TypeError.
Args:
objects: The list of objects to check.
allowed_type: The allowed type of items in 'settings'.
name: Name of the list of objects, added to the exception.
allow_none: If set, None is also allowed.
Raises:
TypeError: if... | "Verify that objects in list are of the allowed type or raise TypeError.\n\n Args:\n objects: The list of objects to check.\n allowed_type: The allowed type of items in 'settings'.\n name: Name of the list of objects, added to the exception.\n allow_none: If set, None is also allowed.\n\n Raises:\n Typ... | 801 | false | cloudendpoints/endpoints-python | check_list_type | 26,645 | |
LDU_FT/HarveyHunt/i3situation/_load_compiled | LDU_FT | [
"<BEGIN>\n## `main`",
"Generates an output string by replacing the keywords in the format\n string with the corresponding values from a submission dictionary.\n<END>",
"<BEGIN>\n## `login`",
"Logs into Reddit in order to display a personalised front page.\n<END>",
"<BEGIN>\n## `manage_submissions`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_compiled API.
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 _load_compiled API.
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... | Accepts a path to a compiled plugin and returns a module object.
file_path: A string that represents a complete file path to a compiled
plugin. | "Accepts a path to a compiled plugin and returns a module object.\n\n file_path: A string that represents a complete file path to a compiled\n plugin." | 63 | false | HarveyHunt/i3situation | _load_compiled | 26,646 | |
LDU_FT/calvinku96/labreporthelper/cleandata | LDU_FT | [
"<BEGIN>\n## `generate_datasets_list`",
"generate datasets list to activate",
" args:\n settings: dictionary\n from settings file\n argv: list\n from sys.argv\n<END>",
"<BEGIN>\n## `do_label`",
"Create label for x and y axis, title and suptitle\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cleandata API.
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 cleandata API.
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... | Helper function for parse.getdata.
Remove empty variables, convert strings to float
args:
inputlist: list
List of Variables
Returns:
ouput:
Cleaned list | "Helper function for parse.getdata.\n Remove empty variables, convert strings to float\n\n args:\n inputlist: list\n List of Variables\n Returns:\n ouput:\n Cleaned list" | 57 | false | calvinku96/labreporthelper | cleandata | 26,647 | |
LDU_FT/pebble/libpebble2/download | LDU_FT | [
"<BEGIN>\n## `send_notification`",
"Sends a notification. Blocks as long as necessary.",
" :param subject: The subject.\n :type subject: str\n :param message: The message.\n :type message: str\n :param sender: The sender.\n :type sender: str\n :param source: The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Download a specific session.
Returns (session_info, data) | "Download a specific session. \n Returns (session_info, data)" | 121 | false | pebble/libpebble2 | download | 26,648 | |
LDU_FT/wtsi-hgi/python-baton-wrapper/revoke | LDU_FT | [
"<BEGIN>\n## `validate_baton_binaries_location`",
"Validates that the given directory contains the baton binaries required to use the runner.\n :param baton_binaries_directory: the directory to check\n :return: exception that describes the issue else `None` if no issues\n<END>",
"<BEGIN>\n## `_rai... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the revoke API.
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 revoke API.
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 ... | Revokes all access controls that are associated to the given path or collection of paths.
:param paths: the paths to remove access controls on
:param users: the users to revoke access controls for. User may be in the represented as a `User` object or in
the form "name#zone" | "Revokes all access controls that are associated to the given path or collection of paths.\n :param paths: the paths to remove access controls on\n :param users: the users to revoke access controls for. User may be in the represented as a `User` object or in\n the form \"name#zone\"" | 71 | false | wtsi-hgi/python-baton-wrapper | revoke | 26,649 | |
LDU_FT/mattjj/pylds/expected_log_likelihood | LDU_FT | [
"<BEGIN>\n## `symm_block_tridiag_matmul`",
"Compute matrix-vector product with a symmetric block\n tridiagonal matrix H and vector v.",
" :param H_diag: block diagonal terms of H\n :param H_upper_diag: upper block diagonal terms of H\n :param v: vector to multiple\n :ret... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expected_log_likelihood 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 expected_log_likelihood API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Compute the expected log likelihood for a mean and
covariance of x and an observed value of y. | "Compute the expected log likelihood for a mean and\n covariance of x and an observed value of y." | 53 | false | mattjj/pylds | expected_log_likelihood | 26,650 | |
LDU_FT/mukulhase/WebWhatsapp-Wrapper/init_timer | LDU_FT | [
"<BEGIN>\n## `run`",
"Locks the main thread while the subscription in running\n<END>",
"<BEGIN>\n## `save_firefox_profile`",
"Function to save the firefox profile to the permanant one\n<END>",
"<BEGIN>\n## `get_contacts`",
"Fetches list of all contacts\n This will return chats with people from the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_timer API.
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 init_timer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Create a timer for the client driver to watch for events
@param client_id: ID of clinet user | "Create a timer for the client driver to watch for events\n \n @param client_id: ID of clinet user" | 108 | false | mukulhase/WebWhatsapp-Wrapper | init_timer | 26,651 | |
LDU_FT/bioasp/ingranalyze/whatsnew | LDU_FT | [
"<BEGIN>\n## `readGraph`",
"input: string, name of a file containing a Bioquali-like graph description\n output: asp.TermSet, with atoms matching the contents of the input file",
" Parses a Bioquali-like graph description, and returns\n a TermSet object.\n Written using original Bioquali\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the whatsnew API.
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 whatsnew API.
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... | [whatsnew(instance,pred)] is a TermSet equal to [pred] where all predicates
vlabel and elabel which have a corresponding obs_vlabel and obs_elabel in
[instance] have been deleted. This function is meant to see which of the invariants
are not a direct consequence of the observations. | "[whatsnew(instance,pred)] is a TermSet equal to [pred] where all predicates\n vlabel and elabel which have a corresponding obs_vlabel and obs_elabel in\n [instance] have been deleted. This function is meant to see which of the invariants\n are not a direct consequence of the observations." | 15 | false | bioasp/ingranalyze | whatsnew | 26,652 | |
LDU_FT/fhcrc/taxtastic/nary_subtree | LDU_FT | [
"<BEGIN>\n## `action`",
"Roll back commands on a refpkg.",
" *args* should be an argparse object with fields refpkg (giving the\n path to the refpkg to operate on) and n (giving the number of\n operations to roll back).\n<END>",
"<BEGIN>\n## `taxtable_to_tree`",
"Read a CSV taxonomy from *handle* i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nary_subtree API.
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 nary_subtree API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return a list of species tax_ids under *tax_id* such that
node under *tax_id* and above the species has two children. | "Return a list of species tax_ids under *tax_id* such that\n node under *tax_id* and above the species has two children." | 197 | false | fhcrc/taxtastic | nary_subtree | 26,653 | |
LDU_FT/Thermondo/django-heroku-connect/_retry_failed_log | LDU_FT | [
"<BEGIN>\n## `_replaced`",
"Replace elements in iterable with values from an alias dict, suppressing empty values.",
" Used to consistently enhance how certain fields are displayed in list and detail pages.\n<END>",
"<BEGIN>\n## `_get_admin_route_name`",
"Get the base name of the admin route for a model ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _retry_failed_log API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _retry_failed_log API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Try to re-apply a failed trigger log action.
Makes sure the argument trigger log is in a FAILED state and acquires a row lock on it.
Returns:
True if the operation succeeded | "Try to re-apply a failed trigger log action.\n\n Makes sure the argument trigger log is in a FAILED state and acquires a row lock on it.\n\n Returns:\n True if the operation succeeded" | 98 | false | Thermondo/django-heroku-connect | _retry_failed_log | 26,654 | |
LDU_FT/witchard/grole/parse_args | LDU_FT | [
"<BEGIN>\n## `serve_static`",
"Serve a directory statically",
" Parameters:",
" * app: Grole application object\n * base_url: Base URL to serve from, e.g. /static\n * base_path: Base path to look for files in\n * index: Provide simple directory indexes if True\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Parse command line arguments for Grole server running as static file server | "Parse command line arguments for Grole server running as static file server" | 21 | false | witchard/grole | parse_args | 26,655 | |
LDU_FT/SMTG-UCL/sumo/_get_bravais_lattice | LDU_FT | [
"<BEGIN>\n## `kpath_from_seekpath`",
"r\"\"\"Convert seekpath-formatted kpoints path to sumo-preferred format.",
" If 'GAMMA' is used as a label this will be replaced by '\\Gamma'.",
" Args:\n seekpath (list): A :obj:`list` of 2-tuples containing the labels at\n each si... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_bravais_lattice 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_bravais_lattice API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Get Bravais lattice symbol from symmetry data | "Get Bravais lattice symbol from symmetry data" | 449 | false | SMTG-UCL/sumo | _get_bravais_lattice | 26,656 | |
LDU_FT/fracpete/python-weka-wrapper/main | LDU_FT | [
"<BEGIN>\n## `next`",
"Reads the next dataset row.",
" :return: the next row\n :rtype: Instance\n<END>",
"<BEGIN>\n## `main`",
"Runs a associator from the command-line. Calls JVM start/stop automatically.\n Use -h to see all options.\n<END>",
"<BEGIN>\n## `next`",
"Returns the next rule... | 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... | Runs a classifier from the command-line. Calls JVM start/stop automatically.
Use -h to see all options. | "Runs a classifier from the command-line. Calls JVM start/stop automatically.\n Use -h to see all options." | 68 | false | fracpete/python-weka-wrapper | main | 26,657 | |
LDU_FT/astropy/astropy-healpix/healpix_to_lonlat | LDU_FT | [
"<BEGIN>\n## `healpix_to_lonlat`",
"Convert HEALPix indices (optionally with offsets) to longitudes/latitudes",
" Parameters\n ----------\n healpix_index : `~numpy.ndarray`\n 1-D array of HEALPix indices\n dx, dy : `~numpy.ndarray`, optional\n 1-D arrays of offs... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the healpix_to_lonlat API.
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 healpix_to_lonlat API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Convert HEALPix indices (optionally with offsets) to longitudes/latitudes
Parameters
----------
healpix_index : `~numpy.ndarray`
1-D array of HEALPix indices
dx, dy : `~numpy.ndarray`, optional
1-D arrays of offsets inside the HEALPix pixel, which must be in
... | "Convert HEALPix indices (optionally with offsets) to longitudes/latitudes\n\n Parameters\n ----------\n healpix_index : `~numpy.ndarray`\n 1-D array of HEALPix indices\n dx, dy : `~numpy.ndarray`, optional\n 1-D arrays of offsets inside the HEALPix pixel, which must be... | 177 | false | astropy/astropy-healpix | healpix_to_lonlat | 26,658 | |
LDU_FT/nschloe/meshio/_write_families | LDU_FT | [
"<BEGIN>\n## `read`",
"Reads a (compressed) PERMAS dato or post file.\n<END>",
"<BEGIN>\n## `write`",
"Writes PERMAS dat files, cf.\n http://www.intes.de # PERMAS-ASCII-file-format\n<END>",
"<BEGIN>\n## `_write_families`",
"Write point/cell tag information under FAS/[mesh_name]\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write_families API.
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 _write_families API.
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... | Write point/cell tag information under FAS/[mesh_name] | "Write point/cell tag information under FAS/[mesh_name]" | 33 | false | nschloe/meshio | _write_families | 26,659 | |
LDU_FT/twisted/twistedchecker/restrictCheckers | LDU_FT | [
"<BEGIN>\n## `_isInner`",
"Determine whether the given node is, at any point in its syntactic\n parentage, defined within a function.",
" @param node: The node to inspect.\n @type node: L{logilab.astng.bases.NodeNG}",
" @return: a boolean indicating if the given node is defined as an inner\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the restrictCheckers API.
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 restrictCheckers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Unregister useless checkers to speed up twistedchecker.
@param allowedMessages: output messages allowed in twistedchecker | "Unregister useless checkers to speed up twistedchecker.\n\n @param allowedMessages: output messages allowed in twistedchecker" | 146 | false | twisted/twistedchecker | restrictCheckers | 26,660 | |
LDU_FT/ynop/audiomate/num_samples | LDU_FT | [
"<BEGIN>\n## `load`",
"Load and return the corpus from the given path.",
" Args:\n path (str): Path to the data set to load.",
" Returns:\n Corpus: The loaded corpus",
" Raises:\n IOError: When the data set is invalid, for example because required files ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the num_samples API.
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 num_samples API.
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... | Return the number of samples.
Args:
sr (int): Calculate the number of samples with the given
sampling-rate. If None use the native sampling-rate.
Returns:
int: Number of samples | "Return the number of samples.\n\n Args:\n sr (int): Calculate the number of samples with the given\n sampling-rate. If None use the native sampling-rate.\n\n Returns:\n int: Number of samples" | 619 | false | ynop/audiomate | num_samples | 26,661 | |
LDU_FT/praekeltfoundation/seed-message-sender/post | LDU_FT | [
"<BEGIN>\n## `_get_filename`",
"This function gets the base filename from the path, if a language code\n is present the filename will start from there.\n<END>",
"<BEGIN>\n## `_override_payload`",
"This function transforms the payload into a new format using the\n self.override_payload property.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Checks for expect event types before continuing | "Checks for expect event types before continuing" | 36 | false | praekeltfoundation/seed-message-sender | post | 26,662 | |
LDU_FT/sassoo/goldman/_from_rest_reject_update | LDU_FT | [
"<BEGIN>\n## `_gen_s3_path`",
"Return the part of the S3 path based on inputs",
" The path will be passed to the s3_upload method &\n will ultimately be merged with the standard AWS S3\n URL.",
" An example model type of 'users' with a resource ID\n of 99 & an API endpoint e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _from_rest_reject_update 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 _from_rest_reject_update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Reject any field updates not allowed on POST
This is done on fields with `reject_update=True`. | "Reject any field updates not allowed on POST\n\n This is done on fields with `reject_update=True`." | 446 | false | sassoo/goldman | _from_rest_reject_update | 26,663 | |
LDU_FT/portfors-lab/sparkle/randomToggle | LDU_FT | [
"<BEGIN>\n## `purgeDeletedWidgets`",
"Finds old references to stashed fields and deletes them\n<END>",
"<BEGIN>\n## `set_calibration`",
"See :meth:`AbstractAcquisitionRunner<sparkle.run.abstract_acquisition.AbstractAcquisitionRunner.set_calibration>`\n<END>",
"<BEGIN>\n## `set_current_stim_parameter`",
"S... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the randomToggle API.
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 randomToggle API.
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 reorder function on this StimulusModel to a randomizer
or none, alternately | "Sets the reorder function on this StimulusModel to a randomizer\n or none, alternately" | 834 | false | portfors-lab/sparkle | randomToggle | 26,664 | |
LDU_FT/rochacbruno/Flask-GoogleMaps/build_circle_dict | LDU_FT | [
"<BEGIN>\n## `build_rectangles`",
"Process data to construct rectangles",
" This method is built from the assumption that the rectangles parameter\n is a list of:\n lists :a list with 4 elements indicating [north, west, south, east]\n tuples:a tuple with 4 elements indicating... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_circle_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_circle_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Set a dictionary with the javascript class Circle parameters
This function sets a default drawing configuration if the user just
pass the rectangle bounds, but also allows to set each parameter
individually if the user wish so.
Args:
center_lat (float): The circle center la... | "Set a dictionary with the javascript class Circle parameters\n\n This function sets a default drawing configuration if the user just\n pass the rectangle bounds, but also allows to set each parameter\n individually if the user wish so.\n\n Args:\n center_lat (float): The circle c... | 78 | false | rochacbruno/Flask-GoogleMaps | build_circle_dict | 26,665 | |
LDU_FT/Netflix-Skunkworks/swag-client/list_service | 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 list_service API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_service API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Retrieve accounts pertaining to named service. | "Retrieve accounts pertaining to named service." | 48 | false | Netflix-Skunkworks/swag-client | list_service | 26,666 | |
LDU_FT/fp12/achallonge/update | LDU_FT | [
"<BEGIN>\n## `report_winner`",
"report scores and give a winner",
" |methcoro|",
" Args:\n winner: :class:Participant instance\n scores_csv: Comma separated set/game scores with player 1 score first (e.g. \"1-3,3-0,3-2\")",
" Raises:\n ValueError: scores... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
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 update API.
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 ... | update some parameters of the tournament
Use this function if you want to update multiple options at once, but prefer helpers functions like :func:`allow_attachments`, :func:`set_start_date`...
|methcoro|
Args:
params: one or more of: ``name`` ``tournament_type`` ``url`` ``subdoma... | "update some parameters of the tournament\n\n Use this function if you want to update multiple options at once, but prefer helpers functions like :func:`allow_attachments`, :func:`set_start_date`...\n\n |methcoro|\n\n Args:\n params: one or more of: ``name`` ``tournament_type`` ``url`` `... | 173 | false | fp12/achallonge | update | 26,667 | |
LDU_FT/phaethon/kamene/pkcs_emsa_pkcs1_v1_5_encode | LDU_FT | [
"<BEGIN>\n## `post_build`",
"Called implicitly before a packet is sent.\n<END>",
"<BEGIN>\n## `float_encode`",
"Convert the integer value to its IGMPv3 encoded time value if needed.",
" If value < 128, return the value specified. If >= 128, encode as a floating \n point value. Value can be 0 - 31744.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pkcs_emsa_pkcs1_v1_5_encode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pkcs_emsa_pkcs1_v1_5_encode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Implements EMSA-PKCS1-V1_5-ENCODE() function described in Sect.
9.2 of RFC 3447.
Input:
M : message to be encode, an octet string
emLen: intended length in octets of the encoded message, at least
tLen + 11, where tLen is the octet length of the DER encoding
T of a c... | "Implements EMSA-PKCS1-V1_5-ENCODE() function described in Sect.\n 9.2 of RFC 3447.\n\n Input:\n M : message to be encode, an octet string\n emLen: intended length in octets of the encoded message, at least\n tLen + 11, where tLen is the octet length of the DER encoding\n ... | 477 | false | phaethon/kamene | pkcs_emsa_pkcs1_v1_5_encode | 26,668 | |
LDU_FT/wiheto/teneto/multiple_contacts_get_values | LDU_FT | [
"<BEGIN>\n## `temporal_betweenness_centrality`",
"Returns temporal betweenness centrality per node.",
" Parameters\n -----------",
" Input should be *either* tnet or paths.",
" data : array or dict",
" Temporal network input (graphlet or contact). nettype: 'bu', 'bd'.",
" calc : st... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multiple_contacts_get_values 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 multiple_contacts_get_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Given an contact representation with repeated contacts, this function removes duplicates and creates a value
Parameters
----------
C : dict
contact representation with multiple repeated contacts.
Returns
-------
:C_out: dict
Contact representation with duplicate contacts re... | "Given an contact representation with repeated contacts, this function removes duplicates and creates a value\n\n Parameters\n ----------\n\n C : dict\n\n contact representation with multiple repeated contacts.\n\n Returns\n -------\n\n :C_out: dict\n\n Contact representation with duplic... | 649 | false | wiheto/teneto | multiple_contacts_get_values | 26,669 | |
LDU_FT/ZELLMECHANIK-DRESDEN/dclab/polygon_filter_rm | LDU_FT | [
"<BEGIN>\n## `tdms2rtdc`",
"Convert .tdms datasets to the hdf5-based .rtdc file format\n<END>",
"<BEGIN>\n## `load_from_file`",
"Load the configuration from a file",
" Parameters\n ----------\n cfg_file: str\n Path to configuration file",
" Returns\n -------\n cfg : CaseInsensitiv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the polygon_filter_rm API.
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 polygon_filter_rm API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Remove a polygon filter from this instance
Parameters
----------
filt: int or instance of `PolygonFilter`
The polygon filter to remove | "Remove a polygon filter from this instance\n\n Parameters\n ----------\n filt: int or instance of `PolygonFilter`\n The polygon filter to remove" | 433 | false | ZELLMECHANIK-DRESDEN/dclab | polygon_filter_rm | 26,670 | |
LDU_FT/Mollom/mollom_python/create_blacklist_entry | LDU_FT | [
"<BEGIN>\n## `verify_keys`",
"Verify that the public and private key combination is valid; raises MollomAuthenticationError otherwise\n<END>",
"<BEGIN>\n## `check_content`",
"Requests a ham/spam/unsure classification for content.",
" If rechecking or updating previously checked content, the content_i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_blacklist_entry 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_blacklist_entry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Creates a new blacklist entry.
Keyword arguments:
value -- The string value to blacklist.
reason -- The reason for why the value is blacklisted. Can be: "spam", "unwanted".
context -- The context where the entry's value may match. Can be:
allFields -- Match can be ma... | "Creates a new blacklist entry.\n \n Keyword arguments:\n value -- The string value to blacklist.\n reason -- The reason for why the value is blacklisted. Can be: \"spam\", \"unwanted\".\n context -- The context where the entry's value may match. Can be:\n allFields -- Matc... | 31 | false | Mollom/mollom_python | create_blacklist_entry | 26,671 | |
LDU_FT/nion-software/nionswift-instrumentation-kit/set_frame_parameters | LDU_FT | [
"<BEGIN>\n## `initialize_state`",
"Call this to initialize the state of the UI after everything has been connected.\n<END>",
"<BEGIN>\n## `handle_play_clicked`",
"Call this when the user clicks the play/pause button.\n<END>",
"<BEGIN>\n## `set_probe_position`",
"Set the probe position, in normalized coord... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_frame_parameters 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 set_frame_parameters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Set the frame parameters with the settings index and fire the frame parameters changed event.
If the settings index matches the current settings index, call set current frame parameters.
If the settings index matches the record settings index, call set record frame parameters. | "Set the frame parameters with the settings index and fire the frame parameters changed event.\n\n If the settings index matches the current settings index, call set current frame parameters.\n\n If the settings index matches the record settings index, call set record frame parameters." | 37 | false | nion-software/nionswift-instrumentation-kit | set_frame_parameters | 26,672 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.