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/6809/dragonlib/setup_logging | LDU_FT | [
"<BEGIN>\n## `bin2hexline`",
"Format binary data to a Hex-Editor like format...",
" >>> data = bytearray([i for i in range(256)])\n >>> print('\\\\n'.join(bin2hexline(data, width=16)))\n 0000 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f ................\n 0016 10 11 12 13 14 15 16 17 18 19 1a 1b ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_logging API.
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 setup_logging API.
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... | levels:
1 - hardcode DEBUG ;)
10 - DEBUG
20 - INFO
30 - WARNING
40 - ERROR
50 - CRITICAL/FATAL
99 - nearly off
100 - complete off | "levels:\n 1 - hardcode DEBUG ;)\n 10 - DEBUG\n 20 - INFO\n 30 - WARNING\n 40 - ERROR\n 50 - CRITICAL/FATAL\n 99 - nearly off\n 100 - complete off" | 63 | false | 6809/dragonlib | setup_logging | 142,473 | |
LDU_FT/coumbole/mailscanner/scan_message | LDU_FT | [
"<BEGIN>\n## `date_is_valid`",
"Checks if dates (e.g. [\"17\", \"11\"] ) is valid and returns bool",
" Checks if the first element is between 1 and 31\n and the second element is between 1 and 12.",
" Keyword arguments:\n dates -- list of numbers",
" Returns:\n True if the date is valid, F... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scan_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scan_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Scans regex from msg and returns the line that matches
Keyword arguments:
message -- A (long) string, e.g. email body that will be
scanned.
regex -- A regular expression string that the message will be
scanned against.
Returns:
Matching line or empty string | "Scans regex from msg and returns the line that matches\n\n Keyword arguments:\n message -- A (long) string, e.g. email body that will be\n scanned.\n\n regex -- A regular expression string that the message will be\n scanned against.\n\n Returns:\n Matching line or empty... | 49 | false | coumbole/mailscanner | scan_message | 142,474 | |
LDU_FT/nanoporetech/ont_fast5_api/set_analysis_config | LDU_FT | [
"<BEGIN>\n## `_clean`",
"Convert numpy numeric types to their python equivalents.\n<END>",
"<BEGIN>\n## `get_prior_alignment`",
"Return the prior alignment that was used for 2D basecalling.",
" :return: Alignment data table.\n<END>",
"<BEGIN>\n## `get_2d_call_alignment`",
"Return the alignment an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_analysis_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_analysis_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Set Configuration data for analysis group. The ``config`` can
be passed as a dict of dicts e.g. ``{'section': {'key': 'value'}}``
or can be passed directly as a ConfigParser object.
:param group_name: The name of the analysis group e.g. Example_000
:param config: Representation... | "Set Configuration data for analysis group. The ``config`` can\n be passed as a dict of dicts e.g. ``{'section': {'key': 'value'}}``\n or can be passed directly as a ConfigParser object.\n\n :param group_name: The name of the analysis group e.g. Example_000\n :param config: Represen... | 159 | false | nanoporetech/ont_fast5_api | set_analysis_config | 142,475 | |
LDU_FT/liip/taxi/commit | 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 commit API.
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 commit API.
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 ... | Commits your work to the server. The [date] option can be used either as a
single date (eg. 20.01.2014), as a range (eg. 20.01.2014-22.01.2014), or as
a range with one of the dates omitted (eg. -22.01.2014). | "Commits your work to the server. The [date] option can be used either as a\n single date (eg. 20.01.2014), as a range (eg. 20.01.2014-22.01.2014), or as\n a range with one of the dates omitted (eg. -22.01.2014)." | 131 | false | liip/taxi | commit | 142,476 | |
LDU_FT/Spirent/py-stcrestclient/files | LDU_FT | [
"<BEGIN>\n## `url`",
"Construct a URL from the given components.\n<END>",
"<BEGIN>\n## `download_file`",
"Download a file.",
" If a timeout defined, it is not a time limit on the entire download;\n rather, an exception is raised if the server has not issued a response\n for timeout seco... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Get list of files, for this session, on server. | "Get list of files, for this session, on server." | 102 | false | Spirent/py-stcrestclient | files | 142,477 | |
LDU_FT/RI-imaging/qpsphere/params | LDU_FT | [
"<BEGIN>\n## `interpolate_grid`",
"Return the 2D field averaged radially w.r.t. the center\n<END>",
"<BEGIN>\n## `rytov`",
"Field behind a dielectric sphere in the Rytov approximation",
" Parameters\n ----------\n radius: float\n Radius of the sphere [m]\n sphere_index: float\n Ref... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the params API.
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 params API.
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 ... | Current interpolation parameter dictionary | "Current interpolation parameter dictionary" | 179 | false | RI-imaging/qpsphere | params | 142,478 | |
LDU_FT/OpenAssets/openassets/build_script | LDU_FT | [
"<BEGIN>\n## `issue`",
"Creates a transaction for issuing an asset.",
" :param TransferParameters issuance_spec: The parameters of the issuance.\n :param bytes metadata: The metadata to be embedded in the transaction.\n :param int fees: The fees to include in the transaction.\n :retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_script API.
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 build_script API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Creates an output script containing an OP_RETURN and a PUSHDATA.
:param bytes data: The content of the PUSHDATA.
:return: The final script.
:rtype: CScript | "Creates an output script containing an OP_RETURN and a PUSHDATA.\n\n :param bytes data: The content of the PUSHDATA.\n :return: The final script.\n :rtype: CScript" | 60 | false | OpenAssets/openassets | build_script | 142,479 | |
LDU_FT/flying-sheep/bcode/bencode | LDU_FT | [
"<BEGIN>\n## `_readuntil`",
"Helper function to read bytes until a certain end byte is hit\n<END>",
"<BEGIN>\n## `_decode_buffer`",
"String types are normal (byte)strings\n\tstarting with an integer followed by ':'\n\twhich designates the string’s length.",
"\tSince there’s no way to specify the byte type\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bencode API.
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 bencode API.
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 a serializable data piece to f
The order of tests is nonarbitrary,
as strings and mappings are iterable.
If f is None, it writes to a byte buffer
and returns a bytestring | "Writes a serializable data piece to f\n\tThe order of tests is nonarbitrary,\n\tas strings and mappings are iterable.\n\t\n\tIf f is None, it writes to a byte buffer\n\tand returns a bytestring" | 17 | false | flying-sheep/bcode | bencode | 142,480 | |
LDU_FT/basler/pypylon/do_compounddef | LDU_FT | [
"<BEGIN>\n## `shift`",
"Return a list corresponding to the lines of text in the `txt` list\n indented by `indent`. Prepend instead the string given in `prepend` to the\n beginning of the first line. Note that if len(prepend) > len(indent), then\n `prepend` will be truncated (doing better is tricky!). Thi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_compounddef API.
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 do_compounddef API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | This produces %feature("docstring") entries for classes, and handles
class, namespace and file memberdef entries specially to allow for
overloaded functions. For other cases, passes parsing on to standard
handlers (which may produce unexpected results). | "This produces %feature(\"docstring\") entries for classes, and handles\n class, namespace and file memberdef entries specially to allow for \n overloaded functions. For other cases, passes parsing on to standard\n handlers (which may produce unexpected results)." | 42 | false | basler/pypylon | do_compounddef | 142,481 | |
LDU_FT/jrspruitt/ubi_reader/by_leb | LDU_FT | [
"<BEGIN>\n## `read_block`",
"Read complete PEB data from file.",
" Argument:\n Obj:block -- Block data is desired for.\n<END>",
"<BEGIN>\n## `read_block_data`",
"Read LEB data from file",
" Argument:\n Obj:block -- Block data is desired for.\n<END>",
"<BEGIN>\n## `extract_blo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the by_leb API.
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 by_leb API.
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 ... | Sort blocks by Logical Erase Block number.
Arguments:
List:blocks -- List of block objects to sort.
Returns:
List -- Indexes of blocks sorted by LEB. | "Sort blocks by Logical Erase Block number.\n \n Arguments:\n List:blocks -- List of block objects to sort.\n \n Returns:\n List -- Indexes of blocks sorted by LEB." | 67 | false | jrspruitt/ubi_reader | by_leb | 142,482 | |
LDU_FT/sprockets/sprockets.mixins.http/http_fetch | LDU_FT | [
"<BEGIN>\n## `append_response`",
"Append the response to the stack of responses.",
" :param tornado.httpclient.HTTPResponse response: The HTTP response\n<END>",
"<BEGIN>\n## `body`",
"Returns the HTTP response body, deserialized if possible.",
" :rtype: mixed\n<END>",
"<BEGIN>\n## `links`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the http_fetch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the http_fetch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Perform a HTTP request
Will retry up to ``self.MAX_HTTP_RETRIES`` times.
:param str url: The URL for the request
:param str method: The HTTP request method, defaults to ``GET``
:param dict request_headers: Headers to include in the HTTP request
:param mixed body: The HTTP reque... | "Perform a HTTP request\n\n Will retry up to ``self.MAX_HTTP_RETRIES`` times.\n\n :param str url: The URL for the request\n :param str method: The HTTP request method, defaults to ``GET``\n :param dict request_headers: Headers to include in the HTTP request\n :param mixed body: The HT... | 35 | false | sprockets/sprockets.mixins.http | http_fetch | 142,483 | |
LDU_FT/kstateome/django-cas/_service_url | LDU_FT | [
"<BEGIN>\n## `get_tgt_for`",
"Fetch a ticket granting ticket for a given user.",
" :param user: UserObj",
" :return: TGT or Exepction\n<END>",
"<BEGIN>\n## `delete_old_tickets`",
"Delete tickets if they are over 2 days old\n kwargs = ['raw', 'signal', 'instance', 'sender', 'created']\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _service_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _service_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Generates application service URL for CAS
:param: request Request Object
:param: redirect_to URL to redriect to
:param: gateway Should this be a gatewayed pass through | "Generates application service URL for CAS\n\n :param: request Request Object\n :param: redirect_to URL to redriect to\n :param: gateway Should this be a gatewayed pass through" | 55 | false | kstateome/django-cas | _service_url | 142,484 | |
LDU_FT/ets-labs/python-domain-models/init_model | LDU_FT | [
"<BEGIN>\n## `init_model`",
"Init model with field.",
" :param DomainModel model:\n :param object value:\n<END>",
"<BEGIN>\n## `get_value`",
"Return field's value.",
" :param DomainModel model:\n :param object default:\n :rtype object:\n<END>",
"<BEGIN>\n## `set_value`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_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 extrac... | Init model with field.
:param DomainModel model:
:param object value: | "Init model with field.\n\n :param DomainModel model:\n :param object value:" | 40 | false | ets-labs/python-domain-models | init_model | 142,485 | |
LDU_FT/portfors-lab/sparkle/amplitude | LDU_FT | [
"<BEGIN>\n## `purgeDeletedWidgets`",
"Finds old references to stashed fields and deletes them\n<END>",
"<BEGIN>\n## `set_calibration`",
"See :meth:`AbstractAcquisitionRunner<sparkle.run.abstract_acquisition.AbstractAcquisitionRunner.set_calibration>`\n<END>",
"<BEGIN>\n## `set_current_stim_parameter`",
"S... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the amplitude API.
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 amplitude API.
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... | Calculates the voltage amplitude for this stimulus, using
internal intensity value and the given reference intensity & voltage
:param caldb: calibration intensity in dbSPL
:type caldb: float
:param calv: calibration voltage that was used to record the intensity provided
:type ca... | "Calculates the voltage amplitude for this stimulus, using\n internal intensity value and the given reference intensity & voltage\n\n :param caldb: calibration intensity in dbSPL\n :type caldb: float\n :param calv: calibration voltage that was used to record the intensity provided\n :... | 834 | false | portfors-lab/sparkle | amplitude | 142,486 | |
LDU_FT/WebarchivCZ/WA-KAT/set | LDU_FT | [
"<BEGIN>\n## `_convert_metadata`",
"Convert metadata from WA-KAT to Dublin core dictionary like structure,\n which may be easily converted to xml using :mod:`xmltodict` module.",
" Args:\n data (dict): Nested WA-KAT data. See tests for example.",
" Returns:\n dict: Dict in dublin core f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Set the elements from the data obtained from REST API.
Args:
values (dict): Dict with ``mrc``, ``oai``, ``dc`` and ``fn`` keys. | "Set the elements from the data obtained from REST API.\n\n Args:\n values (dict): Dict with ``mrc``, ``oai``, ``dc`` and ``fn`` keys." | 401 | false | WebarchivCZ/WA-KAT | set | 142,487 | |
LDU_FT/radjkarl/fancyTools/countLines | LDU_FT | [
"<BEGIN>\n## `similarity1DdiffShapedArrays`",
"compare two strictly monotonous increasing 1d arrays\n of same or different size\n return a similarity index-> 0=identical\n<END>",
"<BEGIN>\n## `inverseHistogram`",
"sample data from given histogram and min, max values within range",
" Returns:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the countLines API.
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 countLines API.
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... | count and return lines of all *.py files in the given directory/-ies
[paths] --> file path or list of paths to recursively count code line
[exclude_(files/folders)_containing]
--> list of phases in folder/file name to be excluded
e.g. ['test', 'build'] | "count and return lines of all *.py files in the given directory/-ies\n\n [paths] --> file path or list of paths to recursively count code line\n [exclude_(files/folders)_containing]\n --> list of phases in folder/file name to be excluded\n e.g. ['test', 'build']" | 210 | false | radjkarl/fancyTools | countLines | 142,488 | |
LDU_FT/xi/ldif3/_iter_unfolded_lines | LDU_FT | [
"<BEGIN>\n## `_fold_line`",
"Write string line as one or more folded lines.\n<END>",
"<BEGIN>\n## `_needs_base64_encoding`",
"Return True if attr_value has to be base-64 encoded.",
" This is the case because of special chars or because attr_type is in\n self._base64_attrs\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _iter_unfolded_lines 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 _iter_unfolded_lines API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Iter input unfoled lines. Skip comments. | "Iter input unfoled lines. Skip comments." | 25 | false | xi/ldif3 | _iter_unfolded_lines | 142,489 | |
LDU_FT/linkedin/Zopkio/undeploy | LDU_FT | [
"<BEGIN>\n## `make_machine_mapping`",
"Convert the machine list argument from a list of names into a mapping of logical names to\n physical hosts. This is similar to the _parse_configs function but separated to provide the\n opportunity for extension and additional checking of machine access\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the undeploy API.
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 undeploy API.
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... | Undeploys the service. This should at least perform the same actions as stop and uninstall
but may perform additional tasks as needed.
:Parameter unique_id: the name of the process
:Parameter configs: a map of configs the deployer may use | "Undeploys the service. This should at least perform the same actions as stop and uninstall\n but may perform additional tasks as needed.\n\n :Parameter unique_id: the name of the process\n :Parameter configs: a map of configs the deployer may use" | 85 | false | linkedin/Zopkio | undeploy | 142,490 | |
LDU_FT/arne-cl/discoursegraphs/layerset2str | LDU_FT | [
"<BEGIN>\n## `merging_cli`",
"simple commandline interface of the merging module.",
" This function is called when you use the ``discoursegraphs`` application\n directly on the command line.\n<END>",
"<BEGIN>\n## `add_node_ids_as_labels`",
"Adds the ID of each node of a discourse graph as a label (an ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the layerset2str API.
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 layerset2str API.
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... | typecasts all `layers` from sets of strings into a single string to make
the graph exportable (e.g. into the `gexf` and `graphml` formats).
Parameters
----------
discoursegraph : DiscourseDocumentGraph | "typecasts all `layers` from sets of strings into a single string to make\n the graph exportable (e.g. into the `gexf` and `graphml` formats).\n\n Parameters\n ----------\n discoursegraph : DiscourseDocumentGraph" | 846 | false | arne-cl/discoursegraphs | layerset2str | 142,491 | |
LDU_FT/robotpy/pyfrc/_load_config | LDU_FT | [
"<BEGIN>\n## `compute`",
"Call this when vision processing should be enabled",
" :param now: The value passed to ``update_sim``\n :param x: Returned from physics_controller.get_position\n :param y: Returned from physics_controller.get_position\n :param angle... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Used internally by pyfrc, don't call this directly.
Loads a json file from sim/config.json and makes the information available
to simulation/testing code. | "Used internally by pyfrc, don't call this directly.\n \n Loads a json file from sim/config.json and makes the information available\n to simulation/testing code." | 109 | false | robotpy/pyfrc | _load_config | 142,492 | |
LDU_FT/amaas-fintech/amaas-core-sdk-python/creation_date | LDU_FT | [
"<BEGIN>\n## `deactivate`",
"Is is only possible to deactivate an asset manager if your client_id is also the client_id that was used\n to originally create the asset manager.",
" :param asset_manager_id:\n :return:\n<END>",
"<BEGIN>\n## `quote_datetime`",
"Force the quote_datetime to a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the creation_date API.
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 creation_date API.
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... | The date on which the bond was issued.
:param creation_date:
:return: | "The date on which the bond was issued.\n :param creation_date:\n :return:" | 109 | false | amaas-fintech/amaas-core-sdk-python | creation_date | 142,493 | |
LDU_FT/tjcsl/ion/fuzzy_date | LDU_FT | [
"<BEGIN>\n## `student_visible`",
"Return a list of groups that are student-visible.\n<END>",
"<BEGIN>\n## `stdev`",
"r\"\"\"Calculate standard deviation of data x[]:\n std = sqrt(\\sum_i (x_i - mean)^2 \\over n-1)\n https://wiki.python.org/moin/NumericAndScientificRecipes\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fuzzy_date API.
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 fuzzy_date API.
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... | Formats a `datetime.datetime` object relative to the current time. | "Formats a `datetime.datetime` object relative to the current time." | 407 | false | tjcsl/ion | fuzzy_date | 142,494 | |
LDU_FT/pantsbuild/pex/resolve_multi | LDU_FT | [
"<BEGIN>\n## `isolated`",
"Returns a chroot for third_party isolated from the ``sys.path``.",
" PEX will typically be installed in site-packages flat alongside many other distributions; as such,\n adding the location of the pex distribution to the ``sys.path`` will typically expose many other\n distributions... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_multi API.
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 resolve_multi API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | A generator function that produces all distributions needed to meet `requirements`
for multiple interpreters and/or platforms.
:param requirements: An iterator of Requirement-like things, either
:class:`pkg_resources.Requirement` objects or requirement strings.
:keyword fetchers: (optional) A list of :class:... | "A generator function that produces all distributions needed to meet `requirements`\n for multiple interpreters and/or platforms.\n\n :param requirements: An iterator of Requirement-like things, either\n :class:`pkg_resources.Requirement` objects or requirement strings.\n :keyword fetchers: (optional) A list of :... | 385 | false | pantsbuild/pex | resolve_multi | 142,495 | |
LDU_FT/MolSSI-BSE/basis_set_exchange/create_metadata_file | LDU_FT | [
"<BEGIN>\n## `read_gbasis`",
"Reads gbasis-formatted file data and converts it to a dictionary with the\n usual BSE fields",
" Note that the gbasis format does not store all the fields we\n have, so some fields are left blank\n<END>",
"<BEGIN>\n## `read_molcas`",
"Reads molcas-formatted fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_metadata_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_metadata_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Creates a METADATA.json file from a data directory
The file is written to output_path | "Creates a METADATA.json file from a data directory\n\n The file is written to output_path" | 408 | false | MolSSI-BSE/basis_set_exchange | create_metadata_file | 142,496 | |
LDU_FT/chrismattmann/tika-python/auto_from_buffer | LDU_FT | [
"<BEGIN>\n## `from_file`",
"Parses a file for metadata and content\n :param filename: path to file which needs to be parsed\n :param serverEndpoint: Server endpoint url\n :param xmlContent: Whether or not XML content be requested.\n Default is 'False', which results in text content.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auto_from_buffer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auto_from_buffer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Translates content to desired language by auto detecting the source language
:param string: input content which needs translation
:param destLang: name of the desired language for translation
:param serverEndpoint: Tika server end point (Optional)
:return: | "Translates content to desired language by auto detecting the source language\n :param string: input content which needs translation\n :param destLang: name of the desired language for translation\n :param serverEndpoint: Tika server end point (Optional)\n :return:" | 54 | false | chrismattmann/tika-python | auto_from_buffer | 142,497 | |
LDU_FT/costastf/toonlib/_authenticate | LDU_FT | [
"<BEGIN>\n## `get_arguments`",
"This get us the cli arguments.",
" Returns the args as parsed from the argsparser.\n<END>",
"<BEGIN>\n## `setup_logging`",
"This sets up the logging.",
" Needs the args to get the log level supplied\n :param args: The command line arguments\n<END>",
"<BEGIN>\n## ... | 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 ext... | 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 ext... | Authenticates to the api and sets up client information. | "Authenticates to the api and sets up client information." | 46 | false | costastf/toonlib | _authenticate | 142,498 | |
LDU_FT/listen-lavender/webcrawl/urljoin | LDU_FT | [
"<BEGIN>\n## `_daemonize`",
"do the UNIX double-fork magic, see Stevens' \"Advanced \n Programming in the UNIX Environment\" for details (ISBN 0201563177)\n http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC16\n<END>",
"<BEGIN>\n## `monitor`",
"Monitor the process, check whether it runs out of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the urljoin API.
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 urljoin API.
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... | >>> urljoin('http://www.homeinns.com/hotel', 'http://www.homeinns.com/beijing')
'http://www.homeinns.com/beijing'
>>> urljoin('http://www.homeinns.com/hotel', '/beijing')
'http://www.homeinns.com/beijing'
>>> urljoin('http://www.homeinns.com/hotel', 'beijing')
'http://www.homeinns.com/beijing' | ">>> urljoin('http://www.homeinns.com/hotel', 'http://www.homeinns.com/beijing')\n 'http://www.homeinns.com/beijing'\n >>> urljoin('http://www.homeinns.com/hotel', '/beijing')\n 'http://www.homeinns.com/beijing'\n >>> urljoin('http://www.homeinns.com/hotel', 'beijing')\n 'http://www.homeinns.com/beijing'... | 23 | false | listen-lavender/webcrawl | urljoin | 142,499 | |
LDU_FT/gboeing/osmnx/plot_graph | LDU_FT | [
"<BEGIN>\n## `config`",
"Configure osmnx by setting the default global vars to desired values.",
" Parameters\n ---------\n data_folder : string\n where to save and load data files\n logs_folder : string\n where to write the log files\n imgs_folder : string\n where to save fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_graph API.
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 plot_graph API.
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... | Plot a networkx spatial graph.
Parameters
----------
G : networkx multidigraph
bbox : tuple
bounding box as north,south,east,west - if None will calculate from
spatial extents of data. if passing a bbox, you probably also want to
pass margin=0 to constrain it.
fig_height : i... | "Plot a networkx spatial graph.\n\n Parameters\n ----------\n G : networkx multidigraph\n bbox : tuple\n bounding box as north,south,east,west - if None will calculate from\n spatial extents of data. if passing a bbox, you probably also want to\n pass margin=0 to constrain it.\n fig_... | 479 | false | gboeing/osmnx | plot_graph | 142,500 | |
LDU_FT/epfl-lts2/pygsp/lanczos | LDU_FT | [
"<BEGIN>\n## `compute_avg_adj_deg`",
"r\"\"\"\n Compute the average adjacency degree for each node.",
" The average adjacency degree is the average of the degrees of a node and\n its neighbors.",
" Parameters\n ----------\n G: Graph\n Graph on which the statistic is extracted\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lanczos API.
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 lanczos API.
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... | r"""
TODO short description
Parameters
----------
A: ndarray
Returns
------- | "r\"\"\"\n TODO short description\n\n Parameters\n ----------\n A: ndarray\n\n Returns\n -------" | 617 | false | epfl-lts2/pygsp | lanczos | 142,501 | |
LDU_FT/amperser/proselint/score | LDU_FT | [
"<BEGIN>\n## `check`",
"Flag offensive words based on the GLAAD reference guide.\n<END>",
"<BEGIN>\n## `score`",
"Compute the linter's score on the corpus.",
" Proselint's score reflects the desire to have a linter that catches many\n errors, but which takes false alarms seriously. It is better not to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the score API.
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 score API.
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... | Compute the linter's score on the corpus.
Proselint's score reflects the desire to have a linter that catches many
errors, but which takes false alarms seriously. It is better not to say
something than to say the wrong thing, and the harm from saying the wrong
thing is greater than the benefit of sayin... | "Compute the linter's score on the corpus.\n\n Proselint's score reflects the desire to have a linter that catches many\n errors, but which takes false alarms seriously. It is better not to say\n something than to say the wrong thing, and the harm from saying the wrong\n thing is greater than the benefit of... | 94 | false | amperser/proselint | score | 142,502 | |
LDU_FT/ShopRunner/apparate/get_job_list | LDU_FT | [
"<BEGIN>\n## `_update_value`",
"creates (if needed) and updates the value of the key in the config with a\n value entered by the user",
" Parameters\n ----------\n config: ConfigParser object\n existing configuration\n key: string\n key to update\n instruction: string\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_job_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_job_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 extr... | get a list of jobs using the major version of the given library
Parameters
----------
logger: logging object
configured in cli_commands.py
match: FilenameMatch object
match object with suffix
library_mapping: dict
first element of get_library_mapping output
token: string... | "get a list of jobs using the major version of the given library\n\n Parameters\n ----------\n logger: logging object\n configured in cli_commands.py\n match: FilenameMatch object\n match object with suffix\n library_mapping: dict\n first element of get_library_mapping output\n to... | 44 | false | ShopRunner/apparate | get_job_list | 142,503 | |
LDU_FT/empymod/empymod/j0_4 | LDU_FT | [
"<BEGIN>\n## `check_ab`",
"r\"\"\"Check source-receiver configuration.",
" This check-function is called from one of the modelling routines in\n :mod:`model`. Consult these modelling routines for a detailed description\n of the input parameters.",
" Parameters\n ----------\n ab : int\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the j0_4 API.
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 j0_4 API.
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... | r"""Hankel transform pair J0_4 ([ChCo82]_).
Parameters
----------
f : float
Frequency (Hz)
rho : float
Resistivity (Ohm.m)
z : float
Vertical distance between source and receiver (m) | "r\"\"\"Hankel transform pair J0_4 ([ChCo82]_).\n\n Parameters\n ----------\n f : float\n Frequency (Hz)\n rho : float\n Resistivity (Ohm.m)\n z : float\n Vertical distance between source and receiver (m)" | 570 | false | empymod/empymod | j0_4 | 142,504 | |
LDU_FT/datamachine/twx.botapi/pin_chat_message | LDU_FT | [
"<BEGIN>\n## `export_chat_invite_link`",
"Use this method to generate a new invite link for a chat; any previously generated link is revoked.\n The bot must be an administrator in the chat for this to work and must have the appropriate admin rights.\n :param chat_id: Unique identifier for the target chat or... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pin_chat_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pin_chat_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Use this method to pin a message in a supergroup or a channel. The bot must be an administrator in the chat for this to work and
must have the ‘can_pin_messages’ admin right in the supergroup or ‘can_edit_messages’ admin right in the channel.
:param chat_id: Unique identifier for the target chat or username of... | "Use this method to pin a message in a supergroup or a channel. The bot must be an administrator in the chat for this to work and\n must have the ‘can_pin_messages’ admin right in the supergroup or ‘can_edit_messages’ admin right in the channel.\n\n :param chat_id: Unique identifier for the target chat or usernam... | 194 | false | datamachine/twx.botapi | pin_chat_message | 142,505 | |
LDU_FT/keans/lmnotify/_app_exec | LDU_FT | [
"<BEGIN>\n## `_exec`",
"execute a command at the device using the RESTful API",
" :param str cmd: one of the REST commands, e.g. GET or POST\n :param str url: URL of the REST API the command should be applied to\n :param dict json_data: json data that should be attached to the command\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _app_exec API.
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 _app_exec API.
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... | meta method for all interactions with apps
:param package: name of package/app
:type package: str
:param action: the action to be executed
:type action: str
:param params: optional parameters for this action
:type params: dict
:return: None
:rtype: None | "meta method for all interactions with apps\n\n :param package: name of package/app\n :type package: str\n :param action: the action to be executed\n :type action: str\n :param params: optional parameters for this action\n :type params: dict\n :return: None\n :rty... | 69 | false | keans/lmnotify | _app_exec | 142,506 | |
LDU_FT/keon/algorithms/longest_non_repeat_v2 | LDU_FT | [
"<BEGIN>\n## `convert_to_list`",
"converts a positive integer into a (reversed) linked list.\n for example: give 112\n result 2 -> 1 -> 1\n<END>",
"<BEGIN>\n## `convert_to_str`",
"converts the non-negative number list into a string.\n<END>",
"<BEGIN>\n## `three_sum`",
":param array: List[int... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the longest_non_repeat_v2 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 longest_non_repeat_v2 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Find the length of the longest substring
without repeating characters.
Uses alternative algorithm. | "Find the length of the longest substring\n without repeating characters.\n Uses alternative algorithm." | 273 | false | keon/algorithms | longest_non_repeat_v2 | 142,507 | |
LDU_FT/Shapeways/coyote_framework/save_last_response_to_file | LDU_FT | [
"<BEGIN>\n## `get_login_form_component`",
"Initializes and returns the login form component",
" @rtype: LoginForm\n @return: Initialized component\n<END>",
"<BEGIN>\n## `objectify`",
"Converts a dictionary into a named tuple (shallow)\n<END>",
"<BEGIN>\n## `create_directory`",
"Creates a d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_last_response_to_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_last_response_to_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Saves the body of the last response to a file
@param filename: Filename to save to
@return: Returns False if there is an OS error, True if successful | "Saves the body of the last response to a file\n\n @param filename: Filename to save to\n @return: Returns False if there is an OS error, True if successful" | 370 | false | Shapeways/coyote_framework | save_last_response_to_file | 142,508 | |
LDU_FT/nerdvegas/rez/collect_completions | LDU_FT | [
"<BEGIN>\n## `add_node`",
"Add given node to the graph.",
" @attention: While nodes can be of any type, it's strongly recommended to use only\n numbers and single-line strings as node identifiers if you intend to use write().",
" @type node: node\n @param node: Node identifier.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect_completions 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 collect_completions 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... | Visits the active parsers and their actions, executes their completers or introspects them to collect their
option strings. Returns the resulting completions as a list of strings.
This method is exposed for overriding in subclasses; there is no need to use it directly. | "Visits the active parsers and their actions, executes their completers or introspects them to collect their\n option strings. Returns the resulting completions as a list of strings.\n\n This method is exposed for overriding in subclasses; there is no need to use it directly." | 2,330 | true | nerdvegas/rez | collect_completions | 142,509 | |
LDU_FT/ONSdigital/sdc-rabbit/setup_queue | LDU_FT | [
"<BEGIN>\n## `_connect`",
"Connect to a RabbitMQ instance",
" :returns: Boolean corresponding to success of connection\n :rtype: bool\n<END>",
"<BEGIN>\n## `_disconnect`",
"Cleanly close a RabbitMQ connection.",
" :returns: None\n<END>",
"<BEGIN>\n## `publish_message`",
"Publish a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_queue API.
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 setup_queue API.
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... | Setup the queue on RabbitMQ by invoking the Queue.Declare RPC
command. When it is complete, the on_queue_declareok method will
be invoked by pika.
:param str|unicode queue_name: The name of the queue to declare. | "Setup the queue on RabbitMQ by invoking the Queue.Declare RPC\n command. When it is complete, the on_queue_declareok method will\n be invoked by pika.\n\n :param str|unicode queue_name: The name of the queue to declare." | 58 | false | ONSdigital/sdc-rabbit | setup_queue | 142,510 | |
LDU_FT/google/neuroglancer/txn | LDU_FT | [
"<BEGIN>\n## `stop`",
"Stop the server, invalidating any viewer URLs.",
" This allows any previously-referenced data arrays to be garbage collected if there are no other\n references to them.\n<END>",
"<BEGIN>\n## `defer_callback`",
"Register `callback` to run in the server event loop thread.\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the txn API.
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 txn API.
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... | Context manager for a state modification transaction. | "Context manager for a state modification transaction." | 46 | false | google/neuroglancer | txn | 142,511 | |
LDU_FT/Microsoft/azure-devops-python-api/get_scoped_package_version_metadata_from_recycle_bin | LDU_FT | [
"<BEGIN>\n## `create_attachment`",
"CreateAttachment.\n Creates an attachment in the wiki.\n :param object upload_stream: Stream to upload\n :param str project: Project ID or project name\n :param str wiki_identifier: Wiki Id or name.\n :param str name: Wiki attachment name.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_scoped_package_version_metadata_from_recycle_bin API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_scoped_package_version_metadata_from_recycle_bin API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <... | GetScopedPackageVersionMetadataFromRecycleBin.
[Preview API] Get information about a scoped package version in the recycle bin.
:param str feed_id: Name or ID of the feed.
:param str package_scope: Scope of the package (the 'scope' part of @scope/name)
:param str unscoped_package_name: N... | "GetScopedPackageVersionMetadataFromRecycleBin.\n [Preview API] Get information about a scoped package version in the recycle bin.\n :param str feed_id: Name or ID of the feed.\n :param str package_scope: Scope of the package (the 'scope' part of @scope/name)\n :param str unscoped_package_na... | 1,304 | true | Microsoft/azure-devops-python-api | get_scoped_package_version_metadata_from_recycle_bin | 142,512 | |
LDU_FT/ponty/psidialogs/multchoicebox | LDU_FT | [
"<BEGIN>\n## `askstring`",
"Original doc: get a string from the user",
" Arguments:",
" title -- the dialog title\n prompt -- the label text\n **kw -- see SimpleDialog class",
" Return value is a string\n<END>",
"<BEGIN>\n## `message`",
"Display a message",
" :ref:`screen... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multchoicebox API.
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 multchoicebox API.
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... | Original doc: Present the user with a list of choices.
allow him to select multiple items and return them in a list.
if the user doesn't choose anything from the list, return the empty list.
return None if he cancelled selection. | "Original doc: Present the user with a list of choices.\n allow him to select multiple items and return them in a list.\n if the user doesn't choose anything from the list, return the empty list.\n return None if he cancelled selection." | 110 | false | ponty/psidialogs | multchoicebox | 142,513 | |
LDU_FT/KenjiTakahashi/td/getKwargs | LDU_FT | [
"<BEGIN>\n## `save`",
"@decorator: Saves data after executing :func:.",
" Also performs modifications set as permanent options.\n<END>",
"<BEGIN>\n## `add`",
"Adds new item to the model.",
" Name argument may contain (ref:) syntax, which will be\n stripped down as needed.",
" :pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getKwargs API.
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 getKwargs API.
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... | Gets necessary data from user input.
:args: Dictionary of arguments supplied in command line.
:values: Default values dictionary, supplied for editing.
:get: Object used to get values from user input.
:returns: A dictionary containing data gathered from user input. | "Gets necessary data from user input.\n\n :args: Dictionary of arguments supplied in command line.\n :values: Default values dictionary, supplied for editing.\n :get: Object used to get values from user input.\n :returns: A dictionary containing data gathered from user input." | 82 | false | KenjiTakahashi/td | getKwargs | 142,514 | |
LDU_FT/morepath/more.jwtauth/get_extra_claims | LDU_FT | [
"<BEGIN>\n## `verify_refresh_request`",
"Wrapper around JWTIdentityPolicy.verify_refresh which verify\n if the request to refresh the token is valid.\n If valid it returns the userid which can be used to create to\n create an updated identity with ``remember_identity``.\n Otherwise it raises an except... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_extra_claims API.
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_extra_claims API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Get claims holding extra identity info from the claims set.
Returns a dictionary of extra claims or None if there are none.
:param claims_set: set of claims, which was included in the received
token. | "Get claims holding extra identity info from the claims set.\n\n Returns a dictionary of extra claims or None if there are none.\n\n :param claims_set: set of claims, which was included in the received\n token." | 36 | false | morepath/more.jwtauth | get_extra_claims | 142,515 | |
LDU_FT/rigetti/pyquil/instantiate_labels | LDU_FT | [
"<BEGIN>\n## `to_latex`",
"Translates a given pyquil Program to a TikZ picture in a Latex document.",
" :param Program circuit: The circuit to be drawn, represented as a pyquil program.\n :param dict settings: An optional dictionary with settings for drawing the circuit. See `get_default_settings`\n i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the instantiate_labels 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 instantiate_labels 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... | Takes an iterable of instructions which may contain label placeholders and assigns
them all defined values.
:return: list of instructions with all label placeholders assigned to real labels. | "Takes an iterable of instructions which may contain label placeholders and assigns\n them all defined values.\n\n :return: list of instructions with all label placeholders assigned to real labels." | 1,152 | true | rigetti/pyquil | instantiate_labels | 142,516 | |
LDU_FT/rosenbrockc/fortpy/_deallocator | LDU_FT | [
"<BEGIN>\n## `setup_regex`",
"Sets up the patterns and compiled regex objects for parsing types.\n<END>",
"<BEGIN>\n## `parse_signature`",
"Parses the specified line as a new version of the signature for 'element'.",
" :arg statement: the string that has the new signature.\n :arg element: the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _deallocator API.
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 _deallocator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns the name of the subroutine in ftypes_dealloc.f90 that can
deallocate the array for this Ftype's pointer.
:arg ctype: the string c-type of the variable. | "Returns the name of the subroutine in ftypes_dealloc.f90 that can\n deallocate the array for this Ftype's pointer.\n\n :arg ctype: the string c-type of the variable." | 929 | false | rosenbrockc/fortpy | _deallocator | 142,517 | |
LDU_FT/RIPE-NCC/ripe-atlas-cousteau/clean_time | LDU_FT | [
"<BEGIN>\n## `update_get_params`",
"Update HTTP GET params with the given fields that user wants to fetch.\n<END>",
"<BEGIN>\n## `_fetch_meta_data`",
"Makes an API call to fetch meta data for the given probe and stores the raw data.\n<END>",
"<BEGIN>\n## `_populate_data`",
"Assing some probe's raw meta da... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Transform time field to datetime object if there is any. | "Transform time field to datetime object if there is any." | 62 | false | RIPE-NCC/ripe-atlas-cousteau | clean_time | 142,518 | |
LDU_FT/nsavch/python-xonotic-db/merge_cts_records | LDU_FT | [
"<BEGIN>\n## `parse_line`",
"Parse a line from database\n :param line: line to parse\n<END>",
"<BEGIN>\n## `save`",
"Write database to a file. If a file with the specified name exists it's backed up\n :param file_path: file path\n<END>",
"<BEGIN>\n## `filter`",
"Filter database key by patter... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_cts_records API.
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 merge_cts_records API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Merge all CTS records (including speed) of each player in crypto_idfp_list with records of crypto_idfp
:param crypto_idfp: Target player, who will now own all records of players in crypto_idfp_list
:param crypto_idfp_list: List of crypto_idfp
:return: | "Merge all CTS records (including speed) of each player in crypto_idfp_list with records of crypto_idfp\n :param crypto_idfp: Target player, who will now own all records of players in crypto_idfp_list\n :param crypto_idfp_list: List of crypto_idfp\n :return:" | 20 | false | nsavch/python-xonotic-db | merge_cts_records | 142,519 | |
LDU_FT/MycroftAI/mycroft-precise/vectors_from_fn | LDU_FT | [
"<BEGIN>\n## `load_precise_model`",
"Loads a Keras model from file, handling custom loss function\n<END>",
"<BEGIN>\n## `create_model`",
"Load or create a precise model",
" Args:\n model_name: Name of model\n params: Parameters used to create the model",
" Returns:\n model: Load... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vectors_from_fn API.
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 vectors_from_fn API.
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... | Run through a single background audio file, overlaying with wake words.
Generates (mfccs, target) where mfccs is a series of mfcc values and
target is a single integer classification of the target network output for that chunk | "Run through a single background audio file, overlaying with wake words.\n Generates (mfccs, target) where mfccs is a series of mfcc values and\n target is a single integer classification of the target network output for that chunk" | 79 | false | MycroftAI/mycroft-precise | vectors_from_fn | 142,520 | |
LDU_FT/aganezov/bg/merge_all_edges | LDU_FT | [
"<BEGIN>\n## `add_edge`",
"Adds a new edge to the current tree with specified characteristics",
" Forbids addition of an edge, if a parent node is not present\n Forbids addition of an edge, if a child node already exists",
" :param node1_name: name of the parent node, to which an edge sha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_all_edges API.
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 merge_all_edges API.
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... | Merges all edges in a current :class`BreakpointGraph` instance between same pairs of vertices into a single edge from a perspective of multi-color merging.
Iterates over all possible pairs of vertices in current :class:`BreakpointGraph` and merges all edges between respective pairs.
:return: ``None``,... | "Merges all edges in a current :class`BreakpointGraph` instance between same pairs of vertices into a single edge from a perspective of multi-color merging.\n\n Iterates over all possible pairs of vertices in current :class:`BreakpointGraph` and merges all edges between respective pairs.\n\n :return: ``No... | 226 | false | aganezov/bg | merge_all_edges | 142,521 | |
LDU_FT/MisterWil/abodepy/desc | LDU_FT | [
"<BEGIN>\n## `map_event_code`",
"Map a specific event_code to an event group.\n<END>",
"<BEGIN>\n## `desc`",
"Get a short description of the automation.\n<END>",
"<BEGIN>\n## `_get_numeric_status`",
"Extract the numeric value from the statuses object.\n<END>",
"<BEGIN>\n## `is_on`",
"Get sensor state.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the desc API.
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 desc API.
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... | Get a short description of the automation. | "Get a short description of the automation." | 53 | false | MisterWil/abodepy | desc | 142,522 | |
LDU_FT/SpamScope/mail-parser/headers | LDU_FT | [
"<BEGIN>\n## `sanitize`",
"NFC is the normalization form recommended by W3C.\n<END>",
"<BEGIN>\n## `ported_string`",
"Give as input raw data and output a str in Python 3\n and unicode in Python 2.",
" Args:\n raw_data: Python 2 str, Python 3 bytes or str to porting\n encoding: string giv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the headers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the headers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return only the headers as Python object | "Return only the headers as Python object" | 90 | false | SpamScope/mail-parser | headers | 142,523 | |
LDU_FT/horejsek/python-fastjsonschema/compile | LDU_FT | [
"<BEGIN>\n## `indent`",
"Decorator for allowing to use method as normal method or with\n context manager for auto-indenting code blocks.\n<END>",
"<BEGIN>\n## `resolve_path`",
"Return definition from path.\r",
" Path is unescaped according https://tools.ietf.org/html/rfc6901\n<END>",
"<BEGIN>\n## `r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile API.
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 compile API.
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... | Generates validation function for validating JSON schema passed in ``definition``.
Example:
.. code-block:: python
import fastjsonschema
validate = fastjsonschema.compile({'type': 'string'})
validate('hello')
This implementation support keyword ``default``:
.. code-block:: p... | "Generates validation function for validating JSON schema passed in ``definition``.\n Example:\n\n .. code-block:: python\n\n import fastjsonschema\n\n validate = fastjsonschema.compile({'type': 'string'})\n validate('hello')\n\n This implementation support keyword ``default``:\n\n .. c... | 157 | false | horejsek/python-fastjsonschema | compile | 142,524 | |
LDU_FT/Hironsan/anago/predict_proba | LDU_FT | [
"<BEGIN>\n## `download`",
"Download a trained weights, config and preprocessor.",
" Args:\n url (str): target url.\n<END>",
"<BEGIN>\n## `load_data_and_labels`",
"Loads data and label from a file.",
" Args:\n filename (str): path to the file.\n encoding (str): file encoding form... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict_proba API.
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 predict_proba API.
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... | Probability estimates.
The returned estimates for all classes are ordered by the
label of classes.
Args:
text : string, the input text.
Returns:
y : array-like, shape = [num_words, num_classes]
Returns the probability of the word for each class in t... | "Probability estimates.\n\n The returned estimates for all classes are ordered by the\n label of classes.\n\n Args:\n text : string, the input text.\n\n Returns:\n y : array-like, shape = [num_words, num_classes]\n Returns the probability of the word for each... | 98 | false | Hironsan/anago | predict_proba | 142,525 | |
LDU_FT/inveniosoftware/invenio-indexer/_bulk_op | LDU_FT | [
"<BEGIN>\n## `index`",
"Index a record.",
" The caller is responsible for ensuring that the record has already been\n committed to the database. If a newer version of a record has already\n been indexed then the provided record will not be indexed. This\n behavior can be controlled b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _bulk_op API.
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 _bulk_op API.
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... | Index record in Elasticsearch asynchronously.
:param record_id_iterator: Iterator that yields record UUIDs.
:param op_type: Indexing operation (one of ``index``, ``create``,
``delete`` or ``update``).
:param index: The Elasticsearch index. (Default: ``None``)
:param doc_type... | "Index record in Elasticsearch asynchronously.\n\n :param record_id_iterator: Iterator that yields record UUIDs.\n :param op_type: Indexing operation (one of ``index``, ``create``,\n ``delete`` or ``update``).\n :param index: The Elasticsearch index. (Default: ``None``)\n :param d... | 37 | false | inveniosoftware/invenio-indexer | _bulk_op | 142,526 | |
LDU_FT/Pixelapse/pyglass/split_pdf | LDU_FT | [
"<BEGIN>\n## `embedded_preview`",
"Returns path to temporary copy of embedded QuickLook preview, if it exists\n<END>",
"<BEGIN>\n## `thumbnail_preview`",
"Returns the path to small thumbnail preview.\n<END>",
"<BEGIN>\n## `export_cmd`",
"Executes a `sketchtool export` command and returns formatted output"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_pdf API.
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 split_pdf API.
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... | Splits a multi-page pdf into a list of single page pdfs | "Splits a multi-page pdf into a list of single page pdfs" | 33 | false | Pixelapse/pyglass | split_pdf | 142,527 | |
LDU_FT/zulily/pudl/group | LDU_FT | [
"<BEGIN>\n## `group`",
"Produces a single, populated ADGroup object through the object factory.\n Does not populate attributes for the caller instance.",
" sAMAccountName may not be present in group objects in modern AD schemas.\n Searching by common name and object class (group) may be an ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the group API.
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 group API.
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... | Produces a single, populated ADGroup object through the object factory.
Does not populate attributes for the caller instance.
sAMAccountName may not be present in group objects in modern AD schemas.
Searching by common name and object class (group) may be an alternative
approach if requ... | "Produces a single, populated ADGroup object through the object factory.\n Does not populate attributes for the caller instance.\n\n sAMAccountName may not be present in group objects in modern AD schemas.\n Searching by common name and object class (group) may be an alternative\n approach i... | 61 | false | zulily/pudl | group | 142,528 | |
LDU_FT/pirate/mesh-networking/_generate_MAC | LDU_FT | [
"<BEGIN>\n## `_generate_MAC`",
"generate a non-guaranteed-unique mac address\n<END>",
"<BEGIN>\n## `run`",
"runloop that gets triggered by node.start()\n reads new packets off the link and feeds them to recv()\n<END>",
"<BEGIN>\n## `recv`",
"run incoming packet through the filters, then place it in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_MAC API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_MAC API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | generate a non-guaranteed-unique mac address | "generate a non-guaranteed-unique mac address" | 44 | false | pirate/mesh-networking | _generate_MAC | 142,529 | |
LDU_FT/pyros-dev/pyzmp/start | LDU_FT | [
"<BEGIN>\n## `discover`",
"discovers a service. If timeout is specified, waits for at least minimum_providers service instance to be available.\n Note : we do not want to make the discovery block undefinitely since we never know for sure if a service is running or not\n TODO : improve with future...... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API.
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 start API.
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... | Start child process
:param timeout: the maximum time to wait for child process to report it has actually started.
None waits until the context manager has been entered, but update might not have been called yet. | "Start child process\n :param timeout: the maximum time to wait for child process to report it has actually started.\n None waits until the context manager has been entered, but update might not have been called yet." | 19 | false | pyros-dev/pyzmp | start | 142,530 | |
LDU_FT/edx/bok-choy/attrs | LDU_FT | [
"<BEGIN>\n## `wait_for_js`",
"Method decorator that waits for JavaScript dependencies before executing `function`.\n If the function is not a method, the decorator has no effect.",
" Args:\n function (callable): Method to decorate.",
" Returns:\n Decorated method\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attrs API.
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 attrs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Retrieve HTML attribute values from the elements matched by the query.
Example usage:
.. code:: python
# Assume that the query matches html elements:
# <div class="foo"> and <div class="bar">
>> q.attrs('class')
['foo', 'bar']
Args:
... | "Retrieve HTML attribute values from the elements matched by the query.\n\n Example usage:\n\n .. code:: python\n\n # Assume that the query matches html elements:\n # <div class=\"foo\"> and <div class=\"bar\">\n >> q.attrs('class')\n ['foo', 'bar']\n\n A... | 254 | false | edx/bok-choy | attrs | 142,531 | |
LDU_FT/prompt-toolkit/pymux/remove_custom_binding | LDU_FT | [
"<BEGIN>\n## `read_message_from_pipe`",
"(coroutine)\n Read message from this pipe. Return text.\n<END>",
"<BEGIN>\n## `read_message_bytes_from_pipe`",
"(coroutine)\n Read message from this pipe. Return bytes.\n<END>",
"<BEGIN>\n## `wait_for_event`",
"Wraps a win32 event into a `Future` and wait for... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_custom_binding 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 remove_custom_binding API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Remove custom key binding for a key.
:param key_name: Pymux key name, for instance "C-A". | "Remove custom key binding for a key.\n\n :param key_name: Pymux key name, for instance \"C-A\"." | 147 | false | prompt-toolkit/pymux | remove_custom_binding | 142,532 | |
LDU_FT/whiteclover/dbpy/cursor | LDU_FT | [
"<BEGIN>\n## `compile`",
"Building the sql expression",
" :param db: the database instance\n<END>",
"<BEGIN>\n## `find`",
"Find and load the user from database by uid(user id)\n<END>",
"<BEGIN>\n## `find_by_username`",
"Return user by username if find in database otherwise None\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cursor API.
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 cursor API.
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 ... | Gets the cursor by type , if ``as_dict is ture, make a dict sql connection cursor | "Gets the cursor by type , if ``as_dict is ture, make a dict sql connection cursor" | 41 | false | whiteclover/dbpy | cursor | 142,533 | |
LDU_FT/buriburisuri/sugartensor/sg_regularizer_loss | LDU_FT | [
"<BEGIN>\n## `constant`",
"r\"\"\"Creates a tensor variable of which initial values are `value` and shape is `shape`.",
" Args:\n name: The name of new variable.\n shape: A tuple/list of integers or an integer. \n If shape is an integer, it is converted to a list.\n value: A Python scal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sg_regularizer_loss 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 sg_regularizer_loss 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... | r""" Get regularizer losss
Args:
scale: A scalar. A weight applied to regularizer loss | "r\"\"\" Get regularizer losss\n\n Args:\n scale: A scalar. A weight applied to regularizer loss" | 399 | false | buriburisuri/sugartensor | sg_regularizer_loss | 142,534 | |
LDU_FT/GPflow/GPflow/update_optimiser | LDU_FT | [
"<BEGIN>\n## `multivariate_normal`",
"Computes the log-density of a multivariate normal.\n :param x : Dx1 or DxN sample(s) for which we want the density\n :param mu : Dx1 or DxN mean(s) of the normal distribution\n :param L : DxD Cholesky decomposition of the covariance matrix\n :return p : (1,) or ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_optimiser API.
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 update_optimiser API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Writes optimiser state into corresponding TensorFlow variables. This may need to be done
for optimisers like ScipyOptimiser that work with their own copies of the variables.
Normally the source variables would be updated only when the optimiser has finished the
minimisation. This function may be called from... | "Writes optimiser state into corresponding TensorFlow variables. This may need to be done\n for optimisers like ScipyOptimiser that work with their own copies of the variables.\n Normally the source variables would be updated only when the optimiser has finished the\n minimisation. This function may be called ... | 589 | false | GPflow/GPflow | update_optimiser | 142,535 | |
LDU_FT/MatiasSM/fcb/delete_unverified_uploads | LDU_FT | [
"<BEGIN>\n## `delete_unverified_uploads`",
":param destinations: list of Destination.destination",
" For each Destination.destination:\n Deletes all FilesDestinations where the destination is not verified\n Deletes each FilesContainer in the deleted FilesDestinations if not present in a non del... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_unverified_uploads 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 delete_unverified_uploads API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | :param destinations: list of Destination.destination
For each Destination.destination:
Deletes all FilesDestinations where the destination is not verified
Deletes each FilesContainer in the deleted FilesDestinations if not present in a non deleted FilesDestinations
Deletes each FileFragment... | ":param destinations: list of Destination.destination\n\n For each Destination.destination:\n Deletes all FilesDestinations where the destination is not verified\n Deletes each FilesContainer in the deleted FilesDestinations if not present in a non deleted FilesDestinations\n Deletes each FileFr... | 42 | false | MatiasSM/fcb | delete_unverified_uploads | 142,536 | |
LDU_FT/shmir/PyIxNetwork/add | LDU_FT | [
"<BEGIN>\n## `reserve`",
"Reserve port and optionally wait for port to come up.",
" :param location: port location as 'ip/module/port'. If None, the location will be taken from the configuration.\n :param force: whether to revoke existing reservation (True) or not (False).\n :param wait_for... | 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... | IXN API add command
@param parent: object parent - object will be created under this parent.
@param object_type: object type.
@param attributes: additional attributes.
@return: IXN object reference. | "IXN API add command\n\n @param parent: object parent - object will be created under this parent.\n @param object_type: object type.\n @param attributes: additional attributes.\n @return: IXN object reference." | 64 | false | shmir/PyIxNetwork | add | 142,537 | |
LDU_FT/h2oai/datatable/normalize_slice | LDU_FT | [
"<BEGIN>\n## `_parse_row`",
"Scan a single row from an Excel file, and return the list of ranges\n corresponding to each consecutive span of non-empty cells in this row.\n If all cells are empty, return an empty list. Each \"range\" in the list\n is a tuple of the form `(startcol, endcol)`.",
" For ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_slice API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_slice API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Return the slice tuple normalized for an ``n``-element object.
:param e: a slice object representing a selector
:param n: number of elements in a sequence to which ``e`` is applied
:returns: tuple ``(start, count, step)`` derived from ``e``. | "Return the slice tuple normalized for an ``n``-element object.\n\n :param e: a slice object representing a selector\n :param n: number of elements in a sequence to which ``e`` is applied\n :returns: tuple ``(start, count, step)`` derived from ``e``." | 49 | false | h2oai/datatable | normalize_slice | 142,538 | |
LDU_FT/podio/podio-py/get_size | LDU_FT | [
"<BEGIN>\n## `AuthorizingClient`",
"Creates a Podio client using an auth object.\n<END>",
"<BEGIN>\n## `encode_and_quote`",
"If ``data`` is unicode, return urllib.quote_plus(data.encode(\"utf-8\"))\n otherwise return urllib.quote_plus(data)\n<END>",
"<BEGIN>\n## `_strify`",
"If s is a unicode string, e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_size API.
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_size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns the size in bytes that this param will be when encoded
with the given boundary. | "Returns the size in bytes that this param will be when encoded\n with the given boundary." | 82 | false | podio/podio-py | get_size | 142,539 | |
LDU_FT/a10networks/a10-neutron-lbaas/_delete | LDU_FT | [
"<BEGIN>\n## `create_a10_device_instance`",
"Attempt to create instance using neutron context\n<END>",
"<BEGIN>\n## `vport_meta`",
"Get the vport meta, no matter which name was used\n<END>",
"<BEGIN>\n## `apply_template`",
"Applies every callable in any Mapping or Iterable\n<END>",
"<BEGIN>\n## `initial... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Delete a healthmonitor and ALL its pool associations | "Delete a healthmonitor and ALL its pool associations" | 20 | false | a10networks/a10-neutron-lbaas | _delete | 142,540 | |
LDU_FT/chbrown/argv/parse | LDU_FT | [
"<BEGIN>\n## `peek`",
"Returns `default` is there is no subsequent item\n<END>",
"<BEGIN>\n## `add`",
"Add an argument; this is optional, and mostly useful for setting up aliases or setting boolean=True",
" Apparently `def add(self, *matches, default=None, boolean=False):` is invalid syntax in Python... | 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... | Parse a list of arguments, returning a dict
See BooleanParser.parse for `args`-related documentation.
If `complete` is True and there are values in `args` that don't have corresponding arguments,
or there are required arguments that don't have args, then raise an error. | "Parse a list of arguments, returning a dict\n\n See BooleanParser.parse for `args`-related documentation.\n\n If `complete` is True and there are values in `args` that don't have corresponding arguments,\n or there are required arguments that don't have args, then raise an error." | 23 | false | chbrown/argv | parse | 142,541 | |
LDU_FT/bitcraft/PyTMX/pyglet_image_loader | LDU_FT | [
"<BEGIN>\n## `default_image_loader`",
"This default image loader just returns filename, rect, and any flags\n<END>",
"<BEGIN>\n## `decode_gid`",
"Decode a GID from TMX data",
" as of 0.7.0 it determines if the tile should be flipped when rendered\n as of 0.8.0 bit 30 determines if GID is rotated",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pyglet_image_loader 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 pyglet_image_loader 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... | basic image loading with pyglet
returns pyglet Images, not textures
This is a basic proof-of-concept and is likely to fail in some situations.
Missing:
Transparency
Tile Rotation
This is slow as well. | "basic image loading with pyglet\n\n returns pyglet Images, not textures\n\n This is a basic proof-of-concept and is likely to fail in some situations.\n\n Missing:\n Transparency\n Tile Rotation\n\n This is slow as well." | 134 | false | bitcraft/PyTMX | pyglet_image_loader | 142,542 | |
LDU_FT/darothen/xbpch/skipline | LDU_FT | [
"<BEGIN>\n## `from_model`",
"Define a grid using the specifications of a given model.",
" Parameters\n ----------\n model_name : string\n Name the model (see :func:`get_supported_models` for available\n model names).\n Supports multiple formats (e.g., 'GEOS5... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the skipline API.
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 skipline API.
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... | Skip the next line and returns position and size of line.
Raises IOError if pre- and suffix of line do not match. | "Skip the next line and returns position and size of line.\n Raises IOError if pre- and suffix of line do not match." | 122 | false | darothen/xbpch | skipline | 142,543 | |
LDU_FT/figo-connect/schwifty/formatted | LDU_FT | [
"<BEGIN>\n## `from_bank_code`",
"Create a new BIC object from country- and bank-code.",
" Examples:\n >>> bic = BIC.from_bank_code('DE', '20070000')\n >>> bic.country_code\n 'DE'\n >>> bic.bank_code\n 'DEUT'\n >>> bic.location_code\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the formatted API.
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 formatted API.
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... | str: The BIC separated in the blocks bank-, country- and location-code. | "str: The BIC separated in the blocks bank-, country- and location-code." | 25 | false | figo-connect/schwifty | formatted | 142,544 | |
LDU_FT/rndusr/torf/assert_type | LDU_FT | [
"<BEGIN>\n## `files`",
"Yield relative file paths specified in :attr:`metainfo`",
" Each paths starts with :attr:`name`.",
" Note that the paths may not exist. See :attr:`filepaths` for existing\n files.\n<END>",
"<BEGIN>\n## `filepaths`",
"Yield absolute paths to existing files in :a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assert_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assert_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Raise MetainfoError is not of a particular type
lst_or_dct: list or dict instance
keys: Sequence of keys so that `lst_or_dct[key[0]][key[1]]...` resolves to a
value
exp_types: Sequence of types that the value specified by `keys` must be an
instance of
must_exist: Whether to rai... | "Raise MetainfoError is not of a particular type\n\n lst_or_dct: list or dict instance\n keys: Sequence of keys so that `lst_or_dct[key[0]][key[1]]...` resolves to a\n value\n exp_types: Sequence of types that the value specified by `keys` must be an\n instance of\n must_exist: Whethe... | 89 | false | rndusr/torf | assert_type | 142,545 | |
LDU_FT/gristlabs/asttokens/walk | LDU_FT | [
"<BEGIN>\n## `get_token_from_offset`",
"Returns the token containing the given character offset (0-based position in source text),\n or the preceeding token if the position is between tokens.\n<END>",
"<BEGIN>\n## `get_token`",
"Returns the token containing the given (lineno, col_offset) position, or the p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the walk API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the walk API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Recursively yield all descendant nodes in the tree starting at ``node`` (including ``node``
itself), using depth-first pre-order traversal (yieling parents before their children).
This is similar to ``ast.walk()``, but with a different order, and it works for both ``ast`` and
``astroid`` trees. Also, as ``iter_c... | "Recursively yield all descendant nodes in the tree starting at ``node`` (including ``node``\n itself), using depth-first pre-order traversal (yieling parents before their children).\n\n This is similar to ``ast.walk()``, but with a different order, and it works for both ``ast`` and\n ``astroid`` trees. Also, as ``i... | 46 | false | gristlabs/asttokens | walk | 142,546 | |
LDU_FT/thespacedoctor/qubits/random_host_extinction | LDU_FT | [
"<BEGIN>\n## `setup`",
"*setup the workspace in the requested location*",
" **Return:**\n - ``None``\n<END>",
"<BEGIN>\n## `random_redshift_array`",
"*Generate a NumPy array of random distances given a sample number and distance limit*",
" **Key Arguments:**\n - ``log`` -- logg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_host_extinction 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 random_host_extinction API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | *Generate a Numpy array of random host extinctions*
**Key Arguments:**
- ``log`` -- logger
- ``sampleNumber`` -- the sample number, i.e. array size
- ``extinctionType`` -- constant or random?
- ``extinctionConstant`` -- the constant value (when extinctionType is constant)
- ... | "*Generate a Numpy array of random host extinctions*\n\n **Key Arguments:**\n - ``log`` -- logger\n - ``sampleNumber`` -- the sample number, i.e. array size\n - ``extinctionType`` -- constant or random?\n - ``extinctionConstant`` -- the constant value (when extinctionType is constant)\n ... | 152 | false | thespacedoctor/qubits | random_host_extinction | 142,547 | |
LDU_FT/idlesign/torrentool/decode | LDU_FT | [
"<BEGIN>\n## `info`",
"Print out information from .torrent file.\n<END>",
"<BEGIN>\n## `create`",
"Create torrent file from a single file or a directory.\n<END>",
"<BEGIN>\n## `files`",
"Files in torrent.",
" List of namedtuples (filepath, size).",
" :rtype: list[TorrentFile]\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Decodes bencoded data introduced as bytes.
Returns decoded structure(s).
:param bytes encoded: | "Decodes bencoded data introduced as bytes.\n\n Returns decoded structure(s).\n\n :param bytes encoded:" | 52 | false | idlesign/torrentool | decode | 142,548 | |
LDU_FT/dagwieers/vmguestlib/GetSessionId | LDU_FT | [
"<BEGIN>\n## `OpenHandle`",
"Gets a handle for use with other vSphere Guest API functions. The guest library\n handle provides a context for accessing information about the virtual machine.",
" Virtual machine statistics and state data are associated with a particular guest library\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetSessionId API.
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 GetSessionId API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Retrieves the VMSessionID for the current session. Call this function after calling
VMGuestLib_UpdateInfo. If VMGuestLib_UpdateInfo has never been called,
VMGuestLib_GetSessionId returns VMGUESTLIB_ERROR_NO_INFO. | "Retrieves the VMSessionID for the current session. Call this function after calling\n VMGuestLib_UpdateInfo. If VMGuestLib_UpdateInfo has never been called,\n VMGuestLib_GetSessionId returns VMGUESTLIB_ERROR_NO_INFO." | 50 | false | dagwieers/vmguestlib | GetSessionId | 142,549 | |
LDU_FT/aburrell/apexpy/gc2gdlat | LDU_FT | [
"<BEGIN>\n## `checklat`",
"Makes sure the latitude is inside [-90, 90], clipping close values\n (tolerance 1e-4).",
" Parameters\n ==========\n lat : array_like\n latitude\n name : str, optional\n parameter name to use in the exception message",
" Returns\n =======\n lat ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gc2gdlat API.
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 gc2gdlat API.
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... | Converts geocentric latitude to geodetic latitude using WGS84.
Parameters
==========
gclat : array_like
Geocentric latitude
Returns
=======
gdlat : ndarray or float
Geodetic latitude | "Converts geocentric latitude to geodetic latitude using WGS84.\n\n Parameters\n ==========\n gclat : array_like\n Geocentric latitude\n\n Returns\n =======\n gdlat : ndarray or float\n Geodetic latitude" | 120 | false | aburrell/apexpy | gc2gdlat | 142,550 | |
LDU_FT/treyhunner/django-simple-history/get_history_user | LDU_FT | [
"<BEGIN>\n## `register`",
"Create historical model for `model` and attach history manager to `model`.",
" Keyword arguments:\n app -- App to install historical model into (defaults to model.__module__)\n manager_name -- class attribute name to use for historical manager\n records_class -- class to u... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_history_user API.
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_history_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Get the modifying user from instance or middleware. | "Get the modifying user from instance or middleware." | 36 | false | treyhunner/django-simple-history | get_history_user | 142,551 | |
LDU_FT/divio/django-filer/owner_search_fields | LDU_FT | [
"<BEGIN>\n## `get_deleted_objects`",
"Find all objects related to ``objs`` that should also be deleted. ``objs``\n must be a homogeneous iterable of objects (e.g. a QuerySet).\n Returns a nested list of strings suitable for display in the\n template with the ``unordered_list`` filter.\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the owner_search_fields 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 owner_search_fields 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... | Returns all the fields that are CharFields except for password from the
User model. For the built-in User model, that means username,
first_name, last_name, and email. | "Returns all the fields that are CharFields except for password from the\n User model. For the built-in User model, that means username,\n first_name, last_name, and email." | 80 | false | divio/django-filer | owner_search_fields | 142,552 | |
LDU_FT/CenturyLinkCloud/clc-python-sdk/Search | LDU_FT | [
"<BEGIN>\n## `SetCredentials`",
"Establish API username and password associated with APIv2 commands.\n<END>",
"<BEGIN>\n## `get_session`",
"Start a session with the given parameters",
"\tUse instead of SetCredentials if you need a session object to avoid the use of global credentials.",
"\tReturns a sessi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Search template list by providing partial name, ID, or other key. | "Search template list by providing partial name, ID, or other key." | 402 | false | CenturyLinkCloud/clc-python-sdk | Search | 142,553 | |
LDU_FT/taskcluster/taskcluster-client.py/_constructUrl | LDU_FT | [
"<BEGIN>\n## `ping`",
"Ping Server",
" Respond without doing anything.\n This endpoint is used to check that the service is up.",
" This method is ``stable``\n<END>",
"<BEGIN>\n## `githubWebHookConsumer`",
"Consume GitHub WebHook",
" Capture a GitHub event and publish it via ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _constructUrl API.
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 _constructUrl API.
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... | Construct a URL for the given route on this service, based on the
rootUrl | "Construct a URL for the given route on this service, based on the\n rootUrl" | 997 | false | taskcluster/taskcluster-client.py | _constructUrl | 142,554 | |
LDU_FT/etal/biofrills/aa_frequencies | LDU_FT | [
"<BEGIN>\n## `read_logodata`",
"Get weblogo data for a sequence alignment.",
" Returns a list of tuples: (posn, letter_counts, entropy, weight)\n<END>",
"<BEGIN>\n## `aln2logodata`",
"Get weblogo data for an alignment object.",
" Returns a list of tuples: (posn, letter_counts, entropy, weight)\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aa_frequencies API.
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 aa_frequencies API.
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... | Frequency of each residue type in an alignment.
Alignment is a MultipleSeqAlignment or iterable of SeqRecords. | "Frequency of each residue type in an alignment.\n\n Alignment is a MultipleSeqAlignment or iterable of SeqRecords." | 81 | false | etal/biofrills | aa_frequencies | 142,555 | |
LDU_FT/combust/mleap/serialize_tree | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit label encoder",
" Parameters\n ----------\n y : array-like of shape (n_samples,)\n Target values.",
" Returns\n -------\n self : returns an instance of self.\n<END>",
"<BEGIN>\n## `fit_transform`",
"Fit label encoder and return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize_tree API.
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 serialize_tree API.
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... | :type feature_names: list
:type tree: sklearn.tree.tree.BaseDecisionTree
:param tree: sklearn.tree.tree
:param feature_names:
:return: | ":type feature_names: list\n :type tree: sklearn.tree.tree.BaseDecisionTree\n :param tree: sklearn.tree.tree\n :param feature_names:\n :return:" | 34 | false | combust/mleap | serialize_tree | 142,556 | |
LDU_FT/rapidpro/expressions/read_digits | LDU_FT | [
"<BEGIN>\n## `_read_requirements`",
"Returns a list of package requirements read from the file.\n<END>",
"<BEGIN>\n## `field`",
"Reference a field in string separated by a delimiter\n<END>",
"<BEGIN>\n## `epoch`",
"Converts the given date to the number of seconds since January 1st, 1970 UTC\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_digits API.
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 read_digits API.
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... | Formats digits in text for reading in TTS | "Formats digits in text for reading in TTS" | 124 | false | rapidpro/expressions | read_digits | 142,557 | |
LDU_FT/ergoithz/browsepy/_resolve_widget | LDU_FT | [
"<BEGIN>\n## `defaultsnamedtuple`",
"Generate namedtuple with default values.",
" :param name: name\n :param fields: iterable with field names\n :param defaults: iterable or mapping with field defaults\n :returns: defaultdict with given fields and given defaults\n :rtype: collections.defaultdict\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _resolve_widget API.
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 _resolve_widget API.
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... | Resolve widget callable properties into static ones.
:param file: file will be used to resolve callable properties.
:type file: browsepy.file.Node
:param widget: widget instance optionally with callable properties
:type widget: object
:returns: a new widget instance of the same ... | "Resolve widget callable properties into static ones.\n\n :param file: file will be used to resolve callable properties.\n :type file: browsepy.file.Node\n :param widget: widget instance optionally with callable properties\n :type widget: object\n :returns: a new widget instance of th... | 207 | false | ergoithz/browsepy | _resolve_widget | 142,558 | |
LDU_FT/ND-CSE-30151/tock/is_contextfree | LDU_FT | [
"<BEGIN>\n## `match`",
"Returns true iff self (as a pattern) matches other (as a\n configuration). Note that this is asymmetric: other is allowed\n to have symbols that aren't found in self.\n<END>",
"<BEGIN>\n## `has_cell`",
"Tests whether store `s` is a cell, that is, it uses exactly one\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_contextfree API.
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 is_contextfree API.
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 True iff the grammar is context-free. | "Returns True iff the grammar is context-free." | 38 | false | ND-CSE-30151/tock | is_contextfree | 142,559 | |
LDU_FT/owncloud/pyocclient/get_config | LDU_FT | [
"<BEGIN>\n## `get_expiration`",
"Returns the expiration date.",
" :returns: expiration date\n :rtype: datetime object\n<END>",
"<BEGIN>\n## `login`",
"Authenticate to ownCloud.\n This will create a session on the server.",
" :param user_id: user id\n :param password: pas... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Returns ownCloud config information
:returns: array of tuples (key, value) for each information
e.g. [('version', '1.7'), ('website', 'ownCloud'), ('host', 'cloud.example.com'),
('contact', ''), ('ssl', 'false')]
:raises: HTTPResponseError in case an HTTP error status was returne... | "Returns ownCloud config information\n :returns: array of tuples (key, value) for each information\n e.g. [('version', '1.7'), ('website', 'ownCloud'), ('host', 'cloud.example.com'),\n ('contact', ''), ('ssl', 'false')]\n :raises: HTTPResponseError in case an HTTP error status was re... | 139 | false | owncloud/pyocclient | get_config | 142,560 | |
LDU_FT/berkerpeksag/astor/add_parens | LDU_FT | [
"<BEGIN>\n## `convert`",
"Walk the srctree, and convert/copy all python files\n into the dsttree\n<END>",
"<BEGIN>\n## `split_lines`",
"Split inputs according to lines.\n If a line is short enough, just yield it.\n Otherwise, fix it.\n<END>",
"<BEGIN>\n## `wrap_line`",
"We have a line that ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_parens API.
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 add_parens API.
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... | Attempt to add parentheses around the line
in order to make it splittable. | "Attempt to add parentheses around the line\n in order to make it splittable." | 63 | false | berkerpeksag/astor | add_parens | 142,561 | |
LDU_FT/xzased/lvm2py/add_pv | LDU_FT | [
"<BEGIN>\n## `open`",
"Obtains the lvm, vg_t and lv_t handle. Usually you would never need to use this\n method unless you are doing operations using the ctypes function wrappers in\n conversion.py",
" *Raises:*",
" * HandleError\n<END>",
"<BEGIN>\n## `is_active`",
"Retur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_pv API.
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 add_pv API.
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 ... | Initializes a device as a physical volume and adds it to the volume group::
from lvm2py import *
lvm = LVM()
vg = lvm.get_vg("myvg", "w")
vg.add_pv("/dev/sdbX")
*Args:*
* device (str): An existing device.
*Raises:*
* Val... | "Initializes a device as a physical volume and adds it to the volume group::\n\n from lvm2py import *\n\n lvm = LVM()\n vg = lvm.get_vg(\"myvg\", \"w\")\n vg.add_pv(\"/dev/sdbX\")\n\n *Args:*\n\n * device (str): An existing device.\n\n *Raises:*\n... | 189 | false | xzased/lvm2py | add_pv | 142,562 | |
LDU_FT/marshallward/f90nml/write | LDU_FT | [
"<BEGIN>\n## `write`",
"Save a namelist to disk using either a file object or its file path.",
" File object usage:",
" >>> with open(nml_path, 'w') as nml_file:\n >>> f90nml.write(nml, nml_file)",
" File path usage:",
" >>> f90nml.write(nml, 'data.nml')",
" This function is equiva... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
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 write API.
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... | Save a namelist to disk using either a file object or its file path.
File object usage:
>>> with open(nml_path, 'w') as nml_file:
>>> f90nml.write(nml, nml_file)
File path usage:
>>> f90nml.write(nml, 'data.nml')
This function is equivalent to the ``write`` function of the ``Namelist``
... | "Save a namelist to disk using either a file object or its file path.\n\n File object usage:\n\n >>> with open(nml_path, 'w') as nml_file:\n >>> f90nml.write(nml, nml_file)\n\n File path usage:\n\n >>> f90nml.write(nml, 'data.nml')\n\n This function is equivalent to the ``write`` function of the `... | 98 | false | marshallward/f90nml | write | 142,563 | |
LDU_FT/blackecho/Deep-Learning-TensorFlow/corrupt_input | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit the model to the given data.",
" :param train_set: training data\n :param test_set: test data\n<END>",
"<BEGIN>\n## `_run_train_step`",
"Run a single training step.",
" :param data: input data\n :param mode: 'train' or 'test'.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the corrupt_input API.
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 corrupt_input API.
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... | Corrupt a fraction of data according to the chosen noise method.
:return: corrupted data | "Corrupt a fraction of data according to the chosen noise method.\n\n :return: corrupted data" | 284 | false | blackecho/Deep-Learning-TensorFlow | corrupt_input | 142,564 | |
LDU_FT/gamechanger/mongothon/unpack_scope | LDU_FT | [
"<BEGIN>\n## `register`",
"Registers the given function as a handler to be applied\n in response to the the given event.\n<END>",
"<BEGIN>\n## `apply`",
"Applies all middleware functions registered against the given\n event in order to the given document.\n<END>",
"<BEGIN>\n## `deregister`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unpack_scope API.
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 unpack_scope API.
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... | Unpacks the response from a scope function. The function should return
either a query, a query and a projection, or a query a projection and
an query options hash. | "Unpacks the response from a scope function. The function should return\n either a query, a query and a projection, or a query a projection and\n an query options hash." | 59 | false | gamechanger/mongothon | unpack_scope | 142,565 | |
LDU_FT/timothycrosley/isort/_add_formatted_imports | LDU_FT | [
"<BEGIN>\n## `iter_source_code`",
"Iterate over all Python source files defined in paths.\n<END>",
"<BEGIN>\n## `file_should_be_skipped`",
"Returns True if the file and/or folder should be skipped based on the passed in settings.\n<END>",
"<BEGIN>\n## `chdir`",
"Context manager for changing dir and restor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_formatted_imports API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_formatted_imports API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Adds the imports back to the file.
(at the index of the first import) sorted alphabetically and split between groups | "Adds the imports back to the file.\n\n (at the index of the first import) sorted alphabetically and split between groups" | 44 | false | timothycrosley/isort | _add_formatted_imports | 142,566 | |
LDU_FT/capnproto/pycapnp/localpath | LDU_FT | [
"<BEGIN>\n## `localpath`",
"construct an absolute path from a list relative to the root pycapnp directory\n<END>",
"<BEGIN>\n## `fetch_archive`",
"download an archive to a specific location\n<END>",
"<BEGIN>\n## `stage_platform_hpp`",
"stage platform.hpp into libcapnp sources",
" Tries ./configure fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the localpath API.
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 localpath API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | construct an absolute path from a list relative to the root pycapnp directory | "construct an absolute path from a list relative to the root pycapnp directory" | 44 | false | capnproto/pycapnp | localpath | 142,567 | |
LDU_FT/ThreshingFloor/libtf/_to_epoch | LDU_FT | [
"<BEGIN>\n## `_extract_features`",
"Extracts and sets the feature data from the log file necessary for a reduction\n<END>",
"<BEGIN>\n## `_extract_line_features`",
"Parse raw log lines and convert it to a dictionary with extracted features.\n<END>",
"<BEGIN>\n## `_analyze`",
"Decide which lines should be ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_epoch API.
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 _to_epoch API.
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... | Adds a year to the syslog timestamp because syslog doesn't use years
:param ts: The timestamp to add a year to
:return: Date/time string that includes a year | "Adds a year to the syslog timestamp because syslog doesn't use years\n\n :param ts: The timestamp to add a year to\n :return: Date/time string that includes a year" | 25 | false | ThreshingFloor/libtf | _to_epoch | 142,568 | |
LDU_FT/welbornprod/colr/run | LDU_FT | [
"<BEGIN>\n## `main`",
"Main entry point, expects doctopt arg dict as argd.\n<END>",
"<BEGIN>\n## `print_err`",
"A wrapper for print() that uses stderr by default.\n<END>",
"<BEGIN>\n## `walk_dir_animated`",
"Walk a directory, printing status updates along the way.\n<END>",
"<BEGIN>\n## `walk_dir_progres... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Runs the printer loop in a subprocess. This is called by
multiprocessing. | "Runs the printer loop in a subprocess. This is called by\n multiprocessing." | 316 | false | welbornprod/colr | run | 142,569 | |
LDU_FT/evansloan/sports.py/get_sport | LDU_FT | [
"<BEGIN>\n## `get_team`",
"Get extra info that pertains to a certain team.\n Info available to all teams:\n - name: Name of the team\n - seasons: Number of seasons played\n - record: Overall record\n - champs: Number of championships won\n - leaders: S... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sport API.
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_sport API.
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 live scores for all matches in a particular sport
:param sport: the sport being played
:type sport: string
:return: List containing Match objects
:rtype: list | "Get live scores for all matches in a particular sport\n\n :param sport: the sport being played\n :type sport: string\n :return: List containing Match objects\n :rtype: list" | 23 | false | evansloan/sports.py | get_sport | 142,570 | |
LDU_FT/jcrobak/parquet-python/read_rle | LDU_FT | [
"<BEGIN>\n## `_get_footer_size`",
"Read the footer size in bytes, which is serialized as little endian.\n<END>",
"<BEGIN>\n## `_read_footer`",
"Read the footer from the given file object and returns a FileMetaData object.",
" This method assumes that the fo references a valid parquet file.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_rle API.
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 read_rle API.
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... | Read a run-length encoded run from the given fo with the given header and bit_width.
The count is determined from the header and the width is used to grab the
value that's repeated. Yields the value repeated count times. | "Read a run-length encoded run from the given fo with the given header and bit_width.\n\n The count is determined from the header and the width is used to grab the\n value that's repeated. Yields the value repeated count times." | 71 | false | jcrobak/parquet-python | read_rle | 142,571 | |
LDU_FT/MartinThoma/mpu/round_down | LDU_FT | [
"<BEGIN>\n## `timing`",
"Measure the execution time of a function call and print the result.\n<END>",
"<BEGIN>\n## `deprecated`",
"Mark functions as deprecated.",
" It will result in a warning being emitted when the function is used.\n<END>",
"<BEGIN>\n## `get_currency`",
"Convert an identifier for a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the round_down API.
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 round_down API.
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... | Round a float down to decimal_places.
Parameters
----------
x : float
decimal_places : int
Returns
-------
rounded_float : float
Examples
--------
>>> round_down(1.23456, 3)
1.234
>>> round_down(1.23456, 2)
1.23 | "Round a float down to decimal_places.\n\n Parameters\n ----------\n x : float\n decimal_places : int\n\n Returns\n -------\n rounded_float : float\n\n Examples\n --------\n >>> round_down(1.23456, 3)\n 1.234\n >>> round_down(1.23456, 2)\n 1.23" | 255 | false | MartinThoma/mpu | round_down | 142,572 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.