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/ornlneutronimaging/ImagingReso/__lock_density_if_defined
LDU_FT
[ "<BEGIN>\n## `add_layer`", "provide another way to define the layers (stack)", " Parameters:\n ===========\n formula: string\n ex: 'CoAg2'\n ex: 'Al'\n thickness: float (in mm)\n density: float (g/cm3)\n<END>", "<BEGIN>\n## `get_isotopic_ratio`", "retur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __lock_density_if_defined 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 __lock_density_if_defined API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
lock (True) the density lock if the density has been been defined during initialization Store the resulting dictionary into density_lock Parameters: =========== stack: dictionary (optional) if not provided, the entire stack will be used
"lock (True) the density lock if the density has been been defined during initialization\n Store the resulting dictionary into density_lock\n\n Parameters:\n ===========\n stack: dictionary (optional)\n if not provided, the entire stack will be used"
114
false
ornlneutronimaging/ImagingReso
__lock_density_if_defined
140,973
LDU_FT/shad7/tvrenamer/parse
LDU_FT
[ "<BEGIN>\n## `execute`", "Renames a file based on the name generated using metadata.", " :param str filename: absolute path and filename of original file\n :param str formatted_name: absolute path and new filename\n<END>", "<BEGIN>\n## `get_series_by_name`", "Perform lookup for series", " :pa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. 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 parse API. 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...
Extracts component keys from filename. :raises tvrenamer.exceptions.InvalidFilename: when filename was not parseable :raises tvrenamer.exceptions.ConfigValueError: when regex used for parsing was incorrectly configured
"Extracts component keys from filename.\n\n :raises tvrenamer.exceptions.InvalidFilename:\n when filename was not parseable\n :raises tvrenamer.exceptions.ConfigValueError:\n when regex used for parsing was incorrectly configured"
135
false
shad7/tvrenamer
parse
140,974
LDU_FT/Fantomas42/mots-vides/write_collection
LDU_FT
[ "<BEGIN>\n## `cmdline`", "Script for merging different collections of stop words.\n<END>", "<BEGIN>\n## `get_stop_words`", "Returns a StopWord object initialized with the stop words collection\n requested by ``language``.\n If the requested language is not available a StopWordError is raised.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_collection API. 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 write_collection API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Writes a collection of stop words into a file.
"Writes a collection of stop words into a file."
14
false
Fantomas42/mots-vides
write_collection
140,975
LDU_FT/kobinpy/kobin/_split_into_mimetype_and_priority
LDU_FT
[ "<BEGIN>\n## `status`", "The HTTP status line as a string (e.g. ``404 Not Found``).\n<END>", "<BEGIN>\n## `headerlist`", "WSGI conform list of (header, value) tuples.\n<END>", "<BEGIN>\n## `_split_into_mimetype_and_priority`", "Split an accept header item into mimetype and priority.", " >>> _split_in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _split_into_mimetype_and_priority 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 _split_into_mimetype_and_priority API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
Split an accept header item into mimetype and priority. >>> _split_into_mimetype_and_priority('text/*') ('text/*', 1.0) >>> _split_into_mimetype_and_priority('application/json;q=0.5') ('application/json', 0.5)
"Split an accept header item into mimetype and priority.\n\n >>> _split_into_mimetype_and_priority('text/*')\n ('text/*', 1.0)\n\n >>> _split_into_mimetype_and_priority('application/json;q=0.5')\n ('application/json', 0.5)"
32
false
kobinpy/kobin
_split_into_mimetype_and_priority
140,976
LDU_FT/juju-solutions/charms.reactive/set_remote
LDU_FT
[ "<BEGIN>\n## `endpoint_from_name`", "The object used for interacting with the named relations, or None.\n<END>", "<BEGIN>\n## `endpoint_from_flag`", "The object used for interacting with relations tied to a flag, or None.\n<END>", "<BEGIN>\n## `relation_factory`", "Get the RelationFactory for the given re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_remote API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_remote API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Set data for the remote end(s) of the :class:`Conversation` with the given scope. In Python, this is equivalent to:: relation.conversation(scope).set_remote(key, value, data, scope, **kwdata) See :meth:`conversation` and :meth:`Conversation.set_remote`.
"Set data for the remote end(s) of the :class:`Conversation` with the given scope.\n\n In Python, this is equivalent to::\n\n relation.conversation(scope).set_remote(key, value, data, scope, **kwdata)\n\n See :meth:`conversation` and :meth:`Conversation.set_remote`."
223
false
juju-solutions/charms.reactive
set_remote
140,977
LDU_FT/dsoprea/PySchedules/_startGenresNode
LDU_FT
[ "<BEGIN>\n## `_startXTVDNode`", "Process the start of the top-level xtvd node\n<END>", "<BEGIN>\n## `_startStationsNode`", "Process the start of a node under xtvd/stations\n<END>", "<BEGIN>\n## `_endStationsNode`", "Process the end of a node under xtvd/stations\n<END>", "<BEGIN>\n## `_startLineupsNode`"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _startGenresNode API. 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 _startGenresNode API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Process the start of a node under xtvd/genres
"Process the start of a node under xtvd/genres"
50
false
dsoprea/PySchedules
_startGenresNode
140,978
LDU_FT/inveniosoftware/invenio-oauth2server/create_personal
LDU_FT
[ "<BEGIN>\n## `require_api_auth`", "Decorator to require API authentication using OAuth token.", " :param allow_anonymous: Allow access without OAuth token\n (default: ``False``).\n<END>", "<BEGIN>\n## `require_oauth_scopes`", "r\"\"\"Decorator to require a list of OAuth scopes.", " Decorator ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_personal API. 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_personal API. 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 a personal access token. A token that is bound to a specific user and which doesn't expire, i.e. similar to the concept of an API key. :param name: Client name. :param user_id: User ID. :param scopes: The list of permitted scopes. (Default: ``None``) :param is_in...
"Create a personal access token.\n\n A token that is bound to a specific user and which doesn't expire, i.e.\n similar to the concept of an API key.\n\n :param name: Client name.\n :param user_id: User ID.\n :param scopes: The list of permitted scopes. (Default: ``None``)\n :pa...
92
false
inveniosoftware/invenio-oauth2server
create_personal
140,979
LDU_FT/carlcarl/grabflickr/single_download_photos
LDU_FT
[ "<BEGIN>\n## `read_config`", "Read the config from CONFIG_PATH(Default: ~/.grabflickr.conf)\n This will prompt for API key and secret if it not exists.\n After, it sets the global variable `api_key` and `api_secret`.\n<END>", "<BEGIN>\n## `enter_api_key`", "Prompt for API key and secret\n Then write ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the single_download_photos 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 single_download_photos API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Use single process to download photos :param photos: The photos to be downloaded :type photos: list of dicts
"Use single process to download photos\n\n :param photos: The photos to be downloaded\n :type photos: list of dicts"
38
false
carlcarl/grabflickr
single_download_photos
140,980
LDU_FT/jessamynsmith/twitterbot/tokenize
LDU_FT
[ "<BEGIN>\n## `tokenize`", "Tokenize a message into a list of messages of no more than max_length, including mentions\n in each message\n :param message: Message to be sent\n :param max_length: Maximum allowed length for each resulting message\n :param mentions: List of usernames to men...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tokenize API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tokenize API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Tokenize a message into a list of messages of no more than max_length, including mentions in each message :param message: Message to be sent :param max_length: Maximum allowed length for each resulting message :param mentions: List of usernames to mention in each message :return:
"Tokenize a message into a list of messages of no more than max_length, including mentions\n in each message\n :param message: Message to be sent\n :param max_length: Maximum allowed length for each resulting message\n :param mentions: List of usernames to mention in each message\n :r...
12
false
jessamynsmith/twitterbot
tokenize
140,981
LDU_FT/vertexproject/synapse/getDocPath
LDU_FT
[ "<BEGIN>\n## `openDatFile`", "Open a file-like object using a pkg relative path.", " Example:", " fd = openDatFile('foopkg.barpkg/wootwoot.bin')\n<END>", "<BEGIN>\n## `scrape`", "Scrape types from a blob of text and return node tuples.", " Args:\n text (str): Text to scrape.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getDocPath API. 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 getDocPath API. 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...
Helper for getting a documentation data file paths. Args: fn (str): Name of the file to retrieve the full path for. root (str): Optional root path to look for a docdata in. Notes: Defaults to looking for the ``docdata`` directory in the current working directory. This behavior ...
"Helper for getting a documentation data file paths.\n\n Args:\n fn (str): Name of the file to retrieve the full path for.\n root (str): Optional root path to look for a docdata in.\n\n Notes:\n Defaults to looking for the ``docdata`` directory in the current\n working directory. This ...
1,135
true
vertexproject/synapse
getDocPath
140,982
LDU_FT/sebdah/dynamic-dynamodb/get_throttled_by_provisioned_write_event_percent
LDU_FT
[ "<BEGIN>\n## `get_consumed_read_units_percent`", "Returns the number of consumed read units in percent", " :type table_name: str\n :param table_name: Name of the DynamoDB table\n :type lookback_window_start: int\n :param lookback_window_start: Relative start time for the CloudWatch metric\n :type...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_throttled_by_provisioned_write_event_percent API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_throttled_by_provisioned_write_event_percent API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END>...
Returns the number of throttled write events during a given time frame :type table_name: str :param table_name: Name of the DynamoDB table :type lookback_window_start: int :param lookback_window_start: Relative start time for the CloudWatch metric :type lookback_period: int :param lookback_peri...
"Returns the number of throttled write events during a given time frame\n\n :type table_name: str\n :param table_name: Name of the DynamoDB table\n :type lookback_window_start: int\n :param lookback_window_start: Relative start time for the CloudWatch metric\n :type lookback_period: int\n :param lookb...
191
false
sebdah/dynamic-dynamodb
get_throttled_by_provisioned_write_event_percent
140,983
LDU_FT/NickMonzillo/SmartCloud/eliminate_repeats
LDU_FT
[ "<BEGIN>\n## `separate`", "Takes text and separates it into a list of words\n<END>", "<BEGIN>\n## `eliminate_repeats`", "Returns a list of words that occur in the text. Eliminates stopwords.\n<END>", "<BEGIN>\n## `wordcount`", "Returns the count of the words in a file.\n<END>", "<BEGIN>\n## `tuplecount`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eliminate_repeats API. 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 eliminate_repeats API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Returns a list of words that occur in the text. Eliminates stopwords.
"Returns a list of words that occur in the text. Eliminates stopwords."
28
false
NickMonzillo/SmartCloud
eliminate_repeats
140,984
LDU_FT/joferkington/mplstereonet/plane
LDU_FT
[ "<BEGIN>\n## `subplots`", "Identical to matplotlib.pyplot.subplots, except that this will default to\n producing equal-area stereonet axes.", " This prevents constantly doing:", " >>> fig, ax = plt.subplot(subplot_kw=dict(projection='stereonet'))", " or", " >>> fig = plt.figure()\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plane API. 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 plane API. 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...
Plot lines representing planes on the axes. Additional arguments and keyword arguments are passed on to `ax.plot`. Parameters ---------- strike, dip : number or sequences of numbers The strike and dip of the plane(s) in degrees. The dip direction is defined by th...
"Plot lines representing planes on the axes. Additional arguments and\n keyword arguments are passed on to `ax.plot`.\n\n Parameters\n ----------\n strike, dip : number or sequences of numbers\n The strike and dip of the plane(s) in degrees. The dip direction is\n defin...
362
false
joferkington/mplstereonet
plane
140,985
LDU_FT/leancloud/python-sdk/reverse_query
LDU_FT
[ "<BEGIN>\n## `become`", "通过 session token 获取用户对象", " :param session_token: 用户的 session token\n :return: leancloud.User\n<END>", "<BEGIN>\n## `sign_up`", "创建一个新用户。新创建的 User 对象,应该使用此方法来将数据保存至服务器,而不是使用 save 方法。\n 用户对象上必须包含 username 和 password 两个字段\n<END>", "<BEGIN>\n## `login`", "登陆用户。...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reverse_query API. 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 reverse_query API. 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...
创建一个新的 Query 对象,反向查询所有指向此 Relation 的父对象。 :param parent_class: 父类名称 :param relation_key: 父类中 Relation 的字段名 :param child: 子类对象 :return: leancloud.Query
"创建一个新的 Query 对象,反向查询所有指向此 Relation 的父对象。\n\n :param parent_class: 父类名称\n :param relation_key: 父类中 Relation 的字段名\n :param child: 子类对象\n :return: leancloud.Query"
161
false
leancloud/python-sdk
reverse_query
140,986
LDU_FT/calvinku96/labreporthelper/generate_datasets_list
LDU_FT
[ "<BEGIN>\n## `generate_datasets_list`", "generate datasets list to activate", " args:\n settings: dictionary\n from settings file\n argv: list\n from sys.argv\n<END>", "<BEGIN>\n## `do_label`", "Create label for x and y axis, title and suptitle\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_datasets_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....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_datasets_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....
generate datasets list to activate args: settings: dictionary from settings file argv: list from sys.argv
"generate datasets list to activate\n\n args:\n settings: dictionary\n from settings file\n argv: list\n from sys.argv"
57
false
calvinku96/labreporthelper
generate_datasets_list
140,987
LDU_FT/vatlab/SoS/extract_pattern
LDU_FT
[ "<BEGIN>\n## `process_request`", "port is the open port at the worker, num_pending is the num_pending of stack.\n A non-zero num_pending means that the worker is pending on something while\n looking for new job, so the worker should not be killed.\n<END>", "<BEGIN>\n## `check_workers`", "Kill wo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_pattern API. 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 extract_pattern API. 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...
This function match pattern to a list of input files, extract and return pieces of filenames as a list of variables with keys defined by pattern.
"This function match pattern to a list of input files, extract and return\n pieces of filenames as a list of variables with keys defined by pattern."
193
false
vatlab/SoS
extract_pattern
140,988
LDU_FT/kieferk/dfply/rename
LDU_FT
[ "<BEGIN>\n## `select_if`", "Selects columns where fun(ction) is true\n Args:\n fun: a function that will be applied to columns\n<END>", "<BEGIN>\n## `drop_if`", "Drops columns where fun(ction) is true\n Args:\n fun: a function that will be applied to columns\n<END>", "<BEGIN>\n## `mean`"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rename API. 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 rename API. 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 ...
Renames columns, where keyword argument values are the current names of columns and keys are the new names. Args: df (:obj:`pandas.DataFrame`): DataFrame passed in via `>>` pipe. Kwargs: **kwargs: key:value pairs where keys are new names for columns and values are current names...
"Renames columns, where keyword argument values are the current names\n of columns and keys are the new names.\n\n Args:\n df (:obj:`pandas.DataFrame`): DataFrame passed in via `>>` pipe.\n\n Kwargs:\n **kwargs: key:value pairs where keys are new names for columns and\n values are curr...
149
false
kieferk/dfply
rename
140,989
LDU_FT/CyberReboot/vent/ensure_file
LDU_FT
[ "<BEGIN>\n## `gpu_queue`", "Queued up containers waiting for GPU resources\n<END>", "<BEGIN>\n## `file_queue`", "Processes files that have been added from the rq-worker, starts plugins\n that match the mime type for the new file.\n<END>", "<BEGIN>\n## `inventory`", "Return a dictionary of the inventory...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ensure_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ensure_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Checks if file exists, if fails, tries to create file
"Checks if file exists, if fails, tries to create file"
141
false
CyberReboot/vent
ensure_file
140,990
LDU_FT/bitesofcode/xqt/getDirectory
LDU_FT
[ "<BEGIN>\n## `init`", "Initialize the xqt system with the PySide wrapper for the Qt system.\r", " :param scope | <dict>\n<END>", "<BEGIN>\n## `createAction`", "Overloads teh create action method to handle the proper base\r\n instance information, similar to the PyQt4 loading system.\r", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getDirectory API. 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 getDirectory API. 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...
Normalizes the getDirectory method between the different Qt wrappers. :return (<str> filename, <bool> accepted)
"Normalizes the getDirectory method between the different Qt\r\n wrappers.\r\n \r\n :return (<str> filename, <bool> accepted)"
35
false
bitesofcode/xqt
getDirectory
140,991
LDU_FT/biocore/deblur/to_fasta
LDU_FT
[ "<BEGIN>\n## `deblur_system_call`", "Build deblur command for subprocess.", " Parameters\n ----------\n params: list of str\n parameter settings to pass to deblur CLI\n input_fp : str\n name of the input fasta file to deblur", " Returns\n -------\n stdout: string\n pr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_fasta API. 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 to_fasta API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns a string with the sequence in fasta format Returns ------- str The FASTA representation of the sequence
"Returns a string with the sequence in fasta format\n\n Returns\n -------\n str\n The FASTA representation of the sequence"
94
false
biocore/deblur
to_fasta
140,992
LDU_FT/ktdreyer/txkoji/put_name
LDU_FT
[ "<BEGIN>\n## `duration`", "Return a timedelta for this build.", " Measure the time between this build's start and end time, or \"now\"\n if the build has not yet finished.", " :returns: timedelta object\n<END>", "<BEGIN>\n## `url`", "Return a kojiweb URL for this resource.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Write a cached name to disk. :param type_: str, "user" or "tag" :param id_: int, eg. 123456 :returns: None
"Write a cached name to disk.\n\n :param type_: str, \"user\" or \"tag\"\n :param id_: int, eg. 123456\n :returns: None"
213
false
ktdreyer/txkoji
put_name
140,993
LDU_FT/umutbozkurt/django-rest-framework-mongoengine/get_nested_relation_kwargs
LDU_FT
[ "<BEGIN>\n## `to_representation`", "convert value to representation.", " DRF ModelField uses ``value_to_string`` for this purpose. Mongoengine fields do not have such method.", " This implementation uses ``django.utils.encoding.smart_text`` to convert everything to text, while keeping json-safe ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_nested_relation_kwargs 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 get_nested_relation_kwargs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Creating a default instance of a nested serializer
"Creating a default instance of a nested serializer"
36
false
umutbozkurt/django-rest-framework-mongoengine
get_nested_relation_kwargs
140,994
LDU_FT/codebynumbers/ftpretty/descend
LDU_FT
[ "<BEGIN>\n## `split_file_info`", "Parse sane directory output usually ls -l\n Adapted from https://gist.github.com/tobiasoberrauch/2942716\n<END>", "<BEGIN>\n## `get`", "Gets the file from FTP server", " local can be:\n a file: opened for writing, left open\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the descend API. 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 descend API. 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...
Descend, possibly creating directories as needed
"Descend, possibly creating directories as needed"
13
false
codebynumbers/ftpretty
descend
140,995
LDU_FT/ocadotechnology/django-closuretree/create_closure_model
LDU_FT
[ "<BEGIN>\n## `create_closure_model`", "Creates a <Model>Closure model in the same module as the model.\n<END>", "<BEGIN>\n## `_toplevel`", "Find the top level of the chain we're in.", " For example, if we have:\n C inheriting from B inheriting from A inheriting from ClosureModel\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_closure_model 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_closure_model 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 <Model>Closure model in the same module as the model.
"Creates a <Model>Closure model in the same module as the model."
17
false
ocadotechnology/django-closuretree
create_closure_model
140,996
LDU_FT/mazi76erX2/mention-python/params
LDU_FT
[ "<BEGIN>\n## `params`", "Parameters used in the url of the API call and for authentication.", " :return: parameters used in the url.\n :rtype: dict\n<END>", "<BEGIN>\n## `data`", "Parameters passed to the API containing the details to create a new\n alert.", " :return: paramet...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Parameters used in the url of the API call and for authentication. :return: parameters used in the url. :rtype: dict
"Parameters used in the url of the API call and for authentication.\n\n :return: parameters used in the url.\n :rtype: dict"
18
false
mazi76erX2/mention-python
params
140,997
LDU_FT/google/python-gflags/parse
LDU_FT
[ "<BEGIN>\n## `GetRealPath`", "Given an executable filename, find in the PATH or find absolute path.\n Args:\n filename An executable filename (string)\n Returns:\n Absolute version of filename.\n None if filename could not be found locally, absolutely, or in PATH\n<END>", "<BEGIN>\n## `Run`", "Run...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. 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 parse API. 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...
Parses one or more arguments with the installed parser. Args: arguments: a single argument or a list of arguments (typically a list of default values); a single argument is converted internally into a list containing one item.
"Parses one or more arguments with the installed parser.\n\n Args:\n arguments: a single argument or a list of arguments (typically a\n list of default values); a single argument is converted\n internally into a list containing one item."
243
false
google/python-gflags
parse
140,998
LDU_FT/ethereum/py-evm/env_string
LDU_FT
[ "<BEGIN>\n## `new_transaction`", "Create and return a transaction sending amount from <from_> to <to>.", " The transaction will be signed with the given private key.\n<END>", "<BEGIN>\n## `idfn`", "Function for pytest to produce uniform names for fixtures.\n<END>", "<BEGIN>\n## `get_fixtures_file_hash`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the env_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the env_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 extrac...
Pulls an environment variable out of the environment returning it as a string. If not present in the environment and no default is specified, an empty string is returned. :param name: The name of the environment variable be pulled :type name: str :param required: Whether the environment variable i...
"Pulls an environment variable out of the environment returning it as a\n string. If not present in the environment and no default is specified, an\n empty string is returned.\n\n :param name: The name of the environment variable be pulled\n :type name: str\n\n :param required: Whether the environment va...
422
false
ethereum/py-evm
env_string
140,999
LDU_FT/CityOfZion/neo-python-rpc/get_wallet_height
LDU_FT
[ "<BEGIN>\n## `get_account`", "Look up an account on the blockchain. Sample output:", " Args:\n address: (str) address to lookup ( in format 'AXjaFSP23Jkbe6Pk9pPGT6NBDs1HVdqaXK')\n id: (int, optional) id to use for response tracking\n endpoint: (RPCEndpoint, optional) end...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_wallet_height API. 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_wallet_height API. 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 current wallet index height. Args: id: (int, optional) id to use for response tracking endpoint: (RPCEndpoint, optional) endpoint to specify to use Returns: json object of the result or the error encountered in the RPC call
"Get the current wallet index height.\n Args:\n id: (int, optional) id to use for response tracking\n endpoint: (RPCEndpoint, optional) endpoint to specify to use\n Returns:\n json object of the result or the error encountered in the RPC call"
76
false
CityOfZion/neo-python-rpc
get_wallet_height
141,000
LDU_FT/cjdrake/pyeda/solve
LDU_FT
[ "<BEGIN>\n## `ripple_carry_add`", "Return symbolic logic for an N-bit ripple carry adder.\n<END>", "<BEGIN>\n## `kogge_stone_add`", "Return symbolic logic for an N-bit Kogge-Stone adder.\n<END>", "<BEGIN>\n## `brent_kung_add`", "Return symbolic logic for an N-bit Brent-Kung adder.\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the solve API. 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 solve API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Return a solution point for a Sudoku grid.
"Return a solution point for a Sudoku grid."
410
false
cjdrake/pyeda
solve
141,001
LDU_FT/DeepHorizons/iarm/directive_DCD
LDU_FT
[ "<BEGIN>\n## `ADR`", "ADR Ra, [PC, #imm10_4]\n ADR Ra, label", " Load the address of label or the PC offset into Ra\n Ra must be a low register\n<END>", "<BEGIN>\n## `LDR`", "LDR Ra, [PC, #imm10_4]\n LDR Ra, label\n LDR Ra, =equate\n LDR Ra, [Rb, Rc]\n LDR Ra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the directive_DCD API. 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 directive_DCD API. 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...
label DCD value[, value ...] Allocate a word space in read only memory for the value or list of values
"label DCD value[, value ...]\n\n Allocate a word space in read only memory for the value or list of values"
253
false
DeepHorizons/iarm
directive_DCD
141,002
LDU_FT/jazzband/django-queued-storage/get_available_name
LDU_FT
[ "<BEGIN>\n## `run`", "The main work horse of the transfer task. Calls the transfer\n method with the local and remote storage backends as given\n with the parameters.", " :param name: name of the file to transfer\n :type name: str\n :param local_path: local storage class to tr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_available_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_available_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Returns a filename that's free on both the local and remote storage systems, and available for new content to be written to. :param name: file name :type name: str :rtype: str
"Returns a filename that's free on both the local and remote storage\n systems, and available for new content to be written to.\n\n :param name: file name\n :type name: str\n :rtype: str"
21
false
jazzband/django-queued-storage
get_available_name
141,003
LDU_FT/ardydedase/pycouchbase/_mk_imp_override
LDU_FT
[ "<BEGIN>\n## `_add_err`", "Sets the error on this MultiResult. Will be ignored if an error is\n already set.\n :param exinfo: Return value from ``sys.exc_info()``\n<END>", "<BEGIN>\n## `_add_bad_rc`", "Sets an error with a bad return code. Handles 'quiet' logic\n :param rc: The error code...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _mk_imp_override API. 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 _mk_imp_override API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Create a simple one for one replacement for a module :param srcname: The source module name to replace :param replacement: The object which should act as the replacement
"Create a simple one for one replacement for a module\n :param srcname: The source module name to replace\n :param replacement: The object which should act as the replacement"
76
false
ardydedase/pycouchbase
_mk_imp_override
141,004
LDU_FT/miguelgrinberg/python-socketio/save_session
LDU_FT
[ "<BEGIN>\n## `get_participants`", "Return an iterable with the active participants in a room.\n<END>", "<BEGIN>\n## `connect`", "Register a client connection to a namespace.\n<END>", "<BEGIN>\n## `pre_disconnect`", "Put the client in the to-be-disconnected list.", " This allows the client data st...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_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 extr...
Store the user session for a client. The only difference with the :func:`socketio.Server.save_session` method is that when the ``namespace`` argument is not given the namespace associated with the class is used.
"Store the user session for a client.\n\n The only difference with the :func:`socketio.Server.save_session`\n method is that when the ``namespace`` argument is not given the\n namespace associated with the class is used."
172
false
miguelgrinberg/python-socketio
save_session
141,005
LDU_FT/rocky/python-xdis/pretty_flags
LDU_FT
[ "<BEGIN>\n## `disco`", "diassembles and deparses a given code block 'co'\n<END>", "<BEGIN>\n## `disco_loop`", "Disassembles a queue of code objects. If we discover\n another code object which will be found in co_consts, we add\n the new code to the list. Note that the order of code discovery\n is in ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pretty_flags API. 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 pretty_flags API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Return pretty representation of code flags.
"Return pretty representation of code flags."
133
false
rocky/python-xdis
pretty_flags
141,006
LDU_FT/datacamp/protowhat/check_not
LDU_FT
[ "<BEGIN>\n## `_from_func`", "Creates a function chain starting with the specified SCT (f), and its arguments.\n<END>", "<BEGIN>\n## `check_file`", "Test whether file exists, and make its contents the student code.", " Note: this SCT fails if the file is a directory.\n<END>", "<BEGIN>\n## `dump`", "Co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_not API. 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 check_not API. 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...
Run multiple subtests that should fail. If all subtests fail, returns original state (for chaining) - This function is currently only tested in working with ``has_code()`` in the subtests. - This function can be thought as a ``NOT(x OR y OR ...)`` statement, since all tests it runs must fail - This functio...
"Run multiple subtests that should fail. If all subtests fail, returns original state (for chaining)\n\n - This function is currently only tested in working with ``has_code()`` in the subtests.\n - This function can be thought as a ``NOT(x OR y OR ...)`` statement, since all tests it runs must fail\n - This fu...
94
false
datacamp/protowhat
check_not
141,007
LDU_FT/kentik/kentikapi-py/_submit_batch
LDU_FT
[ "<BEGIN>\n## `add_upsert`", "Add a tag or populator to the batch by value and criteria\n<END>", "<BEGIN>\n## `add_delete`", "Delete a tag or populator by value - these are processed before upserts\n<END>", "<BEGIN>\n## `parts`", "Return an array of batch parts to submit\n<END>", "<BEGIN>\n## `add_tcp_fl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _submit_batch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _submit_batch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Submit the batch, returning the JSON->dict from the last HTTP response
"Submit the batch, returning the JSON->dict from the last HTTP response"
15
false
kentik/kentikapi-py
_submit_batch
141,008
LDU_FT/picklepete/pyicloud/send_verification_code
LDU_FT
[ "<BEGIN>\n## `refresh_client`", "Refreshes the FindMyiPhoneService endpoint,", " This ensures that the location data is up-to-date.\n<END>", "<BEGIN>\n## `status`", "Returns status information for device.", " This returns only a subset of possible properties.\n<END>", "<BEGIN>\n## `play_so...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_verification_code API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_verification_code API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Requests that a verification code is sent to the given device
"Requests that a verification code is sent to the given device"
32
false
picklepete/pyicloud
send_verification_code
141,009
LDU_FT/astroML/gatspy/_model
LDU_FT
[ "<BEGIN>\n## `mode_in_range`", "Find the mode of values to within a certain range\n<END>", "<BEGIN>\n## `scores`", "Compute the scores under the various models", " Parameters\n ----------\n periods : array_like\n array of periods at which to compute scores", " Return...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _model API. 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 _model API. 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 ...
Compute model at t for the given parameters, period, & template
"Compute model at t for the given parameters, period, & template"
123
false
astroML/gatspy
_model
141,010
LDU_FT/Deepwalker/trafaret/guard
LDU_FT
[ "<BEGIN>\n## `ensure_trafaret`", "Helper for complex trafarets, takes trafaret instance or class\n and returns trafaret instance\n<END>", "<BEGIN>\n## `DictKeys`", "Checks if dict has all given keys", " :param keys:\n :type keys:", " >>> _dd(DictKeys(['a','b']).check({'a':1,'b':2,}))\n \"{'...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the guard API. 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 guard API. 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...
Decorator for protecting function with trafarets >>> @guard(a=String, b=Int, c=String) ... def fn(a, b, c="default"): ... '''docstring''' ... return (a, b, c) ... >>> fn.__module__ = None >>> help(fn) Help on function fn: <BLANKLINE> fn(*args, **kwargs) guarded w...
"Decorator for protecting function with trafarets\n\n >>> @guard(a=String, b=Int, c=String)\n ... def fn(a, b, c=\"default\"):\n ... '''docstring'''\n ... return (a, b, c)\n ...\n >>> fn.__module__ = None\n >>> help(fn)\n Help on function fn:\n <BLANKLINE>\n fn(*args, **kwargs)\n ...
36
false
Deepwalker/trafaret
guard
141,011
LDU_FT/PlatformStories/geojsontools/get_from
LDU_FT
[ "<BEGIN>\n## `join`", "Join geojsons into one. The spatial reference system of the output file is the same\n as the one of the last file in the list.", " Args:\n input_files (list): List of file name strings.\n output_file (str): Output file name.\n<END>", "<BEGIN>\n## `split`", "Spl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_from API. 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 get_from API. 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...
Reads a geojson and returns a list of value tuples, each value corresponding to a property in property_names. Args: input_file (str): File name. property_names: List of strings; each string is a property name. Returns: List of value tuples.
"Reads a geojson and returns a list of value tuples, each value corresponding to a\n property in property_names.\n\n Args:\n input_file (str): File name.\n property_names: List of strings; each string is a property name.\n\n Returns:\n List of value tuples."
22
false
PlatformStories/geojsontools
get_from
141,012
LDU_FT/BYU-PCCL/holodeck/world_command_examples
LDU_FT
[ "<BEGIN>\n## `malloc`", "Allocates a block of shared memory, and returns a numpy array whose data corresponds with that block.", " Args:\n key (str): The key to identify the block.\n shape (list of int): The shape of the numpy array to allocate.\n dtype (type): The numpy ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the world_command_examples 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 world_command_examples API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
A few examples to showcase commands for manipulating the worlds.
"A few examples to showcase commands for manipulating the worlds."
111
false
BYU-PCCL/holodeck
world_command_examples
141,013
LDU_FT/chaimleib/intervaltree/overlaps
LDU_FT
[ "<BEGIN>\n## `refresh_balance`", "Recalculate self.balance and self.depth based on child node values.\n<END>", "<BEGIN>\n## `compute_depth`", "Recursively computes true depth of the subtree. Should only\n be needed for debugging. Unless something is wrong, the\n depth field should reflect the co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overlaps API. 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 overlaps API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns whether some interval in the tree overlaps the given point or range. Completes in O(r*log n) time, where r is the size of the search range. :rtype: bool
"Returns whether some interval in the tree overlaps the given\n point or range.\n\n Completes in O(r*log n) time, where r is the size of the\n search range.\n :rtype: bool"
139
false
chaimleib/intervaltree
overlaps
141,014
LDU_FT/tbreitenfeldt/invisible_ui/change_event_params
LDU_FT
[ "<BEGIN>\n## `handle_event`", "An abstract method that must be overwritten by child classes used to handle events.", " event - the event to be handled", " returns true or false if the event could be handled here", " default code is given for this method, however subclasses must still ov...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the change_event_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the change_event_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
This allows the client to change the parameters for an event, in the case that there is a desire for slightly different behavior, such as reasigning keys. handler - the handler object that the desired changes are made to. kwargs - the variable number of keyword arguments for the parameters that must m...
"This allows the client to change the parameters for an event, in the case that there is a desire for slightly different behavior, such as reasigning keys.\n\n handler - the handler object that the desired changes are made to.\n\n kwargs - the variable number of keyword arguments for the parameters that m...
36
false
tbreitenfeldt/invisible_ui
change_event_params
141,015
LDU_FT/twilio/twilio-python/activities
LDU_FT
[ "<BEGIN>\n## `stream`", "Streams KeyInstance records from the API as a generator stream.\n This operation lazily loads records as efficiently as possible until the limit\n is reached.\n The results are returned as a generator, so this operation is memory efficient.", " :param int lim...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the activities API. 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 activities API. 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...
Access the activities :returns: twilio.rest.taskrouter.v1.workspace.activity.ActivityList :rtype: twilio.rest.taskrouter.v1.workspace.activity.ActivityList
"Access the activities\n\n :returns: twilio.rest.taskrouter.v1.workspace.activity.ActivityList\n :rtype: twilio.rest.taskrouter.v1.workspace.activity.ActivityList"
4,304
true
twilio/twilio-python
activities
141,016
LDU_FT/PyCQA/pyflakes/differentForks
LDU_FT
[ "<BEGIN>\n## `syntaxError`", "There was a syntax error in C{filename}.", " @param filename: The path to the file with the syntax error.\n @ptype filename: C{unicode}\n @param msg: An explanation of the syntax error.\n @ptype msg: C{unicode}\n @param lineno: The line number whe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the differentForks API. 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 differentForks API. 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...
True, if lnode and rnode are located on different forks of IF/TRY
"True, if lnode and rnode are located on different forks of IF/TRY"
54
false
PyCQA/pyflakes
differentForks
141,017
LDU_FT/SetBased/py-stratum/__get_doc_block_lines
LDU_FT
[ "<BEGIN>\n## `log_verbose`", "Logs a message only when logging level is verbose.", " :param str|list[str] message: The message.\n<END>", "<BEGIN>\n## `log_very_verbose`", "Logs a message only when logging level is very verbose.", " :param str|list[str] message: The message.\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __get_doc_block_lines 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_doc_block_lines API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Returns the start and end line of the DOcBlock of the stored routine code.
"Returns the start and end line of the DOcBlock of the stored routine code."
189
false
SetBased/py-stratum
__get_doc_block_lines
141,018
LDU_FT/CS207-Final-Project-Group-10/cs207-FinalProject/make_force
LDU_FT
[ "<BEGIN>\n## `configuration_ES`", "Get the positions and velocities of the earth and sun from date t0 to t1.\n Returned as a tuple q, v\n q: Nx3 array of positions (x, y, z) in the J2000.0 coordinate frame.\n<END>", "<BEGIN>\n## `plot_ES`", "Plot the earth-sun orbits.\n q is a Tx6 array. T indexes t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_force API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_force API. 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...
Fluxion with the potential energy of the eight planets sytem
"Fluxion with the potential energy of the eight planets sytem"
92
false
CS207-Final-Project-Group-10/cs207-FinalProject
make_force
141,019
LDU_FT/booktype/python-ooxml/parse_relationship
LDU_FT
[ "<BEGIN>\n## `parse_drawing`", "Parse drawing element.", " We don't do much with drawing element. We can find embeded image but we don't do more than that.\n<END>", "<BEGIN>\n## `parse_paragraph`", "Parse paragraph element.", " Some other elements could be found inside of paragraph element (math, li...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_relationship API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_relationship API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Parse relationship document. Relationships hold information like external or internal references for links. Relationships are placed in file '_rels/document.xml.rels'.
"Parse relationship document.\n\n Relationships hold information like external or internal references for links.\n\n Relationships are placed in file '_rels/document.xml.rels'."
117
false
booktype/python-ooxml
parse_relationship
141,020
LDU_FT/cogniteev/docido-python-sdk/catch
LDU_FT
[ "<BEGIN>\n## `to_unicode`", "Convert input to an `unicode` object.", " For a `str` object, we'll first try to decode the bytes using the given\n `charset` encoding (or UTF-8 if none is specified), then we fall back to\n the latin1 encoding which might be correct or not, but at least preserves\n the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the catch API. 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 catch API. 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...
Decorator class method catching exceptions raised by the wrapped member function. When exception is caught, the decorator waits for an amount of time specified in the `ha_config`. :param catch_exception: Exception class or tuple of exception classes.
"Decorator class method catching exceptions raised by the wrapped\n member function. When exception is caught, the decorator waits\n for an amount of time specified in the `ha_config`.\n\n :param catch_exception: Exception class or tuple of exception classes."
147
false
cogniteev/docido-python-sdk
catch
141,021
LDU_FT/pymupdf/PyMuPDF/getColorHSV
LDU_FT
[ "<BEGIN>\n## `_Widget_fontdict`", "Turns the above font definitions into a dictionary. Assumes certain line breaks and spaces.\n<END>", "<BEGIN>\n## `getTextlength`", "Calculate length of a string for a given built-in font.", " Args:\n fontname: name of the font.\n fontsize: size of font in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getColorHSV API. 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 getColorHSV API. 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...
Retrieve the hue, saturation, value triple of a color name. Returns: a triple (degree, percent, percent). If not found (-1, -1, -1) is returned.
"Retrieve the hue, saturation, value triple of a color name.\n\n Returns:\n a triple (degree, percent, percent). If not found (-1, -1, -1) is returned."
282
false
pymupdf/PyMuPDF
getColorHSV
141,022
LDU_FT/cgoldberg/sauceclient/get_subaccounts
LDU_FT
[ "<BEGIN>\n## `get_subaccounts`", "Get a list of sub accounts associated with a parent account.\n<END>", "<BEGIN>\n## `get_siblings`", "Get a list of sibling accounts associated with provided account.\n<END>", "<BEGIN>\n## `get_platforms`", "Get a list of objects describing all the OS and browser platforms...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_subaccounts API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_subaccounts API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Get a list of sub accounts associated with a parent account.
"Get a list of sub accounts associated with a parent account."
19
false
cgoldberg/sauceclient
get_subaccounts
141,023
LDU_FT/django-salesforce/django-salesforce/make_dynamic_fields
LDU_FT
[ "<BEGIN>\n## `db_for_write`", "If given some hints['instance'] that is saved in a db, use related\n fields from the same db. Otherwise if passed a class or instance to\n model, return the salesforce alias if it's a subclass of SalesforceModel.\n<END>", "<BEGIN>\n## `allow_migrate`", "Don't attem...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_dynamic_fields 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 make_dynamic_fields 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...
Add some Salesforce fields from a pattern_module models.py Parameters: pattern_module: Module where to search additional fields settings. It is an imported module created by introspection (inspectdb), usually named `models_template.py`. (You will probably not add it to ver...
"Add some Salesforce fields from a pattern_module models.py\n\n Parameters:\n pattern_module: Module where to search additional fields settings.\n It is an imported module created by introspection (inspectdb),\n usually named `models_template.py`. (You will probably not add it\n ...
138
false
django-salesforce/django-salesforce
make_dynamic_fields
141,024
LDU_FT/pjuren/pyokit/_rm_get_repeat_coords_from_header
LDU_FT
[ "<BEGIN>\n## `__trim_extensions_dot`", "trim leading dots from extensions and drop any empty strings.\n<END>", "<BEGIN>\n## `__split_genomic_interval_filename`", "Split a filename of the format chrom:start-end.ext or chrom.ext (full chrom).", " :return: tuple of (chrom, start, end) -- 'start' and 'end' are...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _rm_get_repeat_coords_from_header 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 _rm_get_repeat_coords_from_header API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
extract the repeat coordinates of a repeat masker match from a header line. An example header line is:: 239 29.42 1.92 0.97 chr1 11 17 (41) C XX#YY (74) 104 1 m_b1s502i1 4 239 29.42 1.92 0.97 chr1 11 17 (41) XX#YY 1 104 (74) m_b1s502i1 4 if the match is to the reverse complement, the start and end coordi...
"extract the repeat coordinates of a repeat masker match from a header line.\n\n An example header line is::\n\n 239 29.42 1.92 0.97 chr1 11 17 (41) C XX#YY (74) 104 1 m_b1s502i1 4\n 239 29.42 1.92 0.97 chr1 11 17 (41) XX#YY 1 104 (74) m_b1s502i1 4\n\n if the match is to the reverse complement, the start and en...
519
false
pjuren/pyokit
_rm_get_repeat_coords_from_header
141,025
LDU_FT/aliyun/aliyun-odps-python-sdk/get_worker_log
LDU_FT
[ "<BEGIN>\n## `_process_worker`", "Evaluates calls from call_queue and places the results in result_queue.", " This worker is run in a separate process.", " Args:\n call_queue: A multiprocessing.Queue of _CallItems that will be read and\n evaluated by the worker.\n result_queue: ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_worker_log API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_worker_log API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Get logs from worker. :param log_id: id of log, can be retrieved from details. :param log_type: type of logs. Possible log types contains {log_types} :param size: length of the log to retrieve :return: log content
"Get logs from worker.\n\n :param log_id: id of log, can be retrieved from details.\n :param log_type: type of logs. Possible log types contains {log_types}\n :param size: length of the log to retrieve\n :return: log content"
1,057
true
aliyun/aliyun-odps-python-sdk
get_worker_log
141,026
LDU_FT/webrecorder/warcio/read
LDU_FT
[ "<BEGIN>\n## `_raise_invalid_gzip_err`", "A gzip file with multiple ARC/WARC records, non-chunked\n has been detected. This is not valid for replay, so notify user\n<END>", "<BEGIN>\n## `_consume_blanklines`", "Consume blank lines that are between records\n - For warcs, there are usually 2\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Fill bytes and read some number of bytes (up to length if specified) <= length bytes may be read if reached the end of input if at buffer boundary, will attempt to read again until specified length is read
"Fill bytes and read some number of bytes\n (up to length if specified)\n <= length bytes may be read if reached the end of input\n if at buffer boundary, will attempt to read again until\n specified length is read"
91
false
webrecorder/warcio
read
141,027
LDU_FT/oasis-open/cti-stix-validator/custom_observable_object_prefix_lax
LDU_FT
[ "<BEGIN>\n## `pretty_error`", "Return an error message that is easier to read and more useful.\n May require updating if the schemas change significantly.\n<END>", "<BEGIN>\n## `_iter_errors_custom`", "Perform additional validation not possible merely with JSON schemas.", " Args:\n instance: Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the custom_observable_object_prefix_lax API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the custom_observable_object_prefix_lax API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it...
Ensure custom observable objects follow naming style conventions.
"Ensure custom observable objects follow naming style conventions."
220
false
oasis-open/cti-stix-validator
custom_observable_object_prefix_lax
141,028
LDU_FT/cdeboever3/cdpybio/ld_expand
LDU_FT
[ "<BEGIN>\n## `get_region_nt_counts`", "Get counts of each nucleotide from a bam file for a given region. If R1 and\n R2 reads both overlap a position, only one count will be added. If the R1\n and R2 reads disagree at a position they both overlap, that read pair is not\n used for that position. Can opti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ld_expand API. 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 ld_expand API. 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...
Expand a set of SNVs into all SNVs with LD >= 0.8 and return a BedTool of the expanded SNPs. Parameters ---------- df : pandas.DataFrame Pandas dataframe with SNVs. The index is of the form chrom:pos where pos is the one-based position of the SNV. The columns are chrom, start, end. ...
"Expand a set of SNVs into all SNVs with LD >= 0.8 and return a BedTool of\n the expanded SNPs.\n \n Parameters\n ----------\n df : pandas.DataFrame\n Pandas dataframe with SNVs. The index is of the form chrom:pos where pos\n is the one-based position of the SNV. The columns are chrom, star...
387
false
cdeboever3/cdpybio
ld_expand
141,029
LDU_FT/bfontaine/crosswords/extract_opts
LDU_FT
[ "<BEGIN>\n## `sanitize_word`", "sanitize a word by removing its accents, special characters, etc\n<END>", "<BEGIN>\n## `init_storage`", "Initialize the local dictionnaries cache in ~/.crosswords/dicts.\n<END>", "<BEGIN>\n## `local_list`", "Return a list of the locally available dictionnaries. Each element...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_opts API. 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 extract_opts API. 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...
Small utility to extract a set of one-char options from sys.argv.
"Small utility to extract a set of one-char options from sys.argv."
20
false
bfontaine/crosswords
extract_opts
141,030
LDU_FT/TeamHG-Memex/eli5/with_sample_weight
LDU_FT
[ "<BEGIN>\n## `explain_weights_lightning`", "Return an explanation of a lightning estimator weights\n<END>", "<BEGIN>\n## `explain_prediction_lightning`", "Return an explanation of a lightning estimator predictions\n<END>", "<BEGIN>\n## `format_as_html`", "Format explanation as html.\n Most styles are i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the with_sample_weight API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the with_sample_weight API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Return fit_params with added "sample_weight" argument. Unlike `fit_params['sample_weight'] = sample_weight` it handles a case where ``clf`` is a pipeline.
"Return fit_params with added \"sample_weight\" argument.\n Unlike `fit_params['sample_weight'] = sample_weight` it\n handles a case where ``clf`` is a pipeline."
391
false
TeamHG-Memex/eli5
with_sample_weight
141,031
LDU_FT/tchellomello/python-arlo/load
LDU_FT
[ "<BEGIN>\n## `query`", "Return a JSON object or raw session.", " :param url: Arlo API URL\n :param method: Specify the method GET, POST or PUT. Default is GET.\n :param extra_params: Dictionary to be appended on request.body\n :param extra_headers: Dictionary to be apppended on requ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Load Arlo videos from the given criteria :param days: number of days to retrieve :param only_cameras: retrieve only <ArloCamera> on that list :param date_from: refine from initial date :param date_to: refine final date :param limit: define number of objects to return
"Load Arlo videos from the given criteria\n\n :param days: number of days to retrieve\n :param only_cameras: retrieve only <ArloCamera> on that list\n :param date_from: refine from initial date\n :param date_to: refine final date\n :param limit: define number of objects to return"
69
false
tchellomello/python-arlo
load
141,032
LDU_FT/planetarypy/pvl/load
LDU_FT
[ "<BEGIN>\n## `append`", "Adds a (name, value) pair, doesn't overwrite the value if it already\n exists.\n<END>", "<BEGIN>\n## `__insert_wrapper`", "Make sure the arguments given to the insert methods are correct\n<END>", "<BEGIN>\n## `_get_index_for_insert`", "Get the index of the key to insert bef...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Deserialize ``stream`` as a pvl module. :param stream: a ``.read()``-supporting file-like object containing a module. If ``stream`` is a string it will be treated as a filename :param cls: the decoder class used to deserialize the pvl module. You may use the default ``PVLDecoder`` class or pro...
"Deserialize ``stream`` as a pvl module.\n\n :param stream: a ``.read()``-supporting file-like object containing a\n module. If ``stream`` is a string it will be treated as a filename\n\n :param cls: the decoder class used to deserialize the pvl module. You may\n use the default ``PVLDecoder`` class...
63
false
planetarypy/pvl
load
141,033
LDU_FT/MacHu-GWU/macro-project/ctrl_fn
LDU_FT
[ "<BEGIN>\n## `learn_all_skill`", "在技能编辑界面学会所有的技能。运行脚本前, 将鼠标放在第一个技能的技能等级\n 的数字上, 并选中所有文本。然后运行此脚本, 并在1秒内切回到修改器界面。", " :param level: 技能等级\n :param master_level: 专精等级, 0是普通, 1是专家, 2是大师\n<END>", "<BEGIN>\n## `right_click`", "Right click at ``(x, y)`` on screen for ``n`` times.\n at begin.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ctrl_fn API. 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 ctrl_fn API. 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...
Press Ctrl + Fn1 ~ 12 once. **中文文档** 按下 Ctrl + Fn1 ~ 12 组合键。
"Press Ctrl + Fn1 ~ 12 once.\n\n **中文文档**\n\n 按下 Ctrl + Fn1 ~ 12 组合键。"
125
false
MacHu-GWU/macro-project
ctrl_fn
141,034
LDU_FT/bjodah/pyneqsys/plot_series
LDU_FT
[ "<BEGIN>\n## `rms`", "Returns root mean square value of f(x, params)\n<END>", "<BEGIN>\n## `solve_series`", "Solve system for a set of parameters in which one is varied", " Parameters\n ----------\n x0 : array_like\n Guess (subject to ``self.post_processors``)\n params...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_series API. 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 plot_series API. 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...
Plots the results from :meth:`solve_series`. Parameters ---------- xres : array Of shape ``(varied_data.size, self.nx)``. varied_data : array See :meth:`solve_series`. varied_idx : int or str See :meth:`solve_series`. \\*\\*kwargs : ...
"Plots the results from :meth:`solve_series`.\n\n Parameters\n ----------\n xres : array\n Of shape ``(varied_data.size, self.nx)``.\n varied_data : array\n See :meth:`solve_series`.\n varied_idx : int or str\n See :meth:`solve_series`.\n \\\\*\...
60
false
bjodah/pyneqsys
plot_series
141,035
LDU_FT/tilde-lab/tilde/eplotter
LDU_FT
[ "<BEGIN>\n## `wrap_cell`", "Cell wrappers\n for customizing the GUI data table", " TODO : must coincide with hierarchy!\n TODO : simplify this!\n<END>", "<BEGIN>\n## `meminfo`", "Get the amount of memory and swap, Mebibytes\n<END>", "<BEGIN>\n## `serial_number`", "Get the serial number. Require...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eplotter API. 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 eplotter API. 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...
eplotter is like bdplotter but less complicated
"eplotter is like bdplotter but less complicated"
68
false
tilde-lab/tilde
eplotter
141,036
LDU_FT/digidotcom/python-devicecloud/queue_callback
LDU_FT
[ "<BEGIN>\n## `_parse_command_response`", "Parse an SCI command response into ElementTree XML", " This is a helper method that takes a Requests Response object\n of an SCI command response and will parse it into an ElementTree Element\n representing the root of the XML response.", " :param response...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the queue_callback API. 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 queue_callback API. 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...
Queues up a callback event to occur for a session with the given payload data. Will block if the queue is full. :param session: the session with a defined callback function to call. :param block_id: the block_id of the message received. :param data: the data payload of the message rece...
"Queues up a callback event to occur for a session with the given\n payload data. Will block if the queue is full.\n\n :param session: the session with a defined callback function to call.\n :param block_id: the block_id of the message received.\n :param data: the data payload of the messag...
366
false
digidotcom/python-devicecloud
queue_callback
141,037
LDU_FT/instaloader/instaloader/get_and_write_raw
LDU_FT
[ "<BEGIN>\n## `save_structure_to_file`", "Saves a :class:`Post`, :class:`Profile` or :class:`StoryItem` to a '.json' or '.json.xz' file such that it can\n later be loaded by :func:`load_structure_from_file`.", " If the specified filename ends in '.xz', the file will be LZMA compressed. Otherwise, a pretty-...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_and_write_raw API. 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_and_write_raw API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Downloads and writes anonymously-requested raw data into a file. :raises QueryReturnedNotFoundException: When the server responds with a 404. :raises QueryReturnedForbiddenException: When the server responds with a 403. :raises ConnectionException: When download repeatedly failed.
"Downloads and writes anonymously-requested raw data into a file.\n\n :raises QueryReturnedNotFoundException: When the server responds with a 404.\n :raises QueryReturnedForbiddenException: When the server responds with a 403.\n :raises ConnectionException: When download repeatedly failed."
227
false
instaloader/instaloader
get_and_write_raw
141,038
LDU_FT/eelregit/mcfit/_deriv
LDU_FT
[ "<BEGIN>\n## `_deriv`", "Real deriv is to :math:`t`, complex deriv is to :math:`\\ln t`\n<END>", "<BEGIN>\n## `inv`", "Invert the transform.", " After calling this method, calling the instance will do the inverse\n transform. Calling this twice return the instance to the original\n tran...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _deriv API. 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 _deriv API. 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 ...
Real deriv is to :math:`t`, complex deriv is to :math:`\ln t`
"Real deriv is to :math:`t`, complex deriv is to :math:`\\ln t`"
22
false
eelregit/mcfit
_deriv
141,039
LDU_FT/joerick/pyinstrument/remove_from_parent
LDU_FT
[ "<BEGIN>\n## `file_supports_color`", "Returns True if the running system's terminal supports color.", " Borrowed from Django\n https://github.com/django/django/blob/master/django/core/management/color.py\n<END>", "<BEGIN>\n## `load_report`", "Returns the session referred to by identifier\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_from_parent API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_from_parent API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Removes this frame from its parent, and nulls the parent link
"Removes this frame from its parent, and nulls the parent link"
43
false
joerick/pyinstrument
remove_from_parent
141,040
LDU_FT/bjmorgan/vasppy/parse_vasprun
LDU_FT
[ "<BEGIN>\n## `md5sum`", "Generate the md5 checksum for a string", " Args:\n string (Str): The string to be checksummed.", " Returns:\n (Str): The hex checksum.\n<END>", "<BEGIN>\n## `file_md5`", "Generate the md5 checksum for a file", " Args:\n filename (Str): The file to b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_vasprun API. 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 parse_vasprun API. 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...
Read in `vasprun.xml` as a pymatgen Vasprun object. Args: None Returns: None None: If the vasprun.xml is not well formed this method will catch the ParseError and set self.vasprun = None.
"Read in `vasprun.xml` as a pymatgen Vasprun object.\n\n Args:\n None\n\n Returns:\n None\n\n None:\n If the vasprun.xml is not well formed this method will catch the ParseError\n and set self.vasprun = None."
174
false
bjmorgan/vasppy
parse_vasprun
141,041
LDU_FT/azraq27/neural/add_server
LDU_FT
[ "<BEGIN>\n## `connectivity_map`", "Will perform connectivity analysis on ``dset`` using seed point ``(x,y,z)`` (in RAI order) with a sphere of radius ``radius``.\n Does not perform any preprocessing of ``dset``. This should be already motion corrected, noise-regressed, residualized, etc.\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_server API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_server API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
:address: remote address of server, or special string ``local`` to run the command locally :valid_times: times when this server is available, given as a list of tuples of 2 strings of form "HH:MM" that define the ...
":address: remote address of server, or special string ``local`` to\n run the command locally\n :valid_times: times when this server is available, given as a list\n of tuples of 2 strings of form \"HH:MM\" that define the\n ...
232
false
azraq27/neural
add_server
141,042
LDU_FT/rocky/python-xdis/get_instructions_bytes
LDU_FT
[ "<BEGIN>\n## `disco`", "diassembles and deparses a given code block 'co'\n<END>", "<BEGIN>\n## `disco_loop`", "Disassembles a queue of code objects. If we discover\n another code object which will be found in co_consts, we add\n the new code to the list. Note that the order of code discovery\n is in ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_instructions_bytes 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_instructions_bytes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Iterate over the instructions in a bytecode string. Generates a sequence of Instruction namedtuples giving the details of each opcode. Additional information about the code's runtime environment (e.g. variable names, constants) can be specified using optional arguments.
"Iterate over the instructions in a bytecode string.\n\n Generates a sequence of Instruction namedtuples giving the details of each\n opcode. Additional information about the code's runtime environment\n (e.g. variable names, constants) can be specified using optional\n arguments."
133
false
rocky/python-xdis
get_instructions_bytes
141,043
LDU_FT/codeforamerica/three/dev
LDU_FT
[ "<BEGIN>\n## `city`", "Store the city that will be queried against.", " >>> three.city('sf')\n<END>", "<BEGIN>\n## `dev`", "Use an endpoint and any additional keyword arguments rather than one\n of the pre-defined cities. Similar to the `city` function, but useful for\n development.\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dev API. 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 dev API. 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...
Use an endpoint and any additional keyword arguments rather than one of the pre-defined cities. Similar to the `city` function, but useful for development.
"Use an endpoint and any additional keyword arguments rather than one\n of the pre-defined cities. Similar to the `city` function, but useful for\n development."
35
false
codeforamerica/three
dev
141,044
LDU_FT/Commonists/CommonsDownloader/get_category_files_from_api
LDU_FT
[ "<BEGIN>\n## `make_thumbnail_name`", "Return name of the downloaded thumbnail, based on the extension.\n<END>", "<BEGIN>\n## `get_thumbnail_of_file`", "Return the file contents of the thumbnail of the given file.\n<END>", "<BEGIN>\n## `get_exception_based_on_api_message`", "Return the exception matching t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_category_files_from_api 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_category_files_from_api API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Yield the file names of a category by querying the MediaWiki API.
"Yield the file names of a category by querying the MediaWiki API."
16
false
Commonists/CommonsDownloader
get_category_files_from_api
141,045
LDU_FT/abhishek-ram/pyas2-lib/content
LDU_FT
[ "<BEGIN>\n## `quote_as2name`", "Function converts as2 name from unquoted to quoted format\n :param unquoted_name: the as2 name in unquoted format\n :return: the as2 name in unquoted format\n<END>", "<BEGIN>\n## `mime_to_bytes`", "Function to convert and email Message to flat string format\n :param ms...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the content API. 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 content API. 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...
Function returns the body of the mdn message as a byte string
"Function returns the body of the mdn message as a byte string"
81
false
abhishek-ram/pyas2-lib
content
141,046
LDU_FT/git-afsantos/bonsai/pretty_str
LDU_FT
[ "<BEGIN>\n## `_build_for_statement`", "NOTE: this is not a complete implementation of for loop parsing.\n Turns out for loops allow a number of wacky things going on,\n such as declaring a variable in place of a condition.\n These more peculiar cases are not covered. See\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pretty_str API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pretty_str API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Return a human-readable string representation of an object. Uses `pretty_str` if the given value is an instance of `CodeEntity` and `repr` otherwise. Args: something: Some value to convert. Kwargs: indent (int): The amount of spaces to use as indentation.
"Return a human-readable string representation of an object.\n\n Uses `pretty_str` if the given value is an instance of\n `CodeEntity` and `repr` otherwise.\n\n Args:\n something: Some value to convert.\n\n Kwargs:\n indent (int): The amount of spaces to use as indentation."
111
false
git-afsantos/bonsai
pretty_str
141,047
LDU_FT/alephdata/memorious/search_results_last_url
LDU_FT
[ "<BEGIN>\n## `size`", "Total operations pending for this crawler\n<END>", "<BEGIN>\n## `read_word`", "OCR a single word from an image. Useful for captchas.\n Image should be pre-processed to remove noise etc.\n<END>", "<BEGIN>\n## `read_char`", "OCR a single character from an image. Useful for capt...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_results_last_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_results_last_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...
Get the URL of the 'last' button in a search results listing.
"Get the URL of the 'last' button in a search results listing."
71
false
alephdata/memorious
search_results_last_url
141,048
LDU_FT/rene-aguirre/pywinusb/send_output_report
LDU_FT
[ "<BEGIN>\n## `hid_device_path_exists`", "Test if required device_path is still valid\r\n (HID device connected to host)\n<END>", "<BEGIN>\n## `find_all_hid_devices`", "Finds all HID devices connected to the system\n<END>", "<BEGIN>\n## `show_hids`", "Check all HID devices conected to PC hosts.\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_output_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_output_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. Th...
Send input/output/feature report ID = report_id, data should be a c_ubyte object with included the required report data
"Send input/output/feature report ID = report_id, data should be a\r\n c_ubyte object with included the required report data"
61
false
rene-aguirre/pywinusb
send_output_report
141,049
LDU_FT/danpaquin/coinbasepro-python/margin_transfer
LDU_FT
[ "<BEGIN>\n## `get_account_history`", "List account activity. Account activity either increases or\n decreases your account balance.", " Entry type indicates the reason for the account change.\n * transfer:\tFunds moved to/from Coinbase to cbpro\n * match:\tFunds moved as a result of ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the margin_transfer API. 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 margin_transfer API. 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...
Transfer funds between your standard profile and a margin profile. Args: margin_profile_id (str): Margin profile ID to withdraw or deposit from. transfer_type (str): 'deposit' or 'withdraw' currency (str): Currency to transfer (eg. 'USD') amount (...
"Transfer funds between your standard profile and a margin profile.\n\n Args:\n margin_profile_id (str): Margin profile ID to withdraw or deposit\n from.\n transfer_type (str): 'deposit' or 'withdraw'\n currency (str): Currency to transfer (eg. 'USD')\n ...
127
false
danpaquin/coinbasepro-python
margin_transfer
141,050
LDU_FT/firecat53/urlscan/process_urls
LDU_FT
[ "<BEGIN>\n## `load_tlds`", "Load all legal TLD extensions from assets\n<END>", "<BEGIN>\n## `parse_text_urls`", "Parse a block of text, splitting it into its url and non-url\n components.\n<END>", "<BEGIN>\n## `extract_with_context`", "Extract URL and context from a given chunk.\n<END>", "<BEGIN>\n##...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_urls API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_urls API. 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...
Process the 'extractedurls' and ready them for either the curses browser or non-interactive output Args: extractedurls dedupe - Remove duplicate URLs from list Returns: items - List of widgets for the ListBox urls - List of all URLs
"Process the 'extractedurls' and ready them for either the curses browser\n or non-interactive output\n\n Args: extractedurls\n dedupe - Remove duplicate URLs from list\n\n Returns: items - List of widgets for the ListBox\n urls - List of all URLs"
37
false
firecat53/urlscan
process_urls
141,051
LDU_FT/cqlengine/cqlengine/validate
LDU_FT
[ "<BEGIN>\n## `create_keyspace`", "creates a keyspace", " :param name: name of keyspace to create\n :param strategy_class: keyspace replication strategy class\n :param replication_factor: keyspace replication factor\n :param durable_writes: 1.2 only, write log is bypassed if set to False\n :param ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns a cleaned and validated value. Raises a ValidationError if there's a problem
"Returns a cleaned and validated value. Raises a ValidationError\n if there's a problem"
65
false
cqlengine/cqlengine
validate
141,052
LDU_FT/irgangla/icalevents/copy_to
LDU_FT
[ "<BEGIN>\n## `events`", "Get all events form the given iCal URL occurring in the given time range.", " :param url: iCal URL\n :param file: iCal file path\n :param string_content: iCal content as string\n :param start: start date (see dateutils.date)\n :param end: end date (see dateutils.date)\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_to API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_to API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Create a new event equal to this with new start date. :param new_start: new start date :param uid: UID of new event :return: new event
"Create a new event equal to this with new start date.\n\n :param new_start: new start date\n :param uid: UID of new event\n :return: new event"
39
false
irgangla/icalevents
copy_to
141,053
LDU_FT/devopshq/artifactory/_create_json
LDU_FT
[ "<BEGIN>\n## `_create_and_update`", "Create or update request, re-read object from Artifactory\n :return: None\n<END>", "<BEGIN>\n## `read`", "Read object from artifactory. Fill object if exist\n :return:\n True if object exist,\n False else\n<END>", "<BEGIN>\n## `_create_json`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
JSON Documentation: https://www.jfrog.com/confluence/display/RTF/Security+Configuration+JSON
"JSON Documentation: https://www.jfrog.com/confluence/display/RTF/Security+Configuration+JSON"
104
false
devopshq/artifactory
_create_json
141,054
LDU_FT/chrissimpkins/crypto/encrypt_files
LDU_FT
[ "<BEGIN>\n## `generate_hash`", "Public function that reads a local file and generates a SHA256 hash digest for it\n<END>", "<BEGIN>\n## `generate_tar_files`", "Public function that reads a list of local directories and generates tar archives from them\n<END>", "<BEGIN>\n## `remove_tar_files`", "Public fun...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encrypt_files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encrypt_files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
public method for multiple file encryption with optional compression, ASCII armored formatting, and file hash digest generation
"public method for multiple file encryption with optional compression, ASCII armored formatting, and file hash digest generation"
18
false
chrissimpkins/crypto
encrypt_files
141,055
LDU_FT/stefanfoulis/django-sendsms/get_connection
LDU_FT
[ "<BEGIN>\n## `_send`", "Private method for send one message.", " :param SmsMessage message: SmsMessage class instance.\n :returns: True if message is sended else False\n :rtype: bool\n<END>", "<BEGIN>\n## `send_messages`", "Sends one or more SmsMessage objects and returns the number of ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_connection API. 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_connection API. 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...
Load an sms backend and return an instance of it. :param string path: backend python path. Default: sendsms.backends.console.SmsBackend :param bool fail_silently: Flag to not throw exceptions on error. Default: False :returns: backend class instance. :rtype: :py:class:`~sendsms.backends.base.BaseSmsBac...
"Load an sms backend and return an instance of it.\n\n :param string path: backend python path. Default: sendsms.backends.console.SmsBackend\n :param bool fail_silently: Flag to not throw exceptions on error. Default: False\n :returns: backend class instance.\n :rtype: :py:class:`~sendsms.backends.base.Base...
43
false
stefanfoulis/django-sendsms
get_connection
141,056
LDU_FT/csaez/wishlib/show_qt
LDU_FT
[ "<BEGIN>\n## `inside_softimage`", "Returns a boolean indicating if the code is executed inside softimage.\n<END>", "<BEGIN>\n## `auto_update`", "This class method could be used as decorator on subclasses, it ensures\n update method is called after function execution.\n<END>", "<BEGIN>\n## `update`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_qt API. 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 show_qt API. 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...
Shows and raise a pyqt window inside softimage ensuring it's not duplicated (if it's duplicated then raise the old one). qt_class argument should be a class/subclass of QMainWindow, QDialog or any top-level window supported by PyQtForSoftimage plugin. onshow_event provides a way to pass a function to ex...
"Shows and raise a pyqt window inside softimage ensuring it's not duplicated\n (if it's duplicated then raise the old one).\n qt_class argument should be a class/subclass of QMainWindow, QDialog or any\n top-level window supported by PyQtForSoftimage plugin.\n onshow_event provides a way to pass a function ...
22
false
csaez/wishlib
show_qt
141,057
LDU_FT/openvax/varcode/to_dict
LDU_FT
[ "<BEGIN>\n## `translate_codon`", "Translate a single codon into a single amino acid or stop '*'", " Parameters\n ----------\n codon : str\n Expected to be of length 3\n aa_pos : int\n Codon/amino acid offset into the protein (starting from 0)\n<END>", "<BEGIN>\n## `translate`", "Tr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
We want the original values (un-normalized) field values while serializing since normalization will happen in __init__.
"We want the original values (un-normalized) field values while\n serializing since normalization will happen in __init__."
344
false
openvax/varcode
to_dict
141,058
LDU_FT/dancsalo/TensorBase/_set_seed
LDU_FT
[ "<BEGIN>\n## `compute_samples`", "Sample from a Normal distribution with inferred mu and std\n<END>", "<BEGIN>\n## `neg_log_likelihood`", "Calculate Log Likelihood with particular mean and std\n x must be 2D. [batch_size * eqsamples* iwsamples, num_latent]\n<END>", "<BEGIN>\n## `compute_samples`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_seed API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_seed API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Set random seed for numpy and tensorflow packages
"Set random seed for numpy and tensorflow packages"
94
false
dancsalo/TensorBase
_set_seed
141,059
LDU_FT/costastf/locationsharinglib/datetime
LDU_FT
[ "<BEGIN>\n## `get_shared_people`", "Retrieves all people that share their location with this account\n<END>", "<BEGIN>\n## `get_authenticated_person`", "Retrieves the person associated with this account\n<END>", "<BEGIN>\n## `get_coordinates_by_nickname`", "Retrieves a person's coordinates by nickname\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the datetime API. 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 datetime API. 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...
A datetime representation of the location retrieval
"A datetime representation of the location retrieval"
61
false
costastf/locationsharinglib
datetime
141,060
LDU_FT/icometrix/dicom2nifti/_fix_diffusion_images
LDU_FT
[ "<BEGIN>\n## `_get_gdcmconv`", "Get the full path to gdcmconv.\n If not found raise error\n<END>", "<BEGIN>\n## `compress_directory`", "This function can be used to convert a folder of jpeg compressed images to an uncompressed ones", " :param dicom_directory: directory of dicom files to compress\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fix_diffusion_images 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 _fix_diffusion_images API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
This function will remove the last timepoint from the nifti, bvals and bvecs if the last vector is 0,0,0 This is sometimes added at the end by philips
"This function will remove the last timepoint from the nifti, bvals and bvecs if the last vector is 0,0,0\n This is sometimes added at the end by philips"
243
false
icometrix/dicom2nifti
_fix_diffusion_images
141,061
LDU_FT/rbarrois/xworkflows/_make_hook_dict
LDU_FT
[ "<BEGIN>\n## `_setup_states`", "Create a StateList object from a 'states' Workflow attribute.\n<END>", "<BEGIN>\n## `_setup_transitions`", "Create a TransitionList object from a 'transitions' Workflow attribute.", " Args:\n tdef: list of transition definitions\n states (StateList): already ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_hook_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 e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_hook_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 e...
Ensure the given function has a xworkflows_hook attribute. That attribute has the following structure: >>> { ... 'before': [('state', <TransitionHook>), ...], ... }
"Ensure the given function has a xworkflows_hook attribute.\n\n That attribute has the following structure:\n >>> {\n ... 'before': [('state', <TransitionHook>), ...],\n ... }"
59
false
rbarrois/xworkflows
_make_hook_dict
141,062
LDU_FT/basecrm/basecrm-python/post
LDU_FT
[ "<BEGIN>\n## `post`", "Send a POST request.", " :param str url: Sub URL for the request. You MUST not specify neither base url nor api version prefix.\n :param dict body: (optional) Dictionary of body attributes that will be wrapped with envelope and json encoded.\n :param dict **kwargs: (o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API. 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 post API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Send a POST request. :param str url: Sub URL for the request. You MUST not specify neither base url nor api version prefix. :param dict body: (optional) Dictionary of body attributes that will be wrapped with envelope and json encoded. :param dict **kwargs: (optional) Other parameters which are...
"Send a POST request.\n\n :param str url: Sub URL for the request. You MUST not specify neither base url nor api version prefix.\n :param dict body: (optional) Dictionary of body attributes that will be wrapped with envelope and json encoded.\n :param dict **kwargs: (optional) Other parameters whic...
216
false
basecrm/basecrm-python
post
141,063
LDU_FT/adaptive-learning/proso-apps/get_concept_item_mapping
LDU_FT
[ "<BEGIN>\n## `process_answer`", "This method is used during the answer streaming and is called after the\n predictive model for each answer.", " Args:\n user (int):\n identifier of ther user answering the question\n asked (int):\n identifier of t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_concept_item_mapping 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_concept_item_mapping 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 mapping of concepts to items belonging to concept. Args: concepts (list of Concept): Defaults to None meaning all concepts lang (str): language of concepts, if None use language of concepts Returns: dict: concept (int) -> list of item ids (int)
"Get mapping of concepts to items belonging to concept.\n\n Args:\n concepts (list of Concept): Defaults to None meaning all concepts\n lang (str): language of concepts, if None use language of concepts\n\n Returns:\n dict: concept (int) -> list of item ids (int)"
276
false
adaptive-learning/proso-apps
get_concept_item_mapping
141,064
LDU_FT/Salamek/cron-descriptor/normalize_expression
LDU_FT
[ "<BEGIN>\n## `parse_cron_line`", "Parses crontab line and returns only starting time string", " Args:\n line: crontab line\n Returns:\n Time part of cron line\n<END>", "<BEGIN>\n## `parse`", "Parses the cron expression string\n Returns:\n A 7 part string...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_expression 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 normalize_expression API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Converts cron expression components into consistent, predictable formats. Args: expression_parts: A 7 part string array, one part for each component of the cron expression Returns: None
"Converts cron expression components into consistent, predictable formats.\n Args:\n expression_parts: A 7 part string array, one part for each component of the cron expression\n Returns:\n None"
52
false
Salamek/cron-descriptor
normalize_expression
141,065
LDU_FT/oisinmulvihill/stomper/pack
LDU_FT
[ "<BEGIN>\n## `unpack_frame`", "Called to unpack a STOMP message into a dictionary.", " returned = {\n # STOMP Command:\n 'cmd' : '...',", " # Headers e.g.\n 'headers' : {\n 'destination' : 'xyz',\n 'message-id' : 'some event',\n :\n et...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pack API. 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 pack API. 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...
Called to create a STOMP message from the internal values.
"Called to create a STOMP message from the internal values."
88
false
oisinmulvihill/stomper
pack
141,066
LDU_FT/snbuback/django_services/get_object
LDU_FT
[ "<BEGIN>\n## `get_view_doc`", "Build view documentation. Return in html format.\n If you want in markdown format, use html=False\n<END>", "<BEGIN>\n## `wrap_accordion`", "Wrap text_body_list in twitter bootstrap accordion. text_body_list must be list with tuple with title and body\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object API. 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_object API. 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...
Override default to add support for object-level permissions.
"Override default to add support for object-level permissions."
43
false
snbuback/django_services
get_object
141,067
LDU_FT/tox-dev/tox-travis/parse_dict
LDU_FT
[ "<BEGIN>\n## `travis_after`", "Wait for all jobs to finish, then exit successfully.\n<END>", "<BEGIN>\n## `after_config_matches`", "Determine if this job should wait for the others.\n<END>", "<BEGIN>\n## `get_job_statuses`", "Wait for all the travis jobs to complete.", " Once the other jobs are compl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extrac...
Parse a dict value from the tox config. .. code-block: ini [travis] python = 2.7: py27, docs 3.5: py{35,36} With this config, the value of ``python`` would be parsed by this function, and would return:: { '2.7': 'py27, docs', '3.5':...
"Parse a dict value from the tox config.\n\n .. code-block: ini\n\n [travis]\n python =\n 2.7: py27, docs\n 3.5: py{35,36}\n\n With this config, the value of ``python`` would be parsed\n by this function, and would return::\n\n {\n '2.7': 'py27, docs',\n ...
51
false
tox-dev/tox-travis
parse_dict
141,068
LDU_FT/fred49/argtoolbox/get_representation
LDU_FT
[ "<BEGIN>\n## `query_yes_no`", "Just prompt the user for a yes/no question\n<END>", "<BEGIN>\n## `_query_yes_no`", "Ask a yes/no question via raw_input() and return their answer.", " \"question\" is a string that is presented to the user.\n \"default\" is the presumed answer if the user just hits <Ente...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_representation API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_representation API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
return the string representation of the current object.
"return the string representation of the current object."
46
false
fred49/argtoolbox
get_representation
141,069
LDU_FT/nickhand/classylss/_find_file
LDU_FT
[ "<BEGIN>\n## `build_CLASS`", "Function to dowwnload CLASS from github and and build the library\n<END>", "<BEGIN>\n## `Ode`", "Returns the sum of :func:`~classylss.binding.Background.Omega_lambda`\n and :func:`~classylss.binding.Background.Omega_fld`.\n<END>", "<BEGIN>\n## `Onu`", "Returns the sum ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Find the file path, first checking if it exists and then looking in the data directory
"Find the file path, first checking if it exists and then looking in the\n data directory"
18
false
nickhand/classylss
_find_file
141,070
LDU_FT/rjw57/starman/rts_smooth
LDU_FT
[ "<BEGIN>\n## `as_square_array`", "Return arr massaged into a square array. Raises ValueError if arr cannot be\n so massaged.\n<END>", "<BEGIN>\n## `clone`", "Return a new :py:class:`.KalmanFilter` instance which is a shallow\n clone of this one. By \"shallow\", although the lists of measurements,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rts_smooth API. 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 rts_smooth API. 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...
Compute the Rauch-Tung-Striebel smoothed state estimates and estimate covariances for a Kalman filter. Args: kalman_filter (KalmanFilter): Filter whose smoothed states should be returned state_count (int or None): Number of smoothed states to return. If None, use ``kalma...
"Compute the Rauch-Tung-Striebel smoothed state estimates and estimate\n covariances for a Kalman filter.\n\n Args:\n kalman_filter (KalmanFilter): Filter whose smoothed states should be\n returned\n state_count (int or None): Number of smoothed states to return.\n If None, use...
36
false
rjw57/starman
rts_smooth
141,071
LDU_FT/JasonKessler/scattertext/build
LDU_FT
[ "<BEGIN>\n## `coarse_tag_str`", "Convert POS sequence to our coarse system, formatted as a string.\n<END>", "<BEGIN>\n## `extract_finditer`", "The \"GreedyFSA\" method in Handler et al. 2016.\n\tReturns token position spans of valid ngrams.\n<END>", "<BEGIN>\n## `extract_ngram_filter`", "The \"FilterFSA\"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API. 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 build API. 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...
Constructs the term doc matrix. Returns ------- scattertext.ParsedCorpus.ParsedCorpus
"Constructs the term doc matrix.\n\n\t\tReturns\n\t\t-------\n\t\tscattertext.ParsedCorpus.ParsedCorpus"
419
false
JasonKessler/scattertext
build
141,072