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/christian-oudard/htmltreediff/tree_words | LDU_FT | [
"<BEGIN>\n## `diff`",
"Show the differences between the old and new html document, as html.",
" Return the document html with extra tags added to show changes. Add <ins>\n tags around newly added sections, and <del> tags to show sections that have\n been deleted.\n<END>",
"<BEGIN>\n## `adjusted_ops`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tree_words API.
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 tree_words API.
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 all the significant text below the given node as a list of words.
>>> list(tree_words(parse_minidom('<h1>one</h1> two <div>three<em>four</em></div>')))
['one', 'two', 'three', 'four'] | "Return all the significant text below the given node as a list of words.\n >>> list(tree_words(parse_minidom('<h1>one</h1> two <div>three<em>four</em></div>')))\n ['one', 'two', 'three', 'four']" | 69 | false | christian-oudard/htmltreediff | tree_words | 34,173 | |
LDU_FT/google/grr/Query | LDU_FT | [
"<BEGIN>\n## `Column`",
"Iterates over values of a given column.",
" Args:\n column_name: A nome of the column to retrieve the values for.",
" Yields:\n Values of the specified column.",
" Raises:\n KeyError: If given column is not present in the table.\n<END>",
"<BEGIN>\n## `Check... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted d... | Retrieves tasks from a queue without leasing them.
This is good for a read only snapshot of the tasks.
Args:
queue: The task queue that this task belongs to, usually client.Queue()
where client is the ClientURN object you want to schedule msgs on.
limit: Number of values to fetch.
... | "Retrieves tasks from a queue without leasing them.\n\n This is good for a read only snapshot of the tasks.\n\n Args:\n queue: The task queue that this task belongs to, usually client.Queue()\n where client is the ClientURN object you want to schedule msgs on.\n limit: Number of values to fetc... | 4,605 | true | google/grr | Query | 34,174 | |
LDU_FT/tjguk/winshell/move_file | LDU_FT | [
"<BEGIN>\n## `indented`",
"Take a multiline text and indent it as a block\n<END>",
"<BEGIN>\n## `dumped`",
"Put curly brackets round an indented text\n<END>",
"<BEGIN>\n## `copy_file`",
"Perform a shell-based file copy. Copying in\n this way allows the possibility of undo, auto-renaming,\n and showi... | 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... | Perform a shell-based file move. Moving in
this way allows the possibility of undo, auto-renaming,
and showing the "flying file" animation during the copy.
The default options allow for undo, don't automatically
clobber on a name clash, automatically rename on collision
and display the animation. | "Perform a shell-based file move. Moving in\n this way allows the possibility of undo, auto-renaming,\n and showing the \"flying file\" animation during the copy.\n\n The default options allow for undo, don't automatically\n clobber on a name clash, automatically rename on collision\n and display the ani... | 25 | false | tjguk/winshell | move_file | 34,175 | |
LDU_FT/Parsely/birding/search | LDU_FT | [
"<BEGIN>\n## `main`",
"Do the default action of `twitter` command.\n<END>",
"<BEGIN>\n## `from_oauth_file`",
"Get an object bound to the Twitter API using your own credentials.",
" The `twitter` library ships with a `twitter` command that uses PIN\n OAuth. Generate your own OAuth credentials b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Search twitter for ``q``, return `results`__ directly from twitter.
__ https://dev.twitter.com/rest/reference/get/search/tweets | "Search twitter for ``q``, return `results`__ directly from twitter.\n\n __ https://dev.twitter.com/rest/reference/get/search/tweets" | 88 | false | Parsely/birding | search | 34,176 | |
LDU_FT/ThePlasmaRailgun/py-rolldice/num_equal | LDU_FT | [
"<BEGIN>\n## `safe_power`",
"Same power of a ^ b\n :param a: Number a\n :param b: Number b\n :return: a ^ b\n<END>",
"<BEGIN>\n## `rabin_miller`",
"Performs a rabin-miller primality test",
" :param p: Number to test\n :return: Bool of whether num is prime\n<END>",
"<BEGIN>\n## `zero_width_s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the num_equal API.
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 num_equal API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns the number of elements in a list that pass a comparison
:param result: The list of results of a dice roll
:param operator: Operator in string to perform comparison on:
Either '+', '-', or '*'
:param comparator: The value to compare
:return: | "Returns the number of elements in a list that pass a comparison\n\n :param result: The list of results of a dice roll\n :param operator: Operator in string to perform comparison on:\n Either '+', '-', or '*'\n :param comparator: The value to compare\n :return:" | 41 | false | ThePlasmaRailgun/py-rolldice | num_equal | 34,177 | |
LDU_FT/nabla-c0d3/sslyze/command_line_parsed | LDU_FT | [
"<BEGIN>\n## `do_handshake_with_robot`",
"Modified do_handshake() to send a ROBOT payload and return the result.\n<END>",
"<BEGIN>\n## `get_client_key_exchange_record`",
"A client key exchange record with a hardcoded pre_master_secret, and a valid or invalid padding.\n<END>",
"<BEGIN>\n## `get_finished_reco... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the command_line_parsed 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 command_line_parsed 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... | The CLI was just started and successfully parsed the command line. | "The CLI was just started and successfully parsed the command line." | 92 | false | nabla-c0d3/sslyze | command_line_parsed | 34,178 | |
LDU_FT/nmdp-bioinformatics/SeqAnn/ref_align | LDU_FT | [
"<BEGIN>\n## `search_seqs`",
"search_seqs - method for annotating a BioPython sequence without alignment",
" :param seqrec: The reference sequence\n :type seqrec: SeqRecord\n :param locus: The gene locus associated with the sequence.\n :type locus: str\n :param in_seq: The inp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ref_align API.
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 ref_align API.
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... | ref_align - Method for doing targeted alignments on partial annotations
:param found_seqs: The input sequence record.
:type found_seqs: Seq
:param sequence: The input sequence record.
:type sequence: Seq
:param locus: The gene locus associated with the sequence.
:type lo... | "ref_align - Method for doing targeted alignments on partial annotations\n\n :param found_seqs: The input sequence record.\n :type found_seqs: Seq\n :param sequence: The input sequence record.\n :type sequence: Seq\n :param locus: The gene locus associated with the sequence.\n ... | 112 | false | nmdp-bioinformatics/SeqAnn | ref_align | 34,179 | |
LDU_FT/morpframework/morpfw/search | LDU_FT | [
"<BEGIN>\n## `copy`",
"Copy the request and environment object.",
" This only does a shallow copy, except of wsgi.input\n<END>",
"<BEGIN>\n## `search`",
"return search result based on specified rulez query\n<END>",
"<BEGIN>\n## `aggregate`",
"return aggregation result based on specified rulez que... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Search for models
Filtering is done through ``rulez`` based JSON/dict query, which
defines boolean statements in JSON/dict structure.
: param query: Rulez based query
: param offset: Result offset
: param limit: Maximum number of result
: param order_by: Tuple of ``(fie... | "Search for models\n\n Filtering is done through ``rulez`` based JSON/dict query, which\n defines boolean statements in JSON/dict structure.\n\n : param query: Rulez based query\n : param offset: Result offset\n : param limit: Maximum number of result\n : param order_by: Tuple ... | 20 | false | morpframework/morpfw | search | 34,180 | |
LDU_FT/bear/parsedatetime/_partialParseMeridian | LDU_FT | [
"<BEGIN>\n## `_parse_date_rfc822`",
"Parse an RFC822, RFC1123, RFC2822, or asctime-style date\n<END>",
"<BEGIN>\n## `_initSymbols`",
"Initialize symbols and single character constants.\n<END>",
"<BEGIN>\n## `_convertUnitAsWords`",
"Converts text units into their number value.",
" @type unitText:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _partialParseMeridian 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 _partialParseMeridian API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | test if giving C{s} matched CRE_TIMEHMS2, used by L{parse()}
@type s: string
@param s: date/time text to evaluate
@type sourceTime: struct_time
@param sourceTime: C{struct_time} value to use as the base
@rtype: tuple
@return: tuple of remained date/... | "test if giving C{s} matched CRE_TIMEHMS2, used by L{parse()}\n\n @type s: string\n @param s: date/time text to evaluate\n @type sourceTime: struct_time\n @param sourceTime: C{struct_time} value to use as the base\n\n @rtype: tuple\n @return: tuple of remai... | 131 | false | bear/parsedatetime | _partialParseMeridian | 34,181 | |
LDU_FT/metglobal/django-exchange/update_many | LDU_FT | [
"<BEGIN>\n## `update`",
"Actual update process goes here using auxialary ``get_currencies``\n and ``get_exchangerates`` methods. This method creates or updates\n corresponding ``Currency`` and ``ExchangeRate`` models\n<END>",
"<BEGIN>\n## `convert_values`",
"convert_value in bulk.",
" :para... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_many API.
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 update_many API.
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... | Update list of Django objects in one SQL query, optionally only
overwrite the given fields (as names, e.g. fields=["foo"]).
Objects must be of the same Django model. Note that save is not
called and signals on the model are not raised.
Mostly from: http://people.iola.dk/olau/python/bulkops.py | "Update list of Django objects in one SQL query, optionally only\n overwrite the given fields (as names, e.g. fields=[\"foo\"]).\n Objects must be of the same Django model. Note that save is not\n called and signals on the model are not raised.\n\n Mostly from: http://people.iola.dk/olau/python/bulkops.py" | 31 | false | metglobal/django-exchange | update_many | 34,182 | |
LDU_FT/blockstack-packages/blockstack-gpg/gpg_list_app_keys | LDU_FT | [
"<BEGIN>\n## `make_gpg_home`",
"Make GPG keyring dir for a particular application.\n Return the path.\n<END>",
"<BEGIN>\n## `get_gpg_home`",
"Get the GPG keyring directory for a particular application.\n Return the path.\n<END>",
"<BEGIN>\n## `make_gpg_tmphome`",
"Make a temporary directory to hold ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gpg_list_app_keys API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gpg_list_app_keys API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | List the set of available GPG keys tagged for a given application.
Return list of {'keyName': key name, 'contentUrl': URL to key data}
Raise on error | "List the set of available GPG keys tagged for a given application.\n Return list of {'keyName': key name, 'contentUrl': URL to key data}\n Raise on error" | 54 | false | blockstack-packages/blockstack-gpg | gpg_list_app_keys | 34,183 | |
LDU_FT/miguelgrinberg/Flask-SocketIO/send | LDU_FT | [
"<BEGIN>\n## `emit`",
"Emit a SocketIO event.",
" This function emits a SocketIO event to one or more connected clients. A\n JSON blob can be attached to the event as payload. This is a function that\n can only be called from a SocketIO event handler, as in obtains some\n information from the curren... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Send a SocketIO message.
This function sends a simple SocketIO message to one or more connected
clients. The message can be a string or a JSON blob. This is a simpler
version of ``emit()``, which should be preferred. This is a function that
can only be called from a SocketIO event handler.
:param ... | "Send a SocketIO message.\n\n This function sends a simple SocketIO message to one or more connected\n clients. The message can be a string or a JSON blob. This is a simpler\n version of ``emit()``, which should be preferred. This is a function that\n can only be called from a SocketIO event handler.\n\n ... | 87 | false | miguelgrinberg/Flask-SocketIO | send | 34,184 | |
LDU_FT/rbarrois/tdparser/lex | LDU_FT | [
"<BEGIN>\n## `_forward`",
"Advance to the next token.",
" Internal methods, updates:\n - self.current_token\n - self.current_pos",
" Raises:\n MissingTokensError: when trying to advance beyond the end of the\n token flow.\n<END>",
"<BEGIN>\n## `consume`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lex API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lex API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Split self.text into a list of tokens.
Args:
text (str): text to parse
Yields:
Token: the tokens generated from the given text. | "Split self.text into a list of tokens.\n\n Args:\n text (str): text to parse\n\n Yields:\n Token: the tokens generated from the given text." | 38 | false | rbarrois/tdparser | lex | 34,185 | |
LDU_FT/mozilla/popcoder/parse_duration | LDU_FT | [
"<BEGIN>\n## `preprocess`",
"Processes popcorn JSON and builds a sane data model out of it\n @param data : The popcorn editor project json blob\n<END>",
"<BEGIN>\n## `parse_duration`",
"Corrects for any offsets that may have been created by loop and skip\n events\n<END>",
"<BEGIN>\n## `trim`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_duration API.
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 parse_duration API.
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... | Corrects for any offsets that may have been created by loop and skip
events | "Corrects for any offsets that may have been created by loop and skip\n events" | 16 | false | mozilla/popcoder | parse_duration | 34,186 | |
LDU_FT/ZELLMECHANIK-DRESDEN/dclab/load_data | LDU_FT | [
"<BEGIN>\n## `tdms2rtdc`",
"Convert .tdms datasets to the hdf5-based .rtdc file format\n<END>",
"<BEGIN>\n## `load_from_file`",
"Load the configuration from a file",
" Parameters\n ----------\n cfg_file: str\n Path to configuration file",
" Returns\n -------\n cfg : CaseInsensitiv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_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 extract... | Load isoelastics from a text file
The text file is loaded with `numpy.loadtxt` and must have
three columns, representing the two data columns and the
elastic modulus with units defined in `definitions.py`.
The file header must have a section defining meta data of the
content lik... | "Load isoelastics from a text file\n\n The text file is loaded with `numpy.loadtxt` and must have\n three columns, representing the two data columns and the\n elastic modulus with units defined in `definitions.py`.\n The file header must have a section defining meta data of the\n cont... | 433 | false | ZELLMECHANIK-DRESDEN/dclab | load_data | 34,187 | |
LDU_FT/caseyjlaw/activegit/isvalid | LDU_FT | [
"<BEGIN>\n## `initrepo`",
"Initialize an activegit repo. \n Default makes base shared repo that should be cloned for users\n<END>",
"<BEGIN>\n## `initializerepo`",
"Fill empty directory with products and make first commit\n<END>",
"<BEGIN>\n## `isvalid`",
"Checks whether contents of repo are consistent... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isvalid API.
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 isvalid API.
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... | Checks whether contents of repo are consistent with standard set. | "Checks whether contents of repo are consistent with standard set." | 14 | false | caseyjlaw/activegit | isvalid | 34,188 | |
LDU_FT/tomer8007/kik-bot-api-unofficial/add_members | LDU_FT | [
"<BEGIN>\n## `_connect`",
"Runs the kik connection thread, which creates an encrypted (SSL based) TCP connection\n to the kik servers.\n<END>",
"<BEGIN>\n## `_on_connection_made`",
"Gets called when the TCP connection to kik's servers is done and we are connected.\n Now we might initiate a login... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_members API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_members API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Adds multiple users to a specific group at once
:param group_jid: The group into which to join the users
:param peer_jids: a list (or a single string) of JIDs to add to the group | "Adds multiple users to a specific group at once\n\n :param group_jid: The group into which to join the users\n :param peer_jids: a list (or a single string) of JIDs to add to the group" | 96 | false | tomer8007/kik-bot-api-unofficial | add_members | 34,189 | |
LDU_FT/h2non/paco/once | LDU_FT | [
"<BEGIN>\n## `observe`",
"Arguments:\n event (str): event to subscribe.\n fn (function|coroutinefunction): function to trigger.",
" Raises:\n TypeError: if fn argument is not valid\n<END>",
"<BEGIN>\n## `remove`",
"Remove all the registered observers for the given eve... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the once API.
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 once API.
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... | Wrap a given coroutine function that is restricted to one execution.
Repeated calls to the coroutine function will return the value of the first
invocation.
This function can be used as decorator.
arguments:
coro (coroutinefunction): coroutine function to wrap.
raise_exception (bool):... | "Wrap a given coroutine function that is restricted to one execution.\n\n Repeated calls to the coroutine function will return the value of the first\n invocation.\n\n This function can be used as decorator.\n\n arguments:\n coro (coroutinefunction): coroutine function to wrap.\n raise_excepti... | 394 | false | h2non/paco | once | 34,190 | |
LDU_FT/commonsense/metanl/normalize_list | LDU_FT | [
"<BEGIN>\n## `unicode_is_punctuation`",
"Test if a token is made entirely of Unicode characters of the following\n classes:",
" - P: punctuation\n - S: symbols\n - Z: separators\n - M: combining marks\n - C: control characters",
" >>> unicode_is_punctuation('word')\n False\n >>> uni... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_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 ex... | Get a canonical list representation of text, with words
separated and reduced to their base forms.
TODO: use the cache. | "Get a canonical list representation of text, with words\n separated and reduced to their base forms.\n\n TODO: use the cache." | 70 | false | commonsense/metanl | normalize_list | 34,191 | |
LDU_FT/tensorflow/mesh/compute_output | LDU_FT | [
"<BEGIN>\n## `make_layer_stack`",
"Configurable layer stack.",
" Args:\n layers: a list of subclasses of TransformerLayer\n num_layers: an integer\n Returns:\n a LayerStack\n<END>",
"<BEGIN>\n## `make_bitransformer`",
"Gin-configurable bitransformer constructor.",
" In your config file you nee... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_output API.
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 compute_output API.
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... | Compute output of multihead attention.
Args:
o: a Tensor with dimensions
query_heads_dims + {value_dim} + other_dims
output_shape: an optional Shape
Returns:
a Tensor with shape:
{output_dim} + other_dims | "Compute output of multihead attention.\n\n Args:\n o: a Tensor with dimensions\n query_heads_dims + {value_dim} + other_dims\n output_shape: an optional Shape\n Returns:\n a Tensor with shape:\n {output_dim} + other_dims" | 958 | false | tensorflow/mesh | compute_output | 34,192 | |
LDU_FT/linkedin/Zopkio/exec_with_env | LDU_FT | [
"<BEGIN>\n## `make_machine_mapping`",
"Convert the machine list argument from a list of names into a mapping of logical names to\n physical hosts. This is similar to the _parse_configs function but separated to provide the\n opportunity for extension and additional checking of machine access\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exec_with_env API.
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 exec_with_env API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | :param ssh:
:param command:
:param msg:
:param env:
:param synch:
:return: | ":param ssh:\r\n :param command:\r\n :param msg:\r\n :param env:\r\n :param synch:\r\n :return:" | 85 | false | linkedin/Zopkio | exec_with_env | 34,193 | |
LDU_FT/fedora-infra/fmn.rules/fas_group_member_filter | LDU_FT | [
"<BEGIN>\n## `pagure_specific_project_filter`",
"Particular pagure projects",
" Adding this rule allows you to get notifications for one or more\n `pagure.io <https://pagure.io>`_ projects. Specify multiple\n projects by separating them with a comma ','.\n<END>",
"<BEGIN>\n## `pagure_specific_proj... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fas_group_member_filter 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 fas_group_member_filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Messages regarding any member of a FAS group
Use this rule to include messages that have anything to do with **any
user** belonging to a particular fas group. You might want to use this
to monitor the activity of a group for which you are responsible. | "Messages regarding any member of a FAS group\n\n Use this rule to include messages that have anything to do with **any\n user** belonging to a particular fas group. You might want to use this\n to monitor the activity of a group for which you are responsible." | 95 | false | fedora-infra/fmn.rules | fas_group_member_filter | 34,194 | |
LDU_FT/mgoral/subconvert/createSubtitle | LDU_FT | [
"<BEGIN>\n## `__parseFormat`",
"Actual parser. Please note that time_to is not required to process as not all subtitles\n provide it.\n<END>",
"<BEGIN>\n## `createSubtitle`",
"Returns a correct 'Subtitle' object from a text given in 'section'. If 'section' cannot\n be parsed, None is returned.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createSubtitle API.
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 createSubtitle API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Returns a correct 'Subtitle' object from a text given in 'section'. If 'section' cannot
be parsed, None is returned.
By default 'section' is checked against 'subPattern' regular expression. | "Returns a correct 'Subtitle' object from a text given in 'section'. If 'section' cannot\n be parsed, None is returned.\n By default 'section' is checked against 'subPattern' regular expression." | 50 | false | mgoral/subconvert | createSubtitle | 34,195 | |
LDU_FT/ratt-ru/PyMORESANE/beam_fit | LDU_FT | [
"<BEGIN>\n## `iuwt_decomposition`",
"This function serves as a handler for the different implementations of the IUWT decomposition. It allows the\n different methods to be used almost interchangeably.",
" INPUTS:\n in1 (no default): Array on which the decomposition is to be perfor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the beam_fit API.
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 beam_fit API.
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... | The following contructs a restoring beam from the psf. This is accoplished by fitting an elliptical Gaussian to the
central lobe of the PSF.
INPUTS:
psf (no default): Array containing the psf for the image in question.
cdelt1, cdelt2 (no default): Header of the psf. | "The following contructs a restoring beam from the psf. This is accoplished by fitting an elliptical Gaussian to the\n central lobe of the PSF.\n\n INPUTS:\n psf (no default): Array containing the psf for the image in question.\n cdelt1, cdelt2 (no default): Header of the psf." | 125 | false | ratt-ru/PyMORESANE | beam_fit | 34,196 | |
LDU_FT/AutomatedTester/Bugsy/timeframe | LDU_FT | [
"<BEGIN>\n## `get`",
"Get a bug from Bugzilla. If there is a login token created during\n object initialisation it will be part of the query string passed to\n Bugzilla",
" :param bug_number: Bug Number that will be searched. If found will\n return ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timeframe API.
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 timeframe API.
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... | r"""
When you want to search bugs for a certain time frame.
:param start:
:param end:
:returns: :class:`Search` | "r\"\"\"\n When you want to search bugs for a certain time frame.\n\n :param start:\n :param end:\n :returns: :class:`Search`" | 44 | false | AutomatedTester/Bugsy | timeframe | 34,197 | |
LDU_FT/IBM/ibm-cos-sdk-python-s3transfer/_run_progress_callbacks | LDU_FT | [
"<BEGIN>\n## `store`",
"store a config value in a dictionary, these values are used to populate a trasnfer spec\n validation -- check type, check allowed values and rename if required\n<END>",
"<BEGIN>\n## `multi_session`",
"convert the multi_session param a number\n<END>",
"<BEGIN>\n## `_raw_asp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _run_progress_callbacks 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 _run_progress_callbacks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | pass the number of bytes process to progress callbacks | "pass the number of bytes process to progress callbacks" | 89 | false | IBM/ibm-cos-sdk-python-s3transfer | _run_progress_callbacks | 34,198 | |
LDU_FT/materialsproject/custodian/postprocess | LDU_FT | [
"<BEGIN>\n## `from_spec`",
"Load a Custodian instance where the jobs are specified from a\n structure and a spec dict. This allows simple\n custom job sequences to be constructed quickly via a YAML file.",
" Args:\n spec (dict): A dict specifying job. A sample of the dict in\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the postprocess API.
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 postprocess API.
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... | Postprocessing includes renaming and gzipping where necessary.
Also copies the magmom to the incar if necessary | "Postprocessing includes renaming and gzipping where necessary.\n Also copies the magmom to the incar if necessary" | 90 | false | materialsproject/custodian | postprocess | 34,199 | |
LDU_FT/ntoll/uflash/extract_script | LDU_FT | [
"<BEGIN>\n## `hexlify`",
"Takes the byte content of a Python script and returns a hex encoded\n version of it.",
" Based on the hexlify script in the microbit-micropython repository.\n<END>",
"<BEGIN>\n## `unhexlify`",
"Takes a hexlified script and turns it back into a string of Python code.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_script API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_script API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Given a hex file containing the MicroPython runtime and an embedded Python
script, will extract the original Python script.
Returns a string containing the original embedded script. | "Given a hex file containing the MicroPython runtime and an embedded Python\n script, will extract the original Python script.\n\n Returns a string containing the original embedded script." | 37 | false | ntoll/uflash | extract_script | 34,200 | |
LDU_FT/miquelo/resort/insert | LDU_FT | [
"<BEGIN>\n## `insert`",
"Build the project.",
"\t\t:param resort.engine.execution.Context context:\n\t\t Current execution context.\n<END>",
"<BEGIN>\n## `load`",
"Load the profile with the given name.",
"\t\t:param str prof_name:\n\t\t Profile name.\n\t\t:rtype:\n\t\t ProfileStub\n\t\t:return:\n\t\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Applies database changes.
:param resort.engine.execution.Context context:
Current execution context. | "Applies database changes.\n\t\t\n\t\t:param resort.engine.execution.Context context:\n\t\t Current execution context." | 125 | false | miquelo/resort | insert | 34,201 | |
LDU_FT/CGATOxford/UMI-tools/Stop | LDU_FT | [
"<BEGIN>\n## `remove_umis`",
"removes the specified nodes from the cluster and returns\n the remaining nodes\n<END>",
"<BEGIN>\n## `get_substr_slices`",
"Create slices to split a UMI into approximately equal size substrings\n Returns a list of tuples that can be passed to slice function\n<END>",
"<BEG... | 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... | stop the experiment.
This method performs final book-keeping, closes the output streams
and writes the final log messages indicating script completion. | "stop the experiment.\n\n This method performs final book-keeping, closes the output streams\n and writes the final log messages indicating script completion." | 165 | false | CGATOxford/UMI-tools | Stop | 34,202 | |
LDU_FT/wbond/asn1crypto/build | LDU_FT | [
"<BEGIN>\n## `_pep425_version`",
":return:\n A tuple of integers representing the Python version number\n<END>",
"<BEGIN>\n## `_pep425_supports_manylinux`",
":return:\n A boolean indicating if the machine can use manylinux1 packages\n<END>",
"<BEGIN>\n## `_pep425_get_abi`",
":return:\n ... | 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... | Creates a Name object from a dict of unicode string keys and values.
The keys should be from NameType._map, or a dotted-integer OID unicode
string.
:param name_dict:
A dict of name information, e.g. {"common_name": "Will Bond",
"country_name": "US", "organization": "Code... | "Creates a Name object from a dict of unicode string keys and values.\n The keys should be from NameType._map, or a dotted-integer OID unicode\n string.\n\n :param name_dict:\n A dict of name information, e.g. {\"common_name\": \"Will Bond\",\n \"country_name\": \"US\", \"orga... | 739 | false | wbond/asn1crypto | build | 34,203 | |
LDU_FT/Iotic-Labs/py-IoticAgent/is_set | LDU_FT | [
"<BEGIN>\n## `_notify_thing_lid_change`",
"Used by Thing instances to indicate that a rename operation has happened\n<END>",
"<BEGIN>\n## `register_catchall_feeddata`",
"Registers a callback that is called for all feeddata your Thing receives",
" `Example`",
" #!python\n def f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Returns True if the request has finished or False if it is still pending.
Raises [LinkException](AmqpLink.m.html#IoticAgent.Core.AmqpLink.LinkException) if the request failed due to a
network related problem. | "Returns True if the request has finished or False if it is still pending.\n\n Raises [LinkException](AmqpLink.m.html#IoticAgent.Core.AmqpLink.LinkException) if the request failed due to a\n network related problem." | 643 | false | Iotic-Labs/py-IoticAgent | is_set | 34,204 | |
LDU_FT/flashashen/flange/__visit_index_model_instance | LDU_FT | [
"<BEGIN>\n## `search`",
"find matches for the given path expression in the data",
" :param path_expression: path tuple or string\n :return:\n<END>",
"<BEGIN>\n## `split_iter`",
"Splits an iterable based on a separator, *sep*, a max of\n *maxsplit* times (no max by default). *sep* can be:",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __visit_index_model_instance 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 __visit_index_model_instance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Called during model research on merged data | "Called during model research on merged data" | 132 | false | flashashen/flange | __visit_index_model_instance | 34,205 | |
LDU_FT/sammchardy/python-binance/add_ask | LDU_FT | [
"<BEGIN>\n## `add_bid`",
"Add a bid to the cache",
" :param bid:\n :return:\n<END>",
"<BEGIN>\n## `add_ask`",
"Add an ask to the cache",
" :param ask:\n :return:\n<END>",
"<BEGIN>\n## `_init_cache`",
"Initialise the depth cache calling REST endpoint",
" :return:\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_ask API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_ask API.
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... | Add an ask to the cache
:param ask:
:return: | "Add an ask to the cache\n\n :param ask:\n :return:" | 233 | false | sammchardy/python-binance | add_ask | 34,206 | |
LDU_FT/aalireza/SimpleAudioIndexer/_split_audio_by_size | LDU_FT | [
"<BEGIN>\n## `set_username_ibm`",
"Parameters\n ----------\n username_ibm : str",
" Raises\n ------\n Exception\n If mode is not `ibm`\n<END>",
"<BEGIN>\n## `set_password_ibm`",
"Parameters\n ----------\n password_ibm : str",
" Raises\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _split_audio_by_size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _split_audio_by_size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Calculates the duration of the name.wav in order for all splits have
the size of chunk_size except possibly the last split (which will be
smaller) and then passes the duration to `split_audio_by_duration`
Parameters
----------
audio_abs_path : str
results_abs_path : str
... | "Calculates the duration of the name.wav in order for all splits have\n the size of chunk_size except possibly the last split (which will be\n smaller) and then passes the duration to `split_audio_by_duration`\n\n Parameters\n ----------\n audio_abs_path : str\n results_abs_pat... | 159 | false | aalireza/SimpleAudioIndexer | _split_audio_by_size | 34,207 | |
LDU_FT/WhyNotHugo/django-afip/populate | LDU_FT | [
"<BEGIN>\n## `catch_errors`",
"Catches specific errors in admin actions and shows a friendly error.\n<END>",
"<BEGIN>\n## `numbers`",
"Returns the barcode's number without the verification digit.",
" :return: list(int)\n<END>",
"<BEGIN>\n## `verification_digit`",
"Returns the verification digit f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the populate API.
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 populate API.
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... | Populate the database with types retrieved from the AFIP.
If no ticket is provided, the most recent available one will be used. | "Populate the database with types retrieved from the AFIP.\n\n If no ticket is provided, the most recent available one will be used." | 96 | false | WhyNotHugo/django-afip | populate | 34,208 | |
LDU_FT/rckclmbr/pyportify/generate_key_pair | LDU_FT | [
"<BEGIN>\n## `perform_master_login`",
"Perform a master login, which is what Android does when you first add a\n Google account.",
" Return a dict, eg::",
" {\n 'Auth': '...',\n 'Email': 'email@gmail.com',\n 'GooglePlusUpgrade': '1',\n 'LSID': '...',\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_key_pair API.
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 generate_key_pair API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Generates an RSA key pair.
size:
the bit size of the modulus, default to 512.
number:
the number of primes to use, default to 2.
rnd:
the random number generator to use, default to SystemRandom from the
random library.
k:
the number of ... | "Generates an RSA key pair.\n\n size:\n the bit size of the modulus, default to 512.\n number:\n the number of primes to use, default to 2.\n rnd:\n the random number generator to use, default to SystemRandom from the\n random library.\n k:\n the... | 57 | false | rckclmbr/pyportify | generate_key_pair | 34,209 | |
LDU_FT/COLORFULBOARD/revision/commit | LDU_FT | [
"<BEGIN>\n## `download`",
":param url:\n :type url: str\n :param dest_path:\n :type dest_path: str\n<END>",
"<BEGIN>\n## `upload`",
":param url:\n :type url: str\n :param method:\n :type method: str\n :param file_path:\n :type file_path: str\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the commit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the commit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | :param revision:
:type revision: :class:`revision.data.Revision`
:param is_amend:
:type is_amend: boolean
:return: The Orchestrator instance (for method chaining)
:rtype: :class:`revision.orchestrator.Orchestrator` | ":param revision:\n :type revision: :class:`revision.data.Revision`\n :param is_amend:\n :type is_amend: boolean\n :return: The Orchestrator instance (for method chaining)\n :rtype: :class:`revision.orchestrator.Orchestrator`" | 54 | false | COLORFULBOARD/revision | commit | 34,210 | |
LDU_FT/edaniszewski/pylint-quotes/_find_docstring_line_for_no_body | LDU_FT | [
"<BEGIN>\n## `leave_module`",
"Leave module and check remaining triple quotes.",
" Args:\n node: the module node we are leaving.\n<END>",
"<BEGIN>\n## `_process_for_docstring`",
"Check for docstring quote consistency.",
" Args:\n node: the AST node being visited.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_docstring_line_for_no_body API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_docstring_line_for_no_body API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | Find the docstring associated with a definition with no body
in the node.
In these cases, the provided start and end line number for that
element are the same, so we must get the docstring based on the
sequential position of known docstrings.
Args:
start: the row wh... | "Find the docstring associated with a definition with no body\n in the node.\n\n In these cases, the provided start and end line number for that\n element are the same, so we must get the docstring based on the\n sequential position of known docstrings.\n\n Args:\n start: t... | 38 | false | edaniszewski/pylint-quotes | _find_docstring_line_for_no_body | 34,211 | |
LDU_FT/jarrekk/imgkit/from_url | LDU_FT | [
"<BEGIN>\n## `_gegetate_args`",
"Generator of args parts based on options specification.\n<END>",
"<BEGIN>\n## `_command`",
"Generator of all command parts\n :type options: object\n :return:\n<END>",
"<BEGIN>\n## `_normalize_options`",
"Generator of 2-tuples (option-key, option-value).\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_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 extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_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 extracte... | Convert URL/URLs to IMG file/files
:param url: URL or list of URLs to be saved
:param output_path: path to output PDF file/files. False means file will be returned as string
:param options: (optional) dict with wkhtmltopdf global and page options, with or w/o '--'
:param toc: (optional) dict with toc-s... | "Convert URL/URLs to IMG file/files\n\n :param url: URL or list of URLs to be saved\n :param output_path: path to output PDF file/files. False means file will be returned as string\n :param options: (optional) dict with wkhtmltopdf global and page options, with or w/o '--'\n :param toc: (optional) dict with... | 21 | false | jarrekk/imgkit | from_url | 34,212 | |
LDU_FT/Julius2342/pyvlx/handle_frame | LDU_FT | [
"<BEGIN>\n## `add`",
"Add Node, replace existing node if node with node_id is present.\n<END>",
"<BEGIN>\n## `load`",
"Load nodes from KLF 200, if no node_id is specified all nodes are loaded.\n<END>",
"<BEGIN>\n## `handle_frame`",
"Handle incoming API frame, return True if this was the expected frame.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_frame API.
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 handle_frame API.
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... | Handle incoming API frame, return True if this was the expected frame. | "Handle incoming API frame, return True if this was the expected frame." | 74 | false | Julius2342/pyvlx | handle_frame | 34,213 | |
LDU_FT/huyingxi/Synonyms/load_word2vec_format | LDU_FT | [
"<BEGIN>\n## `load_word2vec_format`",
"Load the input-hidden weight matrix from the original C word2vec-tool format.\n Note that the information stored in the file is incomplete (the binary tree is missing),\n so while you can query for word similarity etc., you cannot continue training\n wit... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_word2vec_format 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 load_word2vec_format API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Load the input-hidden weight matrix from the original C word2vec-tool format.
Note that the information stored in the file is incomplete (the binary tree is missing),
so while you can query for word similarity etc., you cannot continue training
with a model loaded this way.
`binary` is a... | "Load the input-hidden weight matrix from the original C word2vec-tool format.\n Note that the information stored in the file is incomplete (the binary tree is missing),\n so while you can query for word similarity etc., you cannot continue training\n with a model loaded this way.\n `binary`... | 40 | false | huyingxi/Synonyms | load_word2vec_format | 34,214 | |
LDU_FT/Zsailer/phylopandas/pandas_df_to_biopython_seqrecord | LDU_FT | [
"<BEGIN>\n## `_dendropy_to_dataframe`",
"Convert Dendropy tree to Pandas dataframe.\n<END>",
"<BEGIN>\n## `_read`",
"Read a phylogenetic tree into a phylopandas.DataFrame.",
" The resulting DataFrame has the following columns:\n - name: label for each taxa or node.\n - id: unique id (create... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pandas_df_to_biopython_seqrecord API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pandas_df_to_biopython_seqrecord API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | Convert pandas dataframe to biopython seqrecord for easy writing.
Parameters
----------
df : Dataframe
Pandas dataframe to convert
id_col : str
column in dataframe to use as sequence label
sequence_col str:
column in dataframe to use as sequence data
extra_data : list... | "Convert pandas dataframe to biopython seqrecord for easy writing.\n\n Parameters\n ----------\n df : Dataframe\n Pandas dataframe to convert\n\n id_col : str\n column in dataframe to use as sequence label\n\n sequence_col str:\n column in dataframe to use as sequence data\n\n ext... | 65 | false | Zsailer/phylopandas | pandas_df_to_biopython_seqrecord | 34,215 | |
LDU_FT/rsmuc/health_monitoring_plugins/partition_found | LDU_FT | [
"<BEGIN>\n## `check_ups_estimated_minutes_remaining`",
"OID .1.3.6.1.2.1.33.1.2.3.0\n MIB excerpt\n An estimate of the time to battery charge depletion\n under the present load conditions if the utility power\n is off and remains off, or if it were to be lost and\n remain off.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the partition_found API.
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 partition_found API.
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 True, if the partition (--partition) is in the description we received from the host | "returns True, if the partition (--partition) is in the description we received from the host" | 75 | false | rsmuc/health_monitoring_plugins | partition_found | 34,216 | |
LDU_FT/mattloper/opendr/get_vert_connectivity | LDU_FT | [
"<BEGIN>\n## `draw_edge_visibility`",
"Assumes camera is set up correctly in gl context.\n<END>",
"<BEGIN>\n## `draw_boundary_images`",
"Assumes camera is set up correctly, and that glf has any texmapping on necessary.\n<END>",
"<BEGIN>\n## `TriArea`",
"Returns a Ch object whose only attribute \"v\" repre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_vert_connectivity 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_vert_connectivity 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 sparse matrix (of size #verts x #verts) where each nonzero
element indicates a neighborhood relation. For example, if there is a
nonzero element in position (15,12), that means vertex 15 is connected
by an edge to vertex 12. | "Returns a sparse matrix (of size #verts x #verts) where each nonzero\n element indicates a neighborhood relation. For example, if there is a\n nonzero element in position (15,12), that means vertex 15 is connected\n by an edge to vertex 12." | 28 | false | mattloper/opendr | get_vert_connectivity | 34,217 | |
LDU_FT/lacava/few/get_diversity | LDU_FT | [
"<BEGIN>\n## `survival`",
"routes to the survival method, returns survivors\n<END>",
"<BEGIN>\n## `tournament`",
"conducts tournament selection of size tourn_size\n<END>",
"<BEGIN>\n## `lexicase`",
"conducts lexicase selection for de-aggregated fitness vectors\n<END>",
"<BEGIN>\n## `epsilon_lexicase`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_diversity API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_diversity API.
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... | compute mean diversity of individual outputs | "compute mean diversity of individual outputs" | 54 | false | lacava/few | get_diversity | 34,218 | |
LDU_FT/pmacosta/pmisc/pgcd | LDU_FT | [
"<BEGIN>\n## `make_dir`",
"Create the directory of a fully qualified file name if it does not exist.",
" :param fname: File name\n :type fname: string",
" Equivalent to these Bash shell commands:",
" .. code-block:: bash",
" $ fname=\"${HOME}/mydir/myfile.txt\"\n $ dir=$(dirname... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pgcd API.
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 pgcd API.
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... | Calculate the greatest common divisor (GCD) of two numbers.
:param numa: First number
:type numa: number
:param numb: Second number
:type numb: number
:rtype: number
For example:
>>> import pmisc, fractions
>>> pmisc.pgcd(10, 15)
5
>>> str(pmisc.pgcd(0.05, ... | "Calculate the greatest common divisor (GCD) of two numbers.\n\n :param numa: First number\n :type numa: number\n\n :param numb: Second number\n :type numb: number\n\n :rtype: number\n\n For example:\n\n >>> import pmisc, fractions\n >>> pmisc.pgcd(10, 15)\n 5\n >>> str(p... | 151 | false | pmacosta/pmisc | pgcd | 34,219 | |
LDU_FT/javipalanca/spade/to | LDU_FT | [
"<BEGIN>\n## `set_available`",
"Sets the agent availability to True.",
" Args:\n show (aioxmpp.PresenceShow, optional): the show state of the presence (Default value = None)\n<END>",
"<BEGIN>\n## `set_presence`",
"Change the presence broadcast by the client.\n If the client is current... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | Set jid of the receiver.
Args:
jid (str): the jid of the receiver. | "Set jid of the receiver.\n\n Args:\n jid (str): the jid of the receiver." | 153 | false | javipalanca/spade | to | 34,220 | |
LDU_FT/cohorte/cohorte-herald/_get_link | LDU_FT | [
"<BEGIN>\n## `main`",
"Runs the framework",
" :param http_port: HTTP port to listen to\n :param peer_name: Name of the peer\n :param node_name: Name (also, UID) of the node hosting the peer\n :param app_id: Application ID\n<END>",
"<BEGIN>\n## `_get_link`",
"Returns a link to the given peer",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_link API.
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_link API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns a link to the given peer
:return: A Link object
:raise ValueError: Unknown peer | "Returns a link to the given peer\n\n :return: A Link object\n :raise ValueError: Unknown peer" | 110 | false | cohorte/cohorte-herald | _get_link | 34,221 | |
LDU_FT/getsentry/sentry-python/get_client_ip | LDU_FT | [
"<BEGIN>\n## `init`",
"Initializes the SDK and optionally integrations.",
" This takes the same arguments as the client constructor.\n<END>",
"<BEGIN>\n## `current`",
"Returns the current instance of the hub.\n<END>",
"<BEGIN>\n## `get_integration`",
"Returns the integration for this hub by name or c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_client_ip API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_client_ip API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Infer the user IP address from various headers. This cannot be used in
security sensitive situations since the value may be forged from a client,
but it's good enough for the event payload. | "Infer the user IP address from various headers. This cannot be used in\n security sensitive situations since the value may be forged from a client,\n but it's good enough for the event payload." | 57 | false | getsentry/sentry-python | get_client_ip | 34,222 | |
LDU_FT/dtmilano/AndroidViewClient/longTouchPoint | LDU_FT | [
"<BEGIN>\n## `takeScreenshotAndShowItOnWindow`",
"Takes the current screenshot and shows it on the main window.\n It also:\n - sizes the window\n - create the canvas\n - set the focus\n - enable the events\n - create widgets\n - finds the targets (as explaine... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the longTouchPoint API.
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 longTouchPoint API.
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... | Long-touches a point in the device screen.
The generated operation will use the units specified in L{coordinatesUnit} and the
orientation in L{vc.display['orientation']}. | "Long-touches a point in the device screen.\n The generated operation will use the units specified in L{coordinatesUnit} and the\n orientation in L{vc.display['orientation']}." | 197 | false | dtmilano/AndroidViewClient | longTouchPoint | 34,223 | |
LDU_FT/jslang/responsys/connect | LDU_FT | [
"<BEGIN>\n## `call`",
"Calls the service method defined with the arguments provided\n<END>",
"<BEGIN>\n## `connect`",
"Connects to the Responsys soap service",
" Uses the credentials passed to the client init to login and setup the session id returned.\n Returns True on successful connection, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Connects to the Responsys soap service
Uses the credentials passed to the client init to login and setup the session id returned.
Returns True on successful connection, otherwise False. | "Connects to the Responsys soap service\n\n Uses the credentials passed to the client init to login and setup the session id returned.\n Returns True on successful connection, otherwise False." | 74 | false | jslang/responsys | connect | 34,224 | |
LDU_FT/pyamg/pyamg/Satisfy_Constraints | LDU_FT | [
"<BEGIN>\n## `make_csr`",
"Convert A to CSR, if A is not a CSR or BSR matrix already.",
" Parameters\n ----------\n A : array, matrix, sparse matrix\n (n x n) matrix to convert to CSR",
" Returns\n -------\n A : csr_matrix, bsr_matrix\n If A is csr_matrix or bsr_matrix, then do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Satisfy_Constraints 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 Satisfy_Constraints 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... | U is the prolongator update. Project out components of U such that U*B = 0.
Parameters
----------
U : bsr_matrix
m x n sparse bsr matrix
Update to the prolongator
B : array
n x k array of the coarse grid near nullspace vectors
BtBinv : array
Local inv(B_i.H*B_i) mat... | "U is the prolongator update. Project out components of U such that U*B = 0.\n\n Parameters\n ----------\n U : bsr_matrix\n m x n sparse bsr matrix\n Update to the prolongator\n B : array\n n x k array of the coarse grid near nullspace vectors\n BtBinv : array\n Local inv(B_i... | 1,074 | true | pyamg/pyamg | Satisfy_Constraints | 34,225 | |
LDU_FT/mapmyfitness/jtime/get_datetime_issue_in_progress | LDU_FT | [
"<BEGIN>\n## `get_input`",
"Get input from the user given an input function and an input string\n<END>",
"<BEGIN>\n## `working_cycletime`",
"Get the working time between a beginning and an end point subtracting out non-office time\n<END>",
"<BEGIN>\n## `status`",
"Gets the worklog status for the current b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_datetime_issue_in_progress API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_datetime_issue_in_progress API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | If the issue is in progress, gets that most recent time that the issue became 'In Progress' | "If the issue is in progress, gets that most recent time that the issue became 'In Progress'" | 36 | false | mapmyfitness/jtime | get_datetime_issue_in_progress | 34,226 | |
LDU_FT/dmcc/PyStanfordDependencies/setup_and_get_default_path | LDU_FT | [
"<BEGIN>\n## `convert_trees`",
"Convert a list of Penn Treebank formatted strings (ptb_trees)\n into Stanford Dependencies. The dependencies are represented\n as a list of sentences (CoNLL.Corpus), where each sentence\n (CoNLL.Sentence) is itself a list of CoNLL.Token objects.",
" Cu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_and_get_default_path 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 setup_and_get_default_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Determine the user-specific install path for the Stanford
Dependencies jar if the jar_url is not specified and ensure that
it is writable (that is, make sure the directory exists). Returns
the full path for where the jar file should be installed. | "Determine the user-specific install path for the Stanford\n Dependencies jar if the jar_url is not specified and ensure that\n it is writable (that is, make sure the directory exists). Returns\n the full path for where the jar file should be installed." | 56 | false | dmcc/PyStanfordDependencies | setup_and_get_default_path | 34,227 | |
LDU_FT/kwikteam/phy/on_cluster | LDU_FT | [
"<BEGIN>\n## `set_state`",
"Set the view state.",
" The passed object is the persisted `self.state` bunch.",
" May be overriden.\n<END>",
"<BEGIN>\n## `_fullname`",
"Return the fully-qualified name of a function.\n<END>",
"<BEGIN>\n## `_get_default_grid`",
"In the grid specification, 0 c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_cluster API.
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 on_cluster API.
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... | Update the cluster views after clustering actions. | "Update the cluster views after clustering actions." | 346 | false | kwikteam/phy | on_cluster | 34,228 | |
LDU_FT/suurjaak/InputScope/fetchone | LDU_FT | [
"<BEGIN>\n## `start`",
"Starts the listener with incoming and outgoing queues.\n<END>",
"<BEGIN>\n## `fetch`",
"Convenience wrapper for database SELECT and fetch all.\n<END>",
"<BEGIN>\n## `fetchone`",
"Convenience wrapper for database SELECT and fetch one.\n<END>",
"<BEGIN>\n## `insert`",
"Convenienc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetchone API.
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 fetchone API.
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... | Convenience wrapper for database SELECT and fetch one. | "Convenience wrapper for database SELECT and fetch one." | 38 | false | suurjaak/InputScope | fetchone | 34,229 | |
LDU_FT/Valassis-Digital-Media/spylon/_init_spark | LDU_FT | [
"<BEGIN>\n## `as_iterable`",
"Utility for converting an object to an iterable.",
" Parameters\n ----------\n iterable_or_scalar : anything",
" Returns\n -------\n l : iterable\n If `obj` was None, return the empty tuple.\n If `obj` was not iterable returns a 1-tuple containing ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init_spark API.
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 _init_spark API.
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... | Initializes spark so that pyspark is importable. This also sets up the required environment variables | "Initializes spark so that pyspark is importable. This also sets up the required environment variables" | 96 | false | Valassis-Digital-Media/spylon | _init_spark | 34,230 | |
LDU_FT/bioidiap/bob.bio.spear/normalize_std_array | LDU_FT | [
"<BEGIN>\n## `ensure_dir`",
"Creates the directory dirname if it does not already exist,\n taking into account concurrent 'creation' on the grid.\n An exception is thrown if a file (rather than a directory) already\n exists.\n<END>",
"<BEGIN>\n## `probes_used_generate_vector`",
"Generates boole... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_std_array API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_std_array API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Applies a unit mean and variance normalization to an arrayset | "Applies a unit mean and variance normalization to an arrayset" | 22 | false | bioidiap/bob.bio.spear | normalize_std_array | 34,231 | |
LDU_FT/portantier/habu/cmd_isn | LDU_FT | [
"<BEGIN>\n## `cmd_arp_poison`",
"Send ARP 'is-at' packets to each victim, poisoning their\n ARP tables for send the traffic to your system.",
" Note: If you want a full working Man In The Middle attack, you need\n to enable the packet forwarding on your operating system to act like a\n router. You c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cmd_isn API.
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 cmd_isn API.
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... | Create TCP connections and print the TCP initial sequence
numbers for each one.
\b
$ sudo habu.isn -c 5 www.portantier.com
1962287220
1800895007
589617930
3393793979
469428558
Note: You can get a graphical representation (needs the matplotlib package)
using the '-g' option to b... | "Create TCP connections and print the TCP initial sequence\n numbers for each one.\n\n \\b\n $ sudo habu.isn -c 5 www.portantier.com\n 1962287220\n 1800895007\n 589617930\n 3393793979\n 469428558\n\n Note: You can get a graphical representation (needs the matplotlib package)\n using the '-... | 304 | false | portantier/habu | cmd_isn | 34,232 | |
LDU_FT/rchatterjee/pwmodels/iterpws | LDU_FT | [
"<BEGIN>\n## `gen_n_random_num`",
"Returns @n @unique random unsigned integers (4 bytes) \\\n between 0 and @MAX_NUM.\n<END>",
"<BEGIN>\n## `sample_following_dist`",
"Samples n passwords following the distribution from the handle\n @handle_iter is an iterator that gives (pw,f) @n is the total\n numbe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iterpws API.
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 iterpws API.
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 passwords in order of their frequencies.
@n: The numebr of passwords to return
Return: pwid, password, frequency
Every password is assigned an uniq id, for efficient access. | "Returns passwords in order of their frequencies.\n @n: The numebr of passwords to return\n Return: pwid, password, frequency\n Every password is assigned an uniq id, for efficient access." | 48 | false | rchatterjee/pwmodels | iterpws | 34,233 | |
LDU_FT/cykl/infoqscraper/summaries | LDU_FT | [
"<BEGIN>\n## `get_content`",
"Returns the content of a cached resource.",
" Args:\n url: The url of the resource",
" Returns:\n The content of the cached resource or None if not in the cache\n<END>",
"<BEGIN>\n## `get_path`",
"Returns the path of a cached resource.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the summaries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the summaries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return a list of all the presentation summaries contained in this page | "Return a list of all the presentation summaries contained in this page" | 53 | false | cykl/infoqscraper | summaries | 34,234 | |
LDU_FT/gagneurlab/concise/accuracy | LDU_FT | [
"<BEGIN>\n## `best_kmers`",
"Find best k-mers for CONCISE initialization.",
" Args:\n dt (pd.DataFrame): Table containing response variable and sequence.\n response (str): Name of the column used as the reponse variable.\n sequence (str): Name of the column storing the DNA/RNA sequences.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the accuracy API.
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 accuracy API.
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... | Classification accuracy `(tp + tn) / (tp + tn + fp + fn)` | "Classification accuracy `(tp + tn) / (tp + tn + fp + fn)`" | 311 | false | gagneurlab/concise | accuracy | 34,235 | |
LDU_FT/koszullab/instaGRAAL/compare_orderings | LDU_FT | [
"<BEGIN>\n## `estimate_parameters_rippe`",
"estimation by least square optimization of Rippe parameters on the\n experimental data\n :param max_dist_kb:\n :param size_bin_kb:\n<END>",
"<BEGIN>\n## `estimate_parameters`",
"estimation by least square optimization of Rippe parameters on the\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compare_orderings API.
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 compare_orderings API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Given linkage groups and info_frags records, link pseudo-chromosomes to
scaffolds based on the initial contig composition of each group. Because
info_frags records are usually richer and may contain contigs not found
in linkage groups, those extra sequences are discarded.
Example with two linkage group... | "Given linkage groups and info_frags records, link pseudo-chromosomes to\n scaffolds based on the initial contig composition of each group. Because\n info_frags records are usually richer and may contain contigs not found\n in linkage groups, those extra sequences are discarded.\n\n Example with two linkage... | 116 | false | koszullab/instaGRAAL | compare_orderings | 34,236 | |
LDU_FT/audreyr/cookiecutter/read_user_choice | LDU_FT | [
"<BEGIN>\n## `expand_abbreviations`",
"Expand abbreviations in a template name.",
" :param template: The project template name.\n :param abbreviations: Abbreviation definitions.\n<END>",
"<BEGIN>\n## `repository_has_cookiecutter_json`",
"Determine if `repo_directory` contains a `cookiecutter.json` fil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_user_choice API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_user_choice API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Prompt the user to choose from several options for the given variable.
The first item will be returned if no input happens.
:param str var_name: Variable as specified in the context
:param list options: Sequence of options that are available to select from
:return: Exactly one item of ``options`` that... | "Prompt the user to choose from several options for the given variable.\n\n The first item will be returned if no input happens.\n\n :param str var_name: Variable as specified in the context\n :param list options: Sequence of options that are available to select from\n :return: Exactly one item of ``options... | 129 | false | audreyr/cookiecutter | read_user_choice | 34,237 | |
LDU_FT/Celeo/Pycord/send_message | LDU_FT | [
"<BEGIN>\n## `parse`",
"Gets the enum for the op code",
" Args:\n op: value of the op code (will be casted to int)",
" Returns:\n The enum that matches the op code\n<END>",
"<BEGIN>\n## `run`",
"Runs the thread",
" This method handles sending the heartbeat to t... | 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 a message to a channel
For formatting options, see the documentation:
https://discordapp.com/developers/docs/resources/channel#create-message
Args:
id: channel snowflake id
message: your message (string)
Returns:
Dictionary object of the ne... | "Send a message to a channel\n\n For formatting options, see the documentation:\n https://discordapp.com/developers/docs/resources/channel#create-message\n\n Args:\n id: channel snowflake id\n message: your message (string)\n\n Returns:\n Dictionary objec... | 108 | false | Celeo/Pycord | send_message | 34,238 | |
LDU_FT/payu-org/payu/int_to_date | LDU_FT | [
"<BEGIN>\n## `set_model_pathnames`",
"Define the paths associated with this model.\n<END>",
"<BEGIN>\n## `archive`",
"Store model output to laboratory archive.\n<END>",
"<BEGIN>\n## `parse`",
"Parse the command line inputs and execute the subcommand.\n<END>",
"<BEGIN>\n## `get_model_type`",
"Determine... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the int_to_date API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the int_to_date API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Convert an int of form yyyymmdd to a python date object. | "Convert an int of form yyyymmdd to a python date object." | 78 | false | payu-org/payu | int_to_date | 34,239 | |
LDU_FT/dhermes/bezier/convex_hull_collide | LDU_FT | [
"<BEGIN>\n## `polynomial_sign`",
"r\"\"\"Determine the \"sign\" of a polynomial on the reference triangle.",
" .. note::",
" This is used **only** by :meth:`Surface._compute_valid` (which is\n in turn used to compute / cache the :attr:`Surface.is_valid`\n property).",
" Checks if a p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convex_hull_collide 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 convex_hull_collide 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... | Determine if the convex hulls of two curves collide.
.. note::
This is a helper for :func:`from_linearized`.
Args:
nodes1 (numpy.ndarray): Control points of a first curve.
nodes2 (numpy.ndarray): Control points of a second curve.
Returns:
bool: Indicating if the convex hul... | "Determine if the convex hulls of two curves collide.\n\n .. note::\n\n This is a helper for :func:`from_linearized`.\n\n Args:\n nodes1 (numpy.ndarray): Control points of a first curve.\n nodes2 (numpy.ndarray): Control points of a second curve.\n\n Returns:\n bool: Indicating if th... | 1,903 | true | dhermes/bezier | convex_hull_collide | 34,240 | |
LDU_FT/nickjj/ansigenome/swap_yaml_string | LDU_FT | [
"<BEGIN>\n## `epilogue`",
"Return the epilogue for the help command.\n<END>",
"<BEGIN>\n## `command_name`",
"Return a snippet of help text for this command.\n<END>",
"<BEGIN>\n## `has_colors`",
"Determine if the terminal supports ansi colors.\n<END>",
"<BEGIN>\n## `file_to_string`",
"Return the conten... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the swap_yaml_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 swap_yaml_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 ... | Swap a string in a yaml file without touching the existing formatting. | "Swap a string in a yaml file without touching the existing formatting." | 58 | false | nickjj/ansigenome | swap_yaml_string | 34,241 | |
LDU_FT/XuShaohua/bcloud/disable_share | LDU_FT | [
"<BEGIN>\n## `display_files`",
"重新格式化一下文件列表, 去除不需要的信息",
" 这一操作主要是为了便于接下来的查找工作.\n 文件的path都被提取出来, 然后放到了一个list中.\n<END>",
"<BEGIN>\n## `init_db`",
"这个任务数据库只在程序开始时读入, 在程序关闭时导出.",
" 因为Gtk没有像在Qt中那么方便的使用SQLite, 而必须将所有数据读入一个\n liststore中才行.\n<END>",
"<BEGIN>\n## `get_task_db`",
"从数... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disable_share API.
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 disable_share API.
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... | 取消分享.
shareid_list 是一个list, 每一项都是一个shareid | "取消分享.\n\n shareid_list 是一个list, 每一项都是一个shareid" | 199 | false | XuShaohua/bcloud | disable_share | 34,242 | |
LDU_FT/inveniosoftware-attic/invenio-comments/check_user_can_view_comment | LDU_FT | [
"<BEGIN>\n## `perform_request_display_comments_or_remarks`",
"Returns all the comments (reviews) of a specific internal record or external basket record.\n :param recID: record id where (internal record IDs > 0) or (external basket record IDs < -100)\n :param display_order: hh = highest helpful score... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_user_can_view_comment 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 check_user_can_view_comment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Check if the user is authorized to view a particular comment,
given the comment restriction. Note that this function does not
check if the record itself is restricted to the user, which would
mean that the user should not see the comment.
You can omit 'comid' if you already know the 'restriction'
... | "Check if the user is authorized to view a particular comment,\n given the comment restriction. Note that this function does not\n check if the record itself is restricted to the user, which would\n mean that the user should not see the comment.\n\n You can omit 'comid' if you already know the 'restriction'... | 123 | false | inveniosoftware-attic/invenio-comments | check_user_can_view_comment | 34,243 | |
LDU_FT/jspricke/python-remind/_interval | LDU_FT | [
"<BEGIN>\n## `rem2ics`",
"Command line tool to convert from Remind to iCalendar\n<END>",
"<BEGIN>\n## `ics2rem`",
"Command line tool to convert from iCalendar to Remind\n<END>",
"<BEGIN>\n## `_parse_remind`",
"Calls remind and parses the output into a dict",
" filename -- the remind file (include... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _interval API.
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 _interval API.
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... | Return the distance between all dates and 0 if they are different | "Return the distance between all dates and 0 if they are different" | 47 | false | jspricke/python-remind | _interval | 34,244 | |
LDU_FT/pycampers/zproc/when_equal | LDU_FT | [
"<BEGIN>\n## `_create_remote_dict_method`",
"Generates a method for the State class,\n that will call the \"method_name\" on the state (a ``dict``) stored on the server,\n and return the result.",
" Glorified RPC.\n<END>",
"<BEGIN>\n## `run_dict_method`",
"Execute a method on the state ``dict`` and... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the when_equal API.
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 when_equal API.
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... | Block until ``state[key] == value``, and then return a copy of the state.
.. include:: /api/state/get_when_equality.rst | "Block until ``state[key] == value``, and then return a copy of the state.\n\n .. include:: /api/state/get_when_equality.rst" | 134 | false | pycampers/zproc | when_equal | 34,245 | |
LDU_FT/ElementAI/greensim/release | LDU_FT | [
"<BEGIN>\n## `pause`",
"Pauses the current process indefinitely -- it will require another process to `resume()` it. When this resumption\n happens, the process returns from this function.\n<END>",
"<BEGIN>\n## `advance`",
"Pauses the current process for the given delay (in simulated time). The process wil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the release API.
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 release API.
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... | The current process releases instances it has previously taken. It may thus release less than it has taken.
These released instances become free. If the total number of free instances then satisfy the request of the top
process of the waiting queue, it is popped off the queue and resumed. | "The current process releases instances it has previously taken. It may thus release less than it has taken.\n These released instances become free. If the total number of free instances then satisfy the request of the top\n process of the waiting queue, it is popped off the queue and resumed." | 83 | false | ElementAI/greensim | release | 34,246 | |
LDU_FT/jhuapl-boss/intern/block_compute | LDU_FT | [
"<BEGIN>\n## `list_groups`",
"Get the groups the logged in user is a member of.",
" Optionally filter by 'member' or 'maintainer'.",
" Args:\n filtr (string|None): ['member'|'maintainer'] or defaults to None.\n url_prefix (string): Protocol + host such as https://api.thebos... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the block_compute API.
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 block_compute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Get bounding box coordinates (in 3D) of small cutouts to request in
order to reconstitute a larger cutout.
Arguments:
x_start (int): The lower bound of dimension x
x_stop (int): The upper bound of dimension x
y_start (int): The lower bound of dimension y
y_stop (int): The upper ... | "Get bounding box coordinates (in 3D) of small cutouts to request in\n order to reconstitute a larger cutout.\n\n Arguments:\n x_start (int): The lower bound of dimension x\n x_stop (int): The upper bound of dimension x\n y_start (int): The lower bound of dimension y\n y_stop (int): Th... | 451 | false | jhuapl-boss/intern | block_compute | 34,247 | |
LDU_FT/jespino/anillo/wrap_query_params | LDU_FT | [
"<BEGIN>\n## `url`",
"Simple helper for build a url, and return anillo\n url spec hash map (dictionary)",
" It can be used in this way:",
" urls = [\n url(\"/<int:year>\", index, methods=[\"get\", \"post\"]),\n url(\"/<int:year>\", index, methods=[\"get\", \"post\"])\n ]",
" Thi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap_query_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap_query_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | A middleware that parses the urlencoded params from the querystring
and attach it to the request `query_params` attribute.
This middleware also merges the parsed value with the existing
`params` attribute in same way as `wrap_form_params` is doing. | "A middleware that parses the urlencoded params from the querystring\n and attach it to the request `query_params` attribute.\n\n This middleware also merges the parsed value with the existing\n `params` attribute in same way as `wrap_form_params` is doing." | 54 | false | jespino/anillo | wrap_query_params | 34,248 | |
LDU_FT/Cue/scales/updateItem | LDU_FT | [
"<BEGIN>\n## `lookup`",
"Traverses the source, looking up each key. Returns None if can't find anything instead of raising an exception.\n<END>",
"<BEGIN>\n## `connect`",
"Connects to the Graphite server if not already connected.\n<END>",
"<BEGIN>\n## `disconnect`",
"Disconnect from the Graphite server i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the updateItem API.
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 updateItem API.
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... | Updates a child value. Must be called before the update has actually occurred. | "Updates a child value. Must be called before the update has actually occurred." | 72 | false | Cue/scales | updateItem | 34,249 | |
LDU_FT/PyMLGame/pymlgame/blit | LDU_FT | [
"<BEGIN>\n## `update`",
"Update the screens contents in every loop.\n<END>",
"<BEGIN>\n## `render`",
"Send the current screen content to Mate Light.\n<END>",
"<BEGIN>\n## `gameloop`",
"A game loop that circles through the methods.\n<END>",
"<BEGIN>\n## `init`",
"Initialize PyMLGame. This creates a con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the blit API.
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 blit API.
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... | Blits a surface on the screen at pos
:param surface: Surface to blit
:param pos: Top left corner to start blitting
:type surface: Surface
:type pos: tuple | "Blits a surface on the screen at pos\n\n :param surface: Surface to blit\n :param pos: Top left corner to start blitting\n :type surface: Surface\n :type pos: tuple" | 63 | false | PyMLGame/pymlgame | blit | 34,250 | |
LDU_FT/jay-johnson/spylunking/add_fields | LDU_FT | [
"<BEGIN>\n## `perform_exit`",
"perform_exit",
" Handling at-the-exit events\n ---------------------------",
" This will cleanup each worker process which\n could be in the middle of a request/sleep/block\n action. This has been tested on python 3 with\n Celery and single processes.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_fields API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_fields API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | add_fields
:param log_record: log record
:param record: log message
:param message_dict: message dict | "add_fields\n\n :param log_record: log record\n :param record: log message\n :param message_dict: message dict" | 121 | false | jay-johnson/spylunking | add_fields | 34,251 | |
LDU_FT/fxsjy/jieba/textrank | LDU_FT | [
"<BEGIN>\n## `cut`",
"Global `cut` function that supports parallel processing.",
" Note that this only works using dt, custom POSTokenizer\n instances are not supported.\n<END>",
"<BEGIN>\n## `enable_parallel`",
"Change the module's `cut` and `cut_for_search` functions to the\n parallel version.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the textrank API.
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 textrank API.
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... | Extract keywords from sentence using TextRank algorithm.
Parameter:
- topK: return how many top keywords. `None` for all possible words.
- withWeight: if True, return a list of (word, weight);
if False, return a list of words.
- allowPOS: the allowed... | "Extract keywords from sentence using TextRank algorithm.\n Parameter:\n - topK: return how many top keywords. `None` for all possible words.\n - withWeight: if True, return a list of (word, weight);\n if False, return a list of words.\n - allowPOS: the a... | 27 | false | fxsjy/jieba | textrank | 34,252 | |
LDU_FT/bbangert/lettuce_webdriver/element_id_by_label | LDU_FT | [
"<BEGIN>\n## `set_save_directory`",
"Sets the root save directory for saving screenshots.",
" Screenshots will be saved in subdirectories under this directory by\n browser window size.\n<END>",
"<BEGIN>\n## `load_script`",
"Ensure that JavaScript at a given URL is available to the browser.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the element_id_by_label API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the element_id_by_label API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Return the id of a label's for attribute | "Return the id of a label's for attribute" | 33 | false | bbangert/lettuce_webdriver | element_id_by_label | 34,253 | |
LDU_FT/alpha-xone/xone/data_file | LDU_FT | [
"<BEGIN>\n## `trade_day`",
"Latest trading day w.r.t given dt",
" Args:\n dt: date of reference\n cal: trading calendar",
" Returns:\n pd.Timestamp: last trading day",
" Examples:\n >>> trade_day('2018-12-25').strftime('%Y-%m-%d')\n '2018-12-24'\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data_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 data_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... | Data file name for given infomation
Args:
file_fmt: file format in terms of f-strings
info: dict, to be hashed and then pass to f-string using 'hash_key'
these info will also be passed to f-strings
**kwargs: arguments for f-strings
Returns:
str: data file name | "Data file name for given infomation\n\n Args:\n file_fmt: file format in terms of f-strings\n info: dict, to be hashed and then pass to f-string using 'hash_key'\n these info will also be passed to f-strings\n **kwargs: arguments for f-strings\n\n Returns:\n str: data fil... | 89 | false | alpha-xone/xone | data_file | 34,254 | |
LDU_FT/idmillington/layout/get_rotated | LDU_FT | [
"<BEGIN>\n## `_do_layout`",
"Lays the text out into separate lines and calculates their\n total height.\n<END>",
"<BEGIN>\n## `_calculate_ms_from_base`",
"Calculates the rotated minimum size from the given base minimum\n size.\n<END>",
"<BEGIN>\n## `render`",
"Draws the signature mark.",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_rotated API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_rotated API.
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... | Rotates this vector through the given anti-clockwise angle
in radians. | "Rotates this vector through the given anti-clockwise angle\n in radians." | 91 | false | idmillington/layout | get_rotated | 34,255 | |
LDU_FT/santoshphilip/eppy/getnodefieldname | LDU_FT | [
"<BEGIN>\n## `fan_bhp`",
"return the fan power in bhp given fan efficiency, Pressure rise (Pa) and flow (m3/s)\n<END>",
"<BEGIN>\n## `fan_watts`",
"return the fan power in watts given fan efficiency, Pressure rise (Pa) and flow (m3/s)\n<END>",
"<BEGIN>\n## `watts2pascal`",
"convert and return inputs for E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getnodefieldname API.
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 getnodefieldname API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | return the field name of the node
fluid is only needed if there are air and water nodes
fluid is Air or Water or ''.
if the fluid is Steam, use Water | "return the field name of the node\n fluid is only needed if there are air and water nodes\n fluid is Air or Water or ''.\n if the fluid is Steam, use Water" | 332 | false | santoshphilip/eppy | getnodefieldname | 34,256 | |
LDU_FT/HPENetworking/topology_lib_ip/read | LDU_FT | [
"<BEGIN>\n## `_parse_ip_addr_show`",
"Parse the 'ip addr list dev' command raw output.",
" :param str raw_result: os raw result string.\n :rtype: dict\n :return: The parsed result of the show interface command in a \\\n dictionary of the form:",
" ::",
" {\n 'os_index' ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
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 read API.
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... | Read a file relative to setup.py location. | "Read a file relative to setup.py location." | 35 | false | HPENetworking/topology_lib_ip | read | 34,257 | |
LDU_FT/abhishek-ram/pyas2-lib/sign_message | LDU_FT | [
"<BEGIN>\n## `quote_as2name`",
"Function converts as2 name from unquoted to quoted format\n :param unquoted_name: the as2 name in unquoted format\n :return: the as2 name in unquoted format\n<END>",
"<BEGIN>\n## `mime_to_bytes`",
"Function to convert and email Message to flat string format\n :param ms... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign_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 sign_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... | Function signs the data and returns the generated ASN.1
:param data_to_sign: A byte string of the data to be signed.
:param digest_alg:
The digest algorithm to be used for generating the signature.
:param sign_key: The key to be used for generating the signature.
:param use_signed_attri... | "Function signs the data and returns the generated ASN.1\n\n :param data_to_sign: A byte string of the data to be signed.\n\n :param digest_alg: \n The digest algorithm to be used for generating the signature.\n\n :param sign_key: The key to be used for generating the signature.\n \n :param use_si... | 81 | false | abhishek-ram/pyas2-lib | sign_message | 34,258 | |
LDU_FT/blueset/ehForwarderBot/send_status | LDU_FT | [
"<BEGIN>\n## `self`",
"Set the chat as yourself.\n In this context, \"yourself\" means the user behind the master channel.\n Every channel should relate this to the corresponding target.",
" Returns:\n EFBChat: This object.\n<END>",
"<BEGIN>\n## `system`",
"Set the chat as a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_status API.
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 send_status API.
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... | Deliver a message to the destination channel.
Args:
status (EFBStatus): The status | "Deliver a message to the destination channel.\n\n Args:\n status (EFBStatus): The status" | 66 | false | blueset/ehForwarderBot | send_status | 34,259 | |
LDU_FT/Microsoft/nni/_main_cli | LDU_FT | [
"<BEGIN>\n## `get_pre_compute`",
":param s: [src_sequence, batch_size, src_dim]\n :return: [src_sequence, batch_size. hidden_dim]\n<END>",
"<BEGIN>\n## `get_prob`",
":param s: [src_sequence_length, batch_size, src_dim]\n :param h: [batch_size, tgt_dim] or [tgt_sequence_length, batch_size, tgt_di... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _main_cli API.
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 _main_cli API.
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... | Main function of SMAC for CLI interface
Returns
-------
instance
optimizer | "Main function of SMAC for CLI interface\n \n Returns\n -------\n instance\n optimizer" | 587 | false | Microsoft/nni | _main_cli | 34,260 | |
LDU_FT/abhinav/reversible/_map_generator | LDU_FT | [
"<BEGIN>\n## `gen`",
"Allows using a generator to chain together reversible actions.",
" This decorator may be added to a generator that yields reversible actions\n (any object with a ``.forwards()`` and ``.backwards()`` method). These may\n be constructed manually or via :py:func:`reversible.action`. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _map_generator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _map_generator API.
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... | Apply ``f`` to the results of the given bi-directional generator.
Unfortunately, generator comprehension (``f(x) for x in gen``) does not
work for as expected for bi-directional generators. It won't send
exceptions and results back.
This function implements a map function for generators that sends val... | "Apply ``f`` to the results of the given bi-directional generator.\n\n Unfortunately, generator comprehension (``f(x) for x in gen``) does not\n work for as expected for bi-directional generators. It won't send\n exceptions and results back.\n\n This function implements a map function for generators that se... | 60 | false | abhinav/reversible | _map_generator | 34,261 | |
LDU_FT/b3j0f/aop/weave_on | LDU_FT | [
"<BEGIN>\n## `find_ctx`",
"Find a Pointcut ctx which is a class/instance related to input\n function/method.",
" :param elt: elt from where find a ctx.\n :return: elt ctx. None if no ctx available or if elt is a None method.\n<END>",
"<BEGIN>\n## `base_ctx`",
"Get base ctx.",
" :param ctx: ini... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the weave_on API.
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 weave_on API.
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... | Decorator for weaving advices on a callable target.
:param pointcut: condition for weaving advices on joinpointe.
The condition depends on its type.
:param ctx: target ctx (instance or class).
:type pointcut:
- NoneType: advices are weaved on target.
- str: target name is compared t... | "Decorator for weaving advices on a callable target.\n\n :param pointcut: condition for weaving advices on joinpointe.\n The condition depends on its type.\n :param ctx: target ctx (instance or class).\n :type pointcut:\n - NoneType: advices are weaved on target.\n - str: target name is co... | 79 | false | b3j0f/aop | weave_on | 34,262 | |
LDU_FT/petrjasek/eve-elastic/put_settings | LDU_FT | [
"<BEGIN>\n## `get_dates`",
"Return list of datetime fields for given schema.\n<END>",
"<BEGIN>\n## `set_filters`",
"Put together all filters we have and set them as 'and' filter\n within filtered query.",
" :param query: elastic query being constructed\n :param base_filters: all filters set outside... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_settings API.
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 put_settings API.
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... | Modify index settings.
Index must exist already. | "Modify index settings.\n\n Index must exist already." | 106 | false | petrjasek/eve-elastic | put_settings | 34,263 | |
LDU_FT/rochacbruno/flasgger/drop_id_validate | LDU_FT | [
"<BEGIN>\n## `get`",
"Colors API using schema\n This example is using marshmallow schemas\n<END>",
"<BEGIN>\n## `drop_id_validate`",
"Custom validation function which drops parameter '_id' if present\n in data\n<END>",
"<BEGIN>\n## `timestamping_validate`",
"Custom validation function which inse... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the drop_id_validate API.
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 drop_id_validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Custom validation function which drops parameter '_id' if present
in data | "Custom validation function which drops parameter '_id' if present\n in data" | 71 | false | rochacbruno/flasgger | drop_id_validate | 34,264 | |
LDU_FT/ANCIR/granoloader/get_source | LDU_FT | [
"<BEGIN>\n## `get_value`",
"Returns the value or a dict with a 'value' entry plus extra fields.\n<END>",
"<BEGIN>\n## `get_source`",
"Sources can be specified as plain strings or as a reference to a column.\n<END>",
"<BEGIN>\n## `load`",
"Load a single row of data and convert it into entities and\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_source API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_source API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Sources can be specified as plain strings or as a reference to a column. | "Sources can be specified as plain strings or as a reference to a column." | 12 | false | ANCIR/granoloader | get_source | 34,265 | |
LDU_FT/beetbox/audioread/_message | LDU_FT | [
"<BEGIN>\n## `_notify_caps`",
"The callback for the sinkpad's \"notify::caps\" signal.\n<END>",
"<BEGIN>\n## `_pad_added`",
"The callback for GstElement's \"pad-added\" signal.\n<END>",
"<BEGIN>\n## `_no_more_pads`",
"The callback for GstElement's \"no-more-pads\" signal.\n<END>",
"<BEGIN>\n## `_new_sam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _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 extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _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 extracte... | The callback for GstBus's "message" signal (for two kinds of
messages). | "The callback for GstBus's \"message\" signal (for two kinds of\n messages)." | 58 | false | beetbox/audioread | _message | 34,266 | |
LDU_FT/qacafe/cdrouter.py/launch | LDU_FT | [
"<BEGIN>\n## `list`",
"Get a list of configs.",
" :param filter: (optional) Filters to apply as a string list.\n :param type: (optional) `union` or `inter` as string.\n :param sort: (optional) Sort fields to apply as string list.\n :param limit: (optional) Limit returned list length.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the launch API.
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 launch API.
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 ... | Launch a new job.
:param resource: :class:`jobs.Job <jobs.Job>` object
:return: :class:`jobs.Job <jobs.Job>` object
:rtype: jobs.Job | "Launch a new job.\n\n :param resource: :class:`jobs.Job <jobs.Job>` object\n :return: :class:`jobs.Job <jobs.Job>` object\n :rtype: jobs.Job" | 282 | false | qacafe/cdrouter.py | launch | 34,267 | |
LDU_FT/hubo1016/namedstruct/dump | 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 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 a parsed NamedStruct (probably with additional NamedStruct as fields) into a
JSON-friendly format, with only Python primitives (dictionaries, lists, bytes, integers etc.)
Then you may use json.dumps, or pprint to further process the result.
:param val: parsed result, may contain NamedStruct
... | "Convert a parsed NamedStruct (probably with additional NamedStruct as fields) into a\n JSON-friendly format, with only Python primitives (dictionaries, lists, bytes, integers etc.)\n Then you may use json.dumps, or pprint to further process the result.\n \n :param val: parsed result, may contain NamedStruc... | 149 | false | hubo1016/namedstruct | dump | 34,268 | |
LDU_FT/kpdyer/regex2dfa/_MakeRanges | LDU_FT | [
"<BEGIN>\n## `MakeRanges`",
"Turn a list like [1,2,3,7,8,9] into a range list [[1,3], [7,9]]\n<END>",
"<BEGIN>\n## `PrintRanges`",
"Print the ranges as an array of type named name.\n<END>",
"<BEGIN>\n## `PrintGroup`",
"Print the data structures for the group of codes.\n Return a UGroup literal for the gr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _MakeRanges API.
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 _MakeRanges API.
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... | Turn a list like [(65,97), (66, 98), ..., (90,122)]
into [(65, 90, +32)]. | "Turn a list like [(65,97), (66, 98), ..., (90,122)]\n into [(65, 90, +32)]." | 163 | false | kpdyer/regex2dfa | _MakeRanges | 34,269 | |
LDU_FT/ArchiveTeam/wpull/parse_doctype | LDU_FT | [
"<BEGIN>\n## `_update_exit_code_from_stats`",
"Set the current exit code based on the Statistics.\n<END>",
"<BEGIN>\n## `is_response`",
"Return whether the document is likely to be a Sitemap.\n<END>",
"<BEGIN>\n## `is_file`",
"Return whether the file is likely a Sitemap.\n<END>",
"<BEGIN>\n## `parse_url... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_doctype API.
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 parse_doctype API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Get the doctype from the document.
Returns:
str, None | "Get the doctype from the document.\n\n Returns:\n str, None" | 896 | false | ArchiveTeam/wpull | parse_doctype | 34,270 | |
LDU_FT/tarbell-project/tarbell/_get_drive_api | LDU_FT | [
"<BEGIN>\n## `_get_or_create_config`",
"Get or create a Tarbell configuration directory.\n<END>",
"<BEGIN>\n## `slughifi`",
"High Fidelity slugify - slughifi.py, v 0.1",
" Examples :",
" >>> text = 'C\\'est déjà l\\'été.'",
" >>> slughifi(text)\n 'cest-deja-lete'",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_drive_api API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_drive_api API.
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... | For a given set of credentials, return a drive API object. | "For a given set of credentials, return a drive API object." | 66 | false | tarbell-project/tarbell | _get_drive_api | 34,271 | |
LDU_FT/Kopachris/seshet/log_message | LDU_FT | [
"<BEGIN>\n## `_add_channel_names`",
"Add a new channel to self.channels and initialize its user list.",
" Called as event handler for RPL_NAMES events. Do not call directly.\n<END>",
"<BEGIN>\n## `join`",
"Add this user to the channel's user list and add the channel to this\n user's list of jo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_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 extra... | Log a channel message.
This log acts as a sort of cache so that recent activity can be searched
by the bot and command modules without querying the database. | "Log a channel message.\n \n This log acts as a sort of cache so that recent activity can be searched\n by the bot and command modules without querying the database." | 49 | false | Kopachris/seshet | log_message | 34,272 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.