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/oseledets/ttpy/full
LDU_FT
[ "<BEGIN>\n## `kron`", "Kronecker product of two TT-matrices or two TT-vectors\n<END>", "<BEGIN>\n## `dot`", "Dot product of two TT-matrices or two TT-vectors\n<END>", "<BEGIN>\n## `zkron`", "Do kronecker product between cores of two matrices ttA and ttB.\n Look about kronecker at: https://en.wikipedia....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the full API. 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 full API. 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...
Transforms a TT-matrix into a full matrix
"Transforms a TT-matrix into a full matrix"
196
false
oseledets/ttpy
full
4,173
LDU_FT/inveniosoftware/invenio-communities/initialize_communities_bucket
LDU_FT
[ "<BEGIN>\n## `format_item`", "Render a template to a string with the provided item in context.\n<END>", "<BEGIN>\n## `index`", "Index page with uploader and list of existing depositions.\n<END>", "<BEGIN>\n## `generic_item`", "Index page with uploader and list of existing depositions.\n<END>", "<BEGIN>\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initialize_communities_bucket 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 initialize_communities_bucket API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Initialize the communities file bucket. :raises: `invenio_files_rest.errors.FilesException`
"Initialize the communities file bucket.\n\n :raises: `invenio_files_rest.errors.FilesException`"
89
false
inveniosoftware/invenio-communities
initialize_communities_bucket
4,174
LDU_FT/OpenAssets/openassets/deserialize_payload
LDU_FT
[ "<BEGIN>\n## `issue`", "Creates a transaction for issuing an asset.", " :param TransferParameters issuance_spec: The parameters of the issuance.\n :param bytes metadata: The metadata to be embedded in the transaction.\n :param int fees: The fees to include in the transaction.\n :retu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deserialize_payload 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 deserialize_payload 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...
Deserializes the marker output payload. :param bytes payload: A buffer containing the marker output payload. :return: The marker output object. :rtype: MarkerOutput
"Deserializes the marker output payload.\n\n :param bytes payload: A buffer containing the marker output payload.\n :return: The marker output object.\n :rtype: MarkerOutput"
60
false
OpenAssets/openassets
deserialize_payload
4,175
LDU_FT/ynop/audiomate/remove
LDU_FT
[ "<BEGIN>\n## `load`", "Load and return the corpus from the given path.", " Args:\n path (str): Path to the data set to load.", " Returns:\n Corpus: The loaded corpus", " Raises:\n IOError: When the data set is invalid, for example because required files ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Remove the data stored for the given key. Args: key (str): Key of the data to remove. Note: The container has to be opened in advance.
"Remove the data stored for the given key.\n\n Args:\n key (str): Key of the data to remove.\n\n Note:\n The container has to be opened in advance."
619
false
ynop/audiomate
remove
4,176
LDU_FT/albert12132/templar/get_block_dict
LDU_FT
[ "<BEGIN>\n## `applies`", "Checks if this rule applies to the given src and dst paths, based on the src pattern and\n dst pattern given in the constructor.", " If src pattern was None, this rule will apply to any given src path (same for dst).\n<END>", "<BEGIN>\n## `link`", "Links the content f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_block_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_block_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Returns a dictionary of block names (str) to block contents (str) for all child blocks, as well as the original block itself. The block_dict argument is only used for recursive calls and should not
"Returns a dictionary of block names (str) to block contents (str) for all child blocks, as\n well as the original block itself.\n\n The block_dict argument is only used for recursive calls and should not"
130
false
albert12132/templar
get_block_dict
4,177
LDU_FT/mitodl/mit-moira/create_list
LDU_FT
[ "<BEGIN>\n## `user_lists`", "Look up all the lists that the user is a member of.", " Args:\n username (str): The MIT username of the user\n member_type(str): The type of user, \"USER\" or \"STRING\"", " Returns:\n list of strings: names of the lists that this use...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_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 extra...
Create a new list. Args: name (str): The name of the new list description (str): A short description of this list is_active (bool): Should the new list be active? An inactive list cannot be used. is_public (bool): Should the new list be public? ...
"Create a new list.\n\n Args:\n name (str): The name of the new list\n description (str): A short description of this list\n is_active (bool): Should the new list be active?\n An inactive list cannot be used.\n is_public (bool): Should the new list be pu...
29
false
mitodl/mit-moira
create_list
4,178
LDU_FT/B2W-BIT/aiologger/shutdown
LDU_FT
[ "<BEGIN>\n## `format`", "Formats a record and serializes it as a JSON str. If record message isnt\n already a dict, initializes a new dict and uses `default_msg_fieldname`\n as a key as the record msg as the value.\n<END>", "<BEGIN>\n## `formatter_fields_for_record`", ":type record: aiologger.lo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shutdown API. 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 shutdown API. 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...
Perform any cleanup actions in the logging system (e.g. flushing buffers). Should be called at application exit.
"Perform any cleanup actions in the logging system (e.g. flushing\n buffers).\n\n Should be called at application exit."
69
false
B2W-BIT/aiologger
shutdown
4,179
LDU_FT/jgillick/LendingClub/search_string
LDU_FT
[ "<BEGIN>\n## `set_logger`", "Set a logger to send debug messages to", " Parameters\n ----------\n logger : `Logger <http://docs.python.org/2/library/logging.html>`_\n A python logger used to get debugging output from this module.\n<END>", "<BEGIN>\n## `version`", "Return the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_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 ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_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 ext...
Returns the JSON string that LendingClub expects for it's search
"Returns the JSON string that LendingClub expects for it's search"
133
false
jgillick/LendingClub
search_string
4,180
LDU_FT/benfred/implicit/_read_dataframe
LDU_FT
[ "<BEGIN>\n## `download_file`", "Simple wrapper around urlretrieve that uses tqdm to display a progress\n bar of download progress\n<END>", "<BEGIN>\n## `extract_gcc_binaries`", "Try to find GCC on OSX for OpenMP support.\n<END>", "<BEGIN>\n## `set_gcc`", "Try to use GCC on OSX for OpenMP support.\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_dataframe API. 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 _read_dataframe API. 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...
Reads the original dataset PSV as a pandas dataframe
"Reads the original dataset PSV as a pandas dataframe"
87
false
benfred/implicit
_read_dataframe
4,181
LDU_FT/maxfischer2781/include/module2uri
LDU_FT
[ "<BEGIN>\n## `disable`", "Disable an include type", " :param identifier: module or name of the include type\n :param children_only: disable the include type only for child processes, not the current process", " The ``identifier`` can be specified in multiple ways to disable an include typ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the module2uri API. 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 module2uri API. 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...
Convert an encoded module name to an unencoded source uri
"Convert an encoded module name to an unencoded source uri"
40
false
maxfischer2781/include
module2uri
4,182
LDU_FT/klorenz/python-argdeco/execute
LDU_FT
[ "<BEGIN>\n## `add_subcommands`", "add subcommands.", " If command already defined, pass args and kwargs to add_subparsers()\n method, else to add_parser() method. This behaviour is for convenience,\n because I mostly use the sequence:", " >>> p = parser.add_parser('foo', help=\"so...
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...
Parse arguments and execute decorated function argv: list of arguments compile: - None, pass args as keyword args to function - True, pass args as single dictionary - function, get args from parse_args() and return a pair of tuple and dict to be passed ...
"Parse arguments and execute decorated function\n\n argv: list of arguments\n compile:\n - None, pass args as keyword args to function\n - True, pass args as single dictionary\n - function, get args from parse_args() and return a pair of\n tuple and dict to be...
54
false
klorenz/python-argdeco
execute
4,183
LDU_FT/XuShaohua/bcloud/reload_current_page
LDU_FT
[ "<BEGIN>\n## `display_files`", "重新格式化一下文件列表, 去除不需要的信息", " 这一操作主要是为了便于接下来的查找工作.\n 文件的path都被提取出来, 然后放到了一个list中.\n<END>", "<BEGIN>\n## `init_db`", "这个任务数据库只在程序开始时读入, 在程序关闭时导出.", " 因为Gtk没有像在Qt中那么方便的使用SQLite, 而必须将所有数据读入一个\n liststore中才行.\n<END>", "<BEGIN>\n## `get_task_db`", "从数...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reload_current_page API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reload_current_page API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
重新载入当前页面. 所有的页面都应该实现reload()方法.
"重新载入当前页面.\n \n 所有的页面都应该实现reload()方法."
199
false
XuShaohua/bcloud
reload_current_page
4,184
LDU_FT/dls-controls/pymalcolm/resume
LDU_FT
[ "<BEGIN>\n## `camel_to_title`", "Takes a camelCaseFieldName and returns an Title Case Field Name", " Args:\n name (str): E.g. camelCaseFieldName", " Returns:\n str: Title Case converted name. E.g. Camel Case Field Name\n<END>", "<BEGIN>\n## `snake_to_camel`", "Takes a snake_field_name ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resume API. 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 resume API. 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 ...
Resume a paused scan. Normally it will return in Running state. If something goes wrong it will return in Fault state.
"Resume a paused scan.\n\n Normally it will return in Running state. If something goes wrong it\n will return in Fault state."
332
false
dls-controls/pymalcolm
resume
4,185
LDU_FT/openvax/mhcflurry/index_encoding
LDU_FT
[ "<BEGIN>\n## `extend`", "Return a new HyperparameterDefaults instance containing the\n hyperparameters from the current instance combined with\n those from other.", " It is an error if self and other have any hyperparameters in\n common.\n<END>", "<BEGIN>\n## `with_defaults`", "G...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the index_encoding API. 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 index_encoding API. 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...
Encode a sequence of same-length strings to a matrix of integers of the same shape. The map from characters to integers is given by `letter_to_index_dict`. Given a sequence of `n` strings all of length `k`, return a `k * n` array where the (`i`, `j`)th element is `letter_to_index_dict[sequence[i][j]]`....
"Encode a sequence of same-length strings to a matrix of integers of the\n same shape. The map from characters to integers is given by\n `letter_to_index_dict`.\n\n Given a sequence of `n` strings all of length `k`, return a `k * n` array where\n the (`i`, `j`)th element is `letter_to_index_dict[sequence[i]...
272
false
openvax/mhcflurry
index_encoding
4,186
LDU_FT/farshidce/touchworks-python/get_task_list
LDU_FT
[ "<BEGIN>\n## `get_token`", "get the security token by connecting to TouchWorks API\n<END>", "<BEGIN>\n## `_token_valid`", "checks if the token cached is valid or has expired by comparing\n the time token was created with current time\n :return: True if token has not expired yet and False is toke...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_task_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 ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_task_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 ext...
invokes TouchWorksMagicConstants.ACTION_GET_TASK_LIST action :param since - If given a datetime, retrieves only tasks created (or last modified) after that date and time. Defaults to 1/1/1900. :param task_status - Optional list of pipe-delimited task status names. For example, "A...
"invokes TouchWorksMagicConstants.ACTION_GET_TASK_LIST action\n :param since - If given a datetime, retrieves only tasks created (or last modified)\n after that date and time. Defaults to 1/1/1900.\n :param task_status - Optional list of pipe-delimited task status names.\n For exampl...
72
false
farshidce/touchworks-python
get_task_list
4,187
LDU_FT/flaviogrossi/sockjs-cyclone/create_session
LDU_FT
[ "<BEGIN>\n## `enable_cache`", "Enable client-side caching for the current request\n<END>", "<BEGIN>\n## `flush`", "Add accumulator to the moving average queue and reset it. For\n example, called by the StatsCollector once per second to calculate\n per-second average.\n<END>", "<BEGIN>\n## `cre...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_session API. 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 create_session API. 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...
Creates new session object and returns it. @param session_id: Session id. If not provided, will generate a new session id. @param register: Should be the session registered in a storage. Websockets don't need it. @param session_factory: Use ...
"Creates new session object and returns it.\n\n @param session_id: Session id. If not provided, will generate a\n new session id.\n\n @param register: Should be the session registered in a storage.\n Websockets don't need it.\n\n @param session_fact...
56
false
flaviogrossi/sockjs-cyclone
create_session
4,188
LDU_FT/bgreenlee/pygtail/_check_rotated_filename_candidates
LDU_FT
[ "<BEGIN>\n## `next`", "Return the next line in the file, updating the offset.\n<END>", "<BEGIN>\n## `read`", "Read in all unread lines and return them as a single string.\n<END>", "<BEGIN>\n## `_filehandle`", "Return a filehandle to the file being tailed, with the position set\n to the current offs...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_rotated_filename_candidates API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_rotated_filename_candidates API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its...
Check for various rotated logfile filename patterns and return the first match we find.
"Check for various rotated logfile filename patterns and return the first\n match we find."
12
false
bgreenlee/pygtail
_check_rotated_filename_candidates
4,189
LDU_FT/gwastro/pycbc/create_segs_from_cats_job
LDU_FT
[ "<BEGIN>\n## `compute_u_val_for_sky_loc_stat`", "The max-over-sky location detection statistic maximizes over a phase,\n an amplitude and the ratio of F+ and Fx, encoded in a variable called u.\n Here we return the value of u for the given indices.\n<END>", "<BEGIN>\n## `compute_max_snr_over_sky_loc_stat_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_segs_from_cats_job API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_segs_from_cats_job API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
This function creates the CondorDAGJob that will be used to run ligolw_segments_from_cats as part of the workflow Parameters ----------- cp : pycbc.workflow.configuration.WorkflowConfigParser The in-memory representation of the configuration (.ini) files out_dir : path Directory in ...
"This function creates the CondorDAGJob that will be used to run\n ligolw_segments_from_cats as part of the workflow\n\n Parameters\n -----------\n cp : pycbc.workflow.configuration.WorkflowConfigParser\n The in-memory representation of the configuration (.ini) files\n out_dir : path\n Dire...
4,120
true
gwastro/pycbc
create_segs_from_cats_job
4,190
LDU_FT/wecatch/app-turbo/register_url
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 register_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
insert url into tornado application handlers group :arg str url: url :handler object handler: url mapping handler :name reverse url name :kwargs dict tornado handler initlize args
"insert url into tornado application handlers group\n\n :arg str url: url\n :handler object handler: url mapping handler\n :name reverse url name\n :kwargs dict tornado handler initlize args"
43
false
wecatch/app-turbo
register_url
4,191
LDU_FT/rsinger86/django-lifecycle/_descriptor_names
LDU_FT
[ "<BEGIN>\n## `initial_value`", "Get initial value of field when model was instantiated.\n<END>", "<BEGIN>\n## `has_changed`", "Check if a field has changed since the model was instantiated.\n<END>", "<BEGIN>\n## `_property_names`", "Gather up properties and cached_properties which may be methods\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _descriptor_names API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _descriptor_names API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Attributes which are Django descriptors. These represent a field which is a one-to-many or many-to-many relationship that is potentially defined in another model, and doesn't otherwise appear as a field on this model.
"Attributes which are Django descriptors. These represent a field\n which is a one-to-many or many-to-many relationship that is\n potentially defined in another model, and doesn't otherwise appear\n as a field on this model."
10
false
rsinger86/django-lifecycle
_descriptor_names
4,192
LDU_FT/mongolab/dex/generate_query_report
LDU_FT
[ "<BEGIN>\n## `generate_query_report`", "Generates a comprehensive report on the raw query\n<END>", "<BEGIN>\n## `_ensure_index_cache`", "Adds a collections index entries to the cache if not present\n<END>", "<BEGIN>\n## `_generate_query_analysis`", "Translates a raw query object into a Dex query analysis\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_query_report 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 generate_query_report 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 a comprehensive report on the raw query
"Generates a comprehensive report on the raw query"
30
false
mongolab/dex
generate_query_report
4,193
LDU_FT/dhain/potpy/match
LDU_FT
[ "<BEGIN>\n## `inject`", "Inject arguments from context into a callable.", " :param func: The callable to inject arguments into.\n :param \\*\\*kwargs: Specify values to override context items.\n<END>", "<BEGIN>\n## `match`", "Match a string against the template.", " If the string matc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API. 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 match API. 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...
Check for a method match. :param methods: A method or tuple of methods to match against. :param request_method: The method to check for a match. :returns: An empty :class:`dict` in the case of a match, or ``None`` if there is no matching handler for the given method. Exampl...
"Check for a method match.\n\n :param methods: A method or tuple of methods to match against.\n :param request_method: The method to check for a match.\n :returns: An empty :class:`dict` in the case of a match, or ``None``\n if there is no matching handler for the given method.\n\n ...
45
false
dhain/potpy
match
4,194
LDU_FT/mtien/PeptideBuilder/geometry
LDU_FT
[ "<BEGIN>\n## `initialize_res`", "Creates a new structure containing a single amino acid. The type and\n geometry of the amino acid are determined by the argument, which has to be\n either a geometry object or a single-letter amino acid code.\n The amino acid will be placed into chain A of model 0.\n<END>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geometry API. 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 geometry API. 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...
Generates the geometry of the requested amino acid. The amino acid needs to be specified by its single-letter code. If an invalid code is specified, the function returns the geometry of Glycine.
"Generates the geometry of the requested amino acid.\n The amino acid needs to be specified by its single-letter\n code. If an invalid code is specified, the function\n returns the geometry of Glycine."
16
false
mtien/PeptideBuilder
geometry
4,195
LDU_FT/skggm/skggm/trace_plot
LDU_FT
[ "<BEGIN>\n## `log_likelihood`", "Computes the log-likelihood between the covariance and precision\n estimate.", " Parameters\n ----------\n covariance : 2D ndarray (n_features, n_features)\n Maximum Likelihood Estimator of covariance", " precision : 2D ndarray (n_features, n_features)\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trace_plot API. 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 trace_plot API. 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 the change in precision (or covariance) coefficients as a function of changing lambda and l1-norm. Always ignores diagonals. Parameters ----------- precisions : array of len(path) 2D ndarray, shape (n_features, n_features) This is either precision_ or covariance_ from an InverseCovariance...
"Plot the change in precision (or covariance) coefficients as a function\n of changing lambda and l1-norm. Always ignores diagonals.\n\n Parameters\n -----------\n precisions : array of len(path) 2D ndarray, shape (n_features, n_features)\n This is either precision_ or covariance_ from an InverseCov...
239
false
skggm/skggm
trace_plot
4,196
LDU_FT/SuLab/WikidataIntegrator/delete_statement
LDU_FT
[ "<BEGIN>\n## `on_exception`", "Returns decorator for backoff and retry triggered by exception.", " Args:\n wait_gen: A generator yielding successive wait times in\n seconds.\n exception: An exception type (or tuple of types) which triggers\n backoff.\n max_tries: Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_statement API. 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 delete_statement API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
This serves as an alternative constructor for WDBaseDataType with the only purpose of holding a WD property number and an empty string value in order to indicate that the whole statement with this property number of a WD item should be deleted. :param prop_nr: A WD property number as string ...
"This serves as an alternative constructor for WDBaseDataType with the only purpose of holding a WD property\n number and an empty string value in order to indicate that the whole statement with this property number of a\n WD item should be deleted.\n :param prop_nr: A WD property number as string\...
114
false
SuLab/WikidataIntegrator
delete_statement
4,197
LDU_FT/kumar303/mohawk/calculate_mac
LDU_FT
[ "<BEGIN>\n## `respond`", "Respond to the request.", " This generates the :attr:`mohawk.Receiver.response_header`\n attribute.", " :param content=EmptyValue: Byte string of response body that will be sent.\n :type content=EmptyValue: str", " :param content_type=EmptyValue: ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_mac API. 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 calculate_mac API. 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...
Calculates a message authorization code (MAC).
"Calculates a message authorization code (MAC)."
42
false
kumar303/mohawk
calculate_mac
4,198
LDU_FT/facebook/pyre-check/_add_trace_frame
LDU_FT
[ "<BEGIN>\n## `log_time`", "Log the time it takes to run a function. It's sort of like timeit, but\n prettier.\n<END>", "<BEGIN>\n## `daemonize`", "We double-fork here to detach the daemon process from the parent.\n If we were to just fork the child as a daemon, we'd have to worry about the\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_trace_frame API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_trace_frame API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Copies the trace frame from 'graph' to this (self) graph. Also copies all the trace_frame-leaf assocs since we don't know which ones are needed until we know the issue that reaches it
"Copies the trace frame from 'graph' to this (self) graph.\n Also copies all the trace_frame-leaf assocs since we don't\n know which ones are needed until we know the issue that reaches it"
150
false
facebook/pyre-check
_add_trace_frame
4,199
LDU_FT/tus/tus-py-client/remove_item
LDU_FT
[ "<BEGIN>\n## `headers`", "Return headers of the uploader instance. This would include the headers of the\n client instance.\n<END>", "<BEGIN>\n## `headers_as_list`", "Does the same as 'headers' except it is returned as a list.\n<END>", "<BEGIN>\n## `get_offset`", "Return offset from tus server.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_item API. 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 remove_item API. 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...
Remove/Delete the url value under the unique key from storage.
"Remove/Delete the url value under the unique key from storage."
34
false
tus/tus-py-client
remove_item
4,200
LDU_FT/napalm-automation/napalm-logs/setval
LDU_FT
[ "<BEGIN>\n## `_setup_ipc`", "Setup the IPC pub and sub.\n Subscript to the listener IPC\n and publish to the device specific IPC.\n<END>", "<BEGIN>\n## `_compile_prefixes`", "Create a dict of all OS prefixes and their compiled regexs\n<END>", "<BEGIN>\n## `_identify_prefix`", "Check the mess...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setval API. 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 setval API. 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 a value under the dictionary hierarchy identified under the key. The target 'foo/bar/baz' returns the dictionary hierarchy {'foo': {'bar': {'baz': {}}}}. .. note:: Currently this doesn't work with integers, i.e. cannot build lists dynamically. TODO
"Set a value under the dictionary hierarchy identified\n under the key. The target 'foo/bar/baz' returns the\n dictionary hierarchy {'foo': {'bar': {'baz': {}}}}.\n\n .. note::\n\n Currently this doesn't work with integers, i.e.\n cannot build lists dynamically.\n TODO"
82
false
napalm-automation/napalm-logs
setval
4,201
LDU_FT/jbittel/django-mama-cas/validate_proxy_granting_ticket
LDU_FT
[ "<BEGIN>\n## `get`", "(2.1) As a credential requestor, /login accepts three optional\n parameters:", " 1. ``service``: the identifier of the application the client is\n accessing. We assume this identifier to be a URL.\n 2. ``renew``: requires a client to present credentials\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_proxy_granting_ticket API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_proxy_granting_ticket API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Validate a proxy granting ticket string. Return an ordered pair containing a ``ProxyTicket``, or a ``ValidationError`` if ticket validation failed.
"Validate a proxy granting ticket string. Return an ordered pair\n containing a ``ProxyTicket``, or a ``ValidationError`` if ticket\n validation failed."
86
false
jbittel/django-mama-cas
validate_proxy_granting_ticket
4,202
LDU_FT/ascribe/pyspool/_get_time_utc
LDU_FT
[ "<BEGIN>\n## `address_from_path`", "Args:\n path (str): Path for the HD wallet. If path is ``None`` it\n will generate a unique path based on time.", " Returns:\n A ``tuple`` with the path and leaf address.\n<END>", "<BEGIN>\n## `_unique_hierarchical_string`", "Re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_time_utc API. 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_time_utc API. 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...
Convert a string representation of the time (as returned by blockr.io api) into unix timestamp. Args: time_utc_str (str): String representation of the time, with the format: `'%Y-%m-%dT%H:%M:%S %Z'`. Returns: int: Unix timestamp.
"Convert a string representation of the time (as returned by\n blockr.io api) into unix timestamp.\n\n Args:\n time_utc_str (str): String representation of the time, with the\n format: `'%Y-%m-%dT%H:%M:%S %Z'`.\n\n Returns:\n int: Unix timestamp."
79
false
ascribe/pyspool
_get_time_utc
4,203
LDU_FT/benvanwerkhoven/kernel_tuner/tune
LDU_FT
[ "<BEGIN>\n## `tune`", "Find the best performing kernel configuration in the parameter space", " :params runner: A runner from kernel_tuner.runners\n :type runner: kernel_tuner.runner", " :param kernel_options: A dictionary with all options for the kernel.\n :type kernel_options: dict", " :par...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tune API. 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 tune API. 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...
Find the best performing kernel configuration in the parameter space :params runner: A runner from kernel_tuner.runners :type runner: kernel_tuner.runner :param kernel_options: A dictionary with all options for the kernel. :type kernel_options: dict :param device_options: A dictionary with all op...
"Find the best performing kernel configuration in the parameter space\n\n :params runner: A runner from kernel_tuner.runners\n :type runner: kernel_tuner.runner\n\n :param kernel_options: A dictionary with all options for the kernel.\n :type kernel_options: dict\n\n :param device_options: A dictionary wi...
294
false
benvanwerkhoven/kernel_tuner
tune
4,204
LDU_FT/ternaris/marv/create_stream
LDU_FT
[ "<BEGIN>\n## `encode_setid`", "Encode uint128 setid as stripped b32encoded string\n<END>", "<BEGIN>\n## `marvcli_cleanup`", "Cleanup unused tags and discarded datasets.\n<END>", "<BEGIN>\n## `marvcli_develop_server`", "Run development webserver.", " ATTENTION: By default it is only served on localhos...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_stream API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_stream API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Create a stream for publishing messages. All keyword arguments will be used to form the header.
"Create a stream for publishing messages.\n\n All keyword arguments will be used to form the header."
76
false
ternaris/marv
create_stream
4,205
LDU_FT/stephan-mclean/KickassTorrentsAPI/_parse_details
LDU_FT
[ "<BEGIN>\n## `_get_soup`", "Return BeautifulSoup object for given page\n<END>", "<BEGIN>\n## `search`", "Return a search result for term in category. Can also be\n\t\tsorted and span multiple pages.\n<END>", "<BEGIN>\n## `popular`", "Return a search result containing torrents appearing\n\t\ton the KAT hom...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_details API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_details API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Given a list of tags from either a search page or the KAT home page parse the details and return a list of Torrents
"Given a list of tags from either a search page or the\n\t\t KAT home page parse the details and return a list of\n\t\t Torrents"
16
false
stephan-mclean/KickassTorrentsAPI
_parse_details
4,206
LDU_FT/PonteIneptique/collatinus-python/ajModeles
LDU_FT
[ "<BEGIN>\n## `assims`", "Cherche si la chaîne a peut subir une assimilation, renvoie cette chaîne éventuellement assimilée.", " :param mot: Mot pour lequel on doit vérifier des assimilations\n :type mot: str\n :return: Mot assimilé\n :rtype: str\n<END>", "<BEGIN>\n## `morpho`", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ajModeles API. 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 ajModeles API. 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...
Lecture des modèles, et enregistrement de leurs désinences
"Lecture des modèles, et enregistrement de leurs désinences"
109
false
PonteIneptique/collatinus-python
ajModeles
4,207
LDU_FT/google/apitools/__FinalizeRequest
LDU_FT
[ "<BEGIN>\n## `_urljoin`", "Custom urljoin replacement supporting : before / in url.\n<END>", "<BEGIN>\n## `_SetCredentials`", "Fetch credentials, and set them for this client.", " Note that we can't simply return credentials, since creating them\n may involve side-effecting self.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __FinalizeRequest API. 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 __FinalizeRequest API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Make any final general adjustments to the request.
"Make any final general adjustments to the request."
629
false
google/apitools
__FinalizeRequest
4,208
LDU_FT/snobear/ezmomi/add_boolean_argument
LDU_FT
[ "<BEGIN>\n## `add_boolean_argument`", "Add a boolean argument to an ArgumentParser instance.\n<END>", "<BEGIN>\n## `list_objects`", "Command Section: list\n List available VMware objects\n<END>", "<BEGIN>\n## `clone`", "Command Section: clone\n Clone a VM from a template\n<END>", "<BEGIN>\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_boolean_argument 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 add_boolean_argument API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Add a boolean argument to an ArgumentParser instance.
"Add a boolean argument to an ArgumentParser instance."
19
false
snobear/ezmomi
add_boolean_argument
4,209
LDU_FT/wq/django-natural-keys/resolve_keys
LDU_FT
[ "<BEGIN>\n## `get_by_natural_key`", "Return the object corresponding to the provided natural key.", " (This is a generic implementation of the standard Django function)\n<END>", "<BEGIN>\n## `create_by_natural_key`", "Create a new object from the provided natural key values. If the\n natural ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_keys API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_keys API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Resolve the list of given keys into objects, if possible. Returns a mapping and a success indicator.
"Resolve the list of given keys into objects, if possible.\n Returns a mapping and a success indicator."
14
false
wq/django-natural-keys
resolve_keys
4,210
LDU_FT/msztolcman/versionner/read
LDU_FT
[ "<BEGIN>\n## `parse_args`", "Parse input arguments of script.", " :param args: list of parameters\n :type: argparse.Namespace\n :param cfg: configuration storage\n :type: Config\n<END>", "<BEGIN>\n## `_find_project_config_file`", "Find path to project-wide config file\n Search from current wo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Read version from version file :rtype : Version :return:
"Read version from version file\n\n :rtype : Version\n :return:"
61
false
msztolcman/versionner
read
4,211
LDU_FT/brmscheiner/ideogram/getImportFromObjects
LDU_FT
[ "<BEGIN>\n## `traversal`", "Tree traversal function that generates nodes. For each subtree, the \n deepest node is evaluated first. Then, the next-deepest nodes are \n evaluated until all the nodes in the subtree are generated.\n<END>", "<BEGIN>\n## `firstPass`", "Return a dictionary of function definit...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getImportFromObjects 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 getImportFromObjects 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 list of objects referenced by import from node
"Returns a list of objects referenced by import from node"
50
false
brmscheiner/ideogram
getImportFromObjects
4,212
LDU_FT/getsentry/libsourcemap/lookup
LDU_FT
[ "<BEGIN>\n## `from_json`", "Parses a JSON string into either a view or an index. If auto flatten\n is enabled a sourcemap index that does not contain external references is\n automatically flattened into a view. By default if an index would be\n returned an `IndexedSourceMap` error is raised instead wh...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lookup API. 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 lookup API. 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 ...
Given a dotted path in the format ``class_name`` or ``class_name:method_name`` this performs an alias lookup. For methods the line number must be supplied or the result is unreliable.
"Given a dotted path in the format ``class_name`` or\n ``class_name:method_name`` this performs an alias lookup. For\n methods the line number must be supplied or the result is\n unreliable."
22
false
getsentry/libsourcemap
lookup
4,213
LDU_FT/openego/eTraGo/geolocation_buses
LDU_FT
[ "<BEGIN>\n## `tsam_cluster`", "Parameters\n ----------\n df : pd.DataFrame\n DataFrame with timeseries to cluster", " Returns\n -------\n timeseries : pd.DataFrame\n Clustered timeseries\n<END>", "<BEGIN>\n## `update_data_frames`", "Updates the snapshots, snapshots weights and t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geolocation_buses API. 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 geolocation_buses API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
If geopandas is installed: Use Geometries of buses x/y(lon/lat) and Polygons of Countries from RenpassGisParameterRegion in order to locate the buses Else: Use coordinats of buses to locate foreign buses, which is less accurate. Parameters ---------- network_etrago: : class: `e...
"If geopandas is installed:\n Use Geometries of buses x/y(lon/lat) and Polygons\n of Countries from RenpassGisParameterRegion\n in order to locate the buses\n\n Else:\n Use coordinats of buses to locate foreign buses, which is less accurate.\n\n Parameters\n ----------\n network_etrago: ...
318
false
openego/eTraGo
geolocation_buses
4,214
LDU_FT/msoulier/tftpy/upload
LDU_FT
[ "<BEGIN>\n## `parse`", "This method is used to parse an existing datagram into its\n corresponding TftpPacket object. The buffer is the raw bytes off of\n the network.\n<END>", "<BEGIN>\n## `__create`", "This method returns the appropriate class object corresponding to\n the passed opcode...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload API. 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 upload API. 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 ...
This method initiates a tftp upload to the configured remote host, uploading the filename passed. It reads the file from input, which can be a file-like object or a path to a local file. If a packethook is provided, it must be a function that takes a single parameter, which will be a cop...
"This method initiates a tftp upload to the configured remote host,\n uploading the filename passed. It reads the file from input, which\n can be a file-like object or a path to a local file. If a packethook\n is provided, it must be a function that takes a single parameter,\n which will be ...
70
false
msoulier/tftpy
upload
4,215
LDU_FT/MozillaSecurity/fuzzfetch/unlink
LDU_FT
[ "<BEGIN>\n## `_si`", "Format a number using base-2 SI prefixes\n<END>", "<BEGIN>\n## `_extract_file`", "Extract files while explicitly setting the proper permissions\n<END>", "<BEGIN>\n## `build_string`", "Taskcluster denotes builds in one of two formats - i.e. linux64-asan or linux64-asan-opt\n Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unlink API. 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 unlink API. 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 ...
os.unlink() but handle junction points on Windows.
"os.unlink() but handle junction points on Windows."
60
false
MozillaSecurity/fuzzfetch
unlink
4,216
LDU_FT/fabiobatalha/crossrefapi/works
LDU_FT
[ "<BEGIN>\n## `version`", "This attribute retrieve the API version.", " >>> Works().version\n '1.0.0'\n<END>", "<BEGIN>\n## `count`", "This method retrieve the total of records resulting from a given query.", " This attribute can be used compounded with query, filter,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the works API. 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 works API. 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...
This method retrieve a iterable of Works of the given journal. args: Journal ISSN (String) return: Works()
"This method retrieve a iterable of Works of the given journal.\n\n args: Journal ISSN (String)\n\n return: Works()"
108
false
fabiobatalha/crossrefapi
works
4,217
LDU_FT/Arello-Mobile/swagger2rst/get_regular_properties
LDU_FT
[ "<BEGIN>\n## `get_type_properties`", "Get internal properties of property (extended in schema)", " :param dict property_obj: raw property object\n :param str name: name of property\n :param bool additional_prop: recursion's param\n :return: Type, format and internal properties of pro...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_regular_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....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_regular_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....
Make table with properties by schema_id :param str _type: :rtype: str
"Make table with properties by schema_id\n :param str _type:\n :rtype: str"
47
false
Arello-Mobile/swagger2rst
get_regular_properties
4,218
LDU_FT/tyiannak/pyAudioAnalysis/stSpectogram
LDU_FT
[ "<BEGIN>\n## `recordAnalyzeAudio`", "recordAnalyzeAudio(duration, outputWavFile, midTermBufferSizeSec, modelName, modelType)", "\tThis function is used to record and analyze audio segments, in a fix window basis.", "\tARGUMENTS: \n\t- duration\t\t\ttotal recording duration\n\t- outputWavFile\t\t\tpath of the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stSpectogram API. 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 stSpectogram API. 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...
Short-term FFT mag for spectogram estimation: Returns: a numpy array (nFFT x numOfShortTermWindows) ARGUMENTS: signal: the input signal samples fs: the sampling freq (in Hz) win: the short-term window size (in samples) step: the short-term win...
"Short-term FFT mag for spectogram estimation:\n Returns:\n a numpy array (nFFT x numOfShortTermWindows)\n ARGUMENTS:\n signal: the input signal samples\n fs: the sampling freq (in Hz)\n win: the short-term window size (in samples)\n step: the short-...
99
false
tyiannak/pyAudioAnalysis
stSpectogram
4,219
LDU_FT/KoffeinFlummi/Chronyk/_strftime
LDU_FT
[ "<BEGIN>\n## `_mktime`", "Custom mktime because Windows can't be arsed to properly do pre-Epoch\n dates, probably because it's busy counting all its chromosomes.\n<END>", "<BEGIN>\n## `_strftime`", "Custom strftime because Windows is shit again.\n<END>", "<BEGIN>\n## `_dtfromtimestamp`", "Custom dateti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _strftime API. 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 _strftime API. 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...
Custom strftime because Windows is shit again.
"Custom strftime because Windows is shit again."
43
false
KoffeinFlummi/Chronyk
_strftime
4,220
LDU_FT/indico/indico-plugins/get_user_from_identifier
LDU_FT
[ "<BEGIN>\n## `available_backends`", "Lists the currently available backend types\n<END>", "<BEGIN>\n## `initial_export`", "Performs the initial data export for an agent\n<END>", "<BEGIN>\n## `get_result`", "Perform the call and return the graph data", " :return: Encoded PNG graph data string to b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_user_from_identifier API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_user_from_identifier API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Get an actual User object from an identifier
"Get an actual User object from an identifier"
173
false
indico/indico-plugins
get_user_from_identifier
4,221
LDU_FT/pjamesjoyce/lcopt/create_parameter_map
LDU_FT
[ "<BEGIN>\n## `write`", "write the current settings to the config file\n<END>", "<BEGIN>\n## `hierarchy_pos`", "If there is a cycle that is reachable from root, then this will see infinite recursion.\n G: the graph\n root: the root node of current branch\n width: horizontal space allocated fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_parameter_map 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_parameter_map API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Creates a parameter map which takes a tuple of the exchange 'from' and exchange 'to' codes and returns the parameter name for that exchange
"Creates a parameter map which takes a tuple of the exchange 'from' and exchange 'to' codes \n and returns the parameter name for that exchange"
73
false
pjamesjoyce/lcopt
create_parameter_map
4,222
LDU_FT/google/prettytensor/skip_common_stack_elements
LDU_FT
[ "<BEGIN>\n## `_remove_non_methods`", "Removes any object in dict that is not a registered method.\n<END>", "<BEGIN>\n## `regularizer`", "Wraps a regularizer in a parameter-function.", " Args:\n name: The name scope for this regularizer.\n regularization_fn: A function with signature:\n fn(variab...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the skip_common_stack_elements API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the skip_common_stack_elements API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Skips items that the target stacktrace shares with the base stacktrace.
"Skips items that the target stacktrace shares with the base stacktrace."
551
false
google/prettytensor
skip_common_stack_elements
4,223
LDU_FT/quasipedia/swaggery/filter_annotations_by_ptype
LDU_FT
[ "<BEGIN>\n## `operations`", "Decorator for marking Resource methods as HTTP operations.", " This decorator does a number of different things:\n - It transfer onto itself docstring and annotations from the decorated\n method, so as to be \"transparent\" with regards to introspection.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_annotations_by_ptype 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 filter_annotations_by_ptype API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Filter an annotation by only leaving the parameters of type "ptype".
"Filter an annotation by only leaving the parameters of type \"ptype\"."
67
false
quasipedia/swaggery
filter_annotations_by_ptype
4,224
LDU_FT/ApproxEng/approxeng.input/map_single_axis
LDU_FT
[ "<BEGIN>\n## `map_into_range`", "Map an input function into an output value, clamping such that the magnitude of the output is at most 1.0", " :param low:\n The value in the input range corresponding to zero.\n :param high:\n The value in the input range corresponding to 1.0 or -1.0, dependi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_single_axis API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_single_axis API. 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...
Apply dead and hot zones before mapping a value to a range. The dead and hot zones are both expressed as the proportion of the axis range which should be regarded as 0.0 or 1.0 (or -1.0 depending on cardinality) respectively, so for example setting dead zone to 0.2 means the first 20% of the range of the axis w...
"Apply dead and hot zones before mapping a value to a range. The dead and hot zones are both expressed as the\n proportion of the axis range which should be regarded as 0.0 or 1.0 (or -1.0 depending on cardinality) respectively,\n so for example setting dead zone to 0.2 means the first 20% of the range of the axi...
86
false
ApproxEng/approxeng.input
map_single_axis
4,225
LDU_FT/ismms-himc/clustergrammer2/qn_df
LDU_FT
[ "<BEGIN>\n## `run_norm`", "A dataframe (more accurately a dictionary of dataframes, e.g. mat,\n mat_up...) can be passed to run_norm and a normalization will be run (\n e.g. zscore) on either the rows or columns\n<END>", "<BEGIN>\n## `qn_df`", "do quantile normalization of a dataframe dictionary, does not w...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the qn_df API. 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 qn_df API. 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...
do quantile normalization of a dataframe dictionary, does not write to net
"do quantile normalization of a dataframe dictionary, does not write to net"
90
false
ismms-himc/clustergrammer2
qn_df
4,226
LDU_FT/nickmilon/Hellas/dict_clip
LDU_FT
[ "<BEGIN>\n## `logging_format`", "returns a format\n :parameter:\n - str style: defines style of output format (defaults to txt)\n - txt plain text\n - dict like text which can be casted to dict\n<END>", "<BEGIN>\n## `logger_multi`", "a logger that logs to file as well as as scr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dict_clip API. 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 dict_clip API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
returns a new dict with keys not in included in inlude_keys_lst clipped off
"returns a new dict with keys not in included in inlude_keys_lst clipped off"
71
false
nickmilon/Hellas
dict_clip
4,227
LDU_FT/pywbem/pywbem/check_invalid_xml_chars
LDU_FT
[ "<BEGIN>\n## `_hash_item`", "Hash an item (CIM value, CIM object), by delegating to its hash function.", " The item may be `None`.\n<END>", "<BEGIN>\n## `_stacklevel_above_module`", "Return the stack level (with 1 = caller of this function) of the first\n caller that is not defined in the specified mo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_invalid_xml_chars 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 check_invalid_xml_chars API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Examine an XML string and raise a `pywbem.XMLParseError` exception if the string contains characters that cannot legally be represented as XML characters. This function is used to improve the error information raised from Python's `xml.dom.minidom` and `xml.sax` packages and should be called only after...
"Examine an XML string and raise a `pywbem.XMLParseError` exception if the\n string contains characters that cannot legally be represented as XML\n characters.\n\n This function is used to improve the error information raised from Python's\n `xml.dom.minidom` and `xml.sax` packages and should be called only...
3,983
true
pywbem/pywbem
check_invalid_xml_chars
4,228
LDU_FT/philgyford/django-spectator/paginate_queryset
LDU_FT
[ "<BEGIN>\n## `generate_slug`", "A copy of spectator.core.models.SluggedModelMixin._generate_slug()\n<END>", "<BEGIN>\n## `set_slug`", "Create a slug for each Work already in the DB.\n<END>", "<BEGIN>\n## `get_kinds_data`", "Returns a dict of all the data about the kinds, keyed to the kind\n value. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paginate_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paginate_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...
Paginate the queryset, if needed. This is EXACTLY the same as the standard ListView.paginate_queryset() except for this line: page = paginator.page(page_number, softlimit=True) Because we want to use the DiggPaginator's softlimit option. So that if you're viewing a page of, ...
"Paginate the queryset, if needed.\n\n This is EXACTLY the same as the standard ListView.paginate_queryset()\n except for this line:\n page = paginator.page(page_number, softlimit=True)\n Because we want to use the DiggPaginator's softlimit option.\n So that if you're viewing a pa...
169
false
philgyford/django-spectator
paginate_queryset
4,229
LDU_FT/KieranWynn/pyquaternion/_from_axis_angle
LDU_FT
[ "<BEGIN>\n## `_validate_number_sequence`", "Validate a sequence to be of a certain length and ensure it's a numpy array of floats.", " Raises:\n ValueError: Invalid length or non-numeric value\n<END>", "<BEGIN>\n## `_from_matrix`", "Initialise from matrix representation", " Create...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _from_axis_angle API. 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 _from_axis_angle API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Initialise from axis and angle representation Create a Quaternion by specifying the 3-vector rotation axis and rotation angle (in radians) from which the quaternion's rotation should be created. Params: axis: a valid numpy 3-vector angle: a real valued angle in radians
"Initialise from axis and angle representation\n\n Create a Quaternion by specifying the 3-vector rotation axis and rotation\n angle (in radians) from which the quaternion's rotation should be created.\n\n Params:\n axis: a valid numpy 3-vector\n angle: a real valued angle in ...
129
false
KieranWynn/pyquaternion
_from_axis_angle
4,230
LDU_FT/marten-de-vries/Flask-WebSub/discover
LDU_FT
[ "<BEGIN>\n## `build_blueprint`", "Build a blueprint that contains the endpoints for callback URLs of\n the current subscriber. Only call this once per instance. Arguments:", " - url_prefix; this allows you to prefix the callback URLs in your app.\n<END>", "<BEGIN>\n## `unsubscribe`", "Ask the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the discover API. 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 discover API. 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...
Discover the hub url and topic url of a given url. Firstly, by inspecting the page's headers, secondarily by inspecting the content for link tags. timeout determines how long to wait for the url to load. It defaults to 3.
"Discover the hub url and topic url of a given url. Firstly, by inspecting\n the page's headers, secondarily by inspecting the content for link tags.\n\n timeout determines how long to wait for the url to load. It defaults to 3."
24
false
marten-de-vries/Flask-WebSub
discover
4,231
LDU_FT/couchbase/couchbase-python-client/convert_1x_args
LDU_FT
[ "<BEGIN>\n## `set_json_converters`", "Modify the default JSON conversion functions. This affects all\n :class:`~couchbase.bucket.Bucket` instances.", " These functions will called instead of the default ones (``json.dumps``\n and ``json.loads``) to encode and decode JSON (when :const:`FMT_JSON` is\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_1x_args API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_1x_args API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Converts arguments for 1.x constructors to their 2.x forms
"Converts arguments for 1.x constructors to their 2.x forms"
806
false
couchbase/couchbase-python-client
convert_1x_args
4,232
LDU_FT/Tygs/ww/multisplit
LDU_FT
[ "<BEGIN>\n## `join`", "Join values and convert to string", " Example:", " >>> from ww import l\n >>> lst = l('012')\n >>> lst.join(',')\n u'0,1,2'\n >>> lst.join(',', template=\"{}#\")\n u'0#,1#,2#'\n >>> string = lst.join(','...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multisplit API. 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 multisplit API. 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...
Like unicode.split, but accept several separators and regexes Args: string: the string to split. separators: strings you can split on. Each string can be a regex. maxsplit: max number of time you wish to split. default is 0, whic...
"Like unicode.split, but accept several separators and regexes\n\n Args:\n string: the string to split.\n separators: strings you can split on. Each string can be a\n regex.\n maxsplit: max number of time you wish to split. default is 0,\n ...
104
false
Tygs/ww
multisplit
4,233
LDU_FT/tkem/cachetools/lru_cache
LDU_FT
[ "<BEGIN>\n## `popitem`", "Remove and return the `(key, value)` pair least recently used.\n<END>", "<BEGIN>\n## `lfu_cache`", "Decorator to wrap a function with a memoizing callable that saves\n up to `maxsize` results based on a Least Frequently Used (LFU)\n algorithm.\n<END>", "<BEGIN>\n## `lru_cache...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lru_cache API. 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 lru_cache API. 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...
Decorator to wrap a function with a memoizing callable that saves up to `maxsize` results based on a Least Recently Used (LRU) algorithm.
"Decorator to wrap a function with a memoizing callable that saves\n up to `maxsize` results based on a Least Recently Used (LRU)\n algorithm."
24
false
tkem/cachetools
lru_cache
4,234
LDU_FT/rfk/playitagainsam/get_terminal_size
LDU_FT
[ "<BEGIN>\n## `_read_one_byte`", "Read a single byte, or raise OSError on failure.\n<END>", "<BEGIN>\n## `get_fd`", "Helper function for getting a file descriptor.\n<END>", "<BEGIN>\n## `find_executable`", "Find an executable by searching the user's $PATH.\n<END>", "<BEGIN>\n## `get_ancestor_processes`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_terminal_size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_terminal_size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Get the (width, height) size tuple for the given pty fd.
"Get the (width, height) size tuple for the given pty fd."
16
false
rfk/playitagainsam
get_terminal_size
4,235
LDU_FT/earwig/mwparserfromhell/_build_matcher
LDU_FT
[ "<BEGIN>\n## `normalize`", "Return the unicode character represented by the HTML entity.\n<END>", "<BEGIN>\n## `inheritdoc`", "Set __doc__ of *method* to __doc__ of *method* in its parent class.", " Since this is used on :class:`.SmartList`, the \"parent class\" used is\n ``list``. This function can b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_matcher API. 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 _build_matcher API. 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...
Helper for :meth:`_indexed_ifilter` and others. If *matches* is a function, return it. If it's a regex, return a wrapper around it that can be called with a node to do a search. If it's ``None``, return a function that always returns ``True``.
"Helper for :meth:`_indexed_ifilter` and others.\n\n If *matches* is a function, return it. If it's a regex, return a\n wrapper around it that can be called with a node to do a search. If\n it's ``None``, return a function that always returns ``True``."
291
false
earwig/mwparserfromhell
_build_matcher
4,236
LDU_FT/google/budou/segment
LDU_FT
[ "<BEGIN>\n## `get_parser`", "Gets a parser.", " Args:\n segmenter (str): Segmenter to use.\n options (:obj:`dict`, optional): Optional settings.", " Returns:\n Parser (:obj:`budou.parser.Parser`)", " Raises:\n ValueError: If unsupported segmenter is specified.\n<END>", "<BEGIN>\n## `parse_a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the segment API. 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 segment API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Returns a chunk list from the given sentence. Args: source (str): Source string to segment. language (:obj:`str`, optional): A language code. Returns: A chunk list. (:obj:`budou.chunk.ChunkList`) Raises: ValueError: If :obj:`language` is given and it is not included in ...
"Returns a chunk list from the given sentence.\n\n Args:\n source (str): Source string to segment.\n language (:obj:`str`, optional): A language code.\n\n Returns:\n A chunk list. (:obj:`budou.chunk.ChunkList`)\n\n Raises:\n ValueError: If :obj:`language` is given and it is not included in\...
89
false
google/budou
segment
4,237
LDU_FT/karel-brinda/rnftools/create_graphics
LDU_FT
[ "<BEGIN>\n## `recode_curesim_reads`", "Recode CuReSim output FASTQ file to the RNF-compatible output FASTQ file.", "\t\tArgs:\n\t\t\tcuresim_fastq_fo (file object): File object of CuReSim FASTQ file.\n\t\t\tfastq_rnf_fo (file object): File object of RNF FASTQ.\n\t\t\tfai_fo (file object): File object for FAI fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_graphics API. 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 create_graphics API. 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...
Create images related to this BAM file using GnuPlot.
"Create images related to this BAM file using GnuPlot."
84
false
karel-brinda/rnftools
create_graphics
4,238
LDU_FT/allianceauth/allianceauth/make_service_hooks_sync_nickname_action
LDU_FT
[ "<BEGIN>\n## `register`", "Decorator to register a function as a hook", " Register hook for ``hook_name``. Can be used as a decorator::\n @register('hook_name')\n def my_hook(...):\n pass", " or as a function call::\n def my_hook(...):\n pass\n register(...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_service_hooks_sync_nickname_action API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicate...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_service_hooks_sync_nickname_action API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicate...
Make a sync_nickname admin action for the given service :param service: services.hooks.ServicesHook :return: fn to sync nickname for the selected users
"Make a sync_nickname admin action for the given service\n :param service: services.hooks.ServicesHook\n :return: fn to sync nickname for the selected users"
57
false
allianceauth/allianceauth
make_service_hooks_sync_nickname_action
4,239
LDU_FT/toomore/goristock/MAO
LDU_FT
[ "<BEGIN>\n## `output`", "re = \"\"\"<table>\n <tr><td>%(name)s</td><td>%(c)s</td><td>%(range)+.2f(%(pp)+.2f%%)</td></tr>\n <tr><td>%(stock_no)s</td><td>%(value)s</td><td>%(time)s</td></tr></table>\"\"\" % {\n<END>", "<BEGIN>\n## `Rt_display`", "For real time stock display\n 即時盤用,顯示目...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the MAO API. 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 MAO API. 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...
This is MAO(Moving Average Oscillator), not BIAS. It's only 'MAday1 - MAday2'. 乖離率,MAday1 - MAday2 兩日之移動平均之差 return list: [0] is the times of high, low or equal [0] is times [1] is the MAO data [1] rev=0:↑ ↓ or -,rev=1:1 -1 0 回傳: [0] ...
"This is MAO(Moving Average Oscillator), not BIAS.\n It's only 'MAday1 - MAday2'.\n 乖離率,MAday1 - MAday2 兩日之移動平均之差\n\n return list:\n [0] is the times of high, low or equal\n [0] is times\n [1] is the MAO data\n [1] rev=0:↑ ↓ or -,rev=1:1 -1 0\n\n 回傳:\n ...
62
false
toomore/goristock
MAO
4,240
LDU_FT/ClimateImpactLab/DataFS/get_api
LDU_FT
[ "<BEGIN>\n## `_generate_manager`", "Generate a manager from a manager_config dictionary", " Parameters\n ----------", " manager_config : dict\n Configuration with keys class, args, and kwargs\n used to generate a new datafs.manager object", " Returns\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_api API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_api API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Generate a datafs.DataAPI object from a config profile ``get_api`` generates a DataAPI object based on a pre-configured datafs profile specified in your datafs config file. To create a datafs config file, use the command line tool ``datafs configure --helper`` or export an existing DataAPI obj...
"Generate a datafs.DataAPI object from a config profile\n\n ``get_api`` generates a DataAPI object based on a\n pre-configured datafs profile specified in your datafs\n config file.\n\n To create a datafs config file, use the command line\n tool ``datafs configure --helper`` or export an existing\n Da...
318
false
ClimateImpactLab/DataFS
get_api
4,241
LDU_FT/tensorflow/skflow/_print_formatted_docstring
LDU_FT
[ "<BEGIN>\n## `collect_members`", "Collect all symbols from a list of modules.", " Args:\n module_to_name: Dictionary mapping modules to short names.", " Returns:\n Dictionary mapping name to (fullname, member) pairs.\n<END>", "<BEGIN>\n## `_get_anchor`", "Turn a full member name into an anchor.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _print_formatted_docstring API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _print_formatted_docstring API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Formats the given `docstring` as Markdown and prints it to `f`.
"Formats the given `docstring` as Markdown and prints it to `f`."
46
false
tensorflow/skflow
_print_formatted_docstring
4,242
LDU_FT/ajdavis/GreenletProfiler/_debug_check_sanity
LDU_FT
[ "<BEGIN>\n## `convert2pstats`", "Converts the internal stat type of yappi(which is returned by a call to YFuncStats.get())\n as pstats object.\n<END>", "<BEGIN>\n## `set_clock_type`", "Sets the internal clock type for timing. Profiler shall not have any previous stats.\n Otherwise an exception is thrown...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _debug_check_sanity 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 _debug_check_sanity API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Check for basic sanity errors in stats. e.g: Check for duplicate stats.
"Check for basic sanity errors in stats. e.g: Check for duplicate stats."
16
false
ajdavis/GreenletProfiler
_debug_check_sanity
4,243
LDU_FT/Parsely/birding/process
LDU_FT
[ "<BEGIN>\n## `main`", "Do the default action of `twitter` command.\n<END>", "<BEGIN>\n## `from_oauth_file`", "Get an object bound to the Twitter API using your own credentials.", " The `twitter` library ships with a `twitter` command that uses PIN\n OAuth. Generate your own OAuth credentials b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process API. 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 process API. 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...
Process steps: 1. Stream in (term, timestamp). 2. Perform :meth:`~birding.search.SearchManager.search` on term. 3. Emit (term, timestamp, search_result).
"Process steps:\n\n 1. Stream in (term, timestamp).\n 2. Perform :meth:`~birding.search.SearchManager.search` on term.\n 3. Emit (term, timestamp, search_result)."
88
false
Parsely/birding
process
4,244
LDU_FT/oanda/v20-python/stop_replace
LDU_FT
[ "<BEGIN>\n## `from_dict`", "Instantiate a new Trade from a dict (generally from loading a JSON\n response). The data used to instantiate the Trade is a shallow copy of\n the dict passed in, with any complex child types instantiated\n appropriately.\n<END>", "<BEGIN>\n## `from_dict`", "Ins...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop_replace API. 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 stop_replace API. 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...
Shortcut to replace a pending Stop Order in an Account Args: accountID : The ID of the Account orderID : The ID of the Stop Order to replace kwargs : The arguments to create a StopOrderRequest Returns: v20.response.Response containing the results from su...
"Shortcut to replace a pending Stop Order in an Account\n\n Args:\n accountID : The ID of the Account\n orderID : The ID of the Stop Order to replace\n kwargs : The arguments to create a StopOrderRequest\n\n Returns:\n v20.response.Response containing the result...
225
false
oanda/v20-python
stop_replace
4,245
LDU_FT/toloco/pyoanda/create_account
LDU_FT
[ "<BEGIN>\n## `check`", "Logic extracted from:\n http://developer.oanda.com/rest-live/orders/#createNewOrder\n<END>", "<BEGIN>\n## `__get_response`", "Creates a response object with the given params and option", " Parameters\n ----------\n url : string\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_account API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_account API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Create a new account. This call is only available on the sandbox system. Please create accounts on fxtrade.oanda.com on our production system. See more: http://developer.oanda.com/rest-sandbox/accounts/#-a-name-createtestaccount-a-create-a-test-account
"Create a new account.\n\n This call is only available on the sandbox system. Please\n create accounts on fxtrade.oanda.com on our production\n system.\n\n See more:\n http://developer.oanda.com/rest-sandbox/accounts/#-a-name-createtestaccount-a-create-a-test-accou...
46
false
toloco/pyoanda
create_account
4,246
LDU_FT/cognitect/transit-python/read_chunk
LDU_FT
[ "<BEGIN>\n## `register`", "Register a custom transit tag and decoder/parser function for use\n during reads.\n<END>", "<BEGIN>\n## `readeach`", "Temporary hook for API while streaming reads are in experimental\n phase. Read each object from stream as available with generator.\n JSON block...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_chunk API. 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 read_chunk API. 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...
Ignore whitespace outside of strings. If we hit a string, read it in its entirety.
"Ignore whitespace outside of strings. If we hit a string, read it in\n its entirety."
29
false
cognitect/transit-python
read_chunk
4,247
LDU_FT/proversity-org/bibblio-api-python/get_content_items
LDU_FT
[ "<BEGIN>\n## `create_content_item`", "Name: create_content_item\n\tParameters: access_token, payload (dict)\n\tReturn: dictionary\n<END>", "<BEGIN>\n## `get_content_items`", "Name: get_content_items\n\tParameters: access_token, limit (optional), page (optional)\n\tReturn: dictionary\n<END>", "<BEGIN>\n## `g...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_content_items API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_content_items API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Name: get_content_items Parameters: access_token, limit (optional), page (optional) Return: dictionary
"Name: get_content_items\n\tParameters: access_token, limit (optional), page (optional)\n\tReturn: dictionary"
18
false
proversity-org/bibblio-api-python
get_content_items
4,248
LDU_FT/jschaf/ideone-api/submission_status
LDU_FT
[ "<BEGIN>\n## `_transform_to_dict`", "Transform the array from Ideone into a Python dictionary.\n<END>", "<BEGIN>\n## `_collapse_language_array`", "Convert the Ideone language list into a Python dictionary.\n<END>", "<BEGIN>\n## `_translate_language_name`", "Translate a human readable langauge name into it...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the submission_status API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the submission_status API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Given the unique link of a submission, returns its current status. Keyword Arguments ----------------- * link: the unique id string of a submission Returns ------- A dictionary of the error, the result code and the status code. Notes -...
"Given the unique link of a submission, returns its current\n status.\n\n Keyword Arguments\n -----------------\n\n * link: the unique id string of a submission\n\n Returns\n -------\n\n A dictionary of the error, the result code and the status\n code.\n\n ...
45
false
jschaf/ideone-api
submission_status
4,249
LDU_FT/jlmadurga/permabots/get
LDU_FT
[ "<BEGIN>\n## `process`", "Render value_template of the parameter using context.", " :param context: Processing context\n<END>", "<BEGIN>\n## `post`", "Process Telegram webhook.\n 1. Serialize Telegram message\n 2. Get an enabled Telegram bot\n 3. Create :class:`Update...
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 url parameter by id --- serializer: AbsParamSerializer responseMessages: - code: 401 message: Not authenticated
"Get url parameter by id\n ---\n serializer: AbsParamSerializer\n responseMessages:\n - code: 401\n message: Not authenticated"
152
false
jlmadurga/permabots
get
4,250
LDU_FT/sloria/environs/add_parser_from_field
LDU_FT
[ "<BEGIN>\n## `_dict2schema`", "Generate a `marshmallow.Schema` class given a dictionary of\n `Fields <marshmallow.fields.Field>`.\n<END>", "<BEGIN>\n## `read_env`", "Read a .env file into os.environ.", " If .env is not found in the directory from which this method is called,\n the default b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_parser_from_field 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 add_parser_from_field API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Register a new parser method with name ``name``, given a marshmallow ``Field``.
"Register a new parser method with name ``name``, given a marshmallow ``Field``."
17
false
sloria/environs
add_parser_from_field
4,251
LDU_FT/feliperyan/EinsteinVisionPython/get_models_info_for_dataset
LDU_FT
[ "<BEGIN>\n## `get_token`", "Acquires a token for futher API calls, unless you already have a token this will be the first thing\n you do before you use this.\n :param email: string, the username for your EinsteinVision service, usually in email form\n :para pem_file: string, file ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_models_info_for_dataset 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_models_info_for_dataset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Gets metadata on all models available for given dataset id :param dataset_id: string, previously obtained dataset id warning: if providing your own url here, also include the dataset_id in the right place as this method will not include it for you. Otherwise use the dataset_id attrib...
"Gets metadata on all models available for given dataset id\n :param dataset_id: string, previously obtained dataset id\n warning: if providing your own url here, also include the dataset_id in the right place\n as this method will not include it for you. Otherwise use the dataset_id at...
34
false
feliperyan/EinsteinVisionPython
get_models_info_for_dataset
4,252
LDU_FT/cariad/py-wpconfigr/_get_match
LDU_FT
[ "<BEGIN>\n## `_get_match`", "Gets a MatchObject for the given key.", " Args:\n key (str): Key of the property to look-up.", " Return:\n MatchObject: The discovered match.\n<END>", "<BEGIN>\n## `_get_non_string_match`", "Gets a MatchObject for the given key, assuming a n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_match API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_match API. 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...
Gets a MatchObject for the given key. Args: key (str): Key of the property to look-up. Return: MatchObject: The discovered match.
"Gets a MatchObject for the given key.\n\n Args:\n key (str): Key of the property to look-up.\n\n Return:\n MatchObject: The discovered match."
29
false
cariad/py-wpconfigr
_get_match
4,253
LDU_FT/quodlibet/mutagen/delete
LDU_FT
[ "<BEGIN>\n## `_parse_sv8_int`", "Reads (max limit) bytes from fileobj until the MSB is zero.\n All 7 LSB will be merged to a big endian uint.", " Raises ValueError in case not MSB is zero, or EOFError in\n case the file ended before limit is reached.", " Returns (parsed number, number of bytes rea...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
delete(filething) Arguments: filething (filething) Raises: mutagen.MutagenError Remove tags from a file.
"delete(filething)\n\n Arguments:\n filething (filething)\n Raises:\n mutagen.MutagenError\n\n Remove tags from a file."
518
false
quodlibet/mutagen
delete
4,254
LDU_FT/softwarefactory-project/rdopkg/clean_tempdir
LDU_FT
[ "<BEGIN>\n## `rdopkg_runner`", "default rdopkg action runner including rdopkg action modules\n<END>", "<BEGIN>\n## `rdopkg`", "rdopkg CLI interface", " Execute rdopkg action with specified arguments and return\n shell friendly exit code.", " This is the default high level way to interact with rdo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_tempdir API. 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 clean_tempdir API. 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...
Clean up temporary test dirs for passed tests. Leave failed test dirs for manual inspection.
"Clean up temporary test dirs for passed tests.\n\n Leave failed test dirs for manual inspection."
60
false
softwarefactory-project/rdopkg
clean_tempdir
4,255
LDU_FT/bhmm/bhmm/backward
LDU_FT
[ "<BEGIN>\n## `_forward_backward`", "Estimation step: Runs the forward-back algorithm on trajectory with index itraj", " Parameters\n ----------\n itraj : int\n index of the observation trajectory to process", " Results\n -------\n logprob : float\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the backward API. 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 backward API. 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...
Compute all backward coefficients. With scaling! Parameters ---------- A : ndarray((N,N), dtype = float) transition matrix of the hidden states pobs : ndarray((T,N), dtype = float) pobs[t,i] is the observation probability for observation at time t given hidden state i beta_out : nda...
"Compute all backward coefficients. With scaling!\n\n Parameters\n ----------\n A : ndarray((N,N), dtype = float)\n transition matrix of the hidden states\n pobs : ndarray((T,N), dtype = float)\n pobs[t,i] is the observation probability for observation at time t given hidden state i\n beta_...
497
false
bhmm/bhmm
backward
4,256
LDU_FT/snipsco/snipsmanagercore/start_blocking
LDU_FT
[ "<BEGIN>\n## `parse`", "Parse a json response into an intent.", " :param payload: a JSON object representing an intent.\n :param candidate_classes: a list of classes representing various\n intents, each having their own `parse`\n me...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_blocking API. 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_blocking API. 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...
Start the MQTT client, as a blocking method. :param run_event: a run event object provided by the thread handler.
"Start the MQTT client, as a blocking method.\n\n :param run_event: a run event object provided by the thread handler."
60
false
snipsco/snipsmanagercore
start_blocking
4,257
LDU_FT/daler/trackhub/show_rendered_files
LDU_FT
[ "<BEGIN>\n## `default_hub`", "Returns a fully-connected set of hub components using default filenames.", " Parameters\n ----------", " hub_name : str\n Name of the hub", " genome : str\n Assembly name (hg38, dm6, etc)", " email : str\n Email to include with hub.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_rendered_files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_rendered_files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Parses a nested dictionary returned from :meth:`Hub.render` and just prints the resulting files.
"Parses a nested dictionary returned from :meth:`Hub.render` and just prints\n the resulting files."
111
false
daler/trackhub
show_rendered_files
4,258
LDU_FT/HdrHistogram/HdrHistogram_py/record_value
LDU_FT
[ "<BEGIN>\n## `init_counts`", "Called after instantiating with a compressed payload\n Params:\n counts_len counts size to use based on decoded settings in the header\n<END>", "<BEGIN>\n## `_decompress`", "Decompress a compressed payload into this payload wrapper.\n Note that the decomp...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the record_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. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the record_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. The extr...
Record a new value into the histogram Args: value: the value to record (must be in the valid range) count: incremental count (defaults to 1)
"Record a new value into the histogram\n\n Args:\n value: the value to record (must be in the valid range)\n count: incremental count (defaults to 1)"
71
false
HdrHistogram/HdrHistogram_py
record_value
4,259
LDU_FT/alantygel/ckanext-semantictags/search_by_URI
LDU_FT
[ "<BEGIN>\n## `by_id`", "Return the semantic tag with the given id, or None.", "\t\t:param semantictag_id: the id of the semantic tag to return\n\t\t:type semantictag_id: string", "\t\t:returns: the semantic tag with the given id, or None if there is no tag with\n\t\t\tthat id\n\t\t:rtype: ckan.model.semantict...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_by_URI API. 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 search_by_URI API. 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 all tags whose URI or label contain a given string. :param search_term: the string to search for in the URI or label names :type search_term: string :returns: a list of semantictags that match the search term :rtype: list of ckan.model.semantictag.SemanticTag objects
"Return all tags whose URI or label contain a given string.\n\n\t\t:param search_term: the string to search for in the URI or label names\n\t\t:type search_term: string\n\n\t\t:returns: a list of semantictags that match the search term\n\t\t:rtype: list of ckan.model.semantictag.SemanticTag objects"
39
false
alantygel/ckanext-semantictags
search_by_URI
4,260
LDU_FT/mikhaildubov/AST-text-analysis/keyphrases_graph
LDU_FT
[ "<BEGIN>\n## `traverse_depth_first_pre_order`", "Visits the internal \"nodes\" of the enhanced suffix array in depth-first pre-order.", " Based on Abouelhoda et al. (2004).\n<END>", "<BEGIN>\n## `traverse_depth_first_post_order`", "Visits the internal \"nodes\" of the enhanced suffix array in depth-f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the keyphrases_graph API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the keyphrases_graph API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Constructs the keyphrases relation graph based on the given texts corpus. The graph construction algorithm is based on the analysis of co-occurrences of key phrases in the text corpus. A key phrase is considered to imply another one if that second phrase occurs frequently enough in the same texts as the fi...
"Constructs the keyphrases relation graph based on the given texts corpus.\n\n The graph construction algorithm is based on the analysis of co-occurrences of key phrases\n in the text corpus. A key phrase is considered to imply another one if that second phrase\n occurs frequently enough in the same texts as t...
52
false
mikhaildubov/AST-text-analysis
keyphrases_graph
4,261
LDU_FT/projectshift/shift-schema/validate_collections
LDU_FT
[ "<BEGIN>\n## `validate`", "Validate\n Perform value validation against validation settings and return\n error object.", " :param value: list, value to check\n :param model: parent model being validated\n :param context: object or None, validation co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_collections 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_collections 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 collection properties Performs validation on collection properties to return a result object. :param model: object or dict :param context: object, dict or None :return: shiftschema.result.Result
"Validate collection properties\n Performs validation on collection properties to return a result object.\n :param model: object or dict\n :param context: object, dict or None\n :return: shiftschema.result.Result"
135
false
projectshift/shift-schema
validate_collections
4,262
LDU_FT/cocagne/txdbus/getDBusEnvEndpoints
LDU_FT
[ "<BEGIN>\n## `isSignatureValid`", "Verifies that the received signature matches the expected value\n<END>", "<BEGIN>\n## `notifyOnDisconnect`", "Registers a callback that will be called when the DBus connection\n underlying the remote object is lost", " @type callback: Callable object acceptin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getDBusEnvEndpoints 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 getDBusEnvEndpoints API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Creates endpoints from the DBUS_SESSION_BUS_ADDRESS environment variable @rtype: C{list} of L{twisted.internet.interfaces.IStreamServerEndpoint} @returns: A list of endpoint instances
"Creates endpoints from the DBUS_SESSION_BUS_ADDRESS environment variable\n\n @rtype: C{list} of L{twisted.internet.interfaces.IStreamServerEndpoint}\n @returns: A list of endpoint instances"
160
false
cocagne/txdbus
getDBusEnvEndpoints
4,263
LDU_FT/F483/btctxstore/get_nulldata
LDU_FT
[ "<BEGIN>\n## `_recover_public_key`", "Recover a public key from a signature.\n See SEC 1: Elliptic Curve Cryptography, section 4.1.6, \"Public\n Key Recovery Operation\".\n http://www.secg.org/sec1-v2.pdf\n<END>", "<BEGIN>\n## `chunks`", "Split list into chunks of the given size.\n Original order ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_nulldata API. 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_nulldata API. 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 nulldata from <rawtx> as hexdata.
"Returns nulldata from <rawtx> as hexdata."
41
false
F483/btctxstore
get_nulldata
4,264
LDU_FT/olitheolix/qtmacs/highlightCharacters
LDU_FT
[ "<BEGIN>\n## `qteSaveMacroData`", "Associate arbitrary ``data`` with ``widgetObj``.", " This is a convenience method to easily store applet/widget\n specific information in between calls.", " If ``widgetObj`` is **None** then the calling widget\n ``self.qteWidget`` will be used.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the highlightCharacters 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 highlightCharacters 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...
Change the character format of one or more characters. If ``charFormat`` is **None** then only the color and font weight of the characters are changed to ``colorCode`` and ``fontWeight``, respectively. |Args| * ``widgetObj`` (**QWidget**): the ``QTextEdit`` holding t...
"Change the character format of one or more characters.\n\n If ``charFormat`` is **None** then only the color and font\n weight of the characters are changed to ``colorCode`` and\n ``fontWeight``, respectively.\n\n |Args|\n\n * ``widgetObj`` (**QWidget**): the ``QTextEdit`` holding\n ...
1,108
true
olitheolix/qtmacs
highlightCharacters
4,265
LDU_FT/totalgood/twip/df_from_groups
LDU_FT
[ "<BEGIN>\n## `lsi`", "Train an LSI model on a \"corpus\" of documnets, like tweets", " Arguments:\n tokenize (callable): Function that returns a sequence of tokens (str) when passed a document (str)\n ram (float): Portion of RAM to limit the document generator from consuming before StopIter...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the df_from_groups API. 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 df_from_groups API. 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...
Create DataFrame of GroupBy object with columns for each product(grouped_value, column_label)
"Create DataFrame of GroupBy object with columns for each product(grouped_value, column_label)"
144
false
totalgood/twip
df_from_groups
4,266
LDU_FT/ozak/georasters/map_pixel
LDU_FT
[ "<BEGIN>\n## `map_pixel`", "Usage:\n map_pixel(xcoord, ycoord, x_cell_size, y_cell_size, xmin, ymax)", " where:\n xmin is leftmost X coordinate in system", " ymax is topmost Y coordinate in system", " Example:\n raster = HMISea.tif", " ndv, xsize, ysize, ge...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_pixel API. 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 map_pixel API. 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...
Usage: map_pixel(xcoord, ycoord, x_cell_size, y_cell_size, xmin, ymax) where: xmin is leftmost X coordinate in system ymax is topmost Y coordinate in system Example: raster = HMISea.tif ndv, xsize, ysize, geot, projection, datatype = get_geo_info(raster) ...
"Usage:\n map_pixel(xcoord, ycoord, x_cell_size, y_cell_size, xmin, ymax)\n\n where:\n xmin is leftmost X coordinate in system\n\n ymax is topmost Y coordinate in system\n\n Example:\n raster = HMISea.tif\n\n ndv, xsize, ysize, geot, projection, datatype = get_geo_info(r...
136
false
ozak/georasters
map_pixel
4,267
LDU_FT/aparo/pyes/index
LDU_FT
[ "<BEGIN>\n## `serialize`", "Serialize the search to a structure as passed for a search body.\n<END>", "<BEGIN>\n## `symbol_by_name`", "Get symbol by qualified name.", " The name should be the full dot-separated path to the class::", " modulename.ClassName", " Example::", " celery.c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the index API. 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 index API. 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...
Selects which database this QuerySet should execute its query against.
"Selects which database this QuerySet should execute its query against."
350
false
aparo/pyes
index
4,268
LDU_FT/kilometer-io/kilometer-python/add_user
LDU_FT
[ "<BEGIN>\n## `add_user`", "Creates a new identified user if he doesn't exist.", " :param str user_id: identified user's ID\n :param dict custom_properties: user properties\n :param dict headers: custom request headers (if isn't set default values are used)\n :param str endpoint_url: ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_user API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_user API. 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...
Creates a new identified user if he doesn't exist. :param str user_id: identified user's ID :param dict custom_properties: user properties :param dict headers: custom request headers (if isn't set default values are used) :param str endpoint_url: where to send the request (if isn't set ...
"Creates a new identified user if he doesn't exist.\n\n :param str user_id: identified user's ID\n :param dict custom_properties: user properties\n :param dict headers: custom request headers (if isn't set default values are used)\n :param str endpoint_url: where to send the request (if isn'...
20
false
kilometer-io/kilometer-python
add_user
4,269
LDU_FT/koordinates/python-client/is_bound
LDU_FT
[ "<BEGIN>\n## `create`", "Create single permission for the given object.", " :param Permission permission: A single Permission object to be set.\n<END>", "<BEGIN>\n## `set`", "Set the object permissions. If the parent object already has permissions, they will be overwritten.", " :param [] per...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_bound API. 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 is_bound API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Decorator that asserts the model instance is bound. Requires: 1. an ``id`` attribute 2. a ``url`` attribute 2. a manager set
"Decorator that asserts the model instance is bound.\n\n Requires:\n 1. an ``id`` attribute\n 2. a ``url`` attribute\n 2. a manager set"
178
false
koordinates/python-client
is_bound
4,270
LDU_FT/jjjake/internetarchive/download
LDU_FT
[ "<BEGIN>\n## `prepare_metadata`", "Prepare a metadata dict for an\n :class:`S3PreparedRequest <S3PreparedRequest>` or\n :class:`MetadataPreparedRequest <MetadataPreparedRequest>` object.", " :type metadata: dict\n :param metadata: The metadata dict to be prepared.", " :type source_metadata: dic...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API. 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 download API. 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...
Download the file into the current working directory. :type file_path: str :param file_path: Download file to the given file_path. :type verbose: bool :param verbose: (optional) Turn on verbose output. :type silent: bool :param silent: (optional) Suppress all output. ...
"Download the file into the current working directory.\n\n :type file_path: str\n :param file_path: Download file to the given file_path.\n\n :type verbose: bool\n :param verbose: (optional) Turn on verbose output.\n\n :type silent: bool\n :param silent: (optional) Suppress all...
281
false
jjjake/internetarchive
download
4,271
LDU_FT/ofir123/py-printer/write_title
LDU_FT
[ "<BEGIN>\n## `get_printer`", "Returns an already initialized instance of the printer.", " :param colors: If False, no colors will be printed.\n :param width_limit: If True, printing width will be limited by console width.\n :param disabled: If True, nothing will be printed.\n<END>", "<BEGIN>\n## `_ge...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_title API. 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 write_title API. 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...
Prints title with hyphen line underneath it. :param title: The title to print. :param title_color: The title text color (default is yellow). :param hyphen_line_color: The hyphen line color (default is white).
"Prints title with hyphen line underneath it.\n\n :param title: The title to print.\n :param title_color: The title text color (default is yellow).\n :param hyphen_line_color: The hyphen line color (default is white)."
46
false
ofir123/py-printer
write_title
4,272