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/pysathq/pysat/do
LDU_FT
[ "<BEGIN>\n## `open`", "Open a file pointer. Note that a file is *always* opened in text\n mode. The method inherits its input parameters from the constructor\n of :class:`FileObject`.\n<END>", "<BEGIN>\n## `get_compression_type`", "Determine compression type for a given file using its ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do API. 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 do API. 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...
Prepare all solvers specified in the command line.
"Prepare all solvers specified in the command line."
578
false
pysathq/pysat
do
12,873
LDU_FT/CalebBell/ht/temperature_effectiveness_basic
LDU_FT
[ "<BEGIN>\n## `blackbody_spectral_radiance`", "r'''Returns the spectral radiance, in units of W/m^2/sr/µm.", " .. math::\n I_{\\lambda,blackbody,e}(\\lambda,T)=\\frac{2hc_o^2}\n {\\lambda^5[\\exp(hc_o/\\lambda k T)-1]}", " Parameters\n ----------\n T : float\n Temperature of th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the temperature_effectiveness_basic API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the temperature_effectiveness_basic API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
r'''Returns temperature effectiveness `P1` of a heat exchanger with a specified heat capacity ratio, number of transfer units `NTU1`, and of type `subtype`. This function performs the calculations for the basic cases, not actual shell-and-tube exchangers. The supported cases are as follows: ...
"r'''Returns temperature effectiveness `P1` of a heat exchanger with \n a specified heat capacity ratio, number of transfer units `NTU1`,\n and of type `subtype`. This function performs the calculations for the\n basic cases, not actual shell-and-tube exchangers. The supported cases\n are as follows:\n ...
2,013
true
CalebBell/ht
temperature_effectiveness_basic
12,874
LDU_FT/mpibpc-mroose/hx711/_validate_gain_A_value
LDU_FT
[ "<BEGIN>\n## `power_down`", "turn off the HX711\n :return: always True\n :rtype bool\n<END>", "<BEGIN>\n## `power_up`", "power up the HX711", " :return: always True\n :rtype bool\n<END>", "<BEGIN>\n## `reset`", "reset the HX711 and prepare it for \tthe next reading", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_gain_A_value 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 _validate_gain_A_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
validate a given value for gain_A :type gain_A: int :raises: ValueError
"validate a given value for gain_A\n\n :type gain_A: int\n :raises: ValueError"
24
false
mpibpc-mroose/hx711
_validate_gain_A_value
12,875
LDU_FT/caffeinehit/django-follow/register
LDU_FT
[ "<BEGIN>\n## `check`", "Check the permissions, http method and login state.\n<END>", "<BEGIN>\n## `register`", "This registers any model class to be follow-able.\n<END>", "<BEGIN>\n## `toggle`", "Toggles a follow status. Useful function if you don't want to perform follow\n checks but just toggle it on...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API. 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 register API. 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...
This registers any model class to be follow-able.
"This registers any model class to be follow-able."
15
false
caffeinehit/django-follow
register
12,876
LDU_FT/wecatch/app-turbo/_load
LDU_FT
[ "<BEGIN>\n## `convert_to_record`", "Wrap mongodb record to a dict record with default value None\n<END>", "<BEGIN>\n## `instance`", "Instantiate a model class according to import path\n args:\n name: class import path like `user.User`\n return:\n model instance\n<END>", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load API. 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 _load API. 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...
Load the session from the store, by the id from cookie
"Load the session from the store, by the id from cookie"
43
false
wecatch/app-turbo
_load
12,877
LDU_FT/dwavesystems/dimod/fprint
LDU_FT
[ "<BEGIN>\n## `sample`", "Give random samples for a binary quadratic model.", " Variable assignments are chosen by coin flip.", " Args:\n bqm (:obj:`.BinaryQuadraticModel`):\n Binary quadratic model to be sampled from.", " num_reads (int, optional, default=1...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fprint API. 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 fprint API. 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 ...
Prints the formatted representation of the object on stream
"Prints the formatted representation of the object on stream"
908
false
dwavesystems/dimod
fprint
12,878
LDU_FT/Kronuz/pyScss/compile_string
LDU_FT
[ "<BEGIN>\n## `mix`", "Mixes together two colors. Specifically, takes the average of each of the\n RGB components, optionally weighted by the given percentage.\n The opacity of the colors is also considered when weighting the components.", " Specifically, takes the average of each of the RGB components,...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Compile a single string, and return a string of CSS. Keyword arguments are passed along to the underlying `Compiler`.
"Compile a single string, and return a string of CSS.\n\n Keyword arguments are passed along to the underlying `Compiler`."
205
false
Kronuz/pyScss
compile_string
12,879
LDU_FT/kstateome/django-cas/_get_pgtiou
LDU_FT
[ "<BEGIN>\n## `get_tgt_for`", "Fetch a ticket granting ticket for a given user.", " :param user: UserObj", " :return: TGT or Exepction\n<END>", "<BEGIN>\n## `delete_old_tickets`", "Delete tickets if they are over 2 days old\n kwargs = ['raw', 'signal', 'instance', 'sender', 'created']\n<END>", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_pgtiou API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_pgtiou API. 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 a PgtIOU object given a pgt. The PgtIOU (tgt) is set by the CAS server in a different request that has completed before this call, however, it may not be found in the database by this calling thread, hence the attempt to get the ticket is retried for up to 5 seconds. This should be handled some...
"Returns a PgtIOU object given a pgt.\n\n The PgtIOU (tgt) is set by the CAS server in a different request\n that has completed before this call, however, it may not be found in\n the database by this calling thread, hence the attempt to get the\n ticket is retried for up to 5 seconds. This should be handle...
55
false
kstateome/django-cas
_get_pgtiou
12,880
LDU_FT/hsolbrig/PyShEx/neigh
LDU_FT
[ "<BEGIN>\n## `conforms`", "`5.6.1 Schema Validation Requirement <http://shex.io/shex-semantics/#validation-requirement>`_", " A graph G is said to conform with a schema S with a ShapeMap m when:", " Every, SemAct in the startActs of S has a successful evaluation of semActsSatisfied.\n Every node n in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the neigh API. 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 neigh API. 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...
neigh(G, n) is the neighbourhood of the node n in the graph G. neigh(G, n) = arcsOut(G, n) ∪ arcsIn(G, n)
"neigh(G, n) is the neighbourhood of the node n in the graph G.\n\n neigh(G, n) = arcsOut(G, n) ∪ arcsIn(G, n)"
234
false
hsolbrig/PyShEx
neigh
12,881
LDU_FT/phac-nml/sistr_cmd/merge_sketches
LDU_FT
[ "<BEGIN>\n## `parse_cgmlst_alleles`", "Parse cgMLST alleles from fasta file\n cgMLST FASTA file must have a header format of \">{marker name}|{allele name}\"", " Args:\n cgmlst_fasta (str): cgMLST fasta file path", " Returns:\n dict of list: Marker name to list of allele sequences\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_sketches API. 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_sketches API. 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...
Merge new Mash sketches with current Mash sketches Args: outdir (str): output directory to write merged Mash sketch file sketch_paths (list of str): Mash sketch file paths for input fasta files Returns: str: output path for Mash sketch file with new and old sketches
"Merge new Mash sketches with current Mash sketches\n\n Args:\n outdir (str): output directory to write merged Mash sketch file\n sketch_paths (list of str): Mash sketch file paths for input fasta files\n\n Returns:\n str: output path for Mash sketch file with new and old sketches"
148
false
phac-nml/sistr_cmd
merge_sketches
12,882
LDU_FT/Microsoft/nni/miscs_update_idxs_vals
LDU_FT
[ "<BEGIN>\n## `get_pre_compute`", ":param s: [src_sequence, batch_size, src_dim]\n :return: [src_sequence, batch_size. hidden_dim]\n<END>", "<BEGIN>\n## `get_prob`", ":param s: [src_sequence_length, batch_size, src_dim]\n :param h: [batch_size, tgt_dim] or [tgt_sequence_length, batch_size, tgt_di...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the miscs_update_idxs_vals 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 miscs_update_idxs_vals API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Unpack the idxs-vals format into the list of dictionaries that is `misc`. Parameters ---------- idxs_map : dict idxs_map is a dictionary of id->id mappings so that the misc['idxs'] can contain different numbers than the idxs argument.
"Unpack the idxs-vals format into the list of dictionaries that is\n `misc`.\n\n Parameters\n ----------\n idxs_map : dict\n idxs_map is a dictionary of id->id mappings so that the misc['idxs'] can\n contain different numbers than the idxs argument."
587
false
Microsoft/nni
miscs_update_idxs_vals
12,883
LDU_FT/mozilla/configman/error
LDU_FT
[ "<BEGIN>\n## `str_dict_keys`", "return a modified dict where all the keys that are anything but str get\n converted to str.\n E.g.", " >>> result = str_dict_keys({u'name': u'Peter', u'age': 99, 1: 2})\n >>> # can't compare whole dicts in doctests\n >>> result['name']\n u'Peter'\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the error API. 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 error API. 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...
we need to suppress errors that might happen in earlier phases of the expansion/overlay process.
"we need to suppress errors that might happen in earlier phases of\n the expansion/overlay process."
136
false
mozilla/configman
error
12,884
LDU_FT/deepmind/sonnet/count_variables_by_type
LDU_FT
[ "<BEGIN>\n## `generate_code`", "Generates code samples.", " Args:\n max_length: int. max literal length.\n max_nest: int. max nesting level.\n ops: CodeOp. set of allowable operations.", " Returns:\n 1. (str) output value.\n 2. (str) Code operation.\n<END>", "<BEGIN>\n## `get_tokens`", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count_variables_by_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count_variables_by_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Returns a dict mapping dtypes to number of variables and scalars. Args: variables: iterable of `tf.Variable`s, or None. If None is passed, then all global and local variables in the current graph are used. Returns: A dict mapping tf.dtype keys to a dict containing the keys 'num_scalars' and 'n...
"Returns a dict mapping dtypes to number of variables and scalars.\n\n Args:\n variables: iterable of `tf.Variable`s, or None. If None is passed, then all\n global and local variables in the current graph are used.\n\n Returns:\n A dict mapping tf.dtype keys to a dict containing the keys 'num_scalars' and\...
937
false
deepmind/sonnet
count_variables_by_type
12,885
LDU_FT/PyCQA/astroid/visit_str
LDU_FT
[ "<BEGIN>\n## `_handle_blacklist`", "remove files/directories in the black list", " dirnames/filenames are usually from os.walk\n<END>", "<BEGIN>\n## `load_module_from_name`", "Load a Python module from its name.", " :type dotted_name: str\n :param dotted_name: python name of a module or package",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_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 extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_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 extract...
visit a String/Bytes node by returning a fresh instance of Const
"visit a String/Bytes node by returning a fresh instance of Const"
1,051
true
PyCQA/astroid
visit_str
12,886
LDU_FT/ivilata/pymultihash/_do_digest
LDU_FT
[ "<BEGIN>\n## `reset`", "Reset the registry to the standard codecs.\n<END>", "<BEGIN>\n## `register`", "Add a codec to the registry.", " Registers a codec with the given `name` (a string) to be used with the\n given `encode` and `decode` functions, which take a `bytes` object and\n retur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _do_digest API. 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 _do_digest API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Return the binary digest of `data` with the given `func`.
"Return the binary digest of `data` with the given `func`."
59
false
ivilata/pymultihash
_do_digest
12,887
LDU_FT/hammerlab/stancache/_make_digest
LDU_FT
[ "<BEGIN>\n## `_make_digest`", "Creates a digest suitable for use within an :class:`phyles.FSCache`\n object from the key object `k`.", " >>> adict = {'a' : {'b':1}, 'f': []}\n >>> make_digest(adict)\n 'a2VKynHgDrUIm17r6BQ5QcA5XVmqpNBmiKbZ9kTu0A'\n<END>", "<BEGIN>\n## `cached_model_file`", "Given...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_digest API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_digest API. 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...
Creates a digest suitable for use within an :class:`phyles.FSCache` object from the key object `k`. >>> adict = {'a' : {'b':1}, 'f': []} >>> make_digest(adict) 'a2VKynHgDrUIm17r6BQ5QcA5XVmqpNBmiKbZ9kTu0A'
"Creates a digest suitable for use within an :class:`phyles.FSCache`\n object from the key object `k`.\n\n >>> adict = {'a' : {'b':1}, 'f': []}\n >>> make_digest(adict)\n 'a2VKynHgDrUIm17r6BQ5QcA5XVmqpNBmiKbZ9kTu0A'"
15
false
hammerlab/stancache
_make_digest
12,888
LDU_FT/narwhaljames/restapi-logging-handler/emit
LDU_FT
[ "<BEGIN>\n## `serialize`", "JSON serializer for objects not serializable by default json code\n<END>", "<BEGIN>\n## `_getPayload`", "The data that will be sent to the RESTful API\n<END>", "<BEGIN>\n## `_prepPayload`", "record: generated from logger module\n This preps the payload to be formatted in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the emit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the emit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Override emit() method in handler parent for sending log to RESTful API
"Override emit() method in handler parent for sending log to RESTful API"
13
false
narwhaljames/restapi-logging-handler
emit
12,889
LDU_FT/hmartiniano/faz/files_exist
LDU_FT
[ "<BEGIN>\n## `_build_graph`", "Produce a dependency graph based on a list\n of tasks produced by the parser.\n<END>", "<BEGIN>\n## `expand_variables`", "Expand variables in the task code.\n Only variables who use the $[<variable name>] format are expanded.\n Variables using the $<vari...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the files_exist API. 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 files_exist API. 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...
Check if all files in a given list exist.
"Check if all files in a given list exist."
20
false
hmartiniano/faz
files_exist
12,890
LDU_FT/mapbox/rio-color/color
LDU_FT
[ "<BEGIN>\n## `sigmoidal`", "r\"\"\"\n Sigmoidal contrast is type of contrast control that\n adjusts the contrast without saturating highlights or shadows.\n It allows control over two factors:\n the contrast range from light to dark, and where the middle value\n of the mid-tones falls. The result i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the color API. 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 color API. 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...
Color correction Operations will be applied to the src image in the specified order. Available OPERATIONS include: \b "gamma BANDS VALUE" Applies a gamma curve, brightening or darkening midtones. VALUE > 1 brightens the image. \b "sigmoidal BANDS CONTRAST BIAS" Adjusts the contrast a...
"Color correction\n\nOperations will be applied to the src image in the specified order.\n\nAvailable OPERATIONS include:\n\n\\b\n \"gamma BANDS VALUE\"\n Applies a gamma curve, brightening or darkening midtones.\n VALUE > 1 brightens the image.\n\n\\b\n \"sigmoidal BANDS CONTRAST BIAS\"\n Ad...
56
false
mapbox/rio-color
color
12,891
LDU_FT/jrderuiter/pybiomart/list_marts
LDU_FT
[ "<BEGIN>\n## `filters`", "List of filters available for the dataset.\n<END>", "<BEGIN>\n## `attributes`", "List of attributes available for the dataset (cached).\n<END>", "<BEGIN>\n## `default_attributes`", "List of default attributes for the dataset.\n<END>", "<BEGIN>\n## `list_attributes`", "Lists a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_marts API. 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 list_marts API. 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...
Lists available marts in a readable DataFrame format. Returns: pd.DataFrame: Frame listing available marts.
"Lists available marts in a readable DataFrame format.\n\n Returns:\n pd.DataFrame: Frame listing available marts."
27
false
jrderuiter/pybiomart
list_marts
12,892
LDU_FT/wtsi-hgi/python-baton-wrapper/get_by_path
LDU_FT
[ "<BEGIN>\n## `validate_baton_binaries_location`", "Validates that the given directory contains the baton binaries required to use the runner.\n :param baton_binaries_directory: the directory to check\n :return: exception that describes the issue else `None` if no issues\n<END>", "<BEGIN>\n## `_rai...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_by_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_by_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Gets the entity or entities with the given path or paths from iRODS. If one or more of the entities does not exist, a `FileNotFound` exception will be raised. :param paths: the paths of the entities to get from iRODS :param load_metadata: whether metadata associated to the entities should be lo...
"Gets the entity or entities with the given path or paths from iRODS.\n\n If one or more of the entities does not exist, a `FileNotFound` exception will be raised.\n :param paths: the paths of the entities to get from iRODS\n :param load_metadata: whether metadata associated to the entities should ...
71
false
wtsi-hgi/python-baton-wrapper
get_by_path
12,893
LDU_FT/imu-hupeng/cos-python3-sdk/sign_more
LDU_FT
[ "<BEGIN>\n## `create_folder`", "创建目录(https://www.qcloud.com/document/product/436/6061)", " :param dir_name:要创建的目录的目录的名称\n :return 返回True创建成功,返回False创建失败\n<END>", "<BEGIN>\n## `list_folder`", "列目录(https://www.qcloud.com/document/product/436/6062)", " :param dir_name:文件夹名称\n :par...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign_more API. 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 sign_more API. 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...
多次签名(针对上传文件,创建目录, 获取文件目录属性, 拉取目录列表) :param bucket: bucket名称 :param cos_path: 要操作的cos路径, 以'/'开始 :param expired: 签名过期时间, UNIX时间戳, 如想让签名在30秒后过期, 即可将expired设成当前时间加上30秒 :return: 签名字符串
"多次签名(针对上传文件,创建目录, 获取文件目录属性, 拉取目录列表)\n\n :param bucket: bucket名称\n :param cos_path: 要操作的cos路径, 以'/'开始\n :param expired: 签名过期时间, UNIX时间戳, 如想让签名在30秒后过期, 即可将expired设成当前时间加上30秒\n :return: 签名字符串"
24
false
imu-hupeng/cos-python3-sdk
sign_more
12,894
LDU_FT/eyurtsev/FlowCytometryTools/_get_attr_from_file
LDU_FT
[ "<BEGIN>\n## `get_tag_value`", "Extracts the value of a tag from a string.", " Parameters\n -----------------", " pre : str\n regular expression to match before the the tag value", " post : str | list | tuple\n regular expression to match after the the tag value", " if lis...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_attr_from_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_attr_from_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
return values of attribute of self. Attribute values can the ones assigned already, or the read for the corresponding file. If read from file: i) the method used to read the file is 'self.read_[attr name]' (e.g. for an attribute named 'meta' 'self.read_meta' w...
"return values of attribute of self.\n Attribute values can the ones assigned already, or the read for\n the corresponding file.\n If read from file:\n i) the method used to read the file is 'self.read_[attr name]'\n (e.g. for an attribute named 'meta' 'self.read_meta'\n ...
330
false
eyurtsev/FlowCytometryTools
_get_attr_from_file
12,895
LDU_FT/flukso/tmpo-py/dbcon
LDU_FT
[ "<BEGIN>\n## `dbcon`", "Set up connection before executing function, commit and close connection\n afterwards. Unless a connection already has been created.\n<END>", "<BEGIN>\n## `add`", "Add new sensor to the database", " Parameters\n ----------\n sid : str\n SensorId\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dbcon API. 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 dbcon API. 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 connection before executing function, commit and close connection afterwards. Unless a connection already has been created.
"Set up connection before executing function, commit and close connection\n afterwards. Unless a connection already has been created."
36
false
flukso/tmpo-py
dbcon
12,896
LDU_FT/aerkalov/ebooklib/read_epub
LDU_FT
[ "<BEGIN>\n## `write_epub`", "Creates epub file with the content defined in EpubBook.", " >>> ebooklib.write_epub('book.epub', book)", " :Args:\n - name: file name for the output file\n - book: instance of EpubBook\n - options: extra opions as dictionary (optional)\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_epub API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_epub API. 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...
Creates new instance of EpubBook with the content defined in the input file. >>> book = ebooklib.read_epub('book.epub') :Args: - name: full path to the input file - options: extra options as dictionary (optional) :Returns: Instance of EpubBook.
"Creates new instance of EpubBook with the content defined in the input file.\n\n >>> book = ebooklib.read_epub('book.epub')\n\n :Args:\n - name: full path to the input file\n - options: extra options as dictionary (optional)\n\n :Returns:\n Instance of EpubBook."
66
false
aerkalov/ebooklib
read_epub
12,897
LDU_FT/aewallin/allantools/frequency2phase
LDU_FT
[ "<BEGIN>\n## `set_input`", "Set inputs after initialization", " Parameters\n -------\n nr: integer\n length of generated time-series\n number must be power of two\n qd: float\n discrete variance\n b: float\n noise type:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the frequency2phase API. 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 frequency2phase API. 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...
integrate fractional frequency data and output phase data Parameters ---------- freqdata: np.array Data array of fractional frequency measurements (nondimensional) rate: float The sampling rate for phase or frequency, in Hz Returns ------- phasedata: np.array Time i...
"integrate fractional frequency data and output phase data\n\n Parameters\n ----------\n freqdata: np.array\n Data array of fractional frequency measurements (nondimensional)\n rate: float\n The sampling rate for phase or frequency, in Hz\n\n Returns\n -------\n phasedata: np.array\n ...
273
false
aewallin/allantools
frequency2phase
12,898
LDU_FT/mikeywaites/flask-arrested/handle_post_request
LDU_FT
[ "<BEGIN>\n## `process`", "Process the provided data and invoke :meth:`Handler.handle` method for this\n Handler class.", " :params data: The data being processed.\n :returns: self\n :rtype: :class:`Handler`", " .. code-block:: python", " def post(self, *args, **...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_post_request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_post_request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Handle incoming POST request to an Endpoint and marshal the request data via the specified RequestHandler. :meth:`.CreateMixin.save_object`. is then called and must be implemented by mixins implementing this interfce. .. seealso:: :meth:`CreateMixin.save_object` :meth:`...
"Handle incoming POST request to an Endpoint and marshal the request data\n via the specified RequestHandler. :meth:`.CreateMixin.save_object`. is then\n called and must be implemented by mixins implementing this interfce.\n\n .. seealso::\n :meth:`CreateMixin.save_object`\n ...
99
false
mikeywaites/flask-arrested
handle_post_request
12,899
LDU_FT/Crunch-io/crunch-cube/_apply_subtotals
LDU_FT
[ "<BEGIN>\n## `column_mask`", "ndarray, True where column margin <= min_base_size, same shape as slice.\n<END>", "<BEGIN>\n## `table_mask`", "ndarray, True where table margin <= min_base_size, same shape as slice.\n<END>", "<BEGIN>\n## `values`", "list of _ColumnPairwiseSignificance tests.", " Res...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _apply_subtotals API. 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 _apply_subtotals API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
* Insert subtotals (and perhaps other insertions later) for dimensions having their apparent dimension-idx in *include_transforms_for_dims*.
"* Insert subtotals (and perhaps other insertions later) for\n dimensions having their apparent dimension-idx in\n *include_transforms_for_dims*."
334
false
Crunch-io/crunch-cube
_apply_subtotals
12,900
LDU_FT/empirical-org/Quill-NLP-Tools-and-Datasets/detect_infinitive_phrase
LDU_FT
[ "<BEGIN>\n## `_verbs_with_subjects`", "Given a spacy document return the verbs that have subjects\n<END>", "<BEGIN>\n## `mangle_agreement`", "Given a correct sentence, return a sentence or sentences with a subject\n verb agreement error\n<END>", "<BEGIN>\n## `_build_trigram_indices`", "Build a dictiona...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detect_infinitive_phrase 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 detect_infinitive_phrase API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Given a string, return true if it is an infinitive phrase fragment
"Given a string, return true if it is an infinitive phrase fragment"
70
false
empirical-org/Quill-NLP-Tools-and-Datasets
detect_infinitive_phrase
12,901
LDU_FT/videntity/django-djmongo/ip_verification_required
LDU_FT
[ "<BEGIN>\n## `httpauth_login_required`", "Put this decorator before your view to check if the user is logged in\n via httpauth and return a JSON 401 error if he/she is not.\n<END>", "<BEGIN>\n## `ip_verification_required`", "Put this decorator before your view to check if the function is coming from an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ip_verification_required 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 ip_verification_required API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Put this decorator before your view to check if the function is coming from an IP on file
"Put this decorator before your view to check if the function is coming from an IP on file"
24
false
videntity/django-djmongo
ip_verification_required
12,902
LDU_FT/marcharper/python-ternary/bottom_axis_label
LDU_FT
[ "<BEGIN>\n## `normalize`", "Normalizes input list.", " Parameters\n ----------\n l: list\n The list to be normalized", " Returns\n -------\n The normalized list or numpy array", " Raises\n ------\n ValueError, if the list sums to zero\n<END>", "<BEGIN>\n## `simplex_iterat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bottom_axis_label API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bottom_axis_label API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Sets the label on the bottom axis. Parameters ---------- label: String The axis label position: 3-Tuple of floats, None The position of the text label rotation: float, 0 The angle of rotation of the label offset: float, Use...
"Sets the label on the bottom axis.\n\n Parameters\n ----------\n label: String\n The axis label\n position: 3-Tuple of floats, None\n The position of the text label\n rotation: float, 0\n The angle of rotation of the label\n offset: float,\n ...
179
false
marcharper/python-ternary
bottom_axis_label
12,903
LDU_FT/NetEaseGame/ATX/region
LDU_FT
[ "<BEGIN>\n## `main`", "Args:\n - forward(int): local forward port\n - host(string): local forward host\n - listen(int): listen port\n<END>", "<BEGIN>\n## `_init_items`", ".---------------.\n | Ctrl | Screen |\n |------| |\n | Code | |\n | | ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the region API. 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 region API. 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 ...
Set region of the screen area Args: bounds: Bounds object Returns: A new AndroidDevice object Raises: TypeError
"Set region of the screen area\n Args:\n bounds: Bounds object\n\n Returns:\n A new AndroidDevice object\n\n Raises:\n TypeError"
230
false
NetEaseGame/ATX
region
12,904
LDU_FT/tariqdaouda/pyGeno/_dichFind
LDU_FT
[ "<BEGIN>\n## `getGenomeList`", "Return the names of all imported genomes\n<END>", "<BEGIN>\n## `removeDuplicates`", "removes duplicated lines from a 'inFileName' CSV file, the results are witten in 'outFileName\n<END>", "<BEGIN>\n## `catCSVs`", "Concatenates all csv in 'folder' and wites the results in 'o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dichFind API. 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 _dichFind API. 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...
dichotomic search, if lst is None, will return the first position found. If it's a list, will return a list of all positions in lst. returns -1 or [] if no match found
"dichotomic search, if lst is None, will return the first position found. If it's a list, will return a list of all positions in lst. returns -1 or [] if no match found"
167
false
tariqdaouda/pyGeno
_dichFind
12,905
LDU_FT/jreese/tasky/execute
LDU_FT
[ "<BEGIN>\n## `sleep`", "Simple wrapper around `asyncio.sleep()`.\n<END>", "<BEGIN>\n## `stop`", "Cancel the task if it hasn't yet started, or tell it to\n gracefully stop running if it has.\n<END>", "<BEGIN>\n## `task`", "Return a running Task object matching the given name or class.\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API. 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 execute API. 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...
Execute an arbitrary function outside the event loop using a shared Executor.
"Execute an arbitrary function outside the event loop using\n a shared Executor."
42
false
jreese/tasky
execute
12,906
LDU_FT/juicer/juicer/rpm_info
LDU_FT
[ "<BEGIN>\n## `log_wrap`", "DRY: Use magic instead of code to get a string for the correct log\n level when calling ``print_log_msg``. Because writing the same\n boilerplate code in each log_XXX def was too painful to commit.\n<END>", "<BEGIN>\n## `add_repo`", "Build up repos", " `name` - Name o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rpm_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rpm_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Query information about the RPM at `rpm_path`.
"Query information about the RPM at `rpm_path`."
243
false
juicer/juicer
rpm_info
12,907
LDU_FT/python-beaver/python-beaver/_buffer_extract
LDU_FT
[ "<BEGIN>\n## `open`", "Opens the file with the appropriate call\n<END>", "<BEGIN>\n## `_buffer_extract`", "Extract takes an arbitrary string of input data and returns an array of\n tokenized entities, provided there were any available to extract. This\n makes for easy processing of datagrams us...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _buffer_extract API. 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 _buffer_extract API. 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...
Extract takes an arbitrary string of input data and returns an array of tokenized entities, provided there were any available to extract. This makes for easy processing of datagrams using a pattern like: tokenizer.extract(data).map { |entity| Decode(entity) }.each do ...
"Extract takes an arbitrary string of input data and returns an array of\n tokenized entities, provided there were any available to extract. This\n makes for easy processing of datagrams using a pattern like:\n\n tokenizer.extract(data).map { |entity| Decode(entity) }.each do ..."
58
false
python-beaver/python-beaver
_buffer_extract
12,908
LDU_FT/veeti/decent/All
LDU_FT
[ "<BEGIN>\n## `as_dict`", "Returns the error as a path to message dictionary. Paths are joined\n with the ``join`` string.\n<END>", "<BEGIN>\n## `as_dict`", "Returns all the errors in this collection as a path to message\n dictionary. Paths are joined with the ``join`` string.\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the All API. 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 All API. 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...
Combines all the given validator callables into one, running all the validators in sequence on the given value.
"Combines all the given validator callables into one, running all the\n validators in sequence on the given value."
47
false
veeti/decent
All
12,909
LDU_FT/dustin/twitty-twister/replies
LDU_FT
[ "<BEGIN>\n## `__downloadPage`", "Start a HTTP download, returning a HTTPDownloader object\n<END>", "<BEGIN>\n## `__encodeMultipart`", "fields is a sequence of (name, value) elements for regular form fields.\n files is a sequence of (name, filename, value) elements for data to be uploaded as files\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replies API. 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 replies API. 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...
Get the most recent replies for the authenticating user. See search for example of how results are returned.
"Get the most recent replies for the authenticating user.\n\n See search for example of how results are returned."
93
false
dustin/twitty-twister
replies
12,910
LDU_FT/romana/multi-ping/send
LDU_FT
[ "<BEGIN>\n## `multi_ping`", "Combine send and receive measurement into single function.", " This offers a retry mechanism: Overall timeout time is divided by\n number of retries. Additional ICMPecho packets are sent to those\n addresses from which we have not received answers, yet.", " The retry m...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Send pings to multiple addresses, ensuring unique IDs for each request. This operation is non-blocking. Use 'receive' to get the results. Send can be called multiple times. If there are any addresses left from the previous send, from which results have not been received yet, then it wi...
"Send pings to multiple addresses, ensuring unique IDs for each request.\n\n This operation is non-blocking. Use 'receive' to get the results.\n\n Send can be called multiple times. If there are any addresses left from\n the previous send, from which results have not been received yet, then\n ...
28
false
romana/multi-ping
send
12,911
LDU_FT/oscarlazoarjona/fast/read_result
LDU_FT
[ "<BEGIN>\n## `fit_lorentizan`", "Fits a lorentzian curve using p0=[x0,A,gamma] as an initial guess.\r\n\tIt returns a curve with N_points.\n<END>", "<BEGIN>\n## `electric_field_amplitude_gaussian`", "Return the amplitude of the electric field for a Gaussian beam.\r", " This the amplitude at the center of...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_result API. 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 read_result API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
r"""This function reads the results stored in path under file name.dat returning them as a list of N^2 lists of the form [frequency, rho22, rho33, ... rho_N,N-1]. Alternatively it can return only two lists [frequency, rho_i,j,s] where s must be 1 for the real part and -1 for the imaginary part.
"r\"\"\"This function reads the results stored in path under file name.dat\n returning them as a list of N^2 lists of the form\n [frequency, rho22, rho33, ... rho_N,N-1]. Alternatively it can return only\n two lists [frequency, rho_i,j,s] where s must be 1 for the real part and\n -1 for the imaginary part."
668
false
oscarlazoarjona/fast
read_result
12,912
LDU_FT/ScienceLogic/amiuploader/vmdk_to_ami
LDU_FT
[ "<BEGIN>\n## `validate_args`", "Perform necessary validation checks\n :param args:\n :return:\n<END>", "<BEGIN>\n## `vmdk_to_ami`", "Calls methods to perform vmdk import\n :param args:\n :return:\n<END>", "<BEGIN>\n## `parse_image_json`", "parses response output of AWS describe commands and re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vmdk_to_ami API. 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 vmdk_to_ami API. 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...
Calls methods to perform vmdk import :param args: :return:
"Calls methods to perform vmdk import\n :param args:\n :return:"
34
false
ScienceLogic/amiuploader
vmdk_to_ami
12,913
LDU_FT/orbingol/NURBS-Python/matrix_transpose
LDU_FT
[ "<BEGIN>\n## `bspline_to_nurbs`", "Converts non-rational parametric shapes to rational ones.", " :param obj: B-Spline shape\n :type obj: BSpline.Curve, BSpline.Surface or BSpline.Volume\n :return: NURBS shape\n :rtype: NURBS.Curve, NURBS.Surface or NURBS.Volume\n :raises: TypeError\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the matrix_transpose API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the matrix_transpose API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Transposes the input matrix. The input matrix :math:`m` is a 2-dimensional array. :param m: input matrix with dimensions :math:`(n \\times m)` :type m: list, tuple :return: transpose matrix with dimensions :math:`(m \\times n)` :rtype: list
"Transposes the input matrix.\n\n The input matrix :math:`m` is a 2-dimensional array.\n\n :param m: input matrix with dimensions :math:`(n \\\\times m)`\n :type m: list, tuple\n :return: transpose matrix with dimensions :math:`(m \\\\times n)`\n :rtype: list"
809
false
orbingol/NURBS-Python
matrix_transpose
12,914
LDU_FT/langloisjp/tstore/sqlselect
LDU_FT
[ "<BEGIN>\n## `get`", "Return record of given type with key `rid`", " >>> s = teststore()\n >>> s.create('tstoretest', {'id': '1', 'name': 'Toto'})\n >>> r = s.get('tstoretest', '1')\n >>> r['name']\n 'Toto'\n >>> s.get('badcls', '1')\n Traceback (most recent call...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sqlselect API. 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 sqlselect API. 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...
Generates SQL select ... Returns (sql, params) >>> sqlselect('t') ('select * from t', []) >>> sqlselect('t', fields=['name', 'address']) ('select name, address from t', []) >>> sqlselect('t', where={'name': 'Toto', 'country': 'US'}) ('select * from t where country=%s and name=%s', ['US', 'T...
"Generates SQL select ...\n Returns (sql, params)\n\n >>> sqlselect('t')\n ('select * from t', [])\n >>> sqlselect('t', fields=['name', 'address'])\n ('select name, address from t', [])\n >>> sqlselect('t', where={'name': 'Toto', 'country': 'US'})\n ('select * from t where country=%s and name=%s', ...
61
false
langloisjp/tstore
sqlselect
12,915
LDU_FT/azraq27/neural/skull_strip
LDU_FT
[ "<BEGIN>\n## `connectivity_map`", "Will perform connectivity analysis on ``dset`` using seed point ``(x,y,z)`` (in RAI order) with a sphere of radius ``radius``.\n Does not perform any preprocessing of ``dset``. This should be already motion corrected, noise-regressed, residualized, etc.\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the skull_strip API. 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 skull_strip API. 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...
use bet to strip skull from given anatomy
"use bet to strip skull from given anatomy"
232
false
azraq27/neural
skull_strip
12,916
LDU_FT/ytjia/utils-py/get_slide_seg_list_belonged
LDU_FT
[ "<BEGIN>\n## `class_check_para`", "force check accept and return,\n decorator, @class_check_para(accept=, returns=, mail=)\n :param kw:\n :return:\n<END>", "<BEGIN>\n## `decorator_info`", "Convenience function returns nicely formatted error/warning msg.\n :param f_name:\n :param expected:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_slide_seg_list_belonged 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_slide_seg_list_belonged API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
获取该时刻所属的所有时间片列表 :param dt_str: datetime string, eg: 2016-10-31 12:22:11 :param seg_duration: 时间片长度, unit: minute :param slide_step: 滑动步长 :param fmt: datetime string format :return: 时间片列表
"获取该时刻所属的所有时间片列表\n :param dt_str: datetime string, eg: 2016-10-31 12:22:11\n :param seg_duration: 时间片长度, unit: minute\n :param slide_step: 滑动步长\n :param fmt: datetime string format\n :return: 时间片列表"
31
false
ytjia/utils-py
get_slide_seg_list_belonged
12,917
LDU_FT/thunder-project/thunder/topng
LDU_FT
[ "<BEGIN>\n## `fromrdd`", "Load images from a Spark RDD.", " Input RDD must be a collection of key-value pairs\n where keys are singleton tuples indexing images,\n and values are 2d or 3d ndarrays.", " Parameters\n ----------\n rdd : SparkRDD\n An RDD containing the images.", " di...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the topng API. 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 topng API. 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...
Write out PNG files for 2d image data. See also -------- thunder.data.images.topng
"Write out PNG files for 2d image data.\n\n See also\n --------\n thunder.data.images.topng"
420
false
thunder-project/thunder
topng
12,918
LDU_FT/Lagg/steamodd/contents
LDU_FT
[ "<BEGIN>\n## `get`", "Returns context data for a given app, can be an ID or a case insensitive name\n<END>", "<BEGIN>\n## `hash_name`", "The URL-friendly identifier for the item. Generates its own approximation if one isn't available\n<END>", "<BEGIN>\n## `quality`", "Can't really trust presence of a sche...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracte...
Returns the item in the container, if there is one. This will be a standard item object.
"Returns the item in the container, if there is one.\n This will be a standard item object."
49
false
Lagg/steamodd
contents
12,919
LDU_FT/maciejkula/glove-python/fit
LDU_FT
[ "<BEGIN>\n## `read_analogy_file`", "Read the analogy task test set from a file.\n<END>", "<BEGIN>\n## `analogy_rank_score`", "Calculate the analogy rank score for the given set of analogies.", " A rank of zero denotes a perfect score; with random word vectors\n we would expect a rank of 0.5.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Perform a pass through the corpus to construct the cooccurrence matrix. Parameters: - iterable of lists of strings corpus - int window: the length of the (symmetric) context window used for cooccurrence. - bool ignore_missing: whether to ignore words missing from ...
"Perform a pass through the corpus to construct\n the cooccurrence matrix.\n\n Parameters:\n - iterable of lists of strings corpus\n - int window: the length of the (symmetric)\n context window used for cooccurrence.\n - bool ignore_missing: whether to ignore words missing fr...
27
false
maciejkula/glove-python
fit
12,920
LDU_FT/JosuaKrause/quick_cache/write
LDU_FT
[ "<BEGIN>\n## `get_file`", "Returns the file path for the given cache object.\n<END>", "<BEGIN>\n## `remove_all_locks`", "Removes all locks and ensures their content is written to disk.\n<END>", "<BEGIN>\n## `get_hnd`", "Gets a handle for the given cache file with exclusive access.\n The handle i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. 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 write API. 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...
Writes the given object to the cache file as pickle. The cache file with its path is created if needed.
"Writes the given object to the cache file as pickle. The cache file with\n its path is created if needed."
14
false
JosuaKrause/quick_cache
write
12,921
LDU_FT/brian-rose/climlab/lat_bounds
LDU_FT
[ "<BEGIN>\n## `default_absorbers`", "Initialize a dictionary of well-mixed radiatively active gases\n All values are volumetric mixing ratios.", " Ozone is set to a climatology.", " All other gases are assumed well-mixed:", " - CO2\n - CH4\n - N2O\n - O2\n - CFC11\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lat_bounds API. 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 lat_bounds API. 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...
Latitude of grid interfaces (degrees North) :getter: Returns the bounds of axis ``'lat'`` if availible in the process's domains. :type: array :raises: :exc:`ValueError` if no ``'lat'`` axis can be found.
"Latitude of grid interfaces (degrees North)\n\n :getter: Returns the bounds of axis ``'lat'`` if availible in the\n process's domains.\n :type: array\n :raises: :exc:`ValueError`\n if no ``'lat'`` axis can be found."
571
false
brian-rose/climlab
lat_bounds
12,922
LDU_FT/crate/crate-python/_drop_server
LDU_FT
[ "<BEGIN>\n## `coerce`", "Convert plain dictionaries to MutableDict.\n<END>", "<BEGIN>\n## `_raise_for_status`", "make sure that only crate.exceptions are raised that are defined in\n the DB-API specification\n<END>", "<BEGIN>\n## `_server_url`", "Normalizes a given server string to an url", " >>> ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _drop_server API. 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 _drop_server API. 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...
Drop server from active list and adds it to the inactive ones.
"Drop server from active list and adds it to the inactive ones."
81
false
crate/crate-python
_drop_server
12,923
LDU_FT/openstack/monasca-common/decode_offset_commit_response
LDU_FT
[ "<BEGIN>\n## `fmtd_sub_expr_str`", "Get the entire sub expressions as a string with spaces.\n<END>", "<BEGIN>\n## `normalized_operator`", "Get the operator as one of LT, GT, LTE, or GTE.\n<END>", "<BEGIN>\n## `_get_conn`", "Get or create a connection to a broker using host and port\n<END>", "<BEGIN>\n##...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_offset_commit_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_offset_commit_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Decode bytes to an OffsetCommitResponse Arguments: data: bytes to decode
"Decode bytes to an OffsetCommitResponse\n\n Arguments:\n data: bytes to decode"
227
false
openstack/monasca-common
decode_offset_commit_response
12,924
LDU_FT/GetmeUK/MongoFrames/diff_to_html
LDU_FT
[ "<BEGIN>\n## `to_json_type`", "Return a dictionary for the document with values converted to JSON safe\n types.\n<END>", "<BEGIN>\n## `_path_to_value`", "Return a value from a dictionary at the given path\n<END>", "<BEGIN>\n## `_remove_keys`", "Remove a list of keys from a dictionary.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the diff_to_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the diff_to_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 extr...
Return an entry's details in HTML format
"Return an entry's details in HTML format"
121
false
GetmeUK/MongoFrames
diff_to_html
12,925
LDU_FT/grst/geos/get_kml
LDU_FT
[ "<BEGIN>\n## `griditer`", "Iterate through a grid of tiles.", " Args:\n x (int): x start-coordinate\n y (int): y start-coordinate\n ncol (int): number of tile columns\n nrow (int): number of tile rows. If not specified, this\n defaults to ncol, s.t. a quadratic region i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_kml API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_kml API. 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 the KML Document as formatted kml/xml
"Return the KML Document as formatted kml/xml"
153
false
grst/geos
get_kml
12,926
LDU_FT/django-import-export/django-import-export/get_queryset
LDU_FT
[ "<BEGIN>\n## `has_import_permission`", "Returns whether a request has import permission.\n<END>", "<BEGIN>\n## `get_import_resource_kwargs`", "Prepares/returns kwargs used when initializing Resource\n<END>", "<BEGIN>\n## `process_import`", "Perform the actual import action (after the user has confirmed th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_queryset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_queryset API. 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...
Returns a queryset of all objects for this Model. Overwrite this method if you want to limit the pool of objects from which the related object is retrieved. :param value: The field's value in the datasource. :param row: The datasource's current row. As an example; if you'd lik...
"Returns a queryset of all objects for this Model.\n\n Overwrite this method if you want to limit the pool of objects from\n which the related object is retrieved.\n\n :param value: The field's value in the datasource.\n :param row: The datasource's current row.\n\n As an example; if ...
84
false
django-import-export/django-import-export
get_queryset
12,927
LDU_FT/Dynatrace/OneAgent-SDK-for-Python/create_web_application_info
LDU_FT
[ "<BEGIN>\n## `end`", "Ends the tracer.", " May be called in any state. Transitions the state to ended and releases\n any SDK resources owned by this tracer (this includes only internal\n resources, things like passed-in\n :class:`oneagent.common.DbInfoHandle` need to be released manu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_web_application_info 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 create_web_application_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Creates a web application info for use with :meth:`trace_incoming_web_request`. See <https://www.dynatrace.com/support/help/server-side-services/introduction/how-does-dynatrace-detect-and-name-services/#web-request-services> for more information about the meaning of the parameters. ...
"Creates a web application info for use with\n :meth:`trace_incoming_web_request`.\n\n See\n <https://www.dynatrace.com/support/help/server-side-services/introduction/how-does-dynatrace-detect-and-name-services/#web-request-services>\n for more information about the meaning of the parameters...
85
false
Dynatrace/OneAgent-SDK-for-Python
create_web_application_info
12,928
LDU_FT/zengbin93/zb/layer_sizes
LDU_FT
[ "<BEGIN>\n## `layer_sizes`", "Arguments:\n X -- input dataset of shape (input size, number of examples)\n Y -- labels of shape (output size, number of examples)", " Returns:\n n_x -- the size of the input layer\n n_h -- the size of the hidden layer\n n_y -- the size of the output layer\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the layer_sizes API. 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 layer_sizes API. 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...
Arguments: X -- input dataset of shape (input size, number of examples) Y -- labels of shape (output size, number of examples) Returns: n_x -- the size of the input layer n_h -- the size of the hidden layer n_y -- the size of the output layer
"Arguments:\n X -- input dataset of shape (input size, number of examples)\n Y -- labels of shape (output size, number of examples)\n\n Returns:\n n_x -- the size of the input layer\n n_h -- the size of the hidden layer\n n_y -- the size of the output layer"
101
false
zengbin93/zb
layer_sizes
12,929
LDU_FT/coinbase/coinbase-python/get_auth_info
LDU_FT
[ "<BEGIN>\n## `set_primary`", "https://developers.coinbase.com/api/v2#set-account-as-primary\n<END>", "<BEGIN>\n## `modify`", "https://developers.coinbase.com/api#modify-an-account\n<END>", "<BEGIN>\n## `get_address`", "https://developers.coinbase.com/api/v2#show-addresss\n<END>", "<BEGIN>\n## `get_addre...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_auth_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_auth_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
https://developers.coinbase.com/api/v2#show-authorization-information
"https://developers.coinbase.com/api/v2#show-authorization-information"
166
false
coinbase/coinbase-python
get_auth_info
12,930
LDU_FT/btr1975/persistentdatatools/verify_file_exists
LDU_FT
[ "<BEGIN>\n## `verify_file_exists`", "Function to verify if a file exists\n Args:\n file_name: The name of file to check\n file_location: The location of the file, derive from the os module", " Returns: returns boolean True or False\n<END>", "<BEGIN>\n## `file_name_increase`", "Function t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_file_exists API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_file_exists API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Function to verify if a file exists Args: file_name: The name of file to check file_location: The location of the file, derive from the os module Returns: returns boolean True or False
"Function to verify if a file exists\n Args:\n file_name: The name of file to check\n file_location: The location of the file, derive from the os module\n\n Returns: returns boolean True or False"
56
false
btr1975/persistentdatatools
verify_file_exists
12,931
LDU_FT/razor-x/scipy-data_fitting/function
LDU_FT
[ "<BEGIN>\n## `add_symbol`", "Add a symbol with key `name` to `scipy_data_fitting.Model.symbols`.\n Optionally, specify an alternative `string` to pass to [`sympy.Symbol`][1],\n otherwise `name` is used.", " [1]: http://docs.sympy.org/dev/modules/core.html#id4\n<END>", "<BEGIN>\n## `replac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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. The extracte...
The function passed to the `fit_function` specified in `scipy_data_fitting.Fit.options`, and used by `scipy_data_fitting.Fit.pointspace` to generate plots, etc. Its number of arguments and their order is determined by items 1, 2, and 3 as listed in `scipy_data_fitting.Fit.all_variables`. ...
"The function passed to the `fit_function` specified in `scipy_data_fitting.Fit.options`,\n and used by `scipy_data_fitting.Fit.pointspace` to generate plots, etc.\n\n Its number of arguments and their order is determined by items 1, 2, and 3\n as listed in `scipy_data_fitting.Fit.all_variables`.\n...
163
false
razor-x/scipy-data_fitting
function
12,932
LDU_FT/sprymix/metamagic.json/_encode_list
LDU_FT
[ "<BEGIN>\n## `loadb`", "Deserialize ``b`` (instance of ``bytes``) to a Python object.\n<END>", "<BEGIN>\n## `_encode_str`", "Return an ASCII-only JSON representation of a Python string\n<END>", "<BEGIN>\n## `_encode_numbers`", "Returns a JSON representation of a Python number (int, float or Decimal)\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _encode_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _encode_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Returns a JSON representation of a Python list
"Returns a JSON representation of a Python list"
20
false
sprymix/metamagic.json
_encode_list
12,933
LDU_FT/andialbrecht/sqlparse/is_wildcard
LDU_FT
[ "<BEGIN>\n## `_group_matching`", "Groups Tokens that have beginning and end.\n<END>", "<BEGIN>\n## `group_order`", "Group together Identifier and Asc/Desc token\n<END>", "<BEGIN>\n## `_group`", "Groups together tokens that are joined by a middle token. i.e. x < y\n<END>", "<BEGIN>\n## `_reset`", "Set ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_wildcard API. 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 is_wildcard API. 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...
Return ``True`` if this identifier contains a wildcard.
"Return ``True`` if this identifier contains a wildcard."
57
false
andialbrecht/sqlparse
is_wildcard
12,934
LDU_FT/adrn/gala/_init_v
LDU_FT
[ "<BEGIN>\n## `w`", "This returns a single array containing the phase-space positions.", " Parameters\n ----------\n units : `~gala.units.UnitSystem` (optional)\n The unit system to represent the position and velocity in\n before combining into the full array.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init_v API. 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 _init_v API. 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...
Leapfrog updates the velocities offset a half-step from the position updates. If we're given initial conditions aligned in time, e.g. the positions and velocities at the same 0th step, then we have to initially scoot the velocities forward by a half step to prime the integrator. ...
"Leapfrog updates the velocities offset a half-step from the\n position updates. If we're given initial conditions aligned in\n time, e.g. the positions and velocities at the same 0th step,\n then we have to initially scoot the velocities forward by a half\n step to prime the integrator.\n\n...
465
false
adrn/gala
_init_v
12,935
LDU_FT/HazyResearch/fonduer/_preprocess_data
LDU_FT
[ "<BEGIN>\n## `construct_stable_id`", "Contruct a stable ID for a Context given its parent and its character\n offsets relative to the parent.\n<END>", "<BEGIN>\n## `split_stable_id`", "Split stable id, returning:", " * Document (root) stable ID\n * Context polymorphic type\n * Charac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _preprocess_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 ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _preprocess_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 ...
Preprocess the data: 1. Convert sparse feature matrix to dense matrix for pytorch operation. 2. Make sentence with mention into sequence data for LSTM. 3. Select subset of the input if idxs exists. :param X: The input data of the model. :type X: pair with candidates and correspo...
"Preprocess the data:\n 1. Convert sparse feature matrix to dense matrix for pytorch operation.\n 2. Make sentence with mention into sequence data for LSTM.\n 3. Select subset of the input if idxs exists.\n\n :param X: The input data of the model.\n :type X: pair with candidates and c...
540
false
HazyResearch/fonduer
_preprocess_data
12,936
LDU_FT/NetworkAutomation/jaide/compare_config
LDU_FT
[ "<BEGIN>\n## `check_instance`", "Wrapper that tests the type of _session.", " Purpose: This decorator function is used by all functions within\n | the Jaide class that interact with a device to ensure the\n | proper session type is in use. If it is not, it will\n | ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compare_config API. 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 compare_config API. 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...
Execute a 'show | compare' against the specified commands. Purpose: This method will take in string of multiple commands, | and perform and 'show | compare' on the device to show the | differences between the active running configuration and | the changes proposed b...
"Execute a 'show | compare' against the specified commands.\n\n Purpose: This method will take in string of multiple commands,\n | and perform and 'show | compare' on the device to show the\n | differences between the active running configuration and\n | the changes prop...
191
false
NetworkAutomation/jaide
compare_config
12,937
LDU_FT/whtsky/parguments/prompt_pass
LDU_FT
[ "<BEGIN>\n## `command`", "Decorator to add a command function to the registry.", " :param func: command function.\n<END>", "<BEGIN>\n## `add_command`", "Add a command function to the registry.", " :param func: command function.\n :param name: default name of func.\n :param doc:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prompt_pass API. 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 prompt_pass API. 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...
Grabs hidden (password) input from command line. :param name: prompt text :param default: default value if no input provided.
"Grabs hidden (password) input from command line.\n\n :param name: prompt text\n :param default: default value if no input provided."
21
false
whtsky/parguments
prompt_pass
12,938
LDU_FT/gristlabs/asttokens/_iter_non_child_tokens
LDU_FT
[ "<BEGIN>\n## `get_token_from_offset`", "Returns the token containing the given character offset (0-based position in source text),\n or the preceeding token if the position is between tokens.\n<END>", "<BEGIN>\n## `get_token`", "Returns the token containing the given (lineno, col_offset) position, or the p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _iter_non_child_tokens 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 _iter_non_child_tokens API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Generates all tokens in [first_token, last_token] range that do not belong to any children of node. E.g. `foo(bar)` has children `foo` and `bar`, but we would yield the `(`.
"Generates all tokens in [first_token, last_token] range that do not belong to any children of\n node. E.g. `foo(bar)` has children `foo` and `bar`, but we would yield the `(`."
46
false
gristlabs/asttokens
_iter_non_child_tokens
12,939
LDU_FT/wdm0006/git-pandas/branches
LDU_FT
[ "<BEGIN>\n## `repo_name`", "Returns a DataFrame of the repo names present in this project directory", " :return: DataFrame\n<END>", "<BEGIN>\n## `coverage`", "Will return a DataFrame with coverage information (if available) for each repo in the project).", " If there is a .coverage file avai...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the branches API. 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 branches API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns a data frame of all branches in origin. The DataFrame will have the columns: * repository * local * branch :returns: DataFrame
"Returns a data frame of all branches in origin. The DataFrame will have the columns:\n\n * repository\n * local\n * branch\n\n :returns: DataFrame"
123
false
wdm0006/git-pandas
branches
12,940
LDU_FT/billy-yoyo/RainbowSixSiege-Python-API/get_definitions
LDU_FT
[ "<BEGIN>\n## `connect`", "|coro|", " Connect to ubisoft, automatically called when needed\n<END>", "<BEGIN>\n## `get_players`", "|coro|", " get a list of players matching the term on that platform,\n exactly one of uid and name must be given, platform must be given,\n this list...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_definitions API. 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_definitions API. 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...
|coro| Retrieves the list of api definitions, downloading it from Ubisoft if it hasn't been fetched all ready Primarily for internal use, but could contain useful information. Returns ------- dict definitions
"|coro|\n\n Retrieves the list of api definitions, downloading it from Ubisoft if it hasn't been fetched all ready\n Primarily for internal use, but could contain useful information.\n\n Returns\n -------\n dict\n definitions"
87
false
billy-yoyo/RainbowSixSiege-Python-API
get_definitions
12,941
LDU_FT/stephenmcd/django-socketio/send
LDU_FT
[ "<BEGIN>\n## `socketio`", "Socket.IO handler - maintains the lifecycle of a Socket.IO\n request, sending the each of the events. Also handles\n adding/removing request/socket pairs to the CLIENTS dict\n which is used for sending on_finish events when the server\n stops.\n<END>", "<BEGIN>\n## `client...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Send a message to the socket for the given session ID.
"Send a message to the socket for the given session ID."
33
false
stephenmcd/django-socketio
send
12,942
LDU_FT/log2timeline/dfwinreg/GetDataAsObject
LDU_FT
[ "<BEGIN>\n## `_CheckKeyPath`", "Checks the key path find specification.", " Args:\n registry_key (WinRegistryKey): Windows Registry key.\n search_depth (int): number of key path segments to compare.", " Returns:\n bool: True if the Windows Registry key matches the find specification,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetDataAsObject API. 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 GetDataAsObject API. 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...
Retrieves the data as an object. Returns: object: data as a Python type. Raises: WinRegistryValueError: if the value data cannot be read.
"Retrieves the data as an object.\n\n Returns:\n object: data as a Python type.\n\n Raises:\n WinRegistryValueError: if the value data cannot be read."
199
false
log2timeline/dfwinreg
GetDataAsObject
12,943
LDU_FT/PureStorage-OpenConnect/rest-client/truncate_volume
LDU_FT
[ "<BEGIN>\n## `_check_rest_version`", "Validate a REST API version is supported by the library and target array.\n<END>", "<BEGIN>\n## `_choose_rest_version`", "Return the newest REST API version supported by target array.\n<END>", "<BEGIN>\n## `_list_available_rest_versions`", "Return a list of the REST A...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the truncate_volume API. 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 truncate_volume API. 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...
Truncate a volume to a new, smaller size. :param volume: Name of the volume to truncate. :type volume: str :param size: Size in bytes, or string representing the size of the volume to be created. :type size: int or str :returns: A dictionary mapping "name" ...
"Truncate a volume to a new, smaller size.\n\n :param volume: Name of the volume to truncate.\n :type volume: str\n :param size: Size in bytes, or string representing the size of the\n volume to be created.\n :type size: int or str\n\n :returns: A dictionary mappin...
166
false
PureStorage-OpenConnect/rest-client
truncate_volume
12,944
LDU_FT/aacanakin/glim/empty
LDU_FT
[ "<BEGIN>\n## `import_source`", "Function imports a module given full path", " Args\n ----\n module (string): the module name\n path (string): the full path of module\n pass_errors(boolean): the switch for function\n to skip errors or not.", " Returns\n -------\n module (module): the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the empty API. 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 empty API. 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...
Function determines if the dict key exists or it is empty Args ---- key (string): the dict key dict (dict): the dict to be searched
"Function determines if the dict key exists or it is empty\n\n Args\n ----\n key (string): the dict key\n dict (dict): the dict to be searched"
74
false
aacanakin/glim
empty
12,945
LDU_FT/sternoru/goscalecms/make_tls_property
LDU_FT
[ "<BEGIN>\n## `dict`", "Returns dictionary of post fields and attributes\n<END>", "<BEGIN>\n## `get_posts`", "This method returns list of Posts for this Data Source starting at a given offset and not more than limit\n It will call content-specific methods:\n _format() to format output from t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_tls_property API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_tls_property API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Creates a class-wide instance property with a thread-specific value.
"Creates a class-wide instance property with a thread-specific value."
54
false
sternoru/goscalecms
make_tls_property
12,946
LDU_FT/linkedin/luminol/max
LDU_FT
[ "<BEGIN>\n## `_analyze_root_causes`", "Conduct root cause analysis.\n The first metric of the list is taken as the root cause right now.\n<END>", "<BEGIN>\n## `_load`", "Load time series into a TimeSeries object.\n :param timeseries: a TimeSeries, a dictionary or a path to a csv file(str).\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the max API. 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 max API. 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...
Calculate the maximum value over the time series. :param default: Value to return as a default should the calculation not be possible. :return: Float representing the maximum value or `None`.
"Calculate the maximum value over the time series.\n\n :param default: Value to return as a default should the calculation not be possible.\n :return: Float representing the maximum value or `None`."
95
false
linkedin/luminol
max
12,947
LDU_FT/amelchio/pysonos/unsubscribe
LDU_FT
[ "<BEGIN>\n## `iter_actions`", "Yield the service's actions with their arguments.", " Yields:\n `Action`: the next action.", " Each action is an Action namedtuple, consisting of action_name\n (a string), in_args (a list of Argument namedtuples consisting of name\n and arg...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unsubscribe API. 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 unsubscribe API. 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...
Unsubscribe from the service's events. Once unsubscribed, a Subscription instance should not be reused
"Unsubscribe from the service's events.\n\n Once unsubscribed, a Subscription instance should not be reused"
60
false
amelchio/pysonos
unsubscribe
12,948
LDU_FT/markchil/gptools/elementwise_cdf
LDU_FT
[ "<BEGIN>\n## `matern_function`", "r\"\"\"Matern covariance function of arbitrary dimension, for use with :py:class:`ArbitraryKernel`.", " The Matern kernel has the following hyperparameters, always referenced in\n the order listed:", " = ===== ====================================\n 0 sigma prefact...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the elementwise_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 e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the elementwise_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 e...
r"""Convert a sample to random variates uniform on :math:`[0, 1]`. For a univariate distribution, this is simply evaluating the CDF. To facilitate efficient sampling, this function returns a *vector* of CDF values, one value for each variable. Basically, the idea is that, given ...
"r\"\"\"Convert a sample to random variates uniform on :math:`[0, 1]`.\n \n For a univariate distribution, this is simply evaluating the CDF. To\n facilitate efficient sampling, this function returns a *vector* of CDF\n values, one value for each variable. Basically, the idea is that, given\...
496
false
markchil/gptools
elementwise_cdf
12,949
LDU_FT/diamondman/proteusisc/split
LDU_FT
[ "<BEGIN>\n## `_get_adv_trans_stats`", "Utility function to fetch the transfer statistics for the last\n advanced transfer. Checking the stats appears to sync the\n controller. For details on the advanced transfer please refer\n to the documentation at\n http://diamondman.github.io/Adap...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Split a promise into two promises. A tail bit, and the 'rest'. Same operation as the one on TDOPromise, except this works with a collection of promises and splits the appropriate one. Returns: The 'Rest' and the 'Tail'. The 'Rest' is TDOPromiseCollection containing the ...
"Split a promise into two promises. A tail bit, and the 'rest'.\n\n Same operation as the one on TDOPromise, except this works\n with a collection of promises and splits the appropriate one.\n\n Returns:\n The 'Rest' and the 'Tail'.\n The 'Rest' is TDOPromiseCollection contain...
114
false
diamondman/proteusisc
split
12,950
LDU_FT/alvations/pywsd/synset_properties
LDU_FT
[ "<BEGIN>\n## `similarity_by_path`", "Returns maximum path similarity between two senses.", " :param sense1: A synset.\n :param sense2: A synset.\n :param option: String, one of ('path', 'wup', 'lch').\n :return: A float, similarity measurement.\n<END>", "<BEGIN>\n## `similarity_by_infocontent`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the synset_properties API. 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 synset_properties API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Making from NLTK's WordNet Synset's properties to function. Note: This is for compatibility with NLTK 2.x
"Making from NLTK's WordNet Synset's properties to function.\n Note: This is for compatibility with NLTK 2.x"
83
false
alvations/pywsd
synset_properties
12,951
LDU_FT/djaodjin/djaodjin-deployutils/package_theme
LDU_FT
[ "<BEGIN>\n## `filter`", "Adds user and remote_addr to the record.\n<END>", "<BEGIN>\n## `package_theme`", "Package resources and templates for a multi-tier environment\n into a zip file.", " Templates are pre-compiled into ``*build_dir*/*app_name*/templates``.\n Compilation means {% assets '*path*'...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the package_theme API. 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 package_theme API. 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...
Package resources and templates for a multi-tier environment into a zip file. Templates are pre-compiled into ``*build_dir*/*app_name*/templates``. Compilation means {% assets '*path*' %} and {% static '*path*' %} tags are replaced by their compiled expression.
"Package resources and templates for a multi-tier environment\n into a zip file.\n\n Templates are pre-compiled into ``*build_dir*/*app_name*/templates``.\n Compilation means {% assets '*path*' %} and {% static '*path*' %} tags\n are replaced by their compiled expression."
82
false
djaodjin/djaodjin-deployutils
package_theme
12,952
LDU_FT/psss/fmf/get
LDU_FT
[ "<BEGIN>\n## `_initialize`", "Find metadata tree root, detect format version\n<END>", "<BEGIN>\n## `update`", "Update metadata, handle virtual hierarchy\n<END>", "<BEGIN>\n## `get`", "Get attribute value or return default", " Whole data dictionary is returned when no attribute provided.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Get attribute value or return default Whole data dictionary is returned when no attribute provided. Supports direct values retrieval from deep dictionaries as well. Dictionary path should be provided as list. The following two examples are equal: tree.data['hardware']['memory']...
"Get attribute value or return default\n\n Whole data dictionary is returned when no attribute provided.\n Supports direct values retrieval from deep dictionaries as well.\n Dictionary path should be provided as list. The following two\n examples are equal:\n\n tree.data['hardware']['...
28
false
psss/fmf
get
12,953
LDU_FT/pysal/esda/_swap_ending
LDU_FT
[ "<BEGIN>\n## `by_col`", "Function to compute a Join_Count statistic on a dataframe", " Arguments\n ---------\n df : pandas.DataFrame\n a pandas dataframe with a geometry column\n cols : string or list of string\n name ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _swap_ending API. 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 _swap_ending API. 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...
Replace the ending of a string, delimited into an arbitrary number of chunks by `delim`, with the ending provided Parameters ---------- s : string string to replace endings ending : string string used to replace ending of `s` delim : string ...
"Replace the ending of a string, delimited into an arbitrary\n number of chunks by `delim`, with the ending provided\n\n Parameters\n ----------\n s : string\n string to replace endings\n ending : string\n string used to replace ending of `s`\n delim : stri...
192
false
pysal/esda
_swap_ending
12,954
LDU_FT/danielperna84/pyhomematic/set_cover_tilt_position
LDU_FT
[ "<BEGIN>\n## `start`", "Start the server thread if it wasn't created with autostart = True.\n<END>", "<BEGIN>\n## `getSystemVariable`", "Get single system variable from CCU / Homegear\n<END>", "<BEGIN>\n## `deleteSystemVariable`", "Delete a system variable from CCU / Homegear\n<END>", "<BEGIN>\n## `setI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_cover_tilt_position API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_cover_tilt_position API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Seek a specific value by specifying a float() from 0.0 to 1.0.
"Seek a specific value by specifying a float() from 0.0 to 1.0."
83
false
danielperna84/pyhomematic
set_cover_tilt_position
12,955
LDU_FT/ultrabug/py3status/create_output_modules
LDU_FT
[ "<BEGIN>\n## `load_from_file`", "Return user-written class object from given path.\n<END>", "<BEGIN>\n## `prepare_module`", "Ready the module to get it ready to start.\n<END>", "<BEGIN>\n## `error_output`", "Something is wrong with the module so we want to output the error to\n the i3bar\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_output_modules API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_output_modules API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Setup our output modules to allow easy updating of py3modules and i3status modules allows the same module to be used multiple times.
"Setup our output modules to allow easy updating of py3modules and\n i3status modules allows the same module to be used multiple times."
514
false
ultrabug/py3status
create_output_modules
12,956
LDU_FT/aheadley/python-crunchyroll/list_queue
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 list_queue API. 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 list_queue API. 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...
List the series in the queue, optionally filtering by type of media @param list<str> media_types a list of media types to filter the queue with, should be of META.TYPE_* @return list<crunchyroll.models.Series>
"List the series in the queue, optionally filtering by type of media\n\n @param list<str> media_types a list of media types to filter the queue\n with, should be of META.TYPE_*\n @return list<crunchyroll.models.Series>"
100
false
aheadley/python-crunchyroll
list_queue
12,957
LDU_FT/gpoulter/python-ngram/copy
LDU_FT
[ "<BEGIN>\n## `copy`", "Return a new NGram object with the same settings, and\n referencing the same items. Copy is shallow in that\n each item is not recursively copied. Optionally specify\n alternate items to populate the copy.", " >>> from ngram import NGram\n >>> from co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Return a new NGram object with the same settings, and referencing the same items. Copy is shallow in that each item is not recursively copied. Optionally specify alternate items to populate the copy. >>> from ngram import NGram >>> from copy import deepcopy >>> n = NG...
"Return a new NGram object with the same settings, and\n referencing the same items. Copy is shallow in that\n each item is not recursively copied. Optionally specify\n alternate items to populate the copy.\n\n >>> from ngram import NGram\n >>> from copy import deepcopy\n >>...
59
false
gpoulter/python-ngram
copy
12,958
LDU_FT/Kozea/wdb/breaks
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 breaks API. 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 breaks API. 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 True if there's a breakpoint at frame
"Return True if there's a breakpoint at frame"
45
false
Kozea/wdb
breaks
12,959
LDU_FT/wdbm/datavision/_plot_line
LDU_FT
[ "<BEGIN>\n## `normalize_to_range`", "This function normalizes values of a list to a specified range and returns\n the original object if the values are not of the types integer or float.\n<END>", "<BEGIN>\n## `list_element_combinations_variadic`", "This function accepts a specification of lists of elements...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _plot_line API. 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 _plot_line API. 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...
plot line from start = (x0, y0) to end = (x1, y1)
"plot line from start = (x0, y0) to end = (x1, y1)"
29
false
wdbm/datavision
_plot_line
12,960
LDU_FT/vinci1it2000/schedula/_dsp2dot_option
LDU_FT
[ "<BEGIN>\n## `register`", "Creates a :class:`Blueprint.cls` and calls each deferred operation.", " :param obj:\n The initialized object with which to call all deferred operations.\n :type obj: object", " :param memo:\n A dictionary to cache registered Blueprints.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dsp2dot_option API. 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 _dsp2dot_option API. 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...
Used to convert the :dmap: option to auto directives.
"Used to convert the :dmap: option to auto directives."
765
false
vinci1it2000/schedula
_dsp2dot_option
12,961
LDU_FT/vertical-knowledge/ripozo-sqlalchemy/_get_relationships
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 _get_relationships API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_relationships 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...
Gets the necessary relationships for the resource by inspecting the sqlalchemy model for relationships. :param DeclarativeMeta model: The SQLAlchemy ORM model. :return: A tuple of Relationship/ListRelationship instances corresponding to the relationships on the Model. :rtype: tuple
"Gets the necessary relationships for the resource\n by inspecting the sqlalchemy model for relationships.\n\n :param DeclarativeMeta model: The SQLAlchemy ORM model.\n :return: A tuple of Relationship/ListRelationship instances\n corresponding to the relationships on the Model.\n :rtype: tuple"
49
false
vertical-knowledge/ripozo-sqlalchemy
_get_relationships
12,962
LDU_FT/ioos/cc-plugin-ncei/check_recommended_attributes
LDU_FT
[ "<BEGIN>\n## `check_timeseries_id`", "Checks that if a variable exists for the time series id it has the appropriate attributes", " :param netCDF4.Dataset dataset: An open netCDF dataset\n<END>", "<BEGIN>\n## `check_recommended_attributes`", "Feature type specific check of global recommended attribut...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_recommended_attributes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_recommended_attributes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Feature type specific check of global recommended attributes. :param netCDF4.Dataset dataset: An open netCDF dataset
"Feature type specific check of global recommended attributes.\n\n :param netCDF4.Dataset dataset: An open netCDF dataset"
134
false
ioos/cc-plugin-ncei
check_recommended_attributes
12,963
LDU_FT/serhatbolsu/robotframework-appiumlibrary/start_activity
LDU_FT
[ "<BEGIN>\n## `zoom`", "Zooms in on an element a certain amount.\n<END>", "<BEGIN>\n## `swipe`", "Swipe from one point to another point, for an optional duration.\r", " Args:\r\n - start_x - x-coordinate at which to start\r\n - start_y - y-coordinate at which to start\r\n - off...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_activity API. 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 start_activity API. 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...
Opens an arbitrary activity during a test. If the activity belongs to another application, that application is started and the activity is opened. Android only. - _appPackage_ - The package containing the activity to start. - _appActivity_ - The activity to start. - _appWaitPac...
"Opens an arbitrary activity during a test. If the activity belongs to\n another application, that application is started and the activity is opened.\n\n Android only.\n\n - _appPackage_ - The package containing the activity to start.\n - _appActivity_ - The activity to start.\n - _ap...
217
false
serhatbolsu/robotframework-appiumlibrary
start_activity
12,964
LDU_FT/rongcloud/server-sdk-python/queryUser
LDU_FT
[ "<BEGIN>\n## `getToken`", "获取 Token 方法 方法\n @param userId:用户 Id,最大长度 64 字节.是用户在 App 中的唯一标识码,必须保证在同一个 App 内不重复,重复的用户 Id 将被当作是同一用户。(必传)\n @param name:用户名称,最大长度 128 字节.用来在 Push 推送时显示用户的名称.用户名称,最大长度 128 字节.用来在 Push 推送时显示用户的名称。(必传)\n @param portraitUri:用户头像 URI,最大长度 1024 字节.用来在 Push 推送时显示用户的头像。...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the queryUser API. 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 queryUser API. 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...
查询聊天室内用户方法 方法 @param chatroomId:要查询的聊天室 ID。(必传) @param count:要获取的聊天室成员数,上限为 500 ,超过 500 时最多返回 500 个成员。(必传) @param order:加入聊天室的先后顺序, 1 为加入时间正序, 2 为加入时间倒序。(必传) @return code:返回码,200 为正常。 @return total:聊天室中用户数。 @return users:聊天室成员列表。 @return errorMessage:错误信息。
"查询聊天室内用户方法 方法\n @param chatroomId:要查询的聊天室 ID。(必传)\n @param count:要获取的聊天室成员数,上限为 500 ,超过 500 时最多返回 500 个成员。(必传)\n @param order:加入聊天室的先后顺序, 1 为加入时间正序, 2 为加入时间倒序。(必传)\n\t \n @return code:返回码,200 为正常。\n @return total:聊天室中用户数。\n @return users:聊天室成员列表。\n @return errorMessa...
93
false
rongcloud/server-sdk-python
queryUser
12,965
LDU_FT/zyga/guacamole/main
LDU_FT
[ "<BEGIN>\n## `added`", "Ingredient method called before anything else.", " Here this method just builds the full command tree and stores it inside\n the context as the ``cmd_tree`` attribute. The structure of the tree is\n explained by the :func:`build_cmd_tree()` function.\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Shortcut for running a command. See :meth:`guacamole.recipes.Recipe.main()` for details.
"Shortcut for running a command.\n\n See :meth:`guacamole.recipes.Recipe.main()` for details."
104
false
zyga/guacamole
main
12,966
LDU_FT/EventRegistry/event-registry-python/createTopicPage2
LDU_FT
[ "<BEGIN>\n## `compute`", "compute the list of most similar events for the given text\n<END>", "<BEGIN>\n## `getUpdates`", "Get the latest new or updated events from Event Registry\n NOTE: call this method exactly once per minute - calling it more frequently will return the same results multiple times,\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createTopicPage2 API. 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 createTopicPage2 API. 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 a topic page directly, set the article threshold, restrict results to set concepts and keywords
"create a topic page directly, set the article threshold, restrict results to set concepts and keywords"
89
false
EventRegistry/event-registry-python
createTopicPage2
12,967
LDU_FT/jciskey/pygraph/merge_graphs
LDU_FT
[ "<BEGIN>\n## `build_cycle_graph`", "Builds a cycle graph with the specified number of nodes.\n Ref: http://mathworld.wolfram.com/CycleGraph.html\n<END>", "<BEGIN>\n## `build_wheel_graph`", "Builds a wheel graph with the specified number of nodes.\n Ref: http://mathworld.wolfram.com/WheelGraph.html...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_graphs API. 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 merge_graphs API. 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...
Merges an ''addition_graph'' into the ''main_graph''. Returns a tuple of dictionaries, mapping old node ids and edge ids to new ids.
"Merges an ''addition_graph'' into the ''main_graph''.\n Returns a tuple of dictionaries, mapping old node ids and edge ids to new ids."
189
false
jciskey/pygraph
merge_graphs
12,968
LDU_FT/openfisca/openfisca-web-api/make_router
LDU_FT
[ "<BEGIN>\n## `ensure_json_content_type`", "ErrorMiddleware returns hard-coded content-type text/html.\n Here we force it to be application/json.\n<END>", "<BEGIN>\n## `make_app`", "Create a WSGI application and return it", " ``global_conf``\n The inherited configuration for this application. No...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_router API. 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 make_router API. 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...
Return a WSGI application that searches requests to controllers
"Return a WSGI application that searches requests to controllers"
29
false
openfisca/openfisca-web-api
make_router
12,969
LDU_FT/tomislater/RandomWords/make_sentence
LDU_FT
[ "<BEGIN>\n## `load_nouns`", "Load dict from file for random words.", " :param str file: filename\n<END>", "<BEGIN>\n## `load_dmails`", "Load list from file for random mails", " :param str file: filename\n<END>", "<BEGIN>\n## `load_nicknames`", "Load dict from file for random nicknames.",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_sentence API. 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 make_sentence API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Return a sentence from list of words. :param list list_words: list of words :returns: sentence :rtype: str
"Return a sentence from list of words.\n\n :param list list_words: list of words\n :returns: sentence\n :rtype: str"
24
false
tomislater/RandomWords
make_sentence
12,970
LDU_FT/pyslackers/slack-sansio/rtm
LDU_FT
[ "<BEGIN>\n## `register`", "Register a new handler for a specific :class:`slack.actions.Action` `callback_id`.\n Optional routing based on the action name too.", " The name argument is useful for actions of type `interactive_message` to provide\n a different handler for each individual actio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rtm API. 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 rtm API. 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...
Iterate over event from the RTM API Args: url: Websocket connection url bot_id: Connecting bot ID Returns: :class:`slack.events.Event` or :class:`slack.events.Message`
"Iterate over event from the RTM API\n\n Args:\n url: Websocket connection url\n bot_id: Connecting bot ID\n\n Returns:\n :class:`slack.events.Event` or :class:`slack.events.Message`"
113
false
pyslackers/slack-sansio
rtm
12,971
LDU_FT/cloudera/impyla/setOption
LDU_FT
[ "<BEGIN>\n## `drop_database`", "Parameters:\n - name\n - deleteData\n - cascade\n<END>", "<BEGIN>\n## `get_fields`", "Parameters:\n - db_name\n - table_name\n<END>", "<BEGIN>\n## `get_fields_with_environment_context`", "Parameters:\n - db_name\n - table_name\n - environment...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setOption API. 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 setOption API. 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...
Sets an option Parameters: - key - value
"Sets an option\n\n Parameters:\n - key\n - value"
206
false
cloudera/impyla
setOption
12,972