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/sci-bots/dmf-device-ui/on_execute__set_video_config | LDU_FT | [
"<BEGIN>\n## `register_shortcuts`",
".. versionchanged:: 0.14\n Add keyboard shortcuts to set neighbouring electrode states based\n on directional input using ``<Control>`` key plus the corresponding\n direction (e.g., ``<Control>Up``)\n<END>",
"<BEGIN>\n## `cleanup_video`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_execute__set_video_config 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 on_execute__set_video_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | .. versionchanged:: 0.12
Accept empty video configuration as either `None` or an empty
`pandas.Series`. | ".. versionchanged:: 0.12\n Accept empty video configuration as either `None` or an empty\n `pandas.Series`." | 124 | false | sci-bots/dmf-device-ui | on_execute__set_video_config | 16,273 | |
LDU_FT/pyviz/holoviews/dframe | LDU_FT | [
"<BEGIN>\n## `initialize_plot`",
"Initializes a new plot object with the last available frame.\n<END>",
"<BEGIN>\n## `_get_axis_dims`",
"Returns the dimensions corresponding to each axis.",
" Should return a list of dimensions or list of lists of\n dimensions, which will be formatted to label ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dframe API.
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 dframe API.
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 ... | Convert dimension values to DataFrame.
Returns a pandas dataframe of columns along each dimension,
either completely flat or indexed by key dimensions.
Args:
dimensions: Dimensions to return as columns
multi_index: Convert key dimensions to (multi-)index
Return... | "Convert dimension values to DataFrame.\n\n Returns a pandas dataframe of columns along each dimension,\n either completely flat or indexed by key dimensions.\n\n Args:\n dimensions: Dimensions to return as columns\n multi_index: Convert key dimensions to (multi-)index\n\n ... | 1,961 | true | pyviz/holoviews | dframe | 16,274 | |
LDU_FT/pbrod/numdifftools/timefun | LDU_FT | [
"<BEGIN>\n## `approx_fprime`",
"Gradient of function, or Jacobian if function fun returns 1d array",
" Parameters\n ----------\n x : array\n parameters at which the derivative is evaluated\n fun : function\n `fun(*((x,)+args), **kwargs)` returning either one value or 1d array\n epsi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timefun API.
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 timefun API.
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... | Timing decorator
Timers require you to do some digging. Start wrapping a few of the higher level
functions and confirm where the bottleneck is, then drill down into that function,
repeating as you go. When you find the disproportionately slow bit of code, fix it,
and work your way back out confirming t... | "Timing decorator\n\n Timers require you to do some digging. Start wrapping a few of the higher level\n functions and confirm where the bottleneck is, then drill down into that function,\n repeating as you go. When you find the disproportionately slow bit of code, fix it,\n and work your way back out confir... | 107 | false | pbrod/numdifftools | timefun | 16,275 | |
LDU_FT/rmohr/static3/body | LDU_FT | [
"<BEGIN>\n## `iter_and_close`",
"Yield file contents by block then close the file.\n<END>",
"<BEGIN>\n## `cling_wrap`",
"Return a Cling that serves from the given package and dir_name.",
" This uses pkg_resources.resource_filename which is not the\n recommended way, since it extracts the files.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | Pass environ and **self.variables into the template. | "Pass environ and **self.variables into the template." | 33 | false | rmohr/static3 | body | 16,276 | |
LDU_FT/sassoftware/epdb/set_trace_cond | LDU_FT | [
"<BEGIN>\n## `configure`",
"Configure which kinds of exceptions trigger plugin.\n<END>",
"<BEGIN>\n## `set_trace_cond`",
"Sets a condition for set_trace statements that have the\n specified marker. A condition can either callable, in\n which case it should take one argument, which is the\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_trace_cond API.
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 set_trace_cond API.
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... | Sets a condition for set_trace statements that have the
specified marker. A condition can either callable, in
which case it should take one argument, which is the
number of times set_trace(marker) has been called,
or it can be a number, in which case the break will
only be calle... | "Sets a condition for set_trace statements that have the\n specified marker. A condition can either callable, in\n which case it should take one argument, which is the\n number of times set_trace(marker) has been called,\n or it can be a number, in which case the break will\n only be... | 31 | false | sassoftware/epdb | set_trace_cond | 16,277 | |
LDU_FT/nteract/bookstore/validate_bookstore | LDU_FT | [
"<BEGIN>\n## `_join`",
"Join S3 bucket args together.",
" Remove empty entries and strip left-leading ``/``\n<END>",
"<BEGIN>\n## `initialize`",
"Initialize a helper to get bookstore settings and session information quickly\n<END>",
"<BEGIN>\n## `put`",
"Publish a notebook on a given path.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_bookstore 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 validate_bookstore 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... | Validate bookstore configuration settings.
Parameters
----------
settings: bookstore.bookstore_config.BookstoreSettings
The instantiated `Settings` object to be validated. | "Validate bookstore configuration settings.\n \n Parameters\n ----------\n settings: bookstore.bookstore_config.BookstoreSettings\n The instantiated `Settings` object to be validated." | 24 | false | nteract/bookstore | validate_bookstore | 16,278 | |
LDU_FT/LonamiWebs/Telethon/post_init | LDU_FT | [
"<BEGIN>\n## `collect`",
"Create a `self` iterator and collect it into a `TotalList`\n (a normal list with a `.total` attribute).\n<END>",
"<BEGIN>\n## `handler`",
"#full: Advises to read \"Accessing the full API\" in the docs.\n<END>",
"<BEGIN>\n## `handler`",
"#search query: Searches for \"query\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post_init API.
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 post_init API.
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... | Completes the initialization of our application.
Since `__init__` cannot be `async` we use this. | "Completes the initialization of our application.\n Since `__init__` cannot be `async` we use this." | 1,037 | true | LonamiWebs/Telethon | post_init | 16,279 | |
LDU_FT/ottogroup/palladium/export_cmd | LDU_FT | [
"<BEGIN>\n## `apply_kwargs`",
"Call *func* with kwargs, but only those kwargs that it accepts.\n<END>",
"<BEGIN>\n## `args_from_config`",
"Decorator that injects parameters from the configuration.\n<END>",
"<BEGIN>\n## `memory_usage_psutil`",
"Return the current process memory usage in MB.\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_cmd API.
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 export_cmd API.
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... | \
Export a model from one model persister to another.
The model persister to export to is supposed to be available in the
configuration file under the 'model_persister_export' key.
Usage:
pld-export [options]
Options:
--version=<v> Export a specific version rather than the active
... | "\\\nExport a model from one model persister to another.\n\nThe model persister to export to is supposed to be available in the\nconfiguration file under the 'model_persister_export' key.\n\nUsage:\n pld-export [options]\n\nOptions:\n --version=<v> Export a specific version rather than the active\n ... | 86 | false | ottogroup/palladium | export_cmd | 16,280 | |
LDU_FT/Dallinger/Dallinger/node_received_infos | LDU_FT | [
"<BEGIN>\n## `setup`",
"Setup the networks.",
" Setup only does stuff if there are no networks, this is so it only\n runs once at the start of the experiment. It first calls the same\n function in the super (see experiments.py in dallinger). Then it adds a\n source to each network.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the node_received_infos 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 node_received_infos 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... | Get all the infos a node has been sent and has received.
You must specify the node id in the url.
You can also pass the info type. | "Get all the infos a node has been sent and has received.\n\n You must specify the node id in the url.\n You can also pass the info type." | 425 | false | Dallinger/Dallinger | node_received_infos | 16,281 | |
LDU_FT/bitly/asyncmongo/update | LDU_FT | [
"<BEGIN>\n## `_unpack_response`",
"Unpack a response from the database.",
" Check the response for errors and unpack, returning a dictionary\n containing the response data.",
" :Parameters:\n - `response`: byte string as returned from the database\n - `cursor_id` (optional): cursor_id we se... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Update a document(s) in this collection.
Raises :class:`TypeError` if either `spec` or `document` is
not an instance of ``dict`` or `upsert` is not an instance of
``bool``. If `safe` is ``True`` then the update will be
checked for errors, raising
:class:`~pymongo.errors.... | "Update a document(s) in this collection.\n \n Raises :class:`TypeError` if either `spec` or `document` is\n not an instance of ``dict`` or `upsert` is not an instance of\n ``bool``. If `safe` is ``True`` then the update will be\n checked for errors, raising\n :class:`~pymongo.... | 88 | false | bitly/asyncmongo | update | 16,282 | |
LDU_FT/brbsix/subnuker/search | LDU_FT | [
"<BEGIN>\n## `getch`",
"Request a single character input from the user.\n<END>",
"<BEGIN>\n## `ismatch`",
"Test whether text contains string or matches regex.\n<END>",
"<BEGIN>\n## `parse`",
"Parse command-line arguments. Arguments may consist of any\n combination of directories, files, and options.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Search srt in project for cells matching list of terms. | "Search srt in project for cells matching list of terms." | 36 | false | brbsix/subnuker | search | 16,283 | |
LDU_FT/ARMmbed/mbed-cloud-sdk-python/get_my_api_key | LDU_FT | [
"<BEGIN>\n## `add_resource_subscription`",
"Subscribe to a resource path # noqa: E501",
"The Device Management Connect eventing model consists of observable resources. This means that endpoints can deliver updated resource content, periodically or with a more sophisticated solution-dependent logic. The OMA LwM... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_my_api_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_my_api_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Get API key details. # noqa: E501
An endpoint for retrieving API key details. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/api-keys/me -H 'Authorization: Bearer API_KEY'` # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP re... | "Get API key details. # noqa: E501\n\n An endpoint for retrieving API key details. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/api-keys/me -H 'Authorization: Bearer API_KEY'` # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HT... | 1,479 | true | ARMmbed/mbed-cloud-sdk-python | get_my_api_key | 16,284 | |
LDU_FT/secnot/rectpack/intersects | LDU_FT | [
"<BEGIN>\n## `_add_section`",
"Adds a new section to the free section list, but before that and if \n section merge is enabled, tries to join the rectangle with all existing \n sections, if successful the resulting section is again merged with the \n remaining sections until the operation fai... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the intersects API.
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 intersects API.
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... | Detect intersections between this rectangle and rect.
Args:
rect (Rectangle): Rectangle to test for intersections.
edges (bool): Accept edge touching rectangles as intersects or not
Returns:
bool: True if the rectangles intersect, False otherwise | "Detect intersections between this rectangle and rect.\n\n Args:\n rect (Rectangle): Rectangle to test for intersections.\n edges (bool): Accept edge touching rectangles as intersects or not\n\n Returns:\n bool: True if the rectangles intersect, False otherwise" | 103 | false | secnot/rectpack | intersects | 16,285 | |
LDU_FT/minhhoit/yacms/absolute_urls | LDU_FT | [
"<BEGIN>\n## `formfield`",
"Apply the widget class defined by the\n ``RICHTEXT_WIDGET_CLASS`` setting.\n<END>",
"<BEGIN>\n## `as_tag`",
"Creates a tag expecting the format:\n ``{% tag_name as var_name %}``\n The decorated func returns the value that is given to\n ``var_name`` in th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the absolute_urls API.
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 absolute_urls API.
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... | Converts relative URLs into absolute URLs. Used for RSS feeds to
provide more complete HTML for item descriptions, but could also
be used as a general richtext filter. | "Converts relative URLs into absolute URLs. Used for RSS feeds to\n provide more complete HTML for item descriptions, but could also\n be used as a general richtext filter." | 502 | false | minhhoit/yacms | absolute_urls | 16,286 | |
LDU_FT/cfusting/fastgp/optimize | LDU_FT | [
"<BEGIN>\n## `find_pareto_front`",
"Finds a subset of nondominated individuals in a given list",
" :param population: a list of individuals\n :return: a set of indices corresponding to nondominated individuals\n<END>",
"<BEGIN>\n## `from_string`",
"Try to convert a string expression into a PrimitiveTr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the optimize API.
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 optimize API.
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... | Optimize a population of individuals.
:param population:
:param toolbox:
:param mut_prob:
:param ngen:
:param archive:
:param stats:
:param verbose:
:param history:
:return: | "Optimize a population of individuals.\n :param population:\n :param toolbox:\n :param mut_prob:\n :param ngen:\n :param archive:\n :param stats:\n :param verbose:\n :param history:\n :return:" | 12 | false | cfusting/fastgp | optimize | 16,287 | |
LDU_FT/DreamLab/VmShepherd/create_vm | LDU_FT | [
"<BEGIN>\n## `initialize_openstack`",
"Initialize and refresh openstack connection\n<END>",
"<BEGIN>\n## `initialize`",
"Initialize static data like images and flavores and set it as object property\n<END>",
"<BEGIN>\n## `create_vm`",
"Create VM\n :arg preset_name: string\n :arg image: str... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_vm API.
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 create_vm API.
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 VM
:arg preset_name: string
:arg image: string image id
:arg flavor: string flavor id
:arg security_groups: list
:arg userdata: string
:arg key_name: string
:arg availability_zone: string
:arg subnets: list
:returns list Vm objects... | "Create VM\n :arg preset_name: string\n :arg image: string image id\n :arg flavor: string flavor id\n :arg security_groups: list\n :arg userdata: string\n :arg key_name: string\n :arg availability_zone: string\n :arg subnets: list\n :returns list ... | 47 | false | DreamLab/VmShepherd | create_vm | 16,288 | |
LDU_FT/etal/biofrills/aln2logodata | LDU_FT | [
"<BEGIN>\n## `read_logodata`",
"Get weblogo data for a sequence alignment.",
" Returns a list of tuples: (posn, letter_counts, entropy, weight)\n<END>",
"<BEGIN>\n## `aln2logodata`",
"Get weblogo data for an alignment object.",
" Returns a list of tuples: (posn, letter_counts, entropy, weight)\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aln2logodata API.
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 aln2logodata API.
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... | Get weblogo data for an alignment object.
Returns a list of tuples: (posn, letter_counts, entropy, weight) | "Get weblogo data for an alignment object.\n\n Returns a list of tuples: (posn, letter_counts, entropy, weight)" | 81 | false | etal/biofrills | aln2logodata | 16,289 | |
LDU_FT/fgmacedo/django-export-action/get_model_from_path_string | LDU_FT | [
"<BEGIN>\n## `_get_field_by_name`",
"Compatible with old API of model_class._meta.get_field_by_name(field_name)\n<END>",
"<BEGIN>\n## `_get_remote_field`",
"Compatible with Django 1.8~1.10 ('related' was renamed to 'remote_field')\n<END>",
"<BEGIN>\n## `_get_all_field_names`",
"100% compatible version of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_model_from_path_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_model_from_path_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Return a model class for a related model
root_model is the class of the initial model
path is like foo__bar where bar is related to foo | "Return a model class for a related model\n root_model is the class of the initial model\n path is like foo__bar where bar is related to foo" | 27 | false | fgmacedo/django-export-action | get_model_from_path_string | 16,290 | |
LDU_FT/Mindwerks/worldengine/generate_plates | LDU_FT | [
"<BEGIN>\n## `anti_alias`",
"Execute the anti_alias operation steps times on the given map\n<END>",
"<BEGIN>\n## `count_neighbours`",
"Count how many neighbours of a coordinate are set to one.\n This uses the same principles as anti_alias, compare comments there.\n<END>",
"<BEGIN>\n## `_calculate`",
"S... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_plates API.
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 generate_plates API.
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... | Eventually this method should be invoked when generation is called at
asked to stop at step "plates", it should not be a different operation
:param seed:
:param world_name:
:param output_dir:
:param width:
:param height:
:param num_plates:
:return: | "Eventually this method should be invoked when generation is called at\n asked to stop at step \"plates\", it should not be a different operation\n :param seed:\n :param world_name:\n :param output_dir:\n :param width:\n :param height:\n :param num_plates:\n :return:" | 63 | false | Mindwerks/worldengine | generate_plates | 16,291 | |
LDU_FT/SeabornGames/RequestClient/str_name_value | LDU_FT | [
"<BEGIN>\n## `reinstantiate_endpoints`",
"This will re-instantiate the endpoints with the connection this time\n :param endpoint: Endpoint object to instantiate the sub endpoint in.\n :return: None\n<END>",
"<BEGIN>\n## `_pre_process_call`",
"This is called by the method_decorator within... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the str_name_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the str_name_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | This will return a str of name and value with uniform spacing
:param name: str of the name
:param value: str of the value
:param tab: int of the number of spaces before the name
:param ljust: int of the name ljust to apply to name
:return: str of the formatted string | "This will return a str of name and value with uniform spacing\n :param name: str of the name\n :param value: str of the value\n :param tab: int of the number of spaces before the name\n :param ljust: int of the name ljust to apply to name\n :return: str of the formatted string" | 148 | false | SeabornGames/RequestClient | str_name_value | 16,292 | |
LDU_FT/mpdavis/python-jose/_validate_exp | LDU_FT | [
"<BEGIN>\n## `rsa_private_key_pkcs8_to_pkcs1`",
"Convert a PKCS8-encoded RSA private key to PKCS1.\n<END>",
"<BEGIN>\n## `rsa_private_key_pkcs1_to_pkcs8`",
"Convert a PKCS1-encoded RSA private key to PKCS8.\n<END>",
"<BEGIN>\n## `rsa_public_key_pkcs1_to_pkcs8`",
"Convert a PKCS1-encoded RSA private key to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_exp API.
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 _validate_exp API.
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... | Validates that the 'exp' claim is valid.
The "exp" (expiration time) claim identifies the expiration time on
or after which the JWT MUST NOT be accepted for processing. The
processing of the "exp" claim requires that the current date/time
MUST be before the expiration date/time listed in the "exp" cla... | "Validates that the 'exp' claim is valid.\n\n The \"exp\" (expiration time) claim identifies the expiration time on\n or after which the JWT MUST NOT be accepted for processing. The\n processing of the \"exp\" claim requires that the current date/time\n MUST be before the expiration date/time listed in the... | 85 | false | mpdavis/python-jose | _validate_exp | 16,293 | |
LDU_FT/bear/parsedatetime/parseDateText | LDU_FT | [
"<BEGIN>\n## `_parse_date_rfc822`",
"Parse an RFC822, RFC1123, RFC2822, or asctime-style date\n<END>",
"<BEGIN>\n## `_initSymbols`",
"Initialize symbols and single character constants.\n<END>",
"<BEGIN>\n## `_convertUnitAsWords`",
"Converts text units into their number value.",
" @type unitText:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parseDateText API.
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 parseDateText API.
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... | Parse long-form date strings::
'May 31st, 2006'
'Jan 1st'
'July 2006'
@type dateString: string
@param dateString: text to convert to a datetime
@type sourceTime: struct_time
@param sourceTime: C{struct_time} value to use as the base
... | "Parse long-form date strings::\n\n 'May 31st, 2006'\n 'Jan 1st'\n 'July 2006'\n\n @type dateString: string\n @param dateString: text to convert to a datetime\n @type sourceTime: struct_time\n @param sourceTime: C{struct_time} value to use as the ba... | 131 | false | bear/parsedatetime | parseDateText | 16,294 | |
LDU_FT/pirate/mesh-networking/send | LDU_FT | [
"<BEGIN>\n## `_generate_MAC`",
"generate a non-guaranteed-unique mac address\n<END>",
"<BEGIN>\n## `run`",
"runloop that gets triggered by node.start()\n reads new packets off the link and feeds them to recv()\n<END>",
"<BEGIN>\n## `recv`",
"run incoming packet through the filters, then place it in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | send a packet down the line to the inteface | "send a packet down the line to the inteface" | 44 | false | pirate/mesh-networking | send | 16,295 | |
LDU_FT/hubo1016/aiogrpc/close | LDU_FT | [
"<BEGIN>\n## `channel_ready_future`",
"Creates a Future that tracks when a Channel is ready.",
" Cancelling the Future does not affect the channel's state machine.\n It merely decouples the Future from channel state machine.",
" Args:\n channel: A Channel object.",
" Returns:\n A Future object tha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API.
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 close API.
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... | This method returns a future, so you should use `await channel.close()`, but call
`channel.close()` also close it (but did not wait for the closing) | "This method returns a future, so you should use `await channel.close()`, but call\n `channel.close()` also close it (but did not wait for the closing)" | 31 | false | hubo1016/aiogrpc | close | 16,296 | |
LDU_FT/scott-griffiths/bitstring/set | LDU_FT | [
"<BEGIN>\n## `offsetcopy`",
"Return a copy of a ByteStore with the newoffset.",
" Not part of public interface.\n<END>",
"<BEGIN>\n## `equal`",
"Return True if ByteStores a == b.",
" Not part of public interface.\n<END>",
"<BEGIN>\n## `structparser`",
"Parse struct-like format string token into ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set API.
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 set API.
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... | Set one or many bits to 1 or 0.
value -- If True bits are set to 1, otherwise they are set to 0.
pos -- Either a single bit position or an iterable of bit positions.
Negative numbers are treated in the same way as slice indices.
Defaults to the entire bitstring.
R... | "Set one or many bits to 1 or 0.\n\n value -- If True bits are set to 1, otherwise they are set to 0.\n pos -- Either a single bit position or an iterable of bit positions.\n Negative numbers are treated in the same way as slice indices.\n Defaults to the entire bitstring.\n\n ... | 251 | false | scott-griffiths/bitstring | set | 16,297 | |
LDU_FT/nkavaldj/myhdl_lib/hs_arbdemux | LDU_FT | [
"<BEGIN>\n## `convert_ram_sp_ar`",
"Convert RAM: Single-Port, Asynchronous Read\n<END>",
"<BEGIN>\n## `convert_ram_sdp_rf`",
"Convert RAM: Simple-Dual-Port, Read-First\n<END>",
"<BEGIN>\n## `convert_ram_sdp_wf`",
"Convert RAM: Simple-Dual-Port, Write-First\n<END>",
"<BEGIN>\n## `convert_ram_sdp_ar`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hs_arbdemux API.
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 hs_arbdemux API.
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... | [One-to-many] Arbitrates a list output handshake interfaces
Selects one of the active output interfaces and connects it to the input.
Active is an output interface with asserted "ready" signal
hsi - (i) input handshake tuple (ready, valid)
ls_hso - (o) list of output handshake... | "[One-to-many] Arbitrates a list output handshake interfaces\n Selects one of the active output interfaces and connects it to the input.\n Active is an output interface with asserted \"ready\" signal\n hsi - (i) input handshake tuple (ready, valid)\n ls_hso - (o) list of output ha... | 111 | false | nkavaldj/myhdl_lib | hs_arbdemux | 16,298 | |
LDU_FT/thomasballinger/trellocardupdate/choose | LDU_FT | [
"<BEGIN>\n## `choose`",
"Returns the closest match to string s if exceeds threshold, else returns None\n<END>",
"<BEGIN>\n## `retry_on_bad_auth`",
"If bad token or board, try again after clearing relevant cache entries\n<END>",
"<BEGIN>\n## `cached_accessor`",
"Decorated function checks in-memory cache an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the choose API.
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 choose API.
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 the closest match to string s if exceeds threshold, else returns None | "Returns the closest match to string s if exceeds threshold, else returns None" | 10 | false | thomasballinger/trellocardupdate | choose | 16,299 | |
LDU_FT/scivision/pymap3d/uvw2enu | LDU_FT | [
"<BEGIN>\n## `anglesep_meeus`",
"Parameters\n ----------",
" lon0 : float or numpy.ndarray of float\n longitude of first point\n lat0 : float or numpy.ndarray of float\n latitude of first point\n lon1 : float or numpy.ndarray of float\n longitude of second point\n lat1 : floa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uvw2enu API.
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 uvw2enu API.
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... | Parameters
----------
u : float or numpy.ndarray of float
v : float or numpy.ndarray of float
w : float or numpy.ndarray of float
Results
-------
East : float or numpy.ndarray of float
target east ENU coordinate (meters)
North : float or numpy.ndarray of float
target ... | "Parameters\n ----------\n\n u : float or numpy.ndarray of float\n v : float or numpy.ndarray of float\n w : float or numpy.ndarray of float\n\n\n Results\n -------\n\n East : float or numpy.ndarray of float\n target east ENU coordinate (meters)\n North : float or numpy.ndarray of float\n... | 293 | false | scivision/pymap3d | uvw2enu | 16,300 | |
LDU_FT/Bearle/django-private-chat/gone_online | LDU_FT | [
"<BEGIN>\n## `target_message`",
"Distibuted payload (message) to one connection\r\n :param conn: connection\r\n :param payload: payload(json dumpable)\r\n :return:\n<END>",
"<BEGIN>\n## `fanout_message`",
"Distributes payload (message) to all connected ws clients\n<END>",
"<BEGIN>\n## `gone_online`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gone_online API.
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 gone_online API.
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... | Distributes the users online status to everyone he has dialog with | "Distributes the users online status to everyone he has dialog with" | 23 | false | Bearle/django-private-chat | gone_online | 16,301 | |
LDU_FT/JdeRobot/base/sensor_diag_encode | LDU_FT | [
"<BEGIN>\n## `bytes_needed`",
"return number of bytes needed for next parsing stage\n<END>",
"<BEGIN>\n## `__callbacks`",
"this method exists only to make profiling results easier to read\n<END>",
"<BEGIN>\n## `parse_char`",
"input some data bytes, possibly returning a new message\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sensor_diag_encode 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 sensor_diag_encode 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... | Diagnostic data Sensor MCU
float1 : Float field 1 (float)
float2 : Float field 2 (float)
int1 : Int 16 field 1 (int16_t)
char1 : Int 8 field 1 (int8_t) | "Diagnostic data Sensor MCU\n\n float1 : Float field 1 (float)\n float2 : Float field 2 (float)\n int1 : Int 16 field 1 (int16_t)\n char1 : Int 8 field 1 (int8_t)" | 1,991 | true | JdeRobot/base | sensor_diag_encode | 16,302 | |
LDU_FT/bukun/TorCMS/_change_kind | LDU_FT | [
"<BEGIN>\n## `view_or_add`",
"To judge if there is a post of the title.\n Then, to show, or to add.\n<END>",
"<BEGIN>\n## `gen_array_crud`",
"Return the dictionay of the switcher form XLXS file.\n if valud of the column of the row is `1`, it will be added to the array.\n<END>",
"<BEGIN>\n## `__ge... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _change_kind API.
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 _change_kind API.
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... | To modify the category of the post, and kind. | "To modify the category of the post, and kind." | 189 | false | bukun/TorCMS | _change_kind | 16,303 | |
LDU_FT/pypa/pipenv/addCondition | LDU_FT | [
"<BEGIN>\n## `site_data_dir`",
"r\"\"\"Return full path to the user-shared data dir for this application.",
" \"appname\" is the name of application.\n If None, just the system directory is returned.\n \"appauthor\" (only used on Windows) is the name of the\n appauthor or dis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addCondition API.
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 addCondition API.
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... | Add a boolean predicate function to expression's list of parse actions. See
:class:`setParseAction` for function call signatures. Unlike ``setParseAction``,
functions passed to ``addCondition`` need to return boolean success/fail of the condition.
Optional keyword arguments:
- message =... | "Add a boolean predicate function to expression's list of parse actions. See\n :class:`setParseAction` for function call signatures. Unlike ``setParseAction``,\n functions passed to ``addCondition`` need to return boolean success/fail of the condition.\n\n Optional keyword arguments:\n - mes... | 4,833 | true | pypa/pipenv | addCondition | 16,304 | |
LDU_FT/IdentityPython/SATOSA/_authn_response | LDU_FT | [
"<BEGIN>\n## `handle_authn_response`",
"See super class method satosa.frontends.base.FrontendModule#handle_authn_response\n :type context: satosa.context.Context\n :type internal_response: satosa.internal.InternalData\n :rtype satosa.response.Response\n<END>",
"<BEGIN>\n## `handle_authn_req... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _authn_response API.
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 _authn_response API.
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... | Handles the authentication response from the AS.
:type context: satosa.context.Context
:rtype: satosa.response.Response
:param context: The context in SATOSA
:return: A SATOSA response. This method is only responsible to call the callback function
which generates the Response ob... | "Handles the authentication response from the AS.\n\n :type context: satosa.context.Context\n :rtype: satosa.response.Response\n :param context: The context in SATOSA\n :return: A SATOSA response. This method is only responsible to call the callback function\n which generates the Resp... | 435 | false | IdentityPython/SATOSA | _authn_response | 16,305 | |
LDU_FT/threeML/astromodels/_set_bounds | LDU_FT | [
"<BEGIN>\n## `angular_distance_fast`",
"Compute angular distance using the Haversine formula. Use this one when you know you will never ask for points at\n their antipodes. If this is not the case, use the angular_distance function which is slower, but works also for\n antipodes.",
" :param lon1:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_bounds API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_bounds API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Sets the boundaries for this parameter to min_value and max_value | "Sets the boundaries for this parameter to min_value and max_value" | 240 | false | threeML/astromodels | _set_bounds | 16,306 | |
LDU_FT/daler/gffutils/bins | LDU_FT | [
"<BEGIN>\n## `to_bedtool`",
"Convert any iterator into a pybedtools.BedTool object.",
" Note that the supplied iterator is not consumed by this function. To save\n to a temp file or to a known location, use the `.saveas()` method of the\n returned BedTool object.\n<END>",
"<BEGIN>\n## `tsses`",
"Cr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bins API.
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 bins API.
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... | Uses the definition of a "genomic bin" described in Fig 7 of
http://genome.cshlp.org/content/12/6/996.abstract.
Parameters
----------
one : boolean
If `one=True` (default), then only return the smallest bin that
completely contains these coordinates (useful for assigning a single
... | "Uses the definition of a \"genomic bin\" described in Fig 7 of\n http://genome.cshlp.org/content/12/6/996.abstract.\n\n Parameters\n ----------\n one : boolean\n If `one=True` (default), then only return the smallest bin that\n completely contains these coordinates (useful for assigning a sin... | 366 | false | daler/gffutils | bins | 16,307 | |
LDU_FT/deepmind/sonnet/restore_initializer | LDU_FT | [
"<BEGIN>\n## `generate_code`",
"Generates code samples.",
" Args:\n max_length: int. max literal length.\n max_nest: int. max nesting level.\n ops: CodeOp. set of allowable operations.",
" Returns:\n 1. (str) output value.\n 2. (str) Code operation.\n<END>",
"<BEGIN>\n## `get_tokens`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the restore_initializer 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 restore_initializer 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... | Custom getter to restore all variables with `snt.restore_initializer`.
Args:
filename: The filename of the checkpoint.
name_fn: A function which can map the name of the variable requested. This
allows restoring variables with values having different names in the
checkpoint.
collection: Only s... | "Custom getter to restore all variables with `snt.restore_initializer`.\n\n Args:\n filename: The filename of the checkpoint.\n name_fn: A function which can map the name of the variable requested. This\n allows restoring variables with values having different names in the\n checkpoint.\n collection... | 937 | false | deepmind/sonnet | restore_initializer | 16,308 | |
LDU_FT/ansible/molecule/execute | LDU_FT | [
"<BEGIN>\n## `bake`",
"Bake an ``ansible-playbook`` command so it's ready to execute and\n returns ``None``.",
" :return: None\n<END>",
"<BEGIN>\n## `execute`",
"Executes ``ansible-playbook`` and returns a string.",
" :return: str\n<END>",
"<BEGIN>\n## `execute`",
"Execute the act... | 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 the actions necessary to perform a `molecule init scenario` and
returns None.
:return: None | "Execute the actions necessary to perform a `molecule init scenario` and\n returns None.\n\n :return: None" | 234 | false | ansible/molecule | execute | 16,309 | |
LDU_FT/klahnakoski/pyLibrary/_wait_for_queue_space | LDU_FT | [
"<BEGIN>\n## `groupby`",
":param data:\n :param keys:\n :param size:\n :param min_size:\n :param max_size:\n :param contiguous: MAINTAIN THE ORDER OF THE DATA, STARTING THE NEW GROUP WHEN THE SELECTOR CHANGES\n :return: return list of (keys, values) PAIRS, WHERE\n keys IS IN LEAF... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _wait_for_queue_space 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 _wait_for_queue_space API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | EXPECT THE self.lock TO BE HAD, WAITS FOR self.queue TO HAVE A LITTLE SPACE | "EXPECT THE self.lock TO BE HAD, WAITS FOR self.queue TO HAVE A LITTLE SPACE" | 574 | false | klahnakoski/pyLibrary | _wait_for_queue_space | 16,310 | |
LDU_FT/jreese/dotlink/ssh | LDU_FT | [
"<BEGIN>\n## `parse_mapping`",
"Do a simple parse of the dotfile mapping, using semicolons to\n separate source file name from the target file paths.\n<END>",
"<BEGIN>\n## `sh`",
"Run a shell command with the given arguments.\n<END>",
"<BEGIN>\n## `ssh`",
"Run an ssh command using the configured us... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ssh API.
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 ssh API.
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 an ssh command using the configured user/server values. | "Run an ssh command using the configured user/server values." | 16 | false | jreese/dotlink | ssh | 16,311 | |
LDU_FT/tlevine/vlermv/filename | LDU_FT | [
"<BEGIN>\n## `_get_fn`",
"Load a contents, checking that the file was not modified during the read.\n<END>",
"<BEGIN>\n## `memoize`",
"Memoize/record a function inside this vlermv. ::",
" @Vlermv.cache('~/.http')\n def get(url):\n return requests.get(url, auth = ('userna... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filename API.
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 filename API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Get the absolute filename corresponding to a key; run the
key_transformer on the key and do a few other small things.
:raises TypeError: if the key_transformer returns something other than
a :py:class:`tuple` of :py:class:`strings <str>`
:raises KeyError: if the key_transformer retu... | "Get the absolute filename corresponding to a key; run the\n key_transformer on the key and do a few other small things.\n\n :raises TypeError: if the key_transformer returns something other than\n a :py:class:`tuple` of :py:class:`strings <str>`\n :raises KeyError: if the key_transforme... | 17 | false | tlevine/vlermv | filename | 16,312 | |
LDU_FT/SuryaSankar/flask-sqlalchemy-booster/build_all | LDU_FT | [
"<BEGIN>\n## `_isinstance`",
"Checks if the specified model instance matches the class model.\n By default this method will raise a `ValueError` if the model is not of\n expected type.",
" Args:",
" model (Model) : The instance to be type checked",
" raise_error (b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Similar to `create_all`. But transaction is not committed. | "Similar to `create_all`. But transaction is not committed." | 177 | false | SuryaSankar/flask-sqlalchemy-booster | build_all | 16,313 | |
LDU_FT/joar/mig/create_new_migration_record | LDU_FT | [
"<BEGIN>\n## `assure_migrations_table_setup`",
"Make sure the migrations table is set up in the database.\n<END>",
"<BEGIN>\n## `sorted_migrations`",
"Sort migrations if necessary and store in self._sorted_migrations\n<END>",
"<BEGIN>\n## `migration_data`",
"Get the migration row associated with this obje... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_new_migration_record 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 create_new_migration_record API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Create a new migration record for this migration set | "Create a new migration record for this migration set" | 22 | false | joar/mig | create_new_migration_record | 16,314 | |
LDU_FT/bitshares/python-bitshares/create_worker | LDU_FT | [
"<BEGIN>\n## `decodeRPCErrorMsg`",
"Helper function to decode the raised Exception and give it a\n python Exception class\n<END>",
"<BEGIN>\n## `transfer`",
"Transfer an asset to another account.",
" :param str to: Recipient\n :param float amount: Amount to transfer\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_worker API.
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 create_worker API.
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 worker
This removes the shares from the supply
**Required**
:param str name: Name of the worke
:param bitshares.amount.Amount daily_pay: The amount to be paid
daily
:param datetime end: Date/time of end of the worker
**... | "Create a worker\n\n This removes the shares from the supply\n\n **Required**\n\n :param str name: Name of the worke\n :param bitshares.amount.Amount daily_pay: The amount to be paid\n daily\n :param datetime end: Date/time of end of the worker\n\n ... | 116 | false | bitshares/python-bitshares | create_worker | 16,315 | |
LDU_FT/pricingassistant/mrq/kill | LDU_FT | [
"<BEGIN>\n## `group_iter`",
"Given an iterator, it returns sub-lists made of n items.\n (except the last that can have len < n)\n<END>",
"<BEGIN>\n## `memoize`",
"Memoization decorator for a function taking one or more arguments.\n<END>",
"<BEGIN>\n## `memoize_single_argument`",
"Memoization decorator ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the kill API.
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 kill API.
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... | Forcefully kill all greenlets associated with this job | "Forcefully kill all greenlets associated with this job" | 123 | false | pricingassistant/mrq | kill | 16,316 | |
LDU_FT/okfn/ofs/peek | LDU_FT | [
"<BEGIN>\n## `revert`",
"Revert the state to the version stored on disc.\n<END>",
"<BEGIN>\n## `sync`",
"Synchronise and update the stored state to the in-memory state.\n<END>",
"<BEGIN>\n## `del_stream`",
"Will fail if the bucket or label don't exist\n<END>",
"<BEGIN>\n## `authenticate_request`",
"Au... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the peek API.
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 peek API.
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... | Returns buffered bytes without advancing the position. | "Returns buffered bytes without advancing the position." | 53 | false | okfn/ofs | peek | 16,317 | |
LDU_FT/scivision/morecvutils/setupuv | LDU_FT | [
"<BEGIN>\n## `cohensutherland`",
"Clips a line to a rectangular area.",
" This implements the Cohen-Sutherland line clipping algorithm. xmin,\n ymax, xmax and ymin denote the clipping area, into which the line\n defined by x1, y1 (start point) and x2, y2 (end point) will be\n clipped.",
" If t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setupuv API.
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 setupuv API.
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... | Horn Schunck legacy OpenCV function requires we use these old-fashioned cv matrices, not numpy array | "Horn Schunck legacy OpenCV function requires we use these old-fashioned cv matrices, not numpy array" | 14 | false | scivision/morecvutils | setupuv | 16,318 | |
LDU_FT/jaraco/hgtools/reset_less_significant | LDU_FT | [
"<BEGIN>\n## `file_finder`",
"Find the files in ``dirname`` under Mercurial version control\n\taccording to the setuptools spec (see\n\thttp://peak.telecommunity.com/DevCenter/setuptools#adding-support-for-other-revision-control-systems\n\t).\n<END>",
"<BEGIN>\n## `patch_egg_info`",
"A hack to replace egg_inf... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset_less_significant 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 reset_less_significant API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Reset to zero all version info less significant than the
indicated version.
>>> ver = SummableVersion('3.1.2')
>>> ver.reset_less_significant(SummableVersion('0.1'))
>>> str(ver)
'3.1' | "Reset to zero all version info less significant than the\n\t\tindicated version.\n\n\t\t>>> ver = SummableVersion('3.1.2')\n\t\t>>> ver.reset_less_significant(SummableVersion('0.1'))\n\t\t>>> str(ver)\n\t\t'3.1'" | 50 | false | jaraco/hgtools | reset_less_significant | 16,319 | |
LDU_FT/pymacaron/pymacaron/add_auth | LDU_FT | [
"<BEGIN>\n## `load_clients`",
"Generate client libraries for the given apis, without starting an\n api server\n<END>",
"<BEGIN>\n## `load_apis`",
"Load all swagger files found at the given path, except those whose\n names are in the 'ignore' list\n<END>",
"<BEGIN>\n## `publish_apis`",
"Publi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_auth API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_auth API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | A decorator that adds the authentication header to requests arguments | "A decorator that adds the authentication header to requests arguments" | 47 | false | pymacaron/pymacaron | add_auth | 16,320 | |
LDU_FT/openid/JWTConnect-Python-CryptoJWT/jwk_wrap | LDU_FT | [
"<BEGIN>\n## `encrypt`",
"Encrypts and authenticates the data provided as well as authenticating\n the associated_data.",
" :param msg: The message to be encrypted\n :param iv: MUST be present, at least 96-bit long\n :param auth_data: Associated data\n :return: The cipher text... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jwk_wrap API.
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 jwk_wrap API.
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... | Instantiate a Key instance with the given key
:param key: The keys to wrap
:param use: What the key are expected to be use for
:param kid: A key id
:return: The Key instance | "Instantiate a Key instance with the given key\n\n :param key: The keys to wrap\n :param use: What the key are expected to be use for\n :param kid: A key id\n :return: The Key instance" | 399 | false | openid/JWTConnect-Python-CryptoJWT | jwk_wrap | 16,321 | |
LDU_FT/opentracing/opentracing-python/inject | LDU_FT | [
"<BEGIN>\n## `activate`",
"Make a :class:`~opentracing.Span` instance active.",
" :param span: the :class:`~opentracing.Span` that should become active.\n :param finish_on_close: whether *span* should automatically be\n finished when :meth:`Scope.close()` is called.",
" :return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inject API.
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 inject API.
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 ... | Injects `span_context` into `carrier`.
The type of `carrier` is determined by `format`. See the
:class:`Format` class/namespace for the built-in OpenTracing formats.
Implementations *must* raise :exc:`UnsupportedFormatException` if
`format` is unknown or disallowed.
:param spa... | "Injects `span_context` into `carrier`.\n\n The type of `carrier` is determined by `format`. See the\n :class:`Format` class/namespace for the built-in OpenTracing formats.\n\n Implementations *must* raise :exc:`UnsupportedFormatException` if\n `format` is unknown or disallowed.\n\n :... | 79 | false | opentracing/opentracing-python | inject | 16,322 | |
LDU_FT/NiklasRosenstein/myo-python/magnitude | LDU_FT | [
"<BEGIN>\n## `encode`",
"Encodes the number *value* to a MAC address ASCII string in binary form.\n Raises a #ValueError if *value* is a negative number or exceeds the MAC\n address range.\n<END>",
"<BEGIN>\n## `decode`",
"Decodes an ASCII encoded binary MAC address tring into a number.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the magnitude API.
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 magnitude API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns the magnitude of the quaternion. | "Returns the magnitude of the quaternion." | 44 | false | NiklasRosenstein/myo-python | magnitude | 16,323 | |
LDU_FT/letuananh/chirptext/get | LDU_FT | [
"<BEGIN>\n## `download`",
"Download a file at $url and save it to $path\n<END>",
"<BEGIN>\n## `parse`",
"Use mecab-python3 by default to parse JP text. Fall back to mecab binary app if needed\n<END>",
"<BEGIN>\n## `flex_update_obj`",
"Pull data from source to target.\n Target's __dict__ (object data) w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | If sent_id exists, remove and return the associated sentence object else return default.
If no default is provided, KeyError will be raised. | "If sent_id exists, remove and return the associated sentence object else return default.\n If no default is provided, KeyError will be raised." | 80 | false | letuananh/chirptext | get | 16,324 | |
LDU_FT/coinbase/coinbase-python/build_api_error | LDU_FT | [
"<BEGIN>\n## `set_primary`",
"https://developers.coinbase.com/api/v2#set-account-as-primary\n<END>",
"<BEGIN>\n## `modify`",
"https://developers.coinbase.com/api#modify-an-account\n<END>",
"<BEGIN>\n## `get_address`",
"https://developers.coinbase.com/api/v2#show-addresss\n<END>",
"<BEGIN>\n## `get_addre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_api_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_api_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Helper method for creating errors and attaching HTTP response/request
details to them. | "Helper method for creating errors and attaching HTTP response/request\n details to them." | 166 | false | coinbase/coinbase-python | build_api_error | 16,325 | |
LDU_FT/mardix/Juice/plugin | LDU_FT | [
"<BEGIN>\n## `get_env`",
"Return the Capitalize environment name\n It can be used to retrieve class base config\n Default: Development\n :returns: str\n<END>",
"<BEGIN>\n## `init_app`",
"To bind middlewares, plugins that needs the 'app' object to init\n Bound middlewares will be assigned on cls.in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plugin API.
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 plugin API.
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 ... | Decorator to extend a package to a view.
The module can be a class or function. It will copy all the methods to the class
ie:
# Your module.py
my_ext(view, **kwargs):
class MyExtension(object):
def my_view(self):
return {}
return MyEx... | "Decorator to extend a package to a view.\n The module can be a class or function. It will copy all the methods to the class\n\n ie:\n # Your module.py\n my_ext(view, **kwargs):\n class MyExtension(object):\n def my_view(self):\n return {}\n\n ... | 101 | false | mardix/Juice | plugin | 16,326 | |
LDU_FT/hammerlab/stanity/psislw | LDU_FT | [
"<BEGIN>\n## `psisloo`",
"r\"\"\"PSIS leave-one-out log predictive densities.",
" Computes the log predictive densities given posterior samples of the log\n likelihood terms :math:`p(y_i|\\theta^s)` in input parameter `log_lik`.\n Returns a sum of the leave-one-out log predictive densities `loo`,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the psislw API.
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 psislw API.
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 ... | Pareto smoothed importance sampling (PSIS).
Parameters
----------
lw : ndarray
Array of size n x m containing m sets of n log weights. It is also
possible to provide one dimensional array of length n.
Reff : scalar, optional
relative MCMC efficiency ``N_eff / N``
overwrite... | "Pareto smoothed importance sampling (PSIS).\n\n Parameters\n ----------\n lw : ndarray\n Array of size n x m containing m sets of n log weights. It is also\n possible to provide one dimensional array of length n.\n\n Reff : scalar, optional\n relative MCMC efficiency ``N_eff / N``\n\n ... | 46 | false | hammerlab/stanity | psislw | 16,327 | |
LDU_FT/objectrocket/python-client/_concrete_instance | LDU_FT | [
"<BEGIN>\n## `register_extension_class`",
"Instantiate the given extension class and register as a public attribute of the given base.",
" README: The expected protocol here is to instantiate the given extension and pass the base\n object as the first positional argument, then unpack args and kwargs as ad... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _concrete_instance 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 _concrete_instance 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... | Concretize an instance document.
:param dict instance_doc: A document describing an instance. Should come from the API.
:returns: A subclass of :py:class:`bases.BaseInstance`, or None.
:rtype: :py:class:`bases.BaseInstance` | "Concretize an instance document.\n\n :param dict instance_doc: A document describing an instance. Should come from the API.\n :returns: A subclass of :py:class:`bases.BaseInstance`, or None.\n :rtype: :py:class:`bases.BaseInstance`" | 118 | false | objectrocket/python-client | _concrete_instance | 16,328 | |
LDU_FT/INM-6/hybridLFPy/fig_kernel_lfp_CINPLA | LDU_FT | [
"<BEGIN>\n## `plot_signal_sum`",
"on axes plot the signal contributions",
" args:\n ::\n ax : matplotlib.axes.AxesSubplot object\n z : np.ndarray\n T : list, [tstart, tstop], which timeinterval\n ylims : list, set range of yaxis to scale with other plots\n fancy : bool, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fig_kernel_lfp_CINPLA 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 fig_kernel_lfp_CINPLA API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | This function calculates the STA of LFP, extracts kernels and recontructs the LFP from kernels.
kwargs:
::
transient : the time in milliseconds, after which the analysis should begin
so as to avoid any starting transients
X : id of presynaptic trigger population | "This function calculates the STA of LFP, extracts kernels and recontructs the LFP from kernels.\n \n kwargs:\n ::\n transient : the time in milliseconds, after which the analysis should begin\n so as to avoid any starting transients\n X : id of presynaptic trigger population" | 412 | false | INM-6/hybridLFPy | fig_kernel_lfp_CINPLA | 16,329 | |
LDU_FT/lemieuxl/pyGenClean/read_eigenvalues | LDU_FT | [
"<BEGIN>\n## `main`",
"The main function of the module.",
" :param argString: the options.",
" :type argString: list",
" These are the steps:",
" 1. Prints the options.\n 2. If there are ``summarized_intensities`` provided, reads the files\n (:py:func:`read_summarized_intensities`) an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_eigenvalues API.
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 read_eigenvalues API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Reads the eigenvalues from EIGENSOFT results.
:param i_filename: the name of the input file.
:type i_filename: str
:returns: a :py:class:`numpy.ndarray` array containing the eigenvalues. | "Reads the eigenvalues from EIGENSOFT results.\n\n :param i_filename: the name of the input file.\n\n :type i_filename: str\n\n :returns: a :py:class:`numpy.ndarray` array containing the eigenvalues." | 1,109 | true | lemieuxl/pyGenClean | read_eigenvalues | 16,330 | |
LDU_FT/kellerza/pyqwikswitch/update_devices | LDU_FT | [
"<BEGIN>\n## `_legacy_status`",
"Legacy status method from the 'qsmobile.js' library.",
" Pass in the 'val' from &devices or the\n 'data' received after calling a specific ID.\n<END>",
"<BEGIN>\n## `decode_qwikcord`",
"Extract the qwikcord current measurements from val (CTavg, CTsum).\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_devices API.
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 update_devices API.
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... | Update values from response of URL_DEVICES, callback if changed. | "Update values from response of URL_DEVICES, callback if changed." | 25 | false | kellerza/pyqwikswitch | update_devices | 16,331 | |
LDU_FT/apetrynet/pyfilemail/get_contact | LDU_FT | [
"<BEGIN>\n## `not_completed`",
"Decorator function to check if user is loged in.",
" :raises: :class:`FMBaseError` if not logged in\n<END>",
"<BEGIN>\n## `_parse_recipients`",
"Make sure we have a \",\" separated list of recipients",
" :param to: Recipient(s)\n :type to: (str,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_contact API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_contact API.
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 Filemail contact based on email.
:param email: address of contact
:type email: ``str``, ``unicode``
:rtype: ``dict`` with contact information | "Get Filemail contact based on email.\n\n :param email: address of contact\n :type email: ``str``, ``unicode``\n :rtype: ``dict`` with contact information" | 116 | false | apetrynet/pyfilemail | get_contact | 16,332 | |
LDU_FT/caseyjlaw/rtpipe/set_selection | LDU_FT | [
"<BEGIN>\n## `get_metadata`",
"Function to scan data (a small read) and define parameters used elsewhere.\n filename needs full path.\n Examples include, read/bgsub windows, image grid, memory profile.\n If pickle file doesn't exist, it creates one. \n Either way, dictionary is returned with info.\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_selection API.
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 set_selection API.
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... | Set select parameter that defines spectral window, time, or any other selection.
time (in mjd) defines the time to find solutions near for given calname.
freqs (in Hz) is frequencies in data.
blarr is array of size 2xnbl that gives pairs of antennas in each baseline (a la tpipe.blarr).
c... | "Set select parameter that defines spectral window, time, or any other selection.\n time (in mjd) defines the time to find solutions near for given calname.\n freqs (in Hz) is frequencies in data.\n blarr is array of size 2xnbl that gives pairs of antennas in each baseline (a la tpipe.blarr).\n ... | 256 | false | caseyjlaw/rtpipe | set_selection | 16,333 | |
LDU_FT/DBuildService/dockerfile-parse/cmd | LDU_FT | [
"<BEGIN>\n## `image_from`",
":param from_value: string like \"image:tag\" or \"image:tag AS name\"\n :return: tuple of the image and stage name, e.g. (\"image:tag\", None)\n<END>",
"<BEGIN>\n## `lines`",
":return: list containing lines (unicode) from Dockerfile\n<END>",
"<BEGIN>\n## `lines`",
"Fill Doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cmd API.
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 cmd API.
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... | Determine the final CMD instruction, if any, in the final build stage.
CMDs from earlier stages are ignored.
:return: value of final stage CMD instruction | "Determine the final CMD instruction, if any, in the final build stage.\n CMDs from earlier stages are ignored.\n :return: value of final stage CMD instruction" | 58 | false | DBuildService/dockerfile-parse | cmd | 16,334 | |
LDU_FT/uber/tchannel-python/local_ip | 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 local_ip API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the local_ip API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Get the local network IP of this machine | "Get the local network IP of this machine" | 422 | false | uber/tchannel-python | local_ip | 16,335 | |
LDU_FT/geminipy/geminipy/auction_history | LDU_FT | [
"<BEGIN>\n## `pubticker`",
"Send a request for latest ticker info, return the response.\n<END>",
"<BEGIN>\n## `book`",
"Send a request to get the public order book, return the response.",
" Arguments:\n symbol -- currency symbol (default 'btcusd')\n limit_bids -- limit the number of bid... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auction_history API.
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 auction_history API.
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... | Send a request for auction history info, return the response.
Arguments:
symbol -- currency symbol (default 'btcusd')
since -- only return auction events after this timestamp (default 0)
limit_auction_results -- maximum number of auction events to return
... | "Send a request for auction history info, return the response.\n\n Arguments:\n symbol -- currency symbol (default 'btcusd')\n since -- only return auction events after this timestamp (default 0)\n limit_auction_results -- maximum number of auction events to return\n ... | 31 | false | geminipy/geminipy | auction_history | 16,336 | |
LDU_FT/ecell/ecell4/plot_trajectory | LDU_FT | [
"<BEGIN>\n## `load_world`",
"Load a world from the given HDF5 filename.\n The return type is determined by ``ecell4_base.core.load_version_information``.",
" Parameters\n ----------\n filename : str\n A HDF5 filename.",
" Returns\n -------\n w : World\n Return one from ``BDW... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_trajectory API.
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 plot_trajectory API.
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... | Generate a plot from received instance of TrajectoryObserver and show it
See also plot_trajectory_with_elegans and plot_trajectory_with_matplotlib.
Parameters
----------
obs : TrajectoryObserver
TrajectoryObserver to render.
interactive : bool, default True
Choose a visualizer. If F... | "Generate a plot from received instance of TrajectoryObserver and show it\n See also plot_trajectory_with_elegans and plot_trajectory_with_matplotlib.\n\n Parameters\n ----------\n obs : TrajectoryObserver\n TrajectoryObserver to render.\n interactive : bool, default True\n Choose a visuali... | 217 | false | ecell/ecell4 | plot_trajectory | 16,337 | |
LDU_FT/log2timeline/dfwinreg/_GetUsers | LDU_FT | [
"<BEGIN>\n## `_CheckKeyPath`",
"Checks the key path find specification.",
" Args:\n registry_key (WinRegistryKey): Windows Registry key.\n search_depth (int): number of key path segments to compare.",
" Returns:\n bool: True if the Windows Registry key matches the find specification,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _GetUsers API.
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 _GetUsers API.
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... | Virtual key callback to determine the users sub keys.
Args:
key_path_suffix (str): users Windows Registry key path suffix with
leading path separator.
Returns:
WinRegistryKey: the users Windows Registry key or None if not available. | "Virtual key callback to determine the users sub keys.\n\n Args:\n key_path_suffix (str): users Windows Registry key path suffix with\n leading path separator.\n\n Returns:\n WinRegistryKey: the users Windows Registry key or None if not available." | 199 | false | log2timeline/dfwinreg | _GetUsers | 16,338 | |
LDU_FT/sebp/scikit-survival/predict | LDU_FT | [
"<BEGIN>\n## `_fit_and_score`",
"Train survival model on given data and return its score on test data\n<END>",
"<BEGIN>\n## `fit`",
"Fit estimator.",
" Parameters\n ----------\n X : array-like, shape = (n_samples, n_features)\n Data matrix",
" y : structured array, s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict API.
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 predict API.
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... | Predict risk scores.
Parameters
----------
X : array-like, shape = (n_samples, n_features)
The input samples.
Returns
-------
y : ndarray, shape = (n_samples,)
The risk scores. | "Predict risk scores.\n\n Parameters\n ----------\n X : array-like, shape = (n_samples, n_features)\n The input samples.\n\n Returns\n -------\n y : ndarray, shape = (n_samples,)\n The risk scores." | 432 | false | sebp/scikit-survival | predict | 16,339 | |
LDU_FT/poppy-project/pypot/simxGetPingTime | LDU_FT | [
"<BEGIN>\n## `set_snap_server_variables`",
"Change dynamically port and host variable in xml Snap! project file\n<END>",
"<BEGIN>\n## `run`",
"Start the tornado server, run forever.\n 'quiet' and 'server' arguments are no longer used, they are keep only for backward compatibility\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simxGetPingTime API.
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 simxGetPingTime API.
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... | Please have a look at the function description/documentation in the V-REP user manual | "Please have a look at the function description/documentation in the V-REP user manual" | 371 | false | poppy-project/pypot | simxGetPingTime | 16,340 | |
LDU_FT/fmenabe/python-dokuwiki/set | LDU_FT | [
"<BEGIN>\n## `date`",
"DokuWiki returns dates of `xmlrpclib`/`xmlrpc.client` ``DateTime``\n type and the format changes between DokuWiki versions ... This function\n convert *date* to a `datetime` object.\n<END>",
"<BEGIN>\n## `utc2local`",
"DokuWiki returns date with a +0000 timezone. This function con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set API.
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 set API.
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... | Set/replace the *content* of *page*.
Valid *options* are:
* *sum*: (str) change summary
* *minor*: (bool) whether this is a minor change | "Set/replace the *content* of *page*.\n\n Valid *options* are:\n\n * *sum*: (str) change summary\n * *minor*: (bool) whether this is a minor change" | 32 | false | fmenabe/python-dokuwiki | set | 16,341 | |
LDU_FT/deschler/django-modeltranslation/replace_orig_field | LDU_FT | [
"<BEGIN>\n## `autodiscover`",
"Auto-discover INSTALLED_APPS translation.py modules and fail silently when\n not present. This forces an import on them to register.\n Also import explicit modules.\n<END>",
"<BEGIN>\n## `register`",
"Registers the given model(s) with the given translation options.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_orig_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 replace_orig_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... | Replaces each original field in `option` that is registered for
translation by its translation fields.
Returns a new list with replaced fields. If `option` contains no
registered fields, it is returned unmodified.
>>> self = TranslationAdmin() # PyFlakes
>>> print(self.trans_o... | "Replaces each original field in `option` that is registered for\n translation by its translation fields.\n\n Returns a new list with replaced fields. If `option` contains no\n registered fields, it is returned unmodified.\n\n >>> self = TranslationAdmin() # PyFlakes\n >>> print(self... | 122 | false | deschler/django-modeltranslation | replace_orig_field | 16,342 | |
LDU_FT/e7dal/bubble3/step_command_output_should_contain_log_records_from_categories | LDU_FT | [
"<BEGIN>\n## `cli`",
"Show example for doing some task in bubble(experimental)\n<END>",
"<BEGIN>\n## `cli`",
"Bubble: command line tool for bubbling information between services",
" .oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.\\n\n Making single point to point API connections:\\n\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the step_command_output_should_contain_log_records_from_categories API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the step_command_output_should_contain_log_records_from_categories API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentat... | Verifies that the command output contains the specified log records
(in any order).
.. code-block: gherkin
Given I define a log record schema:
| category | level | message |
| root | ERROR | __LOG_MESSAGE__ |
Then the command output should contain log records from c... | "Verifies that the command output contains the specified log records\n (in any order).\n\n .. code-block: gherkin\n\n Given I define a log record schema:\n | category | level | message |\n | root | ERROR | __LOG_MESSAGE__ |\n Then the command output should contain log recor... | 171 | false | e7dal/bubble3 | step_command_output_should_contain_log_records_from_categories | 16,343 | |
LDU_FT/tcalmant/ipopo/matches | LDU_FT | [
"<BEGIN>\n## `__conn_listener`",
"Connection event listener",
" :param state: The new connection state\n<END>",
"<BEGIN>\n## `__path`",
"Adds the prefix to the given path",
" :param path: Z-Path\n :return: Prefixed Z-Path\n<END>",
"<BEGIN>\n## `create`",
"Creates a ZooKeeper node"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the matches API.
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 matches API.
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... | Tests the properties of this EndpointDescription against the given
filter
:param ldap_filter: A filter
:return: True if properties matches the filter | "Tests the properties of this EndpointDescription against the given\n filter\n\n :param ldap_filter: A filter\n :return: True if properties matches the filter" | 1,396 | true | tcalmant/ipopo | matches | 16,344 | |
LDU_FT/napalm-automation/napalm/_discard_config | LDU_FT | [
"<BEGIN>\n## `parse_intf_section`",
"Parse a single entry from show interfaces output.",
" Different cases:\n mgmt0 is up\n admin state is up",
" Ethernet2/1 is up\n admin state is up, Dedicated Interface",
" Vlan1 is down (Administratively down), line protocol is down, autostate enabled",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _discard_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _discard_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Set candidate_cfg to current running-config. Erase the merge_cfg file. | "Set candidate_cfg to current running-config. Erase the merge_cfg file." | 254 | false | napalm-automation/napalm | _discard_config | 16,345 | |
LDU_FT/luckydonald/pytgbot/to_array | LDU_FT | [
"<BEGIN>\n## `to_array`",
"Serializes this StickerSet to a dictionary.",
" :return: dictionary representation of this object.\n :rtype: dict\n<END>",
"<BEGIN>\n## `from_array`",
"Deserialize a new StickerSet from a given dictionary.",
" :return: new StickerSet instance.\n :rtyp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_array API.
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 to_array API.
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... | Serializes this Contact to a dictionary.
:return: dictionary representation of this object.
:rtype: dict | "Serializes this Contact to a dictionary.\n\n :return: dictionary representation of this object.\n :rtype: dict" | 1,048 | true | luckydonald/pytgbot | to_array | 16,346 | |
LDU_FT/xenadevel/PyXenaManager/reserve_ports | LDU_FT | [
"<BEGIN>\n## `sendQuery`",
"Send command, wait for response (single or multi lines), test for errors and return the returned code.",
" :param cmd: command to send\n :param multilines: True - multiline response, False - single line response.\n :return: command return value.\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reserve_ports API.
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 reserve_ports API.
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... | Reserve ports and reset factory defaults.
XenaManager-2G -> Reserve/Relinquish Port.
XenaManager-2G -> Reserve Port.
:param locations: list of ports locations in the form <ip/slot/port> to reserve
:param force: True - take forcefully. False - fail if port is reserved by other user
... | "Reserve ports and reset factory defaults.\n\n XenaManager-2G -> Reserve/Relinquish Port.\n XenaManager-2G -> Reserve Port.\n\n :param locations: list of ports locations in the form <ip/slot/port> to reserve\n :param force: True - take forcefully. False - fail if port is reserved by other us... | 140 | false | xenadevel/PyXenaManager | reserve_ports | 16,347 | |
LDU_FT/koheimiya/extheano/cast2theano_var | LDU_FT | [
"<BEGIN>\n## `_extract_updater`",
"Get the update and reset the buffer.\n Return `None` if there is no update.\n<END>",
"<BEGIN>\n## `_get_keys_defdict`",
"Get the keys and the default dictionary of the given function's\n arguments\n<END>",
"<BEGIN>\n## `compile_with_value`",
"Compile the fu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cast2theano_var API.
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 cast2theano_var API.
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... | Cast `numpy.ndarray` into `theano.tensor` keeping `dtype` and `ndim`
compatible | "Cast `numpy.ndarray` into `theano.tensor` keeping `dtype` and `ndim`\n compatible" | 10 | false | koheimiya/extheano | cast2theano_var | 16,348 | |
LDU_FT/pbrisk/timewave/initialize_worker | LDU_FT | [
"<BEGIN>\n## `initialize_worker`",
"inits producer for a simulation run on a single process\n<END>",
"<BEGIN>\n## `initialize_path`",
"inits producer for next path, i.e. sets current state to initial state\n<END>",
"<BEGIN>\n## `evolve`",
"evolve to the new process state at the next date, i.e. do one step... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initialize_worker API.
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 initialize_worker API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | reinitialize consumer for process in multiprocesing | "reinitialize consumer for process in multiprocesing" | 50 | false | pbrisk/timewave | initialize_worker | 16,349 | |
LDU_FT/jazzband/sorl-thumbnail/get_thumbnail | LDU_FT | [
"<BEGIN>\n## `is_valid_image`",
"Wand library makes sure when opening any image that is fine, when\n the image is corrupted raises an exception.\n<END>",
"<BEGIN>\n## `parse_geometry`",
"Parses a geometry string syntax and returns a (width, height) tuple\n<END>",
"<BEGIN>\n## `parse_crop`",
"Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_thumbnail API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_thumbnail API.
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... | A shortcut for the Backend ``get_thumbnail`` method | "A shortcut for the Backend ``get_thumbnail`` method" | 68 | false | jazzband/sorl-thumbnail | get_thumbnail | 16,350 | |
LDU_FT/jrigden/pyPodcastParser/set_owner | LDU_FT | [
"<BEGIN>\n## `set_is_valid_rss`",
"Check to if this is actually a valid RSS feed\n<END>",
"<BEGIN>\n## `set_optional_elements`",
"Sets elements considered option by RSS spec\n<END>",
"<BEGIN>\n## `count_items`",
"Counts Items in full_soup and soup. For debugging\n<END>",
"<BEGIN>\n## `set_creative_commo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_owner API.
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 set_owner API.
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... | Parses owner name and email then sets value | "Parses owner name and email then sets value" | 38 | false | jrigden/pyPodcastParser | set_owner | 16,351 | |
LDU_FT/aht/stream.py/cancel | LDU_FT | [
"<BEGIN>\n## `returned`",
"Generate a random walk and return True if the walker has returned to\n\tthe origin after taking `n` steps.\n<END>",
"<BEGIN>\n## `first_return`",
"Generate a random walk and return its length upto the moment\n\tthat the walker first returns to the origin.",
"\tIt is mathematically... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cancel API.
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 cancel API.
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 ... | Try to cancel jobs with associated ids.
Return the actual number of jobs cancelled. | "Try to cancel jobs with associated ids.\n\t\t\n\t\tReturn the actual number of jobs cancelled." | 35 | false | aht/stream.py | cancel | 16,352 | |
LDU_FT/cs50/check50/_send | LDU_FT | [
"<BEGIN>\n## `install_dependencies`",
"Install all packages in dependency list via pip.\n<END>",
"<BEGIN>\n## `install_translations`",
"Add check translations according to ``config`` as a fallback to existing translations\n<END>",
"<BEGIN>\n## `await_results`",
"Ping {url} until it returns a results paylo... | 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 request of type `method` to `route`. | "Send request of type `method` to `route`." | 125 | false | cs50/check50 | _send | 16,353 | |
LDU_FT/SavinaRoja/PyUserInput/ascii_printable | LDU_FT | [
"<BEGIN>\n## `display_manager`",
"Traps *X* errors and raises an :class:``X11Error`` at the end if any\n error occurred.",
" This handler also ensures that the :class:`Xlib.display.Display` being\n managed is sync'd.",
" :param Xlib.display.Display display: The *X* display.",
" :return: the d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ascii_printable API.
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 ascii_printable API.
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... | If the keysym corresponds to a non-printable ascii character this will
return False. If it is printable, then True will be returned.
ascii 11 (vertical tab) and ascii 12 are printable, chr(11) and chr(12)
will return '\x0b' and '\x0c' respectively. | "If the keysym corresponds to a non-printable ascii character this will\n return False. If it is printable, then True will be returned.\n\n ascii 11 (vertical tab) and ascii 12 are printable, chr(11) and chr(12)\n will return '\\x0b' and '\\x0c' respectively." | 56 | false | SavinaRoja/PyUserInput | ascii_printable | 16,354 | |
LDU_FT/samastur/pyimagediet/diet | LDU_FT | [
"<BEGIN>\n## `diet`",
"Simple program that either print config customisations for your\n environment or compresses file FILE.\n<END>",
"<BEGIN>\n## `read_yaml_configuration`",
"Parse configuration in YAML format into a Python dict",
" :param filename: filename of a file with configuration in YAML form... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the diet API.
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 diet API.
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... | Simple program that either print config customisations for your
environment or compresses file FILE. | "Simple program that either print config customisations for your\n environment or compresses file FILE." | 21 | false | samastur/pyimagediet | diet | 16,355 | |
LDU_FT/Legobot/Legobot/build_attachment | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect to a server.",
" This overrides the function in SimpleIRCClient\n to provide SSL functionality.",
" :param args:\n :param kwargs:\n :return:\n<END>",
"<BEGIN>\n## `set_metadata`",
"This function sets the metadata that is common between p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_attachment API.
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_attachment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Builds a slack attachment.
Args:
message (Legobot.Message): message w/ metadata to send.
Returns:
attachment (dict): attachment data. | "Builds a slack attachment.\n\n Args:\n message (Legobot.Message): message w/ metadata to send.\n\n Returns:\n attachment (dict): attachment data." | 119 | false | Legobot/Legobot | build_attachment | 16,356 | |
LDU_FT/sparklingpandas/sparklingpandas/_custom_rdd_reduce | LDU_FT | [
"<BEGIN>\n## `_prep_pandas_groupby`",
"Prepare the old school pandas group by based approach.\n<END>",
"<BEGIN>\n## `_group`",
"Group together the values with the same key.\n<END>",
"<BEGIN>\n## `groups`",
"Returns dict {group name -> group labels}.\n<END>",
"<BEGIN>\n## `indices`",
"Returns dict {gro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _custom_rdd_reduce 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 _custom_rdd_reduce 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... | Provides a custom RDD reduce which preserves ordering if the RDD has
been sorted. This is useful for us because we need this functionality
as many pandas operations support sorting the results. The standard
reduce in PySpark does not have this property. Note that when PySpark
no longer ... | "Provides a custom RDD reduce which preserves ordering if the RDD has\n been sorted. This is useful for us because we need this functionality\n as many pandas operations support sorting the results. The standard\n reduce in PySpark does not have this property. Note that when PySpark\n no lo... | 87 | false | sparklingpandas/sparklingpandas | _custom_rdd_reduce | 16,357 | |
LDU_FT/kolypto/py-good/preprocess | LDU_FT | [
"<BEGIN>\n## `message`",
"Convenience decorator that applies [`Msg()`](#msg) to a callable.",
" ```python\n from good import Schema, message",
" @message(u'Need a number')\n def intify(v):\n return int(v)\n ```",
" :param message: Error message to use instead\n :type message: uni... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the preprocess API.
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 preprocess API.
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... | Preprocess the `dt` with `localize()` and `astz()` | "Preprocess the `dt` with `localize()` and `astz()`" | 118 | false | kolypto/py-good | preprocess | 16,358 | |
LDU_FT/log2timeline/dfdatetime/GetTimeOfDay | LDU_FT | [
"<BEGIN>\n## `_GetNormalizedTimestamp`",
"Retrieves the normalized timestamp.",
" Returns:\n decimal.Decimal: normalized timestamp, which contains the number of\n seconds since January 1, 1970 00:00:00 and a fraction of second used\n for increased precision, or None if the normalized t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetTimeOfDay API.
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 GetTimeOfDay API.
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... | Retrieves the time of day represented by the date and time values.
Returns:
tuple[int, int, int]: hours, minutes, seconds or (None, None, None)
if the date and time values do not represent a time of day. | "Retrieves the time of day represented by the date and time values.\n\n Returns:\n tuple[int, int, int]: hours, minutes, seconds or (None, None, None)\n if the date and time values do not represent a time of day." | 244 | false | log2timeline/dfdatetime | GetTimeOfDay | 16,359 | |
LDU_FT/shapiromatron/bmds/_get_option_value | LDU_FT | [
"<BEGIN>\n## `as_dfile`",
"Return the dataset representation in BMDS .(d) file.",
" Example\n -------\n >>> print(dataset.as_dfile())\n Dose Incidence NEGATIVE_RESPONSE\n 0.000000 5 70\n 1.960000 1 48\n 5.690000 3 47\n 29.750000 14 35\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_option_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_option_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Get option value(s), or use default value if no override value.
Two output values for 'p' type values (parameters), else one.
Returns a single value or tuple of two values | "Get option value(s), or use default value if no override value.\n\n Two output values for 'p' type values (parameters), else one.\n Returns a single value or tuple of two values" | 113 | false | shapiromatron/bmds | _get_option_value | 16,360 | |
LDU_FT/SeabornGames/File/relative_path | LDU_FT | [
"<BEGIN>\n## `clear_path`",
"This will move a path to the Trash folder\n :param path: str of the path to remove\n :return: None\n<END>",
"<BEGIN>\n## `_md5_of_file`",
"This will return the md5 of the file in sub_string\n :param sub_string: str of the path or relative path to a file\n :return: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the relative_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the relative_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | This will return the file relative to this python script
:param subd_irectory: str of the relative path
:param function_index: int of the number of function calls to go back
:return: str of the full path | "This will return the file relative to this python script\n :param subd_irectory: str of the relative path\n :param function_index: int of the number of function calls to go back\n :return: str of the full path" | 14 | false | SeabornGames/File | relative_path | 16,361 | |
LDU_FT/terrycain/aioboto3/upload_fileobj | LDU_FT | [
"<BEGIN>\n## `download_file`",
"Download an S3 object to a file.",
" Usage::",
" import boto3\n s3 = boto3.resource('s3')\n s3.meta.client.download_file('mybucket', 'hello.txt', '/tmp/hello.txt')",
" Similar behavior as S3Transfer's download_file() method,\n except that paramet... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload_fileobj API.
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 upload_fileobj API.
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... | Upload a file-like object to S3.
The file-like object must be in binary mode.
This is a managed transfer which will perform a multipart upload in
multiple threads if necessary.
Usage::
import boto3
s3 = boto3.client('s3')
with open('filename', 'rb') as data:
s3.u... | "Upload a file-like object to S3.\n\n The file-like object must be in binary mode.\n\n This is a managed transfer which will perform a multipart upload in\n multiple threads if necessary.\n\n Usage::\n\n import boto3\n s3 = boto3.client('s3')\n\n with open('filename', 'rb') as data:\n ... | 74 | false | terrycain/aioboto3 | upload_fileobj | 16,362 | |
LDU_FT/wrongwaycn/ssdb-py/scan | LDU_FT | [
"<BEGIN>\n## `execute`",
"Execute all the commands in the current pipeline\n<END>",
"<BEGIN>\n## `execute_command`",
"Execute a command and return a parsed response.\n<END>",
"<BEGIN>\n## `incr`",
"Increase the value at key ``name`` by ``amount``. If no key exists, the value\n will be initialized a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scan API.
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 scan API.
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... | Scan and return a dict mapping key/value in the top ``limit`` keys between
``name_start`` and ``name_end`` in ascending order
Similiar with **Redis.SCAN**
.. note:: The range is (``name_start``, ``name_end``]. ``name_start``
isn't in the range, but ``name_end`` is.
... | "Scan and return a dict mapping key/value in the top ``limit`` keys between\n ``name_start`` and ``name_end`` in ascending order\n\n Similiar with **Redis.SCAN** \n\n .. note:: The range is (``name_start``, ``name_end``]. ``name_start``\n isn't in the range, but ``name_end`` is.\n\... | 215 | false | wrongwaycn/ssdb-py | scan | 16,363 | |
LDU_FT/spotify/gordon-gcp/get_json | LDU_FT | [
"<BEGIN>\n## `validate`",
"Validate a message given a schema.",
" Args:\n message (dict): Loaded JSON of pulled message from Google\n PubSub.\n schema_name (str): Name of schema to validate ``message``\n against. ``schema_name`` will be used to look up\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_json API.
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_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Get a URL and return its JSON response.
Args:
url (str): URL to be requested.
json_callback (func): Custom JSON loader function. Defaults
to :meth:`json.loads`.
kwargs (dict): Additional arguments to pass through to the
request.
Return... | "Get a URL and return its JSON response.\n\n Args:\n url (str): URL to be requested.\n json_callback (func): Custom JSON loader function. Defaults\n to :meth:`json.loads`.\n kwargs (dict): Additional arguments to pass through to the\n request.\n ... | 72 | false | spotify/gordon-gcp | get_json | 16,364 | |
LDU_FT/mbj4668/pyang/sample_element | LDU_FT | [
"<BEGIN>\n## `emit`",
"Main control function.",
" Set up the top-level parts of the stylesheet, then process\n recursively all nodes in all data trees, and finally emit the\n serialized stylesheet.\n<END>",
"<BEGIN>\n## `process_module`",
"Process data nodes, RPCs and notifications in a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sample_element API.
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 sample_element API.
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... | Create element under `parent`.
Declare new namespace if necessary. | "Create element under `parent`.\n\n Declare new namespace if necessary." | 291 | false | mbj4668/pyang | sample_element | 16,365 | |
LDU_FT/btel/svg_utils/skew_y | LDU_FT | [
"<BEGIN>\n## `fromfile`",
"Open SVG figure from file.",
" Parameters\n ----------\n fname : str\n name of the SVG file",
" Returns\n -------\n SVGFigure\n newly created :py:class:`SVGFigure` initialised with the file content\n<END>",
"<BEGIN>\n## `fromstring`",
"Create a SV... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the skew_y API.
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 skew_y API.
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 ... | Skew element along the y-axis by the given angle.
Parameters
----------
y : float
y-axis skew angle in degrees | "Skew element along the y-axis by the given angle.\n\n Parameters\n ----------\n y : float\n y-axis skew angle in degrees" | 63 | false | btel/svg_utils | skew_y | 16,366 | |
LDU_FT/semiversus/python-broqer/resolve_meta_key | LDU_FT | [
"<BEGIN>\n## `build_sink`",
"Decorator to wrap a function to return a Sink subscriber.",
" :param function: function to be wrapped\n :param unpack: value from emits will be unpacked (*value)\n<END>",
"<BEGIN>\n## `build_map`",
"Decorator to wrap a function to return a Map operator.",
" :param fun... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_meta_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_meta_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Resolve a value when it's a string and starts with '>' | "Resolve a value when it's a string and starts with '>'" | 65 | false | semiversus/python-broqer | resolve_meta_key | 16,367 | |
LDU_FT/solute/python-tint/add_colors_from_file | LDU_FT | [
"<BEGIN>\n## `_hex_to_rgb`",
">>> _hex_to_rgb(\"007fff\")\n (0, 127, 255)\n<END>",
"<BEGIN>\n## `add_colors_from_file`",
"Add color definition to a given color system.",
" You may pass either a file-like object or a filename string pointing\n to a color definition csv file. Each line in tha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_colors_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_colors_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.
... | Add color definition to a given color system.
You may pass either a file-like object or a filename string pointing
to a color definition csv file. Each line in that input file should
look like this::
café au lait,a67b5b
i.e. a color name and a sRGB hex code, separated by b... | "Add color definition to a given color system.\n\n You may pass either a file-like object or a filename string pointing\n to a color definition csv file. Each line in that input file should\n look like this::\n\n café au lait,a67b5b\n\n i.e. a color name and a sRGB hex code, separ... | 29 | false | solute/python-tint | add_colors_from_file | 16,368 | |
LDU_FT/vintasoftware/django-role-permissions/get_app_name | LDU_FT | [
"<BEGIN>\n## `camelToSnake`",
"https://gist.github.com/jaytaylor/3660565\n Is it ironic that this function is written in camel case, yet it\n converts to snake case? hmm..\n<END>",
"<BEGIN>\n## `get_app_name`",
"Returns a app name from new app config if is\n a class or the same app name if is not a c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_app_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_app_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns a app name from new app config if is
a class or the same app name if is not a class. | "Returns a app name from new app config if is\n a class or the same app name if is not a class." | 20 | false | vintasoftware/django-role-permissions | get_app_name | 16,369 | |
LDU_FT/dmckeone/frosty/build_includes | LDU_FT | [
"<BEGIN>\n## `_import_packages`",
"Get actual package references from an iterable of package names\n :param packages: iterable of package names\n :type packages: iter of basestr\n :return: set of package references\n :rtype: set\n<END>",
"<BEGIN>\n## `build_includes`",
"Iterate the list of package... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_includes API.
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 build_includes API.
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... | The default include strategy is to add a star (*) wild card after all sub-packages (but not the main package).
This strategy is compatible with py2app and bbfreeze.
Example (From SaltStack 2014.7):
salt
salt.fileserver.*
salt.modules.*
etc...
:p... | "The default include strategy is to add a star (*) wild card after all sub-packages (but not the main package).\n This strategy is compatible with py2app and bbfreeze.\n\n Example (From SaltStack 2014.7):\n\n salt\n salt.fileserver.*\n salt.modules.*\n etc...\n\... | 24 | false | dmckeone/frosty | build_includes | 16,370 | |
LDU_FT/adamrehn/slidingwindow/zerosFactory | LDU_FT | [
"<BEGIN>\n## `generate`",
"Generates a set of sliding windows for the specified dataset.\n<END>",
"<BEGIN>\n## `generateForSize`",
"Generates a set of sliding windows for a dataset with the specified dimensions and order.\n<END>",
"<BEGIN>\n## `apply`",
"Slices the supplied matrix and applies any transfor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the zerosFactory API.
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 zerosFactory API.
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 NumPy array using `arrayFactory()` and fills it with zeros. | "Creates a new NumPy array using `arrayFactory()` and fills it with zeros." | 46 | false | adamrehn/slidingwindow | zerosFactory | 16,371 | |
LDU_FT/hkff/FodtlMon/B3 | LDU_FT | [
"<BEGIN>\n## `eval`",
"This method should be always called by subclasses\n :param valuation\n :param trace\n :return: Arguments evaluation\n<END>",
"<BEGIN>\n## `eval`",
"This method should be override to return some value\n :param valuation\n :param trace\n :return:\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the B3 API.
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 B3 API.
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... | Rewrite formula eval result into Boolean3
:param formula:
:return: Boolean3 | "Rewrite formula eval result into Boolean3\n :param formula:\n :return: Boolean3" | 51 | false | hkff/FodtlMon | B3 | 16,372 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.