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/gersolar/stations/wrap_around_re
LDU_FT
[ "<BEGIN>\n## `wrap_around_re`", "Same as wrap_around but works with regular expression based\n wildcards to map which methods are going to be used.\n<END>", "<BEGIN>\n## `_with_wrap`", "with_wrap wraps the execution of method inside given\n generator. When the method is called, the generator is invoked\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap_around_re API. 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 wrap_around_re API. 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...
Same as wrap_around but works with regular expression based wildcards to map which methods are going to be used.
"Same as wrap_around but works with regular expression based\n wildcards to map which methods are going to be used."
31
false
gersolar/stations
wrap_around_re
35,373
LDU_FT/awslabs/aws-serverlessrepo-python/validate
LDU_FT
[ "<BEGIN>\n## `validate`", "Check if the formats of principals and actions are valid.", " :return: True, if the policy is valid\n :raises: InvalidApplicationPolicyError\n<END>", "<BEGIN>\n## `publish_application`", "Create a new application or new application version in SAR.", " :param tem...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Check if the required application metadata properties have been populated. :param required_props: List of required properties :type required_props: list :return: True, if the metadata is valid :raises: InvalidApplicationMetadataError
"Check if the required application metadata properties have been populated.\n\n :param required_props: List of required properties\n :type required_props: list\n :return: True, if the metadata is valid\n :raises: InvalidApplicationMetadataError"
51
false
awslabs/aws-serverlessrepo-python
validate
35,374
LDU_FT/scivision/sciencedates/yeardoy2datetime
LDU_FT
[ "<BEGIN>\n## `timeticks`", "NOTE do NOT use \"interval\" or ticks are misaligned! use \"bysecond\" only!\n<END>", "<BEGIN>\n## `forceutc`", "Add UTC to datetime-naive and convert to UTC for datetime aware", " input: python datetime (naive, utc, non-utc) or Numpy datetime64 #FIXME add Pandas and AstroPy...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the yeardoy2datetime API. 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 yeardoy2datetime API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Inputs: yd: yyyyddd four digit year, 3 digit day of year (INTEGER 7 digits) outputs: t: datetime http://stackoverflow.com/questions/2427555/python-question-year-and-day-of-year-to-date
"Inputs:\n yd: yyyyddd four digit year, 3 digit day of year (INTEGER 7 digits)\n\n outputs:\n t: datetime\n\n http://stackoverflow.com/questions/2427555/python-question-year-and-day-of-year-to-date"
31
false
scivision/sciencedates
yeardoy2datetime
35,375
LDU_FT/alvinwan/TexSoup/find
LDU_FT
[ "<BEGIN>\n## `all`", "r\"\"\"Returns all content in this node, regardless of whitespace or\n not. This includes all LaTeX needed to reconstruct the original source.", " >>> from TexSoup import TexSoup\n >>> soup = TexSoup(r'''\n ... \\newcommand{reverseconcat}[3]{#3#2#1}\n ......
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
r"""First descendant node matching criteria. Returns None if no descendant node found. :return: descendant node matching criteria :rtype: Union[None,TexExpr] >>> from TexSoup import TexSoup >>> soup = TexSoup(r''' ... \section{Ooo} ... \textit{eee} ... ...
"r\"\"\"First descendant node matching criteria.\n\n Returns None if no descendant node found.\n\n :return: descendant node matching criteria\n :rtype: Union[None,TexExpr]\n\n >>> from TexSoup import TexSoup\n >>> soup = TexSoup(r'''\n ... \\section{Ooo}\n ... \\textit{e...
166
false
alvinwan/TexSoup
find
35,376
LDU_FT/thieman/dagobah/remote_ssh
LDU_FT
[ "<BEGIN>\n## `run`", "Continually monitors Jobs of the parent Dagobah.\n<END>", "<BEGIN>\n## `set_backend`", "Manually set backend after construction.\n<END>", "<BEGIN>\n## `from_backend`", "Reconstruct this Dagobah instance from the backend.\n<END>", "<BEGIN>\n## `_construct_from_json`", "Construct t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remote_ssh API. 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 remote_ssh API. 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...
Execute a command on SSH. Takes a paramiko host dict
"Execute a command on SSH. Takes a paramiko host dict"
120
false
thieman/dagobah
remote_ssh
35,377
LDU_FT/CEA-COSMIC/ModOpt/fancy_transpose
LDU_FT
[ "<BEGIN>\n## `add_args_kwargs`", "Add Args and Kwargs", " This wrapper adds support for additional arguments and keyword arguments to\n any callable function", " Parameters\n ----------\n func : function\n Callable function", " Returns\n -------\n function wrapper\n<END>", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fancy_transpose API. 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 fancy_transpose API. 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...
Fancy transpose This method transposes a multidimensional matrix. Parameters ---------- data : np.ndarray Input data array roll : int Roll direction and amount. Default (roll=1) Returns ------- np.ndarray transposed data Notes ----- Adjustment to numpy.tra...
"Fancy transpose\n\n This method transposes a multidimensional matrix.\n\n Parameters\n ----------\n data : np.ndarray\n Input data array\n roll : int\n Roll direction and amount. Default (roll=1)\n\n Returns\n -------\n np.ndarray transposed data\n\n Notes\n -----\n Adjus...
565
false
CEA-COSMIC/ModOpt
fancy_transpose
35,378
LDU_FT/globality-corp/microcosm-flask/find_response_format
LDU_FT
[ "<BEGIN>\n## `_serialize`", "Serialize value as a timestamp, either as a Unix timestamp (in float second) or a UTC isoformat string.\n<END>", "<BEGIN>\n## `_deserialize`", "Deserialize value as a Unix timestamp (in float seconds).", " Handle both numeric and UTC isoformat strings.\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_response_format API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_response_format API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Basic content negotiation logic. If the 'Accept' header doesn't exactly match a format we can handle, we return JSON
"Basic content negotiation logic.\n\n If the 'Accept' header doesn't exactly match a format we can handle, we return JSON"
309
false
globality-corp/microcosm-flask
find_response_format
35,379
LDU_FT/Jarn/jarn.viewdoc/run
LDU_FT
[ "<BEGIN>\n## `popen`", "Execute an external command and return (rc, output).\n<END>", "<BEGIN>\n## `convert_string`", "Convert a reST string to an HTML string.\n<END>", "<BEGIN>\n## `apply_styles`", "Insert style information into the HTML string.\n<END>", "<BEGIN>\n## `render_long_description`", "Conv...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Render and display Python package documentation.
"Render and display Python package documentation."
10
false
Jarn/jarn.viewdoc
run
35,380
LDU_FT/erikrose/parsimonious/_expressions_from_rules
LDU_FT
[ "<BEGIN>\n## `visit`", "Walk a parse tree, transforming it into another representation.", " Recursively descend a parse tree, dispatching to the method named after\n the rule in the :class:`~parsimonious.grammar.Grammar` that produced\n each node. If, for example, a rule was... ::", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _expressions_from_rules API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _expressions_from_rules API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Return the rules for parsing the grammar definition syntax. Return a 2-tuple: a dict of rule names pointing to their expressions, and then the top-level expression for the first rule.
"Return the rules for parsing the grammar definition syntax.\n\n Return a 2-tuple: a dict of rule names pointing to their expressions,\n and then the top-level expression for the first rule."
41
false
erikrose/parsimonious
_expressions_from_rules
35,381
LDU_FT/swisscom/cleanerversion/contribute_to_related_class
LDU_FT
[ "<BEGIN>\n## `get_readonly_fields`", "This is required a subclass of VersionedAdmin has readonly_fields\n ours won't be undone\n<END>", "<BEGIN>\n## `get_list_display`", "This method determines which fields go in the changelist\n<END>", "<BEGIN>\n## `get_list_filter`", "Adds versionable custom filt...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the contribute_to_related_class API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the contribute_to_related_class API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Override ForeignKey's methods, and replace the descriptor, if set by the parent's methods
"Override ForeignKey's methods, and replace the descriptor, if set by\n the parent's methods"
149
false
swisscom/cleanerversion
contribute_to_related_class
35,382
LDU_FT/aalireza/SimpleAudioIndexer/_partial_search_validator
LDU_FT
[ "<BEGIN>\n## `set_username_ibm`", "Parameters\n ----------\n username_ibm : str", " Raises\n ------\n Exception\n If mode is not `ibm`\n<END>", "<BEGIN>\n## `set_password_ibm`", "Parameters\n ----------\n password_ibm : str", " Raises\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _partial_search_validator API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _partial_search_validator API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
It's responsible for validating the partial results of `search` method. If it returns True, the search would return its result. Else, search method would discard what it found and look for others. First, checks to see if all elements of `sub` is in `sup` with at least the same frequency...
"It's responsible for validating the partial results of `search` method.\n If it returns True, the search would return its result. Else, search\n method would discard what it found and look for others.\n\n First, checks to see if all elements of `sub` is in `sup` with at least\n the same fre...
159
false
aalireza/SimpleAudioIndexer
_partial_search_validator
35,383
LDU_FT/aganezov/gos/get_support_edge_scores
LDU_FT
[ "<BEGIN>\n## `get_vertex_surrounding_multicolor`", "Loops over all edges that are incident to supplied vertex and accumulates all colors,\n that are present in those edges\n<END>", "<BEGIN>\n## `get_irregular_edge_by_vertex`", "Loops over all edges that are incident to supplied vertex and return a first i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_support_edge_scores 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_support_edge_scores API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
For supplied connected components (this connected components is assumed to be pre-filtered before hand) for every regular edge in it (which after pre-filtration would correspond to "supporting" edge only) computes an summands ("before" and "after") for its "assembly score" (which is defined as "before" - "aft...
"For supplied connected components (this connected components is assumed to be pre-filtered before hand)\n for every regular edge in it (which after pre-filtration would correspond to \"supporting\" edge only)\n computes an summands (\"before\" and \"after\") for its \"assembly score\" (which is defined as \"be...
39
false
aganezov/gos
get_support_edge_scores
35,384
LDU_FT/RI-imaging/qpsphere/circle_residual
LDU_FT
[ "<BEGIN>\n## `interpolate_grid`", "Return the 2D field averaged radially w.r.t. the center\n<END>", "<BEGIN>\n## `rytov`", "Field behind a dielectric sphere in the Rytov approximation", " Parameters\n ----------\n radius: float\n Radius of the sphere [m]\n sphere_index: float\n Ref...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the circle_residual API. 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 circle_residual API. 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...
Residuals for circle fitting Parameters ---------- params: lmfit.Parameters Must contain the keys: - "cx": origin of x coordinate [px] - "cy": origin of y coordinate [px] xedge: 1D np.ndarray Edge coordinates x [px] yedge: 1D np.ndarray Edge coordinates y [p...
"Residuals for circle fitting\n\n Parameters\n ----------\n params: lmfit.Parameters\n Must contain the keys:\n\n - \"cx\": origin of x coordinate [px]\n - \"cy\": origin of y coordinate [px]\n xedge: 1D np.ndarray\n Edge coordinates x [px]\n yedge: 1D np.ndarray\n Edge...
179
false
RI-imaging/qpsphere
circle_residual
35,385
LDU_FT/shtalinberg/django-el-pagination/page_template
LDU_FT
[ "<BEGIN>\n## `paginate`", "Paginate objects.", " Usage:", " .. code-block:: html+django", " {% paginate entries %}", " After this call, the *entries* variable in the template context is replaced\n by only the entries of the current page.", " You can also keep your *entries* origina...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the page_template API. 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 page_template API. 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 a view dynamically switching template if the request is Ajax. Decorate a view that takes a *template* and *extra_context* keyword arguments (like generic views). The template is switched to *page_template* if request is ajax and if *querystring_key* variable passed by the request equals to *key*...
"Return a view dynamically switching template if the request is Ajax.\n\n Decorate a view that takes a *template* and *extra_context* keyword\n arguments (like generic views).\n The template is switched to *page_template* if request is ajax and\n if *querystring_key* variable passed by the request equals to...
166
false
shtalinberg/django-el-pagination
page_template
35,386
LDU_FT/jantman/webhook2lambda2sqs/_args_for_remote
LDU_FT
[ "<BEGIN>\n## `webhook2lambda2sqs_handler`", "Main entry point/handler for the lambda function. Wraps\n :py:func:`~.handle_event` to ensure that we log detailed information if it\n raises an exception.", " :param event: Lambda event that triggered the handler\n :type event: dict\n :param context: ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _args_for_remote API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _args_for_remote API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Generate arguments for 'terraform remote config'. Return None if not present in configuration. :return: list of args for 'terraform remote config' or None :rtype: :std:term:`list`
"Generate arguments for 'terraform remote config'. Return None if\n not present in configuration.\n\n :return: list of args for 'terraform remote config' or None\n :rtype: :std:term:`list`"
137
false
jantman/webhook2lambda2sqs
_args_for_remote
35,387
LDU_FT/VasilyStepanov/pywidl/p_Exception
LDU_FT
[ "<BEGIN>\n## `p_Interface`", "Interface : interface IDENTIFIER Inheritance \"{\" InterfaceMembers \"}\" \";\"\n<END>", "<BEGIN>\n## `p_Dictionary`", "Dictionary : dictionary IDENTIFIER Inheritance \"{\" DictionaryMembers \"}\" \";\"\n<END>", "<BEGIN>\n## `p_DictionaryMember`", "DictionaryMember : Type IDE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_Exception API. 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 p_Exception API. 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...
Exception : exception IDENTIFIER Inheritance "{" ExceptionMembers "}" ";"
"Exception : exception IDENTIFIER Inheritance \"{\" ExceptionMembers \"}\" \";\""
34
false
VasilyStepanov/pywidl
p_Exception
35,388
LDU_FT/Synerty/pytmpdir/createFile
LDU_FT
[ "<BEGIN>\n## `pathNames`", "Path Names", " @return: A list of path + name of each file, relative to the root\n directory.\n<END>", "<BEGIN>\n## `paths`", "Paths", " @return: A list of the paths, effectively a list of relative\n directory names.\n<END>", "<BEGIN>\n## `getFile`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createFile API. 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 createFile API. 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...
Create File Creates a new file and updates file dictionary. @param path: File path. Defaults as empty string. @param name: File name to be used if passed. @param pathName: Joined file name and path to be used if passed. @type path: String @type name: String @ty...
"Create File\n\n Creates a new file and updates file dictionary.\n\n @param path: File path. Defaults as empty string.\n @param name: File name to be used if passed.\n @param pathName: Joined file name and path to be used if passed.\n @type path: String\n @type name: String\n ...
76
false
Synerty/pytmpdir
createFile
35,389
LDU_FT/PyThaiNLP/pythainlp/sent_tokenize
LDU_FT
[ "<BEGIN>\n## `spell`", ":param str word: word to check spelling\n :param str engine:\n * pn - Peter Norvig's algorithm (default)\n :return: list of words\n<END>", "<BEGIN>\n## `get_corpus`", "Read corpus from file and return a frozenset", " :param string filename: file corpus\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sent_tokenize API. 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 sent_tokenize API. 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...
This function does not yet automatically recognize when a sentence actually ends. Rather it helps split text where white space and a new line is found. :param str text: the text to be tokenized :param str engine: choose between 'whitespace' or 'whitespace+newline' :return: list of sentences
"This function does not yet automatically recognize when a sentence actually ends. Rather it helps split text where white space and a new line is found.\n\n :param str text: the text to be tokenized\n :param str engine: choose between 'whitespace' or 'whitespace+newline'\n\n :return: list of sentences"
190
false
PyThaiNLP/pythainlp
sent_tokenize
35,390
LDU_FT/fulfilio/python-magento/remove
LDU_FT
[ "<BEGIN>\n## `info`", "Retrieve customer data", " :param id: ID of customer\n :param attributes: `List` of attributes needed\n<END>", "<BEGIN>\n## `search`", "Retrieve order list by options using search api. Using this result can\n be paginated", " :param options: Dictionary of...
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 a product image. :param product: ID or SKU of product :param img_file_name: The image file name Example: '/m/y/my_image_thumb.jpg' :param identifierType: Defines whether the product or SKU value is passed in the "product" parameter. :re...
"Remove a product image.\n\n :param product: ID or SKU of product\n :param img_file_name: The image file name\n Example: '/m/y/my_image_thumb.jpg'\n :param identifierType: Defines whether the product or SKU value is\n passed in the \"product\" parameter.\n\n...
143
false
fulfilio/python-magento
remove
35,391
LDU_FT/edibledinos/pwnypack/reg_add
LDU_FT
[ "<BEGIN>\n## `fmtstring`", "Build a format string that writes given data to given locations. Can be\n used easily create format strings to exploit format string bugs.", " `writes` is a list of 2- or 3-item tuples. Each tuple represents a memory\n write starting with an absolute address, then the data t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reg_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reg_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...
Add a value to a register. The value can be another :class:`Register`, an :class:`Offset`, a :class:`Buffer`, an integer or ``None``. Arguments: reg(pwnypack.shellcode.types.Register): The register to add the value to. value: The value to add to the register. ...
"Add a value to a register. The value can be another :class:`Register`,\n an :class:`Offset`, a :class:`Buffer`, an integer or ``None``.\n\n Arguments:\n reg(pwnypack.shellcode.types.Register): The register to add the\n value to.\n value: The value to add to the regist...
353
false
edibledinos/pwnypack
reg_add
35,392
LDU_FT/python-bugzilla/python-bugzilla/getcomponentdetails
LDU_FT
[ "<BEGIN>\n## `_request_helper`", "A helper method to assist in making a request and provide a parsed\n response.\n<END>", "<BEGIN>\n## `open_without_clobber`", "Try to open the given file with the given mode; if that filename exists,\n try \"name.1\", \"name.2\", etc. until we find an unused filenam...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getcomponentdetails 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 getcomponentdetails 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...
Helper for accessing a single component's info. This is a wrapper around getcomponentsdetails, see that for explanation
"Helper for accessing a single component's info. This is a wrapper\n around getcomponentsdetails, see that for explanation"
184
false
python-bugzilla/python-bugzilla
getcomponentdetails
35,393
LDU_FT/stevearc/pyramid_webpack/_add_url
LDU_FT
[ "<BEGIN>\n## `get_webpack`", "Get the Webpack object for a given webpack config.", " Called at most once per request per config name.\n<END>", "<BEGIN>\n## `includeme`", "Add pyramid_webpack methods and config to the app\n<END>", "<BEGIN>\n## `_get_setting`", "Helper function to fetch settings, inher...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Add a 'url' property to a chunk and return it
"Add a 'url' property to a chunk and return it"
15
false
stevearc/pyramid_webpack
_add_url
35,394
LDU_FT/dsoprea/PySchedules/_startProgramsNode
LDU_FT
[ "<BEGIN>\n## `_startXTVDNode`", "Process the start of the top-level xtvd node\n<END>", "<BEGIN>\n## `_startStationsNode`", "Process the start of a node under xtvd/stations\n<END>", "<BEGIN>\n## `_endStationsNode`", "Process the end of a node under xtvd/stations\n<END>", "<BEGIN>\n## `_startLineupsNode`"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _startProgramsNode 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 _startProgramsNode 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...
Process the start of a node under xtvd/programs
"Process the start of a node under xtvd/programs"
50
false
dsoprea/PySchedules
_startProgramsNode
35,395
LDU_FT/uber/doubles/clear
LDU_FT
[ "<BEGIN>\n## `set_value`", "Set the value of the target.", " :param obj value: The value to set.\n<END>", "<BEGIN>\n## `patch_class`", "Create a new class based on the input_class.", " :param class input_class: The class to patch.\n :rtype class:\n<END>", "<BEGIN>\n## `clear`", "Clears a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clear API. 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 clear API. 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...
Clear allowances/expectations set on an object. :param object obj: The object to clear.
"Clear allowances/expectations set on an object.\n\n :param object obj: The object to clear."
171
false
uber/doubles
clear
35,396
LDU_FT/eddiejessup/metropack/n_to_pf
LDU_FT
[ "<BEGIN>\n## `n_to_pf`", "Returns the packing fraction for a number of non-intersecting spheres.", " Parameters\n ----------\n L: float array, shape (d,)\n System lengths.\n n: integer\n Number of spheres.\n R: float\n Sphere radius.", " Returns\n -------\n pf: flo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the n_to_pf API. 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 n_to_pf API. 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 the packing fraction for a number of non-intersecting spheres. Parameters ---------- L: float array, shape (d,) System lengths. n: integer Number of spheres. R: float Sphere radius. Returns ------- pf: float Fraction of space occupied by the sphe...
"Returns the packing fraction for a number of non-intersecting spheres.\n\n Parameters\n ----------\n L: float array, shape (d,)\n System lengths.\n n: integer\n Number of spheres.\n R: float\n Sphere radius.\n\n Returns\n -------\n pf: float\n Fraction of space occup...
35
false
eddiejessup/metropack
n_to_pf
35,397
LDU_FT/opengridcc/opengrid/_modeldesc_from_dict
LDU_FT
[ "<BEGIN>\n## `add`", "Add the path of a data set to the list of available sets", " NOTE: a data set is assumed to be a pickled\n and gzip compressed Pandas DataFrame", " Parameters\n ----------\n path : str\n<END>", "<BEGIN>\n## `unpack`", "Unpacks a data set to a Pandas...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _modeldesc_from_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _modeldesc_from_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. ...
Return a string representation of a patsy ModelDesc object
"Return a string representation of a patsy ModelDesc object"
84
false
opengridcc/opengrid
_modeldesc_from_dict
35,398
LDU_FT/tBaxter/activity-monitor/get_last_update_of_model
LDU_FT
[ "<BEGIN>\n## `register_app_activity`", "Create watchers for models defined in settings.py.\n Once created, they will be passed over\n Activity.objects.follow_model(), which lives in managers.py\n<END>", "<BEGIN>\n## `save`", "Store a string representation of content_object as target\n and actor n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_last_update_of_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_last_update_of_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Return the last time a given model's items were updated. Returns the epoch if the items were never updated.
"Return the last time a given model's items were updated. Returns the\n epoch if the items were never updated."
55
false
tBaxter/activity-monitor
get_last_update_of_model
35,399
LDU_FT/christophertbrown/bioscripts/fix_tree
LDU_FT
[ "<BEGIN>\n## `six_frame`", "translate each sequence into six reading frames\n<END>", "<BEGIN>\n## `best_model`", "determine the best model: archaea, bacteria, eukarya (best score)\n<END>", "<BEGIN>\n## `check_gaps`", "check for large gaps between alignment windows\n<END>", "<BEGIN>\n## `check_overlap`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fix_tree API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fix_tree API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
get the names for sequences in the raxml tree
"get the names for sequences in the raxml tree"
219
false
christophertbrown/bioscripts
fix_tree
35,400
LDU_FT/twoolie/NBT/_init_file
LDU_FT
[ "<BEGIN>\n## `stats_per_chunk`", "Given a chunk, increment the block types with the number of blocks found\n<END>", "<BEGIN>\n## `bounded_stats_per_chunk`", "Given a chunk, return the number of blocks types within the specified selection\n<END>", "<BEGIN>\n## `process_region_file`", "Given a region, retur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Initialise the file header. This will erase any data previously in the file.
"Initialise the file header. This will erase any data previously in the file."
84
false
twoolie/NBT
_init_file
35,401
LDU_FT/google/importlab/infer_module_name
LDU_FT
[ "<BEGIN>\n## `convert_to_path`", "Converts \".module\" to \"./module\", \"..module\" to \"../module\", etc.\n<END>", "<BEGIN>\n## `infer_module_name`", "Convert a python filename to a module relative to pythonpath.\n<END>", "<BEGIN>\n## `get_absolute_name`", "Joins a package name and a relative name.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the infer_module_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the infer_module_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...
Convert a python filename to a module relative to pythonpath.
"Convert a python filename to a module relative to pythonpath."
65
false
google/importlab
infer_module_name
35,402
LDU_FT/Metatab/metapack/example_transform
LDU_FT
[ "<BEGIN>\n## `_load_resource`", "The CSV package has no reseources, so we just need to resolve the URLs to them. Usually, the\n CSV package is built from a file system ackage on a publically acessible server.\n<END>", "<BEGIN>\n## `set_s3_profile`", "Load the credentials for an s3 profile into envi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the example_transform API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the example_transform API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
An example column transform. This is an example of a column transform with all of the arguments listed. An real transform can omit any ( or all ) of these, and can supply them in any order; the calling code will inspect the signature. When the function is listed as a transform for a column, it is call...
"An example column transform.\n\n This is an example of a column transform with all of the arguments listed. An real transform\n can omit any ( or all ) of these, and can supply them in any order; the calling code will inspect the\n signature.\n\n When the function is listed as a transform for a column, it ...
261
false
Metatab/metapack
example_transform
35,403
LDU_FT/shidenggui/easytrader/_prepare_account
LDU_FT
[ "<BEGIN>\n## `prepare`", "登录的统一接口\n :param config_file 登录数据文件,若无则选择参数登录模式\n :param user: 各家券商的账号或者雪球的用户名\n :param password: 密码, 券商为加密后的密码,雪球为明文密码\n :param account: [雪球登录需要]雪球手机号(邮箱手机二选一)\n :param portfolio_code: [雪球登录需要]组合代码\n :param portfolio_market: [雪球登录需要]交易市场,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prepare_account API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prepare_account API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
转换参数到登录所需的字典格式 :param cookies: 雪球登陆需要设置 cookies, 具体见 https://smalltool.github.io/2016/08/02/cookie/ :param portfolio_code: 组合代码 :param portfolio_market: 交易市场, 可选['cn', 'us', 'hk'] 默认 'cn' :return:
"转换参数到登录所需的字典格式\n :param cookies: 雪球登陆需要设置 cookies, 具体见\n https://smalltool.github.io/2016/08/02/cookie/\n :param portfolio_code: 组合代码\n :param portfolio_market: 交易市场, 可选['cn', 'us', 'hk'] 默认 'cn'\n :return:"
93
false
shidenggui/easytrader
_prepare_account
35,404
LDU_FT/SpockBotMC/SpockBot/set_block_entity_data
LDU_FT
[ "<BEGIN>\n## `clean_var`", "Turn text into a valid python classname or variable\n<END>", "<BEGIN>\n## `full_tasktrace`", "List of all failed tasks caused by this and all previous errors.", " Returns:\n List[Task]\n<END>", "<BEGIN>\n## `yaw_pitch`", "Calculate the yaw and pitch of this ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_block_entity_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_block_entity_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. ...
Update block entity data. Returns: Old data if block entity data was already stored for that location, None otherwise.
"Update block entity data.\n\n Returns:\n Old data if block entity data was already stored for that location,\n None otherwise."
62
false
SpockBotMC/SpockBot
set_block_entity_data
35,405
LDU_FT/teepark/greenhouse/acquire
LDU_FT
[ "<BEGIN>\n## `read`", "read up to len bytes and return them, or empty string on EOF\n<END>", "<BEGIN>\n## `write`", "write data to the ssl channel and return the # of bytes transferred\n<END>", "<BEGIN>\n## `connect`", "connects to the address and wraps the connection in an SSL context\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the acquire API. 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 acquire API. 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...
acquire ownership of the lock if the lock is already owned by the calling greenlet, a counter simply gets incremented. if it is owned by a different greenlet then it will block until the lock becomes available. .. note:: this method will block the current coroutine if the ...
"acquire ownership of the lock\n\n if the lock is already owned by the calling greenlet, a counter simply\n gets incremented. if it is owned by a different greenlet then it will\n block until the lock becomes available.\n\n .. note::\n\n this method will block the current coroutin...
349
false
teepark/greenhouse
acquire
35,406
LDU_FT/openeemeter/eemeter/metered_savings
LDU_FT
[ "<BEGIN>\n## `as_freq`", "Resample data to a different frequency.", " This method can be used to upsample or downsample meter data. The\n assumption it makes to do so is that meter data is constant and averaged\n over the given periods. For instance, to convert billing-period data to\n daily data, t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the metered_savings API. 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 metered_savings API. 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...
Compute metered savings, i.e., savings in which the baseline model is used to calculate the modeled usage in the reporting period. This modeled usage is then compared to the actual usage from the reporting period. Also compute two measures of the uncertainty of the aggregate savings estimate, a fraction...
"Compute metered savings, i.e., savings in which the baseline model\n is used to calculate the modeled usage in the reporting period. This\n modeled usage is then compared to the actual usage from the reporting period.\n Also compute two measures of the uncertainty of the aggregate savings estimate,\n a fra...
213
false
openeemeter/eemeter
metered_savings
35,407
LDU_FT/alejandroautalan/pygubu/get
LDU_FT
[ "<BEGIN>\n## `_autoscroll`", "Hide and show scrollbar as needed.\n Code from Joe English (JE) at http://wiki.tcl.tk/950\n<END>", "<BEGIN>\n## `__regpoly_coords`", "Create the coordinates of the regular polygon specified\n<END>", "<BEGIN>\n## `get_image`", "Return tk image corresponding to name which is...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. 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 get API. 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...
Get image previously registered with key rkey. If key not exist, raise StockImageException
"Get image previously registered with key rkey.\n If key not exist, raise StockImageException"
73
false
alejandroautalan/pygubu
get
35,408
LDU_FT/mgaitan/waliki/permission_required
LDU_FT
[ "<BEGIN>\n## `clean_meta`", "remove moinmoin metada from the top of the file\n<END>", "<BEGIN>\n## `entry_point`", "include an snippet at the bottom of a block, if it exists", " For example, if the plugin with slug 'attachments' is registered", " waliki/attachments_edit_content.html will be incl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the permission_required 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 permission_required 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...
this is analog to django's builtin ``permission_required`` decorator, but improved to check per slug ACLRules and default permissions for anonymous and logged in users if there is a rule affecting a slug, the user needs to be part of the rule's allowed users. If there isn't a matching rule, defaults pe...
"this is analog to django's builtin ``permission_required`` decorator, but\n improved to check per slug ACLRules and default permissions for\n anonymous and logged in users\n\n if there is a rule affecting a slug, the user needs to be part of the\n rule's allowed users. If there isn't a matching rule, defau...
38
false
mgaitan/waliki
permission_required
35,409
LDU_FT/msikma/kanaconv/_perform_replacements
LDU_FT
[ "<BEGIN>\n## `_clear_char`", "Clears the current character and makes the machine ready\n to accept the next character.\n<END>", "<BEGIN>\n## `_append_unknown_char`", "Appends the unknown character, in case one was encountered.\n<END>", "<BEGIN>\n## `_flush_char`", "Appends the rōmaji characters tha...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _perform_replacements 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 _perform_replacements API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Performs simple key/value string replacements that require no logic. This is used to convert the fullwidth rōmaji, several ligatures, and the punctuation characters.
"Performs simple key/value string replacements that require no logic.\n This is used to convert the fullwidth rōmaji, several ligatures,\n and the punctuation characters."
57
false
msikma/kanaconv
_perform_replacements
35,410
LDU_FT/Kensuke-Mitsuzawa/JapaneseTokenizers/__monkey_patch_juman_lines
LDU_FT
[ "<BEGIN>\n## `__check_mecab_dict_path`", "check path to dict of Mecab in system environment\n<END>", "<BEGIN>\n## `__feature_parser`", "Parse the POS feature output by Mecab\n :param uni_feature unicode:\n :return ( (pos1, pos2, pos3), word_stem ):\n<END>", "<BEGIN>\n## `__postprocess_analyzed...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __monkey_patch_juman_lines 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 __monkey_patch_juman_lines API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
* What you can do - It overwrites juman_line() method because this method causes TypeError in python3
"* What you can do\n - It overwrites juman_line() method because this method causes TypeError in python3"
58
false
Kensuke-Mitsuzawa/JapaneseTokenizers
__monkey_patch_juman_lines
35,411
LDU_FT/tgalal/python-axolotl/getCipherText
LDU_FT
[ "<BEGIN>\n## `getSignature`", ":type signatureKey: ECPrivateKey\n :type serialized: bytearray\n<END>", "<BEGIN>\n## `process`", ":param sessionRecord:\n :param message:\n :type message: PreKeyWhisperMessage\n<END>", "<BEGIN>\n## `processV2`", ":type sessionRecord: SessionRecord\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getCipherText API. 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 getCipherText API. 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...
:type iv: bytearray :type key: bytearray :type plaintext: bytearray
":type iv: bytearray\n :type key: bytearray\n :type plaintext: bytearray"
46
false
tgalal/python-axolotl
getCipherText
35,412
LDU_FT/genialis/resolwe/get_secret
LDU_FT
[ "<BEGIN>\n## `extend_settings`", "Extend the settings the manager will serialize.", " :param data_id: The :class:`~resolwe.flow.models.Data` object id\n being prepared for.\n :param files: The settings dictionary to be serialized. Keys are\n filenames, values are the objects ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_secret API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_secret API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Retrieve an existing secret's value. :param handle: Secret handle :param contributor: User instance to perform contributor validation, which means that only secrets for the given contributor will be looked up.
"Retrieve an existing secret's value.\n\n :param handle: Secret handle\n :param contributor: User instance to perform contributor validation,\n which means that only secrets for the given contributor will be\n looked up."
627
false
genialis/resolwe
get_secret
35,413
LDU_FT/cthoyt/onto2nx/getSkosConcept
LDU_FT
[ "<BEGIN>\n## `parse_owl_rdf`", "Parses an OWL resource that's encoded in OWL/RDF into a NetworkX directional graph", " :param str iri: The location of the OWL resource to be parsed by Ontospy\n :type iri: str\n :rtype: network.DiGraph\n<END>", "<BEGIN>\n## `get_or_create_home_repo`", "Check to make...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getSkosConcept API. 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 getSkosConcept API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
get the saved skos concept with given ID or via other methods... Note: it tries to guess what is being passed as above
"get the saved skos concept with given ID or via other methods...\n\n Note: it tries to guess what is being passed as above"
102
false
cthoyt/onto2nx
getSkosConcept
35,414
LDU_FT/LogicalDash/LiSE/thing2place
LDU_FT
[ "<BEGIN>\n## `on_touch_down`", "If hit, record my starting position, that I may return to it in\n ``on_touch_up`` after creating a real :class:`board.Spot` or\n :class:`board.Pawn` instance.\n<END>", "<BEGIN>\n## `on_touch_up`", "Return to ``pos_start``, but first, save my current ``pos`` into\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the thing2place API. 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 thing2place API. 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...
Unset a Thing's location, and thus turn it into a Place.
"Unset a Thing's location, and thus turn it into a Place."
660
false
LogicalDash/LiSE
thing2place
35,415
LDU_FT/HumanCellAtlas/cloud-blobstore/get_listing_from_response
LDU_FT
[ "<BEGIN>\n## `list`", "Returns an iterator of all blob entries in a bucket that match a given prefix. Do not return any keys that\n contain the delimiter past the\n prefix.\n<END>", "<BEGIN>\n## `delete`", "Deletes an object in a bucket. If the operation definitely did not delete anything, ret...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_listing_from_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_listing_from_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Retrieve blob metadata objects from blobstore response. Metadata objects represented as tuples in the form of: (key, {BlobMetadataField: val, ...})
"Retrieve blob metadata objects from blobstore response.\n Metadata objects represented as tuples in the form of:\n (key, {BlobMetadataField: val, ...})"
59
false
HumanCellAtlas/cloud-blobstore
get_listing_from_response
35,416
LDU_FT/b3j0f/conf/_getconf
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 _getconf API. 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 _getconf API. 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...
Get specific conf from one driver path. :param str rscpath: resource path. :param Logger logger: logger to use.
"Get specific conf from one driver path.\n\n :param str rscpath: resource path.\n :param Logger logger: logger to use."
151
false
b3j0f/conf
_getconf
35,417
LDU_FT/dbader/schedule/run_pending
LDU_FT
[ "<BEGIN>\n## `run_pending`", "Run all jobs that are scheduled to run.", " Please note that it is *intended behavior that run_pending()\n does not run missed jobs*. For example, if you've registered a job\n that should run every minute and you only call run_pending()\n in one hour inc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_pending API. 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 run_pending API. 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...
Run all jobs that are scheduled to run. Please note that it is *intended behavior that run_pending() does not run missed jobs*. For example, if you've registered a job that should run every minute and you only call run_pending() in one hour increments then your job won't be run 60 times...
"Run all jobs that are scheduled to run.\n\n Please note that it is *intended behavior that run_pending()\n does not run missed jobs*. For example, if you've registered a job\n that should run every minute and you only call run_pending()\n in one hour increments then your job won't be run 60...
26
false
dbader/schedule
run_pending
35,418
LDU_FT/pytest-dev/pytest-xdist/schedule
LDU_FT
[ "<BEGIN>\n## `has_pending`", "Return True if there are pending test items.", " This indicates that collection has finished and nodes are still\n processing test items, so this can be thought of as\n \"the scheduler is active\".\n<END>", "<BEGIN>\n## `add_node`", "Add a new node to the s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the schedule API. 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 schedule API. 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...
Initiate distribution of the test collection Initiate scheduling of the items across the nodes. If this gets called again later it behaves the same as calling ``.check_schedule()`` on all nodes so that newly added nodes will start to be used. This is called by the ``DSession.w...
"Initiate distribution of the test collection\n\n Initiate scheduling of the items across the nodes. If this\n gets called again later it behaves the same as calling\n ``.check_schedule()`` on all nodes so that newly added nodes\n will start to be used.\n\n This is called by the ``DS...
92
false
pytest-dev/pytest-xdist
schedule
35,419
LDU_FT/emirozer/fake2db/data_filler_company
LDU_FT
[ "<BEGIN>\n## `database_caller_creator`", "creates a mongodb database\n returns the related connection object\n which will be later used to spawn the cursor\n<END>", "<BEGIN>\n## `database_caller_creator`", "creates a redis connection object\n which will be later used to modify the db\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data_filler_company 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 data_filler_company API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
creates and fills the table with company data
"creates and fills the table with company data"
44
false
emirozer/fake2db
data_filler_company
35,420
LDU_FT/elastic/elasticsearch-py/info
LDU_FT
[ "<BEGIN>\n## `clear_cursor`", "`<Clear SQL cursor>`_", " :arg body: Specify the cursor value in the `cursor` element to clean the\n cursor.\n<END>", "<BEGIN>\n## `query`", "`<Execute SQL>`_", " :arg body: Use the `query` element to start a query. Use the `cursor`\n elem...
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...
`<http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html>`_ :arg index: Index pattern
"`<http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html>`_\n\n :arg index: Index pattern"
528
false
elastic/elasticsearch-py
info
35,421
LDU_FT/The-Politico/politico-civic-ap-loader/format_office_label
LDU_FT
[ "<BEGIN>\n## `process_result`", "Processes top-level (state) results for candidate races, loads data\n into the database and sends alerts for winning results.\n<END>", "<BEGIN>\n## `get_division`", "Gets the Division object for the given row of election results.\n<END>", "<BEGIN>\n## `get_office`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_office_label API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_office_label API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Format the label for office into something we like for twitter.
"Format the label for office into something we like for twitter."
36
false
The-Politico/politico-civic-ap-loader
format_office_label
35,422
LDU_FT/OpenAgInitiative/openag_python/writeln
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 writeln API. 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 writeln API. 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...
Write a line of text to the file :param data: The text to write
"Write a line of text to the file\n\n :param data: The text to write"
89
false
OpenAgInitiative/openag_python
writeln
35,423
LDU_FT/CamDavidsonPilon/lifelines/predict_cumulative_hazard
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 predict_cumulative_hazard API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict_cumulative_hazard API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Returns the hazard rates for the individuals Parameters ---------- X: a (n,d) covariate numpy array or DataFrame. If a DataFrame, columns can be in any order. If a numpy array, columns must be in the same order as the training data.
"Returns the hazard rates for the individuals\n\n Parameters\n ----------\n X: a (n,d) covariate numpy array or DataFrame. If a DataFrame, columns\n can be in any order. If a numpy array, columns must be in the\n same order as the training data."
603
false
CamDavidsonPilon/lifelines
predict_cumulative_hazard
35,424
LDU_FT/tswicegood/Dolt/get_url
LDU_FT
[ "<BEGIN>\n## `add_basic_auth`", "Send basic auth username and password.", " Normally you can use httplib2.Http.add_credentials() to add username and password.\n However this has two disadvantages.", " 1. Some poorly implemented APIs require basic auth but don't send a\n \"401 Authorization Requ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Returns the URL for this request. :param paths: Additional URL path parts to add to the request :param params: Additional query parameters to add to the request
"Returns the URL for this request.\n\n :param paths: Additional URL path parts to add to the request\n :param params: Additional query parameters to add to the request"
28
false
tswicegood/Dolt
get_url
35,425
LDU_FT/Kopachris/seshet/_loop
LDU_FT
[ "<BEGIN>\n## `_add_channel_names`", "Add a new channel to self.channels and initialize its user list.", " Called as event handler for RPL_NAMES events. Do not call directly.\n<END>", "<BEGIN>\n## `join`", "Add this user to the channel's user list and add the channel to this\n user's list of jo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _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 d...
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 d...
The main loop. Poll sockets for I/O and run any other functions that need to be run every loop.
"The main loop. Poll sockets for I/O and run any other functions\n that need to be run every loop."
49
false
Kopachris/seshet
_loop
35,426
LDU_FT/pycontribs/jira/create_issues
LDU_FT
[ "<BEGIN>\n## `translate_resource_args`", "Decorator that converts Issue and Project resources to their keys when used as arguments.\n<END>", "<BEGIN>\n## `_check_update_`", "Check if the current version of the library is outdated.\n<END>", "<BEGIN>\n## `_fetch_pages`", "Fetch pages.", " :param it...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_issues API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_issues API. 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...
Bulk create new issues and return an issue Resource for each successfully created issue. See `create_issue` documentation for field information. :param field_list: a list of dicts each containing field names and the values to use. Each dict is an individual issue to create and is subject t...
"Bulk create new issues and return an issue Resource for each successfully created issue.\n\n See `create_issue` documentation for field information.\n\n :param field_list: a list of dicts each containing field names and the values to use. Each dict\n is an individual issue to create and is sub...
468
false
pycontribs/jira
create_issues
35,427
LDU_FT/LeKono/pyhgnc/alias_name
LDU_FT
[ "<BEGIN>\n## `get_many2many_table`", "Creates a many-to-many table that links the given tables table1 and table2.", " :param str table1: Tablename of left hand table without TABLE_PREFIX.\n :param str table2: Tablename of right hand table without TABLE_PREFIX.\n :return:\n<END>", "<BEGIN>\n## `_limit...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the alias_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the alias_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 extrac...
Returns list of alias name by query paramaters --- tags: - Query functions parameters: - name: alias_name in: query type: string required: false description: 'Other names used to refer to a gene' default: 'peptidase nexin-II' - name: is_previous...
"Returns list of alias name by query paramaters\n ---\n\n tags:\n\n - Query functions\n\n parameters:\n\n - name: alias_name\n in: query\n type: string\n required: false\n description: 'Other names used to refer to a gene'\n default: 'peptidase nexin-II'\n\n - ...
248
false
LeKono/pyhgnc
alias_name
35,428
LDU_FT/fboender/ansible-cmdb/dump
LDU_FT
[ "<BEGIN>\n## `tokenize`", "Parse a string expression into a set of tokens that can be used as a path\n into a Python datastructure.\n<END>", "<BEGIN>\n## `jsonxs`", "Get, set, delete values in a JSON structure. `expr` is a JSONpath-like\n expression pointing to the desired value. `action` determines the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
A very verbose representation of the node passed. This is useful for debugging purposes.
"A very verbose representation of the node passed. This is useful for\n debugging purposes."
271
false
fboender/ansible-cmdb
dump
35,429
LDU_FT/vmware/pyvmomi/__RetrieveContent
LDU_FT
[ "<BEGIN>\n## `_AddType`", "Note: Must be holding the _lazyLock, or in main init path\n<END>", "<BEGIN>\n## `GetServiceVersions`", "Get all the versions for the service with specified namespace (partially) ordered\n by compatibility (i.e. any version in the list that is compatible with some version\n v in ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __RetrieveContent API. 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 __RetrieveContent API. 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 service instance for connection. @param host: Which host to connect to. @type host: string @param port: Port @type port: int @param adapter: Adapter @type adapter: string @param version: Version @type version: string @param path: Path @type path: string @param keyFile: ssl...
"Retrieve service instance for connection.\n @param host: Which host to connect to.\n @type host: string\n @param port: Port\n @type port: int\n @param adapter: Adapter\n @type adapter: string\n @param version: Version\n @type version: string\n @param path: Path\n @type path: string\n @param ...
128
false
vmware/pyvmomi
__RetrieveContent
35,430
LDU_FT/sio2project/filetracker/_protocol_version
LDU_FT
[ "<BEGIN>\n## `get_file`", "Retrieves file identified by ``name``.", " The file is saved as ``save_to``. If ``add_to_cache`` is ``True``,\n the file is added to the local store. If ``force_refresh`` is\n ``True``, local cache is not examined if a remote store is\n configur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _protocol_version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _protocol_version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Returns the protocol version that should be used. If the version wasn't established yet, asks the server what versions it supports and picks the highest one.
"Returns the protocol version that should be used.\n\n If the version wasn't established yet, asks the server what\n versions it supports and picks the highest one."
84
false
sio2project/filetracker
_protocol_version
35,431
LDU_FT/ask/carrot/gen_unique_id
LDU_FT
[ "<BEGIN>\n## `establish_connection`", "Establish connection to the AMQP broker.\n<END>", "<BEGIN>\n## `queue_exists`", "Check if a queue has been declared.", " :rtype bool:\n<END>", "<BEGIN>\n## `queue_bind`", "Bind queue to an exchange using a routing key.\n<END>", "<BEGIN>\n## `get`", "Rece...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_unique_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_unique_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Generate a unique id, having - hopefully - a very small chance of collission. For now this is provided by :func:`uuid.uuid4`.
"Generate a unique id, having - hopefully - a very small chance of\n collission.\n\n For now this is provided by :func:`uuid.uuid4`."
162
false
ask/carrot
gen_unique_id
35,432
LDU_FT/StellarCN/py-stellar-base/b58encode_check
LDU_FT
[ "<BEGIN>\n## `get`", "Retrieve the account data that corresponds to this :class:`Address`.", " Retrieve the account data from Horizon for the account that corresponds\n to this :class:`Address`. Attempt to retrieve the following attributes\n from Horizon:", " * Sequence Number\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the b58encode_check API. 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 b58encode_check API. 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...
Encode a string using Base58 with a 4 character checksum
"Encode a string using Base58 with a 4 character checksum"
411
false
StellarCN/py-stellar-base
b58encode_check
35,433
LDU_FT/stan-dev/pystan/forestplot
LDU_FT
[ "<BEGIN>\n## `lookup`", "Look up for a Stan function with similar functionality to a Python\n function (or even an R function, see examples). If the function is\n not present on the lookup table, then attempts to find similar one\n and prints the results. This function requires package `pandas`.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the forestplot API. 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 forestplot API. 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...
Forest plot (model summary plot) Generates a "forest plot" of 100*(1-alpha)% credible intervals for either the set of variables in a given model, or a specified set of nodes. :Arguments: trace_obj: NpTrace or MultiTrace object Trace(s) from an MCMC sample. vars: list ...
"Forest plot (model summary plot)\n\n Generates a \"forest plot\" of 100*(1-alpha)% credible intervals for either the\n set of variables in a given model, or a specified set of nodes.\n\n :Arguments:\n trace_obj: NpTrace or MultiTrace object\n Trace(s) from an MCMC sample.\n\n vars: li...
222
false
stan-dev/pystan
forestplot
35,434
LDU_FT/xiyouMc/ncmbot/user_follows
LDU_FT
[ "<BEGIN>\n## `login`", "登录接口,返回 :class:'Response' 对象\n :param password: 网易云音乐的密码\n :param phone: (optional) 手机登录\n :param email: (optional) 邮箱登录\n :param rememberLogin: (optional) 是否记住密码,默认 True\n<END>", "<BEGIN>\n## `user_play_list`", "获取用户歌单,包含收藏的歌单", " :param uid: 用户的ID,可通过登录或者其他接口获取\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_follows API. 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 user_follows API. 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...
获取用户关注列表 :param uid: 用户的ID,可通过登录或者其他接口获取 :param offset: (optional) 分段起始位置,默认 0 :param limit: (optional) 数据上限多少行,默认 30
"获取用户关注列表\n\n :param uid: 用户的ID,可通过登录或者其他接口获取\n :param offset: (optional) 分段起始位置,默认 0\n :param limit: (optional) 数据上限多少行,默认 30"
39
false
xiyouMc/ncmbot
user_follows
35,435
LDU_FT/floydhub/floyd-cli/cli
LDU_FT
[ "<BEGIN>\n## `init`", "Initialize new project at the current path.", " After this you can run other FloydHub commands like status and run.\n<END>", "<BEGIN>\n## `status`", "View status of all jobs in a project.", " The command also accepts a specific job name.\n<END>", "<BEGIN>\n## `print_experime...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Floyd CLI interacts with FloydHub server and executes your commands. More help is available under each command listed below.
"Floyd CLI interacts with FloydHub server and executes your commands.\n More help is available under each command listed below."
84
false
floydhub/floyd-cli
cli
35,436
LDU_FT/samfoo/vt102/_text_attr
LDU_FT
[ "<BEGIN>\n## `_escape_sequence`", "Handle characters seen when in an escape sequence. Most non-vt52\n commands start with a left-bracket after the escape and then a \n stream of parameters and a command.\n<END>", "<BEGIN>\n## `_end_escape_sequence`", "Handle the end of an escape sequence. The fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _text_attr API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _text_attr API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Given a text attribute, set the current cursor appropriately.
"Given a text attribute, set the current cursor appropriately."
55
false
samfoo/vt102
_text_attr
35,437
LDU_FT/CZ-NIC/python-rt/search
LDU_FT
[ "<BEGIN>\n## `__request`", "General request for :term:`API`.", " :keyword selector: End part of URL which completes self.url parameter\n set during class initialization.\n E.g.: ``ticket/123456/show``\n :keyword post_data: Dictionary with POST me...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Search arbitrary needles in given fields and queue. Example:: >>> tracker = Rt('http://tracker.example.com/REST/1.0/', 'rt-username', 'top-secret') >>> tracker.login() >>> tickets = tracker.search(CF_Domain='example.com', Subject__like='warning') >>> tickets = t...
"Search arbitrary needles in given fields and queue.\n\n Example::\n\n >>> tracker = Rt('http://tracker.example.com/REST/1.0/', 'rt-username', 'top-secret')\n >>> tracker.login()\n >>> tickets = tracker.search(CF_Domain='example.com', Subject__like='warning')\n >>> tic...
143
false
CZ-NIC/python-rt
search
35,438
LDU_FT/polysquare/cmake-ast/_get_string_type_from_token
LDU_FT
[ "<BEGIN>\n## `run`", "Set up language runtimes and pass control to python project script.\n<END>", "<BEGIN>\n## `_node`", "Return an _AbstractSyntaxTreeNode with some elements defaulted.\n<END>", "<BEGIN>\n## `_recurse`", "Recursive print worker - recurses the AST and prints each node.\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_string_type_from_token API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_string_type_from_token API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Return 'Single' or 'Double' depending on what kind of string this is.
"Return 'Single' or 'Double' depending on what kind of string this is."
66
false
polysquare/cmake-ast
_get_string_type_from_token
35,439
LDU_FT/observermedia/django-wordpress-rest/load_tags
LDU_FT
[ "<BEGIN>\n## `load_post_webhook`", "Webhook to insert/update a WordPress.com post on the local Django site.\n Call this after making changes to the post in WP Admin.\n The post is processed asynchronously so that a response can be returned to WordPress.com immediately.", " :param request: Should contai...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_tags API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_tags API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Load all WordPress tags from the given site. :param max_pages: kill counter to avoid infinite looping :return: None
"Load all WordPress tags from the given site.\n\n :param max_pages: kill counter to avoid infinite looping\n :return: None"
100
false
observermedia/django-wordpress-rest
load_tags
35,440
LDU_FT/elsampsa/valkka-live/read
LDU_FT
[ "<BEGIN>\n## `run`", "After the fork. Now the process starts running\n<END>", "<BEGIN>\n## `preRun_`", "Create the shared memory client immediately after fork\n<END>", "<BEGIN>\n## `run`", "After the fork. Now the process starts running\n<END>", "<BEGIN>\n## `activate_`", "Shared mem info is given. N...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Reads all devices from the database and creates filterchains TODO: we can, of course, just modify the added / removed cameras
"Reads all devices from the database and creates filterchains\n \n TODO: we can, of course, just modify the added / removed cameras"
135
false
elsampsa/valkka-live
read
35,441
LDU_FT/callowayproject/django-categories/get_relation_type
LDU_FT
[ "<BEGIN>\n## `_process_registry`", "Given a dictionary, and a registration function, process the registry\n<END>", "<BEGIN>\n## `register_model`", "Process for Django 1.7 +\n app: app name/label\n model_name: name of the model\n field_definitions: a string, tuple or list of field configur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_relation_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_relation_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Get all the items of the given relationship type related to this item.
"Get all the items of the given relationship type related to this item."
73
false
callowayproject/django-categories
get_relation_type
35,442
LDU_FT/basho/riak-python-client/stream_buckets
LDU_FT
[ "<BEGIN>\n## `mkpath`", "Constructs the path & query portion of a URI from path segments\n and a dict.\n<END>", "<BEGIN>\n## `search_index_path`", "Builds a Yokozuna search index URL.", " :param index: optional name of a yz index\n :type index: string\n :param options: optional list ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stream_buckets API. 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 stream_buckets API. 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...
Stream list of buckets through an iterator
"Stream list of buckets through an iterator"
620
false
basho/riak-python-client
stream_buckets
35,443
LDU_FT/cqparts/cqparts/map_environment
LDU_FT
[ "<BEGIN>\n## `register_exporter`", "Register an exporter to use for a :class:`Part <cqparts.Part>`,\n :class:`Assembly <cqparts.Assembly>`, or both\n (with :class:`Component <cqparts.Component>`).", " Registration is necessary to use with\n :meth:`Component.exporter() <cqparts.Component.exporter>`."...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_environment API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_environment API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Decorator to map a DisplayEnvironment for displaying components. The decorated environment will be chosen if its condition is ``True``, and its order is the smallest. :param add_to: if set to ``globals()``, display environment's constructor may reference its own type. :type add_to: :...
"Decorator to map a DisplayEnvironment for displaying components.\n The decorated environment will be chosen if its condition is ``True``, and\n its order is the smallest.\n\n :param add_to: if set to ``globals()``, display environment's constructor\n may reference its own type.\n :type ad...
377
false
cqparts/cqparts
map_environment
35,444
LDU_FT/nephila/djangocms-blog/get_months
LDU_FT
[ "<BEGIN>\n## `get_meta_attribute`", "Retrieves django-meta attributes from apphook config instance\n :param param: django-meta attribute passed as key\n<END>", "<BEGIN>\n## `make_published`", "Bulk action to mark selected posts as published. If\n the date_published field is empty the current...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_months API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_months API. 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...
Get months with aggregate count (how much posts is in the month). Results are ordered by date.
"Get months with aggregate count (how much posts is in the month).\n Results are ordered by date."
44
false
nephila/djangocms-blog
get_months
35,445
LDU_FT/kennethreitz/maya/_seconds_or_timedelta
LDU_FT
[ "<BEGIN>\n## `comparable`", "Class decorator that ensures support for the special C{__cmp__} method.\n On Python 2 this does nothing.\n On Python 3, C{__eq__}, C{__lt__}, etc. methods are added to the class,\n relying on C{__cmp__} to implement their comparisons.\n<END>", "<BEGIN>\n## `validate_class_t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _seconds_or_timedelta 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 _seconds_or_timedelta 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 `datetime.timedelta` object for the passed duration. Keyword Arguments: duration -- `datetime.timedelta` object or seconds in `int` format.
"Returns `datetime.timedelta` object for the passed duration.\n\n Keyword Arguments:\n duration -- `datetime.timedelta` object or seconds in `int` format."
47
false
kennethreitz/maya
_seconds_or_timedelta
35,446
LDU_FT/konstantinstadler/pymrio/parse_exio12_ext
LDU_FT
[ "<BEGIN>\n## `load_all`", "Loads a full IO system with all extension in path", " Parameters\n ----------\n path : pathlib.Path or string\n Path or path with para file name for the data to load.\n This must either point to the directory containing the uncompressed\n data or the loca...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_exio12_ext API. 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 parse_exio12_ext API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Parse an EXIOBASE version 1 or 2 like extension file into pymrio.Extension EXIOBASE like extensions files are assumed to have two rows which are used as columns multiindex (region and sector) and up to three columns for the row index (see Parameters). For EXIOBASE 3 - extension can be loaded directly ...
"Parse an EXIOBASE version 1 or 2 like extension file into pymrio.Extension\n\n EXIOBASE like extensions files are assumed to have two\n rows which are used as columns multiindex (region and sector)\n and up to three columns for the row index (see Parameters).\n\n For EXIOBASE 3 - extension can be loaded di...
433
false
konstantinstadler/pymrio
parse_exio12_ext
35,447
LDU_FT/Stewori/pytypes/auto_override_class
LDU_FT
[ "<BEGIN>\n## `_outter_split`", "Splits only at delims that are at outter-most level regarding\n openers/closers pairs.\n Unchecked requirements:\n Only supports length-1 delim, openers and closers.\n delim must not be member of openers or closers.\n len(openers) == len(closers) or closers == None\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auto_override_class 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 auto_override_class 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...
Works like auto_override, but is only applicable to classes.
"Works like auto_override, but is only applicable to classes."
187
false
Stewori/pytypes
auto_override_class
35,448
LDU_FT/sebdah/dynamic-dynamodb/is_consumed_over_proposed
LDU_FT
[ "<BEGIN>\n## `get_consumed_read_units_percent`", "Returns the number of consumed read units in percent", " :type table_name: str\n :param table_name: Name of the DynamoDB table\n :type lookback_window_start: int\n :param lookback_window_start: Relative start time for the CloudWatch metric\n :type...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_consumed_over_proposed API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_consumed_over_proposed API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Determines if the currently consumed capacity is over the proposed capacity for this table :type current_provisioning: int :param current_provisioning: The current provisioning :type proposed_provisioning: int :param proposed_provisioning: New provisioning :type consumed_units_percent: float ...
"Determines if the currently consumed capacity is over the proposed capacity\n for this table\n\n :type current_provisioning: int\n :param current_provisioning: The current provisioning\n :type proposed_provisioning: int\n :param proposed_provisioning: New provisioning\n :type consumed_units_percent: ...
191
false
sebdah/dynamic-dynamodb
is_consumed_over_proposed
35,449
LDU_FT/infothrill/python-dyndnsc/find_class
LDU_FT
[ "<BEGIN>\n## `getDynDnsClientForConfig`", "Instantiate and return a complete and working dyndns client.", " :param config: a dictionary with configuration keys\n :param plugins: an object that implements PluginManager\n<END>", "<BEGIN>\n## `sync`", "Synchronize the registered IP with the detected IP (...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_class API. 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 find_class API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Return class in ``classes`` identified by configuration key ``name``.
"Return class in ``classes`` identified by configuration key ``name``."
127
false
infothrill/python-dyndnsc
find_class
35,450
LDU_FT/ajdavis/mongo-mockup-db/append_responder
LDU_FT
[ "<BEGIN>\n## `go`", "Launch an operation on a thread and get a handle to its future result.", " >>> from time import sleep\n >>> def print_sleep_print(duration):\n ... sleep(duration)\n ... print('hello from background thread')\n ... sleep(duration)\n ... print('goodbye from ba...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append_responder API. 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 append_responder API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Add a responder of last resort. Like `.autoresponds`, but instead of adding a responder to the top of the stack, add it to the bottom. This responder will be called if no others match.
"Add a responder of last resort.\n\n Like `.autoresponds`, but instead of adding a responder to the top of\n the stack, add it to the bottom. This responder will be called if no\n others match."
129
false
ajdavis/mongo-mockup-db
append_responder
35,451
LDU_FT/crypto101/arthur/tee
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 tee API. 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 tee API. 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...
Produces a new deferred and returns it. If this C{MultiDeferred} has not been fired (callbacked or errbacked) yet, the deferred will not have been fired yet either, but will be fired when and if this C{MultiDeferred} gets fired in the future. If this C{MultiDeferred} has been fired, retu...
"Produces a new deferred and returns it. If this C{MultiDeferred}\n has not been fired (callbacked or errbacked) yet, the deferred\n will not have been fired yet either, but will be fired when\n and if this C{MultiDeferred} gets fired in the future. If this\n C{MultiDeferred} has been fired,...
40
false
crypto101/arthur
tee
35,452
LDU_FT/thingful/hypercat-py/addItem
LDU_FT
[ "<BEGIN>\n## `_values`", "Searches a set <metadata> to find all relations <rel>\n Returns a list of the values of those relations\n (A list, because a rel can occur more than once)\n<END>", "<BEGIN>\n## `loads`", "Takes a string and converts it into an internal hypercat object, with some checking\n<END>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addItem API. 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 addItem API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Add a new item (a catalogue or resource) as a child of this catalogue.
"Add a new item (a catalogue or resource) as a child of this catalogue."
14
false
thingful/hypercat-py
addItem
35,453
LDU_FT/shimpe/pyvectortween/make_frame
LDU_FT
[ "<BEGIN>\n## `make_frame`", ":param frame: current frame \n :param birthframe: frame where this animation starts returning something other than None\n :param startframe: frame where animation starts to evolve\n :param stopframe: frame where animation is completed\n :param deathframe: f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_frame API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_frame API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
animation happens between startframe and stopframe the value is None before aliveframe, and after deathframe * if aliveframe is not specified it defaults to startframe * if deathframe is not specified it defaults to stopframe initial value is held from aliveframe to startframe ...
"animation happens between startframe and stopframe\n the value is None before aliveframe, and after deathframe\n * if aliveframe is not specified it defaults to startframe\n * if deathframe is not specified it defaults to stopframe\n\n initial value is held from aliveframe to startframe\n...
37
false
shimpe/pyvectortween
make_frame
35,454
LDU_FT/thombashi/pytablewriter/create_from_file_extension
LDU_FT
[ "<BEGIN>\n## `write_table`", "|write_table| with\n `Labeled Tab-separated Values (LTSV) <http://ltsv.org/>`__ format.\n Invalid characters in labels/data are removed.", " :raises pytablewriter.EmptyHeaderError: If the |headers| is empty.\n :Example:\n :ref:`example-ltsv-ta...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_from_file_extension 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 create_from_file_extension API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Create a table writer class instance from a file extension. Supported file extensions are as follows: ================== =================================== Extension Writer Class ================== =================================== ``".csv"`` ...
"Create a table writer class instance from a file extension.\n Supported file extensions are as follows:\n\n ================== ===================================\n Extension Writer Class\n ================== ===================================\n ``\".csv\...
97
false
thombashi/pytablewriter
create_from_file_extension
35,455
LDU_FT/sepandhaghighi/pycm/MCC_calc
LDU_FT
[ "<BEGIN>\n## `print_report`", "Print Compare report.", " :return: None\n<END>", "<BEGIN>\n## `save_report`", "Save Compare report in .comp (flat file format).", " :param name: filename\n :type name : str\n :param address: flag for address return\n :type address : bool\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the MCC_calc API. 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 MCC_calc API. 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...
Calculate MCC (Matthews correlation coefficient). :param TP: true positive :type TP : int :param TN: true negative :type TN : int :param FP: false positive :type FP : int :param FN: false negative :type FN : int :return: MCC as float
"Calculate MCC (Matthews correlation coefficient).\n\n :param TP: true positive\n :type TP : int\n :param TN: true negative\n :type TN : int\n :param FP: false positive\n :type FP : int\n :param FN: false negative\n :type FN : int\n :return: MCC as float"
259
false
sepandhaghighi/pycm
MCC_calc
35,456
LDU_FT/RedHatQE/python-stitches/add_instance
LDU_FT
[ "<BEGIN>\n## `exec_command`", "Execute a command in the connection", " @param command: command to execute\n @type command: str", " @param bufsize: buffer size\n @type bufsize: int", " @param get_pty: get pty\n @type get_pty: bool", " @return: the stdin, std...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_instance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_instance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Add instance to the setup @param role: instance's role @type role: str @param instance: host parameters we would like to establish connection to @type instance: dict @param username: user name for creating ssh connection @type username: str ...
"Add instance to the setup\n\n @param role: instance's role\n @type role: str\n\n @param instance: host parameters we would like to establish connection\n to\n @type instance: dict\n\n @param username: user name for creating ssh connection\n @type userna...
64
false
RedHatQE/python-stitches
add_instance
35,457
LDU_FT/fvdsn/py-xml-escpos/enforce_type
LDU_FT
[ "<BEGIN>\n## `get`", "what's the value of a style at the current stack level\n<END>", "<BEGIN>\n## `enforce_type`", "converts a value to the attribute's type\n<END>", "<BEGIN>\n## `push`", "push a new level on the stack with a style dictionnary containing style:value pairs\n<END>", "<BEGIN>\n## `set`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enforce_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enforce_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
converts a value to the attribute's type
"converts a value to the attribute's type"
30
false
fvdsn/py-xml-escpos
enforce_type
35,458
LDU_FT/ninuxorg/nodeshot/private_messenger
LDU_FT
[ "<BEGIN>\n## `get_formset`", "Load Synchronizer schema to display specific fields in admin\n<END>", "<BEGIN>\n## `public_broadcaster`", "Thread which runs in parallel and constantly checks for new messages\n in the public pipe and broadcasts them publicly to all connected clients.\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the private_messenger API. 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 private_messenger API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Thread which runs in parallel and constantly checks for new messages in the private pipe and sends them to the specific client. If client is not connected the message is discarded.
"Thread which runs in parallel and constantly checks for new messages\n in the private pipe and sends them to the specific client.\n If client is not connected the message is discarded."
261
false
ninuxorg/nodeshot
private_messenger
35,459
LDU_FT/johnbywater/eventsourcing/receive_promise
LDU_FT
[ "<BEGIN>\n## `register_new_suffix_tree`", "Factory method, returns new suffix tree object.\n<END>", "<BEGIN>\n## `find_substring`", "Returns the index if substring in tree, otherwise -1.\n<END>", "<BEGIN>\n## `_canonize_suffix`", "This canonizes the suffix, walking along its suffix string until it\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receive_promise API. 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 receive_promise API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Returns an Accept messages if a quorum of Promise messages is achieved
"Returns an Accept messages if a quorum of Promise messages is achieved"
161
false
johnbywater/eventsourcing
receive_promise
35,460
LDU_FT/mishbahr/django-connected/get_error_redirect
LDU_FT
[ "<BEGIN>\n## `get_request_token`", "Fetch the OAuth request token. Only required for OAuth 1.0.\n<END>", "<BEGIN>\n## `get_redirect_args`", "Get request parameters for redirect url.\n<END>", "<BEGIN>\n## `parse_raw_token`", "Parse token and secret from raw token response.\n<END>", "<BEGIN>\n## `get_acce...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_error_redirect API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_error_redirect API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Return url to redirect on login failure.
"Return url to redirect on login failure."
24
false
mishbahr/django-connected
get_error_redirect
35,461
LDU_FT/isogeo/isogeo-api-py-minsdk/search
LDU_FT
[ "<BEGIN>\n## `set_base_url`", "Set Isogeo base URLs according to platform.", " :param str platform: platform to use. Options:", " * prod [DEFAULT]\n * qa\n * int\n<END>", "<BEGIN>\n## `convert_uuid`", "Convert a metadata UUID to its URI equivalent. And conversely.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Search within the resources shared to the application. It's the main method to use. :param str token: API auth token - DEPRECATED: token is now automatically included :param str query: search terms and semantic filters. Equivalent of **q** parameter in Isogeo API. It could be a simple...
"Search within the resources shared to the application.\n\n It's the main method to use.\n\n :param str token: API auth token - DEPRECATED: token is now automatically included\n :param str query: search terms and semantic filters. Equivalent of\n **q** parameter in Isogeo API. It could be a...
154
false
isogeo/isogeo-api-py-minsdk
search
35,462
LDU_FT/tcalmant/ipopo/create
LDU_FT
[ "<BEGIN>\n## `__conn_listener`", "Connection event listener", " :param state: The new connection state\n<END>", "<BEGIN>\n## `__path`", "Adds the prefix to the given path", " :param path: Z-Path\n :return: Prefixed Z-Path\n<END>", "<BEGIN>\n## `create`", "Creates a ZooKeeper node"...
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 ...
Creates a ZooKeeper node :param path: Z-Path :param data: Node Content :param ephemeral: Ephemeral flag :param sequence: Sequential flag
"Creates a ZooKeeper node\n\n :param path: Z-Path\n :param data: Node Content\n :param ephemeral: Ephemeral flag\n :param sequence: Sequential flag"
1,396
true
tcalmant/ipopo
create
35,463
LDU_FT/IS-ENES-Data/esgf-pid/add_file
LDU_FT
[ "<BEGIN>\n## `logtrace`", "If esgfpid.defaults.LOG_TRACE_TO_DEBUG, messages are treated\n like debug messages (with an added [trace]).\n Otherwise, they are ignored.\n<END>", "<BEGIN>\n## `logdebug`", "Logs messages as DEBUG,\n unless show=True and esgfpid.defaults.LOG_SHOW_TO_INFO=True,\n (then i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Adds a file's information to the set of files to be published in this dataset. :param file_name: Mandatory. The file name (string). This information will simply be included in the PID record, but not used for anything. :param file_handle: Mandatory. The handle (PID) of ...
"Adds a file's information to the set of files to be\n published in this dataset.\n\n :param file_name: Mandatory. The file name (string).\n This information will simply be included in the\n PID record, but not used for anything.\n\n :param file_handle: Mandatory. The handle (...
67
false
IS-ENES-Data/esgf-pid
add_file
35,464
LDU_FT/aio-libs/aiohttp_admin/generate_data_for_create_page
LDU_FT
[ "<BEGIN>\n## `index_page`", "Return index page with initial state for admin\n<END>", "<BEGIN>\n## `json_datetime_serial`", "JSON serializer for objects not serializable by default json code\n<END>", "<BEGIN>\n## `validate_query_structure`", "Validate query arguments in list request.", " :param query:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_data_for_create_page API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_data_for_create_page API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Generate a custom representation of table's fields in dictionary type if exist create form else use default representation. :return: dict
"Generate a custom representation of table's fields in dictionary type\n if exist create form else use default representation.\n\n :return: dict"
29
false
aio-libs/aiohttp_admin
generate_data_for_create_page
35,465
LDU_FT/sqlboy/fileseq/split
LDU_FT
[ "<BEGIN>\n## `xfrange`", "Returns a generator that yields the frames from start to stop, inclusive.\n In other words it adds or subtracts a frame, as necessary, to return the\n stop value as well, if the stepped range would touch that value.", " Args:\n start (int):\n stop (int):\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Split the :class:`FileSequence` into contiguous pieces and return them as a list of :class:`FileSequence` instances. Returns: list[:class:`FileSequence`]:
"Split the :class:`FileSequence` into contiguous pieces and return them\n as a list of :class:`FileSequence` instances.\n\n Returns:\n list[:class:`FileSequence`]:"
146
false
sqlboy/fileseq
split
35,466
LDU_FT/jazzband/django-model-utils/join
LDU_FT
[ "<BEGIN>\n## `_get_subclasses_recurse`", "Given a Model class, find all related objects, exploring children\n recursively, returning a `list` of strings representing the\n relations for select_related\n<END>", "<BEGIN>\n## `_get_ancestors_path`", "Serves as an opposite to _get_subclasses_recurse...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the join API. 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 join API. 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...
Join one queryset together with another using a temporary table. If no queryset is used, it will use the current queryset and join that to itself. `Join` either uses the current queryset and effectively does a self-join to create a new limited queryset OR it uses a querset given by the ...
"Join one queryset together with another using a temporary table. If\n no queryset is used, it will use the current queryset and join that\n to itself.\n\n `Join` either uses the current queryset and effectively does a self-join to\n create a new limited queryset OR it uses a querset given b...
30
false
jazzband/django-model-utils
join
35,467
LDU_FT/barrust/mediawiki/_get_site_info
LDU_FT
[ "<BEGIN>\n## `timeout`", "Set request timeout in seconds (or fractions of a second)\n<END>", "<BEGIN>\n## `language`", "Set the language to use; attempts to change the API URL\n<END>", "<BEGIN>\n## `login`", "Login as specified user", " Args:\n username (str): The username to l...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_site_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 ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_site_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 ex...
Parse out the Wikimedia site information including API Version and Extensions
"Parse out the Wikimedia site information including\n API Version and Extensions"
107
false
barrust/mediawiki
_get_site_info
35,468
LDU_FT/d0c-s4vage/pfp/get_strategy
LDU_FT
[ "<BEGIN>\n## `instantiate`", "Create a ParamList instance for actual interpretation", " :args: TODO\n :returns: A ParamList object\n<END>", "<BEGIN>\n## `int3`", "Define the ``Int3()`` function in the interpreter. Calling\n ``Int3()`` will drop the user into an interactive debugger.\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_strategy API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_strategy API. 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...
Return the strategy identified by its name. If ``name_or_class`` is a class, it will be simply returned.
"Return the strategy identified by its name. If ``name_or_class`` is a class,\n it will be simply returned."
383
false
d0c-s4vage/pfp
get_strategy
35,469
LDU_FT/dlintott/gns3-converter/generate_nodes
LDU_FT
[ "<BEGIN>\n## `setup_argparse`", "Setup the argparse argument parser", " :return: instance of argparse\n :rtype: ArgumentParser\n<END>", "<BEGIN>\n## `do_conversion`", "Convert the topology", " :param dict topology_def: Dict containing topology file and snapshot bool.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_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 ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_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 ex...
Generate a list of nodes for the new topology :param dict topology: processed topology from :py:meth:`process_topology` :return: a list of dicts on nodes :rtype: list
"Generate a list of nodes for the new topology\n\n :param dict topology: processed topology from\n :py:meth:`process_topology`\n :return: a list of dicts on nodes\n :rtype: list"
140
false
dlintott/gns3-converter
generate_nodes
35,470
LDU_FT/ARMmbed/autoversion/get_all_triggers
LDU_FT
[ "<BEGIN>\n## `get_current_semver`", "Given a dictionary of all version data available, determine the current version\n<END>", "<BEGIN>\n## `make_new_semver`", "Defines how to increment semver based on which significant figure is triggered\n<END>", "<BEGIN>\n## `main`", "Tags the current repository", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_triggers API. 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_all_triggers API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Aggregated set of significant figures to bump
"Aggregated set of significant figures to bump"
37
false
ARMmbed/autoversion
get_all_triggers
35,471
LDU_FT/SuLab/WikidataIntegrator/set_label
LDU_FT
[ "<BEGIN>\n## `on_exception`", "Returns decorator for backoff and retry triggered by exception.", " Args:\n wait_gen: A generator yielding successive wait times in\n seconds.\n exception: An exception type (or tuple of types) which triggers\n backoff.\n max_tries: Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_label API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_label API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Set the label for a WD item in a certain language :param label: The description of the item in a certain language :type label: str :param lang: The language a label should be set for. :type lang: str :return: None
"Set the label for a WD item in a certain language\n :param label: The description of the item in a certain language\n :type label: str\n :param lang: The language a label should be set for.\n :type lang: str\n :return: None"
114
false
SuLab/WikidataIntegrator
set_label
35,472