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/marshallward/f90nml/end_comma | LDU_FT | [
"<BEGIN>\n## `write`",
"Save a namelist to disk using either a file object or its file path.",
" File object usage:",
" >>> with open(nml_path, 'w') as nml_file:\n >>> f90nml.write(nml, nml_file)",
" File path usage:",
" >>> f90nml.write(nml, 'data.nml')",
" This function is equiva... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the end_comma API.
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 end_comma API.
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... | Validate and set the comma termination flag. | "Validate and set the comma termination flag." | 98 | false | marshallward/f90nml | end_comma | 32,473 | |
LDU_FT/ui/django-post_office/parse_emails | LDU_FT | [
"<BEGIN>\n## `get_upload_path`",
"Overriding to store the original filename\n<END>",
"<BEGIN>\n## `get_prep_value`",
"We need to accomodate queries where a single email,\n or list of email addresses is supplied as arguments. For example:",
" - Email.objects.filter(to='mail@example.com')\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_emails API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_emails API.
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... | A function that returns a list of valid email addresses.
This function will also convert a single email address into
a list of email addresses.
None value is also converted into an empty list. | "A function that returns a list of valid email addresses.\n This function will also convert a single email address into\n a list of email addresses.\n None value is also converted into an empty list." | 40 | false | ui/django-post_office | parse_emails | 32,474 | |
LDU_FT/MIT-LCP/wfdb-python/convert_label_attribute | LDU_FT | [
"<BEGIN>\n## `find_peaks`",
"Find hard peaks and soft peaks in a signal, defined as follows:",
" - Hard peak: a peak that is either /\\ or \\/\n - Soft peak: a peak that is either /-*\\ or \\-*/\n In this case we define the middle as the peak",
" Parameters\n ----------\n sig : np array\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_label_attribute 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 convert_label_attribute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Convert one label attribute (label_store, symbol, or description) to another.
Input arguments:
- inplace - If True, sets the object attribute. If False, returns the value.
- overwrite - if True, performs conversion and replaces target field attribute even if the
target attribute alread... | "Convert one label attribute (label_store, symbol, or description) to another.\n Input arguments:\n - inplace - If True, sets the object attribute. If False, returns the value.\n - overwrite - if True, performs conversion and replaces target field attribute even if the\n target attribute a... | 538 | false | MIT-LCP/wfdb-python | convert_label_attribute | 32,475 | |
LDU_FT/lmcinnes/umap/compute_membership_strengths | LDU_FT | [
"<BEGIN>\n## `tau_rand_int`",
"A fast (pseudo)-random number generator.",
" Parameters\n ----------\n state: array of int64, shape (3,)\n The internal state of the rng",
" Returns\n -------\n A (pseudo)-random int32 value\n<END>",
"<BEGIN>\n## `norm`",
"Compute the (standard l2) n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_membership_strengths 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 compute_membership_strengths API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Construct the membership strength data for the 1-skeleton of each local
fuzzy simplicial set -- this is formed as a sparse matrix where each row is
a local fuzzy simplicial set, with a membership strength for the
1-simplex to each other data point.
Parameters
----------
knn_indices: array of sh... | "Construct the membership strength data for the 1-skeleton of each local\n fuzzy simplicial set -- this is formed as a sparse matrix where each row is\n a local fuzzy simplicial set, with a membership strength for the\n 1-simplex to each other data point.\n\n Parameters\n ----------\n knn_indices: arr... | 255 | false | lmcinnes/umap | compute_membership_strengths | 32,476 | |
LDU_FT/ArangoDB-Community/pyArango/getType | LDU_FT | [
"<BEGIN>\n## `_create`",
"Creates an index of any type according to postData\n<END>",
"<BEGIN>\n## `createVertex`",
"adds a vertex to the graph and returns it\n<END>",
"<BEGIN>\n## `deleteVertex`",
"deletes a vertex from the graph as well as al linked edges\n<END>",
"<BEGIN>\n## `link`",
"A shorthand ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getType API.
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 getType API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | returns a word describing the type of the collection (edges or ducments) instead of a number, if you prefer the number it's in self.type | "returns a word describing the type of the collection (edges or ducments) instead of a number, if you prefer the number it's in self.type" | 105 | false | ArangoDB-Community/pyArango | getType | 32,477 | |
LDU_FT/planetlabs/es_fluent/find_filter | LDU_FT | [
"<BEGIN>\n## `and_filter`",
"Adds a list of :class:`~es_fluent.filters.core.And` clauses, automatically\n generating :class:`~es_fluent.filters.core.And` filter if it does not\n exist.\n<END>",
"<BEGIN>\n## `or_filter`",
"Adds a list of :class:`~es_fluent.filters.core.Or` clauses, automatically\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_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.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_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.
The extra... | Find or create a filter instance of the provided ``filter_cls``. If it
is found, use remaining arguments to augment the filter otherwise
create a new instance of the desired type and add it to the
current :class:`~es_fluent.builder.QueryBuilder` accordingly. | "Find or create a filter instance of the provided ``filter_cls``. If it\n is found, use remaining arguments to augment the filter otherwise\n create a new instance of the desired type and add it to the\n current :class:`~es_fluent.builder.QueryBuilder` accordingly." | 36 | false | planetlabs/es_fluent | find_filter | 32,478 | |
LDU_FT/sods/paramz/gradient | LDU_FT | [
"<BEGIN>\n## `adjust_name_for_printing`",
"Make sure a name can be printed, alongside used as a variable name.\n<END>",
"<BEGIN>\n## `name`",
"Set the name of this object.\n Tell the parent if the name has changed.\n<END>",
"<BEGIN>\n## `hierarchy_name`",
"return the name for this object with the p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gradient API.
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 gradient API.
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... | Return a view on the gradient, which is in the same shape as this parameter is.
Note: this is not the real gradient array, it is just a view on it.
To work on the real gradient array use: self.full_gradient | "Return a view on the gradient, which is in the same shape as this parameter is.\n Note: this is not the real gradient array, it is just a view on it.\n\n To work on the real gradient array use: self.full_gradient" | 225 | false | sods/paramz | gradient | 32,479 | |
LDU_FT/liftoff/pyminifier/enumerate_builtins | LDU_FT | [
"<BEGIN>\n## `obfuscation_machine`",
"A generator that returns short sequential combinations of lower and\n upper-case letters that will never repeat.",
" If *use_unicode* is ``True``, use nonlatin cryllic, arabic, and syriac\n letters instead of the usual ABCs.",
" The *identifier_length* represe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enumerate_builtins API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enumerate_builtins API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Returns a list of all the builtins being used in *tokens*. | "Returns a list of all the builtins being used in *tokens*." | 160 | false | liftoff/pyminifier | enumerate_builtins | 32,480 | |
LDU_FT/trombastic/PyScada/loop | LDU_FT | [
"<BEGIN>\n## `_reinit_daq_daemons`",
"update the daq daemon configuration when changes be applied in the models\n<END>",
"<BEGIN>\n## `connect`",
"establish a connection to the Instrument\n<END>",
"<BEGIN>\n## `find_gap`",
"try to find a address gap in the list of modbus registers\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the loop API.
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 loop API.
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... | this function will be called every self.dt_set seconds
request data
tm_wday 0=Monday
tm_yday | "this function will be called every self.dt_set seconds\n \n request data\n \n tm_wday 0=Monday \n tm_yday" | 60 | false | trombastic/PyScada | loop | 32,481 | |
LDU_FT/bearyinnovative/bearychat.py/info | LDU_FT | [
"<BEGIN>\n## `request`",
"Perform a request.",
" Args:\n request_method: HTTP method for this request.\n api_method: API method name for this request.\n *args: Extra arguments to pass to the request.\n **kwargs: Extra keyword arguments to pass to the request.",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Gets channel information by channel id
Args:
channel_id(int): the id of channel
Returns:
Channel
Throws:
RTMServiceError when request failed | "Gets channel information by channel id\n\n Args:\n channel_id(int): the id of channel\n\n Returns:\n Channel\n\n Throws:\n RTMServiceError when request failed" | 68 | false | bearyinnovative/bearychat.py | info | 32,482 | |
LDU_FT/BYU-PCCL/holodeck/start_day_cycle | LDU_FT | [
"<BEGIN>\n## `malloc`",
"Allocates a block of shared memory, and returns a numpy array whose data corresponds with that block.",
" Args:\n key (str): The key to identify the block.\n shape (list of int): The shape of the numpy array to allocate.\n dtype (type): The numpy ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_day_cycle API.
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 start_day_cycle API.
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... | Queue up a day cycle command to start the day cycle. It will be applied when `tick` or `step` is called next.
The sky sphere will now update each tick with an updated sun angle as it moves about the sky. The length of a
day will be roughly equivalent to the number of minutes given.
Args:
... | "Queue up a day cycle command to start the day cycle. It will be applied when `tick` or `step` is called next.\n The sky sphere will now update each tick with an updated sun angle as it moves about the sky. The length of a\n day will be roughly equivalent to the number of minutes given.\n\n Args:\n... | 111 | false | BYU-PCCL/holodeck | start_day_cycle | 32,483 | |
LDU_FT/jart/fabulous/matchuserhome | LDU_FT | [
"<BEGIN>\n## `lorem_gotham`",
"Cheesy Gothic Poetry Generator",
" Uses Python generators to yield eternal angst.",
" When you need to generate random verbiage to test your code or\n typographic design, let's face it... Lorem Ipsum and \"the quick\n brown fox\" are old and boring!",
" What you... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the matchuserhome API.
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 matchuserhome API.
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... | To find matches that start with prefix.
For example, if prefix = '~user' this
returns list of possible matches in form of ['~userspam','~usereggs'] etc.
matchuserdir('~') returns all users | "To find matches that start with prefix.\n \n For example, if prefix = '~user' this\n returns list of possible matches in form of ['~userspam','~usereggs'] etc.\n \n matchuserdir('~') returns all users" | 148 | false | jart/fabulous | matchuserhome | 32,484 | |
LDU_FT/brmscheiner/ideogram/calcFnWeight | LDU_FT | [
"<BEGIN>\n## `traversal`",
"Tree traversal function that generates nodes. For each subtree, the \n deepest node is evaluated first. Then, the next-deepest nodes are \n evaluated until all the nodes in the subtree are generated.\n<END>",
"<BEGIN>\n## `firstPass`",
"Return a dictionary of function definit... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calcFnWeight API.
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 calcFnWeight API.
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... | Calculates the weight of a function definition by recursively counting
its child nodes in the AST. Note that the tree traversal will become
O(n^2) instead of O(n) if this feature is enabled. | "Calculates the weight of a function definition by recursively counting \n its child nodes in the AST. Note that the tree traversal will become \n O(n^2) instead of O(n) if this feature is enabled." | 50 | false | brmscheiner/ideogram | calcFnWeight | 32,485 | |
LDU_FT/pyca/pynacl/generichash_blake2b_salt_personal | LDU_FT | [
"<BEGIN>\n## `ensure`",
"Return if a condition is true, otherwise raise a caller-configurable\n :py:class:`Exception`\n :param bool cond: the condition to be checked\n :param sequence args: the arguments to be passed to the exception's\n constructor\n The only accepted named p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generichash_blake2b_salt_personal API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generichash_blake2b_salt_personal API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | One shot hash interface
:param data: the input data to the hash function
:param digest_size: must be at most
:py:data:`.crypto_generichash_BYTES_MAX`;
the default digest size is
:py:data:`.crypto_generichash_BYTES`
:type digest_size: i... | "One shot hash interface\n\n :param data: the input data to the hash function\n :param digest_size: must be at most\n :py:data:`.crypto_generichash_BYTES_MAX`;\n the default digest size is\n :py:data:`.crypto_generichash_BYTES`\n :type digest... | 266 | false | pyca/pynacl | generichash_blake2b_salt_personal | 32,486 | |
LDU_FT/ncclient/ncclient/tostring | LDU_FT | [
"<BEGIN>\n## `request`",
"Retrieve running configuration and device state information.",
" *filter* specifies the portion of the configuration to retrieve (by default entire configuration is retrieved)",
" :seealso: :ref:`filter_params`\n<END>",
"<BEGIN>\n## `request`",
"command text\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tostring API.
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 tostring API.
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... | return a pretty-printed string output for rpc reply | "return a pretty-printed string output for rpc reply" | 179 | false | ncclient/ncclient | tostring | 32,487 | |
LDU_FT/PaloAltoNetworks/pancloud/count | LDU_FT | [
"<BEGIN>\n## `_credentials_found_in_envars`",
"Check for credentials in envars.",
" Returns:\n bool: ``True`` if at least one is found, otherwise ``False``.\n<END>",
"<BEGIN>\n## `_resolve_credential`",
"Resolve credential from envars or credentials store.",
" Args:\n c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Retrieve the attribute configuration object.
Retrieve a count of all directory entries that belong to the
identified objectClass. The count is limited to a single domain.
Args:
params (dict): Payload/request dictionary.
object_class (str): Directory object class.
... | "Retrieve the attribute configuration object.\n\n Retrieve a count of all directory entries that belong to the\n identified objectClass. The count is limited to a single domain.\n\n Args:\n params (dict): Payload/request dictionary.\n object_class (str): Directory object class... | 129 | false | PaloAltoNetworks/pancloud | count | 32,488 | |
LDU_FT/RedFantom/ttkthemes/screenshot_themes | LDU_FT | [
"<BEGIN>\n## `screenshot_themes`",
"Take a screenshot for all themes available\n<END>",
"<BEGIN>\n## `_load_themes`",
"Load the themes into the Tkinter interpreter\n<END>",
"<BEGIN>\n## `_append_theme_dir`",
"Append a theme dir to the Tk interpreter auto_path\n<END>",
"<BEGIN>\n## `set_theme`",
"Set n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the screenshot_themes API.
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 screenshot_themes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Take a screenshot for all themes available | "Take a screenshot for all themes available" | 54 | false | RedFantom/ttkthemes | screenshot_themes | 32,489 | |
LDU_FT/ldomic/lintools/define_residues_for_plotting_topology | LDU_FT | [
"<BEGIN>\n## `draw_hydrogen_bonds`",
"For each bond that has been determined to be important, a line gets drawn.\n<END>",
"<BEGIN>\n## `draw_salt_bridges`",
"For each bond that has been determined to be important, a line gets drawn.\n<END>",
"<BEGIN>\n## `change_lines_in_svg`",
"Used to change lines in an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the define_residues_for_plotting_topology API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the define_residues_for_plotting_topology API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | This function defines the residues for plotting in case only a topology file has been submitted.
In this case the residence time analysis in not necessary and it is enough just to find all
residues within a cutoff distance.
Takes:
* cutoff * - cutoff distance in angstroms tha... | "This function defines the residues for plotting in case only a topology file has been submitted.\n In this case the residence time analysis in not necessary and it is enough just to find all\n residues within a cutoff distance.\n Takes:\n * cutoff * - cutoff distance in angstrom... | 117 | false | ldomic/lintools | define_residues_for_plotting_topology | 32,490 | |
LDU_FT/CamDavidsonPilon/lifelines/l2_log_loss | LDU_FT | [
"<BEGIN>\n## `right_censor_lifetimes`",
"Right censor the deaths, uniformly\n lifetimes: (n,) array of positive random variables\n max_: the max time a censorship can occur\n min_: the min time a censorship can occur",
" Returns\n The actual observations including uniform right censoring,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the l2_log_loss API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the l2_log_loss API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | r"""
Calculates the l2 log-loss of predicted event times to true event times for *non-censored*
individuals only.
.. math:: 1/N \sum_{i} (log(t_i) - log(q_i))**2
Parameters
----------
event_times: a (n,) array of observed survival times.
predicted_event_times: a (n,) array of predicte... | "r\"\"\"\n Calculates the l2 log-loss of predicted event times to true event times for *non-censored*\n individuals only.\n\n .. math:: 1/N \\sum_{i} (log(t_i) - log(q_i))**2\n\n Parameters\n ----------\n event_times: a (n,) array of observed survival times.\n predicted_event_times: a (n,) arr... | 603 | false | CamDavidsonPilon/lifelines | l2_log_loss | 32,491 | |
LDU_FT/jazzband/django-authority/permission_request_delete_link | LDU_FT | [
"<BEGIN>\n## `permission_required`",
"Decorator for views that checks whether a user has a particular permission\n enabled, redirecting to the log-in page if necessary.\n<END>",
"<BEGIN>\n## `permission_required_or_403`",
"Decorator that wraps the permission_required decorator and returns a\n permission... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the permission_request_delete_link 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 permission_request_delete_link API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Renders a html link to the delete view of the given permission request.
Returns no content if the request-user has no permission to delete foreign
permissions. | "Renders a html link to the delete view of the given permission request.\n Returns no content if the request-user has no permission to delete foreign\n permissions." | 67 | false | jazzband/django-authority | permission_request_delete_link | 32,492 | |
LDU_FT/econ-ark/HARK/delFromTimeVary | LDU_FT | [
"<BEGIN>\n## `calcLogSumChoiceProbs`",
"Returns the final optimal value and choice probabilities given the choice\n specific value functions `Vals`. Probabilities are degenerate if sigma == 0.0.\n Parameters\n ----------\n Vals : [numpy.array]\n A numpy.array that holds choice specific values a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delFromTimeVary API.
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 delFromTimeVary API.
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... | Removes any number of parameters from time_vary for this instance.
Parameters
----------
params : string
Any number of strings naming attributes to be removed from time_vary
Returns
-------
None | "Removes any number of parameters from time_vary for this instance.\n\n Parameters\n ----------\n params : string\n Any number of strings naming attributes to be removed from time_vary\n\n Returns\n -------\n None" | 1,253 | true | econ-ark/HARK | delFromTimeVary | 32,493 | |
LDU_FT/coagulant/cleanweb/complain | LDU_FT | [
"<BEGIN>\n## `request`",
"Error handling in requests\n http://api.yandex.ru/cleanweb/doc/dg/concepts/error-codes.xml\n<END>",
"<BEGIN>\n## `check_spam`",
"http://api.yandex.ru/cleanweb/doc/dg/concepts/check-spam.xml\n subject_type = plain|html|bbcode\n body_type = plain|html|b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the complain API.
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 complain API.
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... | http://api.yandex.ru/cleanweb/doc/dg/concepts/complain.xml | "http://api.yandex.ru/cleanweb/doc/dg/concepts/complain.xml" | 10 | false | coagulant/cleanweb | complain | 32,494 | |
LDU_FT/thespacedoctor/polyglot/ul | LDU_FT | [
"<BEGIN>\n## `create`",
"*create the webarchive object*",
" **Key Arguments:**\n - ``url`` -- the url of the webpage to generate the webarchive for\n - ``pathToWebarchive`` -- tthe path to output the the webarchive file to ",
" **Return:**\n - ``webarchive`` -- t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ul API.
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 ul API.
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... | *convert plain-text to MMD unordered list*
**Key Arguments:**
- ``text`` -- the text to convert to MMD unordered list
**Return:**
- ``ul`` -- the MMD unordered list
**Usage:**
To convert text to a MMD unordered list:
.. code-block:: python
... | "*convert plain-text to MMD unordered list*\n\n **Key Arguments:**\n - ``text`` -- the text to convert to MMD unordered list\n\n **Return:**\n - ``ul`` -- the MMD unordered list\n\n **Usage:**\n\n To convert text to a MMD unordered list:\n\n .. code-block... | 170 | false | thespacedoctor/polyglot | ul | 32,495 | |
LDU_FT/PagerDuty/pagerduty-api-python-client/create | LDU_FT | [
"<BEGIN>\n## `abilities`",
"Fetch a list of permission-like strings for this account.\n<END>",
"<BEGIN>\n## `set_api_key_from_file`",
"Set the global api_key from a file path.\n<END>",
"<BEGIN>\n## `resolve`",
"Resolve an incident using a valid email address.\n<END>",
"<BEGIN>\n## `reassign`",
"Reassi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Validate and then create a Vendor entity. | "Validate and then create a Vendor entity." | 113 | false | PagerDuty/pagerduty-api-python-client | create | 32,496 | |
LDU_FT/tgbugs/pyontutils/isValidList | LDU_FT | [
"<BEGIN>\n## `build_transgenic_lines`",
"init class | \"transgenic_line_source_name\":\"stock_number\" a Class\n add superClass | rdfs:subClassOf ilxtr:transgenicLine\n add *order* | ilxtr:useObjectProperty ilxtr:<order>\n add name | rdfs:label \"name\"\n add def ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isValidList API.
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 isValidList API.
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... | Checks if l is a valid RDF list, i.e. no nodes have other properties. | "Checks if l is a valid RDF list, i.e. no nodes have other properties." | 301 | false | tgbugs/pyontutils | isValidList | 32,497 | |
LDU_FT/adamzap/landslide/log | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parses and renders a text as HTML regarding current format.\n<END>",
"<BEGIN>\n## `descape`",
"Decodes html entities from a given string\n<END>",
"<BEGIN>\n## `get_path_url`",
"Returns an absolute or relative path url given a path\n<END>",
"<BEGIN>\n## `html_parts`",
"Given an ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Log notices to stdout and errors to stderr | "Log notices to stdout and errors to stderr" | 49 | false | adamzap/landslide | log | 32,498 | |
LDU_FT/srsudar/eg/get_custom_color_config_from_egrc | LDU_FT | [
"<BEGIN>\n## `inform_if_paths_invalid`",
"If egrc_path, examples_dir, or custom_dir is truthy and debug is True,\n informs the user that a path is not set.",
" This should be used to verify input arguments from the command line.\n<END>",
"<BEGIN>\n## `get_egrc_config`",
"Return a Config namedtuple bas... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_custom_color_config_from_egrc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_custom_color_config_from_egrc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | Get the ColorConfig from the egrc config object. Any colors not defined
will be None. | "Get the ColorConfig from the egrc config object. Any colors not defined\n will be None." | 77 | false | srsudar/eg | get_custom_color_config_from_egrc | 32,499 | |
LDU_FT/AustralianSynchrotron/lightflow/define | LDU_FT | [
"<BEGIN>\n## `is_connected`",
"Returns the connection status of the data store.",
" Returns:\n bool: ``True`` if the data store is connected to the MongoDB server.\n<END>",
"<BEGIN>\n## `connect`",
"Establishes a connection to the MongoDB server.",
" Use the MongoProxy library in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the define API.
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 define API.
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 ... | Store the task graph definition (schema).
The schema has to adhere to the following rules:
A key in the schema dict represents a parent task and the value one or more
children:
{parent: [child]} or {parent: [child1, child2]}
The data output of one task can be routed to a l... | "Store the task graph definition (schema).\n\n The schema has to adhere to the following rules:\n\n A key in the schema dict represents a parent task and the value one or more\n children:\n {parent: [child]} or {parent: [child1, child2]}\n\n The data output of one task can be rout... | 404 | false | AustralianSynchrotron/lightflow | define | 32,500 | |
LDU_FT/mikusjelly/apkutils/_get_codename | LDU_FT | [
"<BEGIN>\n## `skipNullPadding`",
"不断地寻找 CHUNK_STRINGPOOL_TYPE,目前暂时没有遇到这种样本。\n<END>",
"<BEGIN>\n## `is_zipfile`",
"Quickly see if a file is a ZIP file by checking the magic number.",
" The filename argument may be a file or file-like object too.\n<END>",
"<BEGIN>\n## `readline`",
"Read and return a li... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_codename API.
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_codename API.
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... | Return (filename, archivename) for the path.
Given a module name path, return the correct file path and
archive name, compiling if necessary. For example, given
/python/lib/string, return (/python/lib/string.pyc, string). | "Return (filename, archivename) for the path.\n\n Given a module name path, return the correct file path and\n archive name, compiling if necessary. For example, given\n /python/lib/string, return (/python/lib/string.pyc, string)." | 48 | false | mikusjelly/apkutils | _get_codename | 32,501 | |
LDU_FT/mjirik/imcut/debug_show_reconstructed_similarity | LDU_FT | [
"<BEGIN>\n## `__msgc_step3_discontinuity_localization`",
"Estimate discontinuity in basis of low resolution image segmentation.\n :return: discontinuity in low resolution\n<END>",
"<BEGIN>\n## `__multiscale_gc_lo2hi_run`",
"Run Graph-Cut segmentation with refinement of low resolution multiscale graph.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the debug_show_reconstructed_similarity API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the debug_show_reconstructed_similarity API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | Show tlinks.
:param data3d: ndarray with input data
:param voxelsize:
:param seeds:
:param area_weight:
:param hard_constraints:
:param show:
:param bins: histogram bins number
:param slice_number:
:return: | "Show tlinks.\n :param data3d: ndarray with input data\n :param voxelsize:\n :param seeds:\n :param area_weight:\n :param hard_constraints:\n :param show:\n :param bins: histogram bins number\n :param slice_number:\n :return:" | 119 | false | mjirik/imcut | debug_show_reconstructed_similarity | 32,502 | |
LDU_FT/cmheisel/basecampreporting/people_per_project | LDU_FT | [
"<BEGIN>\n## `people`",
"Dictionary of people on the project, keyed by id\n<END>",
"<BEGIN>\n## `comments`",
"Looks through the last 3 messages and returns those comments.\n<END>",
"<BEGIN>\n## `people_per_project`",
"This will return all of the people in the given company that can\n access the giv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the people_per_project API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the people_per_project API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | This will return all of the people in the given company that can
access the given project. | "This will return all of the people in the given company that can\n access the given project." | 44 | false | cmheisel/basecampreporting | people_per_project | 32,503 | |
LDU_FT/jbaiter/gphoto2-cffi/capture_video | LDU_FT | [
"<BEGIN>\n## `_logging_callback`",
"Callback that outputs libgphoto2's logging message via\n Python's standard logging facilities.",
" :param level: libgphoto2 logging level\n :param domain: component the message originates from\n :param message: logging message\n :param data: Other dat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the capture_video API.
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 capture_video API.
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... | Capture a video.
This always writes to the memory card, since internal RAM is likely
to run out of space very quickly.
Currently this only works with Nikon cameras.
:param length: Length of the video to capture in seconds.
:type length: int
:return: ... | "Capture a video.\n\n This always writes to the memory card, since internal RAM is likely\n to run out of space very quickly.\n\n Currently this only works with Nikon cameras.\n\n :param length: Length of the video to capture in seconds.\n :type length: int\n :return... | 78 | false | jbaiter/gphoto2-cffi | capture_video | 32,504 | |
LDU_FT/vedvyas/doxytag2zealdb/set_property | LDU_FT | [
"<BEGIN>\n## `set_property`",
"Set a new (or updating existing) key value pair.",
" Args:\n key: A string containing the key namespace\n value: A str, int, or bool value",
" Raises:\n NotImplementedError: an unsupported value-type was provided\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_property API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_property API.
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... | Set a new (or updating existing) key value pair.
Args:
key: A string containing the key namespace
value: A str, int, or bool value
Raises:
NotImplementedError: an unsupported value-type was provided | "Set a new (or updating existing) key value pair.\n\n Args:\n key: A string containing the key namespace\n value: A str, int, or bool value\n\n Raises:\n NotImplementedError: an unsupported value-type was provided" | 50 | false | vedvyas/doxytag2zealdb | set_property | 32,505 | |
LDU_FT/lehins/python-wepay/__delete | LDU_FT | [
"<BEGIN>\n## `authorize`",
"Documentation: `/oauth2/authorize\n <https://www.wepay.com/developer/reference/oauth2#authorize>`_.",
" .. note::",
" This is not an API call but an actual uri that you send the user to.\n<END>",
"<BEGIN>\n## `__token`",
"Call documentation: `/oauth2/tok... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Call documentation: `/account/delete
<https://www.wepay.com/developer/reference/account#delete>`_, plus extra
keyword parameters:
:keyword str access_token: will be used instead of instance's
``access_token``, with ``batch_mode=True`` will set `authorization`
param... | "Call documentation: `/account/delete\n <https://www.wepay.com/developer/reference/account#delete>`_, plus extra\n keyword parameters:\n \n :keyword str access_token: will be used instead of instance's\n ``access_token``, with ``batch_mode=True`` will set `authorization`\n ... | 269 | false | lehins/python-wepay | __delete | 32,506 | |
LDU_FT/PlaidWeb/Publ/remove | LDU_FT | [
"<BEGIN>\n## `load_metafile`",
"Load a metadata file from the filesystem\n<END>",
"<BEGIN>\n## `description`",
"Get the textual description of the category\n<END>",
"<BEGIN>\n## `breadcrumb`",
"Get the category hierarchy leading up to this category, including\n root and self.",
" For examp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Remove an item from the set, returning if it was present | "Remove an item from the set, returning if it was present" | 285 | false | PlaidWeb/Publ | remove | 32,507 | |
LDU_FT/chriso/timeseries/forecast | LDU_FT | [
"<BEGIN>\n## `trend`",
"Override Series.trend() to return a TimeSeries instance.\n<END>",
"<BEGIN>\n## `trend_coefficients`",
"Calculate trend coefficients for the specified order.\n<END>",
"<BEGIN>\n## `moving_average`",
"Calculate a moving average using the specified method and window\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the forecast API.
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 forecast API.
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... | Forecast points beyond the time series range using the specified
forecasting method. `horizon` is the number of points to forecast. | "Forecast points beyond the time series range using the specified\n forecasting method. `horizon` is the number of points to forecast." | 18 | false | chriso/timeseries | forecast | 32,508 | |
LDU_FT/OpenAgInitiative/openag_python/process_args | LDU_FT | [
"<BEGIN>\n## `create_farm`",
"Create a farm. Creates a farm named FARM_NAME on the currently selected\n cloud server. You can use the `openag cloud select_farm` command to start\n mirroring data into it.\n<END>",
"<BEGIN>\n## `list_farms`",
"List all farms you can manage. If you have selected a farm alr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Takes as input a list of arguments defined on a module and the information
about the required arguments defined on the corresponding module type.
Validates that the number of supplied arguments is valid and fills any
missing arguments with their default values from the module type | "Takes as input a list of arguments defined on a module and the information\n about the required arguments defined on the corresponding module type.\n Validates that the number of supplied arguments is valid and fills any\n missing arguments with their default values from the module type" | 89 | false | OpenAgInitiative/openag_python | process_args | 32,509 | |
LDU_FT/phaethon/kamene/IE_Dispatcher | LDU_FT | [
"<BEGIN>\n## `post_build`",
"Called implicitly before a packet is sent.\n<END>",
"<BEGIN>\n## `float_encode`",
"Convert the integer value to its IGMPv3 encoded time value if needed.",
" If value < 128, return the value specified. If >= 128, encode as a floating \n point value. Value can be 0 - 31744.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the IE_Dispatcher API.
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 IE_Dispatcher API.
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... | Choose the correct Information Element class. | "Choose the correct Information Element class." | 477 | false | phaethon/kamene | IE_Dispatcher | 32,510 | |
LDU_FT/SmileyChris/django-countries/countries | LDU_FT | [
"<BEGIN>\n## `get_option`",
"Get a configuration option, trying the options attribute first and\n falling back to a Django project setting.\n<END>",
"<BEGIN>\n## `countries`",
"Return the a dictionary of countries, modified by any overriding\n options.",
" The result is cached so future... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the countries API.
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 countries API.
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 a dictionary of countries, modified by any overriding
options.
The result is cached so future lookups are less work intensive. | "Return the a dictionary of countries, modified by any overriding\n options.\n\n The result is cached so future lookups are less work intensive." | 42 | false | SmileyChris/django-countries | countries | 32,511 | |
LDU_FT/317070/python-twitch-stream/_parse_message | LDU_FT | [
"<BEGIN>\n## `_logged_in_successful`",
"Test the login status from the returned communication of the\n server.",
" :param data: bytes received from server during login\n :type data: list of bytes",
" :return boolean, True when you are logged in.\n<END>",
"<BEGIN>\n## `_push_from_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_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 ex... | Parse the bytes received from the socket.
:param data: the bytes received from the socket
:return: | "Parse the bytes received from the socket.\n\n :param data: the bytes received from the socket\n :return:" | 32 | false | 317070/python-twitch-stream | _parse_message | 32,512 | |
LDU_FT/gmr/helper/is_running | LDU_FT | [
"<BEGIN>\n## `operating_system`",
"Return a string identifying the operating system the application\n is running on.",
" :rtype: str\n<END>",
"<BEGIN>\n## `start`",
"Daemonize if the process is not already running.\n<END>",
"<BEGIN>\n## `gid`",
"Return the group id that the daemon will run with",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_running API.
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 is_running API.
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... | Property method that returns a bool specifying if the process is
currently running. This will return true if the state is active, idle
or initializing.
:rtype: bool | "Property method that returns a bool specifying if the process is\n currently running. This will return true if the state is active, idle\n or initializing.\n\n :rtype: bool" | 77 | false | gmr/helper | is_running | 32,513 | |
LDU_FT/allianceauth/allianceauth/register_all_hooks | LDU_FT | [
"<BEGIN>\n## `register`",
"Decorator to register a function as a hook",
" Register hook for ``hook_name``. Can be used as a decorator::\n @register('hook_name')\n def my_hook(...):\n pass",
" or as a function call::\n def my_hook(...):\n pass\n register(... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_all_hooks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_all_hooks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Register all hooks found in 'auth_hooks' sub modules
:return: | "Register all hooks found in 'auth_hooks' sub modules\n :return:" | 57 | false | allianceauth/allianceauth | register_all_hooks | 32,514 | |
LDU_FT/pseudonym117/Riot-Watcher/by_id | LDU_FT | [
"<BEGIN>\n## `matchlist_by_account`",
"Get matchlist for ranked games played on given account ID and platform ID\n and filtered using given filter parameters, if any",
" A number of optional parameters are provided for filtering. It is up to the caller to\n ensure that the combination of fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the by_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the by_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Get a summoner by summoner ID.
:param string region: The region to execute this request on
:param string encrypted_summoner_id: Summoner ID
:returns: SummonerDTO: represents a summoner | "Get a summoner by summoner ID.\n\n :param string region: The region to execute this request on\n :param string encrypted_summoner_id: Summoner ID\n\n :returns: SummonerDTO: represents a summoner" | 80 | false | pseudonym117/Riot-Watcher | by_id | 32,515 | |
LDU_FT/crypto101/arthur/buildWorkbenchWithLauncher | LDU_FT | [
"<BEGIN>\n## `_unhandledInput`",
"Handles input events that weren't handled anywhere else.\n<END>",
"<BEGIN>\n## `_runPopUp`",
"Displays the pop-up on the workbench and gets a completion\n notification deferred. When that fires, undisplay the pop-up and\n return the result of the notification deferred v... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the buildWorkbenchWithLauncher 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 buildWorkbenchWithLauncher API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Builds a workbench.
The workbench has a launcher with all of the default tools. The
launcher will be displayed on the workbench. | "Builds a workbench.\n\n The workbench has a launcher with all of the default tools. The\n launcher will be displayed on the workbench." | 40 | false | crypto101/arthur | buildWorkbenchWithLauncher | 32,516 | |
LDU_FT/googleapis/google-cloud-python/exists | LDU_FT | [
"<BEGIN>\n## `_verify_params`",
"Verifies the parameters don't use any reserved parameter.",
" Raises:\n ValueError: If a reserved parameter is used.\n<END>",
"<BEGIN>\n## `_next_page`",
"Get the next page in the iterator.",
" Returns:\n Optional[Page]: The next page in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exists API.
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 exists API.
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 ... | API call: test for the existence of the sink via a GET request
See
https://cloud.google.com/logging/docs/reference/v2/rest/v2/projects.sinks/get
:type client: :class:`~google.cloud.logging.client.Client` or
``NoneType``
:param client: the client to use. If not p... | "API call: test for the existence of the sink via a GET request\n\n See\n https://cloud.google.com/logging/docs/reference/v2/rest/v2/projects.sinks/get\n\n :type client: :class:`~google.cloud.logging.client.Client` or\n ``NoneType``\n :param client: the client to use. ... | 7,029 | true | googleapis/google-cloud-python | exists | 32,517 | |
LDU_FT/datadesk/django-greeking/get_image | LDU_FT | [
"<BEGIN>\n## `get_url`",
"Craft the URL for a placekitten image.",
" By default they are in color. To retrieve a grayscale image, set\n the color kwarg to False.\n<END>",
"<BEGIN>\n## `placeholdit`",
"Creates a placeholder image using placehold.it",
" Usage format:",
" {% placeholdit [widt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_image API.
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_image API.
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 image with caption, credit, and random background color as requested. | "Returns image with caption, credit, and random background color as requested." | 33 | false | datadesk/django-greeking | get_image | 32,518 | |
LDU_FT/crunchyroll/ef-open/cognito_identity_identity_pool_id | LDU_FT | [
"<BEGIN>\n## `services`",
"Args:\n service_group: optional name of service group\n Returns:\n if service_group is omitted or None, flattened dict of all service records in the service registry\n if service_group is present, dict of service records in that group\n<END>",
"<BEGIN>\n## `iter_serv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cognito_identity_identity_pool_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cognito_identity_identity_pool_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | Args:
lookup: Cognito Federated Identity name, proto0-cms-identity-pool
default: the optional value to return if lookup failed; returns None if not set
Returns:
the Cognito Identity Pool ID corresponding to the given lookup, else default/None | "Args:\n lookup: Cognito Federated Identity name, proto0-cms-identity-pool\n default: the optional value to return if lookup failed; returns None if not set\n\n Returns:\n the Cognito Identity Pool ID corresponding to the given lookup, else default/None" | 231 | false | crunchyroll/ef-open | cognito_identity_identity_pool_id | 32,519 | |
LDU_FT/klahnakoski/pyLibrary/set_refresh_interval | LDU_FT | [
"<BEGIN>\n## `groupby`",
":param data:\n :param keys:\n :param size:\n :param min_size:\n :param max_size:\n :param contiguous: MAINTAIN THE ORDER OF THE DATA, STARTING THE NEW GROUP WHEN THE SELECTOR CHANGES\n :return: return list of (keys, values) PAIRS, WHERE\n keys IS IN LEAF... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_refresh_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_refresh_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.
... | :param seconds: -1 FOR NO REFRESH
:param kwargs: ANY OTHER REQUEST PARAMETERS
:return: None | ":param seconds: -1 FOR NO REFRESH\n :param kwargs: ANY OTHER REQUEST PARAMETERS\n :return: None" | 574 | false | klahnakoski/pyLibrary | set_refresh_interval | 32,520 | |
LDU_FT/perimosocordiae/viztricks/plot_trajectories | LDU_FT | [
"<BEGIN>\n## `gradient_line`",
"Plot a 2-d line with a gradient representing ordering.\n See http://stackoverflow.com/q/8500700/10601 for details.\n<END>",
"<BEGIN>\n## `irregular_contour`",
"Handles interpolating irregular data to a grid,\n and plots it using the given func [default: contourf]\n See http:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_trajectories API.
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 plot_trajectories API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Plot lines in T as trajectories (2d only). | "Plot lines in T as trajectories (2d only)." | 25 | false | perimosocordiae/viztricks | plot_trajectories | 32,521 | |
LDU_FT/Valassis-Digital-Media/spylon/_set_environment_variables | 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 _set_environment_variables 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 _set_environment_variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Initializes the correct environment variables for spark | "Initializes the correct environment variables for spark" | 96 | false | Valassis-Digital-Media/spylon | _set_environment_variables | 32,522 | |
LDU_FT/ianclegg/winrmlib/_credssp_processor | LDU_FT | [
"<BEGIN>\n## `_get_rsa_public_key`",
"PyOpenSSL does not provide a public method to export the public key from a certificate as a properly formatted\n ASN.1 RSAPublicKey structure. There are 'hacks' which use dump_privatekey(crypto.FILETYPE_ASN1, <public_key>),\n but this dumps the public key within... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _credssp_processor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _credssp_processor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Implements a state machine
:return: | "Implements a state machine\n :return:" | 33 | false | ianclegg/winrmlib | _credssp_processor | 32,523 | |
LDU_FT/sonyxperiadev/pygerrit/start_event_stream | LDU_FT | [
"<BEGIN>\n## `run`",
"Listen to the stream and send events to the client.\n<END>",
"<BEGIN>\n## `run_command`",
"Run a command.",
" :arg str command: The command to run.",
" :Return: The result as a string.",
" :Raises: `ValueError` if `command` is not a string.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_event_stream API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_event_stream API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Start streaming events from `gerrit stream-events`. | "Start streaming events from `gerrit stream-events`." | 71 | false | sonyxperiadev/pygerrit | start_event_stream | 32,524 | |
LDU_FT/josiah-wolf-oberholtzer/uqbar/normalize | LDU_FT | [
"<BEGIN>\n## `_build_mappings`",
"Collect all bases and organize into parent/child mappings.\n<END>",
"<BEGIN>\n## `_collect_classes`",
"Collect all classes defined in/under ``package_paths``.\n<END>",
"<BEGIN>\n## `find_common_prefix`",
"Find the common prefix of two or more paths.",
" ::",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Normalizes whitespace.
Strips leading and trailing blank lines, dedents, and removes trailing
whitespace from the result. | "Normalizes whitespace.\n\n Strips leading and trailing blank lines, dedents, and removes trailing\n whitespace from the result." | 123 | false | josiah-wolf-oberholtzer/uqbar | normalize | 32,525 | |
LDU_FT/atarashansky/self-assembling-manifold/regress_genes | LDU_FT | [
"<BEGIN>\n## `preprocess_data`",
"Log-normalizes and filters the expression data.",
" Parameters\n ----------",
" div : float, optional, default 1\n The factor by which the gene expression will be divided prior to\n log normalization.",
" downsample : float,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the regress_genes API.
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 regress_genes API.
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... | Regress out the principal components in 'PCs' from the filtered
expression data ('SAM.D'). Assumes 'calculate_regression_PCs' has
been previously called.
Parameters
----------
PCs - int, numpy.array, list
The principal components to regress out of the expression data... | "Regress out the principal components in 'PCs' from the filtered\n expression data ('SAM.D'). Assumes 'calculate_regression_PCs' has\n been previously called.\n\n Parameters\n ----------\n PCs - int, numpy.array, list\n The principal components to regress out of the express... | 125 | false | atarashansky/self-assembling-manifold | regress_genes | 32,526 | |
LDU_FT/b3j0f/conf/resolve | LDU_FT | [
"<BEGIN>\n## `pathresource`",
"Returns specific resource.",
" :param str rscpath: resource path.\n :param Logger logger: logger to use.\n :param bool error: raise internal error if True (False by default).\n :param bool force: create the resource even if rscpath does not exist.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve API.
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 resolve API.
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... | Resolve an expression with possibly a dedicated expression resolvers.
:param str name: expression resolver registered name. Default is the
first registered expression resolver.
:param bool safe: if True (Default), resolve in a safe context
(without I/O).
:param bool tost... | "Resolve an expression with possibly a dedicated expression resolvers.\n\n :param str name: expression resolver registered name. Default is the\n first registered expression resolver.\n :param bool safe: if True (Default), resolve in a safe context\n (without I/O).\n :param bo... | 151 | false | b3j0f/conf | resolve | 32,527 | |
LDU_FT/skioo/django-customer-billing/add_charge | LDU_FT | [
"<BEGIN>\n## `close`",
"Closes the account.",
" :param account_id: the account to close\n :return: Nothing\n<END>",
"<BEGIN>\n## `create_invoices`",
"Creates the invoices for any due positive charges in the account.\n If there are due positive charges in different currencies, one invoice is created... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_charge API.
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_charge API.
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 a charge to the account.
:param account_id: The account on which to add the charge
:param amount: The amount of the charge
:param reverses_id: Set this if this charge reverses another one
:param product_code: A code identifying the type of product cnarged
:param product_properties: A dict of h... | "Add a charge to the account.\n\n :param account_id: The account on which to add the charge\n :param amount: The amount of the charge\n :param reverses_id: Set this if this charge reverses another one\n :param product_code: A code identifying the type of product cnarged\n :param product_properties: A di... | 40 | false | skioo/django-customer-billing | add_charge | 32,528 | |
LDU_FT/Oneiroe/PySimpleAutomata/rename_dfa_states | LDU_FT | [
"<BEGIN>\n## `dfa_word_acceptance`",
"Checks if a given **word** is accepted by a DFA,\n returning True/false.",
" The word w is accepted by a DFA if DFA has an accepting run\n on w. Since A is deterministic,\n :math:`w ∈ L(A)` if and only if :math:`ρ(s_0 , w) ∈ F` .",
" :param dict dfa: input ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rename_dfa_states API.
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 rename_dfa_states API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Side effect on input! Renames all the states of the DFA
adding a **suffix**.
It is an utility function to be used to avoid automata to have
states with names in common.
Avoid suffix that can lead to special name like "as", "and",...
:param dict dfa: input DFA.
:param str suffix: string to be ... | "Side effect on input! Renames all the states of the DFA\n adding a **suffix**.\n\n It is an utility function to be used to avoid automata to have\n states with names in common.\n\n Avoid suffix that can lead to special name like \"as\", \"and\",...\n\n :param dict dfa: input DFA.\n :param str suffix:... | 208 | false | Oneiroe/PySimpleAutomata | rename_dfa_states | 32,529 | |
LDU_FT/rocky/python-xdis/fix_opcode_names | LDU_FT | [
"<BEGIN>\n## `disco`",
"diassembles and deparses a given code block 'co'\n<END>",
"<BEGIN>\n## `disco_loop`",
"Disassembles a queue of code objects. If we discover\n another code object which will be found in co_consts, we add\n the new code to the list. Note that the order of code discovery\n is in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fix_opcode_names API.
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 fix_opcode_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Python stupidly named some OPCODES with a + which prevents using opcode name
directly as an attribute, e.g. SLICE+3. So we turn that into SLICE_3 so we
can then use opcode_23.SLICE_3. Later Python's fix this. | "Python stupidly named some OPCODES with a + which prevents using opcode name\n directly as an attribute, e.g. SLICE+3. So we turn that into SLICE_3 so we\n can then use opcode_23.SLICE_3. Later Python's fix this." | 133 | false | rocky/python-xdis | fix_opcode_names | 32,530 | |
LDU_FT/mozilla/build-mar/calculate_hashes | LDU_FT | [
"<BEGIN>\n## `add_signature_block`",
"Add a signature block to marfile, a MarReader object.",
" Productversion and channel are preserved, but any existing signatures are overwritten.",
" Args:\n src_fileobj (file object): The input MAR file to add a signature to\n dest_fileobj (file object... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_hashes API.
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 calculate_hashes API.
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 hashes of the contents of this MAR file.
The hashes depend on the algorithms defined in the MAR file's signature block.
Returns:
A list of (algorithm_id, hash) tuples | "Return hashes of the contents of this MAR file.\n\n The hashes depend on the algorithms defined in the MAR file's signature block.\n\n Returns:\n A list of (algorithm_id, hash) tuples" | 146 | false | mozilla/build-mar | calculate_hashes | 32,531 | |
LDU_FT/gbiggs/rtsprofile/save_xml | LDU_FT | [
"<BEGIN>\n## `parse_xml_node`",
"Parse an xml.dom Node object representing a message sending object\n into this object.\n<END>",
"<BEGIN>\n## `parse_yaml`",
"Parse a YAML speficication of a message sending object into this\n object.\n<END>",
"<BEGIN>\n## `save_xml`",
"Save this message_sendi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_xml API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_xml API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Save this target execution context into an xml.dom.Element
object. | "Save this target execution context into an xml.dom.Element\n object." | 166 | false | gbiggs/rtsprofile | save_xml | 32,532 | |
LDU_FT/espressif/esptool/_connect_attempt | LDU_FT | [
"<BEGIN>\n## `decrypt`",
"Decrypt a block of cipher text using the AES block cipher.\n<END>",
"<BEGIN>\n## `increment`",
"Increment the counter (overflow rolls back to 0).\n<END>",
"<BEGIN>\n## `summary`",
"Print a human-readable summary of efuse contents\n<END>",
"<BEGIN>\n## `write_efuses`",
"Write ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _connect_attempt API.
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 _connect_attempt API.
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 single connection attempt, with esp32r0 workaround options | "A single connection attempt, with esp32r0 workaround options" | 199 | false | espressif/esptool | _connect_attempt | 32,533 | |
LDU_FT/Peter-Slump/django-dynamic-fixtures/resolve_nodes | LDU_FT | [
"<BEGIN>\n## `progress_callback`",
"Callback to report progress",
" :param str action:\n :param list node: app, module\n :param int | None elapsed_time:\n<END>",
"<BEGIN>\n## `init_graph`",
"Initialize graph\n Load all nodes and set dependencies.",
" To avoid errors abou... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_nodes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_nodes API.
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... | Resolve a given set of nodes.
Dependencies of the nodes, even if they are not in the given list will
also be resolved!
:param list nodes: List of nodes to be resolved
:return: A list of resolved nodes | "Resolve a given set of nodes.\n\n Dependencies of the nodes, even if they are not in the given list will\n also be resolved!\n\n :param list nodes: List of nodes to be resolved\n :return: A list of resolved nodes" | 22 | false | Peter-Slump/django-dynamic-fixtures | resolve_nodes | 32,534 | |
LDU_FT/mozilla/DeepSpeech/_parallel_extracter | LDU_FT | [
"<BEGIN>\n## `reduce_filename`",
"r'''\n Expects something like /tmp/tmpAjry4Gdsbench/test.weights.e5.XXX.YYY.pb\n Where XXX is a variation on the model size for example\n And where YYY is a const related to the training dataset\n<END>",
"<BEGIN>\n## `keep_only_digits`",
"r'''\n local helper to ju... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parallel_extracter 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 _parallel_extracter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Generate a function to extract a tar file based on given parameters
This works by currying the above given arguments into a closure
in the form of the following function.
:param data_dir: the target directory to extract into
:param number_of_test: the number of files to keep as the test set
:... | "Generate a function to extract a tar file based on given parameters\n This works by currying the above given arguments into a closure\n in the form of the following function.\n\n :param data_dir: the target directory to extract into\n :param number_of_test: the number of files to keep as the test set... | 98 | false | mozilla/DeepSpeech | _parallel_extracter | 32,535 | |
LDU_FT/moralrecordings/mrcrowbar/serialised | LDU_FT | [
"<BEGIN>\n## `decode_nfo`",
"Decodes a byte string in NFO format (beloved by PC scener groups) from DOS Code Page 437 \n to Unicode.\n<END>",
"<BEGIN>\n## `ansi_format_iter`",
"Return the ANSI escape sequence to render the image.",
" x_start\n Offset from the left of the image data to r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialised API.
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 serialised API.
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... | Tuple containing the contents of the Block. | "Tuple containing the contents of the Block." | 214 | false | moralrecordings/mrcrowbar | serialised | 32,536 | |
LDU_FT/summanlp/textrank/stem | LDU_FT | [
"<BEGIN>\n## `_cons`",
"cons(i) is TRUE <=> b[i] is a consonant.\n<END>",
"<BEGIN>\n## `_m`",
"m() measures the number of consonant sequences between k0 and j.\n if c is a consonant sequence and v a vowel sequence, and <..>\n indicates arbitrary presence,",
" <c><v> gives 0\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stem API.
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 stem API.
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... | Stem a Dutch word and return the stemmed form.
:param word: The word that is stemmed.
:type word: str or unicode
:return: The stemmed form.
:rtype: unicode | "Stem a Dutch word and return the stemmed form.\n\n :param word: The word that is stemmed.\n :type word: str or unicode\n :return: The stemmed form.\n :rtype: unicode" | 126 | false | summanlp/textrank | stem | 32,537 | |
LDU_FT/ph4r05/monero-serialize/dump_unicode | LDU_FT | [
"<BEGIN>\n## `load_uint`",
"Constant-width integer serialization\n :param reader:\n :param width:\n :return:\n<END>",
"<BEGIN>\n## `dump_uint`",
"Constant-width integer serialization\n :param writer:\n :param n:\n :param width:\n :return:\n<END>",
"<BEGIN>\n## `load_uvarint_b`",
"Vari... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_unicode API.
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 dump_unicode API.
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... | Dumps string as UTF8 encoded string
:param writer:
:param elem:
:return: | "Dumps string as UTF8 encoded string\n :param writer:\n :param elem:\n :return:" | 273 | false | ph4r05/monero-serialize | dump_unicode | 32,538 | |
LDU_FT/Autodesk/cryptorito/fingerprint_from_keybase | LDU_FT | [
"<BEGIN>\n## `polite_string`",
"Returns a \"proper\" string that should work in both Py3/Py2\n<END>",
"<BEGIN>\n## `not_a_string`",
"It's probably not a string, in the sense\n that Python2/3 get confused about these things\n<END>",
"<BEGIN>\n## `actually_flatten`",
"Flatten iterables\n This is super... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fingerprint_from_keybase API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fingerprint_from_keybase API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Extracts a key matching a specific fingerprint from a
Keybase API response | "Extracts a key matching a specific fingerprint from a\n Keybase API response" | 36 | false | Autodesk/cryptorito | fingerprint_from_keybase | 32,539 | |
LDU_FT/python-xlib/python-xlib/get_atom_name | LDU_FT | [
"<BEGIN>\n## `query_int_attribute`",
"Return the value of an integer attribute\n<END>",
"<BEGIN>\n## `create_resource_object`",
"Create a resource object of type for the integer id. type\n should be one of the following strings:",
" resource\n drawable\n window\n pixmap\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_atom_name API.
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_atom_name API.
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... | Look up the name of atom, returning it as a string. Will raise
BadAtom if atom does not exist. | "Look up the name of atom, returning it as a string. Will raise\n BadAtom if atom does not exist." | 232 | false | python-xlib/python-xlib | get_atom_name | 32,540 | |
LDU_FT/josegomezr/pqb/order_by | LDU_FT | [
"<BEGIN>\n## `from_`",
"Establece el origen de datos (y un alias opcionalmente).\n<END>",
"<BEGIN>\n## `where`",
"Establece condiciones para la consulta unidas por AND\n<END>",
"<BEGIN>\n## `order_by`",
"Indica los campos y el criterio de ordenamiento\n<END>",
"<BEGIN>\n## `where`",
"Establece condici... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the order_by API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the order_by API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Indica los campos y el criterio de ordenamiento | "Indica los campos y el criterio de ordenamiento" | 14 | false | josegomezr/pqb | order_by | 32,541 | |
LDU_FT/textbook/atmdb/_get_person_json | LDU_FT | [
"<BEGIN>\n## `url_builder`",
"Create a URL for the specified endpoint.",
" Arguments:\n endpoint (:py:class:`str`): The API endpoint to access.\n root: (:py:class:`str`, optional): The root URL for the\n service API.\n params: (:py:class:`dict`, optional): The values... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_person_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_person_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Retrieve raw person JSON by ID.
Arguments:
id_ (:py:class:`int`): The person's TMDb ID.
url_params (:py:class:`dict`): Any additional URL parameters.
Returns:
:py:class:`dict`: The JSON data. | "Retrieve raw person JSON by ID.\n\n Arguments:\n id_ (:py:class:`int`): The person's TMDb ID.\n url_params (:py:class:`dict`): Any additional URL parameters.\n\n Returns:\n :py:class:`dict`: The JSON data." | 70 | false | textbook/atmdb | _get_person_json | 32,542 | |
LDU_FT/beetbox/audioread/read_data | 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 read_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 read_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... | Read blocks of raw PCM data from the file. | "Read blocks of raw PCM data from the file." | 58 | false | beetbox/audioread | read_data | 32,543 | |
LDU_FT/ray-project/ray/resolve_nested_dict | LDU_FT | [
"<BEGIN>\n## `_agent_import_failed`",
"Returns dummy agent class for if PyTorch etc. is not installed.\n<END>",
"<BEGIN>\n## `run`",
"Executes training.",
" Args:\n run_or_experiment (function|class|str|Experiment): If\n function|class|str, this is the algorithm or model to train.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_nested_dict 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 resolve_nested_dict 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... | Flattens a nested dict by joining keys into tuple of paths.
Can then be passed into `format_vars`. | "Flattens a nested dict by joining keys into tuple of paths.\n\n Can then be passed into `format_vars`." | 1,706 | true | ray-project/ray | resolve_nested_dict | 32,544 | |
LDU_FT/matttproud/python_quantile_estimation/_invariant | LDU_FT | [
"<BEGIN>\n## `observe`",
"Samples an observation's value.",
" Args:\n value: A numeric value signifying the value to be sampled.\n<END>",
"<BEGIN>\n## `query`",
"Retrieves the value estimate for the requested quantile rank.",
" The requested quantile rank must be registered in the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _invariant API.
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 _invariant API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Computes the delta value for the sample. | "Computes the delta value for the sample." | 14 | false | matttproud/python_quantile_estimation | _invariant | 32,545 | |
LDU_FT/pushyzheng/flask-rabbitmq/on_response | LDU_FT | [
"<BEGIN>\n## `bind_topic_exchange`",
"绑定主题交换机和队列\n :param exchange_name: 需要绑定的交换机名\n :param routing_key:\n :param queue_name: 需要绑定的交换机队列名\n :return:\n<END>",
"<BEGIN>\n## `declare_queue`",
"声明一个队列\n :param queue_name: 队列名\n :param passive:\n :param durable:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | All RPC response will call this method, so change the isAccept to True in this method
所有的RPC请求回调都会调用该方法,在该方法内修改对应corr_id已经接受消息的isAccept值和返回结果 | "All RPC response will call this method, so change the isAccept to True in this method\n 所有的RPC请求回调都会调用该方法,在该方法内修改对应corr_id已经接受消息的isAccept值和返回结果" | 16 | false | pushyzheng/flask-rabbitmq | on_response | 32,546 | |
LDU_FT/mediawiki-utilities/python-mwoauth/authorized | LDU_FT | [
"<BEGIN>\n## `authorized`",
"Wrap a flask route. Ensure that the user has authorized via OAuth or\n redirect the user to the authorization endpoint with a delayed redirect\n back to the originating endpoint.\n<END>",
"<BEGIN>\n## `mwapi_session`",
"Create :class:`mwapi.Session` that is authorized for th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authorized API.
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 authorized API.
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... | Wrap a flask route. Ensure that the user has authorized via OAuth or
redirect the user to the authorization endpoint with a delayed redirect
back to the originating endpoint. | "Wrap a flask route. Ensure that the user has authorized via OAuth or\n redirect the user to the authorization endpoint with a delayed redirect\n back to the originating endpoint." | 34 | false | mediawiki-utilities/python-mwoauth | authorized | 32,547 | |
LDU_FT/ianmiell/shutit/do_list_modules | LDU_FT | [
"<BEGIN>\n## `parse_shutitfile_args`",
"Parse shutitfile args (eg in the line 'RUN some args', the passed-in args_str would be 'some args').\n\tIf the string is bounded by square brackets, then it's treated in the form: ['arg1','arg2'], and the returned list looks the same.\n\tIf the string composed entirely of n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_list_modules API.
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 do_list_modules API.
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... | Display a list of loaded modules.
Config items:
- shutit.list_modules['long']
If set, also print each module's run order value
- shutit.list_modules['sort']
Select the column by which the list is ordered:
- id: sort the list by module id
- run_order: sort the list by module run order
The ... | "Display a list of loaded modules.\n\n\t\tConfig items:\n\t\t\t- shutit.list_modules['long']\n\t\t\t If set, also print each module's run order value\n\n\t\t\t- shutit.list_modules['sort']\n\t\t\t Select the column by which the list is ordered:\n\t\t\t\t- id: sort the list by module id\n\t\t\t\t- run_order: sort the ... | 498 | false | ianmiell/shutit | do_list_modules | 32,548 | |
LDU_FT/intiocean/pyinter/_add | LDU_FT | [
"<BEGIN>\n## `_add`",
"Add a interval to the underlying IntervalSet data store. This does not perform any tests as we assume that\n any requirements have already been checked and that this function is being called by an internal function such\n as union(), intersection() or add().\n :param ot... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Add a interval to the underlying IntervalSet data store. This does not perform any tests as we assume that
any requirements have already been checked and that this function is being called by an internal function such
as union(), intersection() or add().
:param other: An Interval to add to this ... | "Add a interval to the underlying IntervalSet data store. This does not perform any tests as we assume that\n any requirements have already been checked and that this function is being called by an internal function such\n as union(), intersection() or add().\n :param other: An Interval to add to t... | 41 | false | intiocean/pyinter | _add | 32,549 | |
LDU_FT/DataBiosphere/toil/_newMesosTask | LDU_FT | [
"<BEGIN>\n## `html_page_context`",
"Event handler for the html-page-context signal.\n Modifies the context directly.\n - Replaces the 'toc' value created by the HTML builder with one\n that shows all document titles and the local table of contents.\n - Sets display_toc to True so the table of con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _newMesosTask API.
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 _newMesosTask API.
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... | Build the Mesos task object for a given the Toil job and Mesos offer | "Build the Mesos task object for a given the Toil job and Mesos offer" | 1,322 | true | DataBiosphere/toil | _newMesosTask | 32,550 | |
LDU_FT/shad7/tvrenamer/_iter_changelog | LDU_FT | [
"<BEGIN>\n## `execute`",
"Renames a file based on the name generated using metadata.",
" :param str filename: absolute path and filename of original file\n :param str formatted_name: absolute path and new filename\n<END>",
"<BEGIN>\n## `get_series_by_name`",
"Perform lookup for series",
" :pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _iter_changelog API.
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 _iter_changelog API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Convert a oneline log iterator to formatted strings.
:param changelog: An iterator of one line log entries like
that given by _iter_log_oneline.
:return: An iterator over (release, formatted changelog) tuples. | "Convert a oneline log iterator to formatted strings.\n\n :param changelog: An iterator of one line log entries like\n that given by _iter_log_oneline.\n :return: An iterator over (release, formatted changelog) tuples." | 135 | false | shad7/tvrenamer | _iter_changelog | 32,551 | |
LDU_FT/qubole/qds-sdk-py/camelize | LDU_FT | [
"<BEGIN>\n## `_parse_list`",
"Parse command line arguments to construct a dictionary of cluster\n parameters that can be used to determine which clusters to list.",
" Args:\n `args`: sequence of arguments",
" Returns:\n Dictionary that can be used to determine which ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the camelize API.
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 camelize API.
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 a word from lower_with_underscores to CamelCase.
Args:
word: The string to convert.
Returns:
The modified string. | "Convert a word from lower_with_underscores to CamelCase.\n\n Args:\n word: The string to convert.\n Returns:\n The modified string." | 316 | false | qubole/qds-sdk-py | camelize | 32,552 | |
LDU_FT/cmorisse/ikp3db/object_properties_count | LDU_FT | [
"<BEGIN>\n## `set_trace`",
"Breaks on the line that invoked this function or at given frame.\n User can then resume execution.",
" To call set_trace() use:",
" .. code-block:: python",
" import ikp3db ; ikp3db.set_trace()",
" :param a_frame: The frame at which to break on.\n :type a_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the object_properties_count API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the object_properties_count API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | returns the number of user browsable properties of an object. | "returns the number of user browsable properties of an object." | 109 | false | cmorisse/ikp3db | object_properties_count | 32,553 | |
LDU_FT/twitterdev/twitter-python-ads-sdk/_standard_params | LDU_FT | [
"<BEGIN>\n## `content_type`",
"Returns the content-type value determined by file extension.\n<END>",
"<BEGIN>\n## `__init_chunked_upload`",
"Initialization for a multi-chunk upload.\n<END>",
"<BEGIN>\n## `__upload_chunk`",
"Uploads a single chunk of a multi-chunk upload.\n<END>",
"<BEGIN>\n## `save`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _standard_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 _standard_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 ... | Sets the standard params for a stats request | "Sets the standard params for a stats request" | 74 | false | twitterdev/twitter-python-ads-sdk | _standard_params | 32,554 | |
LDU_FT/echinopsii/net.echinopsii.ariane.community.cli.python3/endpoint_2_json | LDU_FT | [
"<BEGIN>\n## `find_location`",
"find the location according location id (prioritary) or location name\n :param loc_id: the location id\n :param loc_name: the location name\n :return: found location or None if not found\n<END>",
"<BEGIN>\n## `json_2_location`",
"transform JSON obj coming f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the endpoint_2_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the endpoint_2_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | transform local object to JSON
:return: JSON object | "transform local object to JSON\n :return: JSON object" | 303 | false | echinopsii/net.echinopsii.ariane.community.cli.python3 | endpoint_2_json | 32,555 | |
LDU_FT/OzymandiasTheGreat/python-libinput/strip_source | LDU_FT | [
"<BEGIN>\n## `events`",
"Yield events from the internal libinput's queue.",
"\t\tYields device events that are subclasses of\n\t\t:class:`~libinput.event.Event`.",
"\t\tYields:\n\t\t\t:class:`~libinput.event.Event`: Device event.\n<END>",
"<BEGIN>\n## `next_event_type`",
"Return the type of the next event... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the strip_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the strip_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 extr... | The source of the interaction with the strip.
If the source is
:attr:`~libinput.constant.TabletPadStripAxisSource.FINGER`, libinput
sends a strip position value of -1 to terminate the current interaction.
For events not of type
:attr:`~libinput.constant.EventType.TABLET_PAD_STRIP`, this property
raises :e... | "The source of the interaction with the strip.\n\n\t\tIf the source is\n\t\t:attr:`~libinput.constant.TabletPadStripAxisSource.FINGER`, libinput\n\t\tsends a strip position value of -1 to terminate the current interaction.\n\n\t\tFor events not of type\n\t\t:attr:`~libinput.constant.EventType.TABLET_PAD_STRIP`, this pr... | 320 | false | OzymandiasTheGreat/python-libinput | strip_source | 32,556 | |
LDU_FT/junzis/pyModeS/airborne_position | LDU_FT | [
"<BEGIN>\n## `category`",
"Aircraft category number",
" Args:\n msg (string): 28 bytes hexadecimal message string",
" Returns:\n int: category number\n<END>",
"<BEGIN>\n## `callsign`",
"Aircraft callsign",
" Args:\n msg (string): 28 bytes hexadecimal message string",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the airborne_position API.
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 airborne_position API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Decode airborn position from a pair of even and odd position message
Args:
msg0 (string): even message (28 bytes hexadecimal string)
msg1 (string): odd message (28 bytes hexadecimal string)
t0 (int): timestamps for the even message
t1 (int): timestamps for the odd message
Retur... | "Decode airborn position from a pair of even and odd position message\n\n Args:\n msg0 (string): even message (28 bytes hexadecimal string)\n msg1 (string): odd message (28 bytes hexadecimal string)\n t0 (int): timestamps for the even message\n t1 (int): timestamps for the odd message\n\n... | 310 | false | junzis/pyModeS | airborne_position | 32,557 | |
LDU_FT/aegirhall/console-menu/set_border_style | LDU_FT | [
"<BEGIN>\n## `set_border_style`",
"Set the border style using the specified MenuBorderStyle instance.\n :param border_style: the instance of MenuBorderStyle to use for border style formatting.\n<END>",
"<BEGIN>\n## `set_border_style_type`",
"Set the border style using the specified border style type. T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_border_style API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_border_style API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Set the border style using the specified MenuBorderStyle instance.
:param border_style: the instance of MenuBorderStyle to use for border style formatting. | "Set the border style using the specified MenuBorderStyle instance.\n :param border_style: the instance of MenuBorderStyle to use for border style formatting." | 107 | false | aegirhall/console-menu | set_border_style | 32,558 | |
LDU_FT/django-parler/django-parler-rest/to_representation | LDU_FT | [
"<BEGIN>\n## `bind`",
"Create translation serializer dynamically.",
" Takes translatable model class (shared_model) from parent serializer and it\n may create a serializer class on the fly if no custom class was specified.\n<END>",
"<BEGIN>\n## `to_representation`",
"Serialize translated field... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_representation API.
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 to_representation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Serialize translated fields.
Simply iterate over available translations and, for each language,
delegate serialization logic to the translation model serializer.
Output languages can be selected by passing a list of language codes,
`languages`, within the serialization context. | "Serialize translated fields.\n\n Simply iterate over available translations and, for each language,\n delegate serialization logic to the translation model serializer.\n\n Output languages can be selected by passing a list of language codes,\n `languages`, within the serialization context." | 20 | false | django-parler/django-parler-rest | to_representation | 32,559 | |
LDU_FT/boronine/discipline/undo | LDU_FT | [
"<BEGIN>\n## `word`",
"This function generates a fake word by creating between two and three\n random syllables and then joining them together.\n<END>",
"<BEGIN>\n## `save_object`",
"Save an object with Discipline",
" Only argument is a Django object. This function saves the object\n (r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the undo API.
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 undo API.
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... | Create a new Action that undos the effects of this one, or,
more accurately, reverts the object of this Action to the state
at which it was right before the Action took place. | "Create a new Action that undos the effects of this one, or,\n more accurately, reverts the object of this Action to the state\n at which it was right before the Action took place." | 49 | false | boronine/discipline | undo | 32,560 | |
LDU_FT/faide/py3o.template/get_list_transformer | LDU_FT | [
"<BEGIN>\n## `detect_keep_boundary`",
"a helper to inspect a link and see if we should keep the link boundary\n<END>",
"<BEGIN>\n## `move_siblings`",
"a helper function that will replace a start/end node pair\n by a new containing element, effectively moving all in-between siblings\n This is particularl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_list_transformer 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_list_transformer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | this function returns a transformer to
find all list elements and recompute their xml:id.
Because if we duplicate lists we create invalid XML.
Each list must have its own xml:id
This is important if you want to be able to reopen the produced
document wih an XML parser. LibreOffice will fix those ... | "this function returns a transformer to\n find all list elements and recompute their xml:id.\n Because if we duplicate lists we create invalid XML.\n Each list must have its own xml:id\n\n This is important if you want to be able to reopen the produced\n document wih an XML parser. LibreOffice will fix... | 46 | false | faide/py3o.template | get_list_transformer | 32,561 | |
LDU_FT/PGower/PyCanvas/list_quizzes_in_course | LDU_FT | [
"<BEGIN>\n## `get_all_quiz_submissions`",
"Get all quiz submissions.\r",
" Get a list of all submissions for this quiz. Users who can view or manage\r\n grades for a course will have submissions from multiple users returned. A\r\n user who can only submit will have only their own submission... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_quizzes_in_course 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 list_quizzes_in_course API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | List quizzes in a course.
Returns the list of Quizzes in this course. | "List quizzes in a course.\r\n\r\n Returns the list of Quizzes in this course." | 833 | false | PGower/PyCanvas | list_quizzes_in_course | 32,562 | |
LDU_FT/iterative/dvc/show | LDU_FT | [
"<BEGIN>\n## `_get_remote`",
"The config file is stored in a way that allows you to have a\n cache for each remote.",
" This is needed when specifying external outputs\n (as they require you to have an external cache location).",
" Imagine a config file like the following:",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Prints option value from the config.
Args:
config (configobj.ConfigObj): config to work on.
section (str): section name.
opt (str): option name. | "Prints option value from the config.\n\n Args:\n config (configobj.ConfigObj): config to work on.\n section (str): section name.\n opt (str): option name." | 269 | false | iterative/dvc | show | 32,563 | |
LDU_FT/jasonrbriggs/stomp.py/encode | LDU_FT | [
"<BEGIN>\n## `attempt_connection`",
"Establish a multicast connection - uses 2 sockets (one for sending, the other for receiving)\n<END>",
"<BEGIN>\n## `process_frame`",
":param Frame f: Frame object\n :param bytes frame_str: Raw frame content\n<END>",
"<BEGIN>\n## `connect`",
":param str username:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode API.
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 encode API.
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 ... | Encode the parameter as a byte string.
:param char_data: the data to encode
:rtype: bytes | "Encode the parameter as a byte string.\n\n :param char_data: the data to encode\n\n :rtype: bytes" | 154 | false | jasonrbriggs/stomp.py | encode | 32,564 | |
LDU_FT/roboogle/gtkmvc3/_set_property | LDU_FT | [
"<BEGIN>\n## `__create_log_props`",
"Creates all the logical property.",
" The list of names of properties to be created is passed\n with frozenset log_props. The getter/setter information is\n taken from _{get,set}dict.",
" This method resolves also wildcards in names, and perform... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_property API.
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 _set_property API.
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... | Private method that sets the value currently of the property | "Private method that sets the value currently of the property" | 300 | false | roboogle/gtkmvc3 | _set_property | 32,565 | |
LDU_FT/litl/rauth/request | LDU_FT | [
"<BEGIN>\n## `request`",
"A loose wrapper around Requests' :class:`~requests.sessions.Session`\n which injects OAuth 1.0/a parameters.",
" :param method: A string representation of the HTTP method to be used.\n :type method: str\n :param url: The resource to be requested.\n :t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | A loose wrapper around Requests' :class:`~requests.sessions.Session`
which injects Ofly parameters.
:param method: A string representation of the HTTP method to be used.
:type method: str
:param url: The resource to be requested.
:type url: str
:param hash_meth: The hash... | "A loose wrapper around Requests' :class:`~requests.sessions.Session`\n which injects Ofly parameters.\n\n :param method: A string representation of the HTTP method to be used.\n :type method: str\n :param url: The resource to be requested.\n :type url: str\n :param hash_meth: ... | 79 | false | litl/rauth | request | 32,566 | |
LDU_FT/CivicSpleen/ambry/dict | LDU_FT | [
"<BEGIN>\n## `_or_join`",
"Joins terms using OR operator.",
" Args:\n terms (list): terms to join",
" Examples:\n self._or_join(['term1', 'term2']) -> 'term1 | term2'",
" Returns:\n str\n<END>",
"<BEGIN>\n## `search`",
"Finds datasets by search phras... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dict API.
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 dict API.
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... | A dict that holds key/values for all of the properties in the
object.
:return: | "A dict that holds key/values for all of the properties in the\n object.\n\n :return:" | 1,165 | true | CivicSpleen/ambry | dict | 32,567 | |
LDU_FT/ska-sa/purr/_newLogEntry | LDU_FT | [
"<BEGIN>\n## `rotate`",
"Rotate a coordinate around point (0,0).\n - x and y specify the coordinate.\n - degree is a number from 0 to 360.\n Returns a new coordinate.\n<END>",
"<BEGIN>\n## `_compute_bounding_box`",
"Given the list of coordinates (x,y), this procedure computes\n the smallest rectan... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _newLogEntry API.
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 _newLogEntry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | This is called when a new log entry is created | "This is called when a new log entry is created" | 265 | false | ska-sa/purr | _newLogEntry | 32,568 | |
LDU_FT/twneale/visitors/visit | LDU_FT | [
"<BEGIN>\n## `continues`",
"Method decorator signifying that the visitor should not visit the\n current node's children once this method has been invoked.\n<END>",
"<BEGIN>\n## `get_methodnames`",
"Given a node, generate all names for matching visitor methods.\n<END>",
"<BEGIN>\n## `get_method`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit API.
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 visit API.
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... | The main visit function. Visits the passed-in node and calls
finalize. | "The main visit function. Visits the passed-in node and calls\n finalize." | 19 | false | twneale/visitors | visit | 32,569 | |
LDU_FT/openfisca/openfisca-core/nb_persons | LDU_FT | [
"<BEGIN>\n## `apply_thresholds`",
"Return one of the choices depending on the input position compared to thresholds, for each input.",
" >>> apply_thresholds(np.array([4]), [5, 7], [10, 15, 20])\n array([10])\n >>> apply_thresholds(np.array([5]), [5, 7], [10, 15, 20])\n array([10])\n >>> apply_th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nb_persons API.
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 nb_persons API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Returns the number of persons contained in the entity.
If ``role`` is provided, only the entity member with the given role are taken into account. | "Returns the number of persons contained in the entity.\n\n If ``role`` is provided, only the entity member with the given role are taken into account." | 322 | false | openfisca/openfisca-core | nb_persons | 32,570 | |
LDU_FT/keras-rl/keras-rl/on_episode_end | LDU_FT | [
"<BEGIN>\n## `fit`",
"Trains the agent on the given environment.",
" # Arguments\n env: (`Env` instance): Environment that the agent interacts with. See [Env](#env) for details.\n nb_steps (integer): Number of training steps to be performed.\n action_repetition (integer):... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_episode_end API.
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 on_episode_end API.
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 and print training statistics of the episode when done | "Compute and print training statistics of the episode when done" | 113 | false | keras-rl/keras-rl | on_episode_end | 32,571 | |
LDU_FT/bitlabstudio/django-libs/load_member | LDU_FT | [
"<BEGIN>\n## `add_form_widget_attr`",
"Adds widget attributes to a bound form field.",
" This is helpful if you would like to add a certain class to all your forms\n (i.e. `form-control` to all form fields when you are using Bootstrap)::",
" {% load libs_tags %}\n {% for field in form.fiel... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_member API.
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 load_member API.
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... | Loads and returns a class for a given fully qualified name. | "Loads and returns a class for a given fully qualified name." | 101 | false | bitlabstudio/django-libs | load_member | 32,572 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.