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/jic-dtool/dtool-info/fetch
LDU_FT
[ "<BEGIN>\n## `diff`", "Report the difference between two datasets.", " 1. Checks that the identifiers are identicial\n 2. Checks that the sizes are identical\n 3. Checks that the hashes are identical, if the '--full' option is used", " If a differences is detected in step 1, steps 2 and 3 will not...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch API. 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 fetch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Return abspath to file with item content. Fetches the file from remote storage if required.
"Return abspath to file with item content.\n\n Fetches the file from remote storage if required."
25
false
jic-dtool/dtool-info
fetch
3,973
LDU_FT/CameronLonsdale/lantern/remove
LDU_FT
[ "<BEGIN>\n## `frequency_to_probability`", "Transform a ``frequency_map`` into a map of probability using the sum of all frequencies as the total.", " Example:\n >>> frequency_to_probability({'a': 2, 'b': 2})\n {'a': 0.5, 'b': 0.5}", " Args:\n frequency_map (dict): The dictionary to ...
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 ``exclude`` symbols from ``text``. Example: >>> remove("example text", string.whitespace) 'exampletext' Args: text (str): The text to modify exclude (iterable): The symbols to exclude Returns: ``text`` with ``exclude`` symbols removed
"Remove ``exclude`` symbols from ``text``.\n\n Example:\n >>> remove(\"example text\", string.whitespace)\n 'exampletext'\n\n Args:\n text (str): The text to modify\n exclude (iterable): The symbols to exclude\n\n Returns:\n ``text`` with ``exclude`` symbols removed"
131
false
CameronLonsdale/lantern
remove
3,974
LDU_FT/BlendedSiteGenerator/Blended/view
LDU_FT
[ "<BEGIN>\n## `import_wp`", "Imports A WordPress export and converts it to a Blended site\n<END>", "<BEGIN>\n## `import_blogger`", "Imports A Blogger export and converts it to a Blended site\n<END>", "<BEGIN>\n## `convert_text`", "Convert the post/page content using the converters\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the view API. 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 view API. 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...
Opens the built index.html file in a web browser
"Opens the built index.html file in a web browser"
24
false
BlendedSiteGenerator/Blended
view
3,975
LDU_FT/cdgriffith/Reusables/popd
LDU_FT
[ "<BEGIN>\n## `datetime_format`", "Replaces format style phrases (listed in the dt_exps dictionary)\n with this datetime instance's information.", " .. code :: python", " reusables.datetime_format(\"Hey, it's {month-full} already!\")\n \"Hey, it's March already!\"", " :param desired_fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the popd API. 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 popd API. 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...
Go back to where you once were. :return: saved directory stack
"Go back to where you once were.\n\n :return: saved directory stack"
320
false
cdgriffith/Reusables
popd
3,976
LDU_FT/zsethna/OLGA/compute_Pi_J
LDU_FT
[ "<BEGIN>\n## `nt2aa`", "Translate a nucleotide sequence into an amino acid sequence.", " Parameters\n ----------\n ntseq : str\n Nucleotide sequence composed of A, C, G, or T (uppercase or lowercase)", " Returns\n -------\n aaseq : str\n Amino acid sequence", " Example\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_Pi_J API. 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 compute_Pi_J API. 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...
Compute Pi_J. This function returns the Pi array from the model factors of the J genomic contributions, P(delJ|J). This corresponds to J(D)^{x_4}. For clarity in parsing the algorithm implementation, we include which instance attributes are used in the method as 'paramete...
"Compute Pi_J.\n \n This function returns the Pi array from the model factors of the J genomic \n contributions, P(delJ|J). This corresponds to J(D)^{x_4}.\n \n For clarity in parsing the algorithm implementation, we include which \n instance attributes are used in the method as 'p...
287
false
zsethna/OLGA
compute_Pi_J
3,977
LDU_FT/joshua-stone/DerPyBooru/key
LDU_FT
[ "<BEGIN>\n## `key`", "Takes a user's API key string which applies content settings. API keys can\n be found at <https://derpibooru.org/users/edit>.\n<END>", "<BEGIN>\n## `query`", "Takes one or more strings for searching by tag and/or metadata.\n<END>", "<BEGIN>\n## `sort_by`", "Determines how to sort ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the key API. 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 key API. 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...
Takes a user's API key string which applies content settings. API keys can be found at <https://derpibooru.org/users/edit>.
"Takes a user's API key string which applies content settings. API keys can\n be found at <https://derpibooru.org/users/edit>."
19
false
joshua-stone/DerPyBooru
key
3,978
LDU_FT/vburenin/xjpath/path_lookup
LDU_FT
[ "<BEGIN>\n## `split`", "Separates a string on a character, taking into account escapes.", " :param str inp_str: string to split.\n :param str sep_char: separator character.\n :param int maxsplit: maximum number of times to split from left.\n :param str escape_char: escape character.\n :rtype: __g...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the path_lookup API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the path_lookup API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Looks up a xj path in the data_obj. :param dict|list data_obj: An object to look into. :param str xj_path: A path to extract data from. :param bool create_dict_path: Create an element if type is specified. :return: A tuple where 0 value is an extracted value and a second field that tells i...
"Looks up a xj path in the data_obj.\n\n :param dict|list data_obj: An object to look into.\n :param str xj_path: A path to extract data from.\n :param bool create_dict_path: Create an element if type is specified.\n :return: A tuple where 0 value is an extracted value and a second\n field that ...
27
false
vburenin/xjpath
path_lookup
3,979
LDU_FT/ORCID/python-orcid/get_token_from_authorization_code
LDU_FT
[ "<BEGIN>\n## `get_login_url`", "Return a URL for a user to login/register with ORCID.", " Parameters\n ----------\n :param scope: string or iterable of strings\n The scope(s) of the authorization request.\n For example '/authenticate'\n :param redirect_uri: stri...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_token_from_authorization_code API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_token_from_authorization_code API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
Like `get_token`, but using an OAuth 2 authorization code. Use this method if you run a webserver that serves as an endpoint for the redirect URI. The webserver can retrieve the authorization code from the URL that is requested by ORCID. Parameters ---------- :param red...
"Like `get_token`, but using an OAuth 2 authorization code.\n\n Use this method if you run a webserver that serves as an endpoint for\n the redirect URI. The webserver can retrieve the authorization code\n from the URL that is requested by ORCID.\n\n Parameters\n ----------\n :...
54
false
ORCID/python-orcid
get_token_from_authorization_code
3,980
LDU_FT/ClericPy/torequests/get_results_generator
LDU_FT
[ "<BEGIN>\n## `init_original_response`", "Get the original response for comparing, confirm ``is_cookie_necessary``\n<END>", "<BEGIN>\n## `init_original_response`", "Get the original response for comparing, confirm is_cookie_necessary\n<END>", "<BEGIN>\n## `sort_url_qsl`", "Do nothing but sort the params of...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_results_generator API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_results_generator API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Return as a generator of tasks order by completed sequence.
"Return as a generator of tasks order by completed sequence."
244
false
ClericPy/torequests
get_results_generator
3,981
LDU_FT/mattjj/pyslds/expected_diag_regression_log_prob
LDU_FT
[ "<BEGIN>\n## `generate_states`", "Jointly sample the discrete and continuous states\n<END>", "<BEGIN>\n## `_set_gaussian_expected_stats`", "Both meanfield and VBEM require expected statistics of the continuous latent\n states, x. This is a helper function to take E[x_t], E[x_t x_t^T] and E[x_{t+1}, x_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expected_diag_regression_log_prob API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expected_diag_regression_log_prob API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
Expected log likelihood of p(y | x) where y_{n,d} ~ N(a_d^\trans x_n, sigma_d^2) and expectation is wrt q(y,x). We only need expected sufficient statistics E[yy.T], E[yx.T], E[xx.T], and n, where n is the number of observations. :param A: regression matrix :param sigma: diagonal ob...
"Expected log likelihood of p(y | x) where\n\n y_{n,d} ~ N(a_d^\\trans x_n, sigma_d^2)\n\n and expectation is wrt q(y,x). We only need expected\n sufficient statistics E[yy.T], E[yx.T], E[xx.T], and n,\n where n is the number of observations.\n\n :param A: regression matrix\n :param sigma: ...
29
false
mattjj/pyslds
expected_diag_regression_log_prob
3,982
LDU_FT/IdentityPython/SATOSA/satosa_logging
LDU_FT
[ "<BEGIN>\n## `handle_authn_response`", "See super class method satosa.frontends.base.FrontendModule#handle_authn_response\n :type context: satosa.context.Context\n :type internal_response: satosa.internal.InternalData\n :rtype satosa.response.Response\n<END>", "<BEGIN>\n## `handle_authn_req...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the satosa_logging API. 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 satosa_logging API. 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...
Adds a session ID to the message. :type logger: logging :type level: int :type message: str :type state: satosa.state.State :param logger: Logger to use :param level: Logger level (ex: logging.DEBUG/logging.WARN/...) :param message: Message :param state: The current state :param kw...
"Adds a session ID to the message.\n\n :type logger: logging\n :type level: int\n :type message: str\n :type state: satosa.state.State\n\n :param logger: Logger to use\n :param level: Logger level (ex: logging.DEBUG/logging.WARN/...)\n :param message: Message\n :param state: The current state\n ...
435
false
IdentityPython/SATOSA
satosa_logging
3,983
LDU_FT/praw-dev/prawtools/top_submitters
LDU_FT
[ "<BEGIN>\n## `main`", "Provide the entry point to the subreddit_stats command.\n<END>", "<BEGIN>\n## `basic_stats`", "Return a markdown representation of simple statistics.\n<END>", "<BEGIN>\n## `fetch_recent_submissions`", "Fetch recent submissions in subreddit with boundaries.", " Does not incl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the top_submitters API. 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 top_submitters API. 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...
Return a markdown representation of the top submitters.
"Return a markdown representation of the top submitters."
48
false
praw-dev/prawtools
top_submitters
3,984
LDU_FT/chaoss/grimoirelab-cereslib/enrich
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 enrich API. 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 enrich API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
This class splits those commits where column1 and column2 values are different :param column1: column to compare to column2 :param column2: column to compare to column1 :type column1: string :type column2: string :returns: self.commits with duplicated rows where the val...
"This class splits those commits where column1 and column2\n values are different\n\n :param column1: column to compare to column2\n :param column2: column to compare to column1\n :type column1: string\n :type column2: string\n\n :returns: self.commits with duplicated rows wher...
107
false
chaoss/grimoirelab-cereslib
enrich
3,985
LDU_FT/luckydonald/pytgbot/send
LDU_FT
[ "<BEGIN>\n## `to_array`", "Serializes this StickerSet to a dictionary.", " :return: dictionary representation of this object.\n :rtype: dict\n<END>", "<BEGIN>\n## `from_array`", "Deserialize a new StickerSet from a given dictionary.", " :return: new StickerSet instance.\n :rtyp...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Send the message via pytgbot. :param sender: The bot instance to send with. :type sender: pytgbot.bot.Bot :rtype: PytgbotApiMessage
"Send the message via pytgbot.\n\n :param sender: The bot instance to send with.\n :type sender: pytgbot.bot.Bot\n\n :rtype: PytgbotApiMessage"
1,048
true
luckydonald/pytgbot
send
3,986
LDU_FT/HazyResearch/metal/transform
LDU_FT
[ "<BEGIN>\n## `plot_probabilities_histogram`", "Plot a histogram from a numpy array of probabilities", " Args:\n Y_p: An [n] or [n, 1] np.ndarray of probabilities (floats in [0,1])\n<END>", "<BEGIN>\n## `plot_predictions_histogram`", "Plot a histogram comparing int predictions vs true labels by cla...
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...
Converts lists of tokens into a Tensor of embedding indices. Args: sents: A list of lists of tokens (representing sentences) NOTE: These sentences should already be marked using the mark_entities() helper. Returns: X: A Tensor of shape (num_items,...
"Converts lists of tokens into a Tensor of embedding indices.\n\n Args:\n sents: A list of lists of tokens (representing sentences)\n NOTE: These sentences should already be marked using the\n mark_entities() helper.\n Returns:\n X: A Tensor of shape (nu...
326
false
HazyResearch/metal
transform
3,987
LDU_FT/riggsd/davies/pockettopo2compass
LDU_FT
[ "<BEGIN>\n## `lint`", "Run verbose PyLint on source. Optionally specify fmt=html for HTML output.\n<END>", "<BEGIN>\n## `azm`", "Corrected azimuth, taking into account backsight, declination, and compass corrections.\n<END>", "<BEGIN>\n## `inc`", "Corrected inclination, taking into account backsight and c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pockettopo2compass 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 pockettopo2compass 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...
Main function which converts a PocketTopo .TXT file to a Compass .DAT file
"Main function which converts a PocketTopo .TXT file to a Compass .DAT file"
60
false
riggsd/davies
pockettopo2compass
3,988
LDU_FT/facebook/watchman/synthesize
LDU_FT
[ "<BEGIN>\n## `_int_size`", "Return the smallest size int that can store the value\n<END>", "<BEGIN>\n## `loads`", "Deserialize a BSER-encoded blob.", " @param buf: The buffer to deserialize.\n @type buf: bytes", " @param mutable: Whether to return mutable results.\n @type mutable: bool", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the synthesize API. 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 synthesize API. 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...
Synthesize a capability enabled version response This is a very limited emulation for relatively recent feature sets
"Synthesize a capability enabled version response\n This is a very limited emulation for relatively recent feature sets"
93
false
facebook/watchman
synthesize
3,989
LDU_FT/cmcqueen/cobs-python/encode
LDU_FT
[ "<BEGIN>\n## `encode`", "Encode a string using Consistent Overhead Byte Stuffing/Reduced (COBS/R).", " Input is any byte string. Output is also a byte string.", " Encoding guarantees no zero bytes in the output. The output\n string may be expanded slightly, by a predictable amount.", " An empty ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode API. 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 encode API. 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 ...
Encode a string using Consistent Overhead Byte Stuffing/Reduced (COBS/R). Input is any byte string. Output is also a byte string. Encoding guarantees no zero bytes in the output. The output string may be expanded slightly, by a predictable amount. An empty string is encoded to '\\x01
"Encode a string using Consistent Overhead Byte Stuffing/Reduced (COBS/R).\n \n Input is any byte string. Output is also a byte string.\n \n Encoding guarantees no zero bytes in the output. The output\n string may be expanded slightly, by a predictable amount.\n \n An empty string is encoded to '\\...
28
false
cmcqueen/cobs-python
encode
3,990
LDU_FT/pycontribs/python-crowd/get_memberships
LDU_FT
[ "<BEGIN>\n## `_get`", "Wrapper around Requests for GET requests", " Returns:\n Response:\n A Requests Response object\n<END>", "<BEGIN>\n## `_get_xml`", "Wrapper around Requests for GET XML requests", " Returns:\n Response:\n A Requests Res...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_memberships API. 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_memberships API. 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...
Fetches all group memberships. Returns: dict: key: group name value: (array of users, array of groups)
"Fetches all group memberships.\n\n Returns:\n dict:\n key: group name\n value: (array of users, array of groups)"
102
false
pycontribs/python-crowd
get_memberships
3,991
LDU_FT/pikepdf/pikepdf/has_text
LDU_FT
[ "<BEGIN>\n## `encode_pdf_date`", "Encode Python datetime object as PDF date string", " From Adobe pdfmark manual:\n (D:YYYYMMDDHHmmSSOHH'mm')\n D: is an optional prefix. YYYY is the year. All fields after the year are\n optional. MM is the month (01-12), DD is the day (01-31), HH is the\n hour (0...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_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 has_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...
Check if this page print text Search the content stream for any of the four text showing operators. We ignore text positioning operators because some editors might generate maintain these even if text is deleted etc. This cannot detect raster text (text in a bitmap), text rendered as ...
"Check if this page print text\n\n Search the content stream for any of the four text showing operators.\n We ignore text positioning operators because some editors might\n generate maintain these even if text is deleted etc.\n\n This cannot detect raster text (text in a bitmap), text render...
104
false
pikepdf/pikepdf
has_text
3,992
LDU_FT/materialsproject/pymatgen/get_displaced_structures
LDU_FT
[ "<BEGIN>\n## `ion_or_solid_comp_object`", "Returns either an ion object or composition object given\n a formula.", " Args:\n formula: String formula. Eg. of ion: NaOH(aq), Na[+];\n Eg. of solid: Fe2O3(s), Fe(s), Na2O", " Returns:\n Composition/Ion object\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_displaced_structures API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_displaced_structures API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Generate a set of symmetrically inequivalent displaced structures for phonon calculations. Args: pmg_structure (Structure): A pymatgen structure object. atom_disp (float): Atomic displacement. Default is 0.01 $\\AA$. supercell_matrix (3x3 array): Scaling matrix for supercell. ya...
"Generate a set of symmetrically inequivalent displaced structures for\n phonon calculations.\n\n Args:\n pmg_structure (Structure): A pymatgen structure object.\n atom_disp (float): Atomic displacement. Default is 0.01 $\\\\AA$.\n supercell_matrix (3x3 array): Scaling matrix for supercell.\n...
6,523
true
materialsproject/pymatgen
get_displaced_structures
3,993
LDU_FT/dmwm/DBS/prepareBlockMigrationList
LDU_FT
[ "<BEGIN>\n## `inputChecks`", "This is a function to check all the input for GET APIs.\n<END>", "<BEGIN>\n## `validateStringInput`", "To check if a string has the required format. This is only used for POST APIs.\n<END>", "<BEGIN>\n## `execute`", "Lists all primary datasets if pattern is not provided.\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepareBlockMigrationList 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 prepareBlockMigrationList API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Prepare the ordered lists of blocks based on input BLOCK 1. see if block already exists at dst (no need to migrate), raise "ALREADY EXISTS" 2. see if block exists at src & make sure the block's open_for_writing=0 3. see if block has parents 4. see if parent...
"Prepare the ordered lists of blocks based on input BLOCK\n 1. see if block already exists at dst (no need to migrate),\n raise \"ALREADY EXISTS\"\n 2. see if block exists at src & make sure the block's open_for_writing=0\n 3. see if block has parents\n 4. see i...
352
false
dmwm/DBS
prepareBlockMigrationList
3,994
LDU_FT/oauthlib/oauthlib/validate_access_token_request
LDU_FT
[ "<BEGIN>\n## `signature_base_string`", "**Construct the signature base string.**\n Per `section 3.4.1.1`_ of the spec.", " For example, the HTTP request::", " POST /request?b5=%3D%253D&a3=a&c%40=&a2=r%20b HTTP/1.1\n Host: example.com\n Content-Type: application/x-www-form-urlencoded...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_access_token_request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_access_token_request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Validate an access token request. :param request: OAuthlib request. :type request: oauthlib.common.Request :raises: OAuth1Error if the request is invalid. :returns: A tuple of 2 elements. 1. The validation result (True or False). 2. The request object...
"Validate an access token request.\n\n :param request: OAuthlib request.\n :type request: oauthlib.common.Request\n :raises: OAuth1Error if the request is invalid.\n :returns: A tuple of 2 elements.\n 1. The validation result (True or False).\n 2. The reques...
651
false
oauthlib/oauthlib
validate_access_token_request
3,995
LDU_FT/artefactual-labs/mets-reader-writer/schematron_validate
LDU_FT
[ "<BEGIN>\n## `register_id`", "Register a manually assigned id as used, to avoid collisions.\n<END>", "<BEGIN>\n## `parse`", "Create a new AMDSec by parsing root.", " :param root: Element or ElementTree to be parsed into an object.\n<END>", "<BEGIN>\n## `serialize`", "Serialize this amdSec and all...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the schematron_validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the schematron_validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Validate a METS file using a schematron schema. Return a boolean indicating validity and a report as an ``lxml.ElementTree`` instance.
"Validate a METS file using a schematron schema. Return a boolean\n indicating validity and a report as an ``lxml.ElementTree`` instance."
179
false
artefactual-labs/mets-reader-writer
schematron_validate
3,996
LDU_FT/rasbt/biopandas/amino3to1
LDU_FT
[ "<BEGIN>\n## `docstring_to_markdown`", "Convert a Python object's docstring to markdown", " Parameters\n ----------\n docstring : str\n The docstring body.", " Returns\n ----------\n clean_lst : list\n The markdown formatted docstring as lines (str) in a Python list.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the amino3to1 API. 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 amino3to1 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Creates 1-letter amino acid codes from DataFrame Non-canonical amino-acids are converted as follows: ASH (protonated ASP) => D CYX (disulfide-bonded CYS) => C GLH (protonated GLU) => E HID/HIE/HIP (different protonation states of HIS) = H HYP (hydroxyproline) => P ...
"Creates 1-letter amino acid codes from DataFrame\n\n Non-canonical amino-acids are converted as follows:\n ASH (protonated ASP) => D\n CYX (disulfide-bonded CYS) => C\n GLH (protonated GLU) => E\n HID/HIE/HIP (different protonation states of HIS) = H\n HYP (hydroxyproline) => ...
110
false
rasbt/biopandas
amino3to1
3,997
LDU_FT/jlevy/strif/expand_variables
LDU_FT
[ "<BEGIN>\n## `new_timestamped_uid`", "A unique id that begins with an ISO timestamp followed by fractions of seconds and bits of\n randomness. The advantage of this is it sorts nicely by time, while still being unique.\n Example: 20150912T084555Z-378465-43vtwbx\n<END>", "<BEGIN>\n## `abbreviate_str`", "Abbr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expand_variables API. 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 expand_variables API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Expand a template string like "blah blah $FOO blah" using given value mapping.
"Expand a template string like \"blah blah $FOO blah\" using given value mapping."
38
false
jlevy/strif
expand_variables
3,998
LDU_FT/mobolic/facebook-sdk/put_object
LDU_FT
[ "<BEGIN>\n## `get_user_from_cookie`", "Parses the cookie set by the official Facebook JavaScript SDK.", " cookies should be a dictionary-like object mapping cookie names to\n cookie values.", " If the user is logged in via Facebook, we return a dictionary with\n the keys \"uid\" and \"access_token...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_object API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_object API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Writes the given object to the graph, connected to the given parent. For example, graph.put_object("me", "feed", message="Hello, world") writes "Hello, world" to the active user's wall. Likewise, this will comment on the first post of the active user's feed: feed = gr...
"Writes the given object to the graph, connected to the given parent.\n\n For example,\n\n graph.put_object(\"me\", \"feed\", message=\"Hello, world\")\n\n writes \"Hello, world\" to the active user's wall. Likewise, this\n will comment on the first post of the active user's feed:\n\n ...
56
false
mobolic/facebook-sdk
put_object
3,999
LDU_FT/flask-restful/flask-restful/add_argument
LDU_FT
[ "<BEGIN>\n## `unpack`", "Return a three tuple of data, code, and headers\n<END>", "<BEGIN>\n## `output_xml`", "Makes a Flask response with a XML encoded body\n<END>", "<BEGIN>\n## `output_json`", "Makes a Flask response with a JSON encoded body\n<END>", "<BEGIN>\n## `abort`", "Raise a HTTPException fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_argument API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_argument API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Adds an argument to be parsed. Accepts either a single instance of Argument or arguments to be passed into :class:`Argument`'s constructor. See :class:`Argument`'s constructor for documentation on the available options.
"Adds an argument to be parsed.\n\n Accepts either a single instance of Argument or arguments to be passed\n into :class:`Argument`'s constructor.\n\n See :class:`Argument`'s constructor for documentation on the\n available options."
123
false
flask-restful/flask-restful
add_argument
4,000
LDU_FT/yuce/pyswip/getString
LDU_FT
[ "<BEGIN>\n## `getAtomChars`", "If t is an atom, return it as a string, otherwise raise InvalidTypeError.\n<END>", "<BEGIN>\n## `getBool`", "If t is of type bool, return it, otherwise raise InvalidTypeError.\n<END>", "<BEGIN>\n## `getLong`", "If t is of type long, return it, otherwise raise InvalidTypeErro...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getString API. 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 getString API. 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...
If t is of type string, return it, otherwise raise InvalidTypeError.
"If t is of type string, return it, otherwise raise InvalidTypeError."
64
false
yuce/pyswip
getString
4,001
LDU_FT/mkaz/termgraph/stacked_graph
LDU_FT
[ "<BEGIN>\n## `find_max_label_length`", "Return the maximum length for the labels.\n<END>", "<BEGIN>\n## `horiz_rows`", "Prepare the horizontal graph.\n Each row is printed through the print_row function.\n<END>", "<BEGIN>\n## `print_row`", "A method to print a row for a horizontal graphs.", " i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stacked_graph API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stacked_graph API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Prepare the horizontal stacked graph. Each row is printed through the print_row function.
"Prepare the horizontal stacked graph.\n Each row is printed through the print_row function."
21
false
mkaz/termgraph
stacked_graph
4,002
LDU_FT/jim-easterbrook/pywws/set_translation
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 set_translation API. 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 set_translation API. 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...
Set the translation used by (some) pywws modules. This sets the translation object ``pywws.localisation.translation`` to use a particular language. The ``lang`` parameter can be any string of the form ``en``, ``en_GB`` or ``en_GB.UTF-8``. Anything after a ``.`` character is ignored. In the case of...
"Set the translation used by (some) pywws modules.\n\n This sets the translation object ``pywws.localisation.translation``\n to use a particular language.\n\n The ``lang`` parameter can be any string of the form ``en``,\n ``en_GB`` or ``en_GB.UTF-8``. Anything after a ``.`` character is\n ignored. In the...
210
false
jim-easterbrook/pywws
set_translation
4,003
LDU_FT/eallik/spinoff/lookup_cell
LDU_FT
[ "<BEGIN>\n## `deferToGreenletPool`", "Call function using a greenlet from the given pool and return the result as a Deferred\n<END>", "<BEGIN>\n## `deferToGreenlet`", "Call function using a greenlet and return the result as a Deferred\n<END>", "<BEGIN>\n## `callMultipleInGreenlet`", "Call a list of functi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lookup_cell API. 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 lookup_cell API. 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...
Looks up a local actor by its location relative to this actor.
"Looks up a local actor by its location relative to this actor."
60
false
eallik/spinoff
lookup_cell
4,004
LDU_FT/AndrewAnnex/SpiceyPy/removi
LDU_FT
[ "<BEGIN>\n## `_distribution_info`", "Creates the distribution name and the expected extension for the\n CSPICE package and returns it.", " :return (distribution, extension) tuple where distribution is the best\n guess from the strings available within the platform_urls list\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the removi API. 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 removi API. 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 item from an integer set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/removi_c.html :param item: Item to be removed. :type item: int :param inset: Set to be updated. :type inset: spiceypy.utils.support_types.SpiceCell
"Remove an item from an integer set.\n\n http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/removi_c.html\n\n :param item: Item to be removed.\n :type item: int\n :param inset: Set to be updated.\n :type inset: spiceypy.utils.support_types.SpiceCell"
2,164
true
AndrewAnnex/SpiceyPy
removi
4,005
LDU_FT/apache/spark/createStream
LDU_FT
[ "<BEGIN>\n## `_parse_datatype_string`", "Parses the given data type string to a :class:`DataType`. The data type string format equals\n to :class:`DataType.simpleString`, except that top level struct type can omit\n the ``struct<>`` and atomic types use ``typeName()`` as their format, e.g. use ``byte`` inst...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createStream API. 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 createStream API. 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...
Create an input stream that pulls messages from a Kinesis stream. This uses the Kinesis Client Library (KCL) to pull messages from Kinesis. .. note:: The given AWS credentials will get saved in DStream checkpoints if checkpointing is enabled. Make sure that your checkpoint directory is secu...
"Create an input stream that pulls messages from a Kinesis stream. This uses the\n Kinesis Client Library (KCL) to pull messages from Kinesis.\n\n .. note:: The given AWS credentials will get saved in DStream checkpoints if checkpointing\n is enabled. Make sure that your checkpoint directory is...
2,386
true
apache/spark
createStream
4,006
LDU_FT/gopalkoduri/intonation/parametrize_peaks
LDU_FT
[ "<BEGIN>\n## `compute_hist`", "Computes histogram from the pitch data in Pitch object (pitch), and creates\n a Data object (pypeaks).", " :param bins: Refers to number of bins in the histogram, determines the granularity.\n If it is not set, the number of bins which gives the highest granul...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parametrize_peaks API. 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 parametrize_peaks API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Computes and stores the intonation profile of an audio recording. :param intervals: these will be the reference set of intervals to which peak positions correspond to. For each interval, the properties of corresponding peak, if exists, will be computed and stored as intonation profile. ...
"Computes and stores the intonation profile of an audio recording.\n\n :param intervals: these will be the reference set of intervals to which peak positions\n correspond to. For each interval, the properties of corresponding peak, if exists,\n will be computed and stored as intonation profile.\n...
24
false
gopalkoduri/intonation
parametrize_peaks
4,007
LDU_FT/nephila/django-knocker/notify_items
LDU_FT
[ "<BEGIN>\n## `notify_items`", "Signal endpoint that actually sends knocks whenever an instance is created / saved\n<END>", "<BEGIN>\n## `active_knocks`", "Checks whether knocks are enabled for the model given as argument", " :param obj: model instance\n :return True if knocks are active\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notify_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notify_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 extr...
Signal endpoint that actually sends knocks whenever an instance is created / saved
"Signal endpoint that actually sends knocks whenever an instance is created / saved"
16
false
nephila/django-knocker
notify_items
4,008
LDU_FT/gfairchild/yelpapi/_get_clean_parameters
LDU_FT
[ "<BEGIN>\n## `autocomplete_query`", "Query the Yelp Autocomplete API.", " documentation: https://www.yelp.com/developers/documentation/v3/autocomplete", " required parameters:\n * text - search text\n<END>", "<BEGIN>\n## `business_query`", "Query the Yelp Business API....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_clean_parameters 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_clean_parameters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Clean the parameters by filtering out any parameters that have a None value.
"Clean the parameters by filtering out any parameters that have a None value."
41
false
gfairchild/yelpapi
_get_clean_parameters
4,009
LDU_FT/project-rig/rig/finalise_same_chip_constraints
LDU_FT
[ "<BEGIN>\n## `minimise`", "Remove from the routing table any entries which could be replaced by\n default routing.", " Parameters\n ----------\n routing_table : [:py:class:`~rig.routing_table.RoutingTableEntry`, ...]\n Routing table from which to remove entries which could be handled by\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finalise_same_chip_constraints API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finalise_same_chip_constraints API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Given a set of placements containing the supplied :py:class:`MergedVertex`, remove the merged vertices replacing them with their constituent vertices (changing the placements inplace).
"Given a set of placements containing the supplied\n :py:class:`MergedVertex`, remove the merged vertices replacing them with\n their constituent vertices (changing the placements inplace)."
983
false
project-rig/rig
finalise_same_chip_constraints
4,010
LDU_FT/scour-project/scour/intToID
LDU_FT
[ "<BEGIN>\n## `lex`", "Yield (token_type, str_data) tokens.", " The last token will be (EOF, None) where EOF is the singleton object\n defined in this module.\n<END>", "<BEGIN>\n## `parse`", "Parse a string of SVG transform=\"\" data.\n<END>", "<BEGIN>\n## `findReferencedElements`", "Return...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the intToID API. 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 intToID API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Returns the ID name for the given ID number, spreadsheet-style, i.e. from a to z, then from aa to az, ba to bz, etc., until zz.
"Returns the ID name for the given ID number, spreadsheet-style, i.e. from a to z,\n then from aa to az, ba to bz, etc., until zz."
103
false
scour-project/scour
intToID
4,011
LDU_FT/EasyPost/pystalk/pause_tube
LDU_FT
[ "<BEGIN>\n## `from_uri`", "Construct a synchronous Beanstalk Client from a URI.", " The URI may be of the form beanstalk://host:port or beanstalkd://host:port", " IPv6 literals must be wrapped in brackets as per RFC 2732.\n<END>", "<BEGIN>\n## `_re_establish_use_watch`", "Call after a close/...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pause_tube API. 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 pause_tube API. 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...
Pause a tube for some number of seconds, preventing it from issuing jobs. :param delay: Time to pause for, in seconds :type delay: int There is no way to permanently pause a tube; passing 0 for delay actually un-pauses the tube. .. seealso:: :func:`unpause_tube()`
"Pause a tube for some number of seconds, preventing it from issuing jobs.\n\n :param delay: Time to pause for, in seconds\n :type delay: int\n\n There is no way to permanently pause a tube; passing 0 for delay actually un-pauses the tube.\n\n .. seealso::\n\n :func:`unpause_tube()...
85
false
EasyPost/pystalk
pause_tube
4,012
LDU_FT/django-parler/django-parler-rest/_pop_translated_data
LDU_FT
[ "<BEGIN>\n## `bind`", "Create translation serializer dynamically.", " Takes translatable model class (shared_model) from parent serializer and it\n may create a serializer class on the fly if no custom class was specified.\n<END>", "<BEGIN>\n## `to_representation`", "Serialize translated field...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pop_translated_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pop_translated_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. ...
Separate data of translated fields from other data.
"Separate data of translated fields from other data."
20
false
django-parler/django-parler-rest
_pop_translated_data
4,013
LDU_FT/kipe/enocean/combine_hex
LDU_FT
[ "<BEGIN>\n## `_get_raw`", "Get raw data as integer, based on offset and size\n<END>", "<BEGIN>\n## `_get_enum`", "Get enum value, based on the data in XML\n<END>", "<BEGIN>\n## `_get_boolean`", "Get boolean value, based on the data in XML\n<END>", "<BEGIN>\n## `_set_value`", "set given numeric value t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the combine_hex API. 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 combine_hex API. 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...
Combine list of integer values to one big integer
"Combine list of integer values to one big integer"
38
false
kipe/enocean
combine_hex
4,014
LDU_FT/pushyzheng/flask-rabbitmq/exchange_bind_to_queue
LDU_FT
[ "<BEGIN>\n## `bind_topic_exchange`", "绑定主题交换机和队列\n :param exchange_name: 需要绑定的交换机名\n :param routing_key:\n :param queue_name: 需要绑定的交换机队列名\n :return:\n<END>", "<BEGIN>\n## `declare_queue`", "声明一个队列\n :param queue_name: 队列名\n :param passive:\n :param durable:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exchange_bind_to_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....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exchange_bind_to_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....
Declare exchange and bind queue to exchange :param type: The type of exchange :param exchange_name: The name of exchange :param routing_key: The key of exchange bind to queue :param queue: queue name
"Declare exchange and bind queue to exchange\n :param type: The type of exchange\n :param exchange_name: The name of exchange\n :param routing_key: The key of exchange bind to queue\n :param queue: queue name"
16
false
pushyzheng/flask-rabbitmq
exchange_bind_to_queue
4,015
LDU_FT/etscrivner/nose-perfdump/write
LDU_FT
[ "<BEGIN>\n## `precmd`", "Parse the command on the given line.", " :param line: The raw input line\n :type line: str\n<END>", "<BEGIN>\n## `connect`", "Create a new connection to the SQLite3 database.", " :param dbname: The database name\n :type dbname: str\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Writes the HTML report to the given file.
"Writes the HTML report to the given file."
28
false
etscrivner/nose-perfdump
write
4,016
LDU_FT/FreshXOpenSource/wallaby-frontend-qt/addWriter
LDU_FT
[ "<BEGIN>\n## `_add`", "Private method for adding a descriptor from the event loop.", " It takes care of adding it if new or modifying it if already added\n for another state (read -> read/write for example).\n<END>", "<BEGIN>\n## `addReader`", "Add a FileDescriptor for notification of data av...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addWriter API. 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 addWriter API. 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...
Add a FileDescriptor for notification of data available to write.
"Add a FileDescriptor for notification of data available to write."
34
false
FreshXOpenSource/wallaby-frontend-qt
addWriter
4,017
LDU_FT/genepattern/genepattern-python/_is_url
LDU_FT
[ "<BEGIN>\n## `GCT`", "Create a Dataframe with the contents of the GCT file\n<END>", "<BEGIN>\n## `ODF`", "Create a Dataframe with the contents of the ODF file", " For more information on the ODF format see:\n http://software.broadinstitute.org/cancer/software/genepattern/file-formats-guide", " :o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Used to determine if a given string represents a URL
"Used to determine if a given string represents a URL"
156
false
genepattern/genepattern-python
_is_url
4,018
LDU_FT/transceptor-technology/trender/_compile
LDU_FT
[ "<BEGIN>\n## `_reset_plain`", "Create a BlockText from the captured lines and clear _text.\n<END>", "<BEGIN>\n## `render`", "Render #for loop with given namespace.", " Note: we copy the namespace so the parsed variable is only\n available in nested objects within this #for loop.\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compile API. 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 _compile API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Return the filename from the current line.
"Return the filename from the current line."
21
false
transceptor-technology/trender
_compile
4,019
LDU_FT/jeffh/rpi_courses/course_feature
LDU_FT
[ "<BEGIN>\n## `safeInt`", "Throws an exception if the number starts with a 0 (may be significant).", " If the value cannot be converted to an int, it is returned as is.\n<END>", "<BEGIN>\n## `from_string`", "Creates a new CourseCatalog instance from an string containing xml.\n<END>", "<BEGIN>\n## `cross...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the course_feature API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the course_feature API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Parses all the courses (AKA, the most important part).
"Parses all the courses (AKA, the most important part)."
59
false
jeffh/rpi_courses
course_feature
4,020
LDU_FT/kennedyshead/aioasuswrt/async_connect
LDU_FT
[ "<BEGIN>\n## `async_run_command`", "Run commands through an SSH connection.", " Connect to the SSH server if not currently connected, otherwise\n use the existing connection.\n<END>", "<BEGIN>\n## `async_connect`", "Fetches the client or creates a new one.\n<END>", "<BEGIN>\n## `async_run_co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the async_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 async_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...
Fetches the client or creates a new one.
"Fetches the client or creates a new one."
19
false
kennedyshead/aioasuswrt
async_connect
4,021
LDU_FT/necaris/python3-openid/importSafeElementTree
LDU_FT
[ "<BEGIN>\n## `parseExtensionArgs`", "Set the state of this request to be that expressed in these\n PAPE arguments", " @param args: The PAPE arguments without a namespace", " @rtype: None", " @raises ValueError: When the max_auth_age is not parseable as\n an integer\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the importSafeElementTree 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 importSafeElementTree API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Find a working ElementTree implementation that is not vulnerable to XXE, using `defusedxml`. >>> XXESafeElementTree = importSafeElementTree() @param module_names: The names of modules to try to use as a safe ElementTree. Defaults to C{L{xxe_safe_elementtree_modules}} @returns: An ElementTree ...
"Find a working ElementTree implementation that is not vulnerable\n to XXE, using `defusedxml`.\n\n >>> XXESafeElementTree = importSafeElementTree()\n\n @param module_names: The names of modules to try to use as\n a safe ElementTree. Defaults to C{L{xxe_safe_elementtree_modules}}\n\n @returns: An Ele...
164
false
necaris/python3-openid
importSafeElementTree
4,022
LDU_FT/mozillazg/baidu-pcs-python-sdk/list_download_tasks
LDU_FT
[ "<BEGIN>\n## `upload`", "上传单个文件(<2G).", " | 百度PCS服务目前支持最大2G的单个文件上传。\n | 如需支持超大文件(>2G)的断点续传,请参考下面的“分片文件上传”方法。", " :param remote_path: 网盘中文件的保存路径(包含文件名)。\n 必须以 /apps/ 开头。", " .. warning::\n * 路径长度限制为1000;...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_download_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. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_download_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. T...
查询离线下载任务ID列表及任务信息. :param need_task_info: 是否需要返回任务信息: * 0:不需要 * 1:需要,默认为1 :param start: 查询任务起始位置,默认为0。 :param limit: 设定返回任务数量,默认为10。 :param asc: * 0:降序,默认值 * 1:升序 :param create_...
"查询离线下载任务ID列表及任务信息.\n\n :param need_task_info: 是否需要返回任务信息:\n\n * 0:不需要\n * 1:需要,默认为1\n :param start: 查询任务起始位置,默认为0。\n :param limit: 设定返回任务数量,默认为10。\n :param asc:\n\n * 0:降序,默认值\n * 1:升序\n :...
126
false
mozillazg/baidu-pcs-python-sdk
list_download_tasks
4,023
LDU_FT/uw-it-aca/uw-restclients/_process_json_resp_data
LDU_FT
[ "<BEGIN>\n## `new_regid_custom_field`", "Return a BridgeCustomField object for REGID\n to be used in a POST, PATCH request\n<END>", "<BEGIN>\n## `get_reservations`", "Return a list of reservations matching the passed filter.\n Supported kwargs are listed at\n http://knowledge25.collegenet.com/display...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_json_resp_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_json_resp_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...
process the response and return a list of BridgeUser
"process the response and return a list of BridgeUser"
129
false
uw-it-aca/uw-restclients
_process_json_resp_data
4,024
LDU_FT/kibitzr/kibitzr/_find_form
LDU_FT
[ "<BEGIN>\n## `is_applicable`", "Return whether this promoter is applicable for given conf\n<END>", "<BEGIN>\n## `xpath_selector`", "Returns Xpath match for `selector` within `html`.", " :param selector: XPath string\n :param html: Unicode content\n :param select_all: True to get all matches\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_form API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_form API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Find elements defined in conf['form']. Render all Jinja2 templates from field['value']. Save all field['click'] triggers. If all found, return them as a list of dictionaries. If at least one was not found, return empty list.
"Find elements defined in conf['form'].\n Render all Jinja2 templates from field['value'].\n Save all field['click'] triggers.\n If all found, return them as a list of dictionaries.\n If at least one was not found, return empty list."
53
false
kibitzr/kibitzr
_find_form
4,025
LDU_FT/praekeltfoundation/molo/queryset
LDU_FT
[ "<BEGIN>\n## `generate_slug`", "Returns a new unique slug. Object must provide a SlugField called slug.\n URL friendly slugs are generated using django.template.defaultfilters'\n slugify. Numbers are added to the end of slugs for uniqueness.", " based on implementation in jmbo.utils\n https://github...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the queryset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the queryset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns the filtered queryset based on the value provided in the query string and retrievable via `self.value()`.
"Returns the filtered queryset based on the value\n provided in the query string and retrievable via\n `self.value()`."
101
false
praekeltfoundation/molo
queryset
4,026
LDU_FT/jonbretman/jinja-to-js/_process_extends
LDU_FT
[ "<BEGIN>\n## `option`", "Context manager for temporarily setting a keyword argument and\n then restoring it to whatever it was before.\n<END>", "<BEGIN>\n## `is_method_call`", "Returns True if `node` is a method call for `method_name`. `method_name`\n can be either a string or an iterable of strings.\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_extends API. 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 _process_extends API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Processes an extends block e.g. `{% extends "some/template.jinja" %}`
"Processes an extends block e.g. `{% extends \"some/template.jinja\" %}`"
43
false
jonbretman/jinja-to-js
_process_extends
4,027
LDU_FT/inveniosoftware-contrib/record-recommender/cli
LDU_FT
[ "<BEGIN>\n## `_is_download`", "Check if file ending is considered as download.\n<END>", "<BEGIN>\n## `fetch`", "Fetch PageViews and Downloads from Elasticsearch.\n<END>", "<BEGIN>\n## `_fetch_pageviews`", "Fetch PageViews from Elasticsearch.", " :param time_from: Staring at timestamp.\n :p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API. 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 cli API. 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...
Record-Recommender command line version.
"Record-Recommender command line version."
55
false
inveniosoftware-contrib/record-recommender
cli
4,028
LDU_FT/heikomuller/sco-datastore/create_object
LDU_FT
[ "<BEGIN>\n## `attributes_from_dict`", "Convert a Json representation of a set of attribute instances into a\n dictionary.", " Parameters\n ----------\n document : Json object\n Json serialization of attribute instances", " Returns\n -------\n dict(Attribute)\n Dictionary of ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_object API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_object API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Create an experiment object for the subject and image group. Objects are referenced by their identifier. The reference to a functional data object is optional. Raises ValueError if no valid experiment name is given in property list. Parameters ---------- subject_id : st...
"Create an experiment object for the subject and image group. Objects\n are referenced by their identifier. The reference to a functional data\n object is optional.\n\n Raises ValueError if no valid experiment name is given in property list.\n\n Parameters\n ----------\n subjec...
316
false
heikomuller/sco-datastore
create_object
4,029
LDU_FT/pahaz/sshtunnel/_serve_forever_wrapper
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 _serve_forever_wrapper 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 _serve_forever_wrapper API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Wrapper for the server created for a SSH forward
"Wrapper for the server created for a SSH forward"
96
false
pahaz/sshtunnel
_serve_forever_wrapper
4,030
LDU_FT/syrusakbary/promise/load_many
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 load_many API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_many API. 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...
Loads multiple keys, promising an array of values >>> a, b = await my_loader.load_many([ 'a', 'b' ]) This is equivalent to the more verbose: >>> a, b = await Promise.all([ >>> my_loader.load('a'), >>> my_loader.load('b') >>> ])
"Loads multiple keys, promising an array of values\n\n >>> a, b = await my_loader.load_many([ 'a', 'b' ])\n\n This is equivalent to the more verbose:\n\n >>> a, b = await Promise.all([\n >>> my_loader.load('a'),\n >>> my_loader.load('b')\n >>> ])"
25
false
syrusakbary/promise
load_many
4,031
LDU_FT/ansible/ansible-container/remove_existing_container
LDU_FT
[ "<BEGIN>\n## `to_bytes`", "Make sure that a string is a byte string", " :arg obj: An object to make sure is a byte string. In most cases this\n will be either a text string or a byte string. However, with\n ``nonstring='simplerepr'``, this can be used as a traceback-free\n version of `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_existing_container 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 remove_existing_container API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Remove a container for an existing service. Handy for removing an existing conductor.
"Remove a container for an existing service. Handy for removing an existing conductor."
64
false
ansible/ansible-container
remove_existing_container
4,032
LDU_FT/mandiant/ioc_writer/make_fileitem_peinfo_detectedentrypointsignature_name
LDU_FT
[ "<BEGIN>\n## `get_embedded_yara`", "Extract YARA signatures embedded in Yara/Yara indicatorItem nodes.\n This is done regardless of logic structure in the OpenIOC.\n<END>", "<BEGIN>\n## `get_yara_condition_string`", "get_yara_condition_string", " input\n indicator_node: this is the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_fileitem_peinfo_detectedentrypointsignature_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_fileitem_peinfo_detectedentrypointsignature_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and ...
Create a node for FileItem/PEInfo/DetectedEntryPointSignature/Name :return: A IndicatorItem represented as an Element node
"Create a node for FileItem/PEInfo/DetectedEntryPointSignature/Name\n \n :return: A IndicatorItem represented as an Element node"
320
false
mandiant/ioc_writer
make_fileitem_peinfo_detectedentrypointsignature_name
4,033
LDU_FT/aalireza/SimpleAudioIndexer/_timestamp_extractor_cmu
LDU_FT
[ "<BEGIN>\n## `set_username_ibm`", "Parameters\n ----------\n username_ibm : str", " Raises\n ------\n Exception\n If mode is not `ibm`\n<END>", "<BEGIN>\n## `set_password_ibm`", "Parameters\n ----------\n password_ibm : str", " Raises\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _timestamp_extractor_cmu API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _timestamp_extractor_cmu API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Parameters ---------- str_timestamps_with_sil_conf : [[str, str, str, str]] Of the form [[word, starting_sec, ending_sec, confidence]] Returns ------- timestamps : [[str, float, float]]
"Parameters\n ----------\n str_timestamps_with_sil_conf : [[str, str, str, str]]\n Of the form [[word, starting_sec, ending_sec, confidence]]\n\n Returns\n -------\n timestamps : [[str, float, float]]"
159
false
aalireza/SimpleAudioIndexer
_timestamp_extractor_cmu
4,034
LDU_FT/robotools/fontMath/copyWithoutMathSubObjects
LDU_FT
[ "<BEGIN>\n## `_openTypeOS2WidthClassFormatter`", ">>> _openTypeOS2WidthClassFormatter(-2)\n 1\n >>> _openTypeOS2WidthClassFormatter(0)\n 1\n >>> _openTypeOS2WidthClassFormatter(5.4)\n 5\n >>> _openTypeOS2WidthClassFormatter(9.6)\n 9\n >>> _openTypeOS2WidthClassFormatter(12)\n 9\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copyWithoutMathSubObjects 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 copyWithoutMathSubObjects API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
return a new MathGlyph containing all data except: contours components anchors guidelines this is used mainly for internal glyph math.
"return a new MathGlyph containing all data except:\n contours\n components\n anchors\n guidelines\n\n this is used mainly for internal glyph math."
25
false
robotools/fontMath
copyWithoutMathSubObjects
4,035
LDU_FT/django-fluent/django-fluent-contents/_fetch_cached_output
LDU_FT
[ "<BEGIN>\n## `type_id`", "Shortcut to retrieving the ContentType id of the model.\n<END>", "<BEGIN>\n## `get_output_cache_key`", ".. versionadded:: 0.9\n Return the default cache key which is used to store a rendered item.\n By default, this function generates the cache key using :func:`ge...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fetch_cached_output 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 _fetch_cached_output API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
First try to fetch all items from the cache. The items are 'non-polymorphic', so only point to their base class. If these are found, there is no need to query the derived data from the database.
"First try to fetch all items from the cache.\n The items are 'non-polymorphic', so only point to their base class.\n If these are found, there is no need to query the derived data from the database."
227
false
django-fluent/django-fluent-contents
_fetch_cached_output
4,036
LDU_FT/docker/docker-py/join_swarm
LDU_FT
[ "<BEGIN>\n## `compare_version`", "Compare docker versions", " >>> v1 = '1.9'\n >>> v2 = '1.10'\n >>> compare_version(v1, v2)\n 1\n >>> compare_version(v2, v1)\n -1\n >>> compare_version(v2, v2)\n 0\n<END>", "<BEGIN>\n## `datetime_to_timestamp`", "Convert a UTC datetime to a Unix time...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the join_swarm API. 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 join_swarm API. 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...
Make this Engine join a swarm that has already been created. Args: remote_addrs (:py:class:`list`): Addresses of one or more manager nodes already participating in the Swarm to join. join_token (string): Secret token for joining this Swarm. listen_addr (strin...
"Make this Engine join a swarm that has already been created.\n\n Args:\n remote_addrs (:py:class:`list`): Addresses of one or more manager\n nodes already participating in the Swarm to join.\n join_token (string): Secret token for joining this Swarm.\n listen_addr...
998
false
docker/docker-py
join_swarm
4,037
LDU_FT/GoogleCloudPlatform/appengine-pipelines/fill_datetime
LDU_FT
[ "<BEGIN>\n## `_get_task_target`", "Get the default target for a pipeline task.", " Current version id format is: user_defined_version.minor_version_number\n Current module id is just the module's name. It could be \"default\"", " Returns:\n A complete target name is of format version.module. If module i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fill_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 ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fill_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 ext...
Returns when the slot was filled. Returns: A datetime.datetime. Raises: SlotNotFilledError if the value hasn't been filled yet.
"Returns when the slot was filled.\n\n Returns:\n A datetime.datetime.\n\n Raises:\n SlotNotFilledError if the value hasn't been filled yet."
222
false
GoogleCloudPlatform/appengine-pipelines
fill_datetime
4,038
LDU_FT/relekang/python-semantic-release/current_commit_parser
LDU_FT
[ "<BEGIN>\n## `parse_commit_message`", "Parses a commit message according to the 1.0 version of python-semantic-release. It expects\n a tag of some sort in the commit message and will use the rest of the first line as changelog\n content.", " :param message: A string of a commit message.\n :raises Un...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the current_commit_parser 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 current_commit_parser API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Current commit parser :raises ImproperConfigurationError: if ImportError or AttributeError is raised
"Current commit parser\n\n :raises ImproperConfigurationError: if ImportError or AttributeError is raised"
103
false
relekang/python-semantic-release
current_commit_parser
4,039
LDU_FT/davebridges/mousedb/get_queryset
LDU_FT
[ "<BEGIN>\n## `age`", "Calculates the animals age, relative to the current date (if alive) or the date of death (if not).\n<END>", "<BEGIN>\n## `breeding_male_location_type`", "This attribute defines whether a male's current location is the same as the breeding cage to which it belongs.", " This attri...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_queryset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_queryset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
The queryset is filtered by measurements of animals which are part of that strain.
"The queryset is filtered by measurements of animals which are part of that strain."
128
false
davebridges/mousedb
get_queryset
4,040
LDU_FT/liip/taxi/hash
LDU_FT
[ "<BEGIN>\n## `round_to_quarter`", "Return the duration between `start_time` and `end_time` :class:`datetime.time` objects, rounded to 15 minutes.\n<END>", "<BEGIN>\n## `_timesheets_callback`", "Call a method on all the timesheets, aggregate the return values in a\n list and return it.\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hash API. 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 hash API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Return a value that's used to uniquely identify an entry in a date so we can regroup all entries that share the same hash.
"Return a value that's used to uniquely identify an entry in a date so we can regroup all entries that share the\n same hash."
131
false
liip/taxi
hash
4,041
LDU_FT/jeffknupp/sandman/_single_resource_html_response
LDU_FT
[ "<BEGIN>\n## `endpoint`", "Return the :class:`sandman.model.Model`'s endpoint.", " :rtype: string\n<END>", "<BEGIN>\n## `resource_uri`", "Return the URI at which the resource can be found.", " :rtype: string\n<END>", "<BEGIN>\n## `primary_key`", "Return the name of the table's primary ke...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _single_resource_html_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _single_resource_html_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Return the HTML representation of *resource*. :param resource: :class:`sandman.model.Model` to render :type resource: :class:`sandman.model.Model` :rtype: :class:`flask.Response`
"Return the HTML representation of *resource*.\n\n :param resource: :class:`sandman.model.Model` to render\n :type resource: :class:`sandman.model.Model`\n :rtype: :class:`flask.Response`"
126
false
jeffknupp/sandman
_single_resource_html_response
4,042
LDU_FT/sdispater/cachy/forget
LDU_FT
[ "<BEGIN>\n## `tag_id`", "Get the unique tag identifier for a given tag.", " :param name: The tag\n :type name: str", " :rtype: str\n<END>", "<BEGIN>\n## `reset_tag`", "Reset the tag and return the new tag identifier.", " :param name: The tag\n :type name: str", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the forget API. 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 forget API. 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 item from the cache. :param key: The cache key :type key: str :rtype: bool
"Remove an item from the cache.\n\n :param key: The cache key\n :type key: str\n\n :rtype: bool"
206
false
sdispater/cachy
forget
4,043
LDU_FT/djaodjin/djaodjin-deployutils/list_local
LDU_FT
[ "<BEGIN>\n## `filter`", "Adds user and remote_addr to the record.\n<END>", "<BEGIN>\n## `package_theme`", "Package resources and templates for a multi-tier environment\n into a zip file.", " Templates are pre-compiled into ``*build_dir*/*app_name*/templates``.\n Compilation means {% assets '*path*'...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_local API. 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_local API. 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...
Returns a list of all files (recursively) present in a directory with their timestamp. Example: [{ "Key": "abc.txt", "LastModified": "Mon, 05 Jan 2015 12:00:00 UTC"}, { "Key": "def.txt", "LastModified": "Mon, 05 Jan 2015 12:00:001 UTC"}, ]
"Returns a list of all files (recursively) present in a directory\n with their timestamp.\n\n Example:\n [{ \"Key\": \"abc.txt\",\n \"LastModified\": \"Mon, 05 Jan 2015 12:00:00 UTC\"},\n { \"Key\": \"def.txt\",\n \"LastModified\": \"Mon, 05 Jan 2015 12:00:001 UTC\"},\n ]"
82
false
djaodjin/djaodjin-deployutils
list_local
4,044
LDU_FT/xoolive/traffic/api_aircraft
LDU_FT
[ "<BEGIN>\n## `closest_point_of_approach`", "Computes a CPA dataframe for all pairs of trajectories candidates for\n being separated by less than lateral_separation in vertical_separation.", " In order to be computed efficiently, the method needs the following\n parameters:", " - projection: a firs...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the api_aircraft API. 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 api_aircraft API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Returns a flight table associated to an aircraft. Official documentation ---------------------- This API call retrieves flights for a particular aircraft within a certain time interval. Resulting flights departed and arrived within [begin, end]. If no flights are found for the ...
"Returns a flight table associated to an aircraft.\n\n Official documentation\n ----------------------\n\n This API call retrieves flights for a particular aircraft within a\n certain time interval. Resulting flights departed and arrived within\n [begin, end]. If no flights are found ...
147
false
xoolive/traffic
api_aircraft
4,045
LDU_FT/tomnor/channelpack/masked
LDU_FT
[ "<BEGIN>\n## `masked`", "Return a numpy array with values from a where elements in b are\n not False. Populate with numpy.nan where b is False. When plotting,\n those elements look like missing, which can be a desired result.\n<END>", "<BEGIN>\n## `duration_bool`", "Mask the parts in b being True but do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the masked API. 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 masked API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Return a numpy array with values from a where elements in b are not False. Populate with numpy.nan where b is False. When plotting, those elements look like missing, which can be a desired result.
"Return a numpy array with values from a where elements in b are\n not False. Populate with numpy.nan where b is False. When plotting,\n those elements look like missing, which can be a desired result."
253
false
tomnor/channelpack
masked
4,046
LDU_FT/akfullfo/taskforce/terminate
LDU_FT
[ "<BEGIN>\n## `_format`", "Returns the response tuple according to the selected format.\n A format is available if the method \"_format_xxx\" is callable.\n The default format is json.\n<END>", "<BEGIN>\n## `version`", "Return the taskforce version.", " Supports standard options.\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the terminate API. 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 terminate API. 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...
Called when an existing task is removed from the configuration. This sets a Do Not Resuscitate flag and then initiates a stop sequence. Once all processes have stopped, the task will delete itself.
"Called when an existing task is removed from the configuration.\n This sets a Do Not Resuscitate flag and then initiates a stop\n sequence. Once all processes have stopped, the task will delete\n itself."
290
false
akfullfo/taskforce
terminate
4,047
LDU_FT/seb-m/pyinotify/add_watch
LDU_FT
[ "<BEGIN>\n## `compatibility_mode`", "Use this function to turn on the compatibility mode. The compatibility\n mode is used to improve compatibility with Pyinotify 0.7.1 (or older)\n programs. The compatibility mode provides additional variables 'is_dir',\n 'event_name', 'EventsCodes.IN_*' and 'EventsCode...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_watch API. 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 add_watch API. 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...
Add watch(s) on the provided |path|(s) with associated |mask| flag value and optionally with a processing |proc_fun| function and recursive flag |rec| set to True. Ideally |path| components should not be unicode objects. Note that although unicode paths are accepted there are converted t...
"Add watch(s) on the provided |path|(s) with associated |mask| flag\n value and optionally with a processing |proc_fun| function and\n recursive flag |rec| set to True.\n Ideally |path| components should not be unicode objects. Note that\n although unicode paths are accepted there are conver...
107
false
seb-m/pyinotify
add_watch
4,048
LDU_FT/theislab/anndata/write_zarr
LDU_FT
[ "<BEGIN>\n## `read_csv`", "Read ``.csv`` file.", " Same as :func:`~anndata.read_text` but with default delimiter ``','``.", " Parameters\n ----------\n filename\n Data file.\n delimiter\n Delimiter that separates data within text file. If ``None``, will split at\n arbitrary...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_zarr API. 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 write_zarr API. 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...
Write a hierarchical Zarr array store. Parameters ---------- store The filename, a :class:`~typing.MutableMapping`, or a Zarr storage class. chunks Chunk shape.
"Write a hierarchical Zarr array store.\n\n Parameters\n ----------\n store\n The filename, a :class:`~typing.MutableMapping`, or a Zarr storage class.\n chunks\n Chunk shape."
143
false
theislab/anndata
write_zarr
4,049
LDU_FT/letuananh/chirptext/find_all
LDU_FT
[ "<BEGIN>\n## `download`", "Download a file at $url and save it to $path\n<END>", "<BEGIN>\n## `parse`", "Use mecab-python3 by default to parse JP text. Fall back to mecab binary app if needed\n<END>", "<BEGIN>\n## `flex_update_obj`", "Pull data from source to target.\n Target's __dict__ (object data) w...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_all API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_all API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Find all token-level tags with the specified tagtype
"Find all token-level tags with the specified tagtype"
80
false
letuananh/chirptext
find_all
4,050
LDU_FT/jkitzes/macroeco/fit_mle
LDU_FT
[ "<BEGIN>\n## `get_theme_dir`", "Returns path to directory containing this package's theme.", " This is designed to be used when setting the ``html_theme_path``\n option within Sphinx's ``conf.py`` file.\n<END>", "<BEGIN>\n## `_geom_solve_p_from_mu`", "For the geom_uptrunc, given mu and b, return p.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit_mle API. 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 fit_mle API. 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...
%(super)s In addition to data, gives an optional keyword argument k_agg0 that specifies the initial value of k_agg used in the optimization.
"%(super)s\n\n In addition to data, gives an optional keyword argument k_agg0 that\n specifies the initial value of k_agg used in the optimization."
337
false
jkitzes/macroeco
fit_mle
4,051
LDU_FT/nerdvegas/rez/which
LDU_FT
[ "<BEGIN>\n## `add_node`", "Add given node to the graph.", " @attention: While nodes can be of any type, it's strongly recommended to use only\n numbers and single-line strings as node identifiers if you intend to use write().", " @type node: node\n @param node: Node identifier.", ...
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...
Find a program in the resolved environment. Args: cmd: String name of the program to find. parent_environ: Environment to interpret the context within, defaults to os.environ if None. fallback: If True, and the program is not found in the context, ...
"Find a program in the resolved environment.\n\n Args:\n cmd: String name of the program to find.\n parent_environ: Environment to interpret the context within,\n defaults to os.environ if None.\n fallback: If True, and the program is not found in the context,\n ...
2,330
true
nerdvegas/rez
which
4,052
LDU_FT/huntrar/scrape/detect_output_type
LDU_FT
[ "<BEGIN>\n## `write_files`", "Write scraped or local file(s) in desired format.", " Keyword arguments:\n args -- program arguments (dict)\n infilenames -- names of user-inputted and/or downloaded files (list)\n outfilename -- name of output file (str)", " Remove PART(#).html files after convers...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detect_output_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detect_output_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Detect whether to save to a single or multiple files.
"Detect whether to save to a single or multiple files."
79
false
huntrar/scrape
detect_output_type
4,053
LDU_FT/prompt-toolkit/pymux/break_pane
LDU_FT
[ "<BEGIN>\n## `read_message_from_pipe`", "(coroutine)\n Read message from this pipe. Return text.\n<END>", "<BEGIN>\n## `read_message_bytes_from_pipe`", "(coroutine)\n Read message from this pipe. Return bytes.\n<END>", "<BEGIN>\n## `wait_for_event`", "Wraps a win32 event into a `Future` and wait for...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the break_pane API. 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 break_pane API. 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...
When the current window has multiple panes, remove the pane from this window and put it in a new window. :param set_active: When True, focus the new window.
"When the current window has multiple panes, remove the pane from this\n window and put it in a new window.\n\n :param set_active: When True, focus the new window."
147
false
prompt-toolkit/pymux
break_pane
4,054
LDU_FT/thombashi/pytablereader/to_table_data
LDU_FT
[ "<BEGIN>\n## `load`", "Extract tabular data as |TableData| instances from a CSV file.\n |load_source_desc_file|", " :return:\n Loaded table data.\n |load_table_name_desc|", " =================== ========================================\n Format specif...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_table_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_table_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
:raises ValueError: :raises pytablereader.error.ValidationError:
":raises ValueError:\n :raises pytablereader.error.ValidationError:"
140
false
thombashi/pytablereader
to_table_data
4,055
LDU_FT/brainiak/brainiak/get_template
LDU_FT
[ "<BEGIN>\n## `_generate_feature`", "Generate features corresponding to signal", " Generate a single feature, that can be inserted into the signal volume.\n A feature is a region of activation with a specific shape such as cube\n or ring", " Parameters\n ----------", " feature_type : str\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_template API. 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_template API. 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...
Compute a template on latent factors Parameters ---------- R : 2D array, in format [n_voxel, n_dim] The scanner coordinate matrix of one subject's fMRI data Returns ------- template_prior : 1D array The template prior. template_centers_c...
"Compute a template on latent factors\n\n Parameters\n ----------\n R : 2D array, in format [n_voxel, n_dim]\n The scanner coordinate matrix of one subject's fMRI data\n\n Returns\n -------\n template_prior : 1D array\n The template prior.\n\n templ...
1,513
true
brainiak/brainiak
get_template
4,056
LDU_FT/Kami/python-yubico-client/translate
LDU_FT
[ "<BEGIN>\n## `translate`", "Return set() of possible modhex interpretations of a Yubikey otp.", " If otp uses all 16 characters in its alphabet, there will be only\n one possible interpretation of that Yubikey otp (except for two\n Armenian keyboard layouts).", " otp: Yubikey output.\n to: 16-c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the translate API. 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 translate API. 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...
Return set() of possible modhex interpretations of a Yubikey otp. If otp uses all 16 characters in its alphabet, there will be only one possible interpretation of that Yubikey otp (except for two Armenian keyboard layouts). otp: Yubikey output. to: 16-character target alphabet, default MODHEX.
"Return set() of possible modhex interpretations of a Yubikey otp.\n\n If otp uses all 16 characters in its alphabet, there will be only\n one possible interpretation of that Yubikey otp (except for two\n Armenian keyboard layouts).\n\n otp: Yubikey output.\n to: 16-character target alphabet, default MOD...
32
false
Kami/python-yubico-client
translate
4,057
LDU_FT/inspirehep/inspire-dojson/ids2marc
LDU_FT
[ "<BEGIN>\n## `normalize_rank`", "Normalize a rank in order to be schema-compliant.\n<END>", "<BEGIN>\n## `get_recid_from_ref`", "Retrieve recid from jsonref reference object.", " If no recid can be parsed, returns None.\n<END>", "<BEGIN>\n## `absolute_url`", "Returns an absolute URL from a URL relati...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ids2marc API. 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 ids2marc API. 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...
Populate the ``035`` MARC field. Also populates the ``8564`` and ``970`` MARC field through side effects.
"Populate the ``035`` MARC field.\n\n Also populates the ``8564`` and ``970`` MARC field through side effects."
163
false
inspirehep/inspire-dojson
ids2marc
4,058
LDU_FT/SpikeInterface/spikeextractors/get_unit_spike_features
LDU_FT
[ "<BEGIN>\n## `write_recording`", "Save recording extractor to MEArec format.\n Parameters\n ----------\n recording: RecordingExtractor\n Recording extractor object to be saved\n save_path: str\n .h5 or .hdf5 path\n<END>", "<BEGIN>\n## `write_sorting`", "Save s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_unit_spike_features 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_unit_spike_features API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
This function extracts the specified spike features from the specified unit. It will return spike features from within three ranges: [start_frame, t_start+1, ..., end_frame-1] [start_frame, start_frame+1, ..., final_unit_spike_frame - 1] [0, 1, ..., end_frame-1] ...
"This function extracts the specified spike features from the specified unit.\n It will return spike features from within three ranges:\n\n [start_frame, t_start+1, ..., end_frame-1]\n [start_frame, start_frame+1, ..., final_unit_spike_frame - 1]\n [0, 1, ..., end_frame-1]\n ...
115
false
SpikeInterface/spikeextractors
get_unit_spike_features
4,059
LDU_FT/hwmrocker/smtplibaio/rcpt
LDU_FT
[ "<BEGIN>\n## `read_reply`", "Reads a reply from the server.", " Raises:\n ConnectionResetError: If the connection with the server is lost\n (we can't read any response anymore). Or if the server\n replies without a proper return code.", " Returns:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rcpt API. 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 rcpt API. 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...
Sends a SMTP 'RCPT' command. - Indicates a recipient for the e-mail. For further details, please check out `RFC 5321 § 4.1.1.3`_ and `§ 3.3`_. Args: recipient (str): E-mail address of one recipient. options (list of str or None, optional): Additional options to send ...
"Sends a SMTP 'RCPT' command. - Indicates a recipient for the e-mail.\n\n For further details, please check out `RFC 5321 § 4.1.1.3`_ and\n `§ 3.3`_.\n\n Args:\n recipient (str): E-mail address of one recipient.\n options (list of str or None, optional): Additional options to ...
140
false
hwmrocker/smtplibaio
rcpt
4,060
LDU_FT/sampsyo/confuse/xdg_config_dirs
LDU_FT
[ "<BEGIN>\n## `namespace_to_dict`", "If obj is argparse.Namespace or optparse.Values we'll return\n a dict representation of it, else return the original object.", " Redefine this method if using other parsers.", " :param obj: *\n :return:\n :rtype: dict or *\n<END>", "<BEGIN>\n## `_package_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the xdg_config_dirs API. 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 xdg_config_dirs API. 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 list of paths taken from the XDG_CONFIG_DIRS and XDG_CONFIG_HOME environment varibables if they exist
"Returns a list of paths taken from the XDG_CONFIG_DIRS\n and XDG_CONFIG_HOME environment varibables if they exist"
79
false
sampsyo/confuse
xdg_config_dirs
4,061
LDU_FT/modin-project/modin/memory_usage
LDU_FT
[ "<BEGIN>\n## `_read_sql_with_offset_pandas_on_ray`", "Use a Ray task to read a chunk of SQL source.", " Note: Ray functions are not detected by codecov (thus pragma: no cover)\n<END>", "<BEGIN>\n## `read_sql`", "Read SQL query or database table into a DataFrame.", " Args:\n sql: strin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the memory_usage API. 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 memory_usage API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Returns the memory usage of each column. Returns: A new QueryCompiler object containing the memory usage of each column.
"Returns the memory usage of each column.\n\n Returns:\n A new QueryCompiler object containing the memory usage of each column."
811
false
modin-project/modin
memory_usage
4,062
LDU_FT/lambdalisue/django-roughpages/prepare_filenames
LDU_FT
[ "<BEGIN>\n## `prepare_filename_decorator`", "A decorator of `prepare_filename` method", " 1. It automatically assign `settings.ROUGHPAGES_INDEX_FILENAME` if the\n `normalized_url` is ''.\n 2. It automatically assign file extensions to the output list.\n<END>", "<BEGIN>\n## `prepare_filenames`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare_filenames API. 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 prepare_filenames API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Prepare template filename list based on the user authenticated state If user is authenticated user, it use '_authenticated' as a suffix. Otherwise it use '_anonymous' as a suffix to produce the template filename list. The list include original filename at the end of the list. A...
"Prepare template filename list based on the user authenticated state\n\n If user is authenticated user, it use '_authenticated' as a suffix.\n Otherwise it use '_anonymous' as a suffix to produce the template\n filename list. The list include original filename at the end of the\n list.\n\n ...
29
false
lambdalisue/django-roughpages
prepare_filenames
4,063
LDU_FT/TC01/calcpkg/getSimpleFileData
LDU_FT
[ "<BEGIN>\n## `structureOutput`", "Formats the output of a list of packages\n<END>", "<BEGIN>\n## `count`", "Counts the number of ticalc.org files containing some search term, doesn't return them\n<END>", "<BEGIN>\n## `searchHierarchy`", "Core function to search directory structure for child files and fold...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getSimpleFileData API. 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 getSimpleFileData API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Function to initialize the simple data for file info
"Function to initialize the simple data for file info"
62
false
TC01/calcpkg
getSimpleFileData
4,064
LDU_FT/thespacedoctor/sloancone/main
LDU_FT
[ "<BEGIN>\n## `get`", "*get the results from the the sdss square search*", " **Return:**\n - ``sdss_square_search``", " .. todo::\n<END>", "<BEGIN>\n## `_calculate_search_limits`", "*calculate search limits for the square search*", " **Key Arguments:**\n # -", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
*The main function used when ``cl_utils.py`` is run as a single script from the cl, or when installed as a cl command*
"*The main function used when ``cl_utils.py`` is run as a single script from the cl, or when installed as a cl command*"
39
false
thespacedoctor/sloancone
main
4,065
LDU_FT/entrepreneur-interet-general/mkinx/serve
LDU_FT
[ "<BEGIN>\n## `serve`", "Start a server which will watch .md and .rst files for changes.\n If a md file changes, the Home Documentation is rebuilt. If a .rst\n file changes, the updated sphinx project is rebuilt", " Args:\n args (ArgumentParser): flags from the CLI\n<END>", "<BEGIN>\n## `build`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serve API. 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 serve API. 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...
Start a server which will watch .md and .rst files for changes. If a md file changes, the Home Documentation is rebuilt. If a .rst file changes, the updated sphinx project is rebuilt Args: args (ArgumentParser): flags from the CLI
"Start a server which will watch .md and .rst files for changes.\n If a md file changes, the Home Documentation is rebuilt. If a .rst\n file changes, the updated sphinx project is rebuilt\n\n Args:\n args (ArgumentParser): flags from the CLI"
22
false
entrepreneur-interet-general/mkinx
serve
4,066
LDU_FT/Karaage-Cluster/python-tldap/escape_dn_chars
LDU_FT
[ "<BEGIN>\n## `check_password`", "Check a plaintext password against a hashed password.\n<END>", "<BEGIN>\n## `reset`", "Reset transaction back to original state, discarding all\n uncompleted transactions.\n<END>", "<BEGIN>\n## `_cache_get_for_dn`", "Object state is cached. When an update is require...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the escape_dn_chars API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the escape_dn_chars API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Escape all DN special characters found in s with a back-slash (see RFC 4514, section 2.4)
"Escape all DN special characters found in s\n with a back-slash (see RFC 4514, section 2.4)"
151
false
Karaage-Cluster/python-tldap
escape_dn_chars
4,067
LDU_FT/openeemeter/eemeter/load_sample
LDU_FT
[ "<BEGIN>\n## `as_freq`", "Resample data to a different frequency.", " This method can be used to upsample or downsample meter data. The\n assumption it makes to do so is that meter data is constant and averaged\n over the given periods. For instance, to convert billing-period data to\n daily data, t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_sample API. 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 load_sample API. 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...
Load meter data, temperature data, and metadata for associated with a particular sample identifier. Note: samples are simulated, not real, data. Parameters ---------- sample : :any:`str` Identifier of sample. Complete list can be obtained with :any:`eemeter.samples`. Returns --...
"Load meter data, temperature data, and metadata for associated with a\n particular sample identifier. Note: samples are simulated, not real, data.\n\n Parameters\n ----------\n sample : :any:`str`\n Identifier of sample. Complete list can be obtained with\n :any:`eemeter.samples`.\n\n Retu...
213
false
openeemeter/eemeter
load_sample
4,068
LDU_FT/daknuett/py_register_machine2/add_register
LDU_FT
[ "<BEGIN>\n## `int_to_bytes`", ".. _int_to_bytes:", "\tConverts the ``int`` ``int_`` to a ``bytes`` object.\n\t``len(result) == width``.", "\tIf ``width`` is None, a number of bytes that is able to hold the\n\tnumber is choosen, depending on ``int_.bit_length()``.", "\tSee also: bytes_to_int_\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_register API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_register API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
.. _add_register: Adds the Register_ ``register`` to the interface. Will raise a SetupError_ if the interface is locked (because it is running) or if there is already a Register with the name of the new Register or if the number of Registers would exceed the size of the interface. Returns the index of the ...
".. _add_register:\n\n\t\tAdds the Register_ ``register`` to the interface.\n\n\t\tWill raise a SetupError_ if the interface is locked (because it is running) or if\n\t\tthere is already a Register with the name of the new Register or if\n\t\tthe number of Registers would exceed the size of the interface.\n\n\t\tReturn...
154
false
daknuett/py_register_machine2
add_register
4,069
LDU_FT/Bogdanp/anom-py/from_path
LDU_FT
[ "<BEGIN>\n## `_transactions`", "list[Transaction]: The current stack of Transactions.\n<END>", "<BEGIN>\n## `transactional`", "Decorates functions so that all of their operations (except for\n queries) run inside a Datastore transaction.", " Parameters:\n adapter(Adapter, optional): The Adapter t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_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 extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_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 extract...
Build up a Datastore key from a path. Parameters: \*path(tuple[str or int]): The path segments. namespace(str): An optional namespace for the key. This is applied to each key in the tree. Returns: anom.Key: The Datastore represented by the given path.
"Build up a Datastore key from a path.\n\n Parameters:\n \\*path(tuple[str or int]): The path segments.\n namespace(str): An optional namespace for the key. This is\n applied to each key in the tree.\n\n Returns:\n anom.Key: The Datastore represented by the given path...
91
false
Bogdanp/anom-py
from_path
4,070
LDU_FT/kimvais/ike/auth_send
LDU_FT
[ "<BEGIN>\n## `init_send`", "Generates the first (IKE_INIT) packet for Initiator", " :return: bytes() containing a valid IKE_INIT packet\n<END>", "<BEGIN>\n## `auth_send`", "Generates the second (IKE_AUTH) packet for Initiator", " :return: bytes() containing a valid IKE_INIT packet\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auth_send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auth_send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Generates the second (IKE_AUTH) packet for Initiator :return: bytes() containing a valid IKE_INIT packet
"Generates the second (IKE_AUTH) packet for Initiator\n\n :return: bytes() containing a valid IKE_INIT packet"
29
false
kimvais/ike
auth_send
4,071
LDU_FT/pydot/pydot-ng/get_fobj
LDU_FT
[ "<BEGIN>\n## `get_fobj`", "Obtain a proper file object.", " Parameters\n ----------\n fname : string, file object, file descriptor\n If a string or file descriptor, then we create a file object. If\n *fname* is a file object, then we do nothing and ignore the specified\n *mode* par...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fobj API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fobj API. 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...
Obtain a proper file object. Parameters ---------- fname : string, file object, file descriptor If a string or file descriptor, then we create a file object. If *fname* is a file object, then we do nothing and ignore the specified *mode* parameter. mode : str The mode of...
"Obtain a proper file object.\n\n Parameters\n ----------\n fname : string, file object, file descriptor\n If a string or file descriptor, then we create a file object. If\n *fname* is a file object, then we do nothing and ignore the specified\n *mode* parameter.\n mode : str\n T...
51
false
pydot/pydot-ng
get_fobj
4,072