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/hapylestat/apputils/get_instance | LDU_FT | [
"<BEGIN>\n## `start`",
":arg max_val Maximum value\n :type max_val int\n<END>",
"<BEGIN>\n## `progress`",
":type value int\n :type new_status str\n<END>",
"<BEGIN>\n## `stop`",
":arg hide_progress Hide progress bar\n :type hide_progress bool\n :type new_status str\n<END>",
"<BEGIN>\n## `dese... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_instance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_instance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | :arg in_memory Initialize Configuration instance in memory only
:type in_memory bool
:type config_path str
:type config_name str
:rtype Configuration
:return Configuration | ":arg in_memory Initialize Configuration instance in memory only\n :type in_memory bool\n :type config_path str\n :type config_name str\n :rtype Configuration\n :return Configuration" | 54 | false | hapylestat/apputils | get_instance | 30,873 | |
LDU_FT/n1analytics/python-paillier/raw_decrypt | LDU_FT | [
"<BEGIN>\n## `generate_keypair`",
"Generate a paillier private key.",
" Output as JWK to given output file. Use \"-\" to output the private key to\n stdout. See the extract command to extract the public component of the\n private key.",
" Note:\n The default ID text includes the current tim... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raw_decrypt API.
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 raw_decrypt API.
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... | Decrypt raw ciphertext and return raw plaintext.
Args:
ciphertext (int): (usually from :meth:`EncryptedNumber.ciphertext()`)
that is to be Paillier decrypted.
Returns:
int: Paillier decryption of ciphertext. This is a positive
integer < :attr:`public_key.n`.
... | "Decrypt raw ciphertext and return raw plaintext.\n\n Args:\n ciphertext (int): (usually from :meth:`EncryptedNumber.ciphertext()`)\n that is to be Paillier decrypted.\n\n Returns:\n int: Paillier decryption of ciphertext. This is a positive\n integer < :attr:`public_... | 169 | false | n1analytics/python-paillier | raw_decrypt | 30,874 | |
LDU_FT/hubo1016/namedstruct/parse | LDU_FT | [
"<BEGIN>\n## `ip_frag`",
"Not fragments:\n ip_frag(packet) == 0\n not ip_frag(packet)",
" First packet of fragments:\n ip_frag(packet) == IP_FRAG_ANY",
" Not first packet of fragments:\n ip_frag(packet) & IP_FRAG_LATER",
" All fragments:\n ip_frag(packet) & IP_FRA... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Try to parse the struct from bytes sequence. The bytes sequence is taken from a streaming source.
:param buffer: bytes sequence to be parsed from.
:param inlineparent: if specified, this struct is embedded in another struct.
:returns: None if the buffer does not have e... | "Try to parse the struct from bytes sequence. The bytes sequence is taken from a streaming source.\n \n :param buffer: bytes sequence to be parsed from.\n \n :param inlineparent: if specified, this struct is embedded in another struct.\n \n :returns: None if the buffer does not... | 149 | false | hubo1016/namedstruct | parse | 30,875 | |
LDU_FT/bitcaster-io/bitcaster/get_attr | LDU_FT | [
"<BEGIN>\n## `process_response`",
"Update the storage backend (i.e., save the messages).",
" Raise ValueError if not all messages could be stored and DEBUG is True.\n<END>",
"<BEGIN>\n## `route`",
"A decorator that is used to register a view function for a\n given URL rule. This does the same... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_attr API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_attr API.
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... | Recursive get object's attribute. May use dot notation.
>>> class C(object): pass
>>> a = C()
>>> a.b = C()
>>> a.b.c = 4
>>> get_attr(a, 'b.c')
4
>>> get_attr(a, 'b.c.y', None)
>>> get_attr(a, 'b.c.y', 1)
1 | "Recursive get object's attribute. May use dot notation.\n\n >>> class C(object): pass\n >>> a = C()\n >>> a.b = C()\n >>> a.b.c = 4\n >>> get_attr(a, 'b.c')\n 4\n\n >>> get_attr(a, 'b.c.y', None)\n\n >>> get_attr(a, 'b.c.y', 1)\n 1" | 71 | false | bitcaster-io/bitcaster | get_attr | 30,876 | |
LDU_FT/JukeboxPipeline/jukeboxmaya/add_type | LDU_FT | [
"<BEGIN>\n## `main_func`",
"Main funcion when executing this module as script",
" :param args: commandline arguments\n :type args: list\n :returns: None\n :rtype: None\n :raises: None\n<END>",
"<BEGIN>\n## `setup_launch_parser`",
"Setup the given parser for the launch command",
" :pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Register a type for jb_reftrack nodes.
A type specifies how the reference should be handled. For example the type shader will connect shaders
with the parent when it the shaders are loaded.
Default types are :data:`JB_ReftrackNode.types`.
.. Note:: You have to add types before you init... | "Register a type for jb_reftrack nodes.\n\n A type specifies how the reference should be handled. For example the type shader will connect shaders\n with the parent when it the shaders are loaded.\n Default types are :data:`JB_ReftrackNode.types`.\n\n .. Note:: You have to add types before y... | 241 | false | JukeboxPipeline/jukeboxmaya | add_type | 30,877 | |
LDU_FT/benhoff/pluginmanager/_remove_blacklisted | LDU_FT | [
"<BEGIN>\n## `collect_directories`",
"Collects all the directories into a `set` object.",
" If `self.recursive` is set to `True` this method will iterate through\n and return all of the directories and the subdirectories found from\n `directories` that are not blacklisted.",
" if `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _remove_blacklisted 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 _remove_blacklisted 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... | Attempts to remove the blacklisted directories from `directories`
and then returns whatever is left in the set.
Called from the `collect_directories` method. | "Attempts to remove the blacklisted directories from `directories`\n and then returns whatever is left in the set.\n\n Called from the `collect_directories` method." | 161 | false | benhoff/pluginmanager | _remove_blacklisted | 30,878 | |
LDU_FT/hmmlearn/hmmlearn/log_normalize | LDU_FT | [
"<BEGIN>\n## `log_multivariate_normal_density`",
"Compute the log probability under a multivariate Gaussian distribution.\n Parameters\n ----------\n X : array_like, shape (n_samples, n_features)\n List of n_features-dimensional data points. Each row corresponds to a\n single data point.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_normalize API.
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 log_normalize API.
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... | Normalizes the input array so that the exponent of the sum is 1.
Parameters
----------
a : array
Non-normalized input data.
axis : int
Dimension along which normalization is performed.
Notes
-----
Modifies the input **inplace**. | "Normalizes the input array so that the exponent of the sum is 1.\n\n Parameters\n ----------\n a : array\n Non-normalized input data.\n\n axis : int\n Dimension along which normalization is performed.\n\n Notes\n -----\n Modifies the input **inplace**." | 108 | false | hmmlearn/hmmlearn | log_normalize | 30,879 | |
LDU_FT/kvesteri/intervals/py2round | LDU_FT | [
"<BEGIN>\n## `py2round`",
"Round values as in Python 2, for Python 3 compatibility.",
" All x.5 values are rounded away from zero.",
" In Python 3, this has changed to avoid bias: when x is even,\n rounding is towards zero, when x is odd, rounding is away\n from zero. Thus, in Python 3, round(2.5)... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the py2round API.
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 py2round API.
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... | Round values as in Python 2, for Python 3 compatibility.
All x.5 values are rounded away from zero.
In Python 3, this has changed to avoid bias: when x is even,
rounding is towards zero, when x is odd, rounding is away
from zero. Thus, in Python 3, round(2.5) results in 2,
round(3.5) is 4.
Py... | "Round values as in Python 2, for Python 3 compatibility.\n\n All x.5 values are rounded away from zero.\n\n In Python 3, this has changed to avoid bias: when x is even,\n rounding is towards zero, when x is odd, rounding is away\n from zero. Thus, in Python 3, round(2.5) results in 2,\n round(3.5) is 4.... | 19 | false | kvesteri/intervals | py2round | 30,880 | |
LDU_FT/mromanello/hucitlib/set_as_opus_maximum | LDU_FT | [
"<BEGIN>\n## `fetch_text_structure`",
"Fetches the text structure of a given work from a CTS endpoint.",
" :param urn: the work's CTS URN (at the work-level!,\n e.g.\"urn:cts:greekLit:tlg0012.tlg001\")\n :type urn: string\n :param endpoint: the URL of the CTS endpoint to use (defaults to Perseid... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_as_opus_maximum API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_as_opus_maximum 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... | Mark explicitly the work as the author's opus maximum. | "Mark explicitly the work as the author's opus maximum." | 73 | false | mromanello/hucitlib | set_as_opus_maximum | 30,881 | |
LDU_FT/aio-libs/aiozipkin/make_context | LDU_FT | [
"<BEGIN>\n## `unsigned_hex_to_signed_int`",
"Converts a 64-bit hex string to a signed int value.",
" This is due to the fact that Apache Thrift only has signed values.",
" Examples:\n '17133d482ba4f605' => 1662740067609015813\n 'b6dbb1c2b362bf51' => -5270423489115668655",
" :param hex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_context API.
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 make_context API.
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... | Converts available headers to TraceContext, if headers mapping does
not contain zipkin headers, function returns None. | "Converts available headers to TraceContext, if headers mapping does\n not contain zipkin headers, function returns None." | 32 | false | aio-libs/aiozipkin | make_context | 30,882 | |
LDU_FT/tgalal/python-axolotl/setSenderKeyState | LDU_FT | [
"<BEGIN>\n## `getSignature`",
":type signatureKey: ECPrivateKey\n :type serialized: bytearray\n<END>",
"<BEGIN>\n## `process`",
":param sessionRecord:\n :param message:\n :type message: PreKeyWhisperMessage\n<END>",
"<BEGIN>\n## `processV2`",
":type sessionRecord: SessionRecord\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setSenderKeyState API.
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 setSenderKeyState API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | :type id: int
:type iteration: int
:type chainKey: bytearray
:type signatureKey: ECKeyPair | ":type id: int\n :type iteration: int\n :type chainKey: bytearray\n :type signatureKey: ECKeyPair" | 46 | false | tgalal/python-axolotl | setSenderKeyState | 30,883 | |
LDU_FT/dmort27/panphon/match_pattern | LDU_FT | [
"<BEGIN>\n## `fts`",
"Return features corresponding to segment as list of (value,\n feature) tuples",
" Args:\n segment (unicode): segment for which features are to be returned as\n Unicode string",
" Returns:\n list: None if `segment` c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_pattern API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_pattern API.
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... | Implements fixed-width pattern matching.
Matches just in case pattern is the same length (in segments) as the
word and each of the segments in the pattern is a featural subset of the
corresponding segment in the word. Matches return the corresponding list
of feature sets; failed matches... | "Implements fixed-width pattern matching.\n\n Matches just in case pattern is the same length (in segments) as the\n word and each of the segments in the pattern is a featural subset of the\n corresponding segment in the word. Matches return the corresponding list\n of feature sets; failed m... | 112 | false | dmort27/panphon | match_pattern | 30,884 | |
LDU_FT/Azure/azure-python-devtools/clone_to_path | LDU_FT | [
"<BEGIN>\n## `checkout_create_push_branch`",
"Checkout this branch. Create it if necessary, and push it to origin.\n<END>",
"<BEGIN>\n## `checkout_with_fetch`",
"Fetch the refspec, and checkout FETCH_HEAD.\n Beware that you will ne in detached head mode.\n<END>",
"<BEGIN>\n## `clone_to_path`",
"Clone t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clone_to_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clone_to_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Clone the given repo_id to the folder.
If PR number is specified fetch the magic branches
pull/<id>/head or pull/<id>/merge from Github. "merge" is tried first, and fallback to "head".
Beware that pr_number implies detached head, and then no push is possible.
If branch is specified, checkout this bran... | "Clone the given repo_id to the folder.\n\n If PR number is specified fetch the magic branches\n pull/<id>/head or pull/<id>/merge from Github. \"merge\" is tried first, and fallback to \"head\".\n Beware that pr_number implies detached head, and then no push is possible.\n\n If branch is specified, checkou... | 41 | false | Azure/azure-python-devtools | clone_to_path | 30,885 | |
LDU_FT/hzdg/django-ecstatic/post_process | LDU_FT | [
"<BEGIN>\n## `rename_file`",
"Renames a file and updates the model field to point to the new file.\n Returns True if a change has been made; otherwise False\n<END>",
"<BEGIN>\n## `post_process`",
"Overridden to work around https://code.djangoproject.com/ticket/19111\n<END>",
"<BEGIN>\n## `post_proces... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post_process API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post_process API.
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... | Overridden to allow some files to be excluded (using
``postprocess_exclusions``) | "Overridden to allow some files to be excluded (using\n ``postprocess_exclusions``)" | 15 | false | hzdg/django-ecstatic | post_process | 30,886 | |
LDU_FT/lepture/otpauth/to_google | LDU_FT | [
"<BEGIN>\n## `generate_hotp`",
"Generate a HOTP code.",
" :param secret: A secret token for the authentication.\n :param counter: HOTP is a counter based algorithm.\n<END>",
"<BEGIN>\n## `generate_totp`",
"Generate a TOTP code.",
" A TOTP code is an extension of HOTP algorithm.",
" :param se... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_google API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_google API.
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... | Generate the otpauth protocal string for Google Authenticator.
.. deprecated:: 0.2.0
Use :func:`to_uri` instead. | "Generate the otpauth protocal string for Google Authenticator.\n\n .. deprecated:: 0.2.0\n Use :func:`to_uri` instead." | 19 | false | lepture/otpauth | to_google | 30,887 | |
LDU_FT/riga/law/forward_dashboard_event | LDU_FT | [
"<BEGIN>\n## `full_parser`",
"Returns the full *ArgumentParser* used by the luigi ``CmdlineParser``. The returned instance is\n cached.\n<END>",
"<BEGIN>\n## `root_task_parser`",
"Returns a new *ArgumentParser* instance that only contains paremeter actions of the root task.\n The returned instance is ca... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the forward_dashboard_event 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 forward_dashboard_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Hook to preprocess and publish dashboard events. By default, every event is passed to the
dashboard's :py:meth:`law.job.dashboard.BaseJobDashboard.publish` method unchanged. | "Hook to preprocess and publish dashboard events. By default, every event is passed to the\n dashboard's :py:meth:`law.job.dashboard.BaseJobDashboard.publish` method unchanged." | 279 | false | riga/law | forward_dashboard_event | 30,888 | |
LDU_FT/GeoPyTool/GeoPyTool/lines | LDU_FT | [
"<BEGIN>\n## `lines`",
"read the Excel, then draw the wulf net and Plot points, job done~\n<END>",
"<BEGIN>\n## `add_edge`",
"Add a line between the i-th and j-th points,\n if not in the list already\n<END>",
"<BEGIN>\n## `alpha_shape`",
"Compute the alpha shape (concave hull) of a set\n of points.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lines API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lines API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | read the Excel, then draw the wulf net and Plot points, job done~ | "read the Excel, then draw the wulf net and Plot points, job done~" | 53 | false | GeoPyTool/GeoPyTool | lines | 30,889 | |
LDU_FT/QUANTAXIS/QUANTAXIS/datastruct_formater | LDU_FT | [
"<BEGIN>\n## `start_market`",
"start the market thread and register backtest broker thread\n QAMarket 继承QATrader, QATrader 中有 trade_engine属性 , trade_engine类型是QA_Engine从 QA_Thread继承\n<END>",
"<BEGIN>\n## `message`",
"the standard message which can be transfer\n<END>",
"<BEGIN>\n## `init_hold_with_acco... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the datastruct_formater 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 datastruct_formater 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... | 一个任意格式转化为DataStruct的方法
Arguments:
data {[type]} -- [description]
Keyword Arguments:
frequence {[type]} -- [description] (default: {FREQUENCE.DAY})
market_type {[type]} -- [description] (default: {MARKET_TYPE.STOCK_CN})
default_header {list} -- [description] (default: {[... | "一个任意格式转化为DataStruct的方法\n \n Arguments:\n data {[type]} -- [description]\n \n Keyword Arguments:\n frequence {[type]} -- [description] (default: {FREQUENCE.DAY})\n market_type {[type]} -- [description] (default: {MARKET_TYPE.STOCK_CN})\n default_header {list} -- [description] (de... | 835 | false | QUANTAXIS/QUANTAXIS | datastruct_formater | 30,890 | |
LDU_FT/chrismattmann/tika-python/parse | LDU_FT | [
"<BEGIN>\n## `from_file`",
"Parses a file for metadata and content\n :param filename: path to file which needs to be parsed\n :param serverEndpoint: Server endpoint url\n :param xmlContent: Whether or not XML content be requested.\n Default is 'False', which results in text content.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Parse the objects and return extracted metadata and/or text in JSON format.
:param option:
:param urlOrPaths:
:param serverEndpoint:
:param verbose:
:param tikaServerJar:
:param responseMimeType:
:param services:
:return: | "Parse the objects and return extracted metadata and/or text in JSON format.\n :param option:\n :param urlOrPaths:\n :param serverEndpoint:\n :param verbose:\n :param tikaServerJar:\n :param responseMimeType:\n :param services:\n :return:" | 54 | false | chrismattmann/tika-python | parse | 30,891 | |
LDU_FT/albahnsen/CostSensitiveClassification/binary_classification_metrics | LDU_FT | [
"<BEGIN>\n## `_partition_estimators`",
"Private function used to partition estimators between jobs.\n<END>",
"<BEGIN>\n## `_parallel_build_estimators`",
"Private function used to build a batch of estimators within a job.\n<END>",
"<BEGIN>\n## `_parallel_predict_proba`",
"Private function used to compute (... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the binary_classification_metrics API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the binary_classification_metrics API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | classification_metrics.
This function cal...
Parameters
----------
y_true : array-like
Ground truth (correct) labels.
y_pred : array-like
Predicted labels, as returned by a classifier.
y_prob : array-like
Predicted probabilities, as returned by a classifier.
Retu... | "classification_metrics.\n\n This function cal...\n\n Parameters\n ----------\n y_true : array-like\n Ground truth (correct) labels.\n\n y_pred : array-like\n Predicted labels, as returned by a classifier.\n\n y_prob : array-like\n Predicted probabilities, as returned by a classif... | 334 | false | albahnsen/CostSensitiveClassification | binary_classification_metrics | 30,892 | |
LDU_FT/ayust/kitnirc/_parse_nick | LDU_FT | [
"<BEGIN>\n## `on_line`",
"Default handling for incoming lines.",
" This handler will automatically manage the following IRC messages:",
" PING:\n Responds with a PONG.\n PRIVMSG:\n Dispatches the PRIVMSG event.\n NOTICE:\n Dispatches the NOTICE event.\n MOTDSTART:\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_nick API.
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_nick API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Parse a NICK response, update state, and dispatch events.
Note: this function dispatches both a NICK event and also one or more
MEMBERS events for each channel the user that changed nick was in. | "Parse a NICK response, update state, and dispatch events.\n\n Note: this function dispatches both a NICK event and also one or more\n MEMBERS events for each channel the user that changed nick was in." | 151 | false | ayust/kitnirc | _parse_nick | 30,893 | |
LDU_FT/frawau/aiolifx/set_waveform | LDU_FT | [
"<BEGIN>\n## `mac_to_ipv6_linklocal`",
"Translate a MAC address into an IPv6 address in the prefixed network.",
" This function calculates the EUI (Extended Unique Identifier) from the given\n MAC address and prepend the needed prefix to come up with a valid IPv6 address.\n The default prefix is the li... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_waveform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_waveform API.
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... | Convenience method to animate the light, a dictionary with the the following
keys: transient, color, period, cycles, skew_ratio, waveform
This method will send a SetPower message to the device, and request callb be executed
when an ACK is received. The default callback will simply cache the val... | "Convenience method to animate the light, a dictionary with the the following\n keys: transient, color, period, cycles, skew_ratio, waveform\n\n This method will send a SetPower message to the device, and request callb be executed\n when an ACK is received. The default callback will simply cache th... | 134 | false | frawau/aiolifx | set_waveform | 30,894 | |
LDU_FT/edx/edx-django-release-util/dump_migration_session_state | LDU_FT | [
"<BEGIN>\n## `dump_migration_session_state`",
"Serialize a migration session state to yaml using nicer formatting",
" Args:\n raw: object to serialize\n Returns: string (of yaml)",
" Specifically, this forces the \"output\" member of state step dicts (e.g.\n state[0]['output']) to use block... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_migration_session_state 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 dump_migration_session_state API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Serialize a migration session state to yaml using nicer formatting
Args:
raw: object to serialize
Returns: string (of yaml)
Specifically, this forces the "output" member of state step dicts (e.g.
state[0]['output']) to use block formatting. For example, rather than this:
- migration: [app... | "Serialize a migration session state to yaml using nicer formatting\n\n Args:\n raw: object to serialize\n Returns: string (of yaml)\n\n Specifically, this forces the \"output\" member of state step dicts (e.g.\n state[0]['output']) to use block formatting. For example, rather than this:\n\n - mig... | 31 | false | edx/edx-django-release-util | dump_migration_session_state | 30,895 | |
LDU_FT/pypyr/pypyr-cli/move_file | LDU_FT | [
"<BEGIN>\n## `run_step`",
"Wipe the entire context.",
" Args:\n Context is a dictionary or dictionary-like.\n Does not require any specific keys in context.\n<END>",
"<BEGIN>\n## `get_parsed_context`",
"Parse input context string and returns context as dictionary.\n<END>",
"<BEGIN>\n## `r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Move source file to destination.
Overwrites dest.
Args:
src: str or path-like. source file
dest: str or path-like. destination file
Returns:
None.
Raises:
FileNotFoundError: out path parent doesn't exist.
OSError: if any IO operations go wrong. | "Move source file to destination.\n\n Overwrites dest.\n\n Args:\n src: str or path-like. source file\n dest: str or path-like. destination file\n\n Returns:\n None.\n\n Raises:\n FileNotFoundError: out path parent doesn't exist.\n OSError: if any IO operations go wrong." | 527 | false | pypyr/pypyr-cli | move_file | 30,896 | |
LDU_FT/Skype4Py/Skype4Py/OpenDialog | LDU_FT | [
"<BEGIN>\n## `AsyncSearchUsers`",
"Asynchronously searches for Skype users.",
" :Parameters:\n Target : unicode\n Search target (name or email address).",
" :return: A search identifier. It will be passed along with the results to the\n `SkypeEvents.AsyncSearc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the OpenDialog API.
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 OpenDialog API.
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... | Open dialog. Use this method to open dialogs added in newer Skype versions if there is no
dedicated method in Skype4Py.
:Parameters:
Name : str
Dialog name.
Params : unicode
One or more optional parameters. | "Open dialog. Use this method to open dialogs added in newer Skype versions if there is no\n dedicated method in Skype4Py.\n\n :Parameters:\n Name : str\n Dialog name.\n Params : unicode\n One or more optional parameters." | 213 | false | Skype4Py/Skype4Py | OpenDialog | 30,897 | |
LDU_FT/astroswego/plotypus/sanitize_latex | LDU_FT | [
"<BEGIN>\n## `Lomb_Scargle`",
"Returns the period of *data* according to the\n `Lomb-Scargle periodogram <https://en.wikipedia.org/wiki/Least-squares_spectral_analysis#The_Lomb.E2.80.93Scargle_periodogram>`_.",
" **Parameters**",
" data : array-like, shape = [n_samples, 2] or [n_samples, 3]\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sanitize_latex API.
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 sanitize_latex API.
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... | Sanitize a string for input to LaTeX.
Replacements taken from `Stack Overflow
<http://stackoverflow.com/questions/2627135/how-do-i-sanitize-latex-input>`_
**Parameters**
string: str
**Returns**
sanitized_string: str | "Sanitize a string for input to LaTeX.\n\n Replacements taken from `Stack Overflow\n <http://stackoverflow.com/questions/2627135/how-do-i-sanitize-latex-input>`_\n\n **Parameters**\n\n string: str\n\n **Returns**\n\n sanitized_string: str" | 152 | false | astroswego/plotypus | sanitize_latex | 30,898 | |
LDU_FT/lsbardel/python-stdnet/permitted_query | LDU_FT | [
"<BEGIN>\n## `load_iterable`",
"Load an ``iterable``.",
" By default it returns a generator of data loaded via the\n :meth:`loads` method.",
" :param iterable: an iterable over data to load.\n :param session: Optional :class:`stdnet.odm.Session`.\n :return: an iterable over ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the permitted_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the permitted_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 e... | Change the ``query`` so that only instances for which
``group`` has roles with permission on ``operations`` are returned. | "Change the ``query`` so that only instances for which\n``group`` has roles with permission on ``operations`` are returned." | 387 | false | lsbardel/python-stdnet | permitted_query | 30,899 | |
LDU_FT/larryng/narwal/contributors | LDU_FT | [
"<BEGIN>\n## `get`",
"Sends a GET request to a reddit path determined by ``args``. Basically ``.get('foo', 'bar', 'baz')`` will GET http://www.reddit.com/foo/bar/baz/.json. ``kwargs`` supplied will be passed to :meth:`requests.get` after having ``user_agent`` and ``cookies`` injected. Injection only occurs if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the contributors API.
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 contributors API.
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... | Login required. GETs list of contributors to subreddit ``sr``. Returns :class:`things.ListBlob` object.
**NOTE**: The :class:`things.Account` objects in the returned ListBlob *only* have ``id`` and ``name`` set. This is because that's all reddit returns. If you need full info on each contributor, yo... | "Login required. GETs list of contributors to subreddit ``sr``. Returns :class:`things.ListBlob` object.\n \n **NOTE**: The :class:`things.Account` objects in the returned ListBlob *only* have ``id`` and ``name`` set. This is because that's all reddit returns. If you need full info on each contributor,... | 147 | false | larryng/narwal | contributors | 30,900 | |
LDU_FT/brycepg/mand/replace_sys_args | LDU_FT | [
"<BEGIN>\n## `main`",
"Execute each module in the same interpreter.",
" Args:\n argv: Each item of argv will be treated as a separate\n module with potential arguments\n each item may be a string or a sequence of strings.\n If a given argument is a string, then treat s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_sys_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 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_sys_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 ... | Temporarily replace sys.argv with current arguments
Restores sys.argv upon exit of the context manager. | "Temporarily replace sys.argv with current arguments\n\n Restores sys.argv upon exit of the context manager." | 14 | false | brycepg/mand | replace_sys_args | 30,901 | |
LDU_FT/projectatomic/osbs-client/adjust_for_scratch | LDU_FT | [
"<BEGIN>\n## `get_openshift_base_uri`",
"https://<host>[:<port>]/",
" :return: str\n<END>",
"<BEGIN>\n## `get_builder_openshift_url`",
"url of OpenShift where builder will connect\n<END>",
"<BEGIN>\n## `generate_nodeselector_dict`",
"helper method for generating nodeselector dict\n :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the adjust_for_scratch 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 adjust_for_scratch 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... | Remove certain plugins in order to handle the "scratch build"
scenario. Scratch builds must not affect subsequent builds,
and should not be imported into Koji. | "Remove certain plugins in order to handle the \"scratch build\"\n scenario. Scratch builds must not affect subsequent builds,\n and should not be imported into Koji." | 268 | false | projectatomic/osbs-client | adjust_for_scratch | 30,902 | |
LDU_FT/higlass/higlass-python/change_options | LDU_FT | [
"<BEGIN>\n## `get_filepath`",
"Get the filepath from a tileset definition\n Parameters\n ----------\n tileset_def: { 'filepath': ..., 'uid': ..., 'filetype': ...}\n The tileset definition\n returns: string\n The filepath, either as specified in the tileset_def or\n None\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the change_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the change_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 ex... | Change one of the track's options in the viewconf | "Change one of the track's options in the viewconf" | 34 | false | higlass/higlass-python | change_options | 30,903 | |
LDU_FT/Projectplace/basepage/get_present_child | LDU_FT | [
"<BEGIN>\n## `click`",
"Click web element.",
" :param locator: locator tuple or WebElement instance\n :param params: (optional) locator parameters\n :param timeout: (optional) time to wait for element\n :return: None\n<END>",
"<BEGIN>\n## `alt_click`",
"Alt-click web element.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_present_child API.
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_present_child API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Get child-element present in the DOM.
If timeout is 0 (zero) return WebElement instance or None, else we wait and retry for timeout and raise
TimeoutException should the element not be found.
:param parent: parent-element
:param locator: locator tuple
:param params: (optional) ... | "Get child-element present in the DOM.\n\n If timeout is 0 (zero) return WebElement instance or None, else we wait and retry for timeout and raise\n TimeoutException should the element not be found.\n\n :param parent: parent-element\n :param locator: locator tuple\n :param params: (op... | 138 | false | Projectplace/basepage | get_present_child | 30,904 | |
LDU_FT/greenbone/ospd/ports_as_list | LDU_FT | [
"<BEGIN>\n## `run_command`",
"Run a single command via SSH and return the content of stdout or\n None in case of an Error. A scan error is issued in the latter\n case.",
" For logging into 'host', the scan options 'port', 'username',\n 'password' and 'ssh_timeout' are used.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ports_as_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ports_as_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Parses a ports string into two list of individual tcp and udp ports.
@input string containing a port list
e.g. T:1,2,3,5-8 U:22,80,600-1024
@return two list of sorted integers, for tcp and udp ports respectively. | "Parses a ports string into two list of individual tcp and udp ports.\n\n @input string containing a port list\n e.g. T:1,2,3,5-8 U:22,80,600-1024\n\n @return two list of sorted integers, for tcp and udp ports respectively." | 203 | false | greenbone/ospd | ports_as_list | 30,905 | |
LDU_FT/Azure/msrest-for-python/deserialize | LDU_FT | [
"<BEGIN>\n## `async_poller`",
"Async Poller for long running operations.",
" :param client: A msrest service client. Can be a SDK client and it will be casted to a ServiceClient.\n :type client: msrest.service_client.ServiceClient\n :param initial_response: The initial call response\n :type initial_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deserialize API.
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 deserialize API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Parse a str using the RestAPI syntax and return a model.
:param str data: A str using RestAPI structure. JSON by default.
:param str content_type: JSON by default, set application/xml if XML.
:returns: An instance of this model
:raises: DeserializationError if something went wrong | "Parse a str using the RestAPI syntax and return a model.\n\n :param str data: A str using RestAPI structure. JSON by default.\n :param str content_type: JSON by default, set application/xml if XML.\n :returns: An instance of this model\n :raises: DeserializationError if something went wrong... | 324 | false | Azure/msrest-for-python | deserialize | 30,906 | |
LDU_FT/HumanCellAtlas/dcplib/_long_to_bytes | LDU_FT | [
"<BEGIN>\n## `_long_to_bytes`",
"Turns a long value into its byte string equivalent.\n :param long_value: the long value to be returned as a byte string\n :return: a byte string equivalent of a long value\n<END>",
"<BEGIN>\n## `add_message_to_queue`",
"Given a payload (a dict) and any optional m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _long_to_bytes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _long_to_bytes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Turns a long value into its byte string equivalent.
:param long_value: the long value to be returned as a byte string
:return: a byte string equivalent of a long value | "Turns a long value into its byte string equivalent.\n :param long_value: the long value to be returned as a byte string\n :return: a byte string equivalent of a long value" | 10 | false | HumanCellAtlas/dcplib | _long_to_bytes | 30,907 | |
LDU_FT/rbarrois/python-semanticversion/identifier_list_cmp | LDU_FT | [
"<BEGIN>\n## `identifier_cmp`",
"Compare two identifier (for pre-release/build components).\n<END>",
"<BEGIN>\n## `identifier_list_cmp`",
"Compare two identifier list (pre-release/build components).",
" The rule is:\n - Identifiers are paired between lists\n - They are compared from left to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the identifier_list_cmp 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 identifier_list_cmp 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... | Compare two identifier list (pre-release/build components).
The rule is:
- Identifiers are paired between lists
- They are compared from left to right
- If all first identifiers match, the longest list is greater.
>>> identifier_list_cmp(['1', '2'], ['1', '2'])
0
>>> identifier... | "Compare two identifier list (pre-release/build components).\n\n The rule is:\n - Identifiers are paired between lists\n - They are compared from left to right\n - If all first identifiers match, the longest list is greater.\n\n >>> identifier_list_cmp(['1', '2'], ['1', '2'])\n 0\n >>> ... | 29 | false | rbarrois/python-semanticversion | identifier_list_cmp | 30,908 | |
LDU_FT/TomasTomecek/sen/repeater | LDU_FT | [
"<BEGIN>\n## `quit`",
"This could be called from another thread, so let's do this via alarm\n<END>",
"<BEGIN>\n## `_set_main_widget`",
"add provided widget to widget list and display it",
" :param widget:\n :return:\n<END>",
"<BEGIN>\n## `display_buffer`",
"display provided buffer",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the repeater API.
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 repeater API.
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... | repeat call x-times: docker API is just awesome
:param call: function
:param args: tuple, args for function
:param kwargs: dict, kwargs for function
:param retries: int, how many times we try?
:return: response of the call | "repeat call x-times: docker API is just awesome\n\n :param call: function\n :param args: tuple, args for function\n :param kwargs: dict, kwargs for function\n :param retries: int, how many times we try?\n :return: response of the call" | 85 | false | TomasTomecek/sen | repeater | 30,909 | |
LDU_FT/mdavidsaver/p4p/buildType | LDU_FT | [
"<BEGIN>\n## `_sync`",
"I will wait until all pending handlers cothreads have completed\n<END>",
"<BEGIN>\n## `close`",
"Close PV, disconnecting any clients.",
" :param bool destroy: Indicate \"permanent\" closure. Current clients will not see subsequent open().\n :param bool sync: When block... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the buildType API.
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 buildType API.
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... | Build NTURI
:param list args: A list of tuples of query argument name and PVD type code.
>>> I = NTURI([
('arg_a', 'I'),
('arg_two', 's'),
]) | "Build NTURI\n\n :param list args: A list of tuples of query argument name and PVD type code.\n\n >>> I = NTURI([\n ('arg_a', 'I'),\n ('arg_two', 's'),\n ])" | 201 | false | mdavidsaver/p4p | buildType | 30,910 | |
LDU_FT/TheHive-Project/Cortex-Analyzers/submit_sample | LDU_FT | [
"<BEGIN>\n## `auth_string`",
"Authenticate based on username and token which is base64-encoded\n<END>",
"<BEGIN>\n## `api_related`",
"Find related objects through SoltraEdge API\n<END>",
"<BEGIN>\n## `tlp_classifiers`",
"Classifier between Cortex and Soltra.\n Soltra uses name-TLP, and Cortex \"val... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the submit_sample API.
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 submit_sample API.
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... | Uploads a new sample to VMRay api. Filename gets sent base64 encoded.
:param filepath: path to sample
:type filepath: str
:param filename: filename of the original file
:type filename: str
:param tags: List of tags to apply to the sample
:type tags: list(str)
:re... | "Uploads a new sample to VMRay api. Filename gets sent base64 encoded.\n\n :param filepath: path to sample\n :type filepath: str\n :param filename: filename of the original file\n :type filename: str\n :param tags: List of tags to apply to the sample\n :type tags: list(str)\n ... | 328 | false | TheHive-Project/Cortex-Analyzers | submit_sample | 30,911 | |
LDU_FT/Metatab/metapack/build | LDU_FT | [
"<BEGIN>\n## `_load_resource`",
"The CSV package has no reseources, so we just need to resolve the URLs to them. Usually, the\n CSV package is built from a file system ackage on a publically acessible server.\n<END>",
"<BEGIN>\n## `set_s3_profile`",
"Load the credentials for an s3 profile into envi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API.
Each 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 build API.
Each 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... | Build source packages.
The mp build program runs all of the resources listed in a Metatab file and
produces one or more Metapack packages with those resources localized. It
will always try to produce a Filesystem package, and may optionally produce
Excel, Zip and CSV packages.
Typical usage is to ... | "Build source packages.\n\n The mp build program runs all of the resources listed in a Metatab file and\n produces one or more Metapack packages with those resources localized. It\n will always try to produce a Filesystem package, and may optionally produce\n Excel, Zip and CSV packages.\n\n Typical usag... | 261 | false | Metatab/metapack | build | 30,912 | |
LDU_FT/miguelgrinberg/python-engineio/signal_handler | LDU_FT | [
"<BEGIN>\n## `signal_handler`",
"SIGINT handler.",
" Disconnect all active clients and then invoke the original signal handler.\n<END>",
"<BEGIN>\n## `on`",
"Register an event handler.",
" :param event: The event name. Can be ``'connect'``, ``'message'`` or\n ``'disconnect'`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the signal_handler API.
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 signal_handler API.
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... | SIGINT handler.
Disconnect all active clients and then invoke the original signal handler. | "SIGINT handler.\n\n Disconnect all active clients and then invoke the original signal handler." | 128 | false | miguelgrinberg/python-engineio | signal_handler | 30,913 | |
LDU_FT/ziwenxie/netease-dl/get_artists_hot_songs | LDU_FT | [
"<BEGIN>\n## `download_song_by_search`",
"Download a song by its name.",
" :params song_name: song name.\n<END>",
"<BEGIN>\n## `download_song_by_id`",
"Download a song by id and save it to disk.",
" :params song_id: song id.\n :params song_name: song name.\n :params folder: sto... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_artists_hot_songs 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_artists_hot_songs 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 a artist's top50 songs.
warning: use old api.
:params artist_id: artist id.
:return: a list of Song object. | "Get a artist's top50 songs.\n\n warning: use old api.\n :params artist_id: artist id.\n :return: a list of Song object." | 99 | false | ziwenxie/netease-dl | get_artists_hot_songs | 30,914 | |
LDU_FT/docker/docker-py/update_service | LDU_FT | [
"<BEGIN>\n## `compare_version`",
"Compare docker versions",
" >>> v1 = '1.9'\n >>> v2 = '1.10'\n >>> compare_version(v1, v2)\n 1\n >>> compare_version(v2, v1)\n -1\n >>> compare_version(v2, v2)\n 0\n<END>",
"<BEGIN>\n## `datetime_to_timestamp`",
"Convert a UTC datetime to a Unix time... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_service API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_service API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Update a service.
Args:
service (string): A service identifier (either its name or service
ID).
version (int): The version number of the service object being
updated. This is required to avoid conflicting writes.
task_template (TaskTemplate): ... | "Update a service.\n\n Args:\n service (string): A service identifier (either its name or service\n ID).\n version (int): The version number of the service object being\n updated. This is required to avoid conflicting writes.\n task_template (TaskTem... | 998 | false | docker/docker-py | update_service | 30,915 | |
LDU_FT/jashort/SmartFileSorter/add_match_rules | LDU_FT | [
"<BEGIN>\n## `do_action`",
":param target: Full path and filename\n :param dry_run: True - don't actually perform action. False: perform action. No effect for this rule.\n :return: filename: Full path and filename after action completes\n<END>",
"<BEGIN>\n## `add_match_rule`",
"Adds the given ma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_match_rules API.
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 add_match_rules API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Add the given match rules to the ruleset. Handles single rules or a list of rules.
:param match_rules: Object representing YAML section from config file
:return:
Example match_rules object:
[{'filename-starts-with': 'abc'}, {'filename-ends-with': 'xyz'] | "Add the given match rules to the ruleset. Handles single rules or a list of rules.\n :param match_rules: Object representing YAML section from config file\n :return:\n\n Example match_rules object:\n [{'filename-starts-with': 'abc'}, {'filename-ends-with': 'xyz']" | 38 | false | jashort/SmartFileSorter | add_match_rules | 30,916 | |
LDU_FT/openvax/mhcflurry/fixed_vectors_encoding | LDU_FT | [
"<BEGIN>\n## `extend`",
"Return a new HyperparameterDefaults instance containing the\n hyperparameters from the current instance combined with\n those from other.",
" It is an error if self and other have any hyperparameters in\n common.\n<END>",
"<BEGIN>\n## `with_defaults`",
"G... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fixed_vectors_encoding 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 fixed_vectors_encoding API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Given a `n` x `k` matrix of integers such as that returned by `index_encoding()` and
a dataframe mapping each index to an arbitrary vector, return a `n * k * m`
array where the (`i`, `j`)'th element is `letter_to_vector_df.iloc[sequence[i][j]]`.
The dataframe index and columns names are ignored here; the i... | "Given a `n` x `k` matrix of integers such as that returned by `index_encoding()` and\n a dataframe mapping each index to an arbitrary vector, return a `n * k * m`\n array where the (`i`, `j`)'th element is `letter_to_vector_df.iloc[sequence[i][j]]`.\n\n The dataframe index and columns names are ignored here; ... | 272 | false | openvax/mhcflurry | fixed_vectors_encoding | 30,917 | |
LDU_FT/xtrinch/fcm-django/send_message | LDU_FT | [
"<BEGIN>\n## `send_message`",
"Send notification for all active devices in queryset and deactivate if\n DELETE_INACTIVE_DEVICES setting is set to True.\n<END>",
"<BEGIN>\n## `send_data_message`",
"Send data messages for all active devices in queryset and deactivate if\n DELETE_INACTIVE_DEVICES s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Send notification for all active devices in queryset and deactivate if
DELETE_INACTIVE_DEVICES setting is set to True. | "Send notification for all active devices in queryset and deactivate if\n DELETE_INACTIVE_DEVICES setting is set to True." | 24 | false | xtrinch/fcm-django | send_message | 30,918 | |
LDU_FT/biocommons/hgvs/c_to_n | LDU_FT | [
"<BEGIN>\n## `_expose_rule_functions`",
"add parse functions for public grammar rules",
" Defines a function for each public grammar rule, based on\n introspecting the grammar. For example, the `c_interval` rule\n is exposed as a method `parse_c_interval` and used like this::",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the c_to_n API.
Each 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 c_to_n API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | convert a transcript CDS (c.) interval to a transcript cDNA (n.) interval | "convert a transcript CDS (c.) interval to a transcript cDNA (n.) interval" | 210 | false | biocommons/hgvs | c_to_n | 30,919 | |
LDU_FT/DeVilhena-Paulo/KdQuery/nearest_point | LDU_FT | [
"<BEGIN>\n## `interval_condition`",
"Checks if value belongs to the interval [inf - dist, sup + dist].\n<END>",
"<BEGIN>\n## `nearest_point`",
"Find the point in the tree that minimizes the distance to the query.",
" This method implements the nearest_point query for any structure\n implementing a kd-... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nearest_point API.
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 nearest_point API.
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... | Find the point in the tree that minimizes the distance to the query.
This method implements the nearest_point query for any structure
implementing a kd-tree. The only requirement is a function capable to
extract the relevant properties from a node representation of the
particular implementation.
A... | "Find the point in the tree that minimizes the distance to the query.\n\n This method implements the nearest_point query for any structure\n implementing a kd-tree. The only requirement is a function capable to\n extract the relevant properties from a node representation of the\n particular implementation.\... | 22 | false | DeVilhena-Paulo/KdQuery | nearest_point | 30,920 | |
LDU_FT/sbarham/dsrt/dispatch_subcommand | LDU_FT | [
"<BEGIN>\n## `predict`",
"Take in an integer-vectorized (i.e., index) vector, and predict the maximally\n likely response, returning it as an integer-vectorized (i.e., index) vector.\n<END>",
"<BEGIN>\n## `pad_dialogues`",
"Pad the entire dataset.\n This involves adding padding at the end of eac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dispatch_subcommand 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 dispatch_subcommand 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... | Note that the way we're doing this is elegant, but dangerous.
It doesn't require, but does encourage, us to define no Application#
methods beyond those corresponding to the supported subcommands | "Note that the way we're doing this is elegant, but dangerous.\n It doesn't require, but does encourage, us to define no Application#\n methods beyond those corresponding to the supported subcommands" | 77 | false | sbarham/dsrt | dispatch_subcommand | 30,921 | |
LDU_FT/peterldowns/lggr/GMailer | LDU_FT | [
"<BEGIN>\n## `FilePrinter`",
"Opens the given file and returns a printer to it.\n<END>",
"<BEGIN>\n## `Emailer`",
"Sends messages as emails to the given list\n of recipients.\n<END>",
"<BEGIN>\n## `GMailer`",
"Sends messages as emails to the given list\n of recipients, from a GMail account.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GMailer API.
Each 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 GMailer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Sends messages as emails to the given list
of recipients, from a GMail account. | "Sends messages as emails to the given list\n of recipients, from a GMail account." | 28 | false | peterldowns/lggr | GMailer | 30,922 | |
LDU_FT/asweigart/pyautogui/getWindows | LDU_FT | [
"<BEGIN>\n## `_specialKeyEvent`",
"Helper method for special keys.",
" Source: http://stackoverflow.com/questions/11045814/emulate-media-key-press-on-mac\n<END>",
"<BEGIN>\n## `_keyDown`",
"Performs a keyboard key press without the release. This will put that\n key in a held down state.",
" NOTE:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getWindows API.
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 getWindows API.
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 dict: {'window title' : window handle} for all visible windows | "Return dict: {'window title' : window handle} for all visible windows" | 162 | false | asweigart/pyautogui | getWindows | 30,923 | |
LDU_FT/discogs/python-cas-client/parse_logout_request | LDU_FT | [
"<BEGIN>\n## `acquire_auth_token_ticket`",
"Acquire an auth token from the CAS server.\n<END>",
"<BEGIN>\n## `create_session`",
"Create a session record from a service ticket.\n<END>",
"<BEGIN>\n## `delete_session`",
"Delete a session record associated with a service ticket.\n<END>",
"<BEGIN>\n## `get_a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_logout_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_logout_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Parse the contents of a CAS `LogoutRequest` XML message.
::
>>> from cas_client import CASClient
>>> client = CASClient('https://logmein.com')
>>> message_text = """
... <samlp:LogoutRequest
... xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
... | "Parse the contents of a CAS `LogoutRequest` XML message.\n\n ::\n\n >>> from cas_client import CASClient\n >>> client = CASClient('https://logmein.com')\n >>> message_text = \"\"\"\n ... <samlp:LogoutRequest\n ... xmlns:samlp=\"urn:oasis:names:tc:SAML:2... | 30 | false | discogs/python-cas-client | parse_logout_request | 30,924 | |
LDU_FT/OpenTreeOfLife/peyotl/_add_and_commit | LDU_FT | [
"<BEGIN>\n## `write_taxon_info`",
"Writes out data from `taxon` to the `output` stream to demonstrate\n the attributes of a taxon object.\n (currently some lines are commented out until the web-services call returns more info. See:\n https://github.com/OpenTreeOfLife/taxomachine/issues/85\n ).\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_and_commit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_and_commit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Low level function used internally when you have an absolute filepath to add and commit | "Low level function used internally when you have an absolute filepath to add and commit" | 456 | false | OpenTreeOfLife/peyotl | _add_and_commit | 30,925 | |
LDU_FT/bastibe/SoundFile/_init_virtual_io | LDU_FT | [
"<BEGIN>\n## `read`",
"Provide audio data from a sound file as NumPy array.",
" By default, the whole file is read from the beginning, but the\n position to start reading can be specified with `start` and the\n number of frames to read can be specified with `frames`.\n Alternatively, a range can be ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init_virtual_io API.
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 _init_virtual_io API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Initialize callback functions for sf_open_virtual(). | "Initialize callback functions for sf_open_virtual()." | 139 | false | bastibe/SoundFile | _init_virtual_io | 30,926 | |
LDU_FT/hMatoba/Piexif/dump | LDU_FT | [
"<BEGIN>\n## `dump`",
"py:function:: piexif.load(data)",
" Return exif as bytes.",
" :param dict exif: Exif data({\"0th\":dict, \"Exif\":dict, \"GPS\":dict, \"Interop\":dict, \"1st\":dict, \"thumbnail\":bytes})\n :return: Exif\n :rtype: bytes\n<END>",
"<BEGIN>\n## `insert`",
"py:function:: pie... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API.
Each 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 dump API.
Each 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... | Convert str to appropriate format for "UserComment".
:param data: Like u"foobar"
:param str encoding: "ascii", "jis", or "unicode"
:return: b"ASCII\x00\x00\x00foobar"
:rtype: bytes
:raises: ValueError if the encoding is unsupported. | "Convert str to appropriate format for \"UserComment\".\n\n :param data: Like u\"foobar\"\n :param str encoding: \"ascii\", \"jis\", or \"unicode\"\n :return: b\"ASCII\\x00\\x00\\x00foobar\"\n :rtype: bytes\n :raises: ValueError if the encoding is unsupported." | 32 | false | hMatoba/Piexif | dump | 30,927 | |
LDU_FT/signaturit/python-sdk/update_group | LDU_FT | [
"<BEGIN>\n## `get_signature`",
"Get a concrete Signature\n @return Signature data\n<END>",
"<BEGIN>\n## `download_audit_trail`",
"Get the audit trail of concrete document\n @signature_id: Id of signature\n @document_id: Id of document\n<END>",
"<BEGIN>\n## `download_signed_document`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_group API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_group API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Change group name
:param group_id: Id of group
:param name: Group name | "Change group name\n :param group_id: Id of group\n :param name: Group name" | 52 | false | signaturit/python-sdk | update_group | 30,928 | |
LDU_FT/pzs741/TEDT/find | LDU_FT | [
"<BEGIN>\n## `get_url`",
"获取url地址并根据网页编码格式自动解析",
" Keyword arguments:\n url -- 用户传入地址,头部必须含有http://\n Return:\n 网页源代码(为了下一步预处理方便,所有英文字母转换为小写)\n 网页编解码\n<END>",
"<BEGIN>\n## `html_clean`",
"获取网页源代码并进行预处理",
" Keyword arguments:\n html_code -- 网页源代码,字符... | 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... | 按照简单、一般、特殊的顺序寻找新闻发布时间
Keyword *params:
params -- 可以接收多个含有时间的文本,str类型 | "按照简单、一般、特殊的顺序寻找新闻发布时间\n\n Keyword *params:\n params -- 可以接收多个含有时间的文本,str类型" | 91 | false | pzs741/TEDT | find | 30,929 | |
LDU_FT/persandstrom/python-verisure/get_lock_state_transaction | LDU_FT | [
"<BEGIN>\n## `login`",
"Login to verisure app api",
" Login before calling any read or write commands\n<END>",
"<BEGIN>\n## `set_smartplug_state`",
"Turn on or off smartplug",
" Args:\n device_label (str): Smartplug device label\n state (boolean): new status, 'True' or ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_lock_state_transaction API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_lock_state_transaction API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Get lock state transaction status
Args:
transaction_id: Transaction ID received from set_lock_state | "Get lock state transaction status\n\n Args:\n transaction_id: Transaction ID received from set_lock_state" | 36 | false | persandstrom/python-verisure | get_lock_state_transaction | 30,930 | |
LDU_FT/greenbone/ospd/inet_ntop | LDU_FT | [
"<BEGIN>\n## `run_command`",
"Run a single command via SSH and return the content of stdout or\n None in case of an Error. A scan error is issued in the latter\n case.",
" For logging into 'host', the scan options 'port', 'username',\n 'password' and 'ssh_timeout' are used.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inet_ntop API.
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 inet_ntop API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | A platform independent version of inet_ntop | "A platform independent version of inet_ntop" | 203 | false | greenbone/ospd | inet_ntop | 30,931 | |
LDU_FT/HazyResearch/pdftotree/get_vertical_and_horizontal | LDU_FT | [
"<BEGIN>\n## `_retain_centroids`",
"Only keep one number for each cluster within thres of each other\n<END>",
"<BEGIN>\n## `_split_vlines_hlines`",
"Separates lines into horizontal and vertical ones\n<END>",
"<BEGIN>\n## `_mark_grid_bounds`",
"Assume all lines define a complete grid over the region_bbox.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_vertical_and_horizontal API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_vertical_and_horizontal API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Extracts vertical and horizontal lines lists
:param lines: list of lines coordinates
:return: vertical_lines, horitontal_lines (2 lists of coordinates) | "Extracts vertical and horizontal lines lists\n :param lines: list of lines coordinates\n :return: vertical_lines, horitontal_lines (2 lists of coordinates)" | 113 | false | HazyResearch/pdftotree | get_vertical_and_horizontal | 30,932 | |
LDU_FT/rhayes777/PyAutoFit/constant_tuples | LDU_FT | [
"<BEGIN>\n## `residual_map_from_data_mask_and_model_data`",
"Compute the residual map between a masked observed data and model data, where:",
" Residuals = (Data - Model_Data).",
" Parameters\n -----------\n data : np.ndarray\n The observed data that is fitted.\n mask : np.ndarray\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the constant_tuples API.
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 constant_tuples API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Returns
-------
constants: [(String, Constant)]
A list of constants | "Returns\n -------\n constants: [(String, Constant)]\n A list of constants" | 243 | false | rhayes777/PyAutoFit | constant_tuples | 30,933 | |
LDU_FT/Bystroushaak/zeo_connector_defaults/generate_environment | LDU_FT | [
"<BEGIN>\n## `data_context_name`",
"Return the `fn` in absolute path in `template_data` directory.\n<END>",
"<BEGIN>\n## `data_context`",
"Return content fo the `fn` from the `template_data` directory.\n<END>",
"<BEGIN>\n## `tmp_context`",
"Return content fo the `fn` from the temporary directory.\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_environment 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 generate_environment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Generate the environment in ``/tmp`` and run the ZEO server process in
another thread. | "Generate the environment in ``/tmp`` and run the ZEO server process in\n another thread." | 10 | false | Bystroushaak/zeo_connector_defaults | generate_environment | 30,934 | |
LDU_FT/azogue/i2csense/_compensate_humidity | LDU_FT | [
"<BEGIN>\n## `_compensate_temperature`",
"Compensate temperature.",
" Formula from datasheet Bosch BME280 Environmental sensor.\n 8.1 Compensation formulas in double precision floating point\n Edition BST-BME280-DS001-10 | Revision 1.1 | May 2015\n<END>",
"<BEGIN>\n## `_compensate_pressur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compensate_humidity 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 _compensate_humidity API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Compensate humidity.
Formula from datasheet Bosch BME280 Environmental sensor.
8.1 Compensation formulas in double precision floating point
Edition BST-BME280-DS001-10 | Revision 1.1 | May 2015. | "Compensate humidity.\n\n Formula from datasheet Bosch BME280 Environmental sensor.\n 8.1 Compensation formulas in double precision floating point\n Edition BST-BME280-DS001-10 | Revision 1.1 | May 2015." | 35 | false | azogue/i2csense | _compensate_humidity | 30,935 | |
LDU_FT/benoitkugler/abstractDataLibrary/set_item | LDU_FT | [
"<BEGIN>\n## `recherche`",
"abstractSearch in fields of collection and reset rendering.\n Returns number of results.\n If in_all is True, call get_all before doing the search.\n<END>",
"<BEGIN>\n## `launch_background_job`",
"Launch the callable job in background thread.\n Succes or failur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_item API.
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 set_item API.
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... | Changes item at index in collection. Emit dataChanged signal.
:param index: Number of row or index of cell
:param new_item: Dict-like object | "Changes item at index in collection. Emit dataChanged signal.\n\n :param index: Number of row or index of cell\n :param new_item: Dict-like object" | 131 | false | benoitkugler/abstractDataLibrary | set_item | 30,936 | |
LDU_FT/Ezhil-Language-Foundation/open-tamil/expand_tamil | LDU_FT | [
"<BEGIN>\n## `unicode2encode`",
"charmap : dictionary which has both encode as key, unicode as value\n<END>",
"<BEGIN>\n## `unicode2auto`",
"This function will convert unicode (first argument) text into other\r\n encodes by auto find the encode (from available encodes) by using sample\r\n encode text in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expand_tamil API.
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 expand_tamil API.
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... | expand uyir or mei-letter range etc.
i.e. அ-ஔ gets converted to அ,ஆ,இ,ஈ,உ,ஊ,எ,ஏ,ஐ,ஒ,ஓ,ஔ etc. | "expand uyir or mei-letter range etc.\n i.e. அ-ஔ gets converted to அ,ஆ,இ,ஈ,உ,ஊ,எ,ஏ,ஐ,ஒ,ஓ,ஔ etc." | 90 | false | Ezhil-Language-Foundation/open-tamil | expand_tamil | 30,937 | |
LDU_FT/dragnet-org/dragnet/read_gold_standard_file | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit :class`Extractor` features and model to a training dataset.",
" Args:\n blocks (List[Block])\n labels (``np.ndarray``)\n weights (``np.ndarray``)",
" Returns:\n :class`Extractor`\n<END>",
"<BEGIN>\n## `get_html_labels_weight... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_gold_standard_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_gold_standard_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Read the gold standard content file corresponding to identifier ``fileroot``
in the gold standard directory below the root ``data_dir``.
Args:
data_dir (str)
fileroot (str)
encoding (str)
cetr (bool): if True, assume no comments and parse the gold standard
to remove ... | "Read the gold standard content file corresponding to identifier ``fileroot``\n in the gold standard directory below the root ``data_dir``.\n\n Args:\n data_dir (str)\n fileroot (str)\n encoding (str)\n cetr (bool): if True, assume no comments and parse the gold standard\n t... | 134 | false | dragnet-org/dragnet | read_gold_standard_file | 30,938 | |
LDU_FT/welbornprod/colr/as_colr | LDU_FT | [
"<BEGIN>\n## `main`",
"Main entry point, expects doctopt arg dict as argd.\n<END>",
"<BEGIN>\n## `print_err`",
"A wrapper for print() that uses stderr by default.\n<END>",
"<BEGIN>\n## `walk_dir_animated`",
"Walk a directory, printing status updates along the way.\n<END>",
"<BEGIN>\n## `walk_dir_progres... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_colr API.
Each 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 as_colr API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Like __str__, except it returns a colorized Colr instance. | "Like __str__, except it returns a colorized Colr instance." | 316 | false | welbornprod/colr | as_colr | 30,939 | |
LDU_FT/openpermissions/koi/create_dev_cert | LDU_FT | [
"<BEGIN>\n## `define_options`",
"Define the options from default.conf dynamically\n<END>",
"<BEGIN>\n## `log_config`",
"Logs the config used to start the application\n<END>",
"<BEGIN>\n## `ssl_server_options`",
"ssl options for tornado https server\n these options are defined in each application's defa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_dev_cert API.
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 create_dev_cert API.
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... | A command to generate a self signed certificate for dev purposes.
:param name: name ro be given to the cert and key
:param dest: location on local filesystem to store the generated files
:return: | "A command to generate a self signed certificate for dev purposes.\n :param name: name ro be given to the cert and key\n :param dest: location on local filesystem to store the generated files\n :return:" | 122 | false | openpermissions/koi | create_dev_cert | 30,940 | |
LDU_FT/dstufft/crust/order_by | LDU_FT | [
"<BEGIN>\n## `subclass_exception`",
"Create exception subclass.",
" If 'attached_to' is supplied, the exception will be created in a way that\n allows it to be pickled, assuming the returned exception class will be added\n as an attribute to the 'attached_to' class.\n<END>",
"<BEGIN>\n## `save`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the order_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 extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the order_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 extracte... | Returns a new QuerySet instance with the ordering changed. | "Returns a new QuerySet instance with the ordering changed." | 38 | false | dstufft/crust | order_by | 30,941 | |
LDU_FT/DomBennett/TaxonNamesResolver/_sieve | LDU_FT | [
"<BEGIN>\n## `stringClade`",
"Return a Newick string from a list of TaxRefs\n<END>",
"<BEGIN>\n## `_slice`",
"Return list of tuples of ident and lineage ident for given level\n(numbered rank)\n<END>",
"<BEGIN>\n## `_group`",
"Return list of lists of idents grouped by shared rank\n<END>",
"<BEGIN>\n## `_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sieve API.
Each 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 _sieve API.
Each 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 json object without multiple returns per resolved name.\
Names with multiple records are reduced by finding the name in the clade of\
interest, have the highest score, have the lowest taxonomic rank (if lowrank is
true) and/or are the first item returned. | "Return json object without multiple returns per resolved name.\\\nNames with multiple records are reduced by finding the name in the clade of\\\ninterest, have the highest score, have the lowest taxonomic rank (if lowrank is\ntrue) and/or are the first item returned." | 18 | false | DomBennett/TaxonNamesResolver | _sieve | 30,942 | |
LDU_FT/matousc89/padasip/update | LDU_FT | [
"<BEGIN>\n## `standardize_back`",
"This is function for de-standarization of input series.",
" **Args:**",
" * `xs` : standardized input (1 dimensional array)",
" * `offset` : offset to add (float).",
" * `scale` : scale (float).",
" **Returns:**",
" * `x` : original (destandardised)... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | This function make update according provided target
and the last used input vector.
**Args:**
* `d` : target (float or 1-dimensional array).
Size depends on number of MLP outputs.
**Returns:**
* `w` : weights of the layers (2-dimensional layer).
Every ... | "This function make update according provided target\n and the last used input vector.\n\n **Args:**\n\n * `d` : target (float or 1-dimensional array).\n Size depends on number of MLP outputs.\n\n **Returns:**\n\n * `w` : weights of the layers (2-dimensional layer).\n ... | 327 | false | matousc89/padasip | update | 30,943 | |
LDU_FT/emilssolmanis/tapes/stop | LDU_FT | [
"<BEGIN>\n## `start`",
"Starts the registry aggregator.",
" :param fork: whether to fork a process; if ``False``, blocks and stays in the existing process\n<END>",
"<BEGIN>\n## `stop`",
"Terminates the forked process.",
" Only valid if started as a fork, because... well you wouldn't get here... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API.
Each 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 stop API.
Each 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... | Terminates the forked process.
Only valid if started as a fork, because... well you wouldn't get here otherwise.
:return: | "Terminates the forked process.\n\n Only valid if started as a fork, because... well you wouldn't get here otherwise.\n :return:" | 29 | false | emilssolmanis/tapes | stop | 30,944 | |
LDU_FT/cs50/python-cs50/get_float | LDU_FT | [
"<BEGIN>\n## `eprint`",
"Print an error message to standard error, prefixing it with\n file name and line number from which method was called.\n<END>",
"<BEGIN>\n## `formatException`",
"Format traceback, darkening entries from global site-packages directories\n and user-specific site-packages directory.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_float API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_float API.
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... | Read a line of text from standard input and return the equivalent float
as precisely as possible; if text does not represent a double, user is
prompted to retry. If line can't be read, return None. | "Read a line of text from standard input and return the equivalent float\n as precisely as possible; if text does not represent a double, user is\n prompted to retry. If line can't be read, return None." | 15 | false | cs50/python-cs50 | get_float | 30,945 | |
LDU_FT/OCHA-DAP/hdx-python-api/get_dataset_end_date | LDU_FT | [
"<BEGIN>\n## `validlocations`",
"Read valid locations from HDX",
" Args:\n configuration (Optional[Configuration]): HDX configuration. Defaults to global configuration.",
" Returns:\n List[Dict]: A list of valid locations\n<END>",
"<BEGIN>\n## `get_location_from_HDX_code`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dataset_end_date API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dataset_end_date API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Get dataset date as string in specified format. For range returns start date.
If no format is supplied, an ISO 8601 string is returned.
Args:
date_format (Optional[str]): Date format. None is taken to be ISO 8601. Defaults to None.
Returns:
Optional[str]: Dataset date s... | "Get dataset date as string in specified format. For range returns start date.\n If no format is supplied, an ISO 8601 string is returned.\n\n Args:\n date_format (Optional[str]): Date format. None is taken to be ISO 8601. Defaults to None.\n\n Returns:\n Optional[str]: Datase... | 513 | false | OCHA-DAP/hdx-python-api | get_dataset_end_date | 30,946 | |
LDU_FT/gc3-uzh-ch/elasticluster/_execute_request | LDU_FT | [
"<BEGIN>\n## `to_vars_dict`",
"Return local state which is relevant for the cluster setup process.\n<END>",
"<BEGIN>\n## `_init_az_api`",
"Initialise client objects for talking to Azure API.",
" This is in a separate function so to be called by ``__init__``\n and ``__setstate__``.\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _execute_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _execute_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Helper method to execute a request, since a lock should be used
to not fire up multiple requests at the same time.
:return: Result of `request.execute` | "Helper method to execute a request, since a lock should be used\n to not fire up multiple requests at the same time.\n\n :return: Result of `request.execute`" | 378 | false | gc3-uzh-ch/elasticluster | _execute_request | 30,947 | |
LDU_FT/Kentzo/git-archive-all/archive_all_files | LDU_FT | [
"<BEGIN>\n## `create`",
"Create the archive at output_file_path.",
" Type of the archive is determined either by extension of output_file_path or by output_format.\n Supported formats are: gz, zip, bz2, xz, tar, tgz, txz",
" @param output_path: Output file path.\n @type output_path... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the archive_all_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the archive_all_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Archive all files using archiver.
@param archiver: Callable that accepts 2 arguments:
abspath to file on the system and relative path within archive.
@type archiver: Callable | "Archive all files using archiver.\n\n @param archiver: Callable that accepts 2 arguments:\n abspath to file on the system and relative path within archive.\n @type archiver: Callable" | 35 | false | Kentzo/git-archive-all | archive_all_files | 30,948 | |
LDU_FT/peepall/FancyLogger/critical | LDU_FT | [
"<BEGIN>\n## `set_configuration`",
"Defines the current configuration of the logger. Can be used at any moment during runtime to modify the logger\n behavior.\n :param command: The command object that holds all the necessary information from the remote process.\n<END>",
"<BEGIN>\n## `run`",
"The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the critical API.
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 critical API.
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... | Posts a critical message adding a timestamp and logging level to it for both file and console handlers.
Logger uses a redraw rate because of console flickering. That means it will not draw new messages or progress
at the very time they are being logged but their timestamp will be captured at the right t... | "Posts a critical message adding a timestamp and logging level to it for both file and console handlers.\n Logger uses a redraw rate because of console flickering. That means it will not draw new messages or progress\n at the very time they are being logged but their timestamp will be captured at the righ... | 61 | false | peepall/FancyLogger | critical | 30,949 | |
LDU_FT/pysal/giddy/shuffle_matrix | LDU_FT | [
"<BEGIN>\n## `is_component`",
"Check if the set of ids form a single connected component",
" Parameters\n ----------",
" w : spatial weights boject",
" ids : list\n identifiers of units that are tested to be a single connected\n component",
" Returns\n -------",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shuffle_matrix API.
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 shuffle_matrix API.
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... | Random permutation of rows and columns of a matrix
Parameters
----------
X : array
(k, k), array to be permutated.
ids : array
range (k, ).
Returns
-------
X : array
(k, k) with rows and columns randomly shuffled.
Examples
--------
>>> import ... | "Random permutation of rows and columns of a matrix\n\n Parameters\n ----------\n X : array\n (k, k), array to be permutated.\n ids : array\n range (k, ).\n\n Returns\n -------\n X : array\n (k, k) with rows and columns randomly shuffled.\n\n Examples\n --------... | 132 | false | pysal/giddy | shuffle_matrix | 30,950 | |
LDU_FT/facetoe/zenpy/organization | 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 organization API.
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 organization API.
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... | | Comment: The ID of the organization associated with this user, in this membership | "| Comment: The ID of the organization associated with this user, in this membership" | 321 | false | facetoe/zenpy | organization | 30,951 | |
LDU_FT/jaredLunde/redis_structures/mget | LDU_FT | [
"<BEGIN>\n## `_hashed_key`",
"Returns 16-digit numeric hash of the redis key\n<END>",
"<BEGIN>\n## `expire_at`",
"Sets the expiration time of :prop:key_prefix to @_time\n @_time: absolute Unix timestamp (seconds since January 1, 1970)\n<END>",
"<BEGIN>\n## `pexpire_at`",
"Sets the expiration ti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mget API.
Each 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 mget API.
Each 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... | -> #list of values at the specified @keys | "-> #list of values at the specified @keys" | 216 | false | jaredLunde/redis_structures | mget | 30,952 | |
LDU_FT/eighthave/pyvendapin/dispense | LDU_FT | [
"<BEGIN>\n## `_checksum`",
"calculate the XOR checksum of a packet in string format\n<END>",
"<BEGIN>\n## `was_packet_accepted`",
"parse the \"command\" byte from the response packet to get a \"response code\"\n<END>",
"<BEGIN>\n## `parsedata`",
"parse the data section of a packet, it can range from 0 to ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dispense API.
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 dispense API.
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... | dispense a card if ready, otherwise throw an Exception | "dispense a card if ready, otherwise throw an Exception" | 12 | false | eighthave/pyvendapin | dispense | 30,953 | |
LDU_FT/bfrog/whizzer/data | LDU_FT | [
"<BEGIN>\n## `remote`",
"Decorator that adds a remote attribute to a function.",
" fn -- function being decorated\n name -- aliased name of the function, used for remote proxies\n types -- a argument type specifier, can be used to ensure\n arguments are of the correct type\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | Use msgpack's streaming feed feature to build up a set of lists.
The lists should then contain the messagepack-rpc specified items.
This should be outrageously fast. | "Use msgpack's streaming feed feature to build up a set of lists.\n \n The lists should then contain the messagepack-rpc specified items.\n\n This should be outrageously fast." | 107 | false | bfrog/whizzer | data | 30,954 | |
LDU_FT/diffeo/yakonfig/create_config_tree | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a sub-object of this factory.",
" Instantiates the `configurable` object with the current saved\n :attr:`config`. This essentially translates to\n ``configurable(**config)``, except services defined in the\n parent and requested by `configurable` (by ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_config_tree API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_config_tree API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Cause every possible configuration sub-dictionary to exist.
This is intended to be called very early in the configuration
sequence. For each module, it checks that the corresponding
configuration item exists in `config` and creates it as an empty
dictionary if required, and then recurses into child
... | "Cause every possible configuration sub-dictionary to exist.\n\n This is intended to be called very early in the configuration\n sequence. For each module, it checks that the corresponding\n configuration item exists in `config` and creates it as an empty\n dictionary if required, and then recurses into ch... | 114 | false | diffeo/yakonfig | create_config_tree | 30,955 | |
LDU_FT/koriakin/binflakes/concat | LDU_FT | [
"<BEGIN>\n## `to_sint`",
"Converts the word to a BinInt, treating it as a signed number.\n<END>",
"<BEGIN>\n## `sar`",
"Performs an arithmetic right-shift of a BinWord by the given number\n of bits. Bits shifted out of the word are lost. The word is\n filled on the left with copies of the top ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the concat API.
Each 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 concat API.
Each 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 BinWord made from concatenating several BinWords,
in LSB-first order. | "Returns a BinWord made from concatenating several BinWords,\n in LSB-first order." | 59 | false | koriakin/binflakes | concat | 30,956 | |
LDU_FT/joshspeagle/dynesty/_remove_live_points | LDU_FT | [
"<BEGIN>\n## `runplot`",
"Plot live points, ln(likelihood), ln(weight), and ln(evidence)\n as a function of ln(prior volume).",
" Parameters\n ----------\n results : :class:`~dynesty.results.Results` instance\n A :class:`~dynesty.results.Results` instance from a nested\n sampling run."... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _remove_live_points API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _remove_live_points API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Remove the final set of live points if they were
previously added to the current set of dead points. | "Remove the final set of live points if they were\n previously added to the current set of dead points." | 709 | false | joshspeagle/dynesty | _remove_live_points | 30,957 | |
LDU_FT/thespacedoctor/tastic/_get_all_taskpaper_files | LDU_FT | [
"<BEGIN>\n## `projects`",
"*All child projects of this taskpaper object*",
" **Usage:**",
" Given a taskpaper document object (`doc`), to get a list of the project objects found within the document use:",
" .. code-block:: python",
" docProjects = doc.projects",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_all_taskpaper_files 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 _get_all_taskpaper_files 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 a list of all the taskpaper filepaths in the workspace (excluding the sync directory)*
**Key Arguments:**
- ``workspaceRoot`` -- path to the root folder of a workspace containing taskpaper files
**Return:**
- ``taskpaperFiles`` -- a list of paths to all the taskpaper files... | "*get a list of all the taskpaper filepaths in the workspace (excluding the sync directory)*\n\n **Key Arguments:**\n - ``workspaceRoot`` -- path to the root folder of a workspace containing taskpaper files\n\n **Return:**\n - ``taskpaperFiles`` -- a list of paths to all the taskpape... | 285 | false | thespacedoctor/tastic | _get_all_taskpaper_files | 30,958 | |
LDU_FT/Robin8Put/pmes/set_access_string | LDU_FT | [
"<BEGIN>\n## `create_table`",
"RPC method for creating table with custom name and fields\n :return event id\n<END>",
"<BEGIN>\n## `insert`",
"RPC method for inserting data to the table\n :return: None\n<END>",
"<BEGIN>\n## `select`",
"RPC method for selecting data from the database\n :return sele... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_access_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_access_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... | Writes content access string to database | "Writes content access string to database" | 170 | false | Robin8Put/pmes | set_access_string | 30,959 | |
LDU_FT/paramiko/paramiko/GetTokenInformation | LDU_FT | [
"<BEGIN>\n## `make_tarball`",
"Create a tar file from all the files under 'base_dir'.\n This file may be compressed.",
" :param compress: Compression algorithms. Supported algorithms are:\n 'gzip': (the default)\n 'compress'\n 'bzip2'\n None\n For 'gzip' and 'bzip2' the inte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetTokenInformation 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 GetTokenInformation 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 token, get the token information for it. | "Given a token, get the token information for it." | 608 | false | paramiko/paramiko | GetTokenInformation | 30,960 | |
LDU_FT/jreinhardt/constraining-order/solve | LDU_FT | [
"<BEGIN>\n## `ac3`",
"AC-3 algorithm. This reduces the domains of the variables by\n propagating constraints to ensure arc consistency.",
" :param Space space: The space to reduce\n<END>",
"<BEGIN>\n## `_unary`",
"Reduce the domain of variable name to be node-consistent with this\n constraint, i.e.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the solve API.
Each 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 solve API.
Each 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... | Generator for all solutions.
:param str method: the solution method to employ
:param ordering: an optional parameter ordering
:type ordering: sequence of parameter names
Methods:
:"backtrack": simple chronological backtracking
:"ac-lookahead": full lookahead | "Generator for all solutions.\n\n\n :param str method: the solution method to employ\n :param ordering: an optional parameter ordering\n :type ordering: sequence of parameter names\n\n Methods:\n\n :\"backtrack\": simple chronological backtracking\n :\"ac-lookahead\": full lookahead" | 53 | false | jreinhardt/constraining-order | solve | 30,961 | |
LDU_FT/joowani/quadriga/cancel_order | LDU_FT | [
"<BEGIN>\n## `_validate_order_book`",
"Check if the given order book is valid.",
" :param book: Order book name.\n :type book: str | unicode\n :raise InvalidOrderBookError: If an invalid order book is given.\n<END>",
"<BEGIN>\n## `_validate_currency`",
"Check if the given order book is ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cancel_order API.
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 cancel_order API.
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... | Cancel an open order by ID (64 hexadecmial characters).
:param order_id: Order ID.
:type order_id: str | unicode
:return: True if the order was cancelled successfully.
:rtype: bool | "Cancel an open order by ID (64 hexadecmial characters).\n\n :param order_id: Order ID.\n :type order_id: str | unicode\n :return: True if the order was cancelled successfully.\n :rtype: bool" | 58 | false | joowani/quadriga | cancel_order | 30,962 | |
LDU_FT/ryukinix/decorating/check_arguments | LDU_FT | [
"<BEGIN>\n## `default_arguments`",
"Returns the available kwargs of the called class\n<END>",
"<BEGIN>\n## `recreate`",
"Recreate the class based in your args, multiple uses\n<END>",
"<BEGIN>\n## `check_arguments`",
"Put warnings of arguments whose can't be handle by the class\n<END>",
"<BEGIN>\n## `col... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_arguments API.
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 check_arguments API.
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... | Put warnings of arguments whose can't be handle by the class | "Put warnings of arguments whose can't be handle by the class" | 41 | false | ryukinix/decorating | check_arguments | 30,963 | |
LDU_FT/thebigmunch/google-music/playlist_create | LDU_FT | [
"<BEGIN>\n## `download`",
"Download a song from a Google Music library.",
"\t\tParameters:\n\t\t\tsong (dict): A song dict.",
"\t\tReturns:\n\t\t\ttuple: Song content as bytestring, suggested filename.\n<END>",
"<BEGIN>\n## `quota`",
"Get the uploaded track count and allowance.",
"\t\tReturns:\n\t\t\ttu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the playlist_create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the playlist_create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Create a playlist.
Parameters:
name (str): Name to give the playlist.
description (str): Description to give the playlist.
make_public (bool, Optional): If ``True`` and account has a subscription,
make playlist public.
Default: ``False``
songs (list, Optional): A list of song dicts to add to the ... | "Create a playlist.\n\n\t\tParameters:\n\t\t\tname (str): Name to give the playlist.\n\t\t\tdescription (str): Description to give the playlist.\n\t\t\tmake_public (bool, Optional): If ``True`` and account has a subscription,\n\t\t\t\tmake playlist public.\n\t\t\t\tDefault: ``False``\n\t\t\tsongs (list, Optional): A li... | 268 | false | thebigmunch/google-music | playlist_create | 30,964 | |
LDU_FT/ArabellaTech/django-basic-cms/expose_content | LDU_FT | [
"<BEGIN>\n## `move_page`",
"Move the page to the requested target, at the given\n position.\n<END>",
"<BEGIN>\n## `sub_menu`",
"Render the children of the requested page with the sub_menu\n template.\n<END>",
"<BEGIN>\n## `parse_placeholder`",
"Parse the `PlaceholderNode` parameters.",
" Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expose_content API.
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 expose_content API.
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 all the current content of this page into a `string`.
This is used by the haystack framework to build the search index. | "Return all the current content of this page into a `string`.\n\n This is used by the haystack framework to build the search index." | 91 | false | ArabellaTech/django-basic-cms | expose_content | 30,965 | |
LDU_FT/abseil/abseil-py/_render_module_flags | LDU_FT | [
"<BEGIN>\n## `_register_bounds_validator_if_needed`",
"Enforces lower and upper bounds for numeric flags.",
" Args:\n parser: NumericParser (either FloatParser or IntegerParser), provides lower\n and upper bounds, and help text to display.\n name: str, name of the flag\n flag_values: FlagValues... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _render_module_flags 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 _render_module_flags API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns a help string for a given module. | "Returns a help string for a given module." | 432 | false | abseil/abseil-py | _render_module_flags | 30,966 | |
LDU_FT/patrickfuller/imolecule/to_json | LDU_FT | [
"<BEGIN>\n## `convert`",
"Converts between two inputted chemical formats.",
" Args:\n data: A string representing the chemical file to be converted. If the\n `in_format` is \"json\", this can also be a Python object\n in_format: The format of the `data` string. Can be \"json\" or any... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Converts the output of `generate(...)` to formatted json.
Floats are rounded to three decimals and positional vectors are printed on
one line with some whitespace buffer. | "Converts the output of `generate(...)` to formatted json.\n\n Floats are rounded to three decimals and positional vectors are printed on\n one line with some whitespace buffer." | 28 | false | patrickfuller/imolecule | to_json | 30,967 | |
LDU_FT/openclimatedata/pymagicc/process_data | LDU_FT | [
"<BEGIN>\n## `get_magicc_region_to_openscm_region_mapping`",
"Get the mappings from MAGICC to OpenSCM regions.",
" This is not a pure inverse of the other way around. For example, we never provide\n \"GLOBAL\" as a MAGICC return value because it's unnecesarily confusing when we also\n have \"World\". F... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_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 extr... | Extract the tabulated data from the input file.
Parameters
----------
stream : Streamlike object
A Streamlike object (nominally StringIO)
containing the table to be extracted
metadata : dict
Metadata read in from the header and the namelist
R... | "Extract the tabulated data from the input file.\n\n Parameters\n ----------\n stream : Streamlike object\n A Streamlike object (nominally StringIO)\n containing the table to be extracted\n metadata : dict\n Metadata read in from the header and the namelist\n... | 245 | false | openclimatedata/pymagicc | process_data | 30,968 | |
LDU_FT/phac-nml/sistr_cmd/extend_subj_match_vec | LDU_FT | [
"<BEGIN>\n## `parse_cgmlst_alleles`",
"Parse cgMLST alleles from fasta file\n cgMLST FASTA file must have a header format of \">{marker name}|{allele name}\"",
" Args:\n cgmlst_fasta (str): cgMLST fasta file path",
" Returns:\n dict of list: Marker name to list of allele sequences\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extend_subj_match_vec 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 extend_subj_match_vec 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 extended clipped (clamped) start and end subject sequence indices
Also get whether each match needs to be reverse complemented and whether each extended match would be truncated by
the end of the subject sequence.
Args:
df (pandas.DataFrame): blastn results dataframe
Returns:
... | "Get the extended clipped (clamped) start and end subject sequence indices\n\n Also get whether each match needs to be reverse complemented and whether each extended match would be truncated by\n the end of the subject sequence.\n\n Args:\n df (pandas.DataFrame): blastn results dataframe\n\n Returns:... | 148 | false | phac-nml/sistr_cmd | extend_subj_match_vec | 30,969 | |
LDU_FT/brentp/cruzdb/create_url | LDU_FT | [
"<BEGIN>\n## `relate`",
"Produce a relationship between this mapped table and another\n one. ",
" This makes usage of SQLAlchemy's :func:`sqlalchemy.orm.relationship`\n construct.\n<END>",
"<BEGIN>\n## `execute`",
"Execute a SQL statement.",
" The statement may be a string SQL ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | internal: create a dburl from a set of parameters or the defaults on
this object | "internal: create a dburl from a set of parameters or the defaults on\n this object" | 169 | false | brentp/cruzdb | create_url | 30,970 | |
LDU_FT/paolodragone/pymzn/discretize | LDU_FT | [
"<BEGIN>\n## `minizinc`",
"Coroutine version of the ``pymzn.minizinc`` function.",
" Parameters\n ----------\n max_queue_size : int\n Maximum number of solutions in the queue between the solution parser and\n the returned solution stream. When the queue is full, the solver\n execut... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the discretize API.
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 discretize API.
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... | Discretize the given value, pre-multiplying by the given factor | "Discretize the given value, pre-multiplying by the given factor" | 102 | false | paolodragone/pymzn | discretize | 30,971 | |
LDU_FT/JoeVirtual/KonFoo/as_unsigned | LDU_FT | [
"<BEGIN>\n## `to_json`",
"Returns the selected field *attributes* for each :class:`Field` *nested*\n in the `Container` as a JSON formatted string.",
" The *attributes* of each :class:`Field` for containers *nested* in the\n `Container` are viewed as well (chained method call).",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_unsigned API.
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 as_unsigned API.
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... | Returns the field *value* of the `Decimal` field as an unsigned integer. | "Returns the field *value* of the `Decimal` field as an unsigned integer." | 233 | false | JoeVirtual/KonFoo | as_unsigned | 30,972 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.