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/carpyncho/feets/create_periodic
LDU_FT
[ "<BEGIN>\n## `basic_animation`", "Plot a basic sine wave with oscillating amplitude\n<END>", "<BEGIN>\n## `lorenz_animation`", "Plot a 3D visualization of the dynamics of the Lorenz system\n<END>", "<BEGIN>\n## `_included_frames`", "frame_list should be a list of filenames\n<END>", "<BEGIN>\n## `_embedd...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_periodic API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_periodic API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Generate a data with magnitudes with periodic variability distribution; the error instead are gaussian. Parameters ---------- mu_err : float (default=0) Mean of the gaussian distribution of magnitudes sigma_err : float (default=1) Standar deviation of the gaussian distribution of m...
"Generate a data with magnitudes with periodic variability\n distribution; the error instead are gaussian.\n\n Parameters\n ----------\n mu_err : float (default=0)\n Mean of the gaussian distribution of magnitudes\n sigma_err : float (default=1)\n Standar deviation of the gaussian distribu...
111
false
carpyncho/feets
create_periodic
28,073
LDU_FT/skelsec/minikerberos/get_all_tgt
LDU_FT
[ "<BEGIN>\n## `to_tgt`", "Returns the native format of an AS_REP message and the sessionkey in EncryptionKey native format\n<END>", "<BEGIN>\n## `add_tgt`", "Creates credential object from the TGT and adds to the ccache file\n\t\tThe TGT is basically the native representation of the asn1 encoded AS_REP data th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_tgt API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_tgt API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Returns a list of AS_REP tickets in native format (dict). To determine which ticket are AP_REP we check for the server principal to be the kerberos service
"Returns a list of AS_REP tickets in native format (dict). \n\t\tTo determine which ticket are AP_REP we check for the server principal to be the kerberos service"
50
false
skelsec/minikerberos
get_all_tgt
28,074
LDU_FT/seibert-media/Highton/list_tasks
LDU_FT
[ "<BEGIN>\n## `decode`", "Decode the object to the object", " :param root_element: the parsed xml Element\n :type root_element: xml.etree.ElementTree.Element\n :return: the decoded Element as object\n :rtype: object\n<END>", "<BEGIN>\n## `add_note`", "Create a Note to current obje...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_tasks API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_tasks API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Get the tasks of current object :return: the tasks :rtype: list
"Get the tasks of current object\n\n :return: the tasks\n :rtype: list"
80
false
seibert-media/Highton
list_tasks
28,075
LDU_FT/ensime/ensime-vim/fun_en_complete_func
LDU_FT
[ "<BEGIN>\n## `buffer_typechecks_and_display`", "Adds typecheck events to the buffer, and displays them right away.", " This is a workaround for this issue:\n https://github.com/ensime/ensime-server/issues/1616\n<END>", "<BEGIN>\n## `handle_typecheck_complete`", "Handles ``NewScalaNotesEvent```...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fun_en_complete_func 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 fun_en_complete_func API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Invokable function from vim and neovim to perform completion.
"Invokable function from vim and neovim to perform completion."
150
false
ensime/ensime-vim
fun_en_complete_func
28,076
LDU_FT/williamgilpin/pypdb/get_all_info
LDU_FT
[ "<BEGIN>\n## `make_query`", "Repackage strings into a search dictionary", " This function takes a list of search terms and specifications\n and repackages it as a dictionary object that can be used to conduct a search", " Parameters\n ----------\n search_term : str", " The specific ter...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
A wrapper for get_info that cleans up the output slighly Parameters ---------- pdb_id : string A 4 character string giving a pdb entry of interest Returns ------- out : dict A dictionary containing all the information stored in the entry Examples -------- >>> al...
"A wrapper for get_info that cleans up the output slighly\n\n Parameters\n ----------\n\n pdb_id : string\n A 4 character string giving a pdb entry of interest\n\n Returns\n -------\n\n out : dict\n A dictionary containing all the information stored in the entry\n\n Examples\n ----...
243
false
williamgilpin/pypdb
get_all_info
28,077
LDU_FT/NYUCCL/psiTurk/db_use_aws_instance
LDU_FT
[ "<BEGIN>\n## `check_auth`", "This function is called to check if a username password combination\n is valid.\n<END>", "<BEGIN>\n## `requires_auth`", "Decorator to prompt for user name and password. Useful for data dumps,\n etc. That you don't want to be public.\n<END>", "<BEGIN>\n## `get_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the db_use_aws_instance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the db_use_aws_instance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
set your database info to use the current instance configure a security zone for this based on your ip
"set your database info to use the current instance configure a\n security zone for this based on your ip"
65
false
NYUCCL/psiTurk
db_use_aws_instance
28,078
LDU_FT/chaoss/grimoirelab-cereslib/format_dates
LDU_FT
[ "<BEGIN>\n## `filter_`", "This method filter some of the rows where the 'value'\n is found in each of the 'columns'.", " :param column: list of strings\n :param value: any type", " :returns: filtered dataframe\n :rtype: pandas.DataFrame\n<END>", "<BEGIN>\n## `eventize`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_dates API. 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 format_dates API. 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...
This method translates columns values into datetime objects :param data: original Pandas dataframe :param columns: list of columns to cast the date to a datetime object :type data: pandas.DataFrame :type columns: list of strings :returns: Pandas dataframe with updated 'columns'...
"This method translates columns values into datetime objects\n\n :param data: original Pandas dataframe\n :param columns: list of columns to cast the date to a datetime object\n :type data: pandas.DataFrame\n :type columns: list of strings\n\n :returns: Pandas dataframe with updated '...
107
false
chaoss/grimoirelab-cereslib
format_dates
28,079
LDU_FT/hearsaycorp/normalize/normalize_item
LDU_FT
[ "<BEGIN>\n## `path`", "The path attribute returns a stringified, concise representation of\n the MultiFieldSelector. It can be reversed by the ``from_path``\n constructor.\n<END>", "<BEGIN>\n## `get`", "Creates a copy of the passed object which only contains the parts\n which are pointed...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Hook which is called on every *collection item*; this is a way to perform context-aware clean-ups. args: ``value=``\ *nothing*\ \|\ *anything* The value in the collection slot. *nothing* can be detected in sub-class methods as ``self._nothing``. ...
"Hook which is called on every *collection item*; this is a way to\n perform context-aware clean-ups.\n\n args:\n\n ``value=``\\ *nothing*\\ \\|\\ *anything*\n The value in the collection slot. *nothing* can be detected in\n sub-class methods as ``self._nothing``....
210
false
hearsaycorp/normalize
normalize_item
28,080
LDU_FT/maxcountryman/flask-login/make_next_param
LDU_FT
[ "<BEGIN>\n## `encode_cookie`", "This will encode a ``unicode`` value into a cookie, and sign that cookie\n with the app's secret key.", " :param payload: The value to encode, as `unicode`.\n :type payload: unicode", " :param key: The key to use when creating the cookie digest. If not\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_next_param API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_next_param API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Reduces the scheme and host from a given URL so it can be passed to the given `login` URL more efficiently. :param login_url: The login URL being redirected to. :type login_url: str :param current_url: The URL to reduce. :type current_url: str
"Reduces the scheme and host from a given URL so it can be passed to\n the given `login` URL more efficiently.\n\n :param login_url: The login URL being redirected to.\n :type login_url: str\n :param current_url: The URL to reduce.\n :type current_url: str"
62
false
maxcountryman/flask-login
make_next_param
28,081
LDU_FT/coinbase/coinbase-python/get_sells
LDU_FT
[ "<BEGIN>\n## `set_primary`", "https://developers.coinbase.com/api/v2#set-account-as-primary\n<END>", "<BEGIN>\n## `modify`", "https://developers.coinbase.com/api#modify-an-account\n<END>", "<BEGIN>\n## `get_address`", "https://developers.coinbase.com/api/v2#show-addresss\n<END>", "<BEGIN>\n## `get_addre...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sells API. 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 get_sells API. 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...
https://developers.coinbase.com/api/v2#list-sells
"https://developers.coinbase.com/api/v2#list-sells"
166
false
coinbase/coinbase-python
get_sells
28,082
LDU_FT/shazow/unstdlib.py/truncate_datetime
LDU_FT
[ "<BEGIN>\n## `convert_exception`", "Decorator: Catch exception ``from_exception`` and instead raise ``to_exception(*to_args, **to_kw)``.", " Useful when modules you're using in a method throw their own errors that you want to\n convert to your own exceptions that you handle higher in the stack.", " E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the truncate_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the truncate_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...
Given a datetime ``t`` and a ``resolution``, flatten the precision beyond the given resolution. ``resolution`` can be one of: year, month, day, hour, minute, second, microsecond Example:: >>> t = datetime.datetime(2000, 1, 2, 3, 4, 5, 6000) # Or, 2000-01-02 03:04:05.006000 >>> truncate_datet...
"Given a datetime ``t`` and a ``resolution``, flatten the precision beyond the given resolution.\n\n ``resolution`` can be one of: year, month, day, hour, minute, second, microsecond\n\n Example::\n\n >>> t = datetime.datetime(2000, 1, 2, 3, 4, 5, 6000) # Or, 2000-01-02 03:04:05.006000\n\n >>> trunc...
187
false
shazow/unstdlib.py
truncate_datetime
28,083
LDU_FT/ewels/MultiQC/table_qfiltered
LDU_FT
[ "<BEGIN>\n## `star_stats_table`", "Take the parsed stats from the STAR report and add them to the\n basic stats table at the top of the report\n<END>", "<BEGIN>\n## `mirtrace_length_plot`", "Generate the miRTrace Read Length Distribution\n<END>", "<BEGIN>\n## `mirtrace_contamination_check`", "Gener...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the table_qfiltered API. 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 table_qfiltered API. 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...
Table showing stats for q-filtered reads
"Table showing stats for q-filtered reads"
532
false
ewels/MultiQC
table_qfiltered
28,084
LDU_FT/pyroscope/pyrocore/_time_ym_delta
LDU_FT
[ "<BEGIN>\n## `resolve_slashed`", "Resolve symlinked directories if they end in a '/',\n remove trailing '/' otherwise.\n<END>", "<BEGIN>\n## `guarded`", "Catch exceptions thrown by filesystem calls, and don't really\n execute them in dry-run mode.\n<END>", "<BEGIN>\n## `_make_it_so`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _time_ym_delta API. 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 _time_ym_delta API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Helper to add a year or month delta to a timestamp.
"Helper to add a year or month delta to a timestamp."
247
false
pyroscope/pyrocore
_time_ym_delta
28,085
LDU_FT/tobgu/pyrsistent/remove
LDU_FT
[ "<BEGIN>\n## `pdeque`", "Return deque containing the elements of iterable. If maxlen is specified then\n len(iterable) - maxlen elements are discarded from the left to if len(iterable) > maxlen.", " >>> pdeque([1, 2, 3])\n pdeque([1, 2, 3])\n >>> pdeque([1, 2, 3, 4], maxlen=2)\n pdeque([3, 4], ma...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Remove an element from the bag. >>> s = pbag([1, 1, 2]) >>> s2 = s.remove(1) >>> s3 = s.remove(2) >>> s2 pbag([1, 2]) >>> s3 pbag([1, 1])
"Remove an element from the bag.\n\n >>> s = pbag([1, 1, 2])\n >>> s2 = s.remove(1)\n >>> s3 = s.remove(2)\n >>> s2\n pbag([1, 2])\n >>> s3\n pbag([1, 1])"
130
false
tobgu/pyrsistent
remove
28,086
LDU_FT/pahaz/sshtunnel/local_bind_hosts
LDU_FT
[ "<BEGIN>\n## `check_address`", "Check if the format of the address is correct", " Arguments:\n address (tuple):\n (``str``, ``int``) representing an IP address and port,\n respectively", " .. note::\n alternatively a local ``address`` can be a ``str`` ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the local_bind_hosts API. 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 local_bind_hosts API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Return a list containing the IP addresses listening for the tunnels
"Return a list containing the IP addresses listening for the tunnels"
96
false
pahaz/sshtunnel
local_bind_hosts
28,087
LDU_FT/spyder-ide/spyder-notebook/closing_plugin
LDU_FT
[ "<BEGIN>\n## `evaluate`", "Evaluate script in page frame.", " :param script: The script to evaluate.\n<END>", "<BEGIN>\n## `click`", "Click the targeted element.", " :param selector: A CSS3 selector to targeted element.\n :param btn: The number of mouse button.\n 0 - left b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the closing_plugin API. 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 closing_plugin API. 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...
Perform actions before parent main window is closed.
"Perform actions before parent main window is closed."
45
false
spyder-ide/spyder-notebook
closing_plugin
28,088
LDU_FT/intuition-io/intuition/snapshot_yahoo_pandas
LDU_FT
[ "<BEGIN>\n## `update`", "Actualizes the portfolio universe with the alog state\n<END>", "<BEGIN>\n## `trade_signals_handler`", "Process buy and sell signals from the simulation\n<END>", "<BEGIN>\n## `advise`", "General parameters or user settings\n (maw_weigth, max_assets, max_frequency, commission...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the snapshot_yahoo_pandas 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 snapshot_yahoo_pandas 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 a simple snapshot from yahoo, return dataframe __________________________________________________ Return pandas.DataFrame with symbols as index and columns = [change_pct, time, last, short_ratio, PE]
"Get a simple snapshot from yahoo, return dataframe\n __________________________________________________\n Return\n pandas.DataFrame with symbols as index\n and columns = [change_pct, time, last, short_ratio, PE]"
73
false
intuition-io/intuition
snapshot_yahoo_pandas
28,089
LDU_FT/alejandroautalan/pygubu/_finish_selecting
LDU_FT
[ "<BEGIN>\n## `_autoscroll`", "Hide and show scrollbar as needed.\n Code from Joe English (JE) at http://wiki.tcl.tk/950\n<END>", "<BEGIN>\n## `__regpoly_coords`", "Create the coordinates of the regular polygon specified\n<END>", "<BEGIN>\n## `get_image`", "Return tk image corresponding to name which is...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _finish_selecting API. 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 _finish_selecting API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Finaliza la seleccion. Marca como seleccionados todos los objetos que se encuentran dentro del recuadro de seleccion.
"Finaliza la seleccion.\n Marca como seleccionados todos los objetos que se encuentran\n dentro del recuadro de seleccion."
73
false
alejandroautalan/pygubu
_finish_selecting
28,090
LDU_FT/xapple/plumbing/info
LDU_FT
[ "<BEGIN>\n## `plot_and_save`", "Used when the plot method defined does not create a figure nor calls save_plot\n Then the plot method has to use self.fig\n<END>", "<BEGIN>\n## `plot`", "An example plot function. You have to subclass this method.\n<END>", "<BEGIN>\n## `count_processors`", "How many ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Get the existing job information dictionary
"Get the existing job information dictionary"
150
false
xapple/plumbing
info
28,091
LDU_FT/mobinrg/rpi_spark_drives/playToneList
LDU_FT
[ "<BEGIN>\n## `setKeyButton`", "!\n \\~english\n Set key button event\n @param btnId: Key button pin number in BCM\n @param keyCallback: A interrupt <b>callback_function</b> or <b>None</b>. <br>\n If set to <b>None</b> means keybutton work in query mode<br>\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the playToneList API. 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 playToneList API. 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...
! \~english Play tone from a tone list @param playList a array of tones \~chinese 播放音调列表 @param playList: 音调数组 \~english @note <b>playList</b> format:\n \~chinese @note <b>playList</b> 格式:\n \~ <pre> [ ...
"!\n \\~english\n Play tone from a tone list\n @param playList a array of tones\n \n \\~chinese\n 播放音调列表\n @param playList: 音调数组\n \n \\~english @note <b>playList</b> format:\\n\n \\~chinese @note <b>playList</b> 格式:\\n\n \\~\n <pre...
135
false
mobinrg/rpi_spark_drives
playToneList
28,092
LDU_FT/futurecolors/django-geoip/_get_stored_location
LDU_FT
[ "<BEGIN>\n## `get_class`", "Convert a string version of a function name to the callable object.\n<END>", "<BEGIN>\n## `get_mod_func`", "Converts 'django.views.news.stories.story_detail' to\n ('django.views.news.stories', 'story_detail')", " Taken from django.core.urlresolvers\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_stored_location 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_stored_location 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 location from cookie. :param request: A ususal request object :type request: HttpRequest :return: Custom location model
"Get location from cookie.\n\n :param request: A ususal request object\n :type request: HttpRequest\n :return: Custom location model"
34
false
futurecolors/django-geoip
_get_stored_location
28,093
LDU_FT/ANTsX/ANTsPy/transform
LDU_FT
[ "<BEGIN>\n## `smooth_image`", "Smooth an image", " ANTsR function: `smoothImage`", " Arguments\n ---------\n image \n Image to smooth", " sigma \n Smoothing factor. Can be scalar, in which case the same sigma is applied to each dimension, or a vector of length dim(inimage) t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Example ------- >>> import ants >>> translater = ants.contrib.TranslateImage((40,0)) >>> img2d = ants.image_read(ants.get_data('r16')) >>> img2d_r = translater.transform(img2d) >>> ants.plot(img2d, img2d_r) >>> translater = ants.contrib.TranslateImage((40,0,0)) ...
"Example\n -------\n >>> import ants\n >>> translater = ants.contrib.TranslateImage((40,0))\n >>> img2d = ants.image_read(ants.get_data('r16'))\n >>> img2d_r = translater.transform(img2d)\n >>> ants.plot(img2d, img2d_r)\n >>> translater = ants.contrib.TranslateImage((40,...
1,176
true
ANTsX/ANTsPy
transform
28,094
LDU_FT/biocore/burrito/which
LDU_FT
[ "<BEGIN>\n## `which`", "Equivalent to ``which executable_name`` in a *nix environment.", " Will return ``None`` if ``executable_name`` cannot be found in ``env_var``\n or if ``env_var`` is not set. Otherwise will return the first match in\n ``env_var``.", " Note: this function will likely not work...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the which API. 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 which API. 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...
Equivalent to ``which executable_name`` in a *nix environment. Will return ``None`` if ``executable_name`` cannot be found in ``env_var`` or if ``env_var`` is not set. Otherwise will return the first match in ``env_var``. Note: this function will likely not work on Windows. Code taken and modifie...
"Equivalent to ``which executable_name`` in a *nix environment.\n\n Will return ``None`` if ``executable_name`` cannot be found in ``env_var``\n or if ``env_var`` is not set. Otherwise will return the first match in\n ``env_var``.\n\n Note: this function will likely not work on Windows.\n\n Code taken an...
43
false
biocore/burrito
which
28,095
LDU_FT/mogproject/mog-commons-python/unicode_decode
LDU_FT
[ "<BEGIN>\n## `_detect_encoding`", "Detect the default encoding for the terminal's output.\n :return: string: encoding string\n<END>", "<BEGIN>\n## `_get_restore_function`", "Return the binary function for restoring terminal attributes.\n :return: function (signal, frame) => None:\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unicode_decode API. 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 unicode_decode API. 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...
Decode string data with one or more encodings, trying sequentially :param data: bytes: encoded string data :param encoding_list: list[string] or string: encoding names :return: string: decoded string
"Decode string data with one or more encodings, trying sequentially\n :param data: bytes: encoded string data\n :param encoding_list: list[string] or string: encoding names\n :return: string: decoded string"
49
false
mogproject/mog-commons-python
unicode_decode
28,096
LDU_FT/AbletonAG/abl.vpath/lock
LDU_FT
[ "<BEGIN>\n## `content_item`", "if path1 is subpart of path2, get the next path item.\n example:\n path1 = '/foo'\n path2 = '/foo/bar/foo'\n -> 'bar'\n<END>", "<BEGIN>\n## `compare_path_strings`", "find out, if path1 is a file, or a directory (or unknown).\n<END>", "<BEGIN>\n## `compare_parts`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lock API. 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 lock API. 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...
Allows to lock a file via abl.util.LockFile, with the same parameters there. Returns an opened, writable file.
"Allows to lock a file via abl.util.LockFile, with the\n same parameters there.\n\n Returns an opened, writable file."
92
false
AbletonAG/abl.vpath
lock
28,097
LDU_FT/richardkiss/pycoin/points_for_x
LDU_FT
[ "<BEGIN>\n## `parse_as_header`", "Parse the Block header from the file-like object\n<END>", "<BEGIN>\n## `stream_header_legacy`", "Stream the block header in the standard way to the file-like object f.\n<END>", "<BEGIN>\n## `stream_header`", "Stream the block header in the standard way to the file-like ob...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the points_for_x API. 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 points_for_x API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
:param: x: an integer x coordinate :return: (p0, p1) where each p is a :class:`Point` with given x coordinate, and p0's y value is even. To get a point with particular parity, use :: points_for_x(x)[1 if is_y_supposed_to_be_odd else 0]
":param: x: an integer x coordinate\n :return: (p0, p1) where each p is a :class:`Point` with given x coordinate,\n and p0's y value is even.\n\n To get a point with particular parity, use\n ::\n points_for_x(x)[1 if is_y_supposed_to_be_odd else 0]"
336
false
richardkiss/pycoin
points_for_x
28,098
LDU_FT/Genida/django-meerkat/distinct
LDU_FT
[ "<BEGIN>\n## `ip_geoloc`", "Get IP geolocation.", " Args:\n ip (str): IP address to use if no data provided.\n hit_api (bool): whether to hit api if info not found.", " Returns:\n str: latitude and longitude, comma-separated.\n<END>", "<BEGIN>\n## `google_maps_geoloc_link`", "Ge...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the distinct API. 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 distinct API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Return a list where the duplicates have been removed. Args: l (list): the list to filter. Returns: list: the same list without duplicates.
"Return a list where the duplicates have been removed.\n\n Args:\n l (list): the list to filter.\n\n Returns:\n list: the same list without duplicates."
71
false
Genida/django-meerkat
distinct
28,099
LDU_FT/jim-easterbrook/pywws/winddir_average
LDU_FT
[ "<BEGIN>\n## `read_data`", "Receive data from the device.", " If the read fails for any reason, an :obj:`IOError` exception\n is raised.", " :param size: the number of bytes to read.", " :type size: int", " :return: the data received.", " :rtype: list(int)\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the winddir_average API. 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 winddir_average API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Compute average wind direction (in degrees) for a slice of data. The wind speed and direction of each data item is converted to a vector before averaging, so the result reflects the dominant wind direction during the time period covered by the data. Setting the ``decay`` parameter converts the filter ...
"Compute average wind direction (in degrees) for a slice of data.\n\n The wind speed and direction of each data item is converted to a\n vector before averaging, so the result reflects the dominant wind\n direction during the time period covered by the data.\n\n Setting the ``decay`` parameter converts the ...
210
false
jim-easterbrook/pywws
winddir_average
28,100
LDU_FT/erikvw/django-collect-offline-files/reload
LDU_FT
[ "<BEGIN>\n## `confirm`", "Flags the batch as confirmed by updating\n confirmation_datetime on the history model for this batch.\n<END>", "<BEGIN>\n## `reload`", "Reloads /path/to/filenames into the queue\n that match the regexes.\n<END>", "<BEGIN>\n## `send`", "Sends the file to the remote h...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reload API. 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 reload API. 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 ...
Reloads /path/to/filenames into the queue that match the regexes.
"Reloads /path/to/filenames into the queue\n that match the regexes."
36
false
erikvw/django-collect-offline-files
reload
28,101
LDU_FT/mosdef-hub/mbuild/center
LDU_FT
[ "<BEGIN>\n## `calc_dihedral`", "Calculates a dihedral angle", " Here, two planes are defined by (point1, point2, point3) and\n (point2, point3, point4). The angle between them is returned.", " Parameters\n ----------\n point1, point2, point3, point4 : array-like, shape=(3,), dtype=float\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the center API. 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 center API. 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 ...
The cartesian center of the Compound based on its Particles. Returns ------- np.ndarray, shape=(3,), dtype=float The cartesian center of the Compound based on its Particles
"The cartesian center of the Compound based on its Particles.\n\n Returns\n -------\n np.ndarray, shape=(3,), dtype=float\n The cartesian center of the Compound based on its Particles"
463
false
mosdef-hub/mbuild
center
28,102
LDU_FT/Robpol86/libnl/nla_next
LDU_FT
[ "<BEGIN>\n## `nla_ok`", "Check if the attribute header and payload can be accessed safely.", " https://github.com/thom311/libnl/blob/libnl3_2_25/lib/attr.c#L148", " Verifies that the header and payload do not exceed the number of bytes left in the attribute stream. This function\n must be called befo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nla_next API. 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 nla_next API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Return next attribute in a stream of attributes. https://github.com/thom311/libnl/blob/libnl3_2_25/lib/attr.c#L171 Calculates the offset to the next attribute based on the attribute given. The attribute provided is assumed to be accessible, the caller is responsible to use nla_ok() beforehand. The offset ...
"Return next attribute in a stream of attributes.\n\n https://github.com/thom311/libnl/blob/libnl3_2_25/lib/attr.c#L171\n\n Calculates the offset to the next attribute based on the attribute given. The attribute provided is assumed to be\n accessible, the caller is responsible to use nla_ok() beforehand. The o...
702
false
Robpol86/libnl
nla_next
28,103
LDU_FT/pebble/libpebble2/firmware_version
LDU_FT
[ "<BEGIN>\n## `send_notification`", "Sends a notification. Blocks as long as necessary.", " :param subject: The subject.\n :type subject: str\n :param message: The message.\n :type message: str\n :param sender: The sender.\n :type sender: str\n :param source: The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the firmware_version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the firmware_version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Provides information on the connected Pebble, including its firmware version, language, capabilities, etc. .. note: This is a blocking call if :meth:`fetch_watch_info` has not yet been called, which could lead to deadlock if called in an endpoint callback. :rtype: .WatchVersionRe...
"Provides information on the connected Pebble, including its firmware version, language, capabilities, etc.\n\n .. note:\n This is a blocking call if :meth:`fetch_watch_info` has not yet been called, which could lead to deadlock\n if called in an endpoint callback.\n\n :rtype: .WatchVe...
121
false
pebble/libpebble2
firmware_version
28,104
LDU_FT/vovanec/httputil/to_chunks
LDU_FT
[ "<BEGIN>\n## `_request`", "Perform asynchronous request.", " :param str url: request URL.\n :param str method: request method.\n :param dict headers: request headers.\n :param object data: JSON-encodable object.\n :param object -> object result_callback: result callback.", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_chunks API. 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 to_chunks API. 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...
This generator function receives file-like or generator as input and returns generator. :param file|__generator[bytes] stream_or_generator: readable stream or generator. :rtype: __generator[bytes] :raise: TypeError
"This generator function receives file-like or generator as input\n and returns generator.\n\n :param file|__generator[bytes] stream_or_generator: readable stream or\n generator.\n\n :rtype: __generator[bytes]\n\n :raise: TypeError"
49
false
vovanec/httputil
to_chunks
28,105
LDU_FT/jaraco/irc/finish
LDU_FT
[ "<BEGIN>\n## `handle_nick`", "Handle the initial setting of the user's nickname and nick changes.\n<END>", "<BEGIN>\n## `handle_user`", "Handle the USER command which identifies the user to the server.\n<END>", "<BEGIN>\n## `handle_join`", "Handle the JOINing of a user to a channel. Valid channel names st...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finish API. 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 finish API. 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 ...
The client conection is finished. Do some cleanup to ensure that the client doesn't linger around in any channel or the client list, in case the client didn't properly close the connection with PART and QUIT.
"The client conection is finished. Do some cleanup to ensure that the\n client doesn't linger around in any channel or the client list, in case\n the client didn't properly close the connection with PART and QUIT."
193
false
jaraco/irc
finish
28,106
LDU_FT/LuminosoInsight/python-ftfy/search_function
LDU_FT
[ "<BEGIN>\n## `fix_encoding_and_explain`", "Re-decodes text that has been decoded incorrectly, and also return a\n \"plan\" indicating all the steps required to fix it.", " The resulting plan could be used with :func:`ftfy.fixes.apply_plan`\n to fix additional strings that are broken in the same way.\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_function API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_function API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Register our "bad codecs" with Python's codecs API. This involves adding a search function that takes in an encoding name, and returns a codec for that encoding if it knows one, or None if it doesn't. The encodings this will match are: - Encodings of the form 'sloppy-windows-NNNN' or 'sloppy-iso-8859-...
"Register our \"bad codecs\" with Python's codecs API. This involves adding\n a search function that takes in an encoding name, and returns a codec\n for that encoding if it knows one, or None if it doesn't.\n\n The encodings this will match are:\n\n - Encodings of the form 'sloppy-windows-NNNN' or 'sloppy-...
123
false
LuminosoInsight/python-ftfy
search_function
28,107
LDU_FT/foremast/foremast/splay_health
LDU_FT
[ "<BEGIN>\n## `create_elb_dns`", "Create dns entries in route53.", " Args:\n regionspecific (bool): The DNS entry should have region on it\n Returns:\n str: Auto-generated DNS name for the Elastic Load Balancer.\n<END>", "<BEGIN>\n## `create_failover_dns`", "Create dns ent...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the splay_health API. 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 splay_health API. 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...
Set Health Check path, port, and protocol. Args: health_target (str): The health target. ie ``HTTP:80`` Returns: HealthCheck: A **collections.namedtuple** class with *path*, *port*, *proto*, and *target* attributes.
"Set Health Check path, port, and protocol.\n\n Args:\n health_target (str): The health target. ie ``HTTP:80``\n Returns:\n HealthCheck: A **collections.namedtuple** class with *path*, *port*,\n *proto*, and *target* attributes."
585
false
foremast/foremast
splay_health
28,108
LDU_FT/syrusakbary/promise/prime
LDU_FT
[ "<BEGIN>\n## `dispatch_queue`", "Given the current state of a Loader instance, perform a batch load\n from its current queue.\n<END>", "<BEGIN>\n## `failed_dispatch`", "Do not cache individual loads if the entire batch dispatch fails,\n but still reject each request so they do not hang.\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prime API. 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 prime API. 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...
Adds the provied key and value to the cache. If the key already exists, no change is made. Returns itself for method chaining.
"Adds the provied key and value to the cache. If the key already exists, no\n change is made. Returns itself for method chaining."
25
false
syrusakbary/promise
prime
28,109
LDU_FT/nuagenetworks/monolithe/write
LDU_FT
[ "<BEGIN>\n## `raiseError`", "Print an error message", " Args:\n message: the message to print\n<END>", "<BEGIN>\n## `json`", "Print a nice JSON output", " Args:\n message: the message to print\n<END>", "<BEGIN>\n## `to_dict`", "Transform the current ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Write a file at the specific destination with the content. Args: destination (string): the destination location filename (string): the filename that will be written content (string): the content of the filename
"Write a file at the specific destination with the content.\n\n Args:\n destination (string): the destination location\n filename (string): the filename that will be written\n content (string): the content of the filename"
69
false
nuagenetworks/monolithe
write
28,110
LDU_FT/celery/django-celery/_store_result
LDU_FT
[ "<BEGIN>\n## `transaction_retry`", "Decorator for methods doing database operations.", " If the database operation fails, it will retry the operation\n at most ``max_retries`` times.\n<END>", "<BEGIN>\n## `get_task`", "Get task meta for task by ``task_id``.", " :keyword exception_retry_count:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _store_result API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _store_result API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Store return value and status of an executed task.
"Store return value and status of an executed task."
65
false
celery/django-celery
_store_result
28,111
LDU_FT/maxfischer2781/chainlet/genlet
LDU_FT
[ "<BEGIN>\n## `skip_pickle_inject`", "skip global wrapper._raw_slave names used only for pickle support\n<END>", "<BEGIN>\n## `wraplet_signature`", "have wrapplets use the signature of the slave\n<END>", "<BEGIN>\n## `_chain_forks`", "Detect whether a sequence of elements leads to a fork of streams\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the genlet API. 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 genlet API. 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 ...
Decorator to convert a generator function to a :py:class:`~chainlink.ChainLink` :param generator_function: the generator function to convert :type generator_function: generator :param prime: advance the generator to the next/first yield :type prime: bool When used as a decorator, this function can...
"Decorator to convert a generator function to a :py:class:`~chainlink.ChainLink`\n\n :param generator_function: the generator function to convert\n :type generator_function: generator\n :param prime: advance the generator to the next/first yield\n :type prime: bool\n\n When used as a decorator, this func...
95
false
maxfischer2781/chainlet
genlet
28,112
LDU_FT/globus/globus-cli/delete_and_rm_options
LDU_FT
[ "<BEGIN>\n## `role_show`", "Executor for `globus endpoint role show`\n<END>", "<BEGIN>\n## `outformat_is_json`", "Only safe to call within a click context.\n<END>", "<BEGIN>\n## `outformat_is_unix`", "Only safe to call within a click context.\n<END>", "<BEGIN>\n## `outformat_is_text`", "Only safe to c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_and_rm_options 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 delete_and_rm_options API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Options which apply both to `globus delete` and `globus rm`
"Options which apply both to `globus delete` and `globus rm`"
186
false
globus/globus-cli
delete_and_rm_options
28,113
LDU_FT/apache/incubator-mxnet/convert_convolution
LDU_FT
[ "<BEGIN>\n## `dynamic_unroll`", "Unrolls an RNN cell across time steps.", " Currently, 'TNC' is a preferred layout. unroll on the input of this layout\n runs much faster.", " Parameters\n ----------\n cell : an object whose base class is RNNCell.\n The RNN cell to run on the input sequen...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_convolution 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 convert_convolution 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...
Convert a convolution layer from mxnet to coreml. Parameters ---------- network: net A mxnet network object. layer: node Node to convert. module: module An module for MXNet builder: NeuralNetworkBuilder A neural network builder object.
"Convert a convolution layer from mxnet to coreml.\n\n Parameters\n ----------\n network: net\n A mxnet network object.\n\n layer: node\n Node to convert.\n\n module: module\n An module for MXNet\n\n builder: NeuralNetworkBuilder\n A neural network builder object."
3,672
true
apache/incubator-mxnet
convert_convolution
28,114
LDU_FT/spotify/luigi/_recursively_freeze
LDU_FT
[ "<BEGIN>\n## `_fetch_json`", "Returns the json representation of the dep graph\n<END>", "<BEGIN>\n## `prefix_search`", "Searches for jobs matching the given ``job_name_prefix``.\n<END>", "<BEGIN>\n## `status_search`", "Searches for jobs matching the given ``status``.\n<END>", "<BEGIN>\n## `move`", "Mo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _recursively_freeze 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 _recursively_freeze 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...
Recursively walks ``Mapping``s and ``list``s and converts them to ``_FrozenOrderedDict`` and ``tuples``, respectively.
"Recursively walks ``Mapping``s and ``list``s and converts them to ``_FrozenOrderedDict`` and ``tuples``, respectively."
765
false
spotify/luigi
_recursively_freeze
28,115
LDU_FT/seomoz/qless-py/tracked
LDU_FT
[ "<BEGIN>\n## `clone`", "Clone the redis client to be slowlog-compatible\n<END>", "<BEGIN>\n## `stop`", "Set everything back to normal and collect our data\n<END>", "<BEGIN>\n## `class_string`", "Return a string representative of the class\n<END>", "<BEGIN>\n## `put`", "Either create a new job in the p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tracked API. 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 tracked API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Return an array of job objects that are being tracked
"Return an array of job objects that are being tracked"
66
false
seomoz/qless-py
tracked
28,116
LDU_FT/kimdhamilton/merkle-proofs/add_leaf
LDU_FT
[ "<BEGIN>\n## `validate_proof`", "Takes a proof array, a target hash value, and a merkle root.\n Checks the validity of the proof and return true or false.\n :param proof:\n :param target_hash:\n :param merkle_root:\n :param hash_f:\n :return: whether proof is valid, Boolean\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_leaf API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_leaf API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Add a leaf to the tree. :param value: hash value (as a Buffer) or hex string :param do_hash: whether to hash value
"Add a leaf to the tree.\n :param value: hash value (as a Buffer) or hex string\n :param do_hash: whether to hash value"
13
false
kimdhamilton/merkle-proofs
add_leaf
28,117
LDU_FT/mass-project/mass_api_client/get_scheduled_analyses
LDU_FT
[ "<BEGIN>\n## `create`", "Create a new report.", " For convenience :func:`~mass_api_client.resources.scheduled_analysis.ScheduledAnalysis.create_report`\n of class :class:`.ScheduledAnalysis` can be used instead.", " :param scheduled_analysis: The :class:`.ScheduledAnalysis` this report wa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_scheduled_analyses 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_scheduled_analyses API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Retrieve all scheduled analyses for this instance. :return: A list of :class:`.ScheduledAnalysis` objects.
"Retrieve all scheduled analyses for this instance.\n\n :return: A list of :class:`.ScheduledAnalysis` objects."
65
false
mass-project/mass_api_client
get_scheduled_analyses
28,118
LDU_FT/mozilla/mozilla-django-oidc/authenticate
LDU_FT
[ "<BEGIN>\n## `get_next_url`", "Retrieves next url from request", " Note: This verifies that the url is safe before returning it. If the url\n is not safe, this returns None.", " :arg HttpRequest request: the http request\n :arg str redirect_field_name: the name of the field holding the next url", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API. 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 authenticate API. 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...
Authenticates a user based on the OIDC code flow.
"Authenticates a user based on the OIDC code flow."
49
false
mozilla/mozilla-django-oidc
authenticate
28,119
LDU_FT/nefarioustim/parker/get_nodes_by_selector
LDU_FT
[ "<BEGIN>\n## `save_media`", "Store any media within model.media_list.\n<END>", "<BEGIN>\n## `get_proxy`", "Return a random proxy from proxy config.\n<END>", "<BEGIN>\n## `get`", "Return Requests response to GET request.\n<END>", "<BEGIN>\n## `get_content`", "Return content from URI if Response status ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_nodes_by_selector 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_nodes_by_selector API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Return a collection of filtered nodes. Filtered based on the @selector and @not_selector parameters.
"Return a collection of filtered nodes.\n\n Filtered based on the @selector and @not_selector parameters."
34
false
nefarioustim/parker
get_nodes_by_selector
28,120
LDU_FT/dfujim/bdata/_get_asym_alpha
LDU_FT
[ "<BEGIN>\n## `_get_area_data`", "Get histogram list based on area type. \n List pattern: [type1_hel+,type2_hel+,type1_hel-,type2_hel-]\n where type1/2 = F/B or R/L in that order.\n<END>", "<BEGIN>\n## `_get_asym_comb`", "Find the combined asymmetry for slr runs. Elegant 4-counter method.\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_asym_alpha API. 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_asym_alpha API. 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...
Find alpha diffusion ratios from cryo oven with alpha detectors. a: list of alpha detector histograms (each helicity) b: list of beta detector histograms (each helicity)
"Find alpha diffusion ratios from cryo oven with alpha detectors. \n a: list of alpha detector histograms (each helicity)\n b: list of beta detector histograms (each helicity)"
58
false
dfujim/bdata
_get_asym_alpha
28,121
LDU_FT/konstantint/matplotlib-venn/mid_point
LDU_FT
[ "<BEGIN>\n## `point_in_circle`", "Returns true if a given point is located inside (or on the border) of a circle.", " >>> point_in_circle((0, 0), (0, 0), 1)\n True\n >>> point_in_circle((1, 0), (0, 0), 1)\n True\n >>> point_in_circle((1, 1), (0, 0), 1)\n False\n<END>", "<BEGIN>\n## `circle_i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mid_point API. 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 mid_point API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Returns the midpoint of the arc as a 1x2 numpy array.
"Returns the midpoint of the arc as a 1x2 numpy array."
166
false
konstantint/matplotlib-venn
mid_point
28,122
LDU_FT/gplepage/gvar/make_plot
LDU_FT
[ "<BEGIN>\n## `deriv`", "Compute *n*-th derivative of ``self``.", " :param n: Number of derivatives.\n :type n: positive integer\n :returns: *n*-th derivative of ``self``.\n<END>", "<BEGIN>\n## `integ`", "Compute *n*-th indefinite integral of ``self``.", " If *x0* is specified, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_plot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_plot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Convert histogram counts in array ``count`` into a plot. Args: count (array): Array of histogram counts (see :meth:`PDFHistogram.count`). plot (plotter): :mod:`matplotlib` plotting window. If ``None`` uses the default window. Default is ``None``. ...
"Convert histogram counts in array ``count`` into a plot.\n\n Args:\n count (array): Array of histogram counts (see\n :meth:`PDFHistogram.count`).\n plot (plotter): :mod:`matplotlib` plotting window. If ``None``\n uses the default window. Default is ``None``.\n...
206
false
gplepage/gvar
make_plot
28,123
LDU_FT/DecBayComp/RWA-python/pokeVisited
LDU_FT
[ "<BEGIN>\n## `hdf5_storable`", "Registers a `Storable` instance in the global service.\n<END>", "<BEGIN>\n## `isreference`", "Tell whether a variable is an object reference.", " Due to garbage collection, some objects happen to get the id of a distinct variable.\n As a consequence, linking is not read...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pokeVisited API. 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 pokeVisited API. 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...
Serialize an already serialized object. If the underlying store supports linking, this is the place where to make links. The default implementation delegates to :meth:`pokeStorable` or :meth:`pokeNative`. Arguments: objname (any): record reference. obj (any): object ...
"Serialize an already serialized object.\n\n If the underlying store supports linking, this is the place where to make links.\n\n The default implementation delegates to :meth:`pokeStorable` or :meth:`pokeNative`.\n\n Arguments:\n\n objname (any): record reference.\n\n obj (an...
130
false
DecBayComp/RWA-python
pokeVisited
28,124
LDU_FT/intelsdi-x/snap-plugin-lib-py/_tabulate
LDU_FT
[ "<BEGIN>\n## `publish`", "Publishes metrics to a file in JSON format.", " This method is called by the Snap deamon during the collection phase\n of the execution of a Snap workflow.", " In this example we are writing the metrics to a file in json format.\n We obtain the path to the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _tabulate API. 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 _tabulate API. 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...
Prepare simple table with spacing based on content
"Prepare simple table with spacing based on content"
69
false
intelsdi-x/snap-plugin-lib-py
_tabulate
28,125
LDU_FT/Nukesor/pueue/clean_descriptor
LDU_FT
[ "<BEGIN>\n## `clean`", "Clean queue items from a previous session.", " In case a previous session crashed and there are still some running\n entries in the queue ('running', 'stopping', 'killing'), we clean those\n and enqueue them again.\n<END>", "<BEGIN>\n## `clear`", "Remove all comp...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_descriptor API. 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 clean_descriptor API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Close file descriptor and remove underlying files.
"Close file descriptor and remove underlying files."
104
false
Nukesor/pueue
clean_descriptor
28,126
LDU_FT/jashort/SmartFileSorter/do_actions
LDU_FT
[ "<BEGIN>\n## `do_action`", ":param target: Full path and filename\n :param dry_run: True - don't actually perform action. False: perform action. No effect for this rule.\n :return: filename: Full path and filename after action completes\n<END>", "<BEGIN>\n## `add_match_rule`", "Adds the given ma...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_actions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_actions API. 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...
Runs all the given action rules in this ruleset on target_filename :param target_filename: :retrn: filename Filename and path after any actions have been completed \
"Runs all the given action rules in this ruleset on target_filename\n :param target_filename:\n :retrn: filename Filename and path after any actions have been completed\n\\"
38
false
jashort/SmartFileSorter
do_actions
28,127
LDU_FT/BreakingBytes/simkit/apply_units_to_cache
LDU_FT
[ "<BEGIN>\n## `register`", "Register outputs and metadata.", " * ``initial_value`` - used in dynamic calculations\n * ``size`` - number of elements per timestep\n * ``uncertainty`` - in percent of nominal value\n * ``variance`` - dictionary of covariances, diagonal is square of\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_units_to_cache API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_units_to_cache API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Applies units to data when a proxy reader is used. For example if the data is cached as JSON and retrieved using the :class:`~simkit.core.data_readers.JSONReader`, then units can be applied from the original parameter schema. :param data: Data read by proxy reader. :return: data...
"Applies units to data when a proxy reader is used. For example if the\n data is cached as JSON and retrieved using the\n :class:`~simkit.core.data_readers.JSONReader`, then units can be\n applied from the original parameter schema.\n\n :param data: Data read by proxy reader.\n :retur...
227
false
BreakingBytes/simkit
apply_units_to_cache
28,128
LDU_FT/rbit/pydtls/write
LDU_FT
[ "<BEGIN>\n## `decode_cert`", "Convert an X509 certificate into a Python dictionary", " This function converts the given X509 certificate into a Python dictionary\n in the manner established by the Python standard library's ssl module.\n<END>", "<BEGIN>\n## `_get_server_certificate`", "Retrieve a serve...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Write data to connection Write data as string of bytes. Arguments: data -- buffer containing data to be written Return value: number of bytes actually transmitted
"Write data to connection\n\n Write data as string of bytes.\n\n Arguments:\n data -- buffer containing data to be written\n\n Return value:\n number of bytes actually transmitted"
83
false
rbit/pydtls
write
28,129
LDU_FT/krinj/k-util/filter_value
LDU_FT
[ "<BEGIN>\n## `interpolate_color`", "Linear interpolate two 3-channel colors, using channel based interpolation.\n<END>", "<BEGIN>\n## `interpolate`", "Linearly interpolate between two float values.\n<END>", "<BEGIN>\n## `filter_value`", "Linearly interpolate between two float values.\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Linearly interpolate between two float values.
"Linearly interpolate between two float values."
30
false
krinj/k-util
filter_value
28,130
LDU_FT/thefactory/marathon-python/get_group
LDU_FT
[ "<BEGIN>\n## `_parse_response`", "Parse a Marathon response into an object or list of objects.\n<END>", "<BEGIN>\n## `create_app`", "Create and start an app.", " :param str app_id: application ID\n :param :class:`marathon.models.app.MarathonApp` app: the application to create\n :param b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Get a single group. :param str group_id: group ID :returns: group :rtype: :class:`marathon.models.group.MarathonGroup`
"Get a single group.\n\n :param str group_id: group ID\n\n :returns: group\n :rtype: :class:`marathon.models.group.MarathonGroup`"
146
false
thefactory/marathon-python
get_group
28,131
LDU_FT/Shoobx/xmldiff/patch_tree
LDU_FT
[ "<BEGIN>\n## `diff_main`", "Find the differences between two texts. Simplifies the problem by\n stripping any common prefix or suffix off the texts before diffing.", " Args:\n text1: Old string to be diffed.\n text2: New string to be diffed.\n checklines: Optional speedup flag. If prese...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch_tree API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch_tree API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Takes an lxml root element or element tree, and a list of actions
"Takes an lxml root element or element tree, and a list of actions"
146
false
Shoobx/xmldiff
patch_tree
28,132
LDU_FT/Exirel/pylint-json2html/on_close
LDU_FT
[ "<BEGIN>\n## `build_messages_modules`", "Build and yield sorted list of messages per module.", " :param list messages: List of dict of messages\n :return: Tuple of 2 values: first is the module info, second is the list\n of messages sorted by line number\n<END>", "<BEGIN>\n## `stats_evaluati...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_close API. 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 on_close API. 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...
Print the extended JSON report to reporter's output. :param dict stats: Metrics for the current pylint run :param dict previous_stats: Metrics for the previous pylint run
"Print the extended JSON report to reporter's output.\n\n :param dict stats: Metrics for the current pylint run\n :param dict previous_stats: Metrics for the previous pylint run"
13
false
Exirel/pylint-json2html
on_close
28,133
LDU_FT/6809/MC6809/instruction_ST8
LDU_FT
[ "<BEGIN>\n## `instruction_RTS`", "Program control is returned from the subroutine to the calling program.\n The return address is pulled from the stack.", " source code forms: RTS", " CC bits \"HNZVC\": -----\n<END>", "<BEGIN>\n## `instruction_BSR_JSR`", "Program control is transferre...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the instruction_ST8 API. 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 instruction_ST8 API. 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...
Writes the contents of an 8-bit register into a memory location. source code forms: STA P; STB P CC bits "HNZVC": -aa0-
"Writes the contents of an 8-bit register into a memory location.\n\n source code forms: STA P; STB P\n\n CC bits \"HNZVC\": -aa0-"
224
false
6809/MC6809
instruction_ST8
28,134
LDU_FT/basler/pypylon/parse
LDU_FT
[ "<BEGIN>\n## `shift`", "Return a list corresponding to the lines of text in the `txt` list\n indented by `indent`. Prepend instead the string given in `prepend` to the\n beginning of the first line. Note that if len(prepend) > len(indent), then\n `prepend` will be truncated (doing better is tricky!). Thi...
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...
Parse a given node. This function in turn calls the `parse_<nodeType>` functions which handle the respective nodes.
"Parse a given node. This function in turn calls the\n `parse_<nodeType>` functions which handle the respective\n nodes."
42
false
basler/pypylon
parse
28,135
LDU_FT/common-workflow-language/cwltool/visit_class
LDU_FT
[ "<BEGIN>\n## `add_volumes`", "Append volume mappings to the runtime option list.\n<END>", "<BEGIN>\n## `docker_monitor`", "Record memory usage of the running Docker container.\n<END>", "<BEGIN>\n## `adjustFiles`", "Apply a mapping function to each File path in the object `rec`.\n<END>", "<BEGIN>\n## `ch...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_class API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_class API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Apply a function to with "class" in cls.
"Apply a function to with \"class\" in cls."
161
false
common-workflow-language/cwltool
visit_class
28,136
LDU_FT/ihgazni2/edict/_intersection
LDU_FT
[ "<BEGIN>\n## `pipe_shell_cmds`", "shell_CMDs = {}\n shell_CMDs[1] = 'netstat -n'\n shell_CMDs[2] = \"awk {'print $6'}\"\n<END>", "<BEGIN>\n## `_reorder_via_klist`", "d = {'scheme': 'http', 'path': '/index.php', 'params': 'params', 'query': 'username=query', 'fragment': 'frag', 'username': '', 'p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _intersection API. 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 _intersection API. 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...
d1 = {'a':'x','b':'y','c':'z'} d2 = {'a':'x','b':'u','d':'v'} _intersection(d1,d2) _intersection(d2,d1)
"d1 = {'a':'x','b':'y','c':'z'}\n d2 = {'a':'x','b':'u','d':'v'}\n _intersection(d1,d2)\n _intersection(d2,d1)"
71
false
ihgazni2/edict
_intersection
28,137
LDU_FT/Parsl/libsubmit/get_vm_status
LDU_FT
[ "<BEGIN>\n## `_status`", "Internal: Do not call. Returns the status list for a list of job_ids", " Args:\n self", " Returns:\n [status...] : Status list of all jobs\n<END>", "<BEGIN>\n## `submit`", "Submits the command onto an Local Resource Manager job of blocksize...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_vm_status API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_vm_status API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
this will just return the status of the virtual machine sometime the status may be unknown as shown by the azure portal; in that case statuses[1] doesn't exist, hence retrying on IndexError also, it may take on the order of minutes for the status to become available so the decorator will...
"this will just return the status of the virtual machine\n sometime the status may be unknown as shown by the azure portal;\n in that case statuses[1] doesn't exist, hence retrying on IndexError\n also, it may take on the order of minutes for the status to become\n available so the decorator...
99
false
Parsl/libsubmit
get_vm_status
28,138
LDU_FT/SpringerPE/python-cfconfigurator/login
LDU_FT
[ "<BEGIN>\n## `_client`", "Performs client login with the provided credentials\n<END>", "<BEGIN>\n## `_login`", "Performs login with the provided credentials\n<END>", "<BEGIN>\n## `login`", "Performs login with the provided credentials\n<END>", "<BEGIN>\n## `info`", "Gets info endpoint. Used to perform...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Performs login with the provided credentials
"Performs login with the provided credentials"
12
false
SpringerPE/python-cfconfigurator
login
28,139
LDU_FT/optimizely/python-sdk/set_forced_variation
LDU_FT
[ "<BEGIN>\n## `is_datafile_valid`", "Given a datafile determine if it is valid or not.", " Args:\n datafile: JSON string representing the project.", " Returns:\n Boolean depending upon whether datafile is valid or not.\n<END>", "<BEGIN>\n## `is_user_profile_valid`", "Determine if provided user prof...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_forced_variation API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_forced_variation API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Sets users to a map of experiments to forced variations. Args: experiment_key: Key for experiment. user_id: The user ID. variation_key: Key for variation. If None, then clear the existing experiment-to-variation mapping. Returns: A boolean value that indicates if the set co...
"Sets users to a map of experiments to forced variations.\n\n Args:\n experiment_key: Key for experiment.\n user_id: The user ID.\n variation_key: Key for variation. If None, then clear the existing experiment-to-variation mapping.\n\n Returns:\n A boolean value that indicates if t...
302
false
optimizely/python-sdk
set_forced_variation
28,140
LDU_FT/kpn-digital/py-timeexecution/create_module_file
LDU_FT
[ "<BEGIN>\n## `write`", "Write the metric to elasticsearch", " Args:\n name (str): The name of the metric to write\n data (dict): Additional data to store with the metric\n<END>", "<BEGIN>\n## `bulk_write`", "Write multiple metrics to elasticsearch in one request", " Arg...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_module_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_module_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. Th...
Build the text of the file and write the file.
"Build the text of the file and write the file."
18
false
kpn-digital/py-timeexecution
create_module_file
28,141
LDU_FT/budacom/trading-bots/get_config
LDU_FT
[ "<BEGIN>\n## `fetch_deposits`", "Fetch latest deposits, must provide a limit.\n<END>", "<BEGIN>\n## `fetch_deposits_since`", "Fetch all deposits since the given timestamp.\n<END>", "<BEGIN>\n## `fetch_withdrawals`", "Fetch latest withdrawals, must provide a limit.\n<END>", "<BEGIN>\n## `fetch_withdrawal...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Return the config with the given case-insensitive config_name. Raise LookupError if no config exists with this name.
"Return the config with the given case-insensitive config_name.\n Raise LookupError if no config exists with this name."
62
false
budacom/trading-bots
get_config
28,142
LDU_FT/silver-castle/mach9/html
LDU_FT
[ "<BEGIN>\n## `get_connect_message`", "http://channels.readthedocs.io/en/stable/asgi/www.html#connection\n<END>", "<BEGIN>\n## `get_receive_message`", "http://channels.readthedocs.io/en/stable/asgi/www.html#receive\n<END>", "<BEGIN>\n## `get_disconnect_message`", "http://channels.readthedocs.io/en/stable/a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the html API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the html API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Returns response object with body in html format. :param body: Response data to be encoded. :param status: Response code. :param headers: Custom Headers.
"Returns response object with body in html format.\n :param body: Response data to be encoded.\n :param status: Response code.\n :param headers: Custom Headers."
78
false
silver-castle/mach9
html
28,143
LDU_FT/fastai/fastai/get_kernel_spec
LDU_FT
[ "<BEGIN>\n## `xception`", "Preview version of Xception network. Not tested yet - use at own risk. No pretrained model yet.\n<END>", "<BEGIN>\n## `get_model`", "Method returns a RNN_Learner object, that wraps an instance of the RNN_Encoder module.", " Args:\n opt_fn (Optimizer): the torch o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_kernel_spec API. 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_kernel_spec API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Returns a :class:`KernelSpec` instance for the given kernel_name. Raises :exc:`NoSuchKernel` if the given kernel name is not found.
"Returns a :class:`KernelSpec` instance for the given kernel_name.\n\n Raises :exc:`NoSuchKernel` if the given kernel name is not found."
1,382
true
fastai/fastai
get_kernel_spec
28,144
LDU_FT/azavea/python-omgeo/process
LDU_FT
[ "<BEGIN>\n## `_geocode`", ":arg PlaceQuery pq: PlaceQuery object to use for geocoding\n :returns: list of location Candidates\n<END>", "<BEGIN>\n## `_street_addr_from_response`", "Construct a street address (no city, region, etc.) from a geocoder response.", " :param attributes: A dict of addr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
:arg PlaceQuery pq: PlaceQuery instance :returns: modified PlaceQuery, or ``False`` if country is not acceptable.
":arg PlaceQuery pq: PlaceQuery instance\n :returns: modified PlaceQuery, or ``False`` if country is not acceptable."
78
false
azavea/python-omgeo
process
28,145
LDU_FT/chriskiehl/Gooey/_forward_stdout
LDU_FT
[ "<BEGIN>\n## `applyStyleRules`", "Conditionally disabled/enables form fields based on the current\r\n section in the radio group\n<END>", "<BEGIN>\n## `handleImplicitCheck`", "Checkboxes are hidden when inside of a RadioGroup as a selection of\r\n the Radio button is an implicit selection of the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _forward_stdout API. 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 _forward_stdout API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Reads the stdout of `process` and forwards lines and progress to any interested subscribers
"Reads the stdout of `process` and forwards lines and progress\r\n to any interested subscribers"
60
false
chriskiehl/Gooey
_forward_stdout
28,146
LDU_FT/git-afsantos/bonsai/_children
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 _children API. 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 _children API. 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...
Yield all direct children of this object.
"Yield all direct children of this object."
111
false
git-afsantos/bonsai
_children
28,147
LDU_FT/python-security/pyt/assignment_call_node
LDU_FT
[ "<BEGIN>\n## `_connect_control_flow_node`", "Connect a ControlFlowNode properly to the next_node.\n<END>", "<BEGIN>\n## `extract_left_hand_side`", "Extract the left hand side variable from a target.", " Removes list indexes, stars and other left hand side elements.\n<END>", "<BEGIN>\n## `get_first_node...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assignment_call_node 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 assignment_call_node API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Handle assignments that contain a function call on its right side.
"Handle assignments that contain a function call on its right side."
177
false
python-security/pyt
assignment_call_node
28,148
LDU_FT/vberlier/nbtlib/parse_string
LDU_FT
[ "<BEGIN>\n## `load`", "Load the nbt file at the specified location.\r", " By default, the function will figure out by itself if the file is\r\n gzipped before loading it. You can pass a boolean to the `gzipped`\r\n keyword only argument to specify explicitly whether the file is\r\n compressed or not...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extr...
Parse a regular unquoted string from the token stream.
"Parse a regular unquoted string from the token stream."
66
false
vberlier/nbtlib
parse_string
28,149
LDU_FT/kronenthaler/mod-pbxproj/get_files_by_path
LDU_FT
[ "<BEGIN>\n## `has_child`", "Checks if the given child id\n :param child: The id to check if it's a child of the group\n :return: True if the given id it's a child of this group, False otherwise\n<END>", "<BEGIN>\n## `add_file`", "Adds a file to the project, taking care of the type of the file an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_files_by_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_files_by_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Gets the files under the given tree type that match the given path. :param path: Path to the file relative to the tree root :param tree: Tree type to look for the path. By default the SOURCE_ROOT :return: List of all PBXFileReference that match the path and tree criteria.
"Gets the files under the given tree type that match the given path.\n :param path: Path to the file relative to the tree root\n :param tree: Tree type to look for the path. By default the SOURCE_ROOT\n :return: List of all PBXFileReference that match the path and tree criteria."
71
false
kronenthaler/mod-pbxproj
get_files_by_path
28,150
LDU_FT/TeleSign/python_telesign/post
LDU_FT
[ "<BEGIN>\n## `score`", "Score is an API that delivers reputation scoring based on phone number intelligence, traffic patterns, machine\n learning, and a global data consortium.", " See https://developer.telesign.com/docs/score-api for detailed API documentation.\n<END>", "<BEGIN>\n## `generate_t...
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...
Generic TeleSign REST API POST handler. :param resource: The partial resource URI to perform the request against, as a string. :param params: Body params to perform the POST request with, as a dictionary. :return: The RestClient Response object.
"Generic TeleSign REST API POST handler.\n\n :param resource: The partial resource URI to perform the request against, as a string.\n :param params: Body params to perform the POST request with, as a dictionary.\n :return: The RestClient Response object."
45
false
TeleSign/python_telesign
post
28,151
LDU_FT/projecthamster/hamster/chain
LDU_FT
[ "<BEGIN>\n## `set_start_time`", "set the start time. when start time is set, drop down list\n will start from start time and duration will be displayed in\n brackets\n<END>", "<BEGIN>\n## `parse_fact`", "tries to extract fact fields from the string\n the optional arguments in the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chain API. 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 chain API. 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...
chains the given list of functions and object animations into a callback string. Expects an interlaced list of object and params, something like: object, {params}, callable, {params}, object, {}, object, {params} Assumes that all callees accept on_complete na...
"chains the given list of functions and object animations into a callback string.\n\n Expects an interlaced list of object and params, something like:\n object, {params},\n callable, {params},\n object, {},\n object, {params}\n Assumes that all callees accept on_com...
249
false
projecthamster/hamster
chain
28,152
LDU_FT/jjjake/iamine/mine_items
LDU_FT
[ "<BEGIN>\n## `get_global_rate_limit`", "Get the global rate limit per client.", " :rtype: int\n :returns: The global rate limit for each client.\n<END>", "<BEGIN>\n## `_rate_limited`", "A rate limit decorator for limiting the number of times the\n decorated :class:`Miner` method can be ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mine_items API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mine_items API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Concurrently retrieve metadata from Archive.org items. :param identifiers: A set of Archive.org item identifiers to mine. :type identifiers: iterable :param params: (optional) The URL parameters to send with each request. :type params: dict :param callback: (optional) A callbac...
"Concurrently retrieve metadata from Archive.org items.\n\n :param identifiers: A set of Archive.org item identifiers to mine.\n :type identifiers: iterable\n\n :param params: (optional) The URL parameters to send with each\n request.\n :type params: dict\n\n :param callback: (optional)...
48
false
jjjake/iamine
mine_items
28,153
LDU_FT/joerick/pyinstrument/add_children
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 add_children API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_children API. 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...
Convenience method to add multiple frames at once.
"Convenience method to add multiple frames at once."
43
false
joerick/pyinstrument
add_children
28,154
LDU_FT/internetarchive/warc/close
LDU_FT
[ "<BEGIN>\n## `open`", "Shorthand for WARCFile(filename, mode).", " Auto detects file and opens it.\n<END>", "<BEGIN>\n## `init_defaults`", "Initializes important headers to default values, if not already specified.", " The WARC-Record-ID header is set to a newly generated UUID.\n The WARC...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API. 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 close API. 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...
Closes the gzip with care to handle multiple members.
"Closes the gzip with care to handle multiple members."
41
false
internetarchive/warc
close
28,155
LDU_FT/Spinmob/spinmob/add_text
LDU_FT
[ "<BEGIN>\n## `get_data`", "Currently pretends to talk to an instrument and get back the magnitud\n and phase of the measurement.\n<END>", "<BEGIN>\n## `Set`", "Sets the key-value pair and dumps to the preferences file.\n<END>", "<BEGIN>\n## `MakeDir`", "Creates a directory of the specified path in the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_text API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_text API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Adds text to the axes at the specified position. **kwargs go to the axes.text() function.
"Adds text to the axes at the specified position.\n\n **kwargs go to the axes.text() function."
745
false
Spinmob/spinmob
add_text
28,156
LDU_FT/UDST/urbansim/add_rows
LDU_FT
[ "<BEGIN>\n## `log_start_finish`", "A context manager to log messages with \"start: \" and \"finish: \"\n prefixes before and after a block.", " Parameters\n ----------\n msg : str\n Will be prefixed with \"start: \" and \"finish: \".\n logger : logging.Logger\n level : int, optional\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_rows API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_rows API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Add rows to data table according to a given nrows. New rows will have their IDs set to NaN. Parameters ---------- data : pandas.DataFrame nrows : int Number of rows to add. starting_index : int, optional The starting index from which to calculate indexes for the new rows...
"Add rows to data table according to a given nrows.\n New rows will have their IDs set to NaN.\n\n Parameters\n ----------\n data : pandas.DataFrame\n nrows : int\n Number of rows to add.\n starting_index : int, optional\n The starting index from which to calculate indexes for the new\n ...
461
false
UDST/urbansim
add_rows
28,157
LDU_FT/toomore/grs/fetch_data
LDU_FT
[ "<BEGIN>\n## `real`", "Real time data", " :rtype: dict\n :returns:", " :name: 股票名稱 Unicode\n :no: 股票代碼\n :range: 漲跌價\n :ranges: 漲跌判斷 True, False\n :time: 取得時間\n :max: 漲停價\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Fetch data from twse.com.tw return list. 從 twse.com.tw 下載資料,回傳格式為 csv.reader 0. 日期 1. 成交股數 2. 成交金額 3. 開盤價 4. 最高價(續) 5. 最低價 6. 收盤價 7. 漲跌價差 8. 成交筆數 :param str stock_no: 股票代碼 ...
"Fetch data from twse.com.tw\n return list.\n 從 twse.com.tw 下載資料,回傳格式為 csv.reader\n\n 0. 日期\n 1. 成交股數\n 2. 成交金額\n 3. 開盤價\n 4. 最高價(續)\n 5. 最低價\n 6. 收盤價\n 7. 漲跌價差\n 8. 成交筆數\n\n :param str st...
88
false
toomore/grs
fetch_data
28,158
LDU_FT/dr4ke616/pinky/generate_response
LDU_FT
[ "<BEGIN>\n## `handle_stop_command`", "Kill the running service\n :param srv: `str` containing the service to kill\n passed in as underscore_case\n<END>", "<BEGIN>\n## `get_machine`", "Returns the number of the machine which key gets sent to.\n<END>", "<BEGIN>\n## `find_common`", "Find co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_response API. 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 generate_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Serializes the response object and returns the raw form. :param response: A `pinky.core.response.Response` object
"Serializes the response object and returns the\n raw form.\n :param response: A `pinky.core.response.Response`\n object"
12
false
dr4ke616/pinky
generate_response
28,159
LDU_FT/Yubico/python-pyhsm/get_password
LDU_FT
[ "<BEGIN>\n## `hexdump`", "Produce a string hexdump of src, for debug output.\n<END>", "<BEGIN>\n## `group`", "Split data into chunks of num chars each\n<END>", "<BEGIN>\n## `key_handle_to_int`", "Turn \"123\" into 123 and \"KSM1\" into 827151179\n (0x314d534b, 'K' = 0x4b, S = '0x53', M = 0x4d).", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_password API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_password API. 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...
Get password of correct length for this YubiHSM version.
"Get password of correct length for this YubiHSM version."
310
false
Yubico/python-pyhsm
get_password
28,160
LDU_FT/eventbrite/pysoa/get_all_responses
LDU_FT
[ "<BEGIN>\n## `dict_to_hashable`", "Takes a dict and returns an immutable, hashable version of that dict that can be used as a key in dicts or as a\n set value. Any two dicts passed in with the same content are guaranteed to return the same value. Any two dicts\n passed in with different content are guarante...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_responses API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_responses API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Receive all available responses from the transport as a generator. :param receive_timeout_in_seconds: How long to block without receiving a message before raising `MessageReceiveTimeout` (defaults to five seconds unless the settings are ...
"Receive all available responses from the transport as a generator.\n\n :param receive_timeout_in_seconds: How long to block without receiving a message before raising\n `MessageReceiveTimeout` (defaults to five seconds unless the settings are\n ...
178
false
eventbrite/pysoa
get_all_responses
28,161
LDU_FT/wolverdude/GenSON/add_schema
LDU_FT
[ "<BEGIN>\n## `add_schema`", "Merge in a JSON schema. This can be a ``dict`` or another\n ``SchemaBuilder``", " :param schema: a JSON Schema", " .. note::\n There is no schema validation. If you pass in a bad schema,\n you might get back a bad schema.\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_schema API. 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_schema API. 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...
Merge in a JSON schema. This can be a ``dict`` or another ``SchemaBuilder`` :param schema: a JSON Schema .. note:: There is no schema validation. If you pass in a bad schema, you might get back a bad schema.
"Merge in a JSON schema. This can be a ``dict`` or another\n ``SchemaBuilder``\n\n :param schema: a JSON Schema\n\n .. note::\n There is no schema validation. If you pass in a bad schema,\n you might get back a bad schema."
20
false
wolverdude/GenSON
add_schema
28,162
LDU_FT/rm-hull/luma.core/tab
LDU_FT
[ "<BEGIN>\n## `animate`", "Returns a generator which \"executes\" an animation sequence for the given\n ``seq_name``, inasmuch as the next frame for the given animation is\n yielded when requested.", " :param seq_name: The name of a previously defined animation sequence.\n :type seq_n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tab API. 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 tab API. 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...
Advances the cursor position to the next (soft) tabstop.
"Advances the cursor position to the next (soft) tabstop."
126
false
rm-hull/luma.core
tab
28,163
LDU_FT/martinpitt/python-dbusmock/SettingsAddConnection
LDU_FT
[ "<BEGIN>\n## `AddAdapter`", "Convenience method to add a Bluetooth adapter", " You have to specify a device name which must be a valid part of an object\n path, e. g. \"hci0\", and an arbitrary system name (pretty hostname).", " Returns the new object path.\n<END>", "<BEGIN>\n## `AddDevice`", "Co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the SettingsAddConnection 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 SettingsAddConnection API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Add a connection. connection_settings is a String String Variant Map Map. See https://developer.gnome.org/NetworkManager/0.9/spec.html #type-String_String_Variant_Map_Map If you omit uuid, this method adds one for you.
"Add a connection.\n\n connection_settings is a String String Variant Map Map. See\n https://developer.gnome.org/NetworkManager/0.9/spec.html\n #type-String_String_Variant_Map_Map\n\n If you omit uuid, this method adds one for you."
188
false
martinpitt/python-dbusmock
SettingsAddConnection
28,164
LDU_FT/GPflow/GPflow/mvnquad
LDU_FT
[ "<BEGIN>\n## `multivariate_normal`", "Computes the log-density of a multivariate normal.\n :param x : Dx1 or DxN sample(s) for which we want the density\n :param mu : Dx1 or DxN mean(s) of the normal distribution\n :param L : DxD Cholesky decomposition of the covariance matrix\n :return p : (1,) or ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mvnquad API. 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 mvnquad API. 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...
Computes N Gaussian expectation integrals of a single function 'f' using Gauss-Hermite quadrature. :param f: integrand function. Takes one input of shape ?xD. :param means: NxD :param covs: NxDxD :param H: Number of Gauss-Hermite evaluation points. :param Din: Number of input dimensions. Needs t...
"Computes N Gaussian expectation integrals of a single function 'f'\n using Gauss-Hermite quadrature.\n :param f: integrand function. Takes one input of shape ?xD.\n :param means: NxD\n :param covs: NxDxD\n :param H: Number of Gauss-Hermite evaluation points.\n :param Din: Number of input dimensions. ...
589
false
GPflow/GPflow
mvnquad
28,165
LDU_FT/Dapid/tmscoring/get_matrix
LDU_FT
[ "<BEGIN>\n## `get_default_values`", "Make a crude estimation of the alignment using the center of mass\n and general C->N orientation.\n<END>", "<BEGIN>\n## `get_matrix`", "Build the rotation-translation matrix.", " It has the form:", " [ | dx ]\n [ R | dy ]\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_matrix API. 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_matrix API. 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...
Build the rotation-translation matrix. It has the form: [ | dx ] [ R | dy ] [ | dz ] [ 0 0 0 | 1 ]
"Build the rotation-translation matrix.\n\n It has the form:\n\n [ | dx ]\n [ R | dy ]\n [ | dz ]\n [ 0 0 0 | 1 ]"
15
false
Dapid/tmscoring
get_matrix
28,166
LDU_FT/undertherain/pycontextfree/get_npimage
LDU_FT
[ "<BEGIN>\n## `register_output_name`", "Register proper and improper file mappings.\n<END>", "<BEGIN>\n## `find_version`", "Simulate behaviour of \"from package_name._version import VERSION\", and return VERSION.\n<END>", "<BEGIN>\n## `parse_requirements`", "Read contents of requirements.txt file and retur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_npimage API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_npimage API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Returns a WxHx[3-4] numpy array representing the RGB picture. If `transparent` is True the image is WxHx4 and represents a RGBA picture, i.e. array[i,j] is the [r,g,b,a] value of the pixel at position [i,j]. If `transparent` is false, a RGB array is returned. Parameter y_origin ("top" or "bottom") dec...
"Returns a WxHx[3-4] numpy array representing the RGB picture.\n\n If `transparent` is True the image is WxHx4 and represents a RGBA picture,\n i.e. array[i,j] is the [r,g,b,a] value of the pixel at position [i,j].\n If `transparent` is false, a RGB array is returned.\n\n Parameter y_origin (\"top\" or \"bo...
39
false
undertherain/pycontextfree
get_npimage
28,167
LDU_FT/Roastero/freshroastsr700/_auto_connect
LDU_FT
[ "<BEGIN>\n## `fan_speed`", "Verifies the value is between 1 and 9 inclusively.\n<END>", "<BEGIN>\n## `heat_setting`", "Verifies that the heat setting is between 0 and 3.\n<END>", "<BEGIN>\n## `heater_level`", "Verifies that the heater_level is between 0 and heater_segments.\n Can only be called ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _auto_connect API. 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 _auto_connect API. 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...
Attempts to connect to the roaster every quarter of a second.
"Attempts to connect to the roaster every quarter of a second."
61
false
Roastero/freshroastsr700
_auto_connect
28,168
LDU_FT/leonidessaguisagjr/unicodeutil/decompose_hangul_syllable
LDU_FT
[ "<BEGIN>\n## `preservesurrogates`", "Function for splitting a string into a list of characters, preserving surrogate pairs.", " In python 2, unicode characters above 0x10000 are stored as surrogate pairs. For example, the Unicode character\n u\"\\U0001e900\" is stored as the surrogate pair u\"\\ud83a\\ud...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decompose_hangul_syllable 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 decompose_hangul_syllable API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Function for taking a Unicode scalar value representing a Hangul syllable and decomposing it into a tuple representing the scalar values of the decomposed (canonical decomposition) Jamo. If the Unicode scalar value passed in is not in the range of Hangul syllable values (as defined in UnicodeData.txt), a Value...
"Function for taking a Unicode scalar value representing a Hangul syllable and decomposing it into a tuple\n representing the scalar values of the decomposed (canonical decomposition) Jamo. If the Unicode scalar value\n passed in is not in the range of Hangul syllable values (as defined in UnicodeData.txt), a Va...
86
false
leonidessaguisagjr/unicodeutil
decompose_hangul_syllable
28,169
LDU_FT/pudo-attic/scrapekit/queue
LDU_FT
[ "<BEGIN>\n## `log_path`", "Determine the file name for the JSON log.\n<END>", "<BEGIN>\n## `make_logger`", "Create two log handlers, one to output info-level ouput to the\n console, the other to store all logging in a JSON file which will\n later be used to generate reports.\n<END>", "<BEGIN>\n## `_ge...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the queue API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the queue API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Schedule a task for execution. The task call (and its arguments) will be placed on the queue and processed asynchronously.
"Schedule a task for execution. The task call (and its\n arguments) will be placed on the queue and processed\n asynchronously."
33
false
pudo-attic/scrapekit
queue
28,170
LDU_FT/hugapi/hug/get
LDU_FT
[ "<BEGIN>\n## `arguments`", "Returns the name of all arguments a function takes\n<END>", "<BEGIN>\n## `generate_accepted_kwargs`", "Dynamically creates a function that when called with dictionary of arguments will produce a kwarg that's\n compatible with the supplied function\n<END>", "<BEGIN>\n## `aut...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Get data for given store key. Raise hug.exceptions.StoreKeyNotFound if key does not exist.
"Get data for given store key. Raise hug.exceptions.StoreKeyNotFound if key does not exist."
259
false
hugapi/hug
get
28,171
LDU_FT/AirtestProject/Poco/wait_for_any
LDU_FT
[ "<BEGIN>\n## `jsonrpc_map`", "Map of json-rpc available calls.", " :return str:\n<END>", "<BEGIN>\n## `command`", "通过hunter调用gm指令,可调用hunter指令库中定义的所有指令,也可以调用text类型的gm指令\n gm指令相关功能请参考safaia GM指令扩展模块", " :param cmd: 指令\n :param type: 语言,默认text\n :return: None\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_any API. 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 wait_for_any API. 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...
Wait until any of given UI proxies show up before timeout and return the first appeared UI proxy. All UI proxies will be polled periodically. See options :py:class:`poll_interval <poco.pocofw.Poco>` in ``Poco``'s initialization for more details. Args: objects (Iterable<:py:class:`UI...
"Wait until any of given UI proxies show up before timeout and return the first appeared UI proxy.\n All UI proxies will be polled periodically. See options :py:class:`poll_interval <poco.pocofw.Poco>` in\n ``Poco``'s initialization for more details.\n\n Args:\n objects (Iterable<:py:cla...
191
false
AirtestProject/Poco
wait_for_any
28,172