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/rasguanabana/ytfs/updateResults | LDU_FT | [
"<BEGIN>\n## `__getChannelId`",
"Obtain channel id for channel name, if present in ``self.search_params``.\n<END>",
"<BEGIN>\n## `__searchParser`",
"Parse `query` for advanced search options.",
" Parameters\n ----------\n query : str\n Search query to parse. Besides a search ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the updateResults API.
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 updateResults API.
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... | Reload search results or load another "page".
Parameters
----------
forward : bool or None, optional
Whether move forwards or backwards (``True`` or ``False``). If ``None``, then first page is loaded. | "Reload search results or load another \"page\".\n\n Parameters\n ----------\n forward : bool or None, optional\n Whether move forwards or backwards (``True`` or ``False``). If ``None``, then first page is loaded." | 109 | false | rasguanabana/ytfs | updateResults | 8,573 | |
LDU_FT/Samreay/ChainConsumer/get_covariance | LDU_FT | [
"<BEGIN>\n## `dic`",
"r\"\"\" Returns the corrected Deviance Information Criterion (DIC) for all chains loaded into ChainConsumer.",
" If a chain does not have a posterior, this method will return `None` for that chain. **Note that\n the DIC metric is only valid on posterior surfaces which closely... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_covariance API.
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_covariance API.
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... | Takes a chain and returns the covariance between chain parameters.
Parameters
----------
chain : int|str, optional
The chain index or name. Defaults to first chain.
parameters : list[str], optional
The list of parameters to compute correlations. Defaults to all p... | "Takes a chain and returns the covariance between chain parameters.\n\n Parameters\n ----------\n chain : int|str, optional\n The chain index or name. Defaults to first chain.\n parameters : list[str], optional\n The list of parameters to compute correlations. Defaults ... | 155 | false | Samreay/ChainConsumer | get_covariance | 8,574 | |
LDU_FT/seung-lab/cloud-volume/shade | LDU_FT | [
"<BEGIN>\n## `decode_kempressed`",
"subvol not bytestring since numpy conversion is done inside fpzip extension.\n<END>",
"<BEGIN>\n## `bbox2array`",
"Convenince method for creating a \n shared memory numpy array based on a CloudVolume\n and Bbox. c.f. sharedmemory.ndarray for information\n on the optional... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shade API.
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 shade API.
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... | Shade a renderbuffer with a downloaded chunk.
The buffer will only be painted in the overlapping
region of the content. | "Shade a renderbuffer with a downloaded chunk. \n The buffer will only be painted in the overlapping\n region of the content." | 237 | false | seung-lab/cloud-volume | shade | 8,575 | |
LDU_FT/Miserlou/Zappa/shamelessly_promote | LDU_FT | [
"<BEGIN>\n## `route_sns_task`",
"Gets SNS Message, deserialises the message,\n imports the function, calls the function with args\n<END>",
"<BEGIN>\n## `run_message`",
"Runs a function defined by a message object with keys:\n 'task_path', 'args', and 'kwargs' used by lambda routing\n and a 'command' ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shamelessly_promote 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 shamelessly_promote 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... | Shamelessly promote our little community. | "Shamelessly promote our little community." | 312 | false | Miserlou/Zappa | shamelessly_promote | 8,576 | |
LDU_FT/opencivicdata/pupa/add_edge | LDU_FT | [
"<BEGIN>\n## `items_differ`",
"check whether or not jsonitems and dbitems differ\n<END>",
"<BEGIN>\n## `resolve_json_id`",
"Given an id found in scraped JSON, return a DB id for the object.",
" params:\n json_id: id from json\n allow_no_match: just return None... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_edge API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_edge API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | When doing topological sorting, the semantics of the edge mean that
the depedency runs from the parent to the child - which is to say that
the parent is required to be sorted *before* the child.
[ FROM ] ------> [ TO ]
Committee on Finance -> Subcommittee of the Finance Commit... | "When doing topological sorting, the semantics of the edge mean that\n the depedency runs from the parent to the child - which is to say that\n the parent is required to be sorted *before* the child.\n\n [ FROM ] ------> [ TO ]\n Committee on Finance -> Subcommittee of the Finance ... | 48 | false | opencivicdata/pupa | add_edge | 8,577 | |
LDU_FT/fusionbox/django-backupdb/get_mysql_args | LDU_FT | [
"<BEGIN>\n## `bar`",
"r\"\"\"\n Returns a string with text centered in a bar caption.",
" Examples:\n >>> bar('test', width=10)\n '== test =='\n >>> bar(width=10)\n '=========='\n >>> bar('Richard Dean Anderson is...', position='top', width=50)\n '//========= Richard Dean Anderson is... ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mysql_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mysql_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Returns an array of argument values that will be passed to a `mysql` or
`mysqldump` process when it is started based on the given database
configuration. | "Returns an array of argument values that will be passed to a `mysql` or\n `mysqldump` process when it is started based on the given database\n configuration." | 19 | false | fusionbox/django-backupdb | get_mysql_args | 8,578 | |
LDU_FT/chrippa/ds4drv/emit_mouse | LDU_FT | [
"<BEGIN>\n## `setup`",
"Check if the bluetooth controller is available.\n<END>",
"<BEGIN>\n## `find_device`",
"Scan for bluetooth devices and return a DS4 device if found.\n<END>",
"<BEGIN>\n## `start`",
"Starts the timer.",
" If the callback returns True the timer will be restarted.\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the emit_mouse API.
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 emit_mouse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Calculates relative mouse values from a report and writes them. | "Calculates relative mouse values from a report and writes them." | 29 | false | chrippa/ds4drv | emit_mouse | 8,579 | |
LDU_FT/eyurtsev/FlowCytometryTools/save_file_dialog | LDU_FT | [
"<BEGIN>\n## `get_tag_value`",
"Extracts the value of a tag from a string.",
" Parameters\n -----------------",
" pre : str\n regular expression to match before the the tag value",
" post : str | list | tuple\n regular expression to match after the the tag value",
" if lis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_file_dialog API.
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 save_file_dialog API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Show a save file dialog.
TODO: This is not fully implemented. | "Show a save file dialog.\n TODO: This is not fully implemented." | 330 | false | eyurtsev/FlowCytometryTools | save_file_dialog | 8,580 | |
LDU_FT/henrysher/kotocore/build_resource | LDU_FT | [
"<BEGIN>\n## `get_version`",
"Returns a string-ified version number.",
" Optionally accepts a ``full`` parameter, which if ``True``, will include\n any pre-release information. (Default: ``False``)\n<END>",
"<BEGIN>\n## `requires_loaded`",
"A decorator to ensure the resource data is loaded.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_resource API.
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_resource API.
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... | Given some data, builds the correct/matching ``Resource`` subclass
for the ``Collection``. Useful in things like ``create`` & ``each``.
:param result: The data for an instance handed back from the API.
:type result: dict
:returns: A ``Resource`` subclass | "Given some data, builds the correct/matching ``Resource`` subclass\n for the ``Collection``. Useful in things like ``create`` & ``each``.\n\n :param result: The data for an instance handed back from the API.\n :type result: dict\n\n :returns: A ``Resource`` subclass" | 198 | false | henrysher/kotocore | build_resource | 8,581 | |
LDU_FT/btimby/fulltext/backend_from_fname | LDU_FT | [
"<BEGIN>\n## `check_backends`",
"Invoke test() for all backends and fail (raise) if some dep\n is missing.\n<END>",
"<BEGIN>\n## `main`",
"Extract text from a file.",
" Commands:\n extract - extract text from path\n check - make sure all deps are installed",
" Usage:\n full... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the backend_from_fname 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 backend_from_fname 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... | Determine backend module object from a file name. | "Determine backend module object from a file name." | 38 | false | btimby/fulltext | backend_from_fname | 8,582 | |
LDU_FT/inveniosoftware/invenio-oauthclient/fill_form | LDU_FT | [
"<BEGIN>\n## `response_token_setter`",
"Extract token from response and set it for the user.",
" :param remote: The remote application.\n :param resp: The response.\n :raises invenio_oauthclient.errors.OAuthClientError: If authorization with\n remote service failed.\n :raises invenio_oauthcli... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fill_form API.
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 fill_form API.
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... | Prefill form with data.
:param form: The form to fill.
:param data: The data to insert in the form.
:returns: A pre-filled form. | "Prefill form with data.\n\n :param form: The form to fill.\n :param data: The data to insert in the form.\n :returns: A pre-filled form." | 147 | false | inveniosoftware/invenio-oauthclient | fill_form | 8,583 | |
LDU_FT/aliyun/aliyun-odps-python-sdk/_get_info | LDU_FT | [
"<BEGIN>\n## `_process_worker`",
"Evaluates calls from call_queue and places the results in result_queue.",
" This worker is run in a separate process.",
" Args:\n call_queue: A multiprocessing.Queue of _CallItems that will be read and\n evaluated by the worker.\n result_queue: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_info API.
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... | Internal helper for find_module() and load_module().
Args:
fullmodname: The dot-separated full module name, e.g. 'django.core.mail'.
Returns:
A tuple (submodname, is_package, relpath, fileobj) where:
submodname: The final component of the module name, e.g. 'mail'.
... | "Internal helper for find_module() and load_module().\n\n Args:\n fullmodname: The dot-separated full module name, e.g. 'django.core.mail'.\n\n Returns:\n A tuple (submodname, is_package, relpath, fileobj) where:\n submodname: The final component of the module name, e.g. 'mail... | 1,057 | true | aliyun/aliyun-odps-python-sdk | _get_info | 8,584 | |
LDU_FT/Tanganelli/CoAPthon3/mk_request | LDU_FT | [
"<BEGIN>\n## `etag`",
"Set the ETag of the resource.",
" :param etag: the ETag\n<END>",
"<BEGIN>\n## `payload`",
"Get the payload of the resource according to the content type specified by required_content_type or\n \"text/plain\" by default.",
" :return: the payload.\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mk_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mk_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Create a request.
:param method: the CoAP method
:param path: the path of the request
:return: the request | "Create a request.\n\n :param method: the CoAP method\n :param path: the path of the request\n :return: the request" | 478 | false | Tanganelli/CoAPthon3 | mk_request | 8,585 | |
LDU_FT/pbrisk/mathtoolspy/minimize_algorithm_1dim_golden | LDU_FT | [
"<BEGIN>\n## `minimum_bracketing`",
"Given a function func, and given distinct inital points ax and bx, this routine searches\n in the downhill direction (defined by the function as evaluated at the initial points)\n and returns new points at ax, bx, cx that bracket a minimum of the function.\n Also retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the minimize_algorithm_1dim_golden API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the minimize_algorithm_1dim_golden API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Given a function f, and given a bracketing triplet of abscissas ax, bx, cx
(such that bx is between ax and cx, and f(bx) is less than both f(ax) and f(cx)),
this routine performs a golden section search for the minimum, isolating it to
a fractional precision of about tol. The abscissa of the minimum is retu... | "Given a function f, and given a bracketing triplet of abscissas ax, bx, cx\n (such that bx is between ax and cx, and f(bx) is less than both f(ax) and f(cx)),\n this routine performs a golden section search for the minimum, isolating it to\n a fractional precision of about tol. The abscissa of the minimum is ... | 24 | false | pbrisk/mathtoolspy | minimize_algorithm_1dim_golden | 8,586 | |
LDU_FT/Microsoft/malmo/onKeyPressInCanvas | LDU_FT | [
"<BEGIN>\n## `angvel`",
"Use sigmoid function to choose a delta that will help smoothly steer from current angle to target angle.\n<END>",
"<BEGIN>\n## `pointTo`",
"Steer towards the target pitch/yaw, return True when within the given tolerance threshold.\n<END>",
"<BEGIN>\n## `download`",
"Download Malmo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the onKeyPressInCanvas 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 onKeyPressInCanvas 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... | Called when a key is pressed when the canvas has focus. | "Called when a key is pressed when the canvas has focus." | 80 | false | Microsoft/malmo | onKeyPressInCanvas | 8,587 | |
LDU_FT/closeio/quotequail/unwrap_html | LDU_FT | [
"<BEGIN>\n## `quote`",
"Takes a plain text message as an argument, returns a list of tuples. The\n first argument of the tuple denotes whether the text should be expanded by\n default. The second argument is the unmodified corresponding text.",
" Example: [(True, 'expanded text'), (False, '> Some quote... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unwrap_html API.
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 unwrap_html API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | If the passed HTML is the HTML body of a forwarded message, a dictionary
with the following keys is returned:
- type: "reply", "forward" or "quote"
- html_top: HTML at the top of the passed message (if found)
- html_bottom: HTML at the bottom of the passed message (if found)
- from / to / subject /... | "If the passed HTML is the HTML body of a forwarded message, a dictionary\n with the following keys is returned:\n\n - type: \"reply\", \"forward\" or \"quote\"\n - html_top: HTML at the top of the passed message (if found)\n - html_bottom: HTML at the bottom of the passed message (if found)\n - from / t... | 65 | false | closeio/quotequail | unwrap_html | 8,588 | |
LDU_FT/edeposit/marcxml2mods/_read_template | LDU_FT | [
"<BEGIN>\n## `postprocess_periodical`",
"Some basic postprocessing of the periodical publications.",
" Args:\n marc_xml (str): Original Aleph record.\n mods (str): XML string generated by XSLT template.\n uuid (str): UUID of the package.\n counter (int): Number of record, is added... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_template API.
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 _read_template API.
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... | Read XSLT template.
Args:
template (str): Filename or XML string. Don't use ``\\n`` in case of
filename.
Returns:
obj: Required XML parsed with ``lxml.etree``. | "Read XSLT template.\n\n Args:\n template (str): Filename or XML string. Don't use ``\\\\n`` in case of\n filename.\n\n Returns:\n obj: Required XML parsed with ``lxml.etree``." | 93 | false | edeposit/marcxml2mods | _read_template | 8,589 | |
LDU_FT/mickybart/python-atlasbroker/remove | LDU_FT | [
"<BEGIN>\n## `provision`",
"Provision the new instance",
" see openbrokerapi documentation",
" Returns:\n ProvisionedServiceSpec\n<END>",
"<BEGIN>\n## `unbind`",
"Unbinding the instance",
" see openbrokerapi documentation",
" Raises:\n ErrBindingDoesNo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Remove
Remove an object from the MongoDB storage for caching
Args:
obj (AtlasServiceBinding.Binding or AtlasServiceInstance.Instance): instance or binding
Raises:
ErrStorageTypeUnsupported: Type unsupported. | "Remove \n \n Remove an object from the MongoDB storage for caching\n \n Args:\n obj (AtlasServiceBinding.Binding or AtlasServiceInstance.Instance): instance or binding\n \n Raises:\n ErrStorageTypeUnsupported: Type unsupported." | 93 | false | mickybart/python-atlasbroker | remove | 8,590 | |
LDU_FT/Rapptz/discord.py/members | LDU_FT | [
"<BEGIN>\n## `_retrieve_messages_before_strategy`",
"Retrieve messages using before parameter.\n<END>",
"<BEGIN>\n## `_retrieve_messages_after_strategy`",
"Retrieve messages using after parameter.\n<END>",
"<BEGIN>\n## `_retrieve_messages_around_strategy`",
"Retrieve messages using around parameter.\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the members API.
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 members API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Returns a :class:`list` of :class:`Member` that can see this channel. | "Returns a :class:`list` of :class:`Member` that can see this channel." | 1,325 | true | Rapptz/discord.py | members | 8,591 | |
LDU_FT/openshift/openshift-restclient-python/watch | LDU_FT | [
"<BEGIN>\n## `meta_request`",
"Handles parsing response structure and translating API Exceptions\n<END>",
"<BEGIN>\n## `watch`",
"Stream events for a resource from the Kubernetes API",
" :param resource: The API resource object that will be used to query the API\n :param namespace: The namespa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the watch API.
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 watch API.
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... | Stream events for a resource from the Kubernetes API
:param resource: The API resource object that will be used to query the API
:param namespace: The namespace to query
:param name: The name of the resource instance to query
:param label_selector: The label selector with which to filte... | "Stream events for a resource from the Kubernetes API\n\n :param resource: The API resource object that will be used to query the API\n :param namespace: The namespace to query\n :param name: The name of the resource instance to query\n :param label_selector: The label selector with which to... | 22 | false | openshift/openshift-restclient-python | watch | 8,592 | |
LDU_FT/zsethna/OLGA/read_igor_V_gene_parameters | LDU_FT | [
"<BEGIN>\n## `nt2aa`",
"Translate a nucleotide sequence into an amino acid sequence.",
" Parameters\n ----------\n ntseq : str\n Nucleotide sequence composed of A, C, G, or T (uppercase or lowercase)",
" Returns\n -------\n aaseq : str\n Amino acid sequence",
" Example\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_igor_V_gene_parameters 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 read_igor_V_gene_parameters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Load raw genV from file.
genV is a list of genomic V information. Each element is a list of three
elements. The first is the name of the V allele, the second is the genomic
sequence trimmed to the CDR3 region for productive sequences, and the last
is the full germline sequence. For this 'raw gen... | "Load raw genV from file.\n \n genV is a list of genomic V information. Each element is a list of three \n elements. The first is the name of the V allele, the second is the genomic \n sequence trimmed to the CDR3 region for productive sequences, and the last \n is the full germline sequence. For this 'r... | 287 | false | zsethna/OLGA | read_igor_V_gene_parameters | 8,593 | |
LDU_FT/Faylixe/pygame_vkeyboard/draw_special_char_key | LDU_FT | [
"<BEGIN>\n## `synchronizeLayout`",
"Synchronizes given layouts by normalizing height by using\n max height of given layouts to avoid transistion dirty effects.",
" :param primary: Primary layout used.\n :param secondary: Secondary layout used.\n :param surface_size: Target surface size on which layo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_special_char_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_special_char_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.
... | Default drawing method for special char key. Drawn as character key.
:param surface: Surface background should be drawn in.
:param key: Target key to be drawn. | "Default drawing method for special char key. Drawn as character key.\n\n :param surface: Surface background should be drawn in.\n :param key: Target key to be drawn." | 54 | false | Faylixe/pygame_vkeyboard | draw_special_char_key | 8,594 | |
LDU_FT/mardix/pylot/bg_thread | LDU_FT | [
"<BEGIN>\n## `read_pkginfo`",
"Help us read the pkginfo without accessing __init__\n<END>",
"<BEGIN>\n## `with_user_roles`",
"with_user_roles(roles)",
" It allows to check if a user has access to a view by adding the decorator\n with_user_roles([])",
" Requires flask-login",
" In your model,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bg_thread API.
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 bg_thread API.
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... | A threading decorator
:param func:
:return: | "A threading decorator\n :param func:\n :return:" | 66 | false | mardix/pylot | bg_thread | 8,595 | |
LDU_FT/liip/taxi/append | LDU_FT | [
"<BEGIN>\n## `round_to_quarter`",
"Return the duration between `start_time` and `end_time` :class:`datetime.time` objects, rounded to 15 minutes.\n<END>",
"<BEGIN>\n## `_timesheets_callback`",
"Call a method on all the timesheets, aggregate the return values in a\n list and return it.\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append API.
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 append API.
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 ... | Append the given element to the list and synchronize the textual
representation. | "Append the given element to the list and synchronize the textual\n representation." | 131 | false | liip/taxi | append | 8,596 | |
LDU_FT/bsmurphy/PyKrige/get_variogram_points | LDU_FT | [
"<BEGIN>\n## `make_benchark`",
"Compute the benchmarks for Ordianry Kriging ",
" Parameters\n ----------\n n_train : int\n number of points in the training set\n n_test : int\n number of points in the test set\n n_dim : int\n number of dimensions (default=2)",
" Returns\n -... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_variogram_points API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_variogram_points API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns both the lags and the variogram function evaluated at each
of them.
The evaluation of the variogram function and the lags are produced
internally. This method is convenient when the user wants to access to
the lags and the resulting variogram (according to the model provide... | "Returns both the lags and the variogram function evaluated at each\r\n of them.\r\n\r\n The evaluation of the variogram function and the lags are produced\r\n internally. This method is convenient when the user wants to access to\r\n the lags and the resulting variogram (according to the mo... | 150 | false | bsmurphy/PyKrige | get_variogram_points | 8,597 | |
LDU_FT/elifesciences/proofreader-python/run_license_checker | LDU_FT | [
"<BEGIN>\n## `col_widths`",
"Get MAX possible width of each column in the table.",
" :return: defaultdict\n<END>",
"<BEGIN>\n## `_marker_line`",
"Generate a correctly sized marker line.",
" e.g.",
" '+------------------+---------+----------+---------+'",
" :return: str\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_license_checker 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 run_license_checker 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... | Generate table of installed packages and check for license
warnings based off user defined restricted license values.
:param config_path: str
:return: | "Generate table of installed packages and check for license\n warnings based off user defined restricted license values.\n\n :param config_path: str\n :return:" | 44 | false | elifesciences/proofreader-python | run_license_checker | 8,598 | |
LDU_FT/fredRos/pypmc/r_value | LDU_FT | [
"<BEGIN>\n## `r_value`",
"Calculate the Gelman-Rubin R value (Chapter 2.2 in [GR92]_).",
" The R value can be used to quantify mixing of \"multiple iterative\n simulations\" (e.g. Markov Chains) in parameter space. An R value\n \"close to one\" indicates that all chains explored the same region\n o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the r_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 extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the r_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 extracted... | Calculate the Gelman-Rubin R value (Chapter 2.2 in [GR92]_).
The R value can be used to quantify mixing of "multiple iterative
simulations" (e.g. Markov Chains) in parameter space. An R value
"close to one" indicates that all chains explored the same region
of the parameter.
.. note::
Th... | "Calculate the Gelman-Rubin R value (Chapter 2.2 in [GR92]_).\n\n The R value can be used to quantify mixing of \"multiple iterative\n simulations\" (e.g. Markov Chains) in parameter space. An R value\n \"close to one\" indicates that all chains explored the same region\n of the parameter.\n\n .. note::... | 279 | false | fredRos/pypmc | r_value | 8,599 | |
LDU_FT/amol-/depot/by_email_address | LDU_FT | [
"<BEGIN>\n## `set_default`",
"Replaces the current application default depot\n<END>",
"<BEGIN>\n## `get`",
"Gets the application wide depot instance.",
" Might return ``None`` if :meth:`configure` has not been\n called yet.\n<END>",
"<BEGIN>\n## `get_file`",
"Retrieves a file by storage na... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the by_email_address API.
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 by_email_address API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Return the user object whose email address is ``email``. | "Return the user object whose email address is ``email``." | 51 | false | amol-/depot | by_email_address | 8,600 | |
LDU_FT/aichaos/rivescript-python/reply | LDU_FT | [
"<BEGIN>\n## `format_message`",
"Format a user's message for safe processing.",
" This runs substitutions on the message and strips out any remaining\n symbols (depending on UTF-8 mode).",
" :param str msg: The user's message.\n :param bool botreply: Whether this formatting is bein... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reply API.
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 reply API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Fetch a reply from the RiveScript brain.
Arguments:
user (str): A unique user ID for the person requesting a reply.
This could be e.g. a screen name or nickname. It's used internally
to store user variables (including topic and history), so if your
bo... | "Fetch a reply from the RiveScript brain.\n\n Arguments:\n user (str): A unique user ID for the person requesting a reply.\n This could be e.g. a screen name or nickname. It's used internally\n to store user variables (including topic and history), so if your\n ... | 218 | false | aichaos/rivescript-python | reply | 8,601 | |
LDU_FT/IBM/pyxcli/set_options | LDU_FT | [
"<BEGIN>\n## `str_brief`",
"Truncates a string, starting from 'lim' chars. The given object\n can be a string, or something that can be casted to a string.",
" >>> import string\n >>> str_brief(string.uppercase)\n 'ABCDEFGHIJKLMNOPQRST...'\n >>> str_brief(2 ** 50, lim=10, dots='0')\n '11258999... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Sets the value of the given options (as keyword arguments).
Note that underscored in the option's name will be replaced with
hyphens (i.e., ``c.set_options(gui_mode = True)``
will set the option ``gui-mode``) | "Sets the value of the given options (as keyword arguments).\n Note that underscored in the option's name will be replaced with\n hyphens (i.e., ``c.set_options(gui_mode = True)``\n will set the option ``gui-mode``)" | 48 | false | IBM/pyxcli | set_options | 8,602 | |
LDU_FT/olgabot/prettyplotlib/pcolormesh | LDU_FT | [
"<BEGIN>\n## `switch_axis_limits`",
"Switch the axis limits of either x or y. Or both!\n<END>",
"<BEGIN>\n## `remove_chartjunk`",
"Removes \"chartjunk\", such as extra lines of axes and tick marks.",
" If grid=\"y\" or \"x\", will add a white grid at the \"y\" or \"x\" axes,\n respectively",
" If... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pcolormesh API.
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 pcolormesh API.
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... | Use for large datasets
Non-traditional `pcolormesh` kwargs are:
- xticklabels, which will put x tick labels exactly in the center of the
heatmap block
- yticklables, which will put y tick labels exactly aligned in the center
of the heatmap block
- xticklabels_rotation, which can be either 'ho... | "Use for large datasets\n\n Non-traditional `pcolormesh` kwargs are:\n - xticklabels, which will put x tick labels exactly in the center of the\n heatmap block\n - yticklables, which will put y tick labels exactly aligned in the center\n of the heatmap block\n - xticklabels_rotation, which can be ei... | 59 | false | olgabot/prettyplotlib | pcolormesh | 8,603 | |
LDU_FT/mozilla/python_moztelemetry/summaries | LDU_FT | [
"<BEGIN>\n## `add_expiration_postfix`",
"Formats the expiration version and adds a version postfix if needed.",
" :param expiration: the expiration version string.\n :return: the modified expiration string.\n<END>",
"<BEGIN>\n## `load_yaml_file`",
"Load a YAML file from disk, throw a ParserError on fa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the summaries API.
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 summaries API.
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... | Summary of the files contained in the current dataset
Every item in the summary is a dict containing a key name and the corresponding size of
the key item in bytes, e.g.::
{'key': 'full/path/to/my/key', 'size': 200}
:param limit: Max number of objects to retrieve
:return: An it... | "Summary of the files contained in the current dataset\n\n Every item in the summary is a dict containing a key name and the corresponding size of\n the key item in bytes, e.g.::\n {'key': 'full/path/to/my/key', 'size': 200}\n\n :param limit: Max number of objects to retrieve\n :retur... | 122 | false | mozilla/python_moztelemetry | summaries | 8,604 | |
LDU_FT/dakrauth/django-swingtime/month_boundaries | LDU_FT | [
"<BEGIN>\n## `timeslot_options`",
"Create a list of time slot options for use in swingtime forms.",
" The list is comprised of 2-tuples containing a 24-hour time value and a\n 12-hour temporal representation of that offset.\n<END>",
"<BEGIN>\n## `timeslot_offset_options`",
"Create a list of time slot ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the month_boundaries API.
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 month_boundaries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Return a 2-tuple containing the datetime instances for the first and last
dates of the current month or using ``dt`` as a reference. | "Return a 2-tuple containing the datetime instances for the first and last\n dates of the current month or using ``dt`` as a reference." | 76 | false | dakrauth/django-swingtime | month_boundaries | 8,605 | |
LDU_FT/mozilla/mozpay-py/verify_jwt | LDU_FT | [
"<BEGIN>\n## `verify_jwt`",
"Verifies a postback/chargeback JWT.",
" Returns the trusted JSON data from the original request.\n When there's an error, an exception derived from\n :class:`mozpay.exc.InvalidJWT`\n will be raised.",
" This is an all-in-one function that does all verification you'd... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_jwt API.
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 verify_jwt API.
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... | Verifies a postback/chargeback JWT.
Returns the trusted JSON data from the original request.
When there's an error, an exception derived from
:class:`mozpay.exc.InvalidJWT`
will be raised.
This is an all-in-one function that does all verification you'd
need. There are some low-level functions ... | "Verifies a postback/chargeback JWT.\n\n Returns the trusted JSON data from the original request.\n When there's an error, an exception derived from\n :class:`mozpay.exc.InvalidJWT`\n will be raised.\n\n This is an all-in-one function that does all verification you'd\n need. There are some low-level f... | 30 | false | mozilla/mozpay-py | verify_jwt | 8,606 | |
LDU_FT/fair-research/bdbag/save | LDU_FT | [
"<BEGIN>\n## `compute_hashes`",
"Digests input data read from file-like object fd or passed directly as bytes-like object.\n Compute hashes for multiple algorithms. Default is MD5.\n Returns a tuple of a hex-encoded digest string and a base64-encoded value suitable for an HTTP header.\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | save will persist any changes that have been made to the bag
metadata (self.info).
If you have modified the payload of the bag (added, modified,
removed files in the data directory) and want to regenerate manifests
set the manifests parameter to True. The default is False since you
... | "save will persist any changes that have been made to the bag\n metadata (self.info).\n\n If you have modified the payload of the bag (added, modified,\n removed files in the data directory) and want to regenerate manifests\n set the manifests parameter to True. The default is False since yo... | 20 | false | fair-research/bdbag | save | 8,607 | |
LDU_FT/theodoregoetz/wernher/colorline | LDU_FT | [
"<BEGIN>\n## `control_force`",
"represents physical limitation of the control\n<END>",
"<BEGIN>\n## `force`",
"control force plus the external forces (drag, etc)\n<END>",
"<BEGIN>\n## `colorline`",
"http://nbviewer.ipython.org/github/dpsanders/matplotlib-examples/blob/master/colorline.ipynb\n http://ma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the colorline API.
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 colorline API.
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... | http://nbviewer.ipython.org/github/dpsanders/matplotlib-examples/blob/master/colorline.ipynb
http://matplotlib.org/examples/pylab_examples/multicolored_line.html
Plot a colored line with coordinates x and y
Optionally specify colors in the array z
Optionally specify a colormap, a norm function and a lin... | "http://nbviewer.ipython.org/github/dpsanders/matplotlib-examples/blob/master/colorline.ipynb\n http://matplotlib.org/examples/pylab_examples/multicolored_line.html\n Plot a colored line with coordinates x and y\n Optionally specify colors in the array z\n Optionally specify a colormap, a norm function and ... | 12 | false | theodoregoetz/wernher | colorline | 8,608 | |
LDU_FT/lawsie/guizero/insert | LDU_FT | [
"<BEGIN>\n## `value_text`",
"Sets or returns the option selected in a ButtonGroup by its text value.\n<END>",
"<BEGIN>\n## `resize`",
"Resizes the widget.",
" :param int width:\n The width of the widget.",
" :param int height:\n The height of the widget.\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert API.
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 insert API.
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 ... | Insert a new `option` in the Combo at `index`.
:param int option:
The index of where to insert the option.
:param string option:
The option to insert into to the Combo. | "Insert a new `option` in the Combo at `index`.\n\n :param int option:\n The index of where to insert the option.\n\n :param string option:\n The option to insert into to the Combo." | 173 | false | lawsie/guizero | insert | 8,609 | |
LDU_FT/browniebroke/deezer-python/get_chart | LDU_FT | [
"<BEGIN>\n## `get_object`",
"Actually query the Deezer API to retrieve the object",
" :returns: json dictionary or raw string if other\n format requested\n<END>",
"<BEGIN>\n## `_process_json`",
"Recursively convert dictionary\n to :class:`~deezer.resources.Resource` object",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_chart API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_chart API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Get chart
:returns: a list of :class:`~deezer.resources.Resource` objects. | "Get chart\n\n :returns: a list of :class:`~deezer.resources.Resource` objects." | 39 | false | browniebroke/deezer-python | get_chart | 8,610 | |
LDU_FT/uw-it-aca/uw-restclients-sws/get_current_term | LDU_FT | [
"<BEGIN>\n## `get_term_by_year_and_quarter`",
"Returns a uw_sws.models.Term object,\n for the passed year and quarter.\n<END>",
"<BEGIN>\n## `get_current_term`",
"Returns a uw_sws.models.Term object,\n for the current term.\n<END>",
"<BEGIN>\n## `get_term_before`",
"Returns a uw_sws.models.Term obje... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_current_term API.
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_current_term API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Returns a uw_sws.models.Term object,
for the current term. | "Returns a uw_sws.models.Term object,\n for the current term." | 74 | false | uw-it-aca/uw-restclients-sws | get_current_term | 8,611 | |
LDU_FT/lsst-sqre/zenodio/from_collection_xml | LDU_FT | [
"<BEGIN>\n## `harvest_collection`",
"Harvest a Zenodo community's record metadata.",
" Examples\n --------\n You can harvest record metadata for a Zenodo community via its identifier\n name. For example, the identifier for LSST Data Management's Zenodo\n collection is ``'lsst-dm'``:",
" >>> ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_collection_xml 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 from_collection_xml 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... | Build a :class:`~zenodio.harvest.Datacite3Collection` from
Datecite3-formatted XML.
Users should use :func:`zenodio.harvest.harvest_collection` to build a
:class:`~zenodio.harvest.Datacite3Collection` for a Community.
Parameters
----------
xml_content : str
... | "Build a :class:`~zenodio.harvest.Datacite3Collection` from\n Datecite3-formatted XML.\n\n Users should use :func:`zenodio.harvest.harvest_collection` to build a\n :class:`~zenodio.harvest.Datacite3Collection` for a Community.\n\n Parameters\n ----------\n xml_content : str\n ... | 43 | false | lsst-sqre/zenodio | from_collection_xml | 8,612 | |
LDU_FT/CiscoTestAutomation/yang/connect | LDU_FT | [
"<BEGIN>\n## `retrieve_config`",
"retrieve_config",
" High-level api: Retrive config from rpc-reply.",
" Parameters\n ----------",
" element : `Element`\n A rpc-reply or content of Config instance.",
" Returns\n -------",
" Element\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | connect
High-level api: opens the NetConf connection and exchanges
capabilities. Since topology YAML file is parsed by BaseConnection,
the following parameters can be specified in your YAML file.
Parameters
----------
host : `string`
Hostname or IP address ... | "connect\n\n High-level api: opens the NetConf connection and exchanges\n capabilities. Since topology YAML file is parsed by BaseConnection,\n the following parameters can be specified in your YAML file.\n\n Parameters\n ----------\n\n host : `string`\n Hostname or ... | 554 | false | CiscoTestAutomation/yang | connect | 8,613 | |
LDU_FT/Riparo/nougat/set_header | LDU_FT | [
"<BEGIN>\n## `is_middleware`",
"test whether it is a middleware\n :return: Boolean\n<END>",
"<BEGIN>\n## `set_header`",
"set response header\n :param key: the key of header\n :param value: the value of header\n<END>",
"<BEGIN>\n## `send_http_response`",
"generate http response payload and... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_header API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_header API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | set response header
:param key: the key of header
:param value: the value of header | "set response header\n :param key: the key of header\n :param value: the value of header" | 16 | false | Riparo/nougat | set_header | 8,614 | |
LDU_FT/kurtbrose/pyjks/secret_keys | LDU_FT | [
"<BEGIN>\n## `new`",
"Helper function to create a new TrustedCertEntry.",
" :param str alias: The alias for the Trusted Cert Entry\n :param str certs: The certificate, as a byte string.",
" :returns: A loaded :class:`TrustedCertEntry` instance, ready\n to be placed in a keystore.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the secret_keys API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the secret_keys API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | A subset of the :attr:`entries` dictionary, filtered down to only
those entries of type :class:`SecretKeyEntry`. | "A subset of the :attr:`entries` dictionary, filtered down to only\n those entries of type :class:`SecretKeyEntry`." | 104 | false | kurtbrose/pyjks | secret_keys | 8,615 | |
LDU_FT/rosshamish/catan-py/restore | LDU_FT | [
"<BEGIN>\n## `do`",
"Does the command using the undo_manager's stack\n :param command: Command\n<END>",
"<BEGIN>\n## `restore`",
"Restore this Game object to match the properties and state of the given Game object\n :param game: properties to restore to the current (self) Game\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the restore API.
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 restore API.
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... | Restore this Game object to match the properties and state of the given Game object
:param game: properties to restore to the current (self) Game | "Restore this Game object to match the properties and state of the given Game object\n :param game: properties to restore to the current (self) Game" | 52 | false | rosshamish/catan-py | restore | 8,616 | |
LDU_FT/Yelp/detect-secrets/raise_exception_if_baseline_file_is_unstaged | LDU_FT | [
"<BEGIN>\n## `determine_file_type`",
":param filename: str",
" :rtype: FileType\n<END>",
"<BEGIN>\n## `write_baseline_to_file`",
":type filename: str\n :type data: dict\n :rtype: None\n<END>",
"<BEGIN>\n## `load_baseline_from_string`",
"Initializes a SecretsCollection object from string.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raise_exception_if_baseline_file_is_unstaged API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> ind... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raise_exception_if_baseline_file_is_unstaged API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> ind... | We want to make sure that if there are changes to the baseline
file, they will be included in the commit. This way, we can keep
our baselines up-to-date.
:raises: ValueError | "We want to make sure that if there are changes to the baseline\n file, they will be included in the commit. This way, we can keep\n our baselines up-to-date.\n\n :raises: ValueError" | 194 | false | Yelp/detect-secrets | raise_exception_if_baseline_file_is_unstaged | 8,617 | |
LDU_FT/biosustain/optlang/_constraint_lb_and_ub_to_gurobi_sense_rhs_and_range_value | LDU_FT | [
"<BEGIN>\n## `_constraint_lb_and_ub_to_gurobi_sense_rhs_and_range_value`",
"Helper function used by Constraint and Model\n<END>",
"<BEGIN>\n## `_evolve_kwargs`",
"Filter None keyword arguments. Intended to be passed on to algorithm.evolve(...)\n<END>",
"<BEGIN>\n## `parse_optimization_expression`",
"Funct... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _constraint_lb_and_ub_to_gurobi_sense_rhs_and_range_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _constraint_lb_and_ub_to_gurobi_sense_rhs_and_range_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, ... | Helper function used by Constraint and Model | "Helper function used by Constraint and Model" | 106 | false | biosustain/optlang | _constraint_lb_and_ub_to_gurobi_sense_rhs_and_range_value | 8,618 | |
LDU_FT/Fire-Proof/cuepy/device_count | LDU_FT | [
"<BEGIN>\n## `_raise_corsair_error`",
"Raise error message based on the last reported error from the SDK",
" :param error: specify error type\n :type error: int\n :param message: specify error message\n :type message: str\n<END>",
"<BEGIN>\n## `device_count`",
"Find amount of CUE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the device_count API.
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 device_count API.
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... | Find amount of CUE devices
:returns: amount of CUE devices
:rtype: int | "Find amount of CUE devices\n\n :returns: amount of CUE devices\n :rtype: int" | 21 | false | Fire-Proof/cuepy | device_count | 8,619 | |
LDU_FT/skorch-dev/skorch/validation_step | LDU_FT | [
"<BEGIN>\n## `get_data`",
"Get synthetic classification data with n_samples samples.\n<END>",
"<BEGIN>\n## `get_model`",
"Get a multi-layer perceptron model.",
" Optionally, put it in a pipeline that scales the data.\n<END>",
"<BEGIN>\n## `net`",
"Train an MLP classifier on synthetic data.",
" n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validation_step API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validation_step API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Perform a forward step using batched data and return the
resulting loss.
The module is set to be in evaluation mode (e.g. dropout is
not applied).
Parameters
----------
Xi : input data
A batch of the input data.
yi : target data
A batch of t... | "Perform a forward step using batched data and return the\n resulting loss.\n\n The module is set to be in evaluation mode (e.g. dropout is\n not applied).\n\n Parameters\n ----------\n Xi : input data\n A batch of the input data.\n\n yi : target data\n ... | 394 | false | skorch-dev/skorch | validation_step | 8,620 | |
LDU_FT/inveniosoftware/invenio-rest/make_response | LDU_FT | [
"<BEGIN>\n## `init_app`",
"Flask application initialization.",
" Initialize the Rate-Limiter, CORS and error handlers.",
" :param app: An instance of :class:`flask.Flask`.\n<END>",
"<BEGIN>\n## `init_config`",
"Initialize configuration.",
" .. note:: Change Flask-CORS and Flask-Limi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_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 ext... | Create a Flask Response.
Dispatch the given arguments to the serializer best matching the
current request's Accept header.
:return: The response created by the serializing function.
:rtype: :class:`flask.Response`
:raises werkzeug.exceptions.NotAcceptable: If no media type
... | "Create a Flask Response.\n\n Dispatch the given arguments to the serializer best matching the\n current request's Accept header.\n\n :return: The response created by the serializing function.\n :rtype: :class:`flask.Response`\n :raises werkzeug.exceptions.NotAcceptable: If no media t... | 41 | false | inveniosoftware/invenio-rest | make_response | 8,621 | |
LDU_FT/cnschema/cdata/json2excel | LDU_FT | [
"<BEGIN>\n## `wikidata_get`",
"https://www.wikidata.org/wiki/Special:EntityData/P248.json\n<END>",
"<BEGIN>\n## `wikidata_search`",
"wikification: search wikipedia pages for the given query\n https://www.wikidata.org/w/api.php?action=help&modules=wbsearchentities",
" result format\n {\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the json2excel API.
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 json2excel API.
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... | max_page_size is 65000 because we output old excel .xls format | "max_page_size is 65000 because we output old excel .xls format" | 29 | false | cnschema/cdata | json2excel | 8,622 | |
LDU_FT/ottogroup/palladium/apply_kwargs | 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 apply_kwargs API.
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 apply_kwargs API.
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... | Call *func* with kwargs, but only those kwargs that it accepts. | "Call *func* with kwargs, but only those kwargs that it accepts." | 86 | false | ottogroup/palladium | apply_kwargs | 8,623 | |
LDU_FT/ozak/georasters/pysal_Moran_Local | LDU_FT | [
"<BEGIN>\n## `map_pixel`",
"Usage:\n map_pixel(xcoord, ycoord, x_cell_size, y_cell_size, xmin, ymax)",
" where:\n xmin is leftmost X coordinate in system",
" ymax is topmost Y coordinate in system",
" Example:\n raster = HMISea.tif",
" ndv, xsize, ysize, ge... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pysal_Moran_Local API.
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 pysal_Moran_Local API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Compute Local Moran's I measure of local spatial autocorrelation for GeoRaster
Usage:
geo.pysal_Moran_Local(permutations = 1000, rook=True)
arguments passed to raster_weights() and pysal.Moran_Local
See help(gr.raster_weights), help(pysal.Moran_Local) for options | "Compute Local Moran's I measure of local spatial autocorrelation for GeoRaster\n\n Usage:\n geo.pysal_Moran_Local(permutations = 1000, rook=True)\n\n arguments passed to raster_weights() and pysal.Moran_Local\n See help(gr.raster_weights), help(pysal.Moran_Local) for options" | 136 | false | ozak/georasters | pysal_Moran_Local | 8,624 | |
LDU_FT/graphistry/pygraphistry/authenticate | LDU_FT | [
"<BEGIN>\n## `_connect`",
"Retrieve token from USMA API and create an authenticated session\n :returns OAuth2Session: authenticated client session\n<END>",
"<BEGIN>\n## `_retrieve_items`",
"Retrieve num_items from item_type\n :param int num_items: Max items to retrieve\n :param dict param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Authenticate via already provided configuration.
This is called once automatically per session when uploading and rendering a visualization. | "Authenticate via already provided configuration.\n This is called once automatically per session when uploading and rendering a visualization." | 127 | false | graphistry/pygraphistry | authenticate | 8,625 | |
LDU_FT/saxix/django-concurrency/_management_form | LDU_FT | [
"<BEGIN>\n## `identity`",
"returns a string representing \"<pk>,<version>\" of the passed object\n<END>",
"<BEGIN>\n## `deprecated`",
"A decorator which can be used to mark functions as deprecated.\n replacement is a callable that will be called with the same args\n as the decorated function.\n >>> i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _management_form API.
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 _management_form API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Returns the ManagementForm instance for this FormSet. | "Returns the ManagementForm instance for this FormSet." | 42 | false | saxix/django-concurrency | _management_form | 8,626 | |
LDU_FT/kevinconway/venvctrl/pip | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new virtual environment.",
" Args:\n python (str): The name or path of a python interpreter to use while\n creating the virtual environment.\n system_site (bool): Whether or not use use the system site packages\n within... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pip API.
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 pip API.
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... | Execute some pip function using the virtual environment pip. | "Execute some pip function using the virtual environment pip." | 51 | false | kevinconway/venvctrl | pip | 8,627 | |
LDU_FT/mapmyfitness/jtime/get_last_commit_message | LDU_FT | [
"<BEGIN>\n## `get_input`",
"Get input from the user given an input function and an input string\n<END>",
"<BEGIN>\n## `working_cycletime`",
"Get the working time between a beginning and an end point subtracting out non-office time\n<END>",
"<BEGIN>\n## `status`",
"Gets the worklog status for the current b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_last_commit_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_last_commit_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Gets the last commit message on the active branch
Returns None if not in a git repo | "Gets the last commit message on the active branch\n\n Returns None if not in a git repo" | 36 | false | mapmyfitness/jtime | get_last_commit_message | 8,628 | |
LDU_FT/ojii/django-multilingual-ng/get_from_clause | LDU_FT | [
"<BEGIN>\n## `reorder_translation_formset_by_language_code`",
"Shuffle the forms in the formset of multilingual model in the\n order of their language_ids.\n<END>",
"<BEGIN>\n## `multilingual`",
"Returns context variables containing information about available languages.\n<END>",
"<BEGIN>\n## `multilingu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_from_clause API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_from_clause API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Add the JOINS for related multilingual fields filtering. | "Add the JOINS for related multilingual fields filtering." | 58 | false | ojii/django-multilingual-ng | get_from_clause | 8,629 | |
LDU_FT/sassoftware/saspy/x12 | LDU_FT | [
"<BEGIN>\n## `submit`",
"This method is used to submit any SAS code. It returns the Log and Listing as a python dictionary.",
" - code - the SAS statements you want to execute\n - results - format of results. 'HTML' by default, alternatively 'TEXT'\n - prompt - dict of names:flags to pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the x12 API.
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 x12 API.
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... | Python method to call the X12 procedure
Documentation link:
https://go.documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=etsug&docsetTarget=etsug_x12_toc.htm&locale=en
:param data: SASdata object or string. This parameter is required.
:parm adjust: The adjust variable ... | "Python method to call the X12 procedure\n\n Documentation link:\n https://go.documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=etsug&docsetTarget=etsug_x12_toc.htm&locale=en\n\n :param data: SASdata object or string. This parameter is required.\n :parm adjust: The adjust va... | 469 | false | sassoftware/saspy | x12 | 8,630 | |
LDU_FT/MrYsLab/pymata-aio/set_pin_mode | LDU_FT | [
"<BEGIN>\n## `start`",
"This method opens an IP connection on the IP device",
" :return: None\n<END>",
"<BEGIN>\n## `write`",
"This method writes sends data to the IP device\n :param data:",
" :return: None\n<END>",
"<BEGIN>\n## `loop`",
"Function that gets called again as soon as... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_pin_mode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_pin_mode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | This method sets the pin mode for the selected pin. It handles: Input, Analog(Input) PWM, and OUTPUT. Servo
is handled by servo_config().
:param command: {"method": "set_pin_mode", "params": [PIN, MODE]}
:returns:No return message. | "This method sets the pin mode for the selected pin. It handles: Input, Analog(Input) PWM, and OUTPUT. Servo\n is handled by servo_config().\n :param command: {\"method\": \"set_pin_mode\", \"params\": [PIN, MODE]}\n :returns:No return message." | 561 | false | MrYsLab/pymata-aio | set_pin_mode | 8,631 | |
LDU_FT/adamrehn/slidingwindow/generateForSize | 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 generateForSize API.
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 generateForSize API.
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... | Generates a set of sliding windows for a dataset with the specified dimensions and order. | "Generates a set of sliding windows for a dataset with the specified dimensions and order." | 46 | false | adamrehn/slidingwindow | generateForSize | 8,632 | |
LDU_FT/mila-iqia/fuel/fill_subparser | LDU_FT | [
"<BEGIN>\n## `convert_mnist`",
"Converts the MNIST dataset to HDF5.",
" Converts the MNIST dataset to an HDF5 dataset compatible with\n :class:`fuel.datasets.MNIST`. The converted dataset is\n saved as 'mnist.hdf5'.",
" This method assumes the existence of the following files:\n `train-images-i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fill_subparser API.
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 fill_subparser API.
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 up a subparser to convert the MNIST dataset files.
Parameters
----------
subparser : :class:`argparse.ArgumentParser`
Subparser handling the `mnist` command. | "Sets up a subparser to convert the MNIST dataset files.\n\n Parameters\n ----------\n subparser : :class:`argparse.ArgumentParser`\n Subparser handling the `mnist` command." | 358 | false | mila-iqia/fuel | fill_subparser | 8,633 | |
LDU_FT/redhat-openstack/python-tripleo-helper/patch_ironic_ramdisk | LDU_FT | [
"<BEGIN>\n## `start`",
"Start the ssh client and connect to the host.",
" It will wait until the ssh service is available during 90 seconds.\n If it doesn't succed to connect then the function will raise\n an SSHException.\n<END>",
"<BEGIN>\n## `run`",
"Run a command on the remote host.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch_ironic_ramdisk 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 patch_ironic_ramdisk API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Clean the disk before flushing the new image.
See: https://bugs.launchpad.net/ironic-lib/+bug/1550604 | "Clean the disk before flushing the new image.\n\n See: https://bugs.launchpad.net/ironic-lib/+bug/1550604" | 82 | false | redhat-openstack/python-tripleo-helper | patch_ironic_ramdisk | 8,634 | |
LDU_FT/gpoulter/python-ngram/add | LDU_FT | [
"<BEGIN>\n## `copy`",
"Return a new NGram object with the same settings, and\n referencing the same items. Copy is shallow in that\n each item is not recursively copied. Optionally specify\n alternate items to populate the copy.",
" >>> from ngram import NGram\n >>> from co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Add an item to the N-gram index (if it has not already been added).
>>> from ngram import NGram
>>> n = NGram()
>>> n.add("ham")
>>> list(n)
['ham']
>>> n.add("spam")
>>> sorted(list(n))
['ham', 'spam'] | "Add an item to the N-gram index (if it has not already been added).\n\n >>> from ngram import NGram\n >>> n = NGram()\n >>> n.add(\"ham\")\n >>> list(n)\n ['ham']\n >>> n.add(\"spam\")\n >>> sorted(list(n))\n ['ham', 'spam']" | 59 | false | gpoulter/python-ngram | add | 8,635 | |
LDU_FT/mapillary/mapillary_tools/_extract_alternative_fields | LDU_FT | [
"<BEGIN>\n## `convert_from_gps_time`",
"Convert gps time in ticks to standard time.\n<END>",
"<BEGIN>\n## `upload`",
"Upload local images to Mapillary\n Args:\n import_path: Directory path to where the images are stored.\n verbose: Print extra warnings and errors.\n skip_subfolders: Sk... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_alternative_fields 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 _extract_alternative_fields API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Extract a value for a list of ordered fields.
Return the value of the first existed field in the list | "Extract a value for a list of ordered fields.\n Return the value of the first existed field in the list" | 96 | false | mapillary/mapillary_tools | _extract_alternative_fields | 8,636 | |
LDU_FT/fishtown-analytics/dbt/release_references | LDU_FT | [
"<BEGIN>\n## `patch`",
"Given a ParsedNodePatch, add the new information to the node.\n<END>",
"<BEGIN>\n## `build_edges`",
"Build the forward and backward edges on the given list of ParsedNodes\n and return them as two separate dictionaries, each mapping unique IDs to\n lists of edges.\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the release_references API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the release_references API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Non-recursively indicate that an iterable of _ReferenceKey no longer
exist. Unknown keys are ignored.
:param Iterable[_ReferenceKey] keys: The keys to drop. | "Non-recursively indicate that an iterable of _ReferenceKey no longer\n exist. Unknown keys are ignored.\n\n :param Iterable[_ReferenceKey] keys: The keys to drop." | 419 | false | fishtown-analytics/dbt | release_references | 8,637 | |
LDU_FT/ploneintranet/ploneintranet.workspace/participation_policy_changed | LDU_FT | [
"<BEGIN>\n## `get_storage`",
"helper function to get annotation storage on the portal",
" :param clear: If true is passed in, annotations will be cleared\n :returns: portal annotations\n :rtype: IAnnotations\n<END>",
"<BEGIN>\n## `send_email`",
"helper function to send an email with the sender pres... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the participation_policy_changed 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 participation_policy_changed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Move all the existing users to a new group | "Move all the existing users to a new group" | 53 | false | ploneintranet/ploneintranet.workspace | participation_policy_changed | 8,638 | |
LDU_FT/fogleman/pg/pack_list | LDU_FT | [
"<BEGIN>\n## `delete_all`",
"Calls `delete()` on all members of `obj` that are recognized as\n instances of `pg` objects.\n<END>",
"<BEGIN>\n## `_glfw_get_version`",
"Queries and returns the library version tuple or None by using a\n subprocess.\n<END>",
"<BEGIN>\n## `set_error_callback`",
"Sets the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pack_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pack_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Convert a Python list into a ctypes buffer.
This appears to be faster than the typical method of creating a ctypes
array, e.g. (c_float * len(data))(*data) | "Convert a Python list into a ctypes buffer.\n\n This appears to be faster than the typical method of creating a ctypes\n array, e.g. (c_float * len(data))(*data)" | 39 | false | fogleman/pg | pack_list | 8,639 | |
LDU_FT/note35/sinon/twice | LDU_FT | [
"<BEGIN>\n## `__remove_args_first_item`",
"# Todo: finding a better solution\n This is a dirty solution\n Because the first argument of inspectors' args will be itself\n For current implementation, it should be ignore\n<END>",
"<BEGIN>\n## `lastCall`",
"Return: SpyCall object for this spy... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the twice API.
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 twice API.
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... | Inspected function should be called two times
Return: self | "Inspected function should be called two times\n Return: self" | 162 | false | note35/sinon | twice | 8,640 | |
LDU_FT/havardgulldahl/jottalib/post | LDU_FT | [
"<BEGIN>\n## `get_auth_info`",
"Get authentication details to jottacloud.",
" Will first check environment variables, then the .netrc file.\n<END>",
"<BEGIN>\n## `calculate_md5`",
"Utility function to calculate md5 hashes while being light on memory usage.",
" By reading the fileobject piece by piec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | HTTP Post files[] or content (unicode string) to url | "HTTP Post files[] or content (unicode string) to url" | 111 | false | havardgulldahl/jottalib | post | 8,641 | |
LDU_FT/neo4j-contrib/neomodel/connect | LDU_FT | [
"<BEGIN>\n## `set_connection`",
"Sets the connection URL to the address a Neo4j server is set up at\n<END>",
"<BEGIN>\n## `begin`",
"Begins a new transaction, raises SystemError exception if a transaction is in progress\n<END>",
"<BEGIN>\n## `_object_resolution`",
"Performs in place automatic object resol... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Connect to a node.
:param node:
:type: StructuredNode
:param properties: relationship properties
:type: dict
:return: True / rel instance | "Connect to a node.\n\n :param node:\n :type: StructuredNode\n :param properties: relationship properties\n :type: dict\n :return: True / rel instance" | 157 | false | neo4j-contrib/neomodel | connect | 8,642 | |
LDU_FT/nccgroup/Scout2/parse_trail | LDU_FT | [
"<BEGIN>\n## `get_keys`",
"Copies the value of keys from source object to dest object",
" :param src:\n :param dst:\n :param keys:\n :return:\n<END>",
"<BEGIN>\n## `no_camel`",
"Converts CamelCase to camel_case",
" :param name:\n :return:\n<END>",
"<BEGIN>\n## `is_throttled`",
"Deter... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_trail API.
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 parse_trail API.
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... | Parse a single CloudTrail trail
:param global_params: Parameters shared for all regions
:param region: Name of the AWS region
:param cluster: Trail | "Parse a single CloudTrail trail\n\n :param global_params: Parameters shared for all regions\n :param region: Name of the AWS region\n :param cluster: Trail" | 166 | false | nccgroup/Scout2 | parse_trail | 8,643 | |
LDU_FT/soasme/rio/get_data_or_404 | LDU_FT | [
"<BEGIN>\n## `urlopen`",
"A slightly safer version of ``urlib2.urlopen`` which prevents redirection\n and ensures the URL isn't attempting to hit a blacklisted IP range.\n<END>",
"<BEGIN>\n## `extract_response`",
"Extract requests response object.",
" only extract those status_code in [200, 300).",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_data_or_404 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_data_or_404 API.
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... | Wrap `get_data`, when missing data, raise BadRequest. | "Wrap `get_data`, when missing data, raise BadRequest." | 88 | false | soasme/rio | get_data_or_404 | 8,644 | |
LDU_FT/SheffieldML/GPy/plot_latent | LDU_FT | [
"<BEGIN>\n## `pdf_link`",
":param link_f: latent variables link(f)\n :type link_f: Nx1 array\n :param y: data\n :type y: Nx1 array\n :param Y_metadata: includes censoring information in dictionary key 'censored'\n :returns: likelihood evaluated for this point\n :rtype: fl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_latent API.
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 plot_latent API.
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... | Plot the latent space of the GP on the inputs. This is the
density of the GP posterior as a grey scale and the
scatter plot of the input dimemsions selected by which_indices.
:param array-like labels: a label for each data point (row) of the inputs
:param (int, int) which_indices: which input dimension... | "Plot the latent space of the GP on the inputs. This is the\n density of the GP posterior as a grey scale and the\n scatter plot of the input dimemsions selected by which_indices.\n\n :param array-like labels: a label for each data point (row) of the inputs\n :param (int, int) which_indices: which input dim... | 1,670 | true | SheffieldML/GPy | plot_latent | 8,645 | |
LDU_FT/marcharper/python-ternary/scatter | LDU_FT | [
"<BEGIN>\n## `normalize`",
"Normalizes input list.",
" Parameters\n ----------\n l: list\n The list to be normalized",
" Returns\n -------\n The normalized list or numpy array",
" Raises\n ------\n ValueError, if the list sums to zero\n<END>",
"<BEGIN>\n## `simplex_iterat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scatter API.
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 scatter API.
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... | Plots trajectory points where each point satisfies x + y + z = scale.
First argument is a list or numpy array of tuples of length 3.
Parameters
----------
points: List of 3-tuples
The list of tuples to be scatter-plotted.
ax: Matplotlib AxesSubplot, None
The subplot to draw on.
... | "Plots trajectory points where each point satisfies x + y + z = scale.\n First argument is a list or numpy array of tuples of length 3.\n\n Parameters\n ----------\n points: List of 3-tuples\n The list of tuples to be scatter-plotted.\n ax: Matplotlib AxesSubplot, None\n The subplot to draw... | 179 | false | marcharper/python-ternary | scatter | 8,646 | |
LDU_FT/shendo/websnort/analyse_pcap | LDU_FT | [
"<BEGIN>\n## `parse_version`",
"Parses the supplied output and returns the version string.",
" :param output: A string containing the output of running snort.\n :returns: Version string for the version of snort run. None if not found.\n<END>",
"<BEGIN>\n## `parse_alert`",
"Parses the supplied output a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the analyse_pcap API.
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 analyse_pcap API.
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... | Run IDS across the supplied file.
:param infile: File like object containing pcap data.
:param filename: Filename of the submitted file.
:returns: Dictionary of analysis results. | "Run IDS across the supplied file.\n\n :param infile: File like object containing pcap data.\n :param filename: Filename of the submitted file.\n :returns: Dictionary of analysis results." | 40 | false | shendo/websnort | analyse_pcap | 8,647 | |
LDU_FT/twisted/txaws/attach_volume | LDU_FT | [
"<BEGIN>\n## `get_ca_certs`",
"Retrieve a list of CAs at either the DEFAULT_CERTS_PATH or the env\n override, TXAWS_CERTS_PATH.",
" In order to find .pem files, this function checks first for presence of the\n TXAWS_CERTS_PATH environment variable that should point to a directory\n containing cert f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attach_volume API.
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 attach_volume API.
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... | Attach the given volume to the specified instance at C{device}. | "Attach the given volume to the specified instance at C{device}." | 465 | false | twisted/txaws | attach_volume | 8,648 | |
LDU_FT/treycucco/bidon/delete_model | LDU_FT | [
"<BEGIN>\n## `_normalize_name`",
"Returns a normalized element tag or attribute name. A tag name or attribute name can be given\n either as a string, or as a 2-tuple. If a 2-tuple, it is interpreted as (namespace, name) and is\n returned joined by a colon \":\"",
" :name: a string or a 2-tuple of strings\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Deletes a model.
:model_or_type: if a model, delete that model. If it is a ModelBase subclass, id_ must be
specified, and the associated record is deleted. | "Deletes a model.\n\n :model_or_type: if a model, delete that model. If it is a ModelBase subclass, id_ must be\n specified, and the associated record is deleted." | 436 | false | treycucco/bidon | delete_model | 8,649 | |
LDU_FT/vals/umis/demultiplex_cells | LDU_FT | [
"<BEGIN>\n## `mutationhash`",
"produce a hash with each key a nedit distance substitution for a set of\n strings. values of the hash is the set of strings the substitution could\n have come from\n<END>",
"<BEGIN>\n## `substitution_set`",
"for a string, return a set of all possible substitutions\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the demultiplex_cells API.
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 demultiplex_cells API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Demultiplex a fastqtransformed FASTQ file into a FASTQ file for
each cell. | "Demultiplex a fastqtransformed FASTQ file into a FASTQ file for\n each cell." | 62 | false | vals/umis | demultiplex_cells | 8,650 | |
LDU_FT/frejanordsiek/hdf5storage/writes | LDU_FT | [
"<BEGIN>\n## `update_type_lookups`",
"Update type and typestring lookup dicts.",
" Must be called once the ``types`` and ``python_type_strings``\n attributes are set so that ``type_to_typestring`` and\n ``typestring_to_type`` are constructed.",
" .. versionadded:: 0.2",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the writes API.
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 writes API.
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 ... | Writes data into an HDF5 file (high level).
High level function to store one or more Python types (data) to
specified pathes in an HDF5 file. The paths are specified as POSIX
style paths where the directory name is the Group to put it in and
the basename is the name to write it to.
There are vario... | "Writes data into an HDF5 file (high level).\n\n High level function to store one or more Python types (data) to\n specified pathes in an HDF5 file. The paths are specified as POSIX\n style paths where the directory name is the Group to put it in and\n the basename is the name to write it to.\n\n There a... | 264 | false | frejanordsiek/hdf5storage | writes | 8,651 | |
LDU_FT/astroduff/commah/_izip | LDU_FT | [
"<BEGIN>\n## `plotcommand`",
"Example ways to interrogate the dataset and plot the commah output\n<END>",
"<BEGIN>\n## `_izip`",
"Iterate through multiple lists or arrays of equal size\n<END>",
"<BEGIN>\n## `_checkinput`",
"Check and convert any input scalar or array to numpy array\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _izip API.
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 _izip API.
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... | Iterate through multiple lists or arrays of equal size | "Iterate through multiple lists or arrays of equal size" | 81 | false | astroduff/commah | _izip | 8,652 | |
LDU_FT/larryng/narwal/get | LDU_FT | [
"<BEGIN>\n## `get`",
"Sends a GET request to a reddit path determined by ``args``. Basically ``.get('foo', 'bar', 'baz')`` will GET http://www.reddit.com/foo/bar/baz/.json. ``kwargs`` supplied will be passed to :meth:`requests.get` after having ``user_agent`` and ``cookies`` injected. Injection only occurs if ... | 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... | Sends a GET request to a reddit path determined by ``args``. Basically ``.get('foo', 'bar', 'baz')`` will GET http://www.reddit.com/foo/bar/baz/.json. ``kwargs`` supplied will be passed to :meth:`requests.get` after having ``user_agent`` and ``cookies`` injected. Injection only occurs if they don't already exist.
... | "Sends a GET request to a reddit path determined by ``args``. Basically ``.get('foo', 'bar', 'baz')`` will GET http://www.reddit.com/foo/bar/baz/.json. ``kwargs`` supplied will be passed to :meth:`requests.get` after having ``user_agent`` and ``cookies`` injected. Injection only occurs if they don't already exist.\n... | 147 | false | larryng/narwal | get | 8,653 | |
LDU_FT/thespacedoctor/sherlock/_clean_up_columns | LDU_FT | [
"<BEGIN>\n## `ingest`",
"ingest the veron catalogue into the catalogues database",
" See class docstring for usage.\n<END>",
"<BEGIN>\n## `_create_dictionary_of_veron`",
"create a list of dictionaries containing all the rows in the veron catalogue",
" **Return:**\n - ``dictList`` ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _clean_up_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _clean_up_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | clean up columns
.. todo ::
- update key arguments values and definitions with defaults
- update return values and definitions
- update usage examples and text
- update docstring text
- check sublime snippet exists
- clip any useful text ... | "clean up columns\n\n .. todo ::\n\n - update key arguments values and definitions with defaults\n - update return values and definitions\n - update usage examples and text\n - update docstring text\n - check sublime snippet exists\n - clip any us... | 348 | false | thespacedoctor/sherlock | _clean_up_columns | 8,654 | |
LDU_FT/raghakot/keras-vis/visualize_cam_with_losses | LDU_FT | [
"<BEGIN>\n## `visualize_activation_with_losses`",
"Generates the `input_tensor` that minimizes the weighted `losses`. This function is intended for advanced\n use cases where a custom loss is desired.",
" Args:\n input_tensor: An input tensor of shape: `(samples, channels, image_dims...)` if `image... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visualize_cam_with_losses API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visualize_cam_with_losses API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Generates a gradient based class activation map (CAM) by using positive gradients of `input_tensor`
with respect to weighted `losses`.
For details on grad-CAM, see the paper:
[Grad-CAM: Why did you say that? Visual Explanations from Deep Networks via Gradient-based Localization]
(https://arxiv.org/pdf/... | "Generates a gradient based class activation map (CAM) by using positive gradients of `input_tensor`\n with respect to weighted `losses`.\n\n For details on grad-CAM, see the paper:\n [Grad-CAM: Why did you say that? Visual Explanations from Deep Networks via Gradient-based Localization]\n (https://arxiv.or... | 138 | false | raghakot/keras-vis | visualize_cam_with_losses | 8,655 | |
LDU_FT/Kunstmord/datalib/return_real_id_base | LDU_FT | [
"<BEGIN>\n## `extract_feature_base`",
"Generic function which extracts a feature and stores it in the database",
" Parameters\n ----------\n dbpath : string, path to SQLite database file\n folder_path : string, path to folder where the files are stored\n set_object : object (either TestSet or Tra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the return_real_id_base 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 return_real_id_base 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... | Generic function which returns a list of real_id's
Parameters
----------
dbpath : string, path to SQLite database file
set_object : object (either TestSet or TrainSet) which is stored in the database
Returns
-------
return_list : list of real_id values for the dataset (a real_id is the fil... | "Generic function which returns a list of real_id's\n\n Parameters\n ----------\n dbpath : string, path to SQLite database file\n set_object : object (either TestSet or TrainSet) which is stored in the database\n\n Returns\n -------\n return_list : list of real_id values for the dataset (a real_id ... | 117 | false | Kunstmord/datalib | return_real_id_base | 8,656 | |
LDU_FT/Ouranosinc/xclim/check_valid | LDU_FT | [
"<BEGIN>\n## `build_module`",
"Create a module from imported objects.",
" Parameters\n ----------\n name : str\n New module name.\n objs : dict\n Dictionary of the objects (or their name) to import into the module,\n keyed by the name they will take in the created module.\n doc : s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_valid API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_valid API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | r"""Check that a variable's attribute has the expected value. Warn user otherwise. | "r\"\"\"Check that a variable's attribute has the expected value. Warn user otherwise." | 578 | false | Ouranosinc/xclim | check_valid | 8,657 | |
LDU_FT/heitzmann/gdspy/add | LDU_FT | [
"<BEGIN>\n## `_eight_byte_real`",
"Convert a number into the GDSII 8 byte real format.",
" Parameters\n ----------\n value : number\n The number to be converted.",
" Returns\n -------\n out : string\n The GDSII binary string that represents ``value``.\n<END>",
"<BEGIN>\n## `_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Add one or more cells to the library.
Parameters
----------
cell : ``Cell`` of list of ``Cell``
Cells to be included in the library.
overwrite_duplicate : bool
If True an existing cell with the same name in the library
will be overwritten.
Re... | "Add one or more cells to the library.\n\n Parameters\n ----------\n cell : ``Cell`` of list of ``Cell``\n Cells to be included in the library.\n overwrite_duplicate : bool\n If True an existing cell with the same name in the library\n will be overwritten.\n\... | 254 | false | heitzmann/gdspy | add | 8,658 | |
LDU_FT/SKA-ScienceDataProcessor/integration-prototype/get_volume_list | LDU_FT | [
"<BEGIN>\n## `_check_status`",
"SDP Status check.",
" Do all the tests to determine, if the SDP state is\n \"broken\", what could be the cause, and return a\n suitable status message to be sent back by the calling\n function.\n<END>",
"<BEGIN>\n## `allowed_transitions`",
"Get target states allow... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_volume_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_volume_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Get a list of docker volumes.
Only the manager nodes can retrieve all the volumes
Returns:
list, all the names of the volumes in swarm | "Get a list of docker volumes.\n\n Only the manager nodes can retrieve all the volumes\n\n Returns:\n list, all the names of the volumes in swarm" | 573 | false | SKA-ScienceDataProcessor/integration-prototype | get_volume_list | 8,659 | |
LDU_FT/justinabrahms/imhotep/parse | LDU_FT | [
"<BEGIN>\n## `invoke`",
"Main entrypoint for all plugins.",
" Returns results in the format of:",
" {'filename': {\n 'line_number': [\n 'error1',\n 'error2'\n ]\n }\n }\n<END>",
"<BEGIN>\n## `process_line`",
"Processes a line return a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Parses everyting into a datastructure that looks like:
result = [{
'origin_filename': '',
'result_filename': '',
'origin_lines': [], // all lines of the original file
'result_lines': [], // all lines of the newest file
'added_l... | "Parses everyting into a datastructure that looks like:\n\n result = [{\n 'origin_filename': '',\n 'result_filename': '',\n 'origin_lines': [], // all lines of the original file\n 'result_lines': [], // all lines of the newest file\n ... | 29 | false | justinabrahms/imhotep | parse | 8,660 | |
LDU_FT/rsalmei/clearly/safe_compile_text | LDU_FT | [
"<BEGIN>\n## `server`",
"Starts the Clearly Server.",
" BROKER: The broker being used by celery, like \"amqp://localhost\".\n<END>",
"<BEGIN>\n## `start_server`",
"Starts a Clearly Server programmatically.\n<END>",
"<BEGIN>\n## `_event_to_pb`",
"Supports converting internal TaskData and WorkerDat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the safe_compile_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the safe_compile_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Based on actual ast.literal_eval, but this one supports 'calls',
like in a repr of a datetime: `datetime.datetime(2017, 5, 20)`.
Clearly uses this to generate actual python objects of the params and
results of the tasks, to be able to apply the advanced syntax coloring
scheme implemented here. Ot... | "Based on actual ast.literal_eval, but this one supports 'calls', \n like in a repr of a datetime: `datetime.datetime(2017, 5, 20)`.\n \n Clearly uses this to generate actual python objects of the params and \n results of the tasks, to be able to apply the advanced syntax coloring\n scheme implemented he... | 63 | false | rsalmei/clearly | safe_compile_text | 8,661 | |
LDU_FT/saeschdivara/ArangoPy/create | LDU_FT | [
"<BEGIN>\n## `all`",
"Returns all documents of the collection",
" :param collection Collection instance\n :param skip The number of documents to skip in the query\n :param limit The maximal amount of documents to return. The skip is applied before the limit restriction.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Creates collection
:param name Collection name
:param database Database name in which it is created
:param type Collection type (2 = document / 3 = edge)
:returns Collection | "Creates collection\n\n :param name Collection name\n :param database Database name in which it is created\n :param type Collection type (2 = document / 3 = edge)\n\n :returns Collection" | 115 | false | saeschdivara/ArangoPy | create | 8,662 | |
LDU_FT/olucurious/PyFCM/subscribe_registration_ids_to_topic | LDU_FT | [
"<BEGIN>\n## `registration_id_chunks`",
"Splits registration ids in several lists of max 1000 registration ids per list",
" Args:\n registration_ids (list): FCM device registration ID",
" Yields:\n generator: list including lists with registration ids\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subscribe_registration_ids_to_topic API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subscribe_registration_ids_to_topic API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | Subscribes a list of registration ids to a topic
Args:
registration_ids (list): ids to be subscribed
topic_name (str): name of topic
Returns:
True: if operation succeeded
Raises:
InvalidDataError: data sent to server was incorrectly formatted
... | "Subscribes a list of registration ids to a topic\n\n Args:\n registration_ids (list): ids to be subscribed\n topic_name (str): name of topic\n\n Returns:\n True: if operation succeeded\n\n Raises:\n InvalidDataError: data sent to server was incorrectly f... | 71 | false | olucurious/PyFCM | subscribe_registration_ids_to_topic | 8,663 | |
LDU_FT/daler/gffutils/create | 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 create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Calls various methods sequentially in order to fully build the
database. | "Calls various methods sequentially in order to fully build the\n database." | 366 | false | daler/gffutils | create | 8,664 | |
LDU_FT/turicas/rows/import_from_source | LDU_FT | [
"<BEGIN>\n## `import_from_json`",
"Import a JSON file or file-like object into a `rows.Table`.",
" If a file-like object is provided it MUST be open in text (non-binary) mode\n on Python 3 and could be open in both binary or text mode on Python 2.\n<END>",
"<BEGIN>\n## `export_to_json`",
"Export a `ro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_from_source 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 import_from_source 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... | Import data described in a `rows.Source` into a `rows.Table` | "Import data described in a `rows.Source` into a `rows.Table`" | 123 | false | turicas/rows | import_from_source | 8,665 | |
LDU_FT/moralrecordings/mrcrowbar/format_image_iter | LDU_FT | [
"<BEGIN>\n## `decode_nfo`",
"Decodes a byte string in NFO format (beloved by PC scener groups) from DOS Code Page 437 \n to Unicode.\n<END>",
"<BEGIN>\n## `ansi_format_iter`",
"Return the ANSI escape sequence to render the image.",
" x_start\n Offset from the left of the image data to r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_image_iter API.
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 format_image_iter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Return the ANSI escape sequence to render a bitmap image.
data_fetch
Function that takes three arguments (x position, y position, and frame) and returns
a Colour corresponding to the pixel stored there, or Transparent if the requested
pixel is out of bounds.
x_start
Offset fro... | "Return the ANSI escape sequence to render a bitmap image.\n\n data_fetch\n Function that takes three arguments (x position, y position, and frame) and returns\n a Colour corresponding to the pixel stored there, or Transparent if the requested \n pixel is out of bounds.\n\n x_start\n O... | 214 | false | moralrecordings/mrcrowbar | format_image_iter | 8,666 | |
LDU_FT/goshuirc/irc/ensure_future | LDU_FT | [
"<BEGIN>\n## `sort_prefixes`",
"Returns a sorted list of prefixes.",
" Args:\n orig (str): Unsorted list of prefixes.\n prefixes (str): List of prefixes, from highest-priv to lowest.\n<END>",
"<BEGIN>\n## `parse_modes`",
"Return a modelist.",
" Args:\n params (list of str): Para... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ensure_future API.
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 ensure_future API.
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... | Wraps asyncio.async()/asyncio.ensure_future() depending on the python version
:param fut: The awaitable, future, or coroutine to wrap
:param loop: The loop to run in
:return: The wrapped future | "Wraps asyncio.async()/asyncio.ensure_future() depending on the python version\n :param fut: The awaitable, future, or coroutine to wrap\n :param loop: The loop to run in\n :return: The wrapped future" | 97 | false | goshuirc/irc | ensure_future | 8,667 | |
LDU_FT/googleads/googleads-python-lib/_CreateMultipleValuesCondition | LDU_FT | [
"<BEGIN>\n## `CreateAdsWithCustomizations`",
"Creates ExpandedTextAds that use ad customizations for specified AdGroups.",
" Args:\n client: an AdWordsClient instance.\n adgroup_ids: a list containing the AdGroup ids to add ExpandedTextAds to.\n feed_name: the name of the feed used to apply customizat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _CreateMultipleValuesCondition API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _CreateMultipleValuesCondition API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Creates a condition with the provided list of values and operator. | "Creates a condition with the provided list of values and operator." | 713 | false | googleads/googleads-python-lib | _CreateMultipleValuesCondition | 8,668 | |
LDU_FT/raamana/hiwenet/diff_means | LDU_FT | [
"<BEGIN>\n## `diff_medians`",
"Computes the difference in medians between two arrays of values.",
" Given arrays will be flattened (to 1D array) regardless of dimension,\n and any non-finite/NaN values will be ignored.",
" Parameters\n ----------\n array_one, array_two : iterable\n T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the diff_means API.
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 diff_means API.
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... | Computes the difference in means between two arrays of values.
Given arrays will be flattened (to 1D array) regardless of dimension,
and any non-finite/NaN values will be ignored.
Parameters
----------
array_one, array_two : iterable
Two arrays of values, possibly of different length.
... | "Computes the difference in means between two arrays of values.\n\n Given arrays will be flattened (to 1D array) regardless of dimension,\n and any non-finite/NaN values will be ignored.\n\n Parameters\n ----------\n array_one, array_two : iterable\n Two arrays of values, possibly of different... | 115 | false | raamana/hiwenet | diff_means | 8,669 | |
LDU_FT/vxgmichel/aiostream/flatten | LDU_FT | [
"<BEGIN>\n## `base_combine`",
"Base operator for managing an asynchronous sequence of sequences.",
" The sequences are awaited concurrently, although it's possible to limit\n the amount of running sequences using the `task_limit` argument.",
" The ``switch`` argument enables the switch mecanism, whic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flatten API.
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 flatten API.
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... | Given an asynchronous sequence of sequences, generate the elements
of the sequences as soon as they're received.
The sequences are awaited concurrently, although it's possible to limit
the amount of running sequences using the `task_limit` argument.
Errors raised in the source or an element sequence a... | "Given an asynchronous sequence of sequences, generate the elements\n of the sequences as soon as they're received.\n\n The sequences are awaited concurrently, although it's possible to limit\n the amount of running sequences using the `task_limit` argument.\n\n Errors raised in the source or an element seq... | 154 | false | vxgmichel/aiostream | flatten | 8,670 | |
LDU_FT/SMTG-UCL/sumo/get_plot | LDU_FT | [
"<BEGIN>\n## `kpath_from_seekpath`",
"r\"\"\"Convert seekpath-formatted kpoints path to sumo-preferred format.",
" If 'GAMMA' is used as a label this will be replaced by '\\Gamma'.",
" Args:\n seekpath (list): A :obj:`list` of 2-tuples containing the labels at\n each si... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_plot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_plot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Get a :obj:`matplotlib.pyplot` object of the optical spectra.
Args:
width (:obj:`float`, optional): The width of the plot.
height (:obj:`float`, optional): The height of the plot.
xmin (:obj:`float`, optional): The minimum energy on the x-axis.
xmax (:obj:`float`... | "Get a :obj:`matplotlib.pyplot` object of the optical spectra.\n\n Args:\n width (:obj:`float`, optional): The width of the plot.\n height (:obj:`float`, optional): The height of the plot.\n xmin (:obj:`float`, optional): The minimum energy on the x-axis.\n xmax (:obj:... | 449 | false | SMTG-UCL/sumo | get_plot | 8,671 | |
LDU_FT/zhmcclient/python-zhmcclient/get_connected_nics | LDU_FT | [
"<BEGIN>\n## `_metric_value`",
"Return a Python-typed metric value from a metric value string.\n<END>",
"<BEGIN>\n## `_metric_unit_from_name`",
"Return a metric unit string for human consumption, that is inferred from\n the metric name.",
" If a unit cannot be inferred, `None` is returned.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_connected_nics API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_connected_nics 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... | List the :term:`NICs <NIC>` connected to this Virtual Switch.
This method performs the "Get Connected VNICs of a Virtual Switch" HMC
operation.
Authorization requirements:
* Object-access permission to this CPC.
* Object-access permission to the backing Adapter of this Virtual... | "List the :term:`NICs <NIC>` connected to this Virtual Switch.\n\n This method performs the \"Get Connected VNICs of a Virtual Switch\" HMC\n operation.\n\n Authorization requirements:\n\n * Object-access permission to this CPC.\n * Object-access permission to the backing Adapter of t... | 1,599 | true | zhmcclient/python-zhmcclient | get_connected_nics | 8,672 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.