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/arkottke/pysra/iter_thickness | LDU_FT | [
"<BEGIN>\n## `_calc_strain_ref`",
"Compute the reference strain using Equation (6).\n<END>",
"<BEGIN>\n## `_calc_mod_reduc`",
"Compute the shear modulus reduction using Equation (1).\n<END>",
"<BEGIN>\n## `_calc_damping`",
"Compute the damping ratio using Equation (16).\n<END>",
"<BEGIN>\n## `relative_e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_thickness API.
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 iter_thickness API.
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... | Iterate over the varied thicknesses.
The layering is generated using a non-homogenous Poisson process. The
following routine is used to generate the layering. The rate
function, :math:`\lambda(t)`, is integrated from 0 to t to generate
cumulative rate function, :math:`\Lambda(t)`. This ... | "Iterate over the varied thicknesses.\n\n The layering is generated using a non-homogenous Poisson process. The\n following routine is used to generate the layering. The rate\n function, :math:`\\lambda(t)`, is integrated from 0 to t to generate\n cumulative rate function, :math:`\\Lambda(t)... | 111 | false | arkottke/pysra | iter_thickness | 142,073 | |
LDU_FT/openpaperwork/paperwork-backend/remove_label | LDU_FT | [
"<BEGIN>\n## `examine_rootdir`",
"Examine the rootdir.\n Calls on_new_doc(doc), on_doc_modified(doc), on_doc_deleted(docid)\n every time a new, modified, or deleted document is found\n<END>",
"<BEGIN>\n## `reload_index`",
"Read the index, and load the document list from it",
" Arguments... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_label API.
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 remove_label API.
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... | Remove a label from a doc. Takes care of updating the index | "Remove a label from a doc. Takes care of updating the index" | 171 | false | openpaperwork/paperwork-backend | remove_label | 142,074 | |
LDU_FT/ECESeniorDesign/lazy_record/find_by | LDU_FT | [
"<BEGIN>\n## `does_not_mutate`",
"Prevents methods from mutating the receiver\n<END>",
"<BEGIN>\n## `find_by`",
"Find first record subject to restrictions in +kwargs+, raising\n RecordNotFound if no such record exists.\n<END>",
"<BEGIN>\n## `first`",
"Returns the first record in the query (sorting ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_by API.
Each 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 find_by API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Find first record subject to restrictions in +kwargs+, raising
RecordNotFound if no such record exists. | "Find first record subject to restrictions in +kwargs+, raising\n RecordNotFound if no such record exists." | 78 | false | ECESeniorDesign/lazy_record | find_by | 142,075 | |
LDU_FT/ethpm/py-ethpm/validate_single_matching_uri | LDU_FT | [
"<BEGIN>\n## `fetch_uri_contents`",
"Return content-addressed URI stored at registry URI.\n<END>",
"<BEGIN>\n## `pin_assets`",
"Return a dict containing the IPFS hash, file name, and size of a file.\n<END>",
"<BEGIN>\n## `create_content_addressed_github_uri`",
"Returns a content-addressed Github \"git_url... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_single_matching_uri API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_single_matching_uri API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Return a single block URI after validating that it is the *only* URI in
all_blockchain_uris that matches the w3 instance. | "Return a single block URI after validating that it is the *only* URI in\n all_blockchain_uris that matches the w3 instance." | 133 | false | ethpm/py-ethpm | validate_single_matching_uri | 142,076 | |
LDU_FT/wbond/csrbuilder/pem_armor_csr | LDU_FT | [
"<BEGIN>\n## `_writer`",
"Decorator for a custom writer, but a default reader\n<END>",
"<BEGIN>\n## `pem_armor_csr`",
"Encodes a CSR into PEM format",
" :param certification_request:\n An asn1crypto.csr.CertificationRequest object of the CSR to armor.\n Typically this is obtained from CSRBu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pem_armor_csr API.
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 pem_armor_csr API.
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... | Encodes a CSR into PEM format
:param certification_request:
An asn1crypto.csr.CertificationRequest object of the CSR to armor.
Typically this is obtained from CSRBuilder.build().
:return:
A byte string of the PEM-encoded CSR | "Encodes a CSR into PEM format\n\n :param certification_request:\n An asn1crypto.csr.CertificationRequest object of the CSR to armor.\n Typically this is obtained from CSRBuilder.build().\n\n :return:\n A byte string of the PEM-encoded CSR" | 43 | false | wbond/csrbuilder | pem_armor_csr | 142,077 | |
LDU_FT/mcocdawc/chemcoord/_insert_dummy_cart | LDU_FT | [
"<BEGIN>\n## `_check_construction_table`",
"Checks if a construction table uses valid references.\n Raises an exception (UndefinedCoordinateSystem) otherwise.\n<END>",
"<BEGIN>\n## `_get_frag_constr_table`",
"Create a construction table for a Zmatrix.",
" A construction table is basically a Zm... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _insert_dummy_cart 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 _insert_dummy_cart 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... | Insert dummy atom into the already built cartesian of exception | "Insert dummy atom into the already built cartesian of exception" | 503 | false | mcocdawc/chemcoord | _insert_dummy_cart | 142,078 | |
LDU_FT/tomer8007/kik-bot-api-unofficial/_kik_connection_thread_function | LDU_FT | [
"<BEGIN>\n## `_connect`",
"Runs the kik connection thread, which creates an encrypted (SSL based) TCP connection\n to the kik servers.\n<END>",
"<BEGIN>\n## `_on_connection_made`",
"Gets called when the TCP connection to kik's servers is done and we are connected.\n Now we might initiate a login... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _kik_connection_thread_function API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _kik_connection_thread_function API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | The Kik Connection thread main function.
Initiates the asyncio loop and actually connects. | "The Kik Connection thread main function.\n Initiates the asyncio loop and actually connects." | 96 | false | tomer8007/kik-bot-api-unofficial | _kik_connection_thread_function | 142,079 | |
LDU_FT/astorfi/speechpy/derivative_extraction | LDU_FT | [
"<BEGIN>\n## `preemphasis`",
"preemphasising on the signal.",
" Args:\n signal (array): The input signal.\n shift (int): The shift step.\n cof (float): The preemphasising coefficient. 0 equals to no filtering.",
" Returns:\n array: The pre-emphasized signal.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the derivative_extraction 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 derivative_extraction API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | This function the derivative features.
Args:
feat (array): The main feature vector(For returning the second
order derivative it can be first-order derivative).
DeltaWindows (int): The value of DeltaWindows is set using
the configuration parameter DELTAWINDOW.
Returns:... | "This function the derivative features.\n\n Args:\n feat (array): The main feature vector(For returning the second\n order derivative it can be first-order derivative).\n DeltaWindows (int): The value of DeltaWindows is set using\n the configuration parameter DELTAWINDOW.\n\n ... | 52 | false | astorfi/speechpy | derivative_extraction | 142,080 | |
LDU_FT/ivanprjcts/sdklib/set_default_proxy | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parse the given XML input and convert it into a dictionary.",
" `xml_input` can either be a `string` or a file-like object.",
" If `xml_attribs` is `True`, element attributes are put in the dictionary\n among regular child elements, using `@` as a prefix to avoid collisions. I... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_default_proxy API.
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 set_default_proxy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Default: None (no proxy)
A string that will be used to tell each request must be sent through this proxy server.
Use the scheme://hostname:port form.
If you need to use a proxy, you can configure individual requests with the proxies argument to any request
method. | "Default: None (no proxy)\n\n A string that will be used to tell each request must be sent through this proxy server.\n Use the scheme://hostname:port form.\n If you need to use a proxy, you can configure individual requests with the proxies argument to any request\n method." | 125 | false | ivanprjcts/sdklib | set_default_proxy | 142,081 | |
LDU_FT/theiviaxx/python-perforce/remove | LDU_FT | [
"<BEGIN>\n## `split_ls`",
"Decorator to split files into manageable chunks as not to exceed the windows cmd limit",
" :param func: Function to call for each chunk\n :type func: :py:class:Function\n<END>",
"<BEGIN>\n## `status`",
"The status of the connection to perforce\n<END>",
"<BEGIN>\n## `run`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Removes a revision from this changelist
:param rev: Revision to remove
:type rev: :class:`.Revision`
:param permanent: Whether or not we need to set the changelist to default
:type permanent: bool | "Removes a revision from this changelist\n\n :param rev: Revision to remove\n :type rev: :class:`.Revision`\n :param permanent: Whether or not we need to set the changelist to default\n :type permanent: bool" | 74 | false | theiviaxx/python-perforce | remove | 142,082 | |
LDU_FT/faucamp/python-gsmmodem/signalStrength | LDU_FT | [
"<BEGIN>\n## `status`",
"Status of this SMS. Can be ENROUTE, DELIVERED or FAILED",
" The actual status report object may be accessed via the 'report' attribute\n if status is 'DELIVERED' or 'FAILED'\n<END>",
"<BEGIN>\n## `connect`",
"Opens the port and initializes the modem and SIM card",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the signalStrength API.
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 signalStrength API.
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... | Checks the modem's cellular network signal strength
:raise CommandError: if an error occurs
:return: The network signal strength as an integer between 0 and 99, or -1 if it is unknown
:rtype: int | "Checks the modem's cellular network signal strength\n \n :raise CommandError: if an error occurs\n \n :return: The network signal strength as an integer between 0 and 99, or -1 if it is unknown\n :rtype: int" | 214 | false | faucamp/python-gsmmodem | signalStrength | 142,083 | |
LDU_FT/pmacosta/pcsv/dsort | LDU_FT | [
"<BEGIN>\n## `dsort`",
"r\"\"\"\n Sort file data.",
" :param fname: Name of the comma-separated values file to sort\n :type fname: FileNameExists_",
" :param order: Sort order\n :type order: :ref:`CsvColFilter`",
" :param has_header: Flag that indicates whether the comma-separated\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dsort API.
Each 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 dsort API.
Each 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... | r"""
Sort rows.
:param order: Sort order
:type order: :ref:`CsvColFilter`
.. [[[cog cog.out(exobj.get_sphinx_autodoc()) ]]]
.. Auto-generated exceptions documentation for
.. pcsv.csv_file.CsvFile.dsort
:raises:
* RuntimeError (Argument \`order\` is no... | "r\"\"\"\n Sort rows.\n\n :param order: Sort order\n :type order: :ref:`CsvColFilter`\n\n .. [[[cog cog.out(exobj.get_sphinx_autodoc()) ]]]\n .. Auto-generated exceptions documentation for\n .. pcsv.csv_file.CsvFile.dsort\n\n :raises:\n * RuntimeError (Argument ... | 171 | false | pmacosta/pcsv | dsort | 142,084 | |
LDU_FT/dadadel/pyment/_get_options | LDU_FT | [
"<BEGIN>\n## `isin_alone`",
"Check if an element from a list is the only element of a string.",
" :type elems: list\n :type line: str\n<END>",
"<BEGIN>\n## `isin_start`",
"Check if an element from a list starts a string.",
" :type elems: list\n :type line: str\n<END>",
"<BEGIN>\n## `isin`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Get the list of keywords for a particular style
:param style: the style that the keywords are wanted | "Get the list of keywords for a particular style\n\n :param style: the style that the keywords are wanted" | 165 | false | dadadel/pyment | _get_options | 142,085 | |
LDU_FT/obriencj/python-javatools/write_key_val | LDU_FT | [
"<BEGIN>\n## `compare`",
"yields EVENT,ENTRY pairs describing the differences between left\n and right, which are filenames for a pair of zip files\n<END>",
"<BEGIN>\n## `compare_zips`",
"yields EVENT,ENTRY pairs describing the differences between left\n and right ZipFile instances\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_key_val API.
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 write_key_val API.
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 MANIFEST specification limits the width of individual lines to
72 bytes (including the terminating newlines). Any key and value
pair that would be longer must be split up over multiple
continuing lines
:type key, val: str in Py3, str or unicode in Py2
:type stream: binary | "The MANIFEST specification limits the width of individual lines to\n 72 bytes (including the terminating newlines). Any key and value\n pair that would be longer must be split up over multiple\n continuing lines\n :type key, val: str in Py3, str or unicode in Py2\n :type stream: binary" | 357 | false | obriencj/python-javatools | write_key_val | 142,086 | |
LDU_FT/lawlesst/vivo-rdflib-sparqlstore/make_batch | LDU_FT | [
"<BEGIN>\n## `setQuery`",
"Set the SPARQL query text and set the VIVO custom\n authentication parameters.",
" Set here because this is called immediately before\n any query is sent to the triple store.\n<END>",
"<BEGIN>\n## `make_batch`",
"Split graphs into n sized chunks.\n See:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_batch API.
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 make_batch API.
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... | Split graphs into n sized chunks.
See: http://stackoverflow.com/a/1915307/758157
:param size: int
:param graph: graph
:return: graph | "Split graphs into n sized chunks.\n See: http://stackoverflow.com/a/1915307/758157\n\n :param size: int\n :param graph: graph\n :return: graph" | 16 | false | lawlesst/vivo-rdflib-sparqlstore | make_batch | 142,087 | |
LDU_FT/agile4you/SchemaFactory/bench_serpy | LDU_FT | [
"<BEGIN>\n## `bench_factory`",
"Benchmark for 1000 objects with 2 fields.\n<END>",
"<BEGIN>\n## `bench_voluptuous`",
"Benchmark for 1000 objects with 2 fields.\n<END>",
"<BEGIN>\n## `bench_serpy`",
"Beanchmark for 1000 objects with 2 fields.\n<END>",
"<BEGIN>\n## `is_valid`",
"Validate value before ac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bench_serpy API.
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 bench_serpy API.
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... | Beanchmark for 1000 objects with 2 fields. | "Beanchmark for 1000 objects with 2 fields." | 23 | false | agile4you/SchemaFactory | bench_serpy | 142,088 | |
LDU_FT/sbuss/pypercube/startswith | LDU_FT | [
"<BEGIN>\n## `eq`",
"An equals filter chain.",
" >>> request_time = EventExpression('request', 'elapsed_ms')\n >>> filtered = request_time.eq('path', '/')\n >>> print(filtered)\n request(elapsed_ms).eq(path, \"/\")\n<END>",
"<BEGIN>\n## `ne`",
"A not-equal filter chain.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the startswith API.
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 startswith API.
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... | A starts-with filter chain.
>>> request_time = EventExpression('request', 'elapsed_ms')
>>> filtered = request_time.startswith('path', '/cube')
>>> print(filtered)
request(elapsed_ms).re(path, "^/cube") | "A starts-with filter chain.\n\n >>> request_time = EventExpression('request', 'elapsed_ms')\n >>> filtered = request_time.startswith('path', '/cube')\n >>> print(filtered)\n request(elapsed_ms).re(path, \"^/cube\")" | 35 | false | sbuss/pypercube | startswith | 142,089 | |
LDU_FT/jwkvam/plotlywrapper/horizontal | LDU_FT | [
"<BEGIN>\n## `_detect_notebook`",
"Detect if code is running in a Jupyter Notebook.",
" This isn't 100% correct but seems good enough",
" Returns\n -------\n bool\n True if it detects this is a notebook, otherwise False.\n<END>",
"<BEGIN>\n## `_try_pydatetime`",
"Try to convert to panda... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the horizontal API.
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 horizontal API.
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... | Draws a horizontal line from `xmin` to `xmax`.
Parameters
----------
xmin : int, optional
xmax : int, optional
color : str, optional
width : number, optional
Returns
-------
Chart | "Draws a horizontal line from `xmin` to `xmax`.\n\n Parameters\n ----------\n xmin : int, optional\n xmax : int, optional\n color : str, optional\n width : number, optional\n\n Returns\n -------\n Chart" | 87 | false | jwkvam/plotlywrapper | horizontal | 142,090 | |
LDU_FT/viralogic/py-enumerable/max | LDU_FT | [
"<BEGIN>\n## `select`",
"Transforms data into different form\n :param func: lambda expression on how to perform transformation\n :return: new Enumerable object containing transformed data\n<END>",
"<BEGIN>\n## `min`",
"Returns the min value of data elements\n :param func: lambda expressio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the max API.
Each 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 max API.
Each 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... | Returns the max value of data elements
:param func: lambda expression to transform data
:return: maximum value | "Returns the max value of data elements\n :param func: lambda expression to transform data\n :return: maximum value" | 65 | false | viralogic/py-enumerable | max | 142,091 | |
LDU_FT/aaren/notedown/write_resources | LDU_FT | [
"<BEGIN>\n## `ftdetect`",
"Determine if filename is markdown or notebook,\n based on the file extension.\n<END>",
"<BEGIN>\n## `get_caption_comments`",
"Retrieve an id and a caption from a code cell.",
" If the code cell content begins with a commented\n block that looks like",
" ## fig:id\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_resources API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_resources API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Write the output data in resources returned by exporter
to files. | "Write the output data in resources returned by exporter\n to files." | 39 | false | aaren/notedown | write_resources | 142,092 | |
LDU_FT/getsentry/rb/target | LDU_FT | [
"<BEGIN>\n## `add_host`",
"Adds a new host to the cluster. This is only really useful for\n unittests as normally hosts are added through the constructor and\n changes after the cluster has been used for the first time are\n unlikely to make sense.\n<END>",
"<BEGIN>\n## `remove_host`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the target API.
Each 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 target API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Temporarily retarget the client for one call. This is useful
when having to deal with a subset of hosts for one call. | "Temporarily retarget the client for one call. This is useful\n when having to deal with a subset of hosts for one call." | 87 | false | getsentry/rb | target | 142,093 | |
LDU_FT/mattloper/chumpy/convert_inputs_to_sparse_if_necessary | LDU_FT | [
"<BEGIN>\n## `get_peak_mem`",
"this returns peak memory use since process starts till the moment its called\n<END>",
"<BEGIN>\n## `dfs_do_func_on_graph`",
"invoke func on each node of the dr graph\n<END>",
"<BEGIN>\n## `sparse_is_desireable`",
"Examines a pair of matrices and determines if the result of t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_inputs_to_sparse_if_necessary API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_inputs_to_sparse_if_necessary API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | This function checks to see if a sparse output is desireable given the inputs and if so, casts the inputs to sparse in order to make it so. | "This function checks to see if a sparse output is desireable given the inputs and if so, casts the inputs to sparse in order to make it so." | 30 | false | mattloper/chumpy | convert_inputs_to_sparse_if_necessary | 142,094 | |
LDU_FT/googleapis/gax-python/_canceller_for | LDU_FT | [
"<BEGIN>\n## `fill`",
"Add the metrics headers known to GAX.",
" Return an OrderedDict with all of the metrics headers provided to\n this function, as well as the metrics known to GAX (such as its own\n version, the GRPC version, etc.).\n<END>",
"<BEGIN>\n## `stringify`",
"Convert the provided metr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _canceller_for API.
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 _canceller_for API.
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... | Obtains a cancellation function that removes elts.
The returned cancellation function returns ``True`` if all elements
was removed successfully from the _in_deque, and false if it was not. | "Obtains a cancellation function that removes elts.\n\n The returned cancellation function returns ``True`` if all elements\n was removed successfully from the _in_deque, and false if it was not." | 161 | false | googleapis/gax-python | _canceller_for | 142,095 | |
LDU_FT/erijo/tellcore-py/devices | LDU_FT | [
"<BEGIN>\n## `tdSensor`",
"Get the next sensor while iterating.",
" :return: a dict with the keys: protocol, model, id, datatypes.\n<END>",
"<BEGIN>\n## `tdSensorValue`",
"Get the sensor value for a given sensor.",
" :return: a dict with the keys: value, timestamp.\n<END>",
"<BEGIN>\n## `t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the devices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the devices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return all known devices.
:return: list of :class:`Device` or :class:`DeviceGroup` instances. | "Return all known devices.\n\n :return: list of :class:`Device` or :class:`DeviceGroup` instances." | 34 | false | erijo/tellcore-py | devices | 142,096 | |
LDU_FT/facetoe/zenpy/show | LDU_FT | [
"<BEGIN>\n## `agents`",
"| Description: IDs of agents involved in the chat\n<END>",
"<BEGIN>\n## `department`",
"| Description: The ID of the department to which the chat is directed\n<END>",
"<BEGIN>\n## `zendesk_ticket`",
"| Description: The ID of the Zendesk Support ticket created from this chat. Av... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show API.
Each 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 show API.
Each 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... | Show a variant.
:param item: Item object or id
:param variant: Variant object or id
:return: | "Show a variant.\n\n :param item: Item object or id\n :param variant: Variant object or id\n :return:" | 321 | false | facetoe/zenpy | show | 142,097 | |
LDU_FT/aio-libs/yarl/with_query | LDU_FT | [
"<BEGIN>\n## `is_default_port`",
"A check for default port.",
" Return True if port is default for specified scheme,\n e.g. 'http://python.org' or 'http://python.org:80', False\n otherwise.\n<END>",
"<BEGIN>\n## `origin`",
"Return an URL with scheme, host and port parts only.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the with_query API.
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 with_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return a new URL with query part replaced.
Accepts any Mapping (e.g. dict, multidict.MultiDict instances)
or str, autoencode the argument if needed.
A sequence of (key, value) pairs is supported as well.
It also can take an arbitrary number of keyword arguments.
Clear query i... | "Return a new URL with query part replaced.\n\n Accepts any Mapping (e.g. dict, multidict.MultiDict instances)\n or str, autoencode the argument if needed.\n\n A sequence of (key, value) pairs is supported as well.\n\n It also can take an arbitrary number of keyword arguments.\n\n Cle... | 62 | false | aio-libs/yarl | with_query | 142,098 | |
LDU_FT/evyatarmeged/Raccoon/_extract_from_sans | LDU_FT | [
"<BEGIN>\n## `_extract_from_sans`",
"Looks for different TLDs as well as different sub-domains in SAN list\n<END>",
"<BEGIN>\n## `_detect_cms`",
"Detect CMS using whatcms.org.\n Has a re-try mechanism because false negatives may occur\n :param tries: Count of tries for CMS discovery\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_from_sans 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 _extract_from_sans 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... | Looks for different TLDs as well as different sub-domains in SAN list | "Looks for different TLDs as well as different sub-domains in SAN list" | 27 | false | evyatarmeged/Raccoon | _extract_from_sans | 142,099 | |
LDU_FT/python-bonobo/bonobo/create_reader | LDU_FT | [
"<BEGIN>\n## `run`",
"Main entry point of bonobo. It takes a graph and creates all the necessary plumbing around to execute it.",
" The only necessary argument is a :class:`Graph` instance, containing the logic you actually want to execute.",
" By default, this graph will be executed using the \"threadp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_reader API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_reader API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Create a reader instance, guessing its factory using filename (and eventually format).
:param name:
:param args:
:param format:
:param registry:
:param kwargs:
:return: mixed | "Create a reader instance, guessing its factory using filename (and eventually format).\n\n :param name:\n :param args:\n :param format:\n :param registry:\n :param kwargs:\n\n :return: mixed" | 140 | false | python-bonobo/bonobo | create_reader | 142,100 | |
LDU_FT/ARMmbed/icetea/_build_result_metainfo | LDU_FT | [
"<BEGIN>\n## `init_process_dut`",
"Initialize process type Dut as DutProcess or DutConsole.\n<END>",
"<BEGIN>\n## `allocate`",
"Allocates resources from available local devices.",
" :param dut_configuration_list: List of ResourceRequirements objects\n :param args: Not used\n :return: Al... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_result_metainfo 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 _build_result_metainfo API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Internal helper for collecting metadata from args to results | "Internal helper for collecting metadata from args to results" | 663 | false | ARMmbed/icetea | _build_result_metainfo | 142,101 | |
LDU_FT/jmbhughes/suvi-trainer/make_comparison_png | LDU_FT | [
"<BEGIN>\n## `process_file`",
"Open a single labeled image at path and get needed information, return as a dictionary\n<END>",
"<BEGIN>\n## `plot_counts`",
"plot the counts of a given theme from a created database over time\n<END>",
"<BEGIN>\n## `query_hek`",
"requests hek responses for a given time\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_comparison_png 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 make_comparison_png 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... | Creates a thematic map image with a three color beside it
:param outpath: if specified, will save the image instead of showing it
:param include_legend: if true will include the thamatic map label legend | "Creates a thematic map image with a three color beside it\n :param outpath: if specified, will save the image instead of showing it\n :param include_legend: if true will include the thamatic map label legend" | 90 | false | jmbhughes/suvi-trainer | make_comparison_png | 142,102 | |
LDU_FT/nuSTORM/gnomon/objwalk | LDU_FT | [
"<BEGIN>\n## `objwalk`",
"Traverse a dictionary recursively and save path",
" Taken from:\n http://code.activestate.com/recipes/577982-recursively-walk-python-objects/\n<END>",
"<BEGIN>\n## `lookup_cc_partner`",
"Lookup the charge current partner",
" Takes as an input neutrino nu_pid is a PDG c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the objwalk API.
Each 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 objwalk API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Traverse a dictionary recursively and save path
Taken from:
http://code.activestate.com/recipes/577982-recursively-walk-python-objects/ | "Traverse a dictionary recursively and save path\n\n Taken from:\n http://code.activestate.com/recipes/577982-recursively-walk-python-objects/" | 43 | false | nuSTORM/gnomon | objwalk | 142,103 | |
LDU_FT/danpoland/pyramid-restful-framework/replace_methodname | LDU_FT | [
"<BEGIN>\n## `parse_requested_expands`",
"Extracts the value of the expand query string parameter from a request.\n Supports comma separated lists.",
" :param query_key: The name query string parameter.\n :param request: Request instance.\n :return: List of strings representing the values of the exp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_methodname API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_methodname 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... | Partially format a format_string, swapping out any '{methodname}' or '{methodnamehyphen}' components. | "Partially format a format_string, swapping out any '{methodname}' or '{methodnamehyphen}' components." | 70 | false | danpoland/pyramid-restful-framework | replace_methodname | 142,104 | |
LDU_FT/ucsb-cs/submit/run | LDU_FT | [
"<BEGIN>\n## `compute_diff`",
"Associate the diff (if exists) with the TestCaseResult.",
" Return whether or not the outputs match.\n<END>",
"<BEGIN>\n## `json_exception`",
"Always return json content in the body of Exceptions to xhr requests.\n<END>",
"<BEGIN>\n## `merge_users`",
"Merge a non-umail ... | 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... | Return thing, but abort validation if request.user cannot edit. | "Return thing, but abort validation if request.user cannot edit." | 102 | false | ucsb-cs/submit | run | 142,105 | |
LDU_FT/brainiak/brainiak/prepare_mvpa_data | LDU_FT | [
"<BEGIN>\n## `_generate_feature`",
"Generate features corresponding to signal",
" Generate a single feature, that can be inserted into the signal volume.\n A feature is a region of activation with a specific shape such as cube\n or ring",
" Parameters\n ----------",
" feature_type : str\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare_mvpa_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare_mvpa_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Prepare data for activity-based model training and prediction.
Average the activity within epochs and z-scoring within subject.
Parameters
----------
images: Iterable[SpatialImage]
Data.
conditions: List[UniqueLabelConditionSpec]
Condition specification.
mask: np.ndarray
... | "Prepare data for activity-based model training and prediction.\n\n Average the activity within epochs and z-scoring within subject.\n\n Parameters\n ----------\n images: Iterable[SpatialImage]\n Data.\n conditions: List[UniqueLabelConditionSpec]\n Condition specification.\n mask: np.nda... | 1,513 | true | brainiak/brainiak | prepare_mvpa_data | 142,106 | |
LDU_FT/materialsvirtuallab/monty/cprint_map | LDU_FT | [
"<BEGIN>\n## `zopen`",
"This function wraps around the bz2, gzip and standard python's open\n function to deal intelligently with bzipped, gzipped or standard text\n files.",
" Args:\n filename (str/Path): filename or pathlib.Path.\n \\*args: Standard args for python open(..). E.g., 'r' f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cprint_map API.
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 cprint_map API.
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... | Print colorize text.
cmap is a dict mapping keys to color options.
kwargs are passed to print function
Example:
cprint_map("Hello world", {"Hello": "red"}) | "Print colorize text.\n cmap is a dict mapping keys to color options.\n kwargs are passed to print function\n\n Example:\n cprint_map(\"Hello world\", {\"Hello\": \"red\"})" | 238 | false | materialsvirtuallab/monty | cprint_map | 142,107 | |
LDU_FT/pavlin-policar/openTSNE/degree_prune | LDU_FT | [
"<BEGIN>\n## `has_c_library`",
"Check whether a C/C++ library is available on the system to the compiler.",
" Parameters\n ----------\n library: str\n The library we want to check for e.g. if we are interested in FFTW3, we\n want to check for `fftw3.h`, so this parameter will be `fftw3`.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the degree_prune API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the degree_prune API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Prune the k-neighbors graph back so that nodes have a maximum
degree of ``max_degree``.
Parameters
----------
graph: sparse matrix
The adjacency matrix of the graph
max_degree: int (optional, default 20)
The maximum degree of any node in the pruned graph
Returns
-------
... | "Prune the k-neighbors graph back so that nodes have a maximum\n degree of ``max_degree``.\n\n Parameters\n ----------\n graph: sparse matrix\n The adjacency matrix of the graph\n\n max_degree: int (optional, default 20)\n The maximum degree of any node in the pruned graph\n\n Returns\n ... | 181 | false | pavlin-policar/openTSNE | degree_prune | 142,108 | |
LDU_FT/weijia/djangoautoconf/get_duplicated_model | LDU_FT | [
"<BEGIN>\n## `load_template_source`",
"Template loader that loads templates from a ZIP file.\n<END>",
"<BEGIN>\n## `set_settings_env`",
"Add all application folders\n :param executable_folder: the folder that contains local and external_app_repos\n :return:\n<END>",
"<BEGIN>\n## `all_valid`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_duplicated_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_duplicated_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.
... | Duplicate the model fields from class_inst to new_class_name, example:
NewClass = get_duplicated_model(OldClass, "NewClass")
:param class_inst:
:param new_class_name:
:return: | "Duplicate the model fields from class_inst to new_class_name, example:\n NewClass = get_duplicated_model(OldClass, \"NewClass\")\n :param class_inst:\n :param new_class_name:\n :return:" | 32 | false | weijia/djangoautoconf | get_duplicated_model | 142,109 | |
LDU_FT/allenai/allennlp/digit_to_query_time | LDU_FT | [
"<BEGIN>\n## `forward`",
"Parameters\n ----------\n inputs : ``PackedSequence``, required.\n A batch first ``PackedSequence`` to run the stacked LSTM over.\n initial_state : Tuple[torch.Tensor, torch.Tensor], optional, (default = None)\n A tuple (state, memory) represent... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the digit_to_query_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the digit_to_query_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.
T... | Given a digit in the utterance, return a list of the times that it corresponds to. | "Given a digit in the utterance, return a list of the times that it corresponds to." | 1,296 | true | allenai/allennlp | digit_to_query_time | 142,110 | |
LDU_FT/icgood/pymap/parse_split | LDU_FT | [
"<BEGIN>\n## `for_executor`",
"Return a subsystem based on the given executor. If ``executor`` is\n None, use :mod:`asyncio`. If ``executor`` is a\n :class:`concurrent.futures.ThreadPoolExecutor`, use :mod:`threading`.",
" Args:\n executor: The executor in use, if any.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_split API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_split API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Parse the header and body bytestrings into message content.
Args:
header: The header bytestring to parse.
body: The body bytestring to parse. | "Parse the header and body bytestrings into message content.\n\n Args:\n header: The header bytestring to parse.\n body: The body bytestring to parse." | 298 | false | icgood/pymap | parse_split | 142,111 | |
LDU_FT/Syndace/python-x3dh/__refillOTPKs | LDU_FT | [
"<BEGIN>\n## `__generateSPK`",
"Generate a new PK and sign its public key using the IK, add the timestamp aswell\n to allow for periodic rotations.\n<END>",
"<BEGIN>\n## `__generateOTPKs`",
"Generate the given amount of OTPKs.",
" :param num_otpks: Either an integer or None.",
" If th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __refillOTPKs API.
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 __refillOTPKs API.
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... | If the amount of available OTPKs fell under the minimum, refills the OTPKs up to
the maximum limit again. | "If the amount of available OTPKs fell under the minimum, refills the OTPKs up to\n the maximum limit again." | 43 | false | Syndace/python-x3dh | __refillOTPKs | 142,112 | |
LDU_FT/buzzfeed/caliendo/seq | LDU_FT | [
"<BEGIN>\n## `increment`",
"Static method used to increment the depth of a context belonging to 'method'",
" :param function method: A method with a context",
" :rtype: caliendo.hooks.Context\n :returns: The context instance for the method.\n<END>",
"<BEGIN>\n## `skip_once`",
"Indicat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the seq API.
Each 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 seq API.
Each 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... | Counts up sequentially from a number based on the current time
:rtype int: | "Counts up sequentially from a number based on the current time\n\n :rtype int:" | 177 | false | buzzfeed/caliendo | seq | 142,113 | |
LDU_FT/jkenlooper/chill/init_db | LDU_FT | [
"<BEGIN>\n## `multiple_directory_files_loader`",
"Loads all the files in each directory as values in a dict with the key\n being the relative file path of the directory. Updates the value if\n subsequent file paths are the same.\n<END>",
"<BEGIN>\n## `send_root_file`",
"Function used to send static fil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_db API.
Each 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 init_db API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Initialize a new database with the default tables for chill.
Creates the following tables:
Chill
Node
Node_Node
Route
Query
Template | "Initialize a new database with the default tables for chill.\n Creates the following tables:\n Chill\n Node\n Node_Node\n Route\n Query\n Template" | 63 | false | jkenlooper/chill | init_db | 142,114 | |
LDU_FT/llllllllll/codetransformer/_process_instr_import_name | LDU_FT | [
"<BEGIN>\n## `_new_lnotab`",
"The updated lnotab after the instructions have been transformed.",
" Parameters\n ----------\n instrs : iterable[Instruction]\n The new instructions.\n lnotab : dict[Instruction -> int]\n The lnotab for the old code object.",
" Returns\n -------\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_instr_import_name 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 _process_instr_import_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Process an IMPORT_NAME instruction.
Side Effects
------------
Pops two instuctions from `stack`
Consumes instructions from `queue` to the end of the import statement.
Appends an ast.Import or ast.ImportFrom node to `body`. | "Process an IMPORT_NAME instruction.\n\n Side Effects\n ------------\n Pops two instuctions from `stack`\n Consumes instructions from `queue` to the end of the import statement.\n Appends an ast.Import or ast.ImportFrom node to `body`." | 223 | false | llllllllll/codetransformer | _process_instr_import_name | 142,115 | |
LDU_FT/ewels/MultiQC/count_genomic_region_plot | LDU_FT | [
"<BEGIN>\n## `star_stats_table`",
"Take the parsed stats from the STAR report and add them to the\n basic stats table at the top of the report\n<END>",
"<BEGIN>\n## `mirtrace_length_plot`",
"Generate the miRTrace Read Length Distribution\n<END>",
"<BEGIN>\n## `mirtrace_contamination_check`",
"Gener... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count_genomic_region_plot 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 count_genomic_region_plot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Generate the SnpEff Counts by Genomic Region plot | "Generate the SnpEff Counts by Genomic Region plot" | 532 | false | ewels/MultiQC | count_genomic_region_plot | 142,116 | |
LDU_FT/divio/python-mautic/get_published_list | LDU_FT | [
"<BEGIN>\n## `send`",
"Send email to the assigned lists",
" :param obj_id: int\n :return: dict|str\n<END>",
"<BEGIN>\n## `send_to_contact`",
"Send email to a specific contact",
" :param obj_id: int\n :param contact_id: int\n :return: dict|str\n<END>",
"<BEGIN>\n## `get... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_published_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_published_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.
Th... | Proxy function to get_list with published_only set to True
:param search: str
:param start: int
:param limit: int
:param order_by: str
:param order_by_dir: str
:return: dict|str | "Proxy function to get_list with published_only set to True\n :param search: str\n :param start: int\n :param limit: int\n :param order_by: str\n :param order_by_dir: str\n :return: dict|str" | 61 | false | divio/python-mautic | get_published_list | 142,117 | |
LDU_FT/vowatchka/palindromus/checksuper | LDU_FT | [
"<BEGIN>\n## `check`",
"Checks that some string, word or text are palindrome. Checking performs case-insensitive",
"\t\t:param str somestr:\n\t\t It is some string that will be checked for palindrome",
"\t\t:keyword int check:\n\t\t It is mode of checking. Follows modes are available:",
"\t\t - ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the checksuper API.
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 checksuper API.
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... | Checks that some text is superpalindrome. Checking performs case-insensitive
:param str sometext:
It is some string that will be checked for superpalindrome as text.
What is the text see at help(palindromus.istext)
The text can be multiline.
:keyword dict interchange:
It is di... | "Checks that some text is superpalindrome. Checking performs case-insensitive\n\t\t\n\t\t:param str sometext:\n\t\t It is some string that will be checked for superpalindrome as text.\n\t\t\t\n\t\t What is the text see at help(palindromus.istext)\n\t\t\t\n\t\t The text can be multiline.\n\t\t\t\n\t\t:keyword d... | 71 | false | vowatchka/palindromus | checksuper | 142,118 | |
LDU_FT/google/identity-toolkit-python-client/GetOobResult | LDU_FT | [
"<BEGIN>\n## `DownloadAccount`",
"Downloads multiple accounts from Gitkit server.",
" Args:\n next_page_token: string, pagination token.\n max_results: pagination size.",
" Returns:\n An array of accounts.\n<END>",
"<BEGIN>\n## `UploadAccount`",
"Uploads multiple accounts to Gitkit se... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetOobResult API.
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 GetOobResult API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Gets out-of-band code for ResetPassword/ChangeEmail request.
Args:
param: dict of HTTP POST params
user_ip: string, end user's IP address
gitkit_token: string, the gitkit token if user logged in
Returns:
A dict of {
email: user email who initializes the request
new_emai... | "Gets out-of-band code for ResetPassword/ChangeEmail request.\n\n Args:\n param: dict of HTTP POST params\n user_ip: string, end user's IP address\n gitkit_token: string, the gitkit token if user logged in\n\n Returns:\n A dict of {\n email: user email who initializes the request\n ... | 63 | false | google/identity-toolkit-python-client | GetOobResult | 142,119 | |
LDU_FT/yunojuno/elasticsearch-django/in_search_queryset | LDU_FT | [
"<BEGIN>\n## `execute_search`",
"Create a new SearchQuery instance and execute a search against ES.",
" Args:\n search: elasticsearch.search.Search object, that internally contains\n the connection and query; this is the query that is executed. All\n we are doing is logging the i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the in_search_queryset 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 in_search_queryset 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... | Return True if an object is part of the search index queryset.
Sometimes it's useful to know if an object _should_ be indexed. If
an object is saved, how do you know if you should push that change
to the search index? The simplest (albeit not most efficient) way
is to check if it appear... | "Return True if an object is part of the search index queryset.\n\n Sometimes it's useful to know if an object _should_ be indexed. If\n an object is saved, how do you know if you should push that change\n to the search index? The simplest (albeit not most efficient) way\n is to check if it ... | 124 | false | yunojuno/elasticsearch-django | in_search_queryset | 142,120 | |
LDU_FT/sammchardy/python-binance/order_limit | LDU_FT | [
"<BEGIN>\n## `add_bid`",
"Add a bid to the cache",
" :param bid:\n :return:\n<END>",
"<BEGIN>\n## `add_ask`",
"Add an ask to the cache",
" :param ask:\n :return:\n<END>",
"<BEGIN>\n## `_init_cache`",
"Initialise the depth cache calling REST endpoint",
" :return:\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the order_limit API.
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 order_limit API.
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... | Send in a new limit order
Any order with an icebergQty MUST have timeInForce set to GTC.
:param symbol: required
:type symbol: str
:param side: required
:type side: str
:param quantity: required
:type quantity: decimal
:param price: required
:typ... | "Send in a new limit order\n\n Any order with an icebergQty MUST have timeInForce set to GTC.\n\n :param symbol: required\n :type symbol: str\n :param side: required\n :type side: str\n :param quantity: required\n :type quantity: decimal\n :param price: required\n... | 233 | false | sammchardy/python-binance | order_limit | 142,121 | |
LDU_FT/skymill/automated-ebs-snapshots/get_volume_id | LDU_FT | [
"<BEGIN>\n## `connect_to_ec2`",
"Connect to AWS ec2",
" :type region: str\n :param region: AWS region to connect to\n :type access_key: str\n :param access_key: AWS access key id\n :type secret_key: str\n :param secret_key: AWS secret access key\n :returns: boto.ec2.connection.EC2Connection... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_volume_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_volume_id API.
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... | Get Volume ID from the given volume. Input can be volume id
or its Name tag.
:type connection: boto.ec2.connection.EC2Connection
:param connection: EC2 connection object
:type volume: str
:param volume: Volume ID or Volume Name
:returns: Volume ID or None if the given volume does not exist | "Get Volume ID from the given volume. Input can be volume id\n or its Name tag.\n\n :type connection: boto.ec2.connection.EC2Connection\n :param connection: EC2 connection object\n :type volume: str\n :param volume: Volume ID or Volume Name\n :returns: Volume ID or None if the given volume does not ex... | 42 | false | skymill/automated-ebs-snapshots | get_volume_id | 142,122 | |
LDU_FT/adaptive-learning/proso-apps/log | LDU_FT | [
"<BEGIN>\n## `process_answer`",
"This method is used during the answer streaming and is called after the\n predictive model for each answer.",
" Args:\n user (int):\n identifier of ther user answering the question\n asked (int):\n identifier of t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Log an event from the client to the server.
POST parameters (JSON keys):
message:
description (str) of the logged event
level:
debug|info|warn|error
data:
additional data (JSON) describing the logged event | "Log an event from the client to the server.\n\n POST parameters (JSON keys):\n message:\n description (str) of the logged event\n level:\n debug|info|warn|error\n data:\n additional data (JSON) describing the logged event" | 276 | false | adaptive-learning/proso-apps | log | 142,123 | |
LDU_FT/ithaka/apiron/get_merged_params | LDU_FT | [
"<BEGIN>\n## `build_url`",
"Builds a valid URL from a host and path which may or may not have slashes in the proper place.\n Does not conform to `IETF RFC 1808 <https://tools.ietf.org/html/rfc1808.html>`_ but instead joins the host and path as given.\n Does not append any additional slashes to the f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_merged_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_merged_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... | Merge this endpoint's default parameters with the supplied parameters
:param dict supplied_params:
A dictionary of query parameter, value pairs
:return:
A dictionary of this endpoint's default parameters, merged with the supplied parameters.
Any default parameters wh... | "Merge this endpoint's default parameters with the supplied parameters\n\n :param dict supplied_params:\n A dictionary of query parameter, value pairs\n :return:\n A dictionary of this endpoint's default parameters, merged with the supplied parameters.\n Any default parame... | 25 | false | ithaka/apiron | get_merged_params | 142,124 | |
LDU_FT/csurfer/gitsuggest/__construct_lda_model | LDU_FT | [
"<BEGIN>\n## `main`",
"Starting point for the program execution.\n<END>",
"<BEGIN>\n## `get_html`",
"Method to convert the repository list to a search results page.\n<END>",
"<BEGIN>\n## `to_html`",
"Method to convert the repository list to a search results page and\n write it to a HTML file.",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __construct_lda_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __construct_lda_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.
... | Method to create LDA model to procure list of topics from.
We do that by first fetching the descriptions of repositories user has
shown interest in. We tokenize the hence fetched descriptions to
procure list of cleaned tokens by dropping all the stop words and
language names from it.
... | "Method to create LDA model to procure list of topics from.\n\n We do that by first fetching the descriptions of repositories user has\n shown interest in. We tokenize the hence fetched descriptions to\n procure list of cleaned tokens by dropping all the stop words and\n language names from ... | 38 | false | csurfer/gitsuggest | __construct_lda_model | 142,125 | |
LDU_FT/google/google-visualization-python/ToJSon | LDU_FT | [
"<BEGIN>\n## `CoerceValue`",
"Coerces a single value into the type expected for its column.",
" Internal helper method.",
" Args:\n value: The value which should be converted\n value_type: One of \"string\", \"number\", \"boolean\", \"date\", \"datetime\" or\n \"timeofday\".",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ToJSon API.
Each 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 ToJSon API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Returns a string that can be used in a JS DataTable constructor.
This method writes a JSON string that can be passed directly into a Google
Visualization API DataTable constructor. Use this output if you are
hosting the visualization HTML on your site, and want to code the data
table in Python. Pass th... | "Returns a string that can be used in a JS DataTable constructor.\n\n This method writes a JSON string that can be passed directly into a Google\n Visualization API DataTable constructor. Use this output if you are\n hosting the visualization HTML on your site, and want to code the data\n table in Python. P... | 87 | false | google/google-visualization-python | ToJSon | 142,126 | |
LDU_FT/BerkeleyAutomation/perception/to_normal_cloud | LDU_FT | [
"<BEGIN>\n## `frames`",
"Retrieve a new frame from the PhoXi and convert it to a ColorImage,\n a DepthImage, and an IrImage.",
" Returns\n -------\n :obj:`tuple` of :obj:`ColorImage`, :obj:`DepthImage`, :obj:`IrImage`, :obj:`numpy.ndarray`\n The ColorImage, DepthImage, and... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_normal_cloud API.
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 to_normal_cloud API.
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... | Convert the image to a NormalCloud object.
Returns
-------
:obj:`autolab_core.NormalCloud`
The corresponding NormalCloud. | "Convert the image to a NormalCloud object.\n\n Returns\n -------\n :obj:`autolab_core.NormalCloud`\n The corresponding NormalCloud." | 657 | false | BerkeleyAutomation/perception | to_normal_cloud | 142,127 | |
LDU_FT/dsoprea/NsqSpinner/get_servers | LDU_FT | [
"<BEGIN>\n## `__send_rdy`",
"Determine the RDY value, and set it. It can either be a static value\n a callback, or None. If it's None, we'll calculate the value based on\n our limits and connection counts.",
" The documentation recommends starting with (1), but since we are always\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_servers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_servers API.
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... | We're assuming that the static list of servers can serve the given
topic, since we have to preexisting knowledge about them. | "We're assuming that the static list of servers can serve the given \n topic, since we have to preexisting knowledge about them." | 50 | false | dsoprea/NsqSpinner | get_servers | 142,128 | |
LDU_FT/compmech/composites/read_stack | LDU_FT | [
"<BEGIN>\n## `read_laminaprop`",
"Returns a ``MatLamina`` object based on an input ``laminaprop`` tuple",
" Parameters\n ----------\n laminaprop : list or tuple\n Tuple containing the folliwing entries:",
" (e1, e2, nu12, g12, g13, g23, e3, nu13, nu23)",
" for othotropic ma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_stack API.
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 read_stack API.
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... | Read a laminate stacking sequence data.
An ``Laminate`` object is returned based on the inputs given.
Parameters
----------
stack : list
Angles of the stacking sequence in degrees.
plyt : float, optional
When all plies have the same thickness, ``plyt`` can be supplied.
laminapr... | "Read a laminate stacking sequence data.\n\n An ``Laminate`` object is returned based on the inputs given.\n\n Parameters\n ----------\n stack : list\n Angles of the stacking sequence in degrees.\n plyt : float, optional\n When all plies have the same thickness, ``plyt`` can be supplied.\n ... | 57 | false | compmech/composites | read_stack | 142,129 | |
LDU_FT/twitterdev/tweet_parser/get_tweet_links | LDU_FT | [
"<BEGIN>\n## `get_entities`",
"Helper function to simply grabbing the entities. \\n\n Caveat: In the case of Retweets, a Retweet is stored as\n \"RT @someone: Some awesome status\". In the case where pre-appending\n the string \"RT @someone:\" causes the Tweet to exceed 140 characters,\n entites (hash... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tweet_links API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tweet_links API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Get the links that are included in the Tweet as "urls"
(if there are no links in the Tweet, this returns an empty list)
This includes links that are included in quoted or retweeted Tweets
Returns unrolled or expanded_url information if it is available
Args:
tweet (Tweet): A Tweet object (must b... | "Get the links that are included in the Tweet as \"urls\"\n (if there are no links in the Tweet, this returns an empty list)\n This includes links that are included in quoted or retweeted Tweets\n Returns unrolled or expanded_url information if it is available\n\n Args:\n tweet (Tweet): A Tweet objec... | 170 | false | twitterdev/tweet_parser | get_tweet_links | 142,130 | |
LDU_FT/mathandy/svgpathtools/transform | LDU_FT | [
"<BEGIN>\n## `big_bounding_box`",
"Finds a BB containing a collection of paths, Bezier path segments, and\n points (given as complex numbers).\n<END>",
"<BEGIN>\n## `disvg`",
"Takes in a list of paths and creates an SVG file containing said paths.\n REQUIRED INPUTS:\n :param paths - a list of pat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Transforms the curve by the homogeneous transformation matrix tf | "Transforms the curve by the homogeneous transformation matrix tf" | 252 | false | mathandy/svgpathtools | transform | 142,131 | |
LDU_FT/OiNutter/lean/render | LDU_FT | [
"<BEGIN>\n## `render`",
"Render the template in the given scope with the locals specified. If a\n\t\t\tblock is given, it is typically available within the template via\n\t\t\t+yield+.\n<END>",
"<BEGIN>\n## `evaluate`",
"Execute the compiled template and return the result string. Template\n\t\t\tevaluation is... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API.
Each 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 render API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Render the template in the given scope with the locals specified. If a
block is given, it is typically available within the template via
+yield+. | "Render the template in the given scope with the locals specified. If a\n\t\t\tblock is given, it is typically available within the template via\n\t\t\t+yield+." | 17 | false | OiNutter/lean | render | 142,132 | |
LDU_FT/hodgesds/elasticsearch_tornado/scroll | LDU_FT | [
"<BEGIN>\n## `mk_req`",
"Helper function to create a tornado HTTPRequest object, kwargs get passed in to\n create the HTTPRequest object. See:\n http://tornado.readthedocs.org/en/latest/httpclient.html#request-objects\n<END>",
"<BEGIN>\n## `mk_url`",
"Args get parameterized into base url:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scroll API.
Each 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 scroll API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Scroll a search request created by specifying the scroll parameter.
`<http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-scroll.html>`_
:arg scroll_id: The scroll ID
:arg scroll: Specify how long a consistent view of the index should be
maintained fo... | "Scroll a search request created by specifying the scroll parameter.\n `<http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-scroll.html>`_\n :arg scroll_id: The scroll ID\n :arg scroll: Specify how long a consistent view of the index should be\n maintain... | 31 | false | hodgesds/elasticsearch_tornado | scroll | 142,133 | |
LDU_FT/niklasf/python-chess/piece_map | LDU_FT | [
"<BEGIN>\n## `open_tablebase`",
"Opens a collection of tables for probing. See\n :class:`~chess.syzygy.Tablebase`.",
" .. note::",
" Generally probing requires tablebase files for the specific\n material composition, **as well as** tablebase files with less pieces.\n This is importa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the piece_map API.
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 piece_map API.
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 a dictionary of :class:`pieces <chess.Piece>` by square index. | "Gets a dictionary of :class:`pieces <chess.Piece>` by square index." | 367 | false | niklasf/python-chess | piece_map | 142,134 | |
LDU_FT/rapidpro/dash/sync_from_remote | LDU_FT | [
"<BEGIN>\n## `intersection`",
"Return the intersection of lists, using the first list to determine item order\n<END>",
"<BEGIN>\n## `union`",
"Return the union of lists, ordering by first seen in any list\n<END>",
"<BEGIN>\n## `filter_dict`",
"Creates a new dict from an existing dict that only has the giv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sync_from_remote API.
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 sync_from_remote API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Sync local instance against a single remote object
:param * org: the org
:param * syncer: the local model syncer
:param * remote: the remote object
:return: the outcome (created, updated or deleted) | "Sync local instance against a single remote object\n\n :param * org: the org\n :param * syncer: the local model syncer\n :param * remote: the remote object\n :return: the outcome (created, updated or deleted)" | 55 | false | rapidpro/dash | sync_from_remote | 142,135 | |
LDU_FT/vtkiorg/vtki/subplot | LDU_FT | [
"<BEGIN>\n## `extract_geometry`",
"Combines the geomertry of all blocks into a single ``PolyData``\n object. Place this filter at the end of a pipeline before a polydata\n consumer such as a polydata mapper to extract geometry from all blocks\n and append them to one polydata object.\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subplot API.
Each 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 subplot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Sets the active subplot.
Parameters
----------
index_x : int
Index of the subplot to activate in the x direction.
index_y : int
Index of the subplot to activate in the y direction. | "Sets the active subplot.\n\n Parameters\n ----------\n index_x : int\n Index of the subplot to activate in the x direction.\n\n index_y : int\n Index of the subplot to activate in the y direction." | 1,121 | true | vtkiorg/vtki | subplot | 142,136 | |
LDU_FT/ContextLab/quail/loadEL | LDU_FT | [
"<BEGIN>\n## `analyze`",
"General analysis function that groups data by subject/list number and performs analysis.",
" Parameters\n ----------\n egg : Egg data object\n The data to be analyzed",
" subjgroup : list of strings or ints\n String/int variables indicating how to group over... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the loadEL API.
Each 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 loadEL API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Function that loads sql files generated by autoFR Experiment | "Function that loads sql files generated by autoFR Experiment" | 201 | false | ContextLab/quail | loadEL | 142,137 | |
LDU_FT/MisterWil/abodepy/map_event_code | 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 map_event_code API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_event_code API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Map a specific event_code to an event group. | "Map a specific event_code to an event group." | 53 | false | MisterWil/abodepy | map_event_code | 142,138 | |
LDU_FT/ahtn/python-easyhid/find | LDU_FT | [
"<BEGIN>\n## `_hid_enumerate`",
"Enumerates all the hid devices for VID:PID. Returns a list of `HIDDevice`\n objects. If vid is 0, then match any vendor id. Similarly, if pid is 0,\n match any product id. If both are zero, enumerate all HID devices.\n<END>",
"<BEGIN>\n## `open`",
"Open the HID device f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API.
Each 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 find API.
Each 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... | Attempts to open a device in this `Enumeration` object. Optional
arguments can be provided to filter the resulting list based on various
parameters of the HID devices.
Args:
vid: filters by USB Vendor ID
pid: filters by USB Product ID
serial: filters by USB s... | "Attempts to open a device in this `Enumeration` object. Optional\n arguments can be provided to filter the resulting list based on various\n parameters of the HID devices.\n\n Args:\n vid: filters by USB Vendor ID\n pid: filters by USB Product ID\n serial: filters ... | 31 | false | ahtn/python-easyhid | find | 142,139 | |
LDU_FT/sanger-pathogens/ariba/_get_version | LDU_FT | [
"<BEGIN>\n## `_update_threads`",
"Update available thread count post-construction.\n To be called any number of times from run() method\n<END>",
"<BEGIN>\n## `_report_completion`",
"Update shared counters to signal that we are done with this cluster.\n Call just before exiting run() method (in a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_version API.
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_version API.
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... | Given a program name and expected path, tries to determine its version.
Returns tuple (bool, version). First element True iff found version ok.
Second element is version string (if found), otherwise an error message | "Given a program name and expected path, tries to determine its version.\n Returns tuple (bool, version). First element True iff found version ok.\n Second element is version string (if found), otherwise an error message" | 105 | false | sanger-pathogens/ariba | _get_version | 142,140 | |
LDU_FT/GuiltyTargets/ppi-network-annotation/_add_vertex_attributes_by_genes | LDU_FT | [
"<BEGIN>\n## `get_neighborhood_network`",
"Get the neighborhood graph of a node.",
" :param str node_name: Node whose neighborhood graph is requested.\n :return Graph: Neighborhood graph\n<END>",
"<BEGIN>\n## `get_neighbor_names`",
"Get the names of all neighbors of a node, and the node itself... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_vertex_attributes_by_genes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_vertex_attributes_by_genes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Assign values to attributes on vertices.
:param genes: A list of Gene objects from which values will be extracted. | "Assign values to attributes on vertices.\n\n :param genes: A list of Gene objects from which values will be extracted." | 105 | false | GuiltyTargets/ppi-network-annotation | _add_vertex_attributes_by_genes | 142,141 | |
LDU_FT/TheHive-Project/TheHive4py/get_task_logs | LDU_FT | [
"<BEGIN>\n## `create`",
"Create an instance of the Case class.\n :param title: Case title.\n :param description: Case description.\n :param kwargs: Additional arguments.",
" :return: The created instance.\n<END>",
"<BEGIN>\n## `update`",
"Update a case. \n :param ca... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_task_logs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_task_logs API.
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... | :param taskId: Task identifier
:type caseTaskLog: CaseTaskLog defined in models.py
:return: TheHive logs
:rtype: json | ":param taskId: Task identifier\n :type caseTaskLog: CaseTaskLog defined in models.py\n :return: TheHive logs\n :rtype: json" | 39 | false | TheHive-Project/TheHive4py | get_task_logs | 142,142 | |
LDU_FT/RedisJSON/rejson-py/jsonarrtrim | LDU_FT | [
"<BEGIN>\n## `bulk_of_jsons`",
"Replace serialized JSON values with objects in a bulk array response (list)\n<END>",
"<BEGIN>\n## `setEncoder`",
"Sets the client's encoder\n ``encoder`` should be an instance of a ``json.JSONEncoder`` class\n<END>",
"<BEGIN>\n## `setDecoder`",
"Sets the client's dec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jsonarrtrim API.
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 jsonarrtrim API.
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... | Trim the array JSON value under ``path`` at key ``name`` to the
inclusive range given by ``start`` and ``stop`` | "Trim the array JSON value under ``path`` at key ``name`` to the \n inclusive range given by ``start`` and ``stop``" | 43 | false | RedisJSON/rejson-py | jsonarrtrim | 142,143 | |
LDU_FT/jspricke/python-remind/ics2rem | LDU_FT | [
"<BEGIN>\n## `rem2ics`",
"Command line tool to convert from Remind to iCalendar\n<END>",
"<BEGIN>\n## `ics2rem`",
"Command line tool to convert from iCalendar to Remind\n<END>",
"<BEGIN>\n## `_parse_remind`",
"Calls remind and parses the output into a dict",
" filename -- the remind file (include... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ics2rem API.
Each 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 ics2rem API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Command line tool to convert from iCalendar to Remind | "Command line tool to convert from iCalendar to Remind" | 47 | false | jspricke/python-remind | ics2rem | 142,144 | |
LDU_FT/intake/intake/_get_http_args | LDU_FT | [
"<BEGIN>\n## `expand_defaults`",
"Compile env, client_env, shell and client_shell commands\n<END>",
"<BEGIN>\n## `get`",
"Instantiate the DataSource for the given parameters\n<END>",
"<BEGIN>\n## `_load`",
"Load text of fcatalog file and pass to parse",
" Will do nothing if autoreload is off and ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_http_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_http_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Return a copy of the http_args
Adds auth headers and 'source_id', merges in params. | "Return a copy of the http_args\n\n Adds auth headers and 'source_id', merges in params." | 280 | false | intake/intake | _get_http_args | 142,145 | |
LDU_FT/slhck/ffmpeg-normalize/parse_loudnorm_stats | LDU_FT | [
"<BEGIN>\n## `check_range`",
"Check if a number is within a given range\n<END>",
"<BEGIN>\n## `add_media_file`",
"Add a media file to normalize",
" Arguments:\n input_file {str} -- Path to input file\n output_file {str} -- Path to output file\n<END>",
"<BEGIN>\n## `which`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_loudnorm_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_loudnorm_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Run a first pass loudnorm filter to get measured data. | "Run a first pass loudnorm filter to get measured data." | 28 | false | slhck/ffmpeg-normalize | parse_loudnorm_stats | 142,146 | |
LDU_FT/abhishek-ram/pyas2-lib/extract_first_part | LDU_FT | [
"<BEGIN>\n## `quote_as2name`",
"Function converts as2 name from unquoted to quoted format\n :param unquoted_name: the as2 name in unquoted format\n :return: the as2 name in unquoted format\n<END>",
"<BEGIN>\n## `mime_to_bytes`",
"Function to convert and email Message to flat string format\n :param ms... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_first_part 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 extract_first_part 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... | Function to extract the first part of a multipart message | "Function to extract the first part of a multipart message" | 81 | false | abhishek-ram/pyas2-lib | extract_first_part | 142,147 | |
LDU_FT/carlthome/python-audio-effects/reverb | LDU_FT | [
"<BEGIN>\n## `equalizer`",
"equalizer takes three parameters: filter center frequency in Hz, \"q\"\n or band-width (default=1.0), and a signed number for gain or\n attenuation in dB.",
" Beware of clipping when using positive gain.\n<END>",
"<BEGIN>\n## `bandpass`",
"bandpass takes 2 pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reverb API.
Each 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 reverb API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | reverb takes 7 parameters: reverberance, high-freqnency damping,
room scale, stereo depth, pre-delay, wet gain and wet only (Truce or
False) | "reverb takes 7 parameters: reverberance, high-freqnency damping,\n room scale, stereo depth, pre-delay, wet gain and wet only (Truce or\n False)" | 53 | false | carlthome/python-audio-effects | reverb | 142,148 | |
LDU_FT/inveniosoftware/invenio-indexer/default_record_to_index | 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 default_record_to_index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the default_record_to_index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Get index/doc_type given a record.
It tries to extract from `record['$schema']` the index and doc_type.
If it fails, return the default values.
:param record: The record object.
:returns: Tuple (index, doc_type). | "Get index/doc_type given a record.\n\n It tries to extract from `record['$schema']` the index and doc_type.\n If it fails, return the default values.\n\n :param record: The record object.\n :returns: Tuple (index, doc_type)." | 37 | false | inveniosoftware/invenio-indexer | default_record_to_index | 142,149 | |
LDU_FT/dwavesystems/dwave_networkx/canonical_chimera_labeling | LDU_FT | [
"<BEGIN>\n## `traveling_salesman`",
"Returns an approximate minimum traveling salesperson route.",
" Defines a QUBO with ground states corresponding to the\n minimum routes and uses the sampler to sample\n from it.",
" A route is a cycle in the graph that reaches each node exactly once.\n A min... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the canonical_chimera_labeling 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 canonical_chimera_labeling API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Returns a mapping from the labels of G to chimera-indexed labeling.
Parameters
----------
G : NetworkX graph
A Chimera-structured graph.
t : int (optional, default 4)
Size of the shore within each Chimera tile.
Returns
-------
chimera_indices: dict
A mapping from th... | "Returns a mapping from the labels of G to chimera-indexed labeling.\n\n Parameters\n ----------\n G : NetworkX graph\n A Chimera-structured graph.\n t : int (optional, default 4)\n Size of the shore within each Chimera tile.\n\n Returns\n -------\n chimera_indices: dict\n A ma... | 563 | false | dwavesystems/dwave_networkx | canonical_chimera_labeling | 142,150 | |
LDU_FT/bluekeyes/sphinx-javalink/setup | LDU_FT | [
"<BEGIN>\n## `extract_class`",
"Extracts a LinkableClass from a jar.",
" Args:\n jar: An open ZipFile instance.\n name: A string containing the binary name of a class.",
" Raises:\n KeyError: The class does not exist in the jar.\n<END>",
"<BEGIN>\n## `normalize_docroot`",
"Creat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup API.
Each 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 setup API.
Each 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... | Register the extension with Sphinx.
Args:
app: The Sphinx application. | "Register the extension with Sphinx.\n\n Args:\n app: The Sphinx application." | 19 | false | bluekeyes/sphinx-javalink | setup | 142,151 | |
LDU_FT/fedora-python/pyp2rpm/pypi_metadata_extension | LDU_FT | [
"<BEGIN>\n## `cut_to_length`",
"Shorten given text on first delimiter after given number\n of characters.\n<END>",
"<BEGIN>\n## `get_interpreter_path`",
"Return the executable of a specified or current version.\n<END>",
"<BEGIN>\n## `license_from_trove`",
"Finds out license from list of trove classifie... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pypi_metadata_extension 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 pypi_metadata_extension API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Extracts data from PyPI and merges them with data from extraction
method. | "Extracts data from PyPI and merges them with data from extraction\n method." | 140 | false | fedora-python/pyp2rpm | pypi_metadata_extension | 142,152 | |
LDU_FT/Cadene/pretrained-models.pytorch/alexnet | LDU_FT | [
"<BEGIN>\n## `bninception`",
"r\"\"\"BNInception model architecture from <https://arxiv.org/pdf/1502.03167.pdf>`_ paper.\n<END>",
"<BEGIN>\n## `resnet18`",
"Constructs a ResNet-18 model.",
" Args:\n pretrained (bool): If True, returns a model pre-trained on ImageNet\n<END>",
"<BEGIN>\n## `resnet... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the alexnet API.
Each 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 alexnet API.
Each 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"""AlexNet model architecture from the
`"One weird trick..." <https://arxiv.org/abs/1404.5997>`_ paper. | "r\"\"\"AlexNet model architecture from the\n `\"One weird trick...\" <https://arxiv.org/abs/1404.5997>`_ paper." | 40 | false | Cadene/pretrained-models.pytorch | alexnet | 142,153 | |
LDU_FT/sbjorn/vici/list_conns | LDU_FT | [
"<BEGIN>\n## `initiate`",
"Initiate an SA.",
" :param sa: the SA to initiate\n :type sa: dict\n :return: logs emitted by command, with `errmsg` given on failure\n :rtype: :py:class:`vici.session.CommandResult`\n<END>",
"<BEGIN>\n## `terminate`",
"Terminate an SA.",
" :pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_conns API.
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 list_conns API.
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... | Retrieve loaded connections.
:param filters: retrieve only matching configuration names (optional)
:type filters: dict
:return: list of connections
:rtype: list | "Retrieve loaded connections.\n\n :param filters: retrieve only matching configuration names (optional)\n :type filters: dict\n :return: list of connections\n :rtype: list" | 30 | false | sbjorn/vici | list_conns | 142,154 | |
LDU_FT/enkore/i3pystatus/on_click | LDU_FT | [
"<BEGIN>\n## `init`",
"Creates context, when context is ready context_notify_cb is called\n<END>",
"<BEGIN>\n## `request_update`",
"Requests a sink info update (sink_info_cb is called)\n<END>",
"<BEGIN>\n## `server_info_cb`",
"Retrieves the default sink and calls request_update\n<END>",
"<BEGIN>\n## `co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_click API.
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 on_click API.
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... | Capture scrollup and scorlldown to move in groups
Pass everthing else to the module itself | "Capture scrollup and scorlldown to move in groups\n Pass everthing else to the module itself" | 181 | false | enkore/i3pystatus | on_click | 142,155 | |
LDU_FT/allianceauth/allianceauth/random_string | LDU_FT | [
"<BEGIN>\n## `register`",
"Decorator to register a function as a hook",
" Register hook for ``hook_name``. Can be used as a decorator::\n @register('hook_name')\n def my_hook(...):\n pass",
" or as a function call::\n def my_hook(...):\n pass\n register(... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_string API.
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 random_string API.
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... | Returns a random string of length string_length. | "Returns a random string of length string_length." | 57 | false | allianceauth/allianceauth | random_string | 142,156 | |
LDU_FT/MostAwesomeDude/gentleman/CreateGroup | LDU_FT | [
"<BEGIN>\n## `request`",
"Sends an HTTP request.",
" This constructs a full URL, encodes and decodes HTTP bodies, and\n handles invalid responses in a pythonic way.",
" @type method: string\n @param method: HTTP method to use\n @type path: string\n @param path: HTTP U... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the CreateGroup API.
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 CreateGroup API.
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... | Creates a new node group.
@type name: str
@param name: the name of node group to create
@type alloc_policy: str
@param alloc_policy: the desired allocation policy for the group, if any
@type dry_run: bool
@param dry_run: whether to peform a dry run
@rtype: int
@return: job id | "Creates a new node group.\n\n @type name: str\n @param name: the name of node group to create\n @type alloc_policy: str\n @param alloc_policy: the desired allocation policy for the group, if any\n @type dry_run: bool\n @param dry_run: whether to peform a dry run\n\n @rtype: int\n @return: job i... | 173 | false | MostAwesomeDude/gentleman | CreateGroup | 142,157 | |
LDU_FT/kibitzr/kibitzr/verbose | LDU_FT | [
"<BEGIN>\n## `is_applicable`",
"Return whether this promoter is applicable for given conf\n<END>",
"<BEGIN>\n## `xpath_selector`",
"Returns Xpath match for `selector` within `html`.",
" :param selector: XPath string\n :param html: Unicode content\n :param select_all: True to get all matches\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verbose API.
Each 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 verbose API.
Each 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 changes in human-friendly format #14 | "Return changes in human-friendly format #14" | 53 | false | kibitzr/kibitzr | verbose | 142,158 | |
LDU_FT/edx/edx-drf-extensions/authenticate_credentials | LDU_FT | [
"<BEGIN>\n## `authenticate_credentials`",
"Validate the bearer token against the OAuth provider.",
" Arguments:\n token (str): Access token to validate",
" Returns:\n (tuple): tuple containing:",
" user (User): User associated with the access token\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate_credentials API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate_credentials API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Get or create an active user with the username contained in the payload. | "Get or create an active user with the username contained in the payload." | 76 | false | edx/edx-drf-extensions | authenticate_credentials | 142,159 | |
LDU_FT/jut-io/jut-python-tools/get_logged_in_account | LDU_FT | [
"<BEGIN>\n## `_print_jobs`",
"internal method to print the provided jobs array in a nice tabular\n format\n<END>",
"<BEGIN>\n## `debug`",
"debug output goes to stderr so you can still redirect the stdout to a file\n or another program. Controlled by the JUT_DEBUG environment variable being\n present\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_logged_in_account API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_logged_in_account API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | get the account details for logged in account of the auth token_manager | "get the account details for logged in account of the auth token_manager" | 72 | false | jut-io/jut-python-tools | get_logged_in_account | 142,160 | |
LDU_FT/kaustavdm/pyAvroPhonetic/count_vowels | LDU_FT | [
"<BEGIN>\n## `count_vowels`",
"Count number of occurrences of vowels in a given string\n<END>",
"<BEGIN>\n## `count_consonants`",
"Count number of occurrences of consonants in a given string\n<END>",
"<BEGIN>\n## `is_exact`",
"Check exact occurrence of needle in haystack\n<END>",
"<BEGIN>\n## `fix_strin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count_vowels API.
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 count_vowels API.
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... | Count number of occurrences of vowels in a given string | "Count number of occurrences of vowels in a given string" | 29 | false | kaustavdm/pyAvroPhonetic | count_vowels | 142,161 | |
LDU_FT/wummel/patool/run | LDU_FT | [
"<BEGIN>\n## `list_tar`",
"List a TAR archive with the tarfile Python module.\n<END>",
"<BEGIN>\n## `extract_tar`",
"Extract a TAR archive with the tarfile Python module.\n<END>",
"<BEGIN>\n## `create_tar`",
"Create a TAR archive with the tarfile Python module.\n<END>",
"<BEGIN>\n## `get_tar_mode`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Run command without error checking.
@return: command return code | "Run command without error checking.\n @return: command return code" | 127 | false | wummel/patool | run | 142,162 | |
LDU_FT/laike9m/pdir2/format_pattrs | LDU_FT | [
"<BEGIN>\n## `search`",
"Searches for names that match some pattern.",
" Args:\n term: String used to match names. A name is returned if it matches\n the whole search term.\n case_sensitive: Boolean to match case or not, default is False\n (case insensitive... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_pattrs API.
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 format_pattrs API.
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... | Generates repr string given a list of pattrs. | "Generates repr string given a list of pattrs." | 24 | false | laike9m/pdir2 | format_pattrs | 142,163 | |
LDU_FT/sdss/tree/_format_command | LDU_FT | [
"<BEGIN>\n## `set_roots`",
"Set the roots of the tree in the os environment",
" Parameters:\n uproot_with (str):\n A new TREE_DIR path used to override an existing TREE_DIR environment variable\n<END>",
"<BEGIN>\n## `load_config`",
"loads a config file",
" Parameter... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _format_command API.
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 _format_command API.
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... | Creates a list-table directive
for a set of defined environment variables
Parameters:
name (str):
The name of the config section
envvars (dict):
A dictionary of the environment variable definitions from the config
base (str):
The SAS_BASE to remove f... | "Creates a list-table directive\n\n for a set of defined environment variables\n\n Parameters:\n name (str):\n The name of the config section\n envvars (dict):\n A dictionary of the environment variable definitions from the config\n base (str):\n The SAS_BASE ... | 70 | false | sdss/tree | _format_command | 142,164 | |
LDU_FT/yunojuno-archive/django-package-monitor/parse_django | LDU_FT | [
"<BEGIN>\n## `create_package_version`",
"Create a new PackageVersion from a requirement. Handles errors.\n<END>",
"<BEGIN>\n## `update_from_pypi`",
"Call get_latest_version and then save the object.\n<END>",
"<BEGIN>\n## `parse_python`",
"Parse out the versions of python supported a/c classifiers.\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_django API.
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 parse_django API.
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... | Parse out the versions of django supported a/c classifiers. | "Parse out the versions of django supported a/c classifiers." | 21 | false | yunojuno-archive/django-package-monitor | parse_django | 142,165 | |
LDU_FT/dfunckt/django-connections/get_connection_distance | LDU_FT | [
"<BEGIN>\n## `get_connection_distance`",
"Calculates the distance between the two given objects for the given\n relationship. See `connections.models.Relationship` for more info.",
" {% get_connection_distance 'relationship_name' obj1 obj2 as distance %}\n {% get_connection_distance 'relationsh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_connection_distance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_connection_distance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Calculates the distance between the two given objects for the given
relationship. See `connections.models.Relationship` for more info.
{% get_connection_distance 'relationship_name' obj1 obj2 as distance %}
{% get_connection_distance 'relationship_name' obj1 obj2 limit=3 as distance %} | "Calculates the distance between the two given objects for the given\n relationship. See `connections.models.Relationship` for more info.\n \n {% get_connection_distance 'relationship_name' obj1 obj2 as distance %}\n {% get_connection_distance 'relationship_name' obj1 obj2 limit=3 as distance %}" | 25 | false | dfunckt/django-connections | get_connection_distance | 142,166 | |
LDU_FT/i3visio/osrframework/group_records_by_domain | LDU_FT | [
"<BEGIN>\n## `getResults`",
"Function to obtain the Dictionarythat represents this object.",
" :param parFound: values to return.",
" :return: The output format will be like:\n [{\"type\" : \"i3visio.email\", \"value\": \"foo@bar.com\", \"attributes\": [] }, {\"type\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the group_records_by_domain 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 group_records_by_domain API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Return the records grouped by the domain they came from.
The return value is a dict, a key in this dict is a domain
and the value is a list of all the records with this domain. | "Return the records grouped by the domain they came from.\r\n \r\n The return value is a dict, a key in this dict is a domain\r\n and the value is a list of all the records with this domain." | 598 | false | i3visio/osrframework | group_records_by_domain | 142,167 | |
LDU_FT/Faylixe/pygame_vkeyboard/draw_character_key | LDU_FT | [
"<BEGIN>\n## `synchronizeLayout`",
"Synchronizes given layouts by normalizing height by using\n max height of given layouts to avoid transistion dirty effects.",
" :param primary: Primary layout used.\n :param secondary: Secondary layout used.\n :param surface_size: Target surface size on which layo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_character_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_character_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Default drawing method for key.
Key is drawn as a simple rectangle filled using this
cell style background color attribute. Key value is printed
into drawn cell using internal font.
:param surface: Surface background should be drawn in.
:param key: Target key to be drawn.
... | "Default drawing method for key. \n\n Key is drawn as a simple rectangle filled using this\n cell style background color attribute. Key value is printed\n into drawn cell using internal font.\n\n :param surface: Surface background should be drawn in.\n :param key: Target key to be dra... | 54 | false | Faylixe/pygame_vkeyboard | draw_character_key | 142,168 | |
LDU_FT/scivision/gridaurora/catvl | LDU_FT | [
"<BEGIN>\n## `to_ut1unix`",
"converts time inputs to UT1 seconds since Unix epoch\n<END>",
"<BEGIN>\n## `chapman_profile`",
"Z0: altitude [km] of intensity peak\n zKM: altitude grid [km]\n H: scale height [km]",
" example:\n pz = chapman_profile(110,np.arange(90,200,1),20)\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the catvl API.
Each 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 catvl API.
Each 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... | trapz integrates over altitude axis, axis = -2
concatenate over reaction dimension, axis = -1
br: column integrated brightness
lamb: wavelength [nm]
ver: volume emission rate [photons / cm^-3 s^-3 ...] | "trapz integrates over altitude axis, axis = -2\n concatenate over reaction dimension, axis = -1\n\n br: column integrated brightness\n lamb: wavelength [nm]\n ver: volume emission rate [photons / cm^-3 s^-3 ...]" | 36 | false | scivision/gridaurora | catvl | 142,169 | |
LDU_FT/Yelp/detect-secrets/from_plugin_classname | LDU_FT | [
"<BEGIN>\n## `determine_file_type`",
":param filename: str",
" :rtype: FileType\n<END>",
"<BEGIN>\n## `write_baseline_to_file`",
":type filename: str\n :type data: dict\n :rtype: None\n<END>",
"<BEGIN>\n## `load_baseline_from_string`",
"Initializes a SecretsCollection object from string.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_plugin_classname 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 from_plugin_classname API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Initializes a plugin class, given a classname and kwargs.
:type plugin_classname: str
:param plugin_classname: subclass of BasePlugin.
:type exclude_lines_regex: str|None
:param exclude_lines_regex: optional regex for ignored lines. | "Initializes a plugin class, given a classname and kwargs.\n\n :type plugin_classname: str\n :param plugin_classname: subclass of BasePlugin.\n\n :type exclude_lines_regex: str|None\n :param exclude_lines_regex: optional regex for ignored lines." | 194 | false | Yelp/detect-secrets | from_plugin_classname | 142,170 | |
LDU_FT/gabstopper/smc-python/fetch_as_element | LDU_FT | [
"<BEGIN>\n## `element_href`",
"Get specified element href by element name",
" :param name: name of element\n :return: string href location of object, else None\n<END>",
"<BEGIN>\n## `element_as_json`",
"Get specified element json data by name",
" :param name: name of element\n :return: json da... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_as_element API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_as_element API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Fetch the blacklist and return as an instance of Element.
:return: generator returning element instances
:rtype: BlacklistEntry | "Fetch the blacklist and return as an instance of Element.\n \n :return: generator returning element instances\n :rtype: BlacklistEntry" | 1,703 | true | gabstopper/smc-python | fetch_as_element | 142,171 | |
LDU_FT/Robpol86/etaprogress/error | LDU_FT | [
"<BEGIN>\n## `terminal_width`",
"Returns the terminal's width (number of character columns).\n<END>",
"<BEGIN>\n## `get_remaining_width`",
"Returns the number of characters available if sample string were to be printed in the terminal.",
" Positional arguments:\n sample_string -- gets the length of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Prints an error message to stderr and exits with a status of 1 by default. | "Prints an error message to stderr and exits with a status of 1 by default." | 76 | false | Robpol86/etaprogress | error | 142,172 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.