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/Rambatino/CHAID/chisquare
LDU_FT
[ "<BEGIN>\n## `chisquare`", "Calculates the chisquare for a matrix of ind_v x dep_v\n for the unweighted and SPSS weighted case\n<END>", "<BEGIN>\n## `best_split`", "determine which splitting function to apply\n<END>", "<BEGIN>\n## `best_cat_heuristic_split`", "determine best categorical variable split ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chisquare API. 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 chisquare API. 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...
Calculates the chisquare for a matrix of ind_v x dep_v for the unweighted and SPSS weighted case
"Calculates the chisquare for a matrix of ind_v x dep_v\n for the unweighted and SPSS weighted case"
34
false
Rambatino/CHAID
chisquare
143,073
LDU_FT/DreamLab/VmShepherd/get_vm_metadata
LDU_FT
[ "<BEGIN>\n## `initialize_openstack`", "Initialize and refresh openstack connection\n<END>", "<BEGIN>\n## `initialize`", "Initialize static data like images and flavores and set it as object property\n<END>", "<BEGIN>\n## `create_vm`", "Create VM\n :arg preset_name: string\n :arg image: str...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_vm_metadata API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_vm_metadata API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Get vm metadata :arg string preset: preset name :arg int vm_id: Virtual Machine id :return: Metadata for Virtual Machine :rtype: dict Sample response: ``{ 'time_shutdown' : "12312312321' }``
"Get vm metadata\n\n :arg string preset: preset name\n :arg int vm_id: Virtual Machine id\n :return: Metadata for Virtual Machine\n :rtype: dict\n\n Sample response:\n ``{ 'time_shutdown' : \"12312312321' }``"
47
false
DreamLab/VmShepherd
get_vm_metadata
143,074
LDU_FT/mbarakaja/braulio/tag
LDU_FT
[ "<BEGIN>\n## `commit_analyzer`", "Analyzes a list of :class:`~braulio.git.Commit` objects searching for\n messages that match a given message convention and extract metadata from\n them.", " A message convention is determined by ``label_pattern``, which is not a\n regular expression pattern. Instead...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tag API. 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 tag API. 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...
Create and list tag objects running git-tag command
"Create and list tag objects running git-tag command"
35
false
mbarakaja/braulio
tag
143,075
LDU_FT/vertical-knowledge/ripozo-sqlalchemy/_serialize_model_helper
LDU_FT
[ "<BEGIN>\n## `profileit`", "Decorator straight up stolen from stackoverflow\n<END>", "<BEGIN>\n## `_get_fields_for_model`", "Gets all of the fields on the model.", " :param DeclarativeModel model: A SQLAlchemy ORM Model\n :return: A tuple of the fields on the Model corresponding\n to the column...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _serialize_model_helper 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 _serialize_model_helper API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
A recursive function for serializing a model into a json ready format.
"A recursive function for serializing a model\n into a json ready format."
49
false
vertical-knowledge/ripozo-sqlalchemy
_serialize_model_helper
143,076
LDU_FT/tensorflow/tensor2tensor/histogram
LDU_FT
[ "<BEGIN>\n## `paracrawl_v3_pairs`", "Generates raw (English, other) pairs from a ParaCrawl V3.0 data file.", " Args:\n paracrawl_file: A ParaCrawl V3.0 en-.. data file.\n Yields:\n Pairs of (sentence_en, sentence_xx), as Unicode strings.\n Raises:\n StopIteration: If the file ends while this method ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the histogram API. 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 histogram API. 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...
Saves histogram of values. Args: tag: str: label for this data values: ndarray: will be flattened by this routine bins: number of bins in histogram, or array of bins for onp.histogram step: int: training step
"Saves histogram of values.\n\n Args:\n tag: str: label for this data\n values: ndarray: will be flattened by this routine\n bins: number of bins in histogram, or array of bins for onp.histogram\n step: int: training step"
4,769
true
tensorflow/tensor2tensor
histogram
143,077
LDU_FT/twisted/mantissa/run
LDU_FT
[ "<BEGIN>\n## `createUser`", "Create a new, blank user account with the given name and domain and, if\n specified, with the given password.", " @type localpart: C{unicode}\n @param localpart: The local portion of the username. ie, the\n C{'alice'} in C{'alice@example.com'}.", " ...
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...
Attmept to deliver the first outgoing L{QueuedMessage}; return a time to reschedule if there are still more retries or outgoing messages to send.
"Attmept to deliver the first outgoing L{QueuedMessage}; return a time\n to reschedule if there are still more retries or outgoing messages to\n send."
1,120
true
twisted/mantissa
run
143,078
LDU_FT/sirrice/scorpionsql/expr_to_str
LDU_FT
[ "<BEGIN>\n## `expr_to_str`", "construct SQL string from expression node\n<END>", "<BEGIN>\n## `get_vars`", "extract variables from expression node\n defined by tuple-pair: (_var_, [variable name])\n<END>", "<BEGIN>\n## `recover`", "recompute the actual value, then compare it against the truth\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expr_to_str API. 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 expr_to_str API. 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...
construct SQL string from expression node
"construct SQL string from expression node"
13
false
sirrice/scorpionsql
expr_to_str
143,079
LDU_FT/blazelibs/blazeutils/deprecate
LDU_FT
[ "<BEGIN>\n## `workbook_to_reader`", "convert xlwt Workbook instance to an xlrd instance for reading\n<END>", "<BEGIN>\n## `xlsx_to_strio`", "convert xlwt Workbook instance to a BytesIO instance\n<END>", "<BEGIN>\n## `xlsx_to_reader`", "convert xlwt Workbook instance to an xlrd instance for reading\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deprecate API. 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 deprecate API. 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...
Decorate a function to emit a deprecation warning with the given message.
"Decorate a function to emit a deprecation warning with the given\n message."
135
false
blazelibs/blazeutils
deprecate
143,080
LDU_FT/mongodb/mongo-python-driver/return_socket
LDU_FT
[ "<BEGIN>\n## `_arguments_repr`", "Representation of the arguments used to create this object.\n<END>", "<BEGIN>\n## `with_options`", "Make a copy of this CodecOptions, overriding some options::", " >>> from bson.codec_options import DEFAULT_CODEC_OPTIONS\n >>> DEFAULT_CODEC_OPTIONS.tz_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the return_socket API. 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 return_socket API. 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 the socket to the pool, or if it's closed discard it.
"Return the socket to the pool, or if it's closed discard it."
908
false
mongodb/mongo-python-driver
return_socket
143,081
LDU_FT/aburrell/apexpy/checklat
LDU_FT
[ "<BEGIN>\n## `checklat`", "Makes sure the latitude is inside [-90, 90], clipping close values\n (tolerance 1e-4).", " Parameters\n ==========\n lat : array_like\n latitude\n name : str, optional\n parameter name to use in the exception message", " Returns\n =======\n lat ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the checklat API. 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 checklat API. 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...
Makes sure the latitude is inside [-90, 90], clipping close values (tolerance 1e-4). Parameters ========== lat : array_like latitude name : str, optional parameter name to use in the exception message Returns ======= lat : ndarray or float Same as input where va...
"Makes sure the latitude is inside [-90, 90], clipping close values\n (tolerance 1e-4).\n\n Parameters\n ==========\n lat : array_like\n latitude\n name : str, optional\n parameter name to use in the exception message\n\n Returns\n =======\n lat : ndarray or float\n Same as ...
120
false
aburrell/apexpy
checklat
143,082
LDU_FT/mk-fg/txboxdotnet/put
LDU_FT
[ "<BEGIN>\n## `listdir`", "Get Box object, representing list of objects in a folder.\n<END>", "<BEGIN>\n## `get`", "Download and return an file (object) or a specified byte_range from it.\n\t\t\tVersion keyword is API-specific, see \"etag\" file info key:\n\t\t\t\thttp://developers.box.com/docs/#files-file-obj...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API. 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 put API. 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...
Upload a file, returning error if a file with the same "name" attribute exists, unless valid file_id (and optionally file_etag, to avoid race conditions, raises error 412) is provided. folder_id is the id of a folder to put file into, but only used if file_id keyword is not passed.
"Upload a file, returning error if a file with the same \"name\" attribute exists,\n\t\t\t\tunless valid file_id (and optionally file_etag,\n\t\t\t\tto avoid race conditions, raises error 412) is provided.\n\t\t\tfolder_id is the id of a folder to put file into,\n\t\t\t\tbut only used if file_id keyword is not passed."
18
false
mk-fg/txboxdotnet
put
143,083
LDU_FT/joke2k/django-faker/optional_assignment_tag
LDU_FT
[ "<BEGIN>\n## `optional_assignment_tag`", "https://groups.google.com/forum/?fromgroups=#!topic/django-developers/E0XWFrkRMGc\n new template tags type\n<END>", "<BEGIN>\n## `do_fake`", "call a faker format\n uses:", " {% fake \"formatterName\" *args **kwargs as myvar %}\n {{ my...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the optional_assignment_tag 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 optional_assignment_tag API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
https://groups.google.com/forum/?fromgroups=#!topic/django-developers/E0XWFrkRMGc new template tags type
"https://groups.google.com/forum/?fromgroups=#!topic/django-developers/E0XWFrkRMGc\n new template tags type"
20
false
joke2k/django-faker
optional_assignment_tag
143,084
LDU_FT/hollenstein/maspy/_reducedProtToPeps
LDU_FT
[ "<BEGIN>\n## `_getArrays`", "Return arrays with equal size of item attributes from a list of sorted\n \"items\" for fast and convenient data processing.", " :param attr: list of item attributes that should be added to the returned\n array.\n :param defaultValue: if an item is missing an attribut...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _reducedProtToPeps 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 _reducedProtToPeps API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Returns a new, reduced "protToPeps" dictionary that does not contain entries present in "proteins". :param protToPeps: dict, for each protein (=key) contains a set of associated peptides (=value). For Example {protein: {peptide, ...}, ...} :param proteins: a list of proteinSet :returns: dict, p...
"Returns a new, reduced \"protToPeps\" dictionary that does not contain\n entries present in \"proteins\".\n\n :param protToPeps: dict, for each protein (=key) contains a set of\n associated peptides (=value). For Example {protein: {peptide, ...}, ...}\n :param proteins: a list of proteinSet\n :retur...
742
false
hollenstein/maspy
_reducedProtToPeps
143,085
LDU_FT/stevearc/dynamo3/serialize
LDU_FT
[ "<BEGIN>\n## `build_kwargs`", "Construct the kwargs to pass to batch_get_item\n<END>", "<BEGIN>\n## `set_request_args`", "Set the Limit parameter into the request args\n<END>", "<BEGIN>\n## `complete`", "Return True if the limit has been reached\n<END>", "<BEGIN>\n## `accept`", "Apply the filter and i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize API. 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 serialize API. 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...
Get the serialized Dynamo format for the update
"Get the serialized Dynamo format for the update"
164
false
stevearc/dynamo3
serialize
143,086
LDU_FT/ntoll/uflash/hexlify
LDU_FT
[ "<BEGIN>\n## `hexlify`", "Takes the byte content of a Python script and returns a hex encoded\n version of it.", " Based on the hexlify script in the microbit-micropython repository.\n<END>", "<BEGIN>\n## `unhexlify`", "Takes a hexlified script and turns it back into a string of Python code.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hexlify API. 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 hexlify API. 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...
Takes the byte content of a Python script and returns a hex encoded version of it. Based on the hexlify script in the microbit-micropython repository.
"Takes the byte content of a Python script and returns a hex encoded\n version of it.\n\n Based on the hexlify script in the microbit-micropython repository."
37
false
ntoll/uflash
hexlify
143,087
LDU_FT/rigetti/pyquil/merge_programs
LDU_FT
[ "<BEGIN>\n## `to_latex`", "Translates a given pyquil Program to a TikZ picture in a Latex document.", " :param Program circuit: The circuit to be drawn, represented as a pyquil program.\n :param dict settings: An optional dictionary with settings for drawing the circuit. See `get_default_settings`\n i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_programs API. 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 merge_programs API. 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...
Merges a list of pyQuil programs into a single one by appending them in sequence. If multiple programs in the list contain the same gate and/or noisy gate definition with identical name, this definition will only be applied once. If different definitions with the same name appear multiple times in the progr...
"Merges a list of pyQuil programs into a single one by appending them in sequence.\n If multiple programs in the list contain the same gate and/or noisy gate definition\n with identical name, this definition will only be applied once. If different definitions\n with the same name appear multiple times in the p...
1,152
true
rigetti/pyquil
merge_programs
143,088
LDU_FT/openai/universe/setKey
LDU_FT
[ "<BEGIN>\n## `send_KeyEvent`", "For most ordinary keys, the \"keysym\" is the same as the\n corresponding ASCII value. Other common keys are shown in the\n KEY_ constants.\n<END>", "<BEGIN>\n## `send_PointerEvent`", "Indicates either pointer movement or a pointer button press or\n rel...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setKey API. 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 setKey API. 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 ...
Will set the crypting key for this object.
"Will set the crypting key for this object."
126
false
openai/universe
setKey
143,089
LDU_FT/Frzk/Ellis/run
LDU_FT
[ "<BEGIN>\n## `_prepare`", "Updates the function arguments and creates a :class:`asyncio.Task`\n from the Action.", " *kwargs* is an optional dictionnary of additional arguments to pass to\n the Action function.", " .. warning::\n *kwargs* will overwrite existing keys in ...
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...
Wraps the action in a :class:`asyncio.Task` and schedules its execution. *kwargs* is an (optional) dictionnary of additional arguments to pass to the Action function.
"Wraps the action in a :class:`asyncio.Task` and schedules its\n execution.\n\n *kwargs* is an (optional) dictionnary of additional arguments to pass\n to the Action function."
106
false
Frzk/Ellis
run
143,090
LDU_FT/DMSC-Instrument-Data/lewis/from_bytearray
LDU_FT
[ "<BEGIN>\n## `get_submodules`", "This function imports all sub-modules of the supplied module and returns a dictionary\n with module names as keys and the sub-module objects as values. If the supplied parameter\n is not a module object, a RuntimeError is raised.", " :param module: Module object from wh...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_bytearray API. 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 from_bytearray API. 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...
Constructs this frame from input data stream, consuming as many bytes as necessary from the beginning of the stream. If stream does not contain enough data to construct a complete modbus frame, an EOFError is raised and no data is consumed. :param stream: bytearray to consume data from...
"Constructs this frame from input data stream, consuming as many bytes as necessary from\n the beginning of the stream.\n\n If stream does not contain enough data to construct a complete modbus frame, an EOFError\n is raised and no data is consumed.\n\n :param stream: bytearray to consume da...
198
false
DMSC-Instrument-Data/lewis
from_bytearray
143,091
LDU_FT/ly0/baidupcsapi/download_url
LDU_FT
[ "<BEGIN>\n## `__err_handler`", "百度网盘下载错误控制\n :param act: 出错时的行为, 有 download\n :param errno: 出错时的errno,这个要配合act才有实际意义\n :param callback: 返回时的调用函数, 为空时返回None\n :param args: 给callback函数的参数tuple\n :param kwargs: 给callback函数的带名参数字典", " 在本函数调用后一定可以解决提交过来的问题, 在外部不需要重复检查是否存在原问题...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_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 extr...
返回目标文件可用的下载地址 :param remote_path: 每一项代表需要下载的文件路径 :type remote_path: str list
"返回目标文件可用的下载地址\n :param remote_path: 每一项代表需要下载的文件路径\n :type remote_path: str list"
222
false
ly0/baidupcsapi
download_url
143,092
LDU_FT/datacamp/antlr-ast/get_field_names
LDU_FT
[ "<BEGIN>\n## `simplify_tree`", "Recursively unpack single-item lists and objects where fields and labels only reference a single child", " :param tree: the tree to simplify (mutating!)\n :param unpack_lists: whether single-item lists should be replaced by that item\n :param in_list: this is used to pre...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_field_names API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_field_names API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Get fields defined in an ANTLR context for a parser rule
"Get fields defined in an ANTLR context for a parser rule"
19
false
datacamp/antlr-ast
get_field_names
143,093
LDU_FT/Microsoft/ApplicationInsights-Python/dom_processing
LDU_FT
[ "<BEGIN>\n## `track_pageview`", "Send information about the page viewed in the application (a web page for instance).", " Args:\n name (str). the name of the page that was viewed.\\n\n url (str). the URL of the page that was viewed.\\n\n duration (int). the duration of th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dom_processing API. 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 dom_processing API. 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...
The dom_processing property. Args: value (string). the property value.
"The dom_processing property.\n \n Args:\n value (string). the property value."
268
false
Microsoft/ApplicationInsights-Python
dom_processing
143,094
LDU_FT/dcwatson/bbcode/_newline_tokenize
LDU_FT
[ "<BEGIN>\n## `render_html`", "A module-level convenience method that creates a default bbcode parser,\n and renders the input string as HTML.\n<END>", "<BEGIN>\n## `add_formatter`", "Installs a render function for the specified tag name. The render function\n should have the following signature:", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _newline_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _newline_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...
Given a string that does not contain any tags, this function will return a list of NEWLINE and DATA tokens such that if you concatenate their data, you will have the original string.
"Given a string that does not contain any tags, this function will\n return a list of NEWLINE and DATA tokens such that if you concatenate\n their data, you will have the original string."
36
false
dcwatson/bbcode
_newline_tokenize
143,095
LDU_FT/adafruit/Adafruit_Python_MPR121/baseline_data
LDU_FT
[ "<BEGIN>\n## `begin`", "Initialize communication with the MPR121. ", " Can specify a custom I2C address for the device using the address \n parameter (defaults to 0x5A). Optional i2c parameter allows specifying a \n custom I2C bus source (defaults to platform's I2C bus).", " Return...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the baseline_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the baseline_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Return baseline data register value for the provided pin (0-11). Useful for debugging.
"Return baseline data register value for the provided pin (0-11).\n Useful for debugging."
14
false
adafruit/Adafruit_Python_MPR121
baseline_data
143,096
LDU_FT/undertheseanlp/underthesea/encrypt
LDU_FT
[ "<BEGIN>\n## `Text`", "provide a wrapper for python string\n map byte to str (python 3)\n all string in utf-8 encoding\n normalize string to NFC\n<END>", "<BEGIN>\n## `sent2features`", "extract features in a sentence", " :type sentence: list of token, each token is a list of tag\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encrypt API. 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 encrypt API. 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...
Encrypt password using given RSA public key and encode it with base64. The encrypted password can only be decrypted by someone with the private key (in this case, only Travis).
"Encrypt password using given RSA public key and encode it with base64.\n\n The encrypted password can only be decrypted by someone with the\n private key (in this case, only Travis)."
62
false
undertheseanlp/underthesea
encrypt
143,097
LDU_FT/tuxu/python-samplerate/set_starting_ratio
LDU_FT
[ "<BEGIN>\n## `get_input_callback`", "Return a function that produces samples of a sine.", " Parameters\n ----------\n samplerate : float\n The sample rate.\n params : dict\n Parameters for FM generation.\n num_samples : int, optional\n Number of samples to be generated on eac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_starting_ratio 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 set_starting_ratio 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...
Set the starting conversion ratio for the next `read` call.
"Set the starting conversion ratio for the next `read` call."
50
false
tuxu/python-samplerate
set_starting_ratio
143,098
LDU_FT/acutesoftware/virtual-AI-simulator/add_mountains
LDU_FT
[ "<BEGIN>\n## `calc_basics`", "calculate various aspects of the structure\n<END>", "<BEGIN>\n## `bld_rafter_deflection`", "calculate rafter deflections - see test_calc_building_design.py for \n Sample values for equations below from Structures II course\n<END>", "<BEGIN>\n## `main`", "Prototype to see h...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_mountains API. 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 add_mountains API. 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...
instead of the add_blocks function which was to produce line shaped walls for blocking path finding agents, this function creates more natural looking blocking areas like mountains
"instead of the add_blocks function which was to produce\n line shaped walls for blocking path finding agents, this\n function creates more natural looking blocking areas like\n mountains"
86
false
acutesoftware/virtual-AI-simulator
add_mountains
143,099
LDU_FT/insilichem/ommprotocol/handle_exceptions
LDU_FT
[ "<BEGIN>\n## `protocol`", "Run all the stages in protocol", " Parameters\n ----------\n handler : SystemHandler\n Container of initial conditions of simulation", " cfg : dict\n Imported YAML file.\n<END>", "<BEGIN>\n## `run`", "Launch MD simulation, which may consist of:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_exceptions API. 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 handle_exceptions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Handle Ctrl+C and accidental exceptions and attempt to save the current state of the simulation
"Handle Ctrl+C and accidental exceptions and attempt to save\n the current state of the simulation"
84
false
insilichem/ommprotocol
handle_exceptions
143,100
LDU_FT/RomelTorres/alpha_vantage/_output_format_sector
LDU_FT
[ "<BEGIN>\n## `get_currency_exchange_intraday`", "Returns the intraday exchange rate for any pair of physical\n currency (e.g., EUR) or physical currency (e.g., USD).", " Keyword Arguments:\n from_symbol: The currency you would like to get the exchange rate\n for.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _output_format_sector 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 _output_format_sector API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Decorator in charge of giving the output its right format, either json or pandas (replacing the % for usable floats, range 0-1.0) Keyword Arguments: func: The function to be decorated override: Override the internal format of the call, default None Returns: A...
"Decorator in charge of giving the output its right format, either\n json or pandas (replacing the % for usable floats, range 0-1.0)\n\n Keyword Arguments:\n func: The function to be decorated\n override: Override the internal format of the call, default None\n Returns:\n ...
46
false
RomelTorres/alpha_vantage
_output_format_sector
143,101
LDU_FT/aerogear/digger-build-cli/from_zip
LDU_FT
[ "<BEGIN>\n## `jarsign`", "Uses Jarsign to sign an apk target file using the provided keystore information.", " :param storepass(str) - keystore storepass\n :param keypass(str) - keystore keypass\n :param keystore(str) - keystore file path\n :param source(str) - apk path\n :param alias(str) - keystore alias...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_zip API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_zip API. 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...
Unzips a zipped app project file and instantiates it. :param src: zipfile path :param dest: destination folder to extract the zipfile content Returns A project instance.
"Unzips a zipped app project file and instantiates it.\n\n :param src: zipfile path\n :param dest: destination folder to extract the zipfile content\n\n Returns\n A project instance."
100
false
aerogear/digger-build-cli
from_zip
143,102
LDU_FT/tommyod/streprogen/_yield_week_day
LDU_FT
[ "<BEGIN>\n## `_set_scalers`", "Set the variables self._scalers as given by self.scalers,\n if self.scalers is None, then a default value is used.\n<END>", "<BEGIN>\n## `_validate`", "The purpose of this method is to verify that the user has set sensible\n values for the training program before r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _yield_week_day API. 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 _yield_week_day API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
A helper function to reduce the number of nested loops. Parameters ---------- enumeration Whether or not to wrap the days in enumerate(). Yields ------- tuple A tuple with (week, day_index, day) or (week, day), ...
"A helper function to reduce the number of nested loops.\n \n Parameters\n ----------\n enumeration\n Whether or not to wrap the days in enumerate().\n \n \n Yields\n -------\n tuple\n A tuple with (week, day_index, day) or (week, day)...
129
false
tommyod/streprogen
_yield_week_day
143,103
LDU_FT/Kozea/wdb/set_trace
LDU_FT
[ "<BEGIN>\n## `import_from_stdlib`", "Copied from pdbpp https://bitbucket.org/antocuni/pdb\n<END>", "<BEGIN>\n## `handle_exc`", "Return a formated exception traceback for wdb.js use\n<END>", "<BEGIN>\n## `_patch_tcpserver`", "Patch shutdown_request to open blocking interaction after the end of the\n req...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_trace API. 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_trace API. 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 trace on current line, or on given frame
"Set trace on current line, or on given frame"
45
false
Kozea/wdb
set_trace
143,104
LDU_FT/python273/telegraph/create_page
LDU_FT
[ "<BEGIN>\n## `create_account`", "Create a new Telegraph account", " :param short_name: Account name, helps users with several\n accounts remember which they are currently using.\n Displayed to the user above the \"Edit/Publish\"\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 conclusion. The extra...
Create a new Telegraph page :param title: Page title :param content: Content in nodes list format (see doc) :param html_content: Content in HTML format :param author_name: Author name, displayed below the article's title :param author_url: Profile link, opened when users cli...
"Create a new Telegraph page\n\n :param title: Page title\n\n :param content: Content in nodes list format (see doc)\n\n :param html_content: Content in HTML format\n\n :param author_name: Author name, displayed below the article's title\n\n :param author_url: Profile link, opened whe...
39
false
python273/telegraph
create_page
143,105
LDU_FT/vovanec/httputil/decompress
LDU_FT
[ "<BEGIN>\n## `_request`", "Perform asynchronous request.", " :param str url: request URL.\n :param str method: request method.\n :param dict headers: request headers.\n :param object data: JSON-encodable object.\n :param object -> object result_callback: result callback.", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decompress API. 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 decompress API. 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...
Decompress :param __generator[bytes] chunks: compressed body chunks. :param str compression: compression constant. :rtype: __generator[bytes] :return: decompressed chunks. :raise: TypeError, DecompressError
"Decompress\n\n :param __generator[bytes] chunks: compressed body chunks.\n :param str compression: compression constant.\n\n :rtype: __generator[bytes]\n :return: decompressed chunks.\n\n :raise: TypeError, DecompressError"
49
false
vovanec/httputil
decompress
143,106
LDU_FT/ejeschke/ginga/_scroll_contents
LDU_FT
[ "<BEGIN>\n## `set_figure`", "Call this with the matplotlib Figure() object.\n<END>", "<BEGIN>\n## `render_image1`", "Render the image represented by (rgbobj) at dst_x, dst_y\n in the pixel space.", " NOTE: this version uses a Figure.FigImage to render the image.\n<END>", "<BEGIN>\n## `render...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _scroll_contents API. 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 _scroll_contents API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Called when the scroll bars are adjusted by the user.
"Called when the scroll bars are adjusted by the user."
1,455
true
ejeschke/ginga
_scroll_contents
143,107
LDU_FT/EasyPost/pystalk/put_job_into
LDU_FT
[ "<BEGIN>\n## `from_uri`", "Construct a synchronous Beanstalk Client from a URI.", " The URI may be of the form beanstalk://host:port or beanstalkd://host:port", " IPv6 literals must be wrapped in brackets as per RFC 2732.\n<END>", "<BEGIN>\n## `_re_establish_use_watch`", "Call after a close/...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_job_into API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_job_into API. 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...
Insert a new job into a specific queue. Wrapper around :func:`put_job`. :param tube_name: Tube name :type tube_name: str :param data: Job body :type data: Text (either str which will be encoded as utf-8, or bytes which are already utf-8 :param pri: Priority for the job :...
"Insert a new job into a specific queue. Wrapper around :func:`put_job`.\n\n :param tube_name: Tube name\n :type tube_name: str\n :param data: Job body\n :type data: Text (either str which will be encoded as utf-8, or bytes which are already utf-8\n :param pri: Priority for the job\n ...
85
false
EasyPost/pystalk
put_job_into
143,108
LDU_FT/yero13/na3x/perform
LDU_FT
[ "<BEGIN>\n## `agg_multi_func`", "Aggregates several functions\n :param values: list of objects (dict)\n :param agg_field: target field to calculate aggregates\n :param agg_funcs: list of aggregate functions\n :param group_by: field used to determine group\n :return: dict {agg_fu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the perform API. 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 perform API. 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...
Performs transformation according to configuration :param cfg: transformation configuration
"Performs transformation according to configuration\n :param cfg: transformation configuration"
82
false
yero13/na3x
perform
143,109
LDU_FT/spotify/snakebite/get_config_from_env
LDU_FT
[ "<BEGIN>\n## `get_delimited_message_bytes`", "Parse a delimited protobuf message. This is done by first getting a protobuf varint from\n the stream that represents the length of the message, then reading that amount of\n from the message and then parse it.\n Since the int can be represented as max 4 byte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_config_from_env API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_config_from_env API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
.. deprecated:: 2.5.3 Gets configuration out of environment. Returns list of dicts - list of namenode representations
".. deprecated:: 2.5.3\n Gets configuration out of environment.\n\n Returns list of dicts - list of namenode representations"
148
false
spotify/snakebite
get_config_from_env
143,110
LDU_FT/tylertreat/BigQuery-Python/dataset_resource
LDU_FT
[ "<BEGIN>\n## `get_client`", "Return a singleton instance of BigQueryClient. Either\n AssertionCredentials or a service account and private key combination need\n to be provided in order to authenticate requests to BigQuery.", " Parameters\n ----------\n project_id : str, optional\n The Big...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dataset_resource API. 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 dataset_resource API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
See https://developers.google.com/bigquery/docs/reference/v2/datasets#resource Parameters ---------- ref_id : str Dataset id (the reference id, not the integer id) friendly_name : str, optional An optional descriptive name for the dataset ...
"See\n https://developers.google.com/bigquery/docs/reference/v2/datasets#resource\n\n Parameters\n ----------\n ref_id : str\n Dataset id (the reference id, not the integer id) \n friendly_name : str, optional\n An optional descriptive name for the dataset...
227
false
tylertreat/BigQuery-Python
dataset_resource
143,111
LDU_FT/xflr6/features/graphviz
LDU_FT
[ "<BEGIN>\n## `uniqued`", "Return unique list of items preserving order.", " >>> uniqued([3, 2, 1, 3, 2, 1, 0])\n [3, 2, 1, 0]\n<END>", "<BEGIN>\n## `butlast`", "Yield all items from ``iterable`` except the last one.", " >>> list(butlast(['spam', 'eggs', 'ham']))\n ['spam', 'eggs']", " >>>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the graphviz API. 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 graphviz API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Return the system lattice visualization as graphviz source.
"Return the system lattice visualization as graphviz source."
33
false
xflr6/features
graphviz
143,112
LDU_FT/ivanprjcts/sdklib/_sign_data
LDU_FT
[ "<BEGIN>\n## `parse`", "Parse the given XML input and convert it into a dictionary.", " `xml_input` can either be a `string` or a file-like object.", " If `xml_attribs` is `True`, element attributes are put in the dictionary\n among regular child elements, using `@` as a prefix to avoid collisions. I...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sign_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sign_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Sign data. :param data: the string to sign :return: string base64 encoding of the HMAC-SHA1 hash of the data parameter using {@code secretKey} as cipher key.
"Sign data.\n\n :param data: the string to sign\n :return: string base64 encoding of the HMAC-SHA1 hash of the data parameter using {@code secretKey} as cipher key."
125
false
ivanprjcts/sdklib
_sign_data
143,113
LDU_FT/Capitains/MyCapytain/_parse_work
LDU_FT
[ "<BEGIN>\n## `call`", "Call an endpoint given the parameters", " :param parameters: Dictionary of parameters\n :type parameters: dict\n :rtype: text\n<END>", "<BEGIN>\n## `getValidReff`", "Retrieve valid urn-references for a text", " :param urn: URN identifying the text\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_work API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_work API. 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...
Parses a work from a cts file :param cts_file: Path to the CTS File :type cts_file: str :param textgroup: Textgroup to which the Work is a part of :type textgroup: CtsTextgroupMetadata :return: Parsed Work and the Texts, as well as the current file directory
"Parses a work from a cts file\n\n :param cts_file: Path to the CTS File\n :type cts_file: str\n :param textgroup: Textgroup to which the Work is a part of\n :type textgroup: CtsTextgroupMetadata\n :return: Parsed Work and the Texts, as well as the current file directory"
473
false
Capitains/MyCapytain
_parse_work
143,114
LDU_FT/binarydud/pyres/worker_pids
LDU_FT
[ "<BEGIN>\n## `perform`", "This method converts payload into args and calls the ``perform``\n method on the payload class.", " Before calling ``perform``, a ``before_perform`` class method\n is called, if it exists. It takes a dictionary as an argument;\n currently the only things st...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the worker_pids API. 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 worker_pids API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Returns an array of all pids (as strings) of the workers on this machine. Used when pruning dead workers.
"Returns an array of all pids (as strings) of the workers on\n this machine. Used when pruning dead workers."
35
false
binarydud/pyres
worker_pids
143,115
LDU_FT/ahawker/ulid/from_str
LDU_FT
[ "<BEGIN>\n## `datetime`", "Creates a :class:`~datetime.datetime` instance (assumes UTC) from the Unix time value of the timestamp\n with millisecond precision.", " :return: Timestamp in datetime form.\n :rtype: :class:`~datetime.datetime`\n<END>", "<BEGIN>\n## `new`", "Create a new :cla...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_str API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_str API. 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...
Create a new :class:`~ulid.ulid.ULID` instance from the given :class:`~str` value. :param value: Base32 encoded string :type value: :class:`~str` :return: ULID from string value :rtype: :class:`~ulid.ulid.ULID` :raises ValueError: when the value is not 26 characters or malformed
"Create a new :class:`~ulid.ulid.ULID` instance from the given :class:`~str` value.\n\n :param value: Base32 encoded string\n :type value: :class:`~str`\n :return: ULID from string value\n :rtype: :class:`~ulid.ulid.ULID`\n :raises ValueError: when the value is not 26 characters or malformed"
72
false
ahawker/ulid
from_str
143,116
LDU_FT/Geotab/mygeotab-python/object_deserializer
LDU_FT
[ "<BEGIN>\n## `object_deserializer`", "Helper to deserialize a raw result dict into a proper dict.", " :param obj: The dict.\n<END>", "<BEGIN>\n## `login`", "Logs into a MyGeotab server and stores the returned credentials.", " :param session: The current Session object.\n :param user: The username...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the object_deserializer 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 object_deserializer 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 to deserialize a raw result dict into a proper dict. :param obj: The dict.
"Helper to deserialize a raw result dict into a proper dict.\n\n :param obj: The dict."
96
false
Geotab/mygeotab-python
object_deserializer
143,117
LDU_FT/anrosent/LT-code/gen_rsd_cdf
LDU_FT
[ "<BEGIN>\n## `gen_tau`", "The Robust part of the RSD, we precompute an\n array for speed\n<END>", "<BEGIN>\n## `gen_mu`", "The Robust Soliton Distribution on the degree of \n transmitted blocks\n<END>", "<BEGIN>\n## `gen_rsd_cdf`", "The CDF of the RSD on block degree, precomputed for\n sampling s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_rsd_cdf API. 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 gen_rsd_cdf API. 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...
The CDF of the RSD on block degree, precomputed for sampling speed
"The CDF of the RSD on block degree, precomputed for\n sampling speed"
28
false
anrosent/LT-code
gen_rsd_cdf
143,118
LDU_FT/eddiejessup/spatious/pdist_sq_periodic
LDU_FT
[ "<BEGIN>\n## `R_rot_2d`", "Return a 2-dimensional rotation matrix.", " Parameters\n ----------\n th: array, shape (n, 1)\n Angles about which to rotate.", " Returns\n -------\n R: array, shape (n, 2, 2)\n<END>", "<BEGIN>\n## `R_rot_3d`", "Return a 3-dimensional rotation matrix.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pdist_sq_periodic API. 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 pdist_sq_periodic API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Return the squared distance between all combinations of a set of points, in periodic space. Parameters ---------- r: shape (n, d) for n points in d dimensions. Set of points L: float array, shape (d,) System lengths. Returns ------- d_sq: float array, shape (n, n, d) ...
"Return the squared distance between all combinations of\n a set of points, in periodic space.\n\n Parameters\n ----------\n r: shape (n, d) for n points in d dimensions.\n Set of points\n L: float array, shape (d,)\n System lengths.\n\n Returns\n -------\n d_sq: float array, shape...
112
false
eddiejessup/spatious
pdist_sq_periodic
143,119
LDU_FT/egineering-llc/egat/execution_group
LDU_FT
[ "<BEGIN>\n## `validate_config_json`", "Takes the parsed JSON (output from json.load) from a configuration file \n and checks it for common errors.\n<END>", "<BEGIN>\n## `validate_user_threaded_json`", "Takes a parsed JSON dict representing a set of tests in the user-threaded \n format and valida...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execution_group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execution_group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
A decorator designed to be used with both classes and functions. Pass the decorator some object that represents the Execution Group the decorated object should be added to. If one test function in an Execution Group fails then no more tests from that Execution Group will run.
"A decorator designed to be used with both classes and functions. Pass the \n decorator some object that represents the Execution Group the decorated object \n should be added to. If one test function in an Execution Group fails then no\n more tests from that Execution Group will run."
16
false
egineering-llc/egat
execution_group
143,120
LDU_FT/skyfielders/python-skyfield/to
LDU_FT
[ "<BEGIN>\n## `add_deflection`", "Update `position` for how solar system masses will deflect its light.", " Given the ICRS `position` [x,y,z] of an object (au) that is being\n viewed from the `observer` also expressed as [x,y,z], and given an\n ephemeris that can be used to determine solar system body p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted docu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted docu...
Convert this distance to the given AstroPy unit.
"Convert this distance to the given AstroPy unit."
392
false
skyfielders/python-skyfield
to
143,121
LDU_FT/Kane610/axis/init_done
LDU_FT
[ "<BEGIN>\n## `session_request`", "Do HTTP/S request and return response as a string.\n<END>", "<BEGIN>\n## `get_event_list`", "Get a dict of supported events from device.\n<END>", "<BEGIN>\n## `_prepare_event`", "Converts event instances to a relevant dictionary.\n<END>", "<BEGIN>\n## `process_raw`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_done API. 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 init_done API. 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...
Server ready. If we get OSError during init the device is not available.
"Server ready.\n\n If we get OSError during init the device is not available."
55
false
Kane610/axis
init_done
143,122
LDU_FT/rkhleics/wagtailmenus/get_sub_menu_template_names
LDU_FT
[ "<BEGIN>\n## `_get_specified_sub_menu_template_name`", "Called by get_sub_menu_template(). Iterates through the various ways in\n which developers can specify potential sub menu templates for a menu,\n and returns the name of the most suitable template for the\n ``current_level``. Values are ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sub_menu_template_names 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_sub_menu_template_names 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 a list of template paths/names to search when rendering a sub menu for this menu instance. The list should beordered with most specific names first, since the first template found to exist will be used for rendering
"Return a list of template paths/names to search when rendering a\n sub menu for this menu instance. The list should beordered with most\n specific names first, since the first template found to exist will be\n used for rendering"
95
false
rkhleics/wagtailmenus
get_sub_menu_template_names
143,123
LDU_FT/aheadley/python-crunchyroll/login
LDU_FT
[ "<BEGIN>\n## `return_collection`", "Change method return value from raw API output to collection of models\n<END>", "<BEGIN>\n## `_do_post_request_tasks`", "Handle actions that need to be done with every response", " I'm not sure what these session_ops are actually used for yet, seems to\n be ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API. 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 login API. 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...
Login using email/username and password, used to get the auth token @param str account @param str password @param int duration (optional)
"Login using email/username and password, used to get the auth token\n\n @param str account\n @param str password\n @param int duration (optional)"
100
false
aheadley/python-crunchyroll
login
143,124
LDU_FT/ioos/compliance-checker/reasoning_routine
LDU_FT
[ "<BEGIN>\n## `is_opendap`", "Returns True if the URL is a valid OPeNDAP URL", " :param str url: URL for a remote OPeNDAP endpoint\n<END>", "<BEGIN>\n## `datetime_is_iso`", "Attempts to parse a date formatted in ISO 8601 format\n<END>", "<BEGIN>\n## `kvp_convert`", "Converts a list of string attribute...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reasoning_routine API. 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 reasoning_routine API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
print routine performed @param list groups: the Result groups @param str check: checker name @param int priority_flag: indicates the weight of the groups @param bool _top_level: indicates the level of the group so as to print out the appropriate header str...
"print routine performed\n @param list groups: the Result groups\n @param str check: checker name\n @param int priority_flag: indicates the weight of the groups\n @param bool _top_level: indicates the level of the group so as to\n print out the appropriate head...
624
false
ioos/compliance-checker
reasoning_routine
143,125
LDU_FT/klen/graphite-beacon/fetchmaker
LDU_FT
[ "<BEGIN>\n## `_get_loader`", "Determine which config file type and loader to use based on a filename.", " :param config str: filename to config file\n :return: a tuple of the loader type and callable to load\n :rtype: (str, Callable)\n<END>", "<BEGIN>\n## `start`", "Start all the things.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetchmaker API. 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 fetchmaker API. 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...
Receives api method as string and returns wrapper around AsyncHTTPClient's fetch method
"Receives api method as string and returns\n wrapper around AsyncHTTPClient's fetch method"
34
false
klen/graphite-beacon
fetchmaker
143,126
LDU_FT/mbr/tinyrpc/register_instance
LDU_FT
[ "<BEGIN>\n## `error_respond`", "Converts the error to an error response object.", " :return: An error response object ready to be serialized and sent to the client.\n :rtype: :py:class:`JSONRPCErrorResponse`\n<END>", "<BEGIN>\n## `error_respond`", "Create an error response to this request.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_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...
Create new subdispatcher and register all public object methods on it. To be used in conjunction with the :py:func:`public` decorator (*not* :py:func:`RPCDispatcher.public`). :param obj: The object whose public methods should be made available. :type obj: object :param ...
"Create new subdispatcher and register all public object methods on\n it.\n\n To be used in conjunction with the :py:func:`public`\n decorator (*not* :py:func:`RPCDispatcher.public`).\n\n :param obj: The object whose public methods should be made available.\n :type obj: object\n ...
120
false
mbr/tinyrpc
register_instance
143,127
LDU_FT/pyopenapi/pyswagger/apply_with
LDU_FT
[ "<BEGIN>\n## `swagger`", "some preparation before returning Swagger object\n<END>", "<BEGIN>\n## `apply_with`", "constructor", " :param str v: accept six.string_types, six.binary_type\n<END>", "<BEGIN>\n## `scope_compose`", "compose a new scope", " :param str scope: current scope\n :param...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_with API. 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 apply_with API. 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...
constructor :param val: things used to construct uuid :type val: uuid as byte, string, or uuid.UUID
"constructor\n\n :param val: things used to construct uuid\n :type val: uuid as byte, string, or uuid.UUID"
162
false
pyopenapi/pyswagger
apply_with
143,128
LDU_FT/photo/openphoto-python/extract_files
LDU_FT
[ "<BEGIN>\n## `list`", "Endpoint: /albums/list.json", " Returns a list of Album objects.\n<END>", "<BEGIN>\n## `cover_update`", "Endpoint: /album/<album_id>/cover/<photo_id>/update.json", " Update the cover photo of an album.\n Returns the updated album object.\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Extract filenames from the "photo" parameter so they can be uploaded, returning (updated_params, files). Uses the same technique as the Trovebox PHP commandline tool: * Filename can only be in the "photo" parameter * Filename must be prefixed with "@" * Filename must exist ...otherwise the...
"Extract filenames from the \"photo\" parameter so they can be uploaded,\n returning (updated_params, files).\n Uses the same technique as the Trovebox PHP commandline tool:\n * Filename can only be in the \"photo\" parameter\n * Filename must be prefixed with \"@\"\n * Filename must exist\n ......
174
false
photo/openphoto-python
extract_files
143,129
LDU_FT/Chilipp/docrep/delete_kwargs
LDU_FT
[ "<BEGIN>\n## `safe_modulo`", "Safe version of the modulo operation (%) of strings", " Parameters\n ----------\n s: str\n string to apply the modulo operation with\n meta: dict or tuple\n meta informations to insert (usually via ``s % meta``)\n checked: {'KEY', 'VALUE'}, optional\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_kwargs API. 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 delete_kwargs API. 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...
Deletes the ``*args`` or ``**kwargs`` part from the parameters section Either `args` or `kwargs` must not be None. The resulting key will be stored in ``base_key + 'no_args'`` if `args` is not None and `kwargs` is None ``base_key + 'no_kwargs'`` if `args` is Non...
"Deletes the ``*args`` or ``**kwargs`` part from the parameters section\n\n Either `args` or `kwargs` must not be None. The resulting key will be\n stored in\n\n ``base_key + 'no_args'``\n if `args` is not None and `kwargs` is None\n ``base_key + 'no_kwargs'``\n if `arg...
136
false
Chilipp/docrep
delete_kwargs
143,130
LDU_FT/airspeed-velocity/asv/_len_code
LDU_FT
[ "<BEGIN>\n## `get_graph_data`", "Iterator over graph data sets", " Yields\n ------\n param_idx\n Flat index to parameter permutations for parameterized benchmarks.\n None if benchmark is not parameterized.\n entry_name\n Name for the data set. If benc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _len_code API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _len_code API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Length of code object (stack and variables only).
"Length of code object (stack and variables only)."
256
false
airspeed-velocity/asv
_len_code
143,131
LDU_FT/RLBot/RLBot/training_status_renderer_context
LDU_FT
[ "<BEGIN>\n## `configure_processes`", "This will update the priority and CPU affinity of the processes owned by bots to try to achieve fairness and\n good performance.", " :param agent_metadata_map: A mapping of player index to agent metadata, including a list of owned process ids.\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the training_status_renderer_context API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the training_status_renderer_context API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
Ensures that the screen is always cleared, even on fatal errors in code that uses this renderer.
"Ensures that the screen is always cleared, even on fatal errors in code\n that uses this renderer."
181
false
RLBot/RLBot
training_status_renderer_context
143,132
LDU_FT/dwavesystems/dwave-cloud-client/_submit
LDU_FT
[ "<BEGIN>\n## `ls`", "List configuration files detected (and/or examined paths).\n<END>", "<BEGIN>\n## `create`", "Create and/or update cloud client configuration file.\n<END>", "<BEGIN>\n## `_ping`", "Helper method for the ping command that uses `output()` for info output\n and raises `CLIError()` on h...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _submit API. 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 _submit API. 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...
Enqueue a problem for submission to the server. This method is thread safe.
"Enqueue a problem for submission to the server.\n\n This method is thread safe."
339
false
dwavesystems/dwave-cloud-client
_submit
143,133
LDU_FT/juju-solutions/charms.reactive/depart
LDU_FT
[ "<BEGIN>\n## `endpoint_from_name`", "The object used for interacting with the named relations, or None.\n<END>", "<BEGIN>\n## `endpoint_from_flag`", "The object used for interacting with relations tied to a flag, or None.\n<END>", "<BEGIN>\n## `relation_factory`", "Get the RelationFactory for the given re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the depart API. 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 depart API. 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 the current remote unit, for the active hook context, from this conversation. This should be called from a `-departed` hook.
"Remove the current remote unit, for the active hook context, from\n this conversation. This should be called from a `-departed` hook."
223
false
juju-solutions/charms.reactive
depart
143,134
LDU_FT/devopshq/crosspm/get_params
LDU_FT
[ "<BEGIN>\n## `usedby_packages`", "Lock packages. Downloader search packages\n<END>", "<BEGIN>\n## `set_duplicated_flag`", "For all package set flag duplicated, if it's not unique package\n :return:\n<END>", "<BEGIN>\n## `get_object_from_string`", "Return python object from string\n :param object...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Get Package params :param param_list: name or list of parameters :param get_path: :param merged: if version splited, True return version in string :param raw: :return:
"Get Package params\n :param param_list: name or list of parameters\n :param get_path:\n :param merged: if version splited, True return version in string\n :param raw:\n :return:"
36
false
devopshq/crosspm
get_params
143,135
LDU_FT/elastic/elasticsearch-dsl-py/_clone
LDU_FT
[ "<BEGIN>\n## `scan_aggs`", "Helper function used to iterate over all possible bucket combinations of\n ``source_aggs``, returning results of ``inner_aggs`` for each. Uses the\n ``composite`` aggregation under the hood to perform this.\n<END>", "<BEGIN>\n## `clean`", "Automatically construct the suggesti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _clone API. 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 _clone API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Return a clone of the current search request. Performs a shallow copy of all the underlying objects. Used internally by most state modifying APIs.
"Return a clone of the current search request. Performs a shallow copy\n of all the underlying objects. Used internally by most state modifying\n APIs."
257
false
elastic/elasticsearch-dsl-py
_clone
143,136
LDU_FT/boronine/discipline/_field_value_text
LDU_FT
[ "<BEGIN>\n## `word`", "This function generates a fake word by creating between two and three\n random syllables and then joining them together.\n<END>", "<BEGIN>\n## `save_object`", "Save an object with Discipline", " Only argument is a Django object. This function saves the object\n (r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _field_value_text API. 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 _field_value_text API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Return the html representation of the value of the given field
"Return the html representation of the value of the given field"
49
false
boronine/discipline
_field_value_text
143,137
LDU_FT/GiulioRossetti/dynetx/node_link_graph
LDU_FT
[ "<BEGIN>\n## `node_link_data`", "Return data in node-link format that is suitable for JSON serialization\n and use in Javascript documents.", " Parameters\n ----------\n G : DyNetx graph", " attrs : dict\n A dictionary that contains three keys 'id', 'source' and 'target'.\n The c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the node_link_graph API. 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 node_link_graph API. 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...
Return graph from node-link data format. Parameters ---------- data : dict node-link formatted graph data directed : bool If True, and direction not specified in data, return a directed graph. attrs : dict A dictionary that contains three keys 'id', 'source', 'target'. ...
"Return graph from node-link data format.\n\n Parameters\n ----------\n data : dict\n node-link formatted graph data\n\n directed : bool\n If True, and direction not specified in data, return a directed graph.\n\n attrs : dict\n A dictionary that contains three keys 'id', 'source', '...
349
false
GiulioRossetti/dynetx
node_link_graph
143,138
LDU_FT/FutunnOpen/futuquant/pack_req
LDU_FT
[ "<BEGIN>\n## `unpack_rsp`", "Convert from PLS response to user response\n<END>", "<BEGIN>\n## `getJsonPath`", "获取JSON配置文件的路径:\n 1. 优先从当前工作目录查找JSON文件\n 2. 若无法找到则前往模块所在目录查找\n<END>", "<BEGIN>\n## `set_client_info`", ".. py:function:: set_client_info(cls, client_id, client_ver)", " 设置调用api的客户端...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pack_req API. 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 pack_req API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Convert from user request for place order to PLS request
"Convert from user request for place order to PLS request"
288
false
FutunnOpen/futuquant
pack_req
143,139
LDU_FT/LabKey/labkey-api-python/load_batch
LDU_FT
[ "<BEGIN>\n## `create`", "Create a domain\n :param server_context: A LabKey server context. See utils.create_server_context.\n :param domain_definition: A domain definition.\n :param container_path: labkey container path if not already set in context\n :return: Domain\n<END>", "<BEGIN>\n## `drop`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_batch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_batch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Loads a batch from the server. :param server_context: A LabKey server context. See utils.create_server_context. :param assay_id: The protocol id of the assay from which to load a batch. :param batch_id: :return:
"Loads a batch from the server.\n :param server_context: A LabKey server context. See utils.create_server_context.\n :param assay_id: The protocol id of the assay from which to load a batch.\n :param batch_id:\n :return:"
60
false
LabKey/labkey-api-python
load_batch
143,140
LDU_FT/bmuller/kademlia/get_refresh_ids
LDU_FT
[ "<BEGIN>\n## `add_node`", "Add a C{Node} to the C{KBucket}. Return True if successful,\n False if the bucket is full.", " If the bucket is full, keep track of node in a replacement list,\n per section 4.1 of the paper.\n<END>", "<BEGIN>\n## `lonely_buckets`", "Get all of the buckets th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_refresh_ids API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_refresh_ids API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Get ids to search for to keep old buckets up to date.
"Get ids to search for to keep old buckets up to date."
62
false
bmuller/kademlia
get_refresh_ids
143,141
LDU_FT/rh-marketingops/dwm/DeriveDataCopyValue
LDU_FT
[ "<BEGIN>\n## `get_field_list`", "Retrieve list of all fields currently configured\n<END>", "<BEGIN>\n## `data_lookup_method`", "Method to lookup the replacement value given a single input value from\n the same field.", " :param dict fields_list: Fields configurations\n :param MongoClien...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the DeriveDataCopyValue 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 DeriveDataCopyValue API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Return new value based on value from another field :param string fieldName: Field name to query against :param dict deriveInput: Values to perform lookup against: {"copyField1": "copyVal1"} :param bool overwrite: Should an existing field value be replaced :param string fieldVal: Current fiel...
"Return new value based on value from another field\n\n :param string fieldName: Field name to query against\n :param dict deriveInput: Values to perform lookup against:\n {\"copyField1\": \"copyVal1\"}\n :param bool overwrite: Should an existing field value be replaced\n :param string fieldVal: C...
68
false
rh-marketingops/dwm
DeriveDataCopyValue
143,142
LDU_FT/omza/azurestoragewrap/fromtext
LDU_FT
[ "<BEGIN>\n## `getmessage`", "parse self into unicode string as message content\n<END>", "<BEGIN>\n## `register_model`", "set up an Queueservice for an StorageQueueModel in your Azure Storage Account\n Will create the Queue if not exist!", " required Parameter is:\n - storag...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fromtext API. 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 fromtext API. 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...
set blob content from given text in StorageBlobModel instance. Parameters are: - text (required): path to a local file - encoding (optional): text encoding (default is utf-8) - mimetype (optional): set a mimetype. azurestoragewrap will guess it if not given
"set blob content from given text in StorageBlobModel instance. Parameters are:\n - text (required): path to a local file \n - encoding (optional): text encoding (default is utf-8)\n - mimetype (optional): set a mimetype. azurestoragewrap will guess it if not given"
34
false
omza/azurestoragewrap
fromtext
143,143
LDU_FT/stefankoegl/kdtree/is_leaf
LDU_FT
[ "<BEGIN>\n## `require_axis`", "Check if the object of the function has axis and sel_axis members\n<END>", "<BEGIN>\n## `create`", "Creates a kd-tree from a list of points", " All points in the list must be of the same dimensionality.", " If no point_list is given, an empty tree is created. The numbe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_leaf API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_leaf API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Returns True if a Node has no subnodes >>> Node().is_leaf True >>> Node( 1, left=Node(2) ).is_leaf False
"Returns True if a Node has no subnodes\n\n >>> Node().is_leaf\n True\n\n >>> Node( 1, left=Node(2) ).is_leaf\n False"
72
false
stefankoegl/kdtree
is_leaf
143,144
LDU_FT/CellProfiler/centrosome/stretch
LDU_FT
[ "<BEGIN>\n## `fill_labeled_holes`", "Fill all background pixels that are holes inside the foreground", " A pixel is a hole inside a foreground object if", " * there is no path from the pixel to the edge AND", " * there is no path from the pixel to any other non-hole\n pixel AND", " * ther...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stretch API. 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 stretch API. 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...
Normalize an image to make the minimum zero and maximum one image - pixel data to be normalized mask - optional mask of relevant pixels. None = don't mask returns the stretched image
"Normalize an image to make the minimum zero and maximum one\n\n image - pixel data to be normalized\n mask - optional mask of relevant pixels. None = don't mask\n\n returns the stretched image"
668
false
CellProfiler/centrosome
stretch
143,145
LDU_FT/inasafe/inasafe/load_html
LDU_FT
[ "<BEGIN>\n## `dict`", "dictionary representation of the metadata.", " :return: dictionary representation of the metadata\n :rtype: dict\n<END>", "<BEGIN>\n## `xml`", "xml representation of the metadata.", " :return: xml representation of the metadata\n :rtype: ElementTree.Eleme...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_html API. 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_html API. 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 HTML to this class with the mode specified. There are two modes that can be used: * HTML_FILE_MODE: Directly from a local HTML file. * HTML_STR_MODE: From a valid HTML string. :param mode: The mode. :type mode: int :param html: The html that will be loaded...
"Load HTML to this class with the mode specified.\n\n There are two modes that can be used:\n * HTML_FILE_MODE: Directly from a local HTML file.\n * HTML_STR_MODE: From a valid HTML string.\n\n :param mode: The mode.\n :type mode: int\n\n :param html: The html that will...
4,163
true
inasafe/inasafe
load_html
143,146
LDU_FT/micha030201/aionationstates/happenings
LDU_FT
[ "<BEGIN>\n## `tgcanrecruit`", "Whether the nation will receive a recruitment telegram.", " Useful in conjunction with the Telegrams API.", " Parameters\n ----------\n region : str\n Name of the region you are recruiting for.", " Returns\n -------\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the happenings API. 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 happenings API. 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...
Iterate through happenings from newest to oldest. Parameters ---------- nations : iterable of str Nations happenings of which will be requested. Cannot be specified at the same time with ``regions``. regions : iterable of str Regions happenings of wh...
"Iterate through happenings from newest to oldest.\n\n Parameters\n ----------\n nations : iterable of str\n Nations happenings of which will be requested. Cannot be\n specified at the same time with ``regions``.\n regions : iterable of str\n Regions happeni...
156
false
micha030201/aionationstates
happenings
143,147
LDU_FT/workhorsy/py-cpuinfo/_get_cpu_info_from_kstat
LDU_FT
[ "<BEGIN>\n## `_actual_get_cpu_info_from_cpuid`", "Warning! This function has the potential to crash the Python runtime.\n\tDo not call it directly. Use the _get_cpu_info_from_cpuid function instead.\n\tIt will safely call this function in another process.\n<END>", "<BEGIN>\n## `_get_cpu_info_from_cpuid`", "Re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_cpu_info_from_kstat 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_cpu_info_from_kstat API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Returns the CPU info gathered from isainfo and kstat. Returns {} if isainfo or kstat are not found.
"Returns the CPU info gathered from isainfo and kstat.\n\tReturns {} if isainfo or kstat are not found."
34
false
workhorsy/py-cpuinfo
_get_cpu_info_from_kstat
143,148
LDU_FT/inveniosoftware-attic/invenio-knowledge/generate_slug
LDU_FT
[ "<BEGIN>\n## `load`", "Load given file into knowledge base.", " Simply load data into an existing knowledge base:", " .. code-block:: console", " $ inveniomanage knowledge load mykb /path/to/file.kb", " The file is expected to have a mapping with values: ``foo<seperator>bar``\n (per lin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_slug API. 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 generate_slug API. 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 slug for the knowledge. :param name: text to slugify :return: slugified text
"Generate a slug for the knowledge.\n\n :param name: text to slugify\n :return: slugified text"
111
false
inveniosoftware-attic/invenio-knowledge
generate_slug
143,149
LDU_FT/lingfeiwang/findr-python/load_geuvadis_data
LDU_FT
[ "<BEGIN>\n## `gassists_pv`", "Calculates p-values of gene i regulating gene j with genotype data assisted method with multiple tests.\n\tdg:\tnumpy.ndarray(nt,ns,dtype=gtype(='u1' by default)) Genotype data.\n\t\tEntry dg[i,j] is genotype i's value for sample j.\n\t\tEach value must be among 0,1,...,na.\n\t\tGeno...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_geuvadis_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_geuvadis_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. Th...
This function loads downsampled data files from the Geuvadis study (Lappalainen, T. et al. Transcriptome and genome sequencing uncovers functional variation in humans. Nature 501, 506-511 (2013)), including expression levels of 10 miRNAs and 3000 genes for 360 European individuals. Among them, all miRNAs and 1000 genes...
"This function loads downsampled data files from the Geuvadis study (Lappalainen, T. et al. Transcriptome and genome sequencing uncovers functional variation in humans. Nature 501, 506-511 (2013)), including expression levels of 10 miRNAs and 3000 genes for 360 European individuals. Among them, all miRNAs and 1000 gene...
50
false
lingfeiwang/findr-python
load_geuvadis_data
143,150
LDU_FT/aaronn/django-rest-framework-passwordless/update_alias_verification
LDU_FT
[ "<BEGIN>\n## `validate_token_age`", "Returns True if a given token is within the age expiration limit.\n<END>", "<BEGIN>\n## `verify_user_alias`", "Marks a user's contact point as verified depending on accepted token type.\n<END>", "<BEGIN>\n## `send_email_with_callback_token`", "Sends a Email to user.ema...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_alias_verification 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 update_alias_verification API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Flags a user's email as unverified if they change it. Optionally sends a verification token to the new endpoint.
"Flags a user's email as unverified if they change it.\n Optionally sends a verification token to the new endpoint."
16
false
aaronn/django-rest-framework-passwordless
update_alias_verification
143,151
LDU_FT/ncclient/ncclient/is_rpc_error_exempt
LDU_FT
[ "<BEGIN>\n## `request`", "Retrieve running configuration and device state information.", " *filter* specifies the portion of the configuration to retrieve (by default entire configuration is retrieved)", " :seealso: :ref:`filter_params`\n<END>", "<BEGIN>\n## `request`", "command text\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_rpc_error_exempt 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 is_rpc_error_exempt 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...
Check whether an RPC error message is excempt, thus NOT causing an exception. On some devices the RPC operations may indicate an error response, even though the operation actually succeeded. This may be in cases where a warning would be more appropriate. In that case, the client may be better a...
"Check whether an RPC error message is excempt, thus NOT causing an exception.\n\n On some devices the RPC operations may indicate an error response, even though\n the operation actually succeeded. This may be in cases where a warning would be\n more appropriate. In that case, the client may be bet...
179
false
ncclient/ncclient
is_rpc_error_exempt
143,152
LDU_FT/trolldbois/ctypeslib/_record_decl
LDU_FT
[ "<BEGIN>\n## `init_fundamental_types`", "Registers all fundamental typekind handlers\n<END>", "<BEGIN>\n## `_handle_fundamental_types`", "Handles POD types nodes.\n see init_fundamental_types for the registration.\n<END>", "<BEGIN>\n## `_array_handler`", "Handles all array types.\n Resolves ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _record_decl API. 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 _record_decl API. 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...
Handles record type declaration. Structure, Union...
"Handles record type declaration.\n Structure, Union..."
88
false
trolldbois/ctypeslib
_record_decl
143,153
LDU_FT/ploneintranet/ploneintranet.workspace/get_workspace_activities
LDU_FT
[ "<BEGIN>\n## `get_storage`", "helper function to get annotation storage on the portal", " :param clear: If true is passed in, annotations will be cleared\n :returns: portal annotations\n :rtype: IAnnotations\n<END>", "<BEGIN>\n## `send_email`", "helper function to send an email with the sender pres...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_workspace_activities 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_workspace_activities 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 workspace activities sorted by reverse chronological order Regarding the time value: - the datetime value contains the time in international format (machine readable) - the title value contains the absolute date and time of the post
"Return the workspace activities sorted by reverse chronological\n order\n\n Regarding the time value:\n - the datetime value contains the time in international format\n (machine readable)\n - the title value contains the absolute date and time of the post"
53
false
ploneintranet/ploneintranet.workspace
get_workspace_activities
143,154
LDU_FT/rytilahti/python-songpal/power
LDU_FT
[ "<BEGIN>\n## `make`", "Create a container.", " Reports extra keys as well as missing ones.\n Thanks to habnabit for the idea!\n<END>", "<BEGIN>\n## `create_post_request`", "Call the given method over POST.", " :param method: Name of the method\n :param params: dict of parameters\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the power API. 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 power API. 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...
Turn on and off, control power settings. Accepts commands 'on', 'off', and 'settings'.
"Turn on and off, control power settings.\n\n Accepts commands 'on', 'off', and 'settings'."
86
false
rytilahti/python-songpal
power
143,155
LDU_FT/edibledinos/pwnypack/nasm_mutable_data_finalizer
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 nasm_mutable_data_finalizer 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 nasm_mutable_data_finalizer API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Simple data allocation strategy that expects the code to be in a writable segment. We just append the data to the end of the code.
"Simple data allocation strategy that expects the code to be in a writable\n segment. We just append the data to the end of the code."
353
false
edibledinos/pwnypack
nasm_mutable_data_finalizer
143,156
LDU_FT/mypebble/django-feature-flipper/show_feature
LDU_FT
[ "<BEGIN>\n## `show_feature`", "Return True/False whether the assigned feature can be displayed. This is\n primarily used in the template tag to determine whether to render the\n content inside itself.\n<END>", "<BEGIN>\n## `do_flipper`", "The flipper tag takes two arguments: the user to look up and the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_feature API. 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 show_feature API. 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 True/False whether the assigned feature can be displayed. This is primarily used in the template tag to determine whether to render the content inside itself.
"Return True/False whether the assigned feature can be displayed. This is\n primarily used in the template tag to determine whether to render the\n content inside itself."
10
false
mypebble/django-feature-flipper
show_feature
143,157
LDU_FT/bids-standard/pybids/setup
LDU_FT
[ "<BEGIN>\n## `apply_transformations`", "Apply all transformations to the variables in the collection.", " Args:\n transformations (list): List of transformations to apply.\n select (list): Optional list of names of variables to retain after all\n transformations are applied.\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Set up the Step and construct the design matrix. Args: input_nodes (list): Optional list of Node objects produced by the preceding Step in the analysis. If None, uses any inputs passed in at Step initialization. drop_na (bool): Boolean indicating whether ...
"Set up the Step and construct the design matrix.\n\n Args:\n input_nodes (list): Optional list of Node objects produced by\n the preceding Step in the analysis. If None, uses any inputs\n passed in at Step initialization.\n drop_na (bool): Boolean indicating w...
372
false
bids-standard/pybids
setup
143,158
LDU_FT/codeforamerica/three/_configure_endpoint
LDU_FT
[ "<BEGIN>\n## `city`", "Store the city that will be queried against.", " >>> three.city('sf')\n<END>", "<BEGIN>\n## `dev`", "Use an endpoint and any additional keyword arguments rather than one\n of the pre-defined cities. Similar to the `city` function, but useful for\n development.\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _configure_endpoint 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 _configure_endpoint 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...
Configure the endpoint with a schema and end slash.
"Configure the endpoint with a schema and end slash."
35
false
codeforamerica/three
_configure_endpoint
143,159
LDU_FT/biosignalsnotebooks/biosignalsnotebooks/argrelmax
LDU_FT
[ "<BEGIN>\n## `windowing`", "-----\n Brief\n -----\n Function to window the input signal, that return the windowed signal.", " -----------\n Description\n -----------\n Machine learning pipelines usually use features to represent each sample of the input signals.\n In order to extract tho...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the argrelmax API. 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 argrelmax API. 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...
Calculate the relative maxima of `data`. .. versionadded:: 0.11.0 Parameters ---------- data : ndarray Array in which to find the relative maxima. axis : int, optional Axis over which to select from `data`. Default is 0. order : int, optional How many points on each si...
"Calculate the relative maxima of `data`.\n\n .. versionadded:: 0.11.0\n\n Parameters\n ----------\n data : ndarray\n Array in which to find the relative maxima.\n axis : int, optional\n Axis over which to select from `data`. Default is 0.\n order : int, optional\n How many point...
800
false
biosignalsnotebooks/biosignalsnotebooks
argrelmax
143,160
LDU_FT/django-extensions/django-extensions/extract_views_from_urlpatterns
LDU_FT
[ "<BEGIN>\n## `_slug_strip`", "Clean up a slug by removing slug separator characters that occur at\n the beginning or end of a slug.", " If an alternate separator is used, it will also replace any instances\n of the default '-' separator with the new separator.\n<END>", "<BEGIN>\n## `to_py...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_views_from_urlpatterns API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_views_from_urlpatterns API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Return a list of views from a list of urlpatterns. Each object in the returned list is a three-tuple: (view_func, regex, name)
"Return a list of views from a list of urlpatterns.\n\n Each object in the returned list is a three-tuple: (view_func, regex, name)"
191
false
django-extensions/django-extensions
extract_views_from_urlpatterns
143,161
LDU_FT/davidhuser/dhis2.py/post_partitioned
LDU_FT
[ "<BEGIN>\n## `_set_log_format`", "Set log format\n :param color: Log message is colored\n :param include_caller: At the end, put a [caller:line-of-code], e.g. [script:123]\n :return: string of log format\n<END>", "<BEGIN>\n## `setup_logger`", "Setup logzero logger. if logfile is specified, create add...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post_partitioned API. 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 post_partitioned API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Post a payload in chunks to prevent 'Request Entity Too Large' Timeout errors :param endpoint: the API endpoint to use :param json: payload dict :param params: request parameters :param thresh: the maximum amount to partition into :return: generator where __next__ is a requests.R...
"Post a payload in chunks to prevent 'Request Entity Too Large' Timeout errors\n :param endpoint: the API endpoint to use\n :param json: payload dict\n :param params: request parameters\n :param thresh: the maximum amount to partition into\n :return: generator where __next__ is a requ...
52
false
davidhuser/dhis2.py
post_partitioned
143,162
LDU_FT/jsvine/tinyapi/get_drafts
LDU_FT
[ "<BEGIN>\n## `fetch`", "Fetch data corresponding to this draft and store it as ``self.data``.\n<END>", "<BEGIN>\n## `request`", "Makes a call to TinyLetter's __svcbus__ endpoint.\n<END>", "<BEGIN>\n## `get_messages`", "Returns a list of messages your account sent.", " Messages are sorted by ``ord...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_drafts API. 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_drafts API. 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...
Same as Session.get_messages, but where ``statuses=["draft"]``.
"Same as Session.get_messages, but where ``statuses=[\"draft\"]``."
20
false
jsvine/tinyapi
get_drafts
143,163
LDU_FT/RJT1990/pyflux/reg_score_function
LDU_FT
[ "<BEGIN>\n## `_get_scale_and_shape`", "Obtains model scale, shape and skewness latent variables", " Parameters\n ----------\n transformed_lvs : np.array\n Transformed latent variable vector", " Returns\n ----------\n - Tuple of model scale, model shape, mod...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reg_score_function 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 reg_score_function 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...
GAS Cauchy Regression Update term using gradient only - native Python function Parameters ---------- X : float datapoint for the right hand side variable y : float datapoint for the time series mean : float location parameter for the Cau...
"GAS Cauchy Regression Update term using gradient only - native Python function\n\n Parameters\n ----------\n X : float\n datapoint for the right hand side variable\n \n y : float\n datapoint for the time series\n\n mean : float\n location parameter...
1,462
true
RJT1990/pyflux
reg_score_function
143,164
LDU_FT/pywbem/pywbem/get_cimobject_header
LDU_FT
[ "<BEGIN>\n## `_hash_item`", "Hash an item (CIM value, CIM object), by delegating to its hash function.", " The item may be `None`.\n<END>", "<BEGIN>\n## `_stacklevel_above_module`", "Return the stack level (with 1 = caller of this function) of the first\n caller that is not defined in the specified mo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cimobject_header 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_cimobject_header 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 value for the CIM-XML extension header field 'CIMObject', using the given object. This function implements the rules defined in DSP0200 section 6.3.7 "CIMObject". The format of the CIMObject value is similar but not identical to a local WBEM URI (one without namespace type and authority), as...
"Return the value for the CIM-XML extension header field 'CIMObject', using\n the given object.\n\n This function implements the rules defined in DSP0200 section 6.3.7\n \"CIMObject\". The format of the CIMObject value is similar but not identical\n to a local WBEM URI (one without namespace type and author...
3,983
true
pywbem/pywbem
get_cimobject_header
143,165
LDU_FT/miguelgrinberg/python-socketio/rooms
LDU_FT
[ "<BEGIN>\n## `get_participants`", "Return an iterable with the active participants in a room.\n<END>", "<BEGIN>\n## `connect`", "Register a client connection to a namespace.\n<END>", "<BEGIN>\n## `pre_disconnect`", "Put the client in the to-be-disconnected list.", " This allows the client data st...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rooms API. 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 rooms API. 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...
Return the rooms a client is in. :param sid: Session ID of the client. :param namespace: The Socket.IO namespace for the event. If this argument is omitted the default namespace is used.
"Return the rooms a client is in.\n\n :param sid: Session ID of the client.\n :param namespace: The Socket.IO namespace for the event. If this\n argument is omitted the default namespace is used."
172
false
miguelgrinberg/python-socketio
rooms
143,166
LDU_FT/relwell/corenlp-xml-lib/subtrees_for_phrase
LDU_FT
[ "<BEGIN>\n## `mentions`", "Returns mentions", " :return: list of mentions\n :rtype: list\n<END>", "<BEGIN>\n## `sentence`", "The sentence related to this mention", " :getter: returns the sentence this mention relates to\n :type: corenlp_xml.document.Sentence\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subtrees_for_phrase 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 subtrees_for_phrase 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...
Returns subtrees corresponding all phrases matching a given phrase type :param phrase_type: POS such as "NP", "VP", "det", etc. :type phrase_type: str :return: a list of NLTK.Tree.Subtree instances :rtype: list of NLTK.Tree.Subtree
"Returns subtrees corresponding all phrases matching a given phrase type\n\n :param phrase_type: POS such as \"NP\", \"VP\", \"det\", etc.\n :type phrase_type: str\n\n :return: a list of NLTK.Tree.Subtree instances\n :rtype: list of NLTK.Tree.Subtree"
87
false
relwell/corenlp-xml-lib
subtrees_for_phrase
143,167
LDU_FT/pypa/setuptools/from_param
LDU_FT
[ "<BEGIN>\n## `indentedBlock`", "Helper method for defining space-delimited indentation blocks, such as\r\n those used to define block statements in Python source code.\r", " Parameters:\r\n - blockStatementExpr - expression defining syntax of statement that\r\n is repeated within the indent...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_param API. 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 from_param API. 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...
Construct a CommandSpec from a parameter to build_scripts, which may be None.
"Construct a CommandSpec from a parameter to build_scripts, which may\n be None."
565
false
pypa/setuptools
from_param
143,168
LDU_FT/zhmcclient/python-zhmcclient/add
LDU_FT
[ "<BEGIN>\n## `_metric_value`", "Return a Python-typed metric value from a metric value string.\n<END>", "<BEGIN>\n## `_metric_unit_from_name`", "Return a metric unit string for human consumption, that is inferred from\n the metric name.", " If a unit cannot be inferred, `None` is returned.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Add a faked HBA resource. Parameters: properties (dict): Resource properties. Special handling and requirements for certain properties: * 'element-id' will be auto-generated with a unique value across all instances of this resource type, if not spe...
"Add a faked HBA resource.\n\n Parameters:\n\n properties (dict):\n Resource properties.\n\n Special handling and requirements for certain properties:\n\n * 'element-id' will be auto-generated with a unique value across\n all instances of this resource type,...
1,599
true
zhmcclient/python-zhmcclient
add
143,169
LDU_FT/buildbot/buildbot/createSummary
LDU_FT
[ "<BEGIN>\n## `parse`", "Parse messages sent by the 'buildbot-cvs-mail' program.\n<END>", "<BEGIN>\n## `parse`", "Parse messages sent by the svn 'commit-email.pl' trigger.\n<END>", "<BEGIN>\n## `parse`", "Parse branch notification messages sent by Launchpad.\n<END>", "<BEGIN>\n## `remote_write`", "Call...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createSummary API. 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 createSummary API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Create nice summary logs. @param log: log to create summary off of.
"Create nice summary logs.\n\n @param log: log to create summary off of."
518
false
buildbot/buildbot
createSummary
143,170
LDU_FT/refindlyllc/rets/generator
LDU_FT
[ "<BEGIN>\n## `parse`", "Parse the login xml response\n :param response: the login response from the RETS server\n :return: None\n<END>", "<BEGIN>\n## `read_line`", "Reads lines of XML and delimits, strips, and returns.\n<END>", "<BEGIN>\n## `generator`", "Takes a response socket connection a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generator API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generator API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Takes a response socket connection and iteratively parses and yields the results as python dictionaries. :param response: a Requests response object with stream=True :return:
"Takes a response socket connection and iteratively parses and yields the results as python dictionaries.\n :param response: a Requests response object with stream=True\n :return:"
51
false
refindlyllc/rets
generator
143,171
LDU_FT/KelSolaar/Manager/activated
LDU_FT
[ "<BEGIN>\n## `name`", "Setter for **self.__name** attribute.", " :param value: Attribute value.\n :type value: unicode\n<END>", "<BEGIN>\n## `activated`", "Setter for **self.__activated** attribute.", " :param value: Attribute value.\n :type value: bool\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the activated API. 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 activated API. 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...
Setter for **self.__activated** attribute. :param value: Attribute value. :type value: bool
"Setter for **self.__activated** attribute.\n\n :param value: Attribute value.\n :type value: bool"
133
false
KelSolaar/Manager
activated
143,172