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/jsvine/spectra/HtmlToRgb | LDU_FT | [
"<BEGIN>\n## `cmyk`",
"Create a spectra.Color object in the CMYK color space.",
" :param float c: c coordinate.\n :param float m: m coordinate.\n :param float y: y coordinate.\n :param float k: k coordinate.",
" :rtype: Color\n :returns: A spectra.Color object in the CMYK color space.\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the HtmlToRgb API.
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 HtmlToRgb API.
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... | Convert the HTML color to (r, g, b).
Parameters:
:html:
the HTML definition of the color (#RRGGBB or #RGB or a color name).
Returns:
The color as an (r, g, b) tuple in the range:
r[0...1],
g[0...1],
b[0...1]
Throws:
:ValueError:
If html is neither a kno... | "Convert the HTML color to (r, g, b).\n\n Parameters:\n :html:\n the HTML definition of the color (#RRGGBB or #RGB or a color name).\n\n Returns:\n The color as an (r, g, b) tuple in the range:\n r[0...1],\n g[0...1],\n b[0...1]\n\n Throws:\n :ValueError:\n If html i... | 265 | false | jsvine/spectra | HtmlToRgb | 20,473 | |
LDU_FT/cslarsen/crianza/execute | LDU_FT | [
"<BEGIN>\n## `xcompile`",
"Parses Crianza source code and returns a native Python function.",
" Args:\n args: The resulting function's number of input parameters.",
" Returns:\n A callable Python function.\n<END>",
"<BEGIN>\n## `xeval`",
"Compiles to native Python bytecode and runs pro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Compiles and runs program, returning the machine used to execute the
code.
Args:
optimize: Whether to optimize the code after parsing it.
output: Stream which program can write output to.
input: Stream which program can read input from.
steps: An optional maximum number of instr... | "Compiles and runs program, returning the machine used to execute the\n code.\n\n Args:\n optimize: Whether to optimize the code after parsing it.\n output: Stream which program can write output to.\n input: Stream which program can read input from.\n steps: An optional maximum number ... | 106 | false | cslarsen/crianza | execute | 20,474 | |
LDU_FT/nuSTORM/gnomon/_get_next_events | LDU_FT | [
"<BEGIN>\n## `objwalk`",
"Traverse a dictionary recursively and save path",
" Taken from:\n http://code.activestate.com/recipes/577982-recursively-walk-python-objects/\n<END>",
"<BEGIN>\n## `lookup_cc_partner`",
"Lookup the charge current partner",
" Takes as an input neutrino nu_pid is a PDG c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_next_events API.
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_next_events API.
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 next events from Genie ROOT file
Looks over the generator | "Get next events from Genie ROOT file\n\n Looks over the generator" | 43 | false | nuSTORM/gnomon | _get_next_events | 20,475 | |
LDU_FT/ynop/audiomate/create_writer_of_type | 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 create_writer_of_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_writer_of_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.
... | Create an instance of the writer with the given name.
Args:
type_name: The name of a writer.
Returns:
An instance of the writer with the given type. | "Create an instance of the writer with the given name.\n\n Args:\n type_name: The name of a writer.\n\n Returns:\n An instance of the writer with the given type." | 619 | false | ynop/audiomate | create_writer_of_type | 20,476 | |
LDU_FT/Aluriak/bubble-tools/bubble_to_dot | LDU_FT | [
"<BEGIN>\n## `bubble_to_dot`",
"Write in dotfile a graph equivalent to those depicted in bubble file\n<END>",
"<BEGIN>\n## `bubble_to_gexf`",
"Write in bblfile a graph equivalent to those depicted in bubble file\n<END>",
"<BEGIN>\n## `bubble_to_js`",
"Write in jsdir a graph equivalent to those depicted in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bubble_to_dot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bubble_to_dot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Write in dotfile a graph equivalent to those depicted in bubble file | "Write in dotfile a graph equivalent to those depicted in bubble file" | 88 | false | Aluriak/bubble-tools | bubble_to_dot | 20,477 | |
LDU_FT/michaelliao/sinaweibopy/_http_call | LDU_FT | [
"<BEGIN>\n## `_parse_json`",
"Parse json string into JsonDict.",
" >>> r = _parse_json(r'{\"name\":\"Michael\",\"score\":95}')\n >>> r.name\n u'Michael'\n >>> r['score']\n 95\n<END>",
"<BEGIN>\n## `_encode_params`",
"Do url-encode parameters",
" >>> _encode_params(a=1, b='R&D')\n 'a=1... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _http_call API.
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 _http_call API.
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... | send an http request and return a json object if no error occurred. | "send an http request and return a json object if no error occurred." | 37 | false | michaelliao/sinaweibopy | _http_call | 20,478 | |
LDU_FT/openearth/bmi-python/inq_compound_field | LDU_FT | [
"<BEGIN>\n## `colorlogs`",
"Append a rainbow logging handler and a formatter to the root logger\n<END>",
"<BEGIN>\n## `create_string_buffer`",
"create_string_buffer(aString) -> character array\n create_string_buffer(anInteger) -> character array\n create_string_buffer(aString, anInteger) -> character ar... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inq_compound_field API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inq_compound_field API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Lookup the type,rank and shape of a compound field | "Lookup the type,rank and shape of a compound field" | 39 | false | openearth/bmi-python | inq_compound_field | 20,479 | |
LDU_FT/nicodv/kmodes/init_cao | LDU_FT | [
"<BEGIN>\n## `init_huang`",
"Initialize centroids according to method by Huang [1997].\n<END>",
"<BEGIN>\n## `init_cao`",
"Initialize centroids according to method by Cao et al. [2009].",
" Note: O(N * attr * n_clusters**2), so watch out with large n_clusters\n<END>",
"<BEGIN>\n## `move_point_cat`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_cao API.
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 init_cao API.
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... | Initialize centroids according to method by Cao et al. [2009].
Note: O(N * attr * n_clusters**2), so watch out with large n_clusters | "Initialize centroids according to method by Cao et al. [2009].\n\n Note: O(N * attr * n_clusters**2), so watch out with large n_clusters" | 52 | false | nicodv/kmodes | init_cao | 20,480 | |
LDU_FT/JohnVinyard/zounds/_wcut | LDU_FT | [
"<BEGIN>\n## `validate`",
"Ensure that the size of the dimension matches the number of bands in the\n scale",
" Raises:\n ValueError: when the dimension size and number of bands don't match\n<END>",
"<BEGIN>\n## `resampled`",
"Create a basic processing pipeline that can resample al... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _wcut API.
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 _wcut API.
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... | Parameters
l - The length of the input array
windowsize - the size of each window of samples
stepsize - the number of samples to move the window each step
Returns
The length the input array should be so that leftover samples are ignored | "Parameters\n l - The length of the input array\n windowsize - the size of each window of samples\n stepsize - the number of samples to move the window each step\n\n Returns\n The length the input array should be so that leftover samples are ignored" | 97 | false | JohnVinyard/zounds | _wcut | 20,481 | |
LDU_FT/pgmpy/pgmpy/get_cardinality | 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_cardinality API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cardinality API.
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... | Returns the cardinality of the node. Throws an error if the CPD for the
queried node hasn't been added to the network.
Parameters
----------
node: Any hashable python object(optional).
The node whose cardinality we want. If node is not specified returns a
dic... | "Returns the cardinality of the node. Throws an error if the CPD for the\n queried node hasn't been added to the network.\n\n Parameters\n ----------\n node: Any hashable python object(optional).\n The node whose cardinality we want. If node is not specified returns a\n ... | 1,557 | true | pgmpy/pgmpy | get_cardinality | 20,482 | |
LDU_FT/harlowja/failure/match_classes | LDU_FT | [
"<BEGIN>\n## `match_modules`",
"Creates a matcher that matches a list/set/tuple of allowed modules.\n<END>",
"<BEGIN>\n## `match_classes`",
"Creates a matcher that matches a list/tuple of allowed classes.\n<END>",
"<BEGIN>\n## `combine_or`",
"Combines more than one matcher together (first that matches win... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_classes API.
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 match_classes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Creates a matcher that matches a list/tuple of allowed classes. | "Creates a matcher that matches a list/tuple of allowed classes." | 39 | false | harlowja/failure | match_classes | 20,483 | |
LDU_FT/nabla-c0d3/nassl/verify | LDU_FT | [
"<BEGIN>\n## `verify`",
"Verify that the OCSP response is trusted.",
" Args:\n verify_locations: The file path to a trust store containing pem-formatted certificates, to be used for\n validating the OCSP response.",
" Raises OcspResponseNotTrustedError if the validation fai... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted ... | Verify that the OCSP response is trusted.
Args:
verify_locations: The file path to a trust store containing pem-formatted certificates, to be used for
validating the OCSP response.
Raises OcspResponseNotTrustedError if the validation failed ie. the OCSP response is not trusted. | "Verify that the OCSP response is trusted.\n\n Args:\n verify_locations: The file path to a trust store containing pem-formatted certificates, to be used for\n validating the OCSP response.\n\n Raises OcspResponseNotTrustedError if the validation failed ie. the OCSP response is not t... | 22 | false | nabla-c0d3/nassl | verify | 20,484 | |
LDU_FT/cuihantao/andes/routine_import | LDU_FT | [
"<BEGIN>\n## `check`",
"Check config data consistency",
" Returns\n -------\n<END>",
"<BEGIN>\n## `read`",
"Read a dm format file and elem_add to system\n<END>",
"<BEGIN>\n## `register_element`",
"Register a device element to the group list",
" Parameters\n ----------\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the routine_import API.
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 routine_import API.
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... | Dynamically import routines as defined in ``routines/__init__.py``.
The command-line argument ``--routine`` is defined in ``__cli__`` in
each routine file. A routine instance will be stored in the system
instance with the name being all lower case.
For example, a routine for power flow... | "Dynamically import routines as defined in ``routines/__init__.py``.\n\n The command-line argument ``--routine`` is defined in ``__cli__`` in\n each routine file. A routine instance will be stored in the system\n instance with the name being all lower case.\n\n For example, a routine for pow... | 614 | false | cuihantao/andes | routine_import | 20,485 | |
LDU_FT/SmartDeveloperHub/agora-service-provider/collect_fragment | LDU_FT | [
"<BEGIN>\n## `collect`",
"Decorator to attach a collector function to a triple pattern\n :param tp:\n :param args:\n :return:\n<END>",
"<BEGIN>\n## `add_triple_pattern`",
"0\n Manage the relations between triple patterns and collector functions\n :param tp:\n :param collector:\n :param ar... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect_fragment API.
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 collect_fragment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Execute a search plan for the declared graph pattern and sends all obtained triples to the corresponding
collector functions (config | "Execute a search plan for the declared graph pattern and sends all obtained triples to the corresponding\n collector functions (config" | 12 | false | SmartDeveloperHub/agora-service-provider | collect_fragment | 20,486 | |
LDU_FT/sporsh/carnifex/getGenericAnswers | LDU_FT | [
"<BEGIN>\n## `attr_string`",
"Build a string consisting of 'key=value' substrings for each keyword\n argument in :kwargs:",
" @param filterKeys: list of key names to ignore\n @param filterValues: list of values to ignore (e.g. None will ignore all\n key=value pairs that has that... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getGenericAnswers API.
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 getGenericAnswers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Called when the server requests keyboard interactive authentication | "Called when the server requests keyboard interactive authentication" | 61 | false | sporsh/carnifex | getGenericAnswers | 20,487 | |
LDU_FT/bennyrowland/suspect/frequency_axis_ppm | LDU_FT | [
"<BEGIN>\n## `write_all_files`",
"Creates an LCModel control file for processing the supplied MRSData, and\n optional water reference data, updating the default parameters with any\n values supplied through params.",
" :param filename: the location where the control file should be saved.\n :param da... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the frequency_axis_ppm 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 frequency_axis_ppm 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... | Returns an array of frequencies in PPM.
:return: | "Returns an array of frequencies in PPM.\n\n :return:" | 71 | false | bennyrowland/suspect | frequency_axis_ppm | 20,488 | |
LDU_FT/flatangle/flatlib/isFeral | LDU_FT | [
"<BEGIN>\n## `_roundSlist`",
"Rounds a signed list over the last element and removes it.\n<END>",
"<BEGIN>\n## `toFloat`",
"Converts string or signed list to float.\n<END>",
"<BEGIN>\n## `inDignities`",
"Returns the dignities of A which belong to B.\n<END>",
"<BEGIN>\n## `receives`",
"Returns the dign... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isFeral API.
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 isFeral API.
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 true if the object does not have any
aspects. | "Returns true if the object does not have any \n aspects." | 248 | false | flatangle/flatlib | isFeral | 20,489 | |
LDU_FT/wcember/pypub/save_image | LDU_FT | [
"<BEGIN>\n## `add_chapter`",
"Add a Chapter to your epub.",
" Args:\n c (Chapter): A Chapter object representing your chapter.",
" Raises:\n TypeError: Raised if a Chapter object isn't supplied to this\n method.\n<END>",
"<BEGIN>\n## `create_epub`",
"Crea... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_image API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_image API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Saves an online image from image_url to image_directory with the name image_name.
Returns the extension of the image saved, which is determined dynamically.
Args:
image_url (str): The url of the image.
image_directory (str): The directory to save the image in.
image_name (str): The file... | "Saves an online image from image_url to image_directory with the name image_name.\n Returns the extension of the image saved, which is determined dynamically.\n\n Args:\n image_url (str): The url of the image.\n image_directory (str): The directory to save the image in.\n image_name (str): T... | 49 | false | wcember/pypub | save_image | 20,490 | |
LDU_FT/limpyd/redis-limpyd-extensions/delete | LDU_FT | [
"<BEGIN>\n## `get_name_for`",
"Return the name for the current dynamic field, accepting a limpyd\n instance for the dynamic part\n<END>",
"<BEGIN>\n## `_attach_to_model`",
"Check that the model can handle dynamic fields\n<END>",
"<BEGIN>\n## `pattern`",
"Return the pattern used to check if a field ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | If a dynamic version, delete it the standard way and remove it from the
inventory, else delete all dynamic versions. | "If a dynamic version, delete it the standard way and remove it from the\n inventory, else delete all dynamic versions." | 46 | false | limpyd/redis-limpyd-extensions | delete | 20,491 | |
LDU_FT/gpagliuca/pyfas/PI_read | LDU_FT | [
"<BEGIN>\n## `extract_geometry`",
"It adds to self.geometries a specific geometry as (x, y)\n<END>",
"<BEGIN>\n## `to_excel`",
"Dump all the data to excel, fname and path can be passed as args\n<END>",
"<BEGIN>\n## `PI_read`",
"Read function for PI server. It has to be executed by python 32 bit.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the PI_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the PI_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... | Read function for PI server. It has to be executed by python 32 bit. | "Read function for PI server. It has to be executed by python 32 bit." | 32 | false | gpagliuca/pyfas | PI_read | 20,492 | |
LDU_FT/kgaughan/dbkit/execute | LDU_FT | [
"<BEGIN>\n## `strip_accents`",
"Strip accents to prepare for slugification.\n<END>",
"<BEGIN>\n## `slugify`",
"Converts the given string to a URL slug.\n<END>",
"<BEGIN>\n## `_make_connect`",
"Returns a function capable of making connections with a particular\n driver given the supplied credentials.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Execute a statement, returning a cursor. For internal use only. | "Execute a statement, returning a cursor. For internal use only." | 55 | false | kgaughan/dbkit | execute | 20,493 | |
LDU_FT/marshmallow-code/apispec/resolve_schema | LDU_FT | [
"<BEGIN>\n## `load_operations_from_docstring`",
"Return a dictionary of OpenAPI operations parsed from a\n a docstring.\n<END>",
"<BEGIN>\n## `resolve_schema_instance`",
"Return schema instance for given schema (instance or class)",
" :param type|Schema|str schema: instance, class or class name of mar... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_schema API.
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 resolve_schema API.
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... | Function to resolve a schema in a parameter or response - modifies the
corresponding dict to convert Marshmallow Schema object or class into dict
:param APISpec spec: `APISpec` containing refs.
:param dict|str data: either a parameter or response dictionary that may
contain a schema... | "Function to resolve a schema in a parameter or response - modifies the\n corresponding dict to convert Marshmallow Schema object or class into dict\n\n :param APISpec spec: `APISpec` containing refs.\n :param dict|str data: either a parameter or response dictionary that may\n contain a ... | 149 | false | marshmallow-code/apispec | resolve_schema | 20,494 | |
LDU_FT/fake-name/WebRequest/decode_headers | LDU_FT | [
"<BEGIN>\n## `getFileAndName`",
"Give a requested page (note: the arguments for this call are forwarded to getpage()),\n\t\treturn the content at the target URL and the filename for the target content as a\n\t\t2-tuple (pgctnt, hName) for the content at the target URL.",
"\t\tThe filename specified in the conte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_headers API.
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 decode_headers API.
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... | Decode a list of headers.
Takes a list of bytestrings, returns a list of unicode strings.
The character set for each bytestring is individually decoded. | "Decode a list of headers.\n\n\tTakes a list of bytestrings, returns a list of unicode strings.\n\tThe character set for each bytestring is individually decoded." | 66 | false | fake-name/WebRequest | decode_headers | 20,495 | |
LDU_FT/mfitzp/padua/plsr | LDU_FT | [
"<BEGIN>\n## `remove_rows_matching`",
"Return a ``DataFrame`` with rows where `column` values match `match` are removed.",
" The selected `column` series of values from the supplied Pandas ``DataFrame`` is compared\n to `match`, and those rows that match are removed from the DataFrame.",
" :param df:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plsr API.
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 plsr API.
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... | Partial Least Squares Regression Analysis, based on `sklearn.cross_decomposition.PLSRegression`
Performs a partial least squares regression (PLS-R) on the supplied dataframe ``df``
against the provided continuous variable ``v``, selecting the first ``n_components``.
For more information on PLS regression ... | "Partial Least Squares Regression Analysis, based on `sklearn.cross_decomposition.PLSRegression`\n\n Performs a partial least squares regression (PLS-R) on the supplied dataframe ``df``\n against the provided continuous variable ``v``, selecting the first ``n_components``.\n\n For more information on PLS regre... | 266 | false | mfitzp/padua | plsr | 20,496 | |
LDU_FT/reiinakano/xcessiv/export_as_code | LDU_FT | [
"<BEGIN>\n## `return_func_to_optimize`",
"Creates the function to be optimized by Bayes Optimization.",
" The function automatically handles the case of already existing base learners, and if\n no base learner for the hyperparameters exists yet, creates one and updates it in the\n usual way.",
" A... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_as_code API.
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 export_as_code API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Returns a string value that contains the Python code for the ensemble
Args:
cv_source (str, unicode): String containing actual code for base learner
cross-validation used to generate secondary meta-features.
Returns:
base_learner_code (str, unicode): String that... | "Returns a string value that contains the Python code for the ensemble\n\n Args:\n cv_source (str, unicode): String containing actual code for base learner\n cross-validation used to generate secondary meta-features.\n\n Returns:\n base_learner_code (str, unicode): Str... | 150 | false | reiinakano/xcessiv | export_as_code | 20,497 | |
LDU_FT/uber/tchannel-python/advertise | LDU_FT | [
"<BEGIN>\n## `should_retry_on_error`",
"rules for retry",
" :param error:\n ProtocolException that returns from Server\n<END>",
"<BEGIN>\n## `client_for`",
"Build a synchronous client class for the given Thrift service.",
" The generated class accepts a TChannelSyncClient and an optio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the advertise API.
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 advertise API.
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... | Advertise with Hyperbahn.
After a successful advertisement, Hyperbahn will establish long-lived
connections with your application. These connections are used to load
balance inbound and outbound requests to other applications on the
Hyperbahn network.
Re-advertisement happens p... | "Advertise with Hyperbahn.\n\n After a successful advertisement, Hyperbahn will establish long-lived\n connections with your application. These connections are used to load\n balance inbound and outbound requests to other applications on the\n Hyperbahn network.\n\n Re-advertisement h... | 422 | false | uber/tchannel-python | advertise | 20,498 | |
LDU_FT/radjkarl/fancyTools/polyFitIgnoringOutliers | LDU_FT | [
"<BEGIN>\n## `similarity1DdiffShapedArrays`",
"compare two strictly monotonous increasing 1d arrays\n of same or different size\n return a similarity index-> 0=identical\n<END>",
"<BEGIN>\n## `inverseHistogram`",
"sample data from given histogram and min, max values within range",
" Returns:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the polyFitIgnoringOutliers 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 polyFitIgnoringOutliers 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:
(np.poly1d): callable function of polynomial fit excluding all outliers
Args:
deg (int): degree of polynomial fit
n_iter (int): do linear regression n times
successive removing
nstd (float): exclude outliers, if their deviation
is > [nstd] *... | "Returns:\n (np.poly1d): callable function of polynomial fit excluding all outliers\n Args:\n deg (int): degree of polynomial fit\n n_iter (int): do linear regression n times\n successive removing\n nstd (float): exclude outliers, if their deviation\n is > ... | 210 | false | radjkarl/fancyTools | polyFitIgnoringOutliers | 20,499 | |
LDU_FT/sbg/sevenbridges-python/remove | LDU_FT | [
"<BEGIN>\n## `query`",
"Query (List) tasks. Date parameters may be both strings and python date\n objects.\n :param project: Target project. optional.\n :param status: Task status.\n :param batch: Only batch tasks.\n :param parent: Parent batch task identifier.\n :param e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Remove a member from the automation.
:param user: Member username
:param automation: Automation id
:param api: sevenbridges Api instance
:return: None | "Remove a member from the automation.\n :param user: Member username\n :param automation: Automation id\n :param api: sevenbridges Api instance\n :return: None" | 292 | false | sbg/sevenbridges-python | remove | 20,500 | |
LDU_FT/cloudnull/cloudlib/dict_update | LDU_FT | [
"<BEGIN>\n## `getLogger`",
"Return a logger from a given name.",
" If the name does not have a log handler, this will create one for it based\n on the module name which will log everything to a log file in a location\n the executing user will have access to.",
" :param name: ``str``\n :return: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dict_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dict_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 extra... | Return an updated dictionary.
If ``update_dict`` is a dictionary it will be used to update the `
`base_dict`` which is then returned.
:param request_kwargs: ``dict``
:param kwargs: ``dict``
:return: ``dict`` | "Return an updated dictionary.\n\n If ``update_dict`` is a dictionary it will be used to update the `\n `base_dict`` which is then returned.\n\n :param request_kwargs: ``dict``\n :param kwargs: ``dict``\n :return: ``dict``" | 136 | false | cloudnull/cloudlib | dict_update | 20,501 | |
LDU_FT/Karaage-Cluster/python-tldap/str2dn | LDU_FT | [
"<BEGIN>\n## `check_password`",
"Check a plaintext password against a hashed password.\n<END>",
"<BEGIN>\n## `reset`",
"Reset transaction back to original state, discarding all\n uncompleted transactions.\n<END>",
"<BEGIN>\n## `_cache_get_for_dn`",
"Object state is cached. When an update is require... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the str2dn API.
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 str2dn API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | This function takes a DN as string as parameter and returns
a decomposed DN. It's the inverse to dn2str().
flags describes the format of the dn
See also the OpenLDAP man-page ldap_str2dn(3) | "This function takes a DN as string as parameter and returns\n a decomposed DN. It's the inverse to dn2str().\n\n flags describes the format of the dn\n\n See also the OpenLDAP man-page ldap_str2dn(3)" | 151 | false | Karaage-Cluster/python-tldap | str2dn | 20,502 | |
LDU_FT/skoczen/will/what_time_is_it | LDU_FT | [
"<BEGIN>\n## `talk_back`",
"that's what she said: Tells you some things she actually said. :)\n<END>",
"<BEGIN>\n## `auto_key`",
"This method attempts to auto-generate a unique cryptographic key based on the hardware ID.\n It should *NOT* be used in production, or to replace a proper key, but it can help g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the what_time_is_it API.
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 what_time_is_it API.
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... | what time is it: Say the time where I am. | "what time is it: Say the time where I am." | 40 | false | skoczen/will | what_time_is_it | 20,503 | |
LDU_FT/yueyoum/social-oauth/iter_headers | LDU_FT | [
"<BEGIN>\n## `cookie_encode`",
"Encode and sign a pickle-able object. Return a (byte) string\n<END>",
"<BEGIN>\n## `cookie_decode`",
"Verify and decode an encoded string. Return an object or None.\n<END>",
"<BEGIN>\n## `load`",
"Import a module or fetch an object from a module.",
" * ``package.mo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_headers API.
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 iter_headers API.
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... | Yield (header, value) tuples, skipping headers that are not
allowed with the current response status code. | "Yield (header, value) tuples, skipping headers that are not\n allowed with the current response status code." | 63 | false | yueyoum/social-oauth | iter_headers | 20,504 | |
LDU_FT/leovt/constructible/_try_sqrt | LDU_FT | [
"<BEGIN>\n## `isqrt`",
"given a non-negative integer n, return a pair (a,b) such that n = a * a * b\n where b is a square-free integer.",
" If n is a perfect square, then a is its square root and b is one.\n<END>",
"<BEGIN>\n## `fsqrt`",
"given a non-negative fraction q, return a pair (a,b) su... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _try_sqrt API.
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 _try_sqrt API.
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... | try to compute the square root in the field itself.
if there is no square root in the field return None. | "try to compute the square root in the field itself.\n\n if there is no square root in the field return None." | 13 | false | leovt/constructible | _try_sqrt | 20,505 | |
LDU_FT/cdeboever3/cdpybio/ld_prune | LDU_FT | [
"<BEGIN>\n## `get_region_nt_counts`",
"Get counts of each nucleotide from a bam file for a given region. If R1 and\n R2 reads both overlap a position, only one count will be added. If the R1\n and R2 reads disagree at a position they both overlap, that read pair is not\n used for that position. Can opti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ld_prune API.
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 ld_prune API.
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... | Prune set of GWAS based on LD and significance. A graph of all SNVs is
constructed with edges for LD >= 0.8 and the most significant SNV per
connected component is kept.
Parameters
----------
df : pandas.DataFrame
Pandas dataframe with unique SNVs. The index is of the form chrom:pos
... | "Prune set of GWAS based on LD and significance. A graph of all SNVs is\n constructed with edges for LD >= 0.8 and the most significant SNV per\n connected component is kept. \n \n Parameters\n ----------\n df : pandas.DataFrame\n Pandas dataframe with unique SNVs. The index is of the form chro... | 387 | false | cdeboever3/cdpybio | ld_prune | 20,506 | |
LDU_FT/pymoca/pymoca/annotate_states | LDU_FT | [
"<BEGIN>\n## `call`",
"Convenience method for calling methods with walker.\n<END>",
"<BEGIN>\n## `der`",
"Get the derivative of the variable, create it if it doesn't exist.\n<END>",
"<BEGIN>\n## `log`",
"Convenience function for printing indenting debug output.\n<END>",
"<BEGIN>\n## `flatten_component_r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the annotate_states API.
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 annotate_states API.
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... | Finds all derivative expressions and annotates all differentiated
symbols as states by adding state the prefix list
:param node: node of tree to walk
:return: | "Finds all derivative expressions and annotates all differentiated\n symbols as states by adding state the prefix list\n :param node: node of tree to walk\n :return:" | 61 | false | pymoca/pymoca | annotate_states | 20,507 | |
LDU_FT/mehmetg/streak_client/to_dict | LDU_FT | [
"<BEGIN>\n## `_get_req_fp`",
"Decisions on what verb to use and content headers happen here\n\t\tArgs:\n\t\t\top \t\t\ta string specifying a http verb\n<END>",
"<BEGIN>\n## `_req`",
"HTTP reequest wrapper with data packaging fucntionality\n\t\tArgs:\n\t\t\top \t\t\thttp verb in str\n\t\t\turi \t\taddress of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_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 extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_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 extracted... | Returns relevant attributes as a dict.
Args:
rw if True only returns the read/write enabled object attributes | "Returns relevant attributes as a dict.\n\t\tArgs:\n\t\t\trw \t\t\tif True only returns the read/write enabled object attributes" | 90 | false | mehmetg/streak_client | to_dict | 20,508 | |
LDU_FT/cstockton/py-gensend/ipglob | LDU_FT | [
"<BEGIN>\n## `_dict_if`",
"Returns the arguments in the list joined by STR.\n IF:CONDITION,DO,ELSE",
" %{IF:False,'IS TRUE'} -> ''\n %{IF:True,'IS TRUE', 'NOT TRUE'} -> 'NOT TRUE'\n<END>",
"<BEGIN>\n## `_dict_repeat`",
"Do a thing N times\n REPEAT:N,DO",
" %{REPE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ipglob API.
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 ipglob API.
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 random address from within the given ip global
https://pythonhosted.org/netaddr/api.html#ip-glob-ranges
IPGLOB:GLOB
%{IPGLOB:*.*.*.*} -> '' | "Returns a random address from within the given ip global\n https://pythonhosted.org/netaddr/api.html#ip-glob-ranges\n IPGLOB:GLOB\n\n %{IPGLOB:*.*.*.*} -> ''" | 30 | false | cstockton/py-gensend | ipglob | 20,509 | |
LDU_FT/nerdvegas/rez/late | LDU_FT | [
"<BEGIN>\n## `add_node`",
"Add given node to the graph.",
" @attention: While nodes can be of any type, it's strongly recommended to use only\n numbers and single-line strings as node identifiers if you intend to use write().",
" @type node: node\n @param node: Node identifier.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the late API.
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 late API.
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... | Used by functions in package.py that are evaluated lazily.
The term 'late' refers to the fact these package attributes are evaluated
late, ie when the attribute is queried for the first time.
If you want to implement a package.py attribute as a function, you MUST use
this decorator - otherwise it is u... | "Used by functions in package.py that are evaluated lazily.\n\n The term 'late' refers to the fact these package attributes are evaluated\n late, ie when the attribute is queried for the first time.\n\n If you want to implement a package.py attribute as a function, you MUST use\n this decorator - otherwise ... | 2,330 | true | nerdvegas/rez | late | 20,510 | |
LDU_FT/Azure/azure-multiapi-storage-python/create_table | LDU_FT | [
"<BEGIN>\n## `_extract_encryption_metadata`",
"Extracts the encryption metadata from the given entity, setting them to be utf-8 strings.\n If no encryption metadata is present, will return None for all return values unless\n require_encryption is true, in which case the method will throw.",
" :param en... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_table API.
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 create_table API.
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... | Creates a new table in the storage account.
:param str table_name:
The name of the table to create. The table name may contain only
alphanumeric characters and cannot begin with a numeric character.
It is case-insensitive and must be from 3 to 63 characters long.
:pa... | "Creates a new table in the storage account.\n\n :param str table_name:\n The name of the table to create. The table name may contain only\n alphanumeric characters and cannot begin with a numeric character.\n It is case-insensitive and must be from 3 to 63 characters long.\n ... | 364 | false | Azure/azure-multiapi-storage-python | create_table | 20,511 | |
LDU_FT/inasafe/inasafe/extract_zip | LDU_FT | [
"<BEGIN>\n## `dict`",
"dictionary representation of the metadata.",
" :return: dictionary representation of the metadata\n :rtype: dict\n<END>",
"<BEGIN>\n## `xml`",
"xml representation of the metadata.",
" :return: xml representation of the metadata\n :rtype: ElementTree.Eleme... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_zip API.
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 extract_zip API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Extract different extensions to the destination base path.
Example : test.zip contains a.shp, a.dbf, a.prj
and destination_base_path = '/tmp/CT-buildings
Expected result :
- /tmp/CT-buildings.shp
- /tmp/CT-buildings.dbf
- /tmp/CT-buildings.prj
If two files in the zip with the s... | "Extract different extensions to the destination base path.\n\n Example : test.zip contains a.shp, a.dbf, a.prj\n and destination_base_path = '/tmp/CT-buildings\n Expected result :\n - /tmp/CT-buildings.shp\n - /tmp/CT-buildings.dbf\n - /tmp/CT-buildings.prj\n\n If two files in the zip ... | 4,163 | true | inasafe/inasafe | extract_zip | 20,512 | |
LDU_FT/pytries/DAWG-Python/similar_keys | LDU_FT | [
"<BEGIN>\n## `similar_keys`",
"Returns all variants of ``key`` in this DAWG according to\n ``replaces``.",
" ``replaces`` is an object obtained from\n ``DAWG.compile_replaces(mapping)`` where mapping is a dict\n that maps single-char unicode sitrings to another single-char\n u... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the similar_keys API.
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 similar_keys API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns all variants of ``key`` in this DAWG according to
``replaces``.
``replaces`` is an object obtained from
``DAWG.compile_replaces(mapping)`` where mapping is a dict
that maps single-char unicode sitrings to another single-char
unicode strings.
This may be useful e... | "Returns all variants of ``key`` in this DAWG according to\n ``replaces``.\n\n ``replaces`` is an object obtained from\n ``DAWG.compile_replaces(mapping)`` where mapping is a dict\n that maps single-char unicode sitrings to another single-char\n unicode strings.\n\n This may be... | 16 | false | pytries/DAWG-Python | similar_keys | 20,513 | |
LDU_FT/LISE-B26/pylabcontrol/plot_clicked | LDU_FT | [
"<BEGIN>\n## `instantiate_probes`",
"Creates instances of the probes inputed;",
" Args:\n probes: probes is a nested dictionary with\n (key, sub_dict ) = (name of the probe, {'probe_name': value_probe, 'instrument_name': value_inst}),\n where value_probe is a valid name of a pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_clicked API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_clicked API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | gets activated when the user clicks on a plot
Args:
mouse_event: | "gets activated when the user clicks on a plot\n Args:\n mouse_event:" | 301 | false | LISE-B26/pylabcontrol | plot_clicked | 20,514 | |
LDU_FT/cloudera/cm_api/enable_hdfs_auto_failover | LDU_FT | [
"<BEGIN>\n## `set_basic_auth`",
"Set up basic auth for the client\n @param username: Login name.\n @param password: Login password.\n @param realm: The authentication realm.\n @return: The current object\n<END>",
"<BEGIN>\n## `execute`",
"Submit an HTTP request.\n @param http_method: GET, POST,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enable_hdfs_auto_failover 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 enable_hdfs_auto_failover API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Enable auto-failover for an HDFS nameservice.
This command is no longer supported with API v6 onwards. Use enable_nn_ha instead.
@param nameservice: Nameservice for which to enable auto-failover.
@param active_fc_name: Name of failover controller to create for active node.
@param standby_fc_name: Name ... | "Enable auto-failover for an HDFS nameservice.\n This command is no longer supported with API v6 onwards. Use enable_nn_ha instead.\n\n @param nameservice: Nameservice for which to enable auto-failover.\n @param active_fc_name: Name of failover controller to create for active node.\n @param standby_fc_name:... | 561 | false | cloudera/cm_api | enable_hdfs_auto_failover | 20,515 | |
LDU_FT/data-8/datascience/_with_columns | LDU_FT | [
"<BEGIN>\n## `_is_array_integer`",
"Returns True if an array contains integers (integer type or near-int\n float values) and False otherwise.",
" >>> _is_array_integer(np.arange(10))\n True\n >>> _is_array_integer(np.arange(7.0, 20.0, 1.0))\n True\n >>> _is_array_integer(np.arange(0, 1, 0.1))\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _with_columns API.
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 _with_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Create a table from a sequence of columns, copying column labels. | "Create a table from a sequence of columns, copying column labels." | 401 | false | data-8/datascience | _with_columns | 20,516 | |
LDU_FT/pycampers/ampy/ls | LDU_FT | [
"<BEGIN>\n## `ls`",
"List the contents of the specified directory (or root if none is\n specified). Returns a list of strings with the names of files in the\n specified directory. If long_format is True then a list of 2-tuples\n with the name and size (in bytes) of the item is returned. No... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ls API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ls API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | List the contents of the specified directory (or root if none is
specified). Returns a list of strings with the names of files in the
specified directory. If long_format is True then a list of 2-tuples
with the name and size (in bytes) of the item is returned. Note that
it appears the... | "List the contents of the specified directory (or root if none is\n specified). Returns a list of strings with the names of files in the\n specified directory. If long_format is True then a list of 2-tuples\n with the name and size (in bytes) of the item is returned. Note that\n it appear... | 63 | false | pycampers/ampy | ls | 20,517 | |
LDU_FT/runfalk/spans/fix_timedelta_repr | LDU_FT | [
"<BEGIN>\n## `format_sec`",
"Format seconds in a more human readable way. It supports units down to\n nanoseconds.",
" :param s: Float of seconds to format\n :return: String second representation, like 12.4 us\n<END>",
"<BEGIN>\n## `fix_timedelta_repr`",
"Account repr change for timedelta in Python... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fix_timedelta_repr 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 fix_timedelta_repr 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... | Account repr change for timedelta in Python 3.7 and above in docstrings.
This is needed to make some doctests pass on Python 3.7 and above. This
change was introduced by `bpo-30302 <https://bugs.python.org/issue30302>`_ | "Account repr change for timedelta in Python 3.7 and above in docstrings.\n\n This is needed to make some doctests pass on Python 3.7 and above. This\n change was introduced by `bpo-30302 <https://bugs.python.org/issue30302>`_" | 137 | false | runfalk/spans | fix_timedelta_repr | 20,518 | |
LDU_FT/mapbox/mapbox-sdk-py/metadata | LDU_FT | [
"<BEGIN>\n## `_geom_points`",
"GeoJSON geometry to a sequence of point tuples\n<END>",
"<BEGIN>\n## `read_points`",
"Iterable of features to a sequence of point tuples\n Where \"features\" can be either GeoJSON mappings\n or objects implementing the geo_interface\n<END>",
"<BEGIN>\n## `encode_waypoint... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the metadata API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the metadata API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns TileJSON metadata for a tileset.
Parameters
----------
map_id : str
The map's unique identifier in the format username.id.
secure : bool, optional
The representation of the requested resources,
where True indicates representation as HTTPS en... | "Returns TileJSON metadata for a tileset.\n\n Parameters\n ----------\n map_id : str\n The map's unique identifier in the format username.id.\n\n secure : bool, optional\n The representation of the requested resources, \n where True indicates representation a... | 212 | false | mapbox/mapbox-sdk-py | metadata | 20,519 | |
LDU_FT/open-homeautomation/pknx/from_body | LDU_FT | [
"<BEGIN>\n## `ip_to_array`",
"Convert a string representing an IPv4 address to 4 bytes.\n<END>",
"<BEGIN>\n## `int_to_array`",
"Convert an length byte integer to an array of bytes.\n<END>",
"<BEGIN>\n## `parse_group_address`",
"Parse KNX group addresses and return the address as an integer.",
" This ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_body API.
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_body API.
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... | Create a new CEMIMessage initialized from the given CEMI data. | "Create a new CEMIMessage initialized from the given CEMI data." | 80 | false | open-homeautomation/pknx | from_body | 20,520 | |
LDU_FT/pydsigner/taskit/send_signal | LDU_FT | [
"<BEGIN>\n## `_wait`",
"Based upon an extract from threading.Condition().wait(). Immediately \n tries to acquire the lock, and then sleeps for a period of time (going \n 1/2ms..1ms..2ms..4ms...50ms..50ms), repeating until the lock is \n acquired or the timeout limit is reached.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_signal API.
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 send_signal API.
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... | Sends the `signal` signal to `backend`. Raises ValueError if `backend`
is not registered with the client. Returns the result. | "Sends the `signal` signal to `backend`. Raises ValueError if `backend` \n is not registered with the client. Returns the result." | 59 | false | pydsigner/taskit | send_signal | 20,521 | |
LDU_FT/gmr/helper/process_signal | LDU_FT | [
"<BEGIN>\n## `operating_system`",
"Return a string identifying the operating system the application\n is running on.",
" :rtype: str\n<END>",
"<BEGIN>\n## `start`",
"Daemonize if the process is not already running.\n<END>",
"<BEGIN>\n## `gid`",
"Return the group id that the daemon will run with",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_signal API.
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 process_signal API.
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... | Invoked whenever a signal is added to the stack.
:param int signum: The signal that was added | "Invoked whenever a signal is added to the stack.\n\n :param int signum: The signal that was added" | 77 | false | gmr/helper | process_signal | 20,522 | |
LDU_FT/Nike-Inc/cerberus-python-client/_get_v4_signed_headers | LDU_FT | [
"<BEGIN>\n## `throw_if_bad_response`",
"Throw an exception if the Cerberus response is not successful.\n<END>",
"<BEGIN>\n## `_add_slash`",
"if a string doesn't end in a '/' add one\n<END>",
"<BEGIN>\n## `_set_token`",
"Set the Cerberus token based on auth type\n<END>",
"<BEGIN>\n## `get_roles`",
"Ret... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_v4_signed_headers 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_v4_signed_headers 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 V4 signed get-caller-identity request headers | "Returns V4 signed get-caller-identity request headers" | 86 | false | Nike-Inc/cerberus-python-client | _get_v4_signed_headers | 20,523 | |
LDU_FT/ReadabilityHoldings/python-readability-api/_generate_url | LDU_FT | [
"<BEGIN>\n## `cast_datetime_filter`",
"Cast a datetime filter value.",
" :param value: string representation of a value that needs to be casted to\n a `datetime` object.\n<END>",
"<BEGIN>\n## `filter_args_to_dict`",
"Cast and validate filter args.",
" :param filter_dict: Filter kwargs\n :p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Build the url to resource.
:param resource: Name of the resource that is being called. Options are
`''` (empty string) for root resource, `'parser'`, `'confidence'`.
:param query_params: Data to be passed as query parameters. | "Build the url to resource.\n\n :param resource: Name of the resource that is being called. Options are\n `''` (empty string) for root resource, `'parser'`, `'confidence'`.\n :param query_params: Data to be passed as query parameters." | 83 | false | ReadabilityHoldings/python-readability-api | _generate_url | 20,524 | |
LDU_FT/ipfs/py-ipfs-api/stream_bytes | LDU_FT | [
"<BEGIN>\n## `parse`",
"Returns a Python object decoded from the bytes of this encoding.",
" Raises\n ------\n ~ipfsapi.exceptions.DecodingError",
" Parameters\n ----------\n raw : bytes\n Data to be parsed",
" Returns\n -------\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stream_bytes API.
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 stream_bytes API.
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... | Gets a buffered generator for streaming binary data.
Returns a buffered generator which encodes binary data as
:mimetype:`multipart/form-data` with the corresponding headers.
Parameters
----------
data : bytes
The data bytes to stream
chunk_size : int
The maximum size of each s... | "Gets a buffered generator for streaming binary data.\n\n Returns a buffered generator which encodes binary data as\n :mimetype:`multipart/form-data` with the corresponding headers.\n\n Parameters\n ----------\n data : bytes\n The data bytes to stream\n chunk_size : int\n The maximum siz... | 499 | false | ipfs/py-ipfs-api | stream_bytes | 20,525 | |
LDU_FT/alorence/django-modern-rpc/available_for_entry_point | LDU_FT | [
"<BEGIN>\n## `_generic_convert_string`",
"Generic method to convert any argument type (string type, list, set, tuple, dict) to an equivalent,\n with string values converted to given 'to_type' (str or unicode).\n This method must be used with Python 2 interpreter only.",
" :param v: The value to convert... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the available_for_entry_point 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 available_for_entry_point API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Check if the current function can be executed from a request to the given entry point | "Check if the current function can be executed from a request to the given entry point" | 86 | false | alorence/django-modern-rpc | available_for_entry_point | 20,526 | |
LDU_FT/lexich/yandex-disk-webdav/upload | LDU_FT | [
"<BEGIN>\n## `_`",
"Normalize path to unicode\n :param path: path\n :return: normalize path",
" >>> _(None)\n u''\n >>> _(u(\"test1\"))\n u'test1'\n >>> _(\"test2\")\n u'test2'\n<END>",
"<BEGIN>\n## `remote`",
"Normalize remote href\n :param href: remote path\n :return: normali... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload API.
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 upload API.
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 ... | Upload file from localpath to remote server
:param localpath: local path
:param href: remote path
:return: response | "Upload file from localpath to remote server\n :param localpath: local path\n :param href: remote path\n :return: response" | 16 | false | lexich/yandex-disk-webdav | upload | 20,527 | |
LDU_FT/Julian/jsonschema/_generate_legacy_type_checks | LDU_FT | [
"<BEGIN>\n## `load_schema`",
"Load a schema from ./schemas/``name``.json and return it.\n<END>",
"<BEGIN>\n## `find_additional_properties`",
"Return the set of additional properties for the given ``instance``.",
" Weeds out properties that should have been validated by ``properties`` and\n / or ``patt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_legacy_type_checks 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 _generate_legacy_type_checks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Generate newer-style type checks out of JSON-type-name-to-type mappings.
Arguments:
types (dict):
A mapping of type names to their Python types
Returns:
A dictionary of definitions to pass to `TypeChecker` | "Generate newer-style type checks out of JSON-type-name-to-type mappings.\n\n Arguments:\n\n types (dict):\n\n A mapping of type names to their Python types\n\n Returns:\n\n A dictionary of definitions to pass to `TypeChecker`" | 181 | false | Julian/jsonschema | _generate_legacy_type_checks | 20,528 | |
LDU_FT/bwesterb/py-seccure/deserialize_number | LDU_FT | [
"<BEGIN>\n## `serialize_number`",
"Serializes `x' to a string of length `outlen' in format `fmt'\n<END>",
"<BEGIN>\n## `deserialize_number`",
"Deserializes a number from a string `s' in format `fmt'\n<END>",
"<BEGIN>\n## `mod_issquare`",
"Returns whether `a' is a square modulo p\n<END>",
"<BEGIN>\n## `d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deserialize_number 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 deserialize_number 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... | Deserializes a number from a string `s' in format `fmt' | "Deserializes a number from a string `s' in format `fmt'" | 22 | false | bwesterb/py-seccure | deserialize_number | 20,529 | |
LDU_FT/reiinakano/xcessiv/get_sample_dataset | LDU_FT | [
"<BEGIN>\n## `return_func_to_optimize`",
"Creates the function to be optimized by Bayes Optimization.",
" The function automatically handles the case of already existing base learners, and if\n no base learner for the hyperparameters exists yet, creates one and updates it in the\n usual way.",
" A... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sample_dataset 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_sample_dataset 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... | Returns sample dataset
Args:
dataset_properties (dict): Dictionary corresponding to the properties of the dataset
used to verify the estimator and metric generators.
Returns:
X (array-like): Features array
y (array-like): Labels array
splits (iterator): This is an... | "Returns sample dataset\n\n Args:\n dataset_properties (dict): Dictionary corresponding to the properties of the dataset\n used to verify the estimator and metric generators.\n\n Returns:\n X (array-like): Features array\n\n y (array-like): Labels array\n\n splits (iterator)... | 150 | false | reiinakano/xcessiv | get_sample_dataset | 20,530 | |
LDU_FT/pydsigner/taskit/_work | LDU_FT | [
"<BEGIN>\n## `_wait`",
"Based upon an extract from threading.Condition().wait(). Immediately \n tries to acquire the lock, and then sleeps for a period of time (going \n 1/2ms..1ms..2ms..4ms...50ms..50ms), repeating until the lock is \n acquired or the timeout limit is reached.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _work API.
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 _work API.
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... | Centralized task worker code. Used internally, see send_signal() and
work() for the external interfaces. | "Centralized task worker code. Used internally, see send_signal() and \n work() for the external interfaces." | 59 | false | pydsigner/taskit | _work | 20,531 | |
LDU_FT/RI-imaging/qpformat/get_time | LDU_FT | [
"<BEGIN>\n## `qpinfo`",
"Print information of a quantitative phase imaging dataset\n<END>",
"<BEGIN>\n## `_get_cropped_file_names`",
"self.files with common path prefix/suffix removed\n<END>",
"<BEGIN>\n## `_identifier_data`",
"Return a unique identifier for the folder data\n<END>",
"<BEGIN>\n## `_searc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Time of the TIFF file
Currently, only the file modification time is supported.
Note that the modification time of the TIFF file is
dependent on the file system and may have temporal
resolution as low as 3 seconds. | "Time of the TIFF file\n\n Currently, only the file modification time is supported.\n Note that the modification time of the TIFF file is\n dependent on the file system and may have temporal\n resolution as low as 3 seconds." | 93 | false | RI-imaging/qpformat | get_time | 20,532 | |
LDU_FT/HewlettPackard/python-hpOneView/get_aggregated | LDU_FT | [
"<BEGIN>\n## `get_visual_content`",
"Gets a list of visual content objects describing each rack within the data center. The response aggregates data\n center and rack data with a specified metric (peak24HourTemp) to provide simplified access to display data for\n the data center.",
" Args:\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_aggregated API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_aggregated API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Gets a list of index resources based on optional sorting and filtering and is constrained by start
and count parameters.
Args:
attribute (list or str):
Attribute to pass in as query filter.
category (str):
Category of resources. Multiple Category ... | "Gets a list of index resources based on optional sorting and filtering and is constrained by start\n and count parameters.\n\n Args:\n attribute (list or str):\n Attribute to pass in as query filter.\n category (str):\n Category of resources. Multiple C... | 1,297 | true | HewlettPackard/python-hpOneView | get_aggregated | 20,533 | |
LDU_FT/ethereum/eth-account/recoverHash | LDU_FT | [
"<BEGIN>\n## `encrypt`",
"Generate a string with the encrypted key, as in\n :meth:`~eth_account.account.Account.encrypt`, but without a private key argument.\n<END>",
"<BEGIN>\n## `defunct_hash_message`",
"Convert the provided message into a message hash, to be signed.\n This provides the same prefi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the recoverHash API.
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 recoverHash API.
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... | Get the address of the account that signed the message with the given hash.
You must specify exactly one of: vrs or signature
:param message_hash: the hash of the message that you want to verify
:type message_hash: hex str or bytes or int
:param vrs: the three pieces generated by an ell... | "Get the address of the account that signed the message with the given hash.\n You must specify exactly one of: vrs or signature\n\n :param message_hash: the hash of the message that you want to verify\n :type message_hash: hex str or bytes or int\n :param vrs: the three pieces generated by ... | 92 | false | ethereum/eth-account | recoverHash | 20,534 | |
LDU_FT/chrismattmann/tika-python/from_file | LDU_FT | [
"<BEGIN>\n## `from_file`",
"Parses a file for metadata and content\n :param filename: path to file which needs to be parsed\n :param serverEndpoint: Server endpoint url\n :param xmlContent: Whether or not XML content be requested.\n Default is 'False', which results in text content.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Traslates the content of source file to destination language
:param filename: file whose contents needs translation
:param srcLang: name of language of input file
:param destLang: name of language of desired language
:param serverEndpoint: Tika server end point (Optional)
:return: translated content | "Traslates the content of source file to destination language\n :param filename: file whose contents needs translation\n :param srcLang: name of language of input file\n :param destLang: name of language of desired language\n :param serverEndpoint: Tika server end point (Optional)\n :return: translated c... | 54 | false | chrismattmann/tika-python | from_file | 20,535 | |
LDU_FT/volafiled/python-volapi/from_data | LDU_FT | [
"<BEGIN>\n## `register_callback`",
"Register callback that we will have to wait for\n<END>",
"<BEGIN>\n## `_handle_callback`",
"Handle lain's callback. Only used with getFileinfo so far\n<END>",
"<BEGIN>\n## `_handle_config`",
"Handle initial config push and config changes\n<END>",
"<BEGIN>\n## `find_ve... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Construct a ChatMessage instance from raw protocol data | "Construct a ChatMessage instance from raw protocol data" | 78 | false | volafiled/python-volapi | from_data | 20,536 | |
LDU_FT/alefnula/tea/mkzip | LDU_FT | [
"<BEGIN>\n## `smart_text`",
"Return a unicode object representing 's'.\r",
" Treats bytes using the 'encoding' codec.\r",
" If strings_only is True, don't convert (some) non-string-like objects.\n<END>",
"<BEGIN>\n## `smart_bytes`",
"Return a bytes version of 's' encoded as specified in 'encoding'.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mkzip API.
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 mkzip API.
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... | Recursively zip a directory.
Args:
archive (zipfile.ZipFile or str): ZipFile object add to or path to the
output zip archive.
items (str or list of str): Single item or list of items (files and
directories) to be added to zipfile.
mode (str): w for create new and wri... | "Recursively zip a directory.\n\n Args:\n archive (zipfile.ZipFile or str): ZipFile object add to or path to the\n output zip archive.\n items (str or list of str): Single item or list of items (files and\n directories) to be added to zipfile.\n mode (str): w for create new... | 240 | false | alefnula/tea | mkzip | 20,537 | |
LDU_FT/ttinies/sc2gameMapRepo/filterMapAttrs | LDU_FT | [
"<BEGIN>\n## `filterMapAttrs`",
"matches available maps if their attributes match as specified\n<END>",
"<BEGIN>\n## `matchRecordAttrs`",
"attempt to match given attributes against a single map object's attributes\n<END>",
"<BEGIN>\n## `filterMapNames`",
"matches each record against regexText according to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filterMapAttrs API.
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 filterMapAttrs API.
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... | matches available maps if their attributes match as specified | "matches available maps if their attributes match as specified" | 10 | false | ttinies/sc2gameMapRepo | filterMapAttrs | 20,538 | |
LDU_FT/cloudendpoints/endpoints-python/_set_bearer_user_vars | 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 _set_bearer_user_vars 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_bearer_user_vars API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Validate the oauth bearer token and set endpoints auth user variables.
If the bearer token is valid, this sets ENDPOINTS_USE_OAUTH_SCOPE. This
provides enough information that our endpoints.get_current_user() function
can get the user.
Args:
allowed_client_ids: List of client IDs that are acceptable.
... | "Validate the oauth bearer token and set endpoints auth user variables.\n\n If the bearer token is valid, this sets ENDPOINTS_USE_OAUTH_SCOPE. This\n provides enough information that our endpoints.get_current_user() function\n can get the user.\n\n Args:\n allowed_client_ids: List of client IDs that are accepta... | 801 | false | cloudendpoints/endpoints-python | _set_bearer_user_vars | 20,539 | |
LDU_FT/openstax/cnx-epub/_parse_references | LDU_FT | [
"<BEGIN>\n## `squash_xml_to_text`",
"Squash the given XML element (as `elm`) to a text containing XML.\n The outer most element/tag will be removed, but inner elements will\n remain. If `remove_namespaces` is specified, XML namespace declarations\n will be removed from the text.",
" :param elm: XML ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_references API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_references API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Parse the references to ``Reference`` instances. | "Parse the references to ``Reference`` instances." | 67 | false | openstax/cnx-epub | _parse_references | 20,540 | |
LDU_FT/mlenzen/collections-extended/delete | LDU_FT | [
"<BEGIN>\n## `get`",
"Return value with given key or index.",
"\t\tIf no value is found, return d (None by default).\n<END>",
"<BEGIN>\n## `pop`",
"Remove and return value with given key or index (last item by default).",
"\t\tIf key is not found, returns d if given,\n\t\totherwise raises KeyError or Inde... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Delete the range from start to stop from self.
Raises:
KeyError: If part of the passed range isn't mapped. | "Delete the range from start to stop from self.\n\n\t\tRaises:\n\t\t\tKeyError: If part of the passed range isn't mapped." | 104 | false | mlenzen/collections-extended | delete | 20,541 | |
LDU_FT/ninuxorg/nodeshot/user_deleted | LDU_FT | [
"<BEGIN>\n## `get_formset`",
"Load Synchronizer schema to display specific fields in admin\n<END>",
"<BEGIN>\n## `public_broadcaster`",
"Thread which runs in parallel and constantly checks for new messages\n in the public pipe and broadcasts them publicly to all connected clients.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_deleted API.
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 user_deleted API.
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... | collect metrics about new users signing up | "collect metrics about new users signing up" | 261 | false | ninuxorg/nodeshot | user_deleted | 20,542 | |
LDU_FT/spencerahill/aospy/_preprocess_and_rename_grid_attrs | LDU_FT | [
"<BEGIN>\n## `_preprocess_and_rename_grid_attrs`",
"Call a custom preprocessing method first then rename grid attrs.",
" This wrapper is needed to generate a single function to pass to the\n ``preprocesss`` of xr.open_mfdataset. It makes sure that the\n user-specified preprocess function is called on ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _preprocess_and_rename_grid_attrs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _preprocess_and_rename_grid_attrs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | Call a custom preprocessing method first then rename grid attrs.
This wrapper is needed to generate a single function to pass to the
``preprocesss`` of xr.open_mfdataset. It makes sure that the
user-specified preprocess function is called on the loaded Dataset before
aospy's is applied. An example fo... | "Call a custom preprocessing method first then rename grid attrs.\n\n This wrapper is needed to generate a single function to pass to the\n ``preprocesss`` of xr.open_mfdataset. It makes sure that the\n user-specified preprocess function is called on the loaded Dataset before\n aospy's is applied. An exam... | 323 | false | spencerahill/aospy | _preprocess_and_rename_grid_attrs | 20,543 | |
LDU_FT/curious-containers/cc-core/prepare_outdir | LDU_FT | [
"<BEGIN>\n## `brief_exception_text`",
"Returns the Exception class and the message of the exception as string.",
" :param exception: The exception to format\n :param secret_values: Values to hide in output\n<END>",
"<BEGIN>\n## `print_exception`",
"Prints the exception message and the name of the exce... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare_outdir API.
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 prepare_outdir API.
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... | Creates the output directory if not existing.
If outdir is None or if no output_files are provided nothing happens.
:param outdir: The output directory to create. | "Creates the output directory if not existing.\n If outdir is None or if no output_files are provided nothing happens.\n\n :param outdir: The output directory to create." | 96 | false | curious-containers/cc-core | prepare_outdir | 20,544 | |
LDU_FT/timothycrosley/isort/_load_mapping | LDU_FT | [
"<BEGIN>\n## `iter_source_code`",
"Iterate over all Python source files defined in paths.\n<END>",
"<BEGIN>\n## `file_should_be_skipped`",
"Returns True if the file and/or folder should be skipped based on the passed in settings.\n<END>",
"<BEGIN>\n## `chdir`",
"Context manager for changing dir and restor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_mapping API.
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 _load_mapping API.
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... | Return list of mappings `package_name -> module_name`
Example:
django-haystack -> haystack | "Return list of mappings `package_name -> module_name`\n\n Example:\n django-haystack -> haystack" | 44 | false | timothycrosley/isort | _load_mapping | 20,545 | |
LDU_FT/hyde/commando/patch | LDU_FT | [
"<BEGIN>\n## `getLoggerWithConsoleHandler`",
"Gets a logger object with a pre-initialized console handler.\n<END>",
"<BEGIN>\n## `getLoggerWithNullHandler`",
"Gets the logger initialized with the `logger_name`\n and a NullHandler.\n<END>",
"<BEGIN>\n## `metarate`",
"Set the values object to the functio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch API.
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 patch API.
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... | Patches the config with the given overrides.
Example:
If the current dictionary looks like this:
a: 1,
b: {
c: 3,
d: 4
}
and `patch` is called with the following overrides:
b: {
d: 2,
e: 4
},
c: 5
... | "Patches the config with the given overrides.\n\n Example:\n\n If the current dictionary looks like this:\n a: 1,\n b: {\n c: 3,\n d: 4\n }\n\n and `patch` is called with the following overrides:\n b: {\n d: 2,\n e: 4\n ... | 14 | false | hyde/commando | patch | 20,546 | |
LDU_FT/UpCloudLtd/upcloud-python-api/post_request | LDU_FT | [
"<BEGIN>\n## `get_storages`",
"Return a list of Storage objects from the API.",
" Storage types: public, private, normal, backup, cdrom, template, favorite\n<END>",
"<BEGIN>\n## `create_storage`",
"Create a Storage object. Returns an object based on the API's response.\n<END>",
"<BEGIN>\n## `modify... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Perform a POST request to a given endpoint in UpCloud's API. | "Perform a POST request to a given endpoint in UpCloud's API." | 153 | false | UpCloudLtd/upcloud-python-api | post_request | 20,547 | |
LDU_FT/appointlet/span/rintersects | LDU_FT | [
"<BEGIN>\n## `lintersects`",
"If this span intersects the left (starting) side of the given span.\n<END>",
"<BEGIN>\n## `rintersects`",
"If this span intersects the right (ending) side of the given span.\n<END>",
"<BEGIN>\n## `ltouches`",
"Returns true if the end of this span touches the left (starting) s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rintersects API.
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 rintersects API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | If this span intersects the right (ending) side of the given span. | "If this span intersects the right (ending) side of the given span." | 12 | false | appointlet/span | rintersects | 20,548 | |
LDU_FT/ionelmc/python-manhole/dump_stacktraces | LDU_FT | [
"<BEGIN>\n## `get_peercred`",
"Gets the (pid, uid, gid) for the client on the given *connected* socket.\n<END>",
"<BEGIN>\n## `handle_connection_exec`",
"Alternate connection handler. No output redirection.\n<END>",
"<BEGIN>\n## `handle_repl`",
"Dumps stacktraces and runs an interactive prompt (REPL).\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_stacktraces API.
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 dump_stacktraces API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Dumps thread ids and tracebacks to stdout. | "Dumps thread ids and tracebacks to stdout." | 23 | false | ionelmc/python-manhole | dump_stacktraces | 20,549 | |
LDU_FT/EconForge/dolo/decode_complementarity | LDU_FT | [
"<BEGIN>\n## `multidot_old`",
"Implements tensor operation : tensor-times-matrices.\n If last dimensions of ten represent multilinear operations of the type : [X1,...,Xk]->B[X1,...,Xk]\n and mats contains matrices or vectors [A1,...Ak] the function returns an array representing operators :\n [X1,...,Xk]-... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_complementarity API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_complementarity API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | # comp can be either:
- None
- "a<=expr" where a is a controls
- "expr<=a" where a is a control
- "expr1<=a<=expr2" | "# comp can be either:\n - None\n - \"a<=expr\" where a is a controls\n - \"expr<=a\" where a is a control\n - \"expr1<=a<=expr2\"" | 221 | false | EconForge/dolo | decode_complementarity | 20,550 | |
LDU_FT/vi3k6i5/flashtext/remove_keywords_from_list | LDU_FT | [
"<BEGIN>\n## `add_keyword_from_file`",
"To add keywords from a file",
" Args:\n keyword_file : path to keywords file\n encoding : specify the encoding of the file",
" Examples:\n keywords file format can be like:",
" >>> # Option 1: keywords.txt cont... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_keywords_from_list 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_keywords_from_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | To remove keywords present in list
Args:
keyword_list (list(str)): List of keywords to remove
Examples:
>>> keyword_processor.remove_keywords_from_list(["java", "python"]})
Raises:
AttributeError: If `keyword_list` is not a list. | "To remove keywords present in list\n\n Args:\n keyword_list (list(str)): List of keywords to remove\n\n Examples:\n >>> keyword_processor.remove_keywords_from_list([\"java\", \"python\"]})\n Raises:\n AttributeError: If `keyword_list` is not a list." | 41 | false | vi3k6i5/flashtext | remove_keywords_from_list | 20,551 | |
LDU_FT/lobocv/crashreporter/forward_exception | LDU_FT | [
"<BEGIN>\n## `setup_smtp`",
"Set up the crash reporter to send reports via email using SMTP",
" :param host: SMTP host\n :param port: SMTP port\n :param user: sender email address\n :param passwd: sender email password\n :param recipients: list or comma separated string of rec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the forward_exception API.
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 forward_exception API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Forward the exception onto the backup copy that was made of the sys.__excepthook__
:param etype: Exceoption type
:param evalue: Exception value
:param tb: Traceback
:return: | "Forward the exception onto the backup copy that was made of the sys.__excepthook__\n\n :param etype: Exceoption type\n :param evalue: Exception value\n :param tb: Traceback\n :return:" | 59 | false | lobocv/crashreporter | forward_exception | 20,552 | |
LDU_FT/ninja-build/ninja/FileWriter | LDU_FT | [
"<BEGIN>\n## `expand`",
"Expand a string containing $vars as Ninja would.",
" Note: doesn't handle the full Ninja variable syntax, but it's enough\n to make configure.py's use of it work.\n<END>",
"<BEGIN>\n## `_count_dollars_before_index`",
"Returns the number of '$' characters right in front of s[i]... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the FileWriter API.
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 FileWriter API.
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... | Context manager for a ninja_syntax object writing to a file. | "Context manager for a ninja_syntax object writing to a file." | 17 | false | ninja-build/ninja | FileWriter | 20,553 | |
LDU_FT/sveetch/djangocodemirror/codemirror_field_css_bundle | LDU_FT | [
"<BEGIN>\n## `codemirror_settings_update`",
"Return a new dictionnary of configs updated with given parameters.",
" You may use ``on`` and ``names`` arguments to select config or filter out\n some configs from returned dict.",
" Arguments:\n configs (dict): Dictionnary of configurations to upd... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the codemirror_field_css_bundle 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 codemirror_field_css_bundle API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Filter to get CodeMirror CSS bundle name needed for a single field.
Example:
::
{% load djangocodemirror_tags %}
{{ form.myfield|codemirror_field_css_bundle }}
Arguments:
field (djangocodemirror.fields.CodeMirrorField): A form field.
Raises:
CodeMirrorFieldBundleE... | "Filter to get CodeMirror CSS bundle name needed for a single field.\n\n Example:\n ::\n\n {% load djangocodemirror_tags %}\n {{ form.myfield|codemirror_field_css_bundle }}\n\n Arguments:\n field (djangocodemirror.fields.CodeMirrorField): A form field.\n\n Raises:\n CodeMirro... | 125 | false | sveetch/djangocodemirror | codemirror_field_css_bundle | 20,554 | |
LDU_FT/byt3bl33d3r/CrackMapExec/stop_tracking_host | LDU_FT | [
"<BEGIN>\n## `add_computer`",
"Check if this host has already been added to the database, if not add it in.\n<END>",
"<BEGIN>\n## `remove_credentials`",
"Removes a credential ID from the database\n<END>",
"<BEGIN>\n## `options`",
"SERVER IP of the SMB server\n NAME LNK file name\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop_tracking_host 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 stop_tracking_host 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... | This gets called when a module has finshed executing, removes the host from the connection tracker list | "This gets called when a module has finshed executing, removes the host from the connection tracker list" | 77 | false | byt3bl33d3r/CrackMapExec | stop_tracking_host | 20,555 | |
LDU_FT/theno/utlz/first_paragraph | LDU_FT | [
"<BEGIN>\n## `flo`",
"Return the string given by param formatted with the callers locals.\n<END>",
"<BEGIN>\n## `_wrap_with`",
"Color wrapper.",
" Example:\n >>> blue = _wrap_with('34')\n >>> print(blue('text'))\n \\033[34mtext\\033[0m\n<END>",
"<BEGIN>\n## `clean`",
"Delete temp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the first_paragraph API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the first_paragraph API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Return first paragraph of multiline_str as a oneliner.
When without_trailing_dot is True, the last char of the first paragraph
will be removed, if it is a dot ('.').
Examples:
>>> multiline_str = 'first line\\nsecond line\\n\\nnext paragraph'
>>> print(first_paragraph(multiline_str))
... | "Return first paragraph of multiline_str as a oneliner.\n\n When without_trailing_dot is True, the last char of the first paragraph\n will be removed, if it is a dot ('.').\n\n Examples:\n >>> multiline_str = 'first line\\\\nsecond line\\\\n\\\\nnext paragraph'\n >>> print(first_paragraph(multili... | 68 | false | theno/utlz | first_paragraph | 20,556 | |
LDU_FT/tsileo/globster/match | LDU_FT | [
"<BEGIN>\n## `normalize_pattern`",
"Converts backslashes in path patterns to forward slashes.",
" Doesn't normalize regular expressions - they may contain escapes.\n<END>",
"<BEGIN>\n## `add`",
"r\"\"\"Add a pattern and replacement.",
" The pattern must not contain capturing groups.\n The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API.
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 match API.
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... | Searches for a pattern that matches the given filename.
:return A matching pattern or None if there is no matching pattern. | "Searches for a pattern that matches the given filename.\n\n :return A matching pattern or None if there is no matching pattern." | 18 | false | tsileo/globster | match | 20,557 | |
LDU_FT/pkkid/python-plexapi/check_for_update | LDU_FT | [
"<BEGIN>\n## `registerPlexObject`",
"Registry of library types we may come across when parsing XML. This allows us to\n define a few helper functions to dynamically convery the XML into objects. See\n buildItem() below for an example.\n<END>",
"<BEGIN>\n## `cast`",
"Cast the specified value to t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_for_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 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_for_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 ... | Returns a :class:`~plexapi.base.Release` object containing release info.
Parameters:
force (bool): Force server to check for new releases
download (bool): Download if a update is available. | "Returns a :class:`~plexapi.base.Release` object containing release info.\n\n Parameters:\n force (bool): Force server to check for new releases\n download (bool): Download if a update is available." | 372 | false | pkkid/python-plexapi | check_for_update | 20,558 | |
LDU_FT/SmartTeleMax/iktomi/accept | LDU_FT | [
"<BEGIN>\n## `pare`",
"Pare text to have maximum size and add etc to the end if it's\n changed\n<END>",
"<BEGIN>\n## `quoteattrs`",
"Takes dict of attributes and returns their HTML representation\n<END>",
"<BEGIN>\n## `quote_js`",
"Quotes text to be used as JavaScript string in HTML templates. The\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the accept API.
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 accept API.
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 ... | Accepts a value from the form, calls :meth:`to_python` method,
checks `required` condition, applies filters and validators,
catches ValidationError.
:param value: a value to be accepted
:param silent=False: write errors to `form.errors` or not | "Accepts a value from the form, calls :meth:`to_python` method,\n checks `required` condition, applies filters and validators,\n catches ValidationError.\n\n :param value: a value to be accepted\n :param silent=False: write errors to `form.errors` or not" | 196 | false | SmartTeleMax/iktomi | accept | 20,559 | |
LDU_FT/MoseleyBioinformaticsLab/mwtab/_build_mwtabfile | LDU_FT | [
"<BEGIN>\n## `read`",
"Read data into a :class:`~mwtab.mwtab.MWTabFile` instance.",
" :param filehandle: file-like object.\n :type filehandle: :py:class:`io.TextIOWrapper`, :py:class:`gzip.GzipFile`,\n :py:class:`bz2.BZ2File`, :py:class:`zipfile.ZipFile`\n :return: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_mwtabfile API.
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_mwtabfile API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Build :class:`~mwtab.mwtab.MWTabFile` instance.
:param mwtab_str: String in `mwtab` format.
:type mwtab_str: :py:class:`str` or :py:class:`bytes`
:return: instance of :class:`~mwtab.mwtab.MWTabFile`.
:rtype: :class:`~mwtab.mwtab.MWTabFile` | "Build :class:`~mwtab.mwtab.MWTabFile` instance.\n\n :param mwtab_str: String in `mwtab` format.\n :type mwtab_str: :py:class:`str` or :py:class:`bytes`\n :return: instance of :class:`~mwtab.mwtab.MWTabFile`.\n :rtype: :class:`~mwtab.mwtab.MWTabFile`" | 74 | false | MoseleyBioinformaticsLab/mwtab | _build_mwtabfile | 20,560 | |
LDU_FT/Celeo/Pycord/parse | LDU_FT | [
"<BEGIN>\n## `parse`",
"Gets the enum for the op code",
" Args:\n op: value of the op code (will be casted to int)",
" Returns:\n The enum that matches the op code\n<END>",
"<BEGIN>\n## `run`",
"Runs the thread",
" This method handles sending the heartbeat to t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Gets the enum for the op code
Args:
op: value of the op code (will be casted to int)
Returns:
The enum that matches the op code | "Gets the enum for the op code\n\n Args:\n op: value of the op code (will be casted to int)\n\n Returns:\n The enum that matches the op code" | 108 | false | Celeo/Pycord | parse | 20,561 | |
LDU_FT/lingfeiwang/findr-python/one_greedy | LDU_FT | [
"<BEGIN>\n## `gassists_pv`",
"Calculates p-values of gene i regulating gene j with genotype data assisted method with multiple tests.\n\tdg:\tnumpy.ndarray(nt,ns,dtype=gtype(='u1' by default)) Genotype data.\n\t\tEntry dg[i,j] is genotype i's value for sample j.\n\t\tEach value must be among 0,1,...,na.\n\t\tGeno... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the one_greedy API.
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 one_greedy API.
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... | Reconstructs a directed acyclic graph according to prior information of edge significance.
This function first ranks all edges and introduce the most significant one by one, avoiding
those that would create a loop. Optional constraints on the maximum total number of edges,
the number of incoming or outgoing edges fo... | "Reconstructs a directed acyclic graph according to prior information of edge significance.\n\tThis function first ranks all edges and introduce the most significant one by one, avoiding\n\tthose that would create a loop. Optional constraints on the maximum total number of edges,\n\tthe number of incoming or outgoing e... | 50 | false | lingfeiwang/findr-python | one_greedy | 20,562 | |
LDU_FT/theiviaxx/Frog/put | 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 put API.
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 put API.
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... | Adds tags from objects resolved from guids
:param tags: Tags to add
:type tags: list
:param guids: Guids to add tags from
:type guids: list
:returns: json | "Adds tags from objects resolved from guids\n\n :param tags: Tags to add\n :type tags: list\n :param guids: Guids to add tags from\n :type guids: list\n :returns: json" | 101 | false | theiviaxx/Frog | put | 20,563 | |
LDU_FT/boriel/zxbasic/_lei8 | LDU_FT | [
"<BEGIN>\n## `reset`",
"This is called when we need to reinitialize the instance state\n<END>",
"<BEGIN>\n## `make_node`",
"This will return a node with the symbol as a function.\n<END>",
"<BEGIN>\n## `add_string_label`",
"Maps (\"folds\") the given string, returning an unique label ID.\n This allo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _lei8 API.
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 _lei8 API.
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... | Compares & pops top 2 operands out of the stack, and checks
if the 1st operand <= 2nd operand (top of the stack).
Pushes 0 if False, 1 if True.
8 bit signed version | "Compares & pops top 2 operands out of the stack, and checks\n if the 1st operand <= 2nd operand (top of the stack).\n Pushes 0 if False, 1 if True.\n\n 8 bit signed version" | 974 | false | boriel/zxbasic | _lei8 | 20,564 | |
LDU_FT/rvswift/EB/get_prop | LDU_FT | [
"<BEGIN>\n## `approximator`",
"recursively rank queries\n :param molecules:\n :param options:\n :param sort_order:\n :param frameworks:\n :param ensemble:\n :return:\n<END>",
"<BEGIN>\n## `rank_queries`",
"rank queries by value added to existing ensemble\n :param molecules:\n :param sc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_prop API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_prop API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | return property attributes
:param prop:
:return: | "return property attributes\n :param prop:\n :return:" | 91 | false | rvswift/EB | get_prop | 20,565 | |
LDU_FT/harlowja/fasteners/interprocess_locked | LDU_FT | [
"<BEGIN>\n## `_ensure_tree`",
"Create a directory (and any ancestor directories required).",
" :param path: Directory to create\n<END>",
"<BEGIN>\n## `interprocess_locked`",
"Acquires & releases a interprocess lock around call into\n decorated function.\n<END>",
"<BEGIN>\n## `acquire`",
"Attemp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interprocess_locked API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interprocess_locked API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Acquires & releases a interprocess lock around call into
decorated function. | "Acquires & releases a interprocess lock around call into\n decorated function." | 37 | false | harlowja/fasteners | interprocess_locked | 20,566 | |
LDU_FT/Metatab/tableintuit/run | LDU_FT | [
"<BEGIN>\n## `_resolved_type`",
"Return the type for the columns, and a flag to indicate that the\n column has codes.\n<END>",
"<BEGIN>\n## `promote_type`",
"Given a table with an original type, decide whether a new determination of a new applicable type\n should overide the existing one\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Run the stats. The source must yield Row proxies. | "Run the stats. The source must yield Row proxies." | 20 | false | Metatab/tableintuit | run | 20,567 | |
LDU_FT/dbrgn/RPLCD/_send | LDU_FT | [
"<BEGIN>\n## `_pulse_data`",
"Pulse the `enable` flag to process value.\n<END>",
"<BEGIN>\n## `_send`",
"Send the specified value to the display with automatic 4bit / 8bit\n selection. The rs_mode is either ``RS_DATA`` or ``RS_INSTRUCTION``.\n<END>",
"<BEGIN>\n## `_pulse_enable`",
"Pulse the `enabl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _send API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _send API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Send the specified value to the display with automatic 4bit / 8bit
selection. The rs_mode is either ``RS_DATA`` or ``RS_INSTRUCTION``. | "Send the specified value to the display with automatic 4bit / 8bit\n selection. The rs_mode is either ``RS_DATA`` or ``RS_INSTRUCTION``." | 33 | false | dbrgn/RPLCD | _send | 20,568 | |
LDU_FT/thespacedoctor/fundamentals/connect | LDU_FT | [
"<BEGIN>\n## `main`",
"The main function used when ``yaml_to_database.py`` when installed as a cl tool\n<END>",
"<BEGIN>\n## `ingest`",
"*ingest the contents of the directory of yaml files into a database*",
" **Return:**\n - None",
" **Usage:**",
" To import an entir... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | connect to the database
**Return:**
- ``dbConn`` -- the database connection
See the class docstring for usage | "connect to the database\n\n **Return:**\n - ``dbConn`` -- the database connection\n\n See the class docstring for usage" | 306 | false | thespacedoctor/fundamentals | connect | 20,569 | |
LDU_FT/rocky/python-spark/n_atom | LDU_FT | [
"<BEGIN>\n## `error`",
"Show text and a caret under that. For example:\nx = 2y + z\n ^\n<END>",
"<BEGIN>\n## `debug_reduce`",
"Customized format and print for our kind of tokens\n which gets called in debugging grammar reduce rules\n<END>",
"<BEGIN>\n## `addRule`",
"Add a grammar rules to _self... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the n_atom API.
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 n_atom API.
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 ... | atom ::=
('(' [yield_expr|testlist_gexp] ')'
| '[' [listmaker] ']'
| '{' [dictmaker] '}'
| '`' testlist1 '`'
| NAME | NUMBER | STRING+) | "atom ::=\n ('(' [yield_expr|testlist_gexp] ')'\n | '[' [listmaker] ']'\n | '{' [dictmaker] '}'\n | '`' testlist1 '`'\n | NAME | NUMBER | STRING+)" | 35 | false | rocky/python-spark | n_atom | 20,570 | |
LDU_FT/intiocean/pyinter/openclosed | LDU_FT | [
"<BEGIN>\n## `_add`",
"Add a interval to the underlying IntervalSet data store. This does not perform any tests as we assume that\n any requirements have already been checked and that this function is being called by an internal function such\n as union(), intersection() or add().\n :param ot... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the openclosed API.
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 openclosed API.
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... | Helper function to construct an interval object with a open lower and closed upper.
For example:
>>> openclosed(100.2, 800.9)
(100.2, 800.9] | "Helper function to construct an interval object with a open lower and closed upper.\n\n For example:\n\n >>> openclosed(100.2, 800.9)\n (100.2, 800.9]" | 41 | false | intiocean/pyinter | openclosed | 20,571 | |
LDU_FT/happyleavesaoc/python-limitlessled/_repeat | LDU_FT | [
"<BEGIN>\n## `command_set_factory`",
"Create command set for controlling a specific led group.\n :param bridge: The bridge the leds are connected to.\n :param group_number: The group number.\n :param led_type: The type of the leds.\n :return: The created command set.\n<END>",
"<BEGIN>\n## `rate`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _repeat API.
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 _repeat API.
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... | Repeat a stage.
:param index: Stage index.
:param stage: Stage object to repeat.
:param iterations: Number of iterations (default infinite).
:param stages: Stages back to repeat (default 1). | "Repeat a stage.\n\n :param index: Stage index.\n :param stage: Stage object to repeat.\n :param iterations: Number of iterations (default infinite).\n :param stages: Stages back to repeat (default 1)." | 164 | false | happyleavesaoc/python-limitlessled | _repeat | 20,572 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.