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/flo-compbio/genometools/download_files
LDU_FT
[ "<BEGIN>\n## `sum`", "Sum over rows or columns.", " Overrides the default `pandas.DataFrame.sum()` function to prevent\n temporary in-memory copies.\n<END>", "<BEGIN>\n## `get_heatmap`", "Generate a heatmap (`ExpHeatmap`) of the matrix.", " See :class:`ExpHeatmap` constructor for keyw...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Individually download files from GDC. Params ------ manifest : `pandas.DataFrame` GDC manifest that contains a list of files. The data frame should have five columns: id, filename, md5, size, and state. download_dir : str The path of the download directory. auth_token : ...
"Individually download files from GDC.\n \n Params\n ------\n manifest : `pandas.DataFrame`\n GDC manifest that contains a list of files. The data frame should\n have five columns: id, filename, md5, size, and state.\n download_dir : str\n The path of the download directory.\n aut...
496
false
flo-compbio/genometools
download_files
25,473
LDU_FT/delfick/harpoon/add_configuration
LDU_FT
[ "<BEGIN>\n## `a_temp_file`", "Yield the name of a temporary file and ensure it's removed after use\n<END>", "<BEGIN>\n## `run_container`", "Run this image and all dependency images\n<END>", "<BEGIN>\n## `run_deps`", "Start containers for all our dependencies\n<END>", "<BEGIN>\n## `stop_deps`", "Stop t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_configuration API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_configuration API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Used to add a file to the configuration, result here is the yaml.load of the src. If the configuration we're reading in has ``harpoon.extra_files`` then this is treated as a list of strings of other files to collect. We also take extra files to collector from result["images"]["__images...
"Used to add a file to the configuration, result here is the yaml.load\n of the src.\n\n If the configuration we're reading in has ``harpoon.extra_files``\n then this is treated as a list of strings of other files to collect.\n\n We also take extra files to collector from result[\"images\"][...
149
false
delfick/harpoon
add_configuration
25,474
LDU_FT/tumblr/pytumblr/new_oauth
LDU_FT
[ "<BEGIN>\n## `new_oauth`", "Return the consumer and oauth tokens with three-legged OAuth process and\n save in a yaml file in the user's home directory.\n<END>", "<BEGIN>\n## `validate_params`", "Helps us validate the parameters for the request", " :param valid_options: a list of strings of valid opti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the new_oauth API. 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 new_oauth API. 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 the consumer and oauth tokens with three-legged OAuth process and save in a yaml file in the user's home directory.
"Return the consumer and oauth tokens with three-legged OAuth process and\n save in a yaml file in the user's home directory."
126
false
tumblr/pytumblr
new_oauth
25,475
LDU_FT/olitheolix/qtmacs/qteMacroData
LDU_FT
[ "<BEGIN>\n## `qteSaveMacroData`", "Associate arbitrary ``data`` with ``widgetObj``.", " This is a convenience method to easily store applet/widget\n specific information in between calls.", " If ``widgetObj`` is **None** then the calling widget\n ``self.qteWidget`` will be used.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the qteMacroData API. 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 qteMacroData API. 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...
Retrieve ``widgetObj`` specific data previously saved with ``qteSaveMacroData``. If no data has been stored previously then **None** is returned. If ``widgetObj`` is **None** then the calling widget ``self.qteWidget`` will be used. |Args| * ``widgetObj`` (**QW...
"Retrieve ``widgetObj`` specific data previously saved with\n ``qteSaveMacroData``.\n\n If no data has been stored previously then **None** is\n returned.\n\n If ``widgetObj`` is **None** then the calling widget\n ``self.qteWidget`` will be used.\n\n |Args|\n\n * ``widge...
1,108
true
olitheolix/qtmacs
qteMacroData
25,476
LDU_FT/foliant-docs/foliantcontrib.includes/_sync_repo
LDU_FT
[ "<BEGIN>\n## `_find_file`", "Find a file in a directory by name. Check subdirectories recursively.", " :param file_name: Name of the file\n :lookup_dir: Starting directory", " :returns: Path to the found file or None if the file was not found\n :raises: FileNotFoundError\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sync_repo API. 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 _sync_repo API. 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...
Clone a Git repository to the cache dir. If it has been cloned before, update it. :param repo_url: Repository URL :param revision: Revision: branch, commit hash, or tag :returns: Path to the cloned repository
"Clone a Git repository to the cache dir. If it has been cloned before, update it.\n\n :param repo_url: Repository URL\n :param revision: Revision: branch, commit hash, or tag\n\n :returns: Path to the cloned repository"
49
false
foliant-docs/foliantcontrib.includes
_sync_repo
25,477
LDU_FT/projecthamster/hamster-lib/get_day_end
LDU_FT
[ "<BEGIN>\n## `_fact_to_tuple`", "Convert a ``Fact`` to its normalized tuple.", " This is where all type conversion for ``Fact`` attributes to strings as\n well as any normalization happens.", " Note:\n Because different writers may require different types, we need to\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_day_end API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_day_end API. 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...
Get the day end time given the day start. This assumes full 24h day. Args: config (dict): Configdict. Needed to extract ``day_start``. Note: This is merely a convinience funtion so we do not have to deduct this from ``day_start`` by hand all the time.
"Get the day end time given the day start. This assumes full 24h day.\n\n Args:\n config (dict): Configdict. Needed to extract ``day_start``.\n\n Note:\n This is merely a convinience funtion so we do not have to deduct this from ``day_start``\n by hand all the time."
82
false
projecthamster/hamster-lib
get_day_end
25,478
LDU_FT/alvinwan/TexSoup/find_all
LDU_FT
[ "<BEGIN>\n## `all`", "r\"\"\"Returns all content in this node, regardless of whitespace or\n not. This includes all LaTeX needed to reconstruct the original source.", " >>> from TexSoup import TexSoup\n >>> soup = TexSoup(r'''\n ... \\newcommand{reverseconcat}[3]{#3#2#1}\n ......
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...
r"""Return all descendant nodes matching criteria. :param Union[None,str] name: name of LaTeX expression :param attrs: LaTeX expression attributes, such as item text. :return: All descendant nodes matching criteria :rtype: Iterator[TexNode] >>> from TexSoup import TexSoup ...
"r\"\"\"Return all descendant nodes matching criteria.\n\n :param Union[None,str] name: name of LaTeX expression\n :param attrs: LaTeX expression attributes, such as item text.\n :return: All descendant nodes matching criteria\n :rtype: Iterator[TexNode]\n\n >>> from TexSoup import Te...
166
false
alvinwan/TexSoup
find_all
25,479
LDU_FT/MeaningCloud/meaningcloud-python/getTypeLastNode
LDU_FT
[ "<BEGIN>\n## `getStatusCode`", "Returns the code of the status or None if it does not exist", " :return:\n Status code of the response\n<END>", "<BEGIN>\n## `getStatusMsg`", "Returns the message of the status or an empty string if it does not exist", " :return:\n Status...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getTypeLastNode API. 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 getTypeLastNode API. 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...
Obtains the last node or leaf of the type specified :param type_: Type we want to analize (sementity, semtheme) :return: Last node of the type
"Obtains the last node or leaf of the type specified\n\n :param type_:\n Type we want to analize (sementity, semtheme)\n :return:\n Last node of the type"
30
false
MeaningCloud/meaningcloud-python
getTypeLastNode
25,480
LDU_FT/cytoscape/py2cytoscape/applyLayout
LDU_FT
[ "<BEGIN>\n## `to_networkx`", "Return this network in NetworkX graph object.", " :return: Network as NetworkX graph object\n<END>", "<BEGIN>\n## `to_dataframe`", "Return this network in pandas DataFrame.", " :return: Network as DataFrame. This is equivalent to SIF.\n<END>", "<BEGIN>\n## `a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the applyLayout API. 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 applyLayout API. 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...
Applies the Layout specified by the `algorithmName` parameter to the Network specified by the `networkId` parameter. If the Layout is has an option to use a Column, it can be specified by the `column` parameter. :param algorithmName: Name of layout algorithm :param networkId: SUID of the Network ...
"Applies the Layout specified by the `algorithmName` parameter to the Network specified by the `networkId` parameter. If the Layout is has an option to use a Column, it can be specified by the `column` parameter.\n\n :param algorithmName: Name of layout algorithm\n :param networkId: SUID of the Network\n ...
598
false
cytoscape/py2cytoscape
applyLayout
25,481
LDU_FT/theonion/influxer/content_ids
LDU_FT
[ "<BEGIN>\n## `send_point_data`", "creates data point payloads and sends them to influxdb\n<END>", "<BEGIN>\n## `send_trending_data`", "creates data point payloads for trending data to influxdb\n<END>", "<BEGIN>\n## `count_events`", "pulls data from the queue, tabulates it and spawns a send event\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the content_ids API. 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 content_ids API. 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...
does the same this as `pageviews`, except it includes content ids and then optionally filters the response by a list of content ids passed as query params - note, this load can be a little heavy and could take a minute
"does the same this as `pageviews`, except it includes content ids and then optionally filters\n the response by a list of content ids passed as query params - note, this load can be a little\n heavy and could take a minute"
10
false
theonion/influxer
content_ids
25,482
LDU_FT/python-xlib/python-xlib/unredirect_subwindows
LDU_FT
[ "<BEGIN>\n## `query_int_attribute`", "Return the value of an integer attribute\n<END>", "<BEGIN>\n## `create_resource_object`", "Create a resource object of type for the integer id. type\n should be one of the following strings:", " resource\n drawable\n window\n pixmap\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unredirect_subwindows 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 unredirect_subwindows API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Stop redirecting the hierarchies of children to this window.
"Stop redirecting the hierarchies of children to this window."
232
false
python-xlib/python-xlib
unredirect_subwindows
25,483
LDU_FT/kodexlab/reliure/run
LDU_FT
[ "<BEGIN>\n## `add_field`", "Add a named field to the schema.", " .. Warning:: the field name should not contains spaces and should not\n start with an underscore.", " :param name: name of the new field\n :type name: str\n :param field: type instance for the field \n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. 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 run API. 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...
Run a pipeline over a input generator >>> # if we have a simple component >>> from reliure.pipeline import Composable >>> @Composable ... def print_each(letters): ... for letter in letters: ... print(letter) ... yield letter >>> # that we want to run over a given inp...
"Run a pipeline over a input generator\n\n >>> # if we have a simple component\n >>> from reliure.pipeline import Composable\n >>> @Composable\n ... def print_each(letters):\n ... for letter in letters:\n ... print(letter)\n ... yield letter\n >>> # that we want to run over a...
243
false
kodexlab/reliure
run
25,484
LDU_FT/JukeboxPipeline/jukebox-core/get_element
LDU_FT
[ "<BEGIN>\n## `restrictable`", "Decorator for :class:`Reftrack` methods.\n A decorated method will check if its restriction with :meth:`Reftrack.is_restricted`\n and raises a :class:`RestrictionError` if it is restricted.", " :param m: The :class:`Reftrack` method to wrap\n :type m: :class:`Reftrack`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_element API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_element API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Return the element the refobj represents. The element is either an Asset or a Shot. :param refobj: the refobject to query :type refobj: refobj :returns: The element the reftrack represents :rtype: :class:`jukeboxcore.djadapter.models.Asset` | :class:`jukeboxcore.djadapter.model...
"Return the element the refobj represents.\n\n The element is either an Asset or a Shot.\n\n :param refobj: the refobject to query\n :type refobj: refobj\n :returns: The element the reftrack represents\n :rtype: :class:`jukeboxcore.djadapter.models.Asset` | :class:`jukeboxcore.djadapt...
1,529
true
JukeboxPipeline/jukebox-core
get_element
25,485
LDU_FT/qntm/greenery/null
LDU_FT
[ "<BEGIN>\n## `null`", "An FSM accepting nothing (not even the empty string). This is\n\t\tdemonstrates that this is possible, and is also extremely useful\n\t\tin some situations\n<END>", "<BEGIN>\n## `parallel`", "Crawl several FSMs in parallel, mapping the states of a larger meta-FSM.\n\t\tTo determine whet...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the null API. 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 null API. 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...
An FSM accepting nothing (not even the empty string). This is demonstrates that this is possible, and is also extremely useful in some situations
"An FSM accepting nothing (not even the empty string). This is\n\t\tdemonstrates that this is possible, and is also extremely useful\n\t\tin some situations"
63
false
qntm/greenery
null
25,486
LDU_FT/pysathq/pysat/set_bound
LDU_FT
[ "<BEGIN>\n## `open`", "Open a file pointer. Note that a file is *always* opened in text\n mode. The method inherits its input parameters from the constructor\n of :class:`FileObject`.\n<END>", "<BEGIN>\n## `get_compression_type`", "Determine compression type for a given file using its ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_bound API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_bound API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Given a totalizer sum and its right-hand side to be enforced, the method creates a new sum assumption literal, which will be used in the following SAT oracle calls. :param tobj: totalizer sum :param rhs: right-hand side :type tobj: :class:`.ITotalizer` ...
"Given a totalizer sum and its right-hand side to be\n enforced, the method creates a new sum assumption literal,\n which will be used in the following SAT oracle calls.\n\n :param tobj: totalizer sum\n :param rhs: right-hand side\n\n :type tobj: :class:`.ITotalize...
578
false
pysathq/pysat
set_bound
25,487
LDU_FT/justquick/django-activity-stream/is_following
LDU_FT
[ "<BEGIN>\n## `timesince`", "Shortcut for the ``django.utils.timesince.timesince`` function of the\n current timestamp.\n<END>", "<BEGIN>\n## `respond`", "Responds to the request with the given response code.\n If ``next`` is in the form, it will redirect instead.\n<END>", "<BEGIN>\n## `follow_unfo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_following API. 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 is_following API. 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...
Check if a user is following an instance.
"Check if a user is following an instance."
105
false
justquick/django-activity-stream
is_following
25,488
LDU_FT/systemd/python-systemd/this_boot
LDU_FT
[ "<BEGIN>\n## `get_catalog`", "Return catalog entry for the specified ID.", " `mid` should be either a UUID or a 32 digit hex number.\n<END>", "<BEGIN>\n## `stream`", "r\"\"\"Return a file object wrapping a stream to journal.", " Log messages written to this file as simple newline sepearted text stri...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the this_boot API. 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 this_boot API. 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 match for _BOOT_ID for current boot or the specified boot ID. If specified, bootid should be either a UUID or a 32 digit hex number. Equivalent to add_match(_BOOT_ID='bootid').
"Add match for _BOOT_ID for current boot or the specified boot ID.\n\n If specified, bootid should be either a UUID or a 32 digit hex number.\n\n Equivalent to add_match(_BOOT_ID='bootid')."
70
false
systemd/python-systemd
this_boot
25,489
LDU_FT/nok/sklearn-porter/export_data
LDU_FT
[ "<BEGIN>\n## `export`", "Port a trained estimator to the syntax of a chosen programming language.", " Parameters\n ----------\n :param class_name : string\n The name of the class in the returned result.\n :param method_name : string\n The name of the method in t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_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 extra...
Save model data in a JSON file. Parameters ---------- :param directory : string The directory. :param filename : string The filename. :param with_md5_hash : bool Whether to append the checksum to the filename or not.
"Save model data in a JSON file.\n\n Parameters\n ----------\n :param directory : string\n The directory.\n :param filename : string\n The filename.\n :param with_md5_hash : bool\n Whether to append the checksum to the filename or not."
197
false
nok/sklearn-porter
export_data
25,490
LDU_FT/daler/metaseq/append
LDU_FT
[ "<BEGIN>\n## `requirements_check`", "Ensure we have programs needed to download/manipulate the data\n<END>", "<BEGIN>\n## `_up_to_date`", "Make sure md5sum(fn) == md5, and if not, delete `fn`.\n<END>", "<BEGIN>\n## `logged_command`", "helper function to log a command and then run it\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append API. 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 append API. 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 ...
Adds a new scatter to self.scatter_ax as well as marginal histograms for the same data, borrowing addtional room from the axes. Parameters ---------- x, y : array-like Data to be plotted scatter_kwargs : dict Keyword arguments that are passed directly t...
"Adds a new scatter to self.scatter_ax as well as marginal histograms\n for the same data, borrowing addtional room from the axes.\n\n Parameters\n ----------\n\n x, y : array-like\n Data to be plotted\n\n scatter_kwargs : dict\n Keyword arguments that are passed...
400
false
daler/metaseq
append
25,491
LDU_FT/robotools/fontParts/edit_release_notes
LDU_FT
[ "<BEGIN>\n## `_set_unicode`", "Assign the primary unicode to the glyph.\n This will be an integer or None.", " Subclasses may override this method.\n<END>", "<BEGIN>\n## `_get_leftMargin`", "This must return an int or float.\n If the glyph has no outlines, this must return `None`.", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edit_release_notes 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 edit_release_notes 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...
Use the default text $EDITOR to write release notes. If $EDITOR is not set, use 'nano'.
"Use the default text $EDITOR to write release notes.\n If $EDITOR is not set, use 'nano'."
646
false
robotools/fontParts
edit_release_notes
25,492
LDU_FT/dakrauth/strutil/replace
LDU_FT
[ "<BEGIN>\n## `replace`", "Replace an ``old`` subset of ``text`` with ``new``.", " ``old`` type may be either a string or regular expression.", " If ``strip``, remove all leading/trailing whitespace.", " If ``count``, replace the specified number of occurence, otherwise replace all.\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Replace an ``old`` subset of ``text`` with ``new``. ``old`` type may be either a string or regular expression. If ``strip``, remove all leading/trailing whitespace. If ``count``, replace the specified number of occurence, otherwise replace all.
"Replace an ``old`` subset of ``text`` with ``new``.\n \n ``old`` type may be either a string or regular expression.\n \n If ``strip``, remove all leading/trailing whitespace.\n \n If ``count``, replace the specified number of occurence, otherwise replace all."
19
false
dakrauth/strutil
replace
25,493
LDU_FT/heroku/sf-suds/send
LDU_FT
[ "<BEGIN>\n## `splitPrefix`", "Split the name into a tuple (I{prefix}, I{name}). The first element in\n the tuple is I{None} when the name does't have a prefix.\n @param name: A node name containing an optional prefix.\n @type name: basestring\n @return: A tuple containing the (2) parts of I{name}\n ...
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 soap message. @param soapenv: A soap envelope to send. @type soapenv: L{Document} @return: The reply to the sent message. @rtype: I{builtin} or I{subclass of} L{Object}
"Send soap message.\n @param soapenv: A soap envelope to send.\n @type soapenv: L{Document}\n @return: The reply to the sent message.\n @rtype: I{builtin} or I{subclass of} L{Object}"
38
false
heroku/sf-suds
send
25,494
LDU_FT/LudovicRousseau/pyscard/OnDeactivateCard
LDU_FT
[ "<BEGIN>\n## `translateprotocolmask`", "Translate CardConnection protocol mask into PCSC protocol mask.\n<END>", "<BEGIN>\n## `translateprotocolheader`", "Translate protocol into PCSC protocol header.\n<END>", "<BEGIN>\n## `connect`", "Connect to the card.", " If protocol is not specified, connec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the OnDeactivateCard API. 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 OnDeactivateCard API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Called when a card is deactivated in the reader tree control or toolbar.
"Called when a card is deactivated in the reader tree control\n or toolbar."
164
false
LudovicRousseau/pyscard
OnDeactivateCard
25,495
LDU_FT/linkedin/Zopkio/reset_all
LDU_FT
[ "<BEGIN>\n## `make_machine_mapping`", "Convert the machine list argument from a list of names into a mapping of logical names to\n physical hosts. This is similar to the _parse_configs function but separated to provide the\n opportunity for extension and additional checking of machine access\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset_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 extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset_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 extract...
Clear relevant globals to start fresh :return:
"Clear relevant globals to start fresh\n :return:"
85
false
linkedin/Zopkio
reset_all
25,496
LDU_FT/GGiecold/Concurrent_AP/check_HDF5_arrays
LDU_FT
[ "<BEGIN>\n## `chunk_generator`", "Returns a generator of slice objects.", " Parameters\n ----------\n N : int\n The size of one of the dimensions of a two-dimensional array. ", " n : int\n The number of arrays of shape ('N', 'get_chunk_size(N, n)') that fit into\n memory.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_HDF5_arrays API. 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 check_HDF5_arrays API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Check that the HDF5 data structure of file handle 'hdf5_file' has all the required nodes organizing the various two-dimensional arrays required for Affinity Propagation clustering ('Responsibility' matrix, 'Availability', etc.). Parameters ---------- hdf5_file : string or fil...
"Check that the HDF5 data structure of file handle 'hdf5_file' \n has all the required nodes organizing the various two-dimensional \n arrays required for Affinity Propagation clustering \n ('Responsibility' matrix, 'Availability', etc.).\n \n Parameters\n ----------\n hdf5_file : strin...
61
false
GGiecold/Concurrent_AP
check_HDF5_arrays
25,497
LDU_FT/pinterest/pymemcache/decr
LDU_FT
[ "<BEGIN>\n## `murmur3_32`", "MurmurHash3 was written by Austin Appleby, and is placed in the\n public domain. The author hereby disclaims copyright to this source\n code.\n<END>", "<BEGIN>\n## `_readline`", "Read line of text from the socket.", " Read a line of text (delimited by \"\\r\\n\") ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decr API. 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 decr API. 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 memcached "decr" command. Args: key: str, see class docs for details. value: int, the amount by which to increment the value. noreply: optional bool, False to wait for the reply (the default). Returns: If noreply is True, always returns None. Otherwise retur...
"The memcached \"decr\" command.\n\n Args:\n key: str, see class docs for details.\n value: int, the amount by which to increment the value.\n noreply: optional bool, False to wait for the reply (the default).\n\n Returns:\n If noreply is True, always returns None. Othe...
89
false
pinterest/pymemcache
decr
25,498
LDU_FT/BYU-PCCL/holodeck/teleport
LDU_FT
[ "<BEGIN>\n## `malloc`", "Allocates a block of shared memory, and returns a numpy array whose data corresponds with that block.", " Args:\n key (str): The key to identify the block.\n shape (list of int): The shape of the numpy array to allocate.\n dtype (type): The numpy ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the teleport API. 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 teleport API. 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...
Teleports the agent to a specific location, with a specific rotation. Args: location (np.ndarray, optional): An array with three elements specifying the target world coordinate in meters. If None, keeps the current location. Defaults to None. rotation (np.ndarray, optional):...
"Teleports the agent to a specific location, with a specific rotation.\n\n Args:\n location (np.ndarray, optional): An array with three elements specifying the target world coordinate in meters.\n If None, keeps the current location. Defaults to None.\n rotation (np.ndarray, opti...
111
false
BYU-PCCL/holodeck
teleport
25,499
LDU_FT/HewlettPackard/python-hpOneView/sas_logical_interconnect_groups
LDU_FT
[ "<BEGIN>\n## `get_visual_content`", "Gets a list of visual content objects describing each rack within the data center. The response aggregates data\n center and rack data with a specified metric (peak24HourTemp) to provide simplified access to display data for\n the data center.", " Args:\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sas_logical_interconnect_groups API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sas_logical_interconnect_groups API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
Gets the SasLogicalInterconnectGroups API client. Returns: SasLogicalInterconnectGroups:
"Gets the SasLogicalInterconnectGroups API client.\n\n Returns:\n SasLogicalInterconnectGroups:"
1,297
true
HewlettPackard/python-hpOneView
sas_logical_interconnect_groups
25,500
LDU_FT/glue-viz/glue-vispy-viewers/get_text_style
LDU_FT
[ "<BEGIN>\n## `iso_mesh_line`", "Generate an isocurve from vertex data in a surface mesh.", " Parameters\n ----------\n vertices : ndarray, shape (Nv, 3)\n Vertex coordinates.\n tris : ndarray, shape (Nf, 3)\n Indices of triangular element into the vertices array.\n vertex_data : nda...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_text_style API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_text_style API. 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 the text style dict for a text instance
"Return the text style dict for a text instance"
1,752
true
glue-viz/glue-vispy-viewers
get_text_style
25,501
LDU_FT/iqbal-lab-org/cluster_vcf_records/ref_string_matches_ref_sequence
LDU_FT
[ "<BEGIN>\n## `get_sample_name_from_vcf_header_lines`", "Given a list of header lines (made by either\n vcf_file_to_dict() or vcf_file_to_list()),\n returns the sample name. Assumes only one sample\n in the file.\n Raises error if badly formatted #CHROM line.\n Returns None if no #CHROM line found\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ref_string_matches_ref_sequence API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ref_string_matches_ref_sequence API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
Returns true iff the REF string in the record agrees with the given ref_sequence
"Returns true iff the REF string in the record agrees with\n the given ref_sequence"
59
false
iqbal-lab-org/cluster_vcf_records
ref_string_matches_ref_sequence
25,502
LDU_FT/roboogle/gtkmvc3/register_view
LDU_FT
[ "<BEGIN>\n## `__create_log_props`", "Creates all the logical property.", " The list of names of properties to be created is passed\n with frozenset log_props. The getter/setter information is\n taken from _{get,set}dict.", " This method resolves also wildcards in names, and perform...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_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 ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_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 ext...
Creates treeview columns, and connect missing signals
"Creates treeview columns, and connect missing signals"
300
false
roboogle/gtkmvc3
register_view
25,503
LDU_FT/klmitch/tendril/framers
LDU_FT
[ "<BEGIN>\n## `send_frame`", "Sends a frame to the other end of the connection.\n<END>", "<BEGIN>\n## `start`", "Starts the TendrilManager.", " :param acceptor: If given, specifies a callable that will be\n called with each newly received Tendril;\n that...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the framers API. 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 framers API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Set the framers in use for the connection. The framer states will be reset next time their respective framer is used.
"Set the framers in use for the connection. The framer states\n will be reset next time their respective framer is used."
92
false
klmitch/tendril
framers
25,504
LDU_FT/mdsol/rwslib/build
LDU_FT
[ "<BEGIN>\n## `format_date_argument`", "Take a date as either a datetime.date/datetime or a string and return it as a iso8601 formatted value\n :param Union[datetime.date, datetime.datetime] date_element: passed argument\n :rtype str\n :return:\n<END>", "<BEGIN>\n## `dataset`", "Qualify the dataset_na...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Build XML by appending to builder .. note:: Questions can contain translations
"Build XML by appending to builder\n\n .. note:: Questions can contain translations"
120
false
mdsol/rwslib
build
25,505
LDU_FT/bachya/py17track/main
LDU_FT
[ "<BEGIN>\n## `packages`", "Get the list of packages associated with the account.\n<END>", "<BEGIN>\n## `summary`", "Get a quick summary of how many packages are in an account.\n<END>", "<BEGIN>\n## `_request`", "Make a request against the RainMachine device.\n<END>", "<BEGIN>\n## `find`", "Get trackin...
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...
Create the aiohttp session and run the example.
"Create the aiohttp session and run the example."
10
false
bachya/py17track
main
25,506
LDU_FT/GoogleCloudPlatform/datastore-ndb-python/_unpack_user
LDU_FT
[ "<BEGIN>\n## `get_event_loop`", "Return a EventLoop instance.", " A new instance is created for each new HTTP request. We determine\n that we're in a new request by inspecting os.environ, which is reset\n at the start of each request. Also, each thread gets its own loop.\n<END>", "<BEGIN>\n## `clear`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _unpack_user API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _unpack_user API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Internal helper to unpack a User value from a protocol buffer.
"Internal helper to unpack a User value from a protocol buffer."
569
false
GoogleCloudPlatform/datastore-ndb-python
_unpack_user
25,507
LDU_FT/anntzer/mplcursors/_get_rounded_intersection_area
LDU_FT
[ "<BEGIN>\n## `_register_scatter`", "Patch `PathCollection` and `scatter` to register their return values.", " This registration allows us to distinguish `PathCollection`s created by\n `Axes.scatter`, which should use point-like picking, from others, which\n should use path-like picking. The former is ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_rounded_intersection_area 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 _get_rounded_intersection_area API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Compute the intersection area between two bboxes rounded to 8 digits.
"Compute the intersection area between two bboxes rounded to 8 digits."
49
false
anntzer/mplcursors
_get_rounded_intersection_area
25,508
LDU_FT/analyzere/analyzere-python/vectorize_range
LDU_FT
[ "<BEGIN>\n## `request`", "method - HTTP method. e.g. get, put, post, etc.\n path - Path to resource. e.g. /loss_sets/1234\n params - Parameter to pass in the query string\n data - Dictionary of parameters to pass in the request body\n<END>", "<BEGIN>\n## `file_length`", "Returns the length in bytes o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vectorize_range API. 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 vectorize_range API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
This function is for url encoding. Takes a value or a tuple or list of tuples and returns a single result, tuples are joined by "," if necessary, elements in tuple are joined by '_'
"This function is for url encoding.\n Takes a value or a tuple or list of tuples and returns a single result,\n tuples are joined by \",\" if necessary, elements in tuple are joined by '_'"
14
false
analyzere/analyzere-python
vectorize_range
25,509
LDU_FT/btel/svg_utils/find_ids
LDU_FT
[ "<BEGIN>\n## `fromfile`", "Open SVG figure from file.", " Parameters\n ----------\n fname : str\n name of the SVG file", " Returns\n -------\n SVGFigure\n newly created :py:class:`SVGFigure` initialised with the file content\n<END>", "<BEGIN>\n## `fromstring`", "Create a SV...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_ids API. 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_ids API. 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 elements with given IDs. Parameters ---------- element_ids : list of strings list of IDs to find Returns ------- a new `Panel` object which contains all the found elements.
"Find elements with given IDs.\n\n Parameters\n ----------\n element_ids : list of strings\n list of IDs to find\n\n Returns\n -------\n a new `Panel` object which contains all the found elements."
63
false
btel/svg_utils
find_ids
25,510
LDU_FT/csurfer/gitsuggest/main
LDU_FT
[ "<BEGIN>\n## `main`", "Starting point for the program execution.\n<END>", "<BEGIN>\n## `get_html`", "Method to convert the repository list to a search results page.\n<END>", "<BEGIN>\n## `to_html`", "Method to convert the repository list to a search results page and\n write it to a HTML file.", "...
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...
Starting point for the program execution.
"Starting point for the program execution."
38
false
csurfer/gitsuggest
main
25,511
LDU_FT/dnouri/nolearn/initialize_layers
LDU_FT
[ "<BEGIN>\n## `plot_conv_weights`", "Plot the weights of a specific layer.", " Only really makes sense with convolutional layers.", " Parameters\n ----------\n layer : lasagne.layers.Layer\n<END>", "<BEGIN>\n## `plot_conv_activity`", "Plot the acitivities of a specific layer.", " Only real...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initialize_layers API. 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 initialize_layers API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Sets up the Lasagne layers :param layers: The dictionary of layers, or a :class:`lasagne.Layers` instance, describing the underlying network :return: the output layer of the underlying lasagne network. :seealso: :ref:`layer-def`
"Sets up the Lasagne layers\n\n :param layers: The dictionary of layers, or a\n :class:`lasagne.Layers` instance, describing the underlying\n network\n\n :return: the output layer of the underlying lasagne network.\n\n :seealso: :ref:`layer-def`"
64
false
dnouri/nolearn
initialize_layers
25,512
LDU_FT/atztogo/phonopy/_shift2boolean
LDU_FT
[ "<BEGIN>\n## `_set_translations`", "Set primitive translations in supercell", " _trans_s\n Translations with respect to supercell basis vectors\n _trans_p\n Translations with respect to primitive cell basis vectors\n _N\n Number of the translations = det(sup...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _shift2boolean API. 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 _shift2boolean API. 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...
Tolerance is used to judge zero/half gird shift. This value is not necessary to be changed usually.
"Tolerance is used to judge zero/half gird shift.\n This value is not necessary to be changed usually."
417
false
atztogo/phonopy
_shift2boolean
25,513
LDU_FT/rochacbruno/flasgger/swag_from
LDU_FT
[ "<BEGIN>\n## `get`", "Colors API using schema\n This example is using marshmallow schemas\n<END>", "<BEGIN>\n## `drop_id_validate`", "Custom validation function which drops parameter '_id' if present\n in data\n<END>", "<BEGIN>\n## `timestamping_validate`", "Custom validation function which inse...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the swag_from API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the swag_from API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Takes a filename.yml, a dictionary or object and loads swagger specs. :param specs: a filepath, a dictionary or an object :param filetype: yml or yaml (json and py to be implemented) :param endpoint: endpoint to build definition name :param methods: method to build method based specs :param validat...
"Takes a filename.yml, a dictionary or object and loads swagger specs.\n\n :param specs: a filepath, a dictionary or an object\n :param filetype: yml or yaml (json and py to be implemented)\n :param endpoint: endpoint to build definition name\n :param methods: method to build method based specs\n :param ...
71
false
rochacbruno/flasgger
swag_from
25,514
LDU_FT/sepandhaghighi/pycm/PC_PI_calc
LDU_FT
[ "<BEGIN>\n## `print_report`", "Print Compare report.", " :return: None\n<END>", "<BEGIN>\n## `save_report`", "Save Compare report in .comp (flat file format).", " :param name: filename\n :type name : str\n :param address: flag for address return\n :type address : bool\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the PC_PI_calc API. 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 PC_PI_calc API. 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...
Calculate percent chance agreement for Scott's Pi. :param P: condition positive :type P : dict :param TOP: test outcome positive :type TOP : dict :param POP: population :type POP:dict :return: percent chance agreement as float
"Calculate percent chance agreement for Scott's Pi.\n\n :param P: condition positive\n :type P : dict\n :param TOP: test outcome positive\n :type TOP : dict\n :param POP: population\n :type POP:dict\n :return: percent chance agreement as float"
259
false
sepandhaghighi/pycm
PC_PI_calc
25,515
LDU_FT/openearth/bmi-python/_libname
LDU_FT
[ "<BEGIN>\n## `colorlogs`", "Append a rainbow logging handler and a formatter to the root logger\n<END>", "<BEGIN>\n## `create_string_buffer`", "create_string_buffer(aString) -> character array\n create_string_buffer(anInteger) -> character array\n create_string_buffer(aString, anInteger) -> character ar...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _libname API. 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 _libname API. 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 platform-specific modelf90 shared library name.
"Return platform-specific modelf90 shared library name."
39
false
openearth/bmi-python
_libname
25,516
LDU_FT/etcher-be/elib_miz/reorder
LDU_FT
[ "<BEGIN>\n## `reorder`", "Re-orders a miz file into a folder (flattened)", " Args:\n miz_file_path: source miz file\n target_dir: folder to flatten the content into\n skip_options_file: do not re-order option file\n<END>", "<BEGIN>\n## `decode`", "Decodes the mission ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reorder API. 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 reorder API. 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...
Re-orders a miz file into a folder (flattened) Args: miz_file_path: source miz file target_dir: folder to flatten the content into skip_options_file: do not re-order option file
"Re-orders a miz file into a folder (flattened)\n\n Args:\n miz_file_path: source miz file\n target_dir: folder to flatten the content into\n skip_options_file: do not re-order option file"
100
false
etcher-be/elib_miz
reorder
25,517
LDU_FT/klorenz/python-argdeco/flatten
LDU_FT
[ "<BEGIN>\n## `add_subcommands`", "add subcommands.", " If command already defined, pass args and kwargs to add_subparsers()\n method, else to add_parser() method. This behaviour is for convenience,\n because I mostly use the sequence:", " >>> p = parser.add_parser('foo', help=\"so...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flatten API. 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 flatten API. 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...
flatten a nested dictionary D to a flat dictionary nested keys are separated by '.'
"flatten a nested dictionary D to a flat dictionary\n\n nested keys are separated by '.'"
54
false
klorenz/python-argdeco
flatten
25,518
LDU_FT/CZ-NIC/python-rt/last_updated
LDU_FT
[ "<BEGIN>\n## `__request`", "General request for :term:`API`.", " :keyword selector: End part of URL which completes self.url parameter\n set during class initialization.\n E.g.: ``ticket/123456/show``\n :keyword post_data: Dictionary with POST me...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the last_updated API. 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 last_updated API. 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...
Obtains tickets changed after given date. :param since: Date as string in form '2011-02-24' :keyword queue: Queue where to search :returns: List of tickets with LastUpdated parameter later than *since* ordered in decreasing order by LastUpdated. Each tickets...
"Obtains tickets changed after given date.\n\n :param since: Date as string in form '2011-02-24'\n :keyword queue: Queue where to search\n\n :returns: List of tickets with LastUpdated parameter later than\n *since* ordered in decreasing order by LastUpdated.\n Each...
143
false
CZ-NIC/python-rt
last_updated
25,519
LDU_FT/jasonrollins/shareplum/GetUsers
LDU_FT
[ "<BEGIN>\n## `GetSecurityToken`", "Grabs a security Token to authenticate to Office 365 services\n<END>", "<BEGIN>\n## `GetCookies`", "Grabs the cookies form your Office Sharepoint site\n and uses it as Authentication for the rest of the calls\n<END>", "<BEGIN>\n## `AddList`", "Create a new List\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetUsers API. 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 GetUsers API. 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...
Get Items from current list rowlimit defaulted to 0 (no limit)
"Get Items from current list\n rowlimit defaulted to 0 (no limit)"
33
false
jasonrollins/shareplum
GetUsers
25,520
LDU_FT/celery/django-celery/apply
LDU_FT
[ "<BEGIN>\n## `transaction_retry`", "Decorator for methods doing database operations.", " If the database operation fails, it will retry the operation\n at most ``max_retries`` times.\n<END>", "<BEGIN>\n## `get_task`", "Get task meta for task by ``task_id``.", " :keyword exception_retry_count:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply API. 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 apply API. 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...
View applying a task. **Note:** Please use this with caution. Preferably you shouldn't make this publicly accessible without ensuring your code is safe!
"View applying a task.\n\n **Note:** Please use this with caution. Preferably you shouldn't make this\n publicly accessible without ensuring your code is safe!"
65
false
celery/django-celery
apply
25,521
LDU_FT/nathankw/pulsarpy/remove_api_key
LDU_FT
[ "<BEGIN>\n## `get_record_by_name`", "Searches for a single document in the given index on the 'name' field .\n Performs a case-insensitive search by utilizing Elasticsearch's `match_phrase` query.", " Args:\n index: `str`. The name of an Elasticsearch index (i.e. biosamples).\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_api_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 ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_api_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 ex...
Removes the user's existing API key, if present, and sets the current instance's 'api_key' attribute to the empty string. Returns: `NoneType`: None.
"Removes the user's existing API key, if present, and sets the current instance's 'api_key'\n attribute to the empty string.\n\n Returns:\n `NoneType`: None."
92
false
nathankw/pulsarpy
remove_api_key
25,522
LDU_FT/tjcsl/ion/uncancel
LDU_FT
[ "<BEGIN>\n## `student_visible`", "Return a list of groups that are student-visible.\n<END>", "<BEGIN>\n## `stdev`", "r\"\"\"Calculate standard deviation of data x[]:\n std = sqrt(\\sum_i (x_i - mean)^2 \\over n-1)\n https://wiki.python.org/moin/NumericAndScientificRecipes\n<END>", "<BEGIN>\n##...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uncancel API. 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 uncancel API. 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...
Uncancel an EighthScheduledActivity. This does nothing besides unset the cancelled flag and save the object.
"Uncancel an EighthScheduledActivity.\n\n This does nothing besides unset the cancelled flag and save the\n object."
407
false
tjcsl/ion
uncancel
25,523
LDU_FT/halcy/Mastodon.py/account_block
LDU_FT
[ "<BEGIN>\n## `parse_version_string`", "Parses a semver version string, stripping off \"rc\" stuff if present.\n<END>", "<BEGIN>\n## `bigger_version`", "Returns the bigger version of two version strings.\n<END>", "<BEGIN>\n## `api_version`", "Version check decorator. Currently only checks Bigger Than.\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the account_block API. 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 account_block API. 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...
Block a user. Returns a `relationship dict`_ containing the updated relationship to the user.
"Block a user.\n\n Returns a `relationship dict`_ containing the updated relationship to the user."
313
false
halcy/Mastodon.py
account_block
25,524
LDU_FT/mk-fg/python-pulse-control/connect_to_cli
LDU_FT
[ "<BEGIN>\n## `connect_to_cli`", "Returns connected CLI interface socket (as file object, unless as_file=False),\n\t\t\twhere one can send same commands (as lines) as to \"pacmd\" tool\n\t\t\tor pulseaudio startup files (e.g. \"default.pa\").\n\t\t\"server\" option can be specified to use non-standard unix socket ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect_to_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 ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect_to_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 ex...
Returns connected CLI interface socket (as file object, unless as_file=False), where one can send same commands (as lines) as to "pacmd" tool or pulseaudio startup files (e.g. "default.pa"). "server" option can be specified to use non-standard unix socket path (when passed absolute path string) or remote tcp...
"Returns connected CLI interface socket (as file object, unless as_file=False),\n\t\t\twhere one can send same commands (as lines) as to \"pacmd\" tool\n\t\t\tor pulseaudio startup files (e.g. \"default.pa\").\n\t\t\"server\" option can be specified to use non-standard unix socket path\n\t\t\t(when passed absolute path...
30
false
mk-fg/python-pulse-control
connect_to_cli
25,525
LDU_FT/jrief/django-websocket-redis/fetch_message
LDU_FT
[ "<BEGIN>\n## `fetch_message`", "Fetch the first message available for the given ``facility`` and ``audience``, if it has\n been persisted in the Redis datastore.\n The current HTTP ``request`` is used to determine to whom the message belongs.\n A unique string is used to identify the bucket's...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_message API. 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 fetch_message API. 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...
Fetch the first message available for the given ``facility`` and ``audience``, if it has been persisted in the Redis datastore. The current HTTP ``request`` is used to determine to whom the message belongs. A unique string is used to identify the bucket's ``facility``. Determines the ``a...
"Fetch the first message available for the given ``facility`` and ``audience``, if it has\n been persisted in the Redis datastore.\n The current HTTP ``request`` is used to determine to whom the message belongs.\n A unique string is used to identify the bucket's ``facility``.\n Determines th...
60
false
jrief/django-websocket-redis
fetch_message
25,526
LDU_FT/pjamesjoyce/lcopt/lcopt_bw2_autosetup
LDU_FT
[ "<BEGIN>\n## `write`", "write the current settings to the config file\n<END>", "<BEGIN>\n## `hierarchy_pos`", "If there is a cycle that is reachable from root, then this will see infinite recursion.\n G: the graph\n root: the root node of current branch\n width: horizontal space allocated fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lcopt_bw2_autosetup 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 lcopt_bw2_autosetup 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...
Utility function to automatically set up brightway2 to work correctly with lcopt. It requires a valid username and password to login to the ecoinvent website. These can be entered directly into the function using the keyword arguments `ei_username` and `ei_password` or entered interactively by using no argume...
"Utility function to automatically set up brightway2 to work correctly with lcopt.\n\n It requires a valid username and password to login to the ecoinvent website.\n\n These can be entered directly into the function using the keyword arguments `ei_username` and `ei_password` or entered interactively by using no a...
73
false
pjamesjoyce/lcopt
lcopt_bw2_autosetup
25,527
LDU_FT/zkbt/the-friendly-stars/from_cone
LDU_FT
[ "<BEGIN>\n## `from_coordinates`", "Iniitalize a constellation object.", " Parameters\n ----------", " ra, dec, distance, pm_ra_cosdec, pm_dec, radial_velocity\n These must be able to initialize a SkyCoord.\n id : list, array\n Identifications for the entries.\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_cone API. 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_cone API. 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...
Create a Constellation from a cone search of the sky, characterized by a positional center and a radius from it. Parameters ---------- center : SkyCoord object The center around which the query will be made. radius : float, with units of angle The angular...
"Create a Constellation from a cone search of the sky,\n characterized by a positional center and a radius from it.\n\n Parameters\n ----------\n center : SkyCoord object\n The center around which the query will be made.\n radius : float, with units of angle\n Th...
52
false
zkbt/the-friendly-stars
from_cone
25,528
LDU_FT/baccuslab/shannon/bin
LDU_FT
[ "<BEGIN>\n## `remove_symbol_from_dist`", "prob is a ndarray representing a probability distribution.\n index is a number between 0 and and the number of symbols ( len(prob)-1 )\n return the probability distribution if the element at 'index' was no longer available\n<END>", "<BEGIN>\n## `change_response`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bin API. 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 bin API. 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...
bin signal x using 'binsN' bin. If minX, maxX are None, they default to the full range of the signal. If they are not None, everything above maxX gets assigned to binsN-1 and everything below minX gets assigned to 0, this is effectively the same as clipping x before passing it to 'bin' input: -----...
"bin signal x using 'binsN' bin. If minX, maxX are None, they default to the full\n range of the signal. If they are not None, everything above maxX gets assigned to\n binsN-1 and everything below minX gets assigned to 0, this is effectively the same\n as clipping x before passing it to 'bin'\n\n input:\n ...
83
false
baccuslab/shannon
bin
25,529
LDU_FT/ansible/molecule/_get_ansible_playbook
LDU_FT
[ "<BEGIN>\n## `bake`", "Bake an ``ansible-playbook`` command so it's ready to execute and\n returns ``None``.", " :return: None\n<END>", "<BEGIN>\n## `execute`", "Executes ``ansible-playbook`` and returns a string.", " :return: str\n<END>", "<BEGIN>\n## `execute`", "Execute the act...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_ansible_playbook 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_ansible_playbook API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Get an instance of AnsiblePlaybook and returns it. :param playbook: A string containing an absolute path to a provisioner's playbook. :param kwargs: An optional keyword arguments. :return: object
"Get an instance of AnsiblePlaybook and returns it.\n\n :param playbook: A string containing an absolute path to a\n provisioner's playbook.\n :param kwargs: An optional keyword arguments.\n :return: object"
234
false
ansible/molecule
_get_ansible_playbook
25,530
LDU_FT/ethan92429/onshapepy/update
LDU_FT
[ "<BEGIN>\n## `log`", "Logs a message to the console, with optional level paramater", " Args:\n - msg (str): message to send to console\n - level (int): log level; 0 for info, 1 for error (default = 0)\n<END>", "<BEGIN>\n## `parse_quantity`", "Parse an OnShape units definition\n Args:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. 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 update API. 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 ...
Push params to OnShape and synchronize the local copy
"Push params to OnShape and synchronize the local copy"
93
false
ethan92429/onshapepy
update
25,531
LDU_FT/zsimic/runez/pop
LDU_FT
[ "<BEGIN>\n## `same_type`", ":return bool: True if 't1' and 't2' are of equivalent types\n<END>", "<BEGIN>\n## `read_json`", ":param str|None path: Path to file to deserialize\n :param dict|list|None default: Default if file is not present, or if it's not json\n :param bool|None fatal: Abort execution on...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pop API. 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 pop API. 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...
Args: anchors (str | unicode | list): Optional paths to use as anchors for short()
"Args:\n anchors (str | unicode | list): Optional paths to use as anchors for short()"
256
false
zsimic/runez
pop
25,532
LDU_FT/spyder-ide/spyder-notebook/close_client
LDU_FT
[ "<BEGIN>\n## `evaluate`", "Evaluate script in page frame.", " :param script: The script to evaluate.\n<END>", "<BEGIN>\n## `click`", "Click the targeted element.", " :param selector: A CSS3 selector to targeted element.\n :param btn: The number of mouse button.\n 0 - left b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close_client API. 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 close_client API. 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...
Close client tab from index or widget (or close current tab).
"Close client tab from index or widget (or close current tab)."
45
false
spyder-ide/spyder-notebook
close_client
25,533
LDU_FT/InfoAgeTech/django-core/map_query_string
LDU_FT
[ "<BEGIN>\n## `build_link`", "Builds an html link.", " :param href: link for the anchor element\n :param text: text for the anchor element\n :param attrs: other attribute kwargs", " >>> build_link('xyz.com', 'hello', 'big')\n u'<a href=\"xyz.com\" class=\"big\">hello</a>'\n >>> build_link('xy...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_query_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_query_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Maps the GET query string params the the query_key_mapper dict and updates the request's GET QueryDict with the mapped keys.
"Maps the GET query string params the the query_key_mapper dict and\n updates the request's GET QueryDict with the mapped keys."
206
false
InfoAgeTech/django-core
map_query_string
25,534
LDU_FT/takaakiaoki/ofblockmeshdicthelper/assign_vertexid
LDU_FT
[ "<BEGIN>\n## `format`", "Format instance to dump\n vertices is dict of name to Vertex\n<END>", "<BEGIN>\n## `format`", "Format instance to dump\n vertices is dict of name to Vertex\n<END>", "<BEGIN>\n## `face`", "Generate Face object\n index is number or keyword to identify the face o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assign_vertexid API. 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 assign_vertexid API. 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...
1. create list of Vertex which are referred by blocks only. 2. sort vertex according to (x, y, z) 3. assign sequence number for each Vertex 4. sorted list is saved as self.valid_vertices
"1. create list of Vertex which are referred by blocks only.\n 2. sort vertex according to (x, y, z)\n 3. assign sequence number for each Vertex\n 4. sorted list is saved as self.valid_vertices"
30
false
takaakiaoki/ofblockmeshdicthelper
assign_vertexid
25,535
LDU_FT/edx/edx-submissions/get_submissions
LDU_FT
[ "<BEGIN>\n## `validate_answer`", "Check that the answer is JSON-serializable and not too long.\n<END>", "<BEGIN>\n## `get_annotations`", "Inspect ScoreAnnotations to attach all relevant annotations.\n<END>", "<BEGIN>\n## `create_reset_score`", "Create a \"reset\" score (a score with a null submission).", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_submissions API. 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_submissions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Retrieves the submissions for the specified student item, ordered by most recent submitted date. Returns the submissions relative to the specified student item. Exception thrown if no submission is found relative to this location. Args: student_item_dict (dict): The location of the problem thi...
"Retrieves the submissions for the specified student item,\n ordered by most recent submitted date.\n\n Returns the submissions relative to the specified student item. Exception\n thrown if no submission is found relative to this location.\n\n Args:\n student_item_dict (dict): The location of the pro...
118
false
edx/edx-submissions
get_submissions
25,536
LDU_FT/senaite/senaite.jsonapi/get_object_by_path
LDU_FT
[ "<BEGIN>\n## `get`", "Get a JSON compatible structure for the named attribute\n<END>", "<BEGIN>\n## `json_data`", "Get a JSON compatible value of the field\n<END>", "<BEGIN>\n## `set`", "Set the attribute to the given value.", " The keyword arguments represent the other attribute values\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object_by_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object_by_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Find an object by a given physical path :param path: The physical path of the object to find :type path: string :returns: Found Object or None :rtype: object
"Find an object by a given physical path\n\n :param path: The physical path of the object to find\n :type path: string\n :returns: Found Object or None\n :rtype: object"
205
false
senaite/senaite.jsonapi
get_object_by_path
25,537
LDU_FT/datastax/python-driver/_as_dict
LDU_FT
[ "<BEGIN>\n## `check_applied`", "Raises LWTException if it looks like a failed LWT request. A LWTException\n won't be raised in the special case in which there are several failed LWT\n in a :class:`~cqlengine.query.BatchQuery`.\n<END>", "<BEGIN>\n## `add_callback`", "Add a function and arguments to be p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _as_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _as_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns a map of column names to cleaned values
"Returns a map of column names to cleaned values"
603
false
datastax/python-driver
_as_dict
25,538
LDU_FT/quantmind/dynts/rollapply
LDU_FT
[ "<BEGIN>\n## `jstimestamp_slow`", "Convert a date or datetime object into a javsacript timestamp\n<END>", "<BEGIN>\n## `jstimestamp`", "Convert a date or datetime object into a javsacript timestamp.\n<END>", "<BEGIN>\n## `rolling`", "Fast rolling operation with O(log n) updates where n is the\n win...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rollapply API. 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 rollapply API. 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...
A generic :ref:`rolling function <rolling-function>` for function *func*. Same construct as :meth:`dynts.TimeSeries.apply` but with default ``window`` set to ``20``.
"A generic :ref:`rolling function <rolling-function>`\r\n for function *func*.\r\n Same construct as :meth:`dynts.TimeSeries.apply` but with default\r\n ``window`` set to ``20``."
159
false
quantmind/dynts
rollapply
25,539
LDU_FT/gofed/gofedlib/_constructTypeQualifiedName
LDU_FT
[ "<BEGIN>\n## `compare`", "Compare two snapshots:\n\t\t- return a list of new packages in this snapshot\n\t\t- return a list of new builds in this snapshot", "\t\t:param snapshot: distribution snapshot\n\t\t:type snapshot: DistributionSnapshot\n<END>", "<BEGIN>\n## `branches`", "Return a list of branches fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _constructTypeQualifiedName API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _constructTypeQualifiedName API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
For given type construct its full qualified name. AnonymousField = [ "*" ] TypeName . TypeName = identifier | QualifiedIdent . QualifiedIdent = PackageName "." identifier .
"For given type construct its full qualified name.\n\n\t\tAnonymousField = [ \"*\" ] TypeName .\n\t\tTypeName = identifier | QualifiedIdent .\n\t\tQualifiedIdent = PackageName \".\" identifier ."
98
false
gofed/gofedlib
_constructTypeQualifiedName
25,540
LDU_FT/Robpol86/flake8-pydocstyle/readme
LDU_FT
[ "<BEGIN>\n## `load_file`", "Read file to memory.", " For stdin sourced files, this function does something super duper incredibly hacky and shameful. So so shameful. I'm\n obtaining the original source code of the target module from the only instance of pycodestyle.Checker through the\n Python garbage ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the readme API. 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 readme API. 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 ...
Try to read README.rst or return empty string if failed. :return: File contents. :rtype: str
"Try to read README.rst or return empty string if failed.\n\n :return: File contents.\n :rtype: str"
20
false
Robpol86/flake8-pydocstyle
readme
25,541
LDU_FT/lark-parser/lark/revert_cnf
LDU_FT
[ "<BEGIN>\n## `dedup_list`", "Given a list (l) will removing duplicates from the list,\n preserving the original order of the list. Assumes that\n the list entrie are hashable.\n<END>", "<BEGIN>\n## `_parse`", "Parses sentence 's' using CNF grammar 'g'.\n<END>", "<BEGIN>\n## `get_any_nt_unit_rule...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the revert_cnf API. 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 revert_cnf API. 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...
Reverts a parse tree (RuleNode) to its original non-CNF form (Node).
"Reverts a parse tree (RuleNode) to its original non-CNF form (Node)."
55
false
lark-parser/lark
revert_cnf
25,542
LDU_FT/desbma/r128gain/get_ffmpeg_lib_versions
LDU_FT
[ "<BEGIN>\n## `parse_oggopus_output_gain`", "Parse an OggOpus file headers, read and return its output gain, and set file seek position to start of Opus header.\n<END>", "<BEGIN>\n## `write_oggopus_output_gain`", "Write output gain Opus header for a file.", " file must be an object successfully used by pars...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ffmpeg_lib_versions 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_ffmpeg_lib_versions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Get FFmpeg library versions as 32 bit integers, with same format as sys.hexversion. Example: 0x3040100 for FFmpeg 3.4.1
"Get FFmpeg library versions as 32 bit integers, with same format as sys.hexversion.\n\n Example: 0x3040100 for FFmpeg 3.4.1"
14
false
desbma/r128gain
get_ffmpeg_lib_versions
25,543
LDU_FT/dj-stripe/dj-stripe/paid_totals_for
LDU_FT
[ "<BEGIN>\n## `stripe_to_db`", "Convert the raw value to decimal representation.\n<END>", "<BEGIN>\n## `stripe_to_db`", "Convert the raw timestamp value to a DateTime representation.\n<END>", "<BEGIN>\n## `from_request`", "Create, validate and process a WebhookEventTrigger given a Django\n\t\trequest objec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paid_totals_for API. 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 paid_totals_for API. 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...
Return paid Charges during a certain year, month with total amount, fee and refunded annotated.
"Return paid Charges during a certain year, month with total amount, fee and refunded annotated."
300
false
dj-stripe/dj-stripe
paid_totals_for
25,544
LDU_FT/jborean93/smbprotocol/_calculate_credit_charge
LDU_FT
[ "<BEGIN>\n## `unpack_multiple`", "Get's a list of SMB2NetworkInterfaceInfo messages from the byte value\n passed in. This is the raw buffer value that is set on the\n SMB2IOCTLResponse message.", " :param data: bytes of the messages\n :return: List of SMB2NetworkInterfaceInfo message...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _calculate_credit_charge 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 _calculate_credit_charge API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Calculates the credit charge for a request based on the command. If connection.supports_multi_credit is not True then the credit charge isn't valid so it returns 0. The credit charge is the number of credits that are required for sending/receiving data over 64 kilobytes, in the existing...
"Calculates the credit charge for a request based on the command. If\n connection.supports_multi_credit is not True then the credit charge\n isn't valid so it returns 0.\n\n The credit charge is the number of credits that are required for\n sending/receiving data over 64 kilobytes, in the ex...
106
false
jborean93/smbprotocol
_calculate_credit_charge
25,545
LDU_FT/cbclab/MOT/_sample
LDU_FT
[ "<BEGIN>\n## `get_historical_data`", "Get the historical tank data.", " Args:\n nmr_problems (int): the number of problems", " Returns:\n tuple: (observations, nmr_tanks_ground_truth)\n<END>", "<BEGIN>\n## `get_simulated_data`", "Simulate some data.", " This returns the simulated ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _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 extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _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 extracted...
Sample the given number of samples with the given thinning. If ``return_output`` we will return the samples, log likelihoods and log priors. If not, we will advance the state of the sampler without returning storing the samples. Args: nmr_samples (int): the number of iterations to ...
"Sample the given number of samples with the given thinning.\n\n If ``return_output`` we will return the samples, log likelihoods and log priors. If not, we will advance the\n state of the sampler without returning storing the samples.\n\n Args:\n nmr_samples (int): the number of iterati...
445
false
cbclab/MOT
_sample
25,546
LDU_FT/brainiak/brainiak/get_factors
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_factors API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_factors API. 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...
Calculate factors based on centers and widths Parameters ---------- unique_R : a list of array, Each element contains unique value in one dimension of scanner coordinate matrix R. inds : a list of array, Each element contains the indices to reconstr...
"Calculate factors based on centers and widths\n\n Parameters\n ----------\n\n unique_R : a list of array,\n Each element contains unique value in one dimension of\n scanner coordinate matrix R.\n\n inds : a list of array,\n Each element contains the indices ...
1,513
true
brainiak/brainiak
get_factors
25,547
LDU_FT/MisterY/asset-allocation/fullname
LDU_FT
[ "<BEGIN>\n## `get_symbols_with_positive_balances`", "Identifies all the securities with positive balances\n<END>", "<BEGIN>\n## `__get_pricedb_session`", "Provides initialization and access to module-level session\n<END>", "<BEGIN>\n## `format`", "Returns the view-friendly output of the aa model\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fullname API. 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 fullname API. 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...
includes the full path with parent names
"includes the full path with parent names"
56
false
MisterY/asset-allocation
fullname
25,548
LDU_FT/django-treebeard/django-treebeard/get_mysql_update_depth_in_branch
LDU_FT
[ "<BEGIN>\n## `get_foreign_keys`", "Get foreign keys and models they refer to, so we can pre-process\n the data for load_bulk\n<END>", "<BEGIN>\n## `_process_foreign_keys`", "For each foreign key try to load the actual object so load_bulk\n doesn't fail trying to load an int where django expects ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mysql_update_depth_in_branch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mysql_update_depth_in_branch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
:returns: The sql needed to update the depth of all the nodes in a branch.
":returns: The sql needed to update the depth of all the nodes in a\n branch."
194
false
django-treebeard/django-treebeard
get_mysql_update_depth_in_branch
25,549
LDU_FT/OpenTreeOfLife/peyotl/TaxonomicAmendmentStore
LDU_FT
[ "<BEGIN>\n## `write_taxon_info`", "Writes out data from `taxon` to the `output` stream to demonstrate\n the attributes of a taxon object.\n (currently some lines are commented out until the web-services call returns more info. See:\n https://github.com/OpenTreeOfLife/taxomachine/issues/85\n ).\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the TaxonomicAmendmentStore 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 TaxonomicAmendmentStore API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Factory function for a _TaxonomicAmendmentStore object. A wrapper around the _TaxonomicAmendmentStore class instantiation for the most common use case: a singleton _TaxonomicAmendmentStore. If you need distinct _TaxonomicAmendmentStore objects, you'll need to call that class directly.
"Factory function for a _TaxonomicAmendmentStore object.\n\n A wrapper around the _TaxonomicAmendmentStore class instantiation for\n the most common use case: a singleton _TaxonomicAmendmentStore.\n If you need distinct _TaxonomicAmendmentStore objects, you'll need to\n call that class directly."
456
false
OpenTreeOfLife/peyotl
TaxonomicAmendmentStore
25,550
LDU_FT/zeaphoo/reston/get_app_name
LDU_FT
[ "<BEGIN>\n## `get_access_flags_string`", "Transform an access flags to the corresponding string", " :param value: the value of the access flags\n :type value: int", " :rtype: string\n<END>", "<BEGIN>\n## `get_shorty_idx_value`", "Return the string associated to the shorty_idx", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_app_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_app_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Return the appname of the APK :rtype: string
"Return the appname of the APK\n\n :rtype: string"
152
false
zeaphoo/reston
get_app_name
25,551
LDU_FT/port-zero/mite/edit_service
LDU_FT
[ "<BEGIN>\n## `request`", "Low-level request interface to mite. Takes a HTTP request scheme (lower\n case!), a URL to request (relative), and optionally data to add to the\n request. Either returns the JSON body of the request or raises a \n HttpException.\n<END>", "<BEGIN>\n## `get`", "Lo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edit_service API. 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 edit_service API. 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...
Edits a service by ID. All fields available at creation can be updated as well. If you want to update hourly rates retroactively, set the argument `update_hourly_rate_on_time_entries` to True.
"Edits a service by ID. All fields available at creation can be updated\n as well. If you want to update hourly rates retroactively, set the\n argument `update_hourly_rate_on_time_entries` to True."
32
false
port-zero/mite
edit_service
25,552
LDU_FT/Brazelton-Lab/bio_utils/iterate
LDU_FT
[ "<BEGIN>\n## `binary_guesser`", "Raise error if file not likely binary", " Guesses if a file is binary, raises error if file is not likely binary,\n then returns to location in file when handle passed to binary_guesser.", " Args:\n handle (file): File handle of file thought to be binary", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iterate API. 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 iterate API. 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...
Iterate over B6/M8 file and return B6/M8 entries Args: start_line (str): Next B6/M8 entry. If 'handle' has been partially read and you want to start iterating at the next entry, read the next B6/M8 entry and pass it to this variable when calling b6_...
"Iterate over B6/M8 file and return B6/M8 entries\n\n Args:\n start_line (str): Next B6/M8 entry. If 'handle' has been partially\n read and you want to start iterating at the next entry, read \n the next B6/M8 entry and pass it to this variable when calling \n ...
158
false
Brazelton-Lab/bio_utils
iterate
25,553
LDU_FT/ryanmcgrath/twython/get_authorized_tokens
LDU_FT
[ "<BEGIN>\n## `update_status_with_media`", "Updates the authenticating user's current status and attaches media\n for upload. In other words, it creates a Tweet with a picture attached.", " Docs:\n https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-updat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_authorized_tokens API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_authorized_tokens API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Returns a dict of authorized tokens after they go through the :class:`get_authentication_tokens` phase. :param oauth_verifier: (required) The oauth_verifier (or a.k.a PIN for non web apps) retrieved from the callback url querystring :rtype: dict
"Returns a dict of authorized tokens after they go through the\n :class:`get_authentication_tokens` phase.\n\n :param oauth_verifier: (required) The oauth_verifier (or a.k.a PIN\n for non web apps) retrieved from the callback url querystring\n :rtype: dict"
80
false
ryanmcgrath/twython
get_authorized_tokens
25,554
LDU_FT/dpkp/kafka-python/ready
LDU_FT
[ "<BEGIN>\n## `send_fetches`", "Send FetchRequests for all assigned partitions that do not already have\n an in-flight fetch or pending fetch data.", " Returns:\n List of Futures: each future resolves to a FetchResponse\n<END>", "<BEGIN>\n## `reset_offsets_if_needed`", "Lookup and se...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ready API. 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 ready API. 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...
Get a list of nodes whose partitions are ready to be sent, and the earliest time at which any non-sendable partition will be ready; Also return the flag for whether there are any unknown leaders for the accumulated partition batches. A destination node is ready to send if: * T...
"Get a list of nodes whose partitions are ready to be sent, and the\n earliest time at which any non-sendable partition will be ready;\n Also return the flag for whether there are any unknown leaders for the\n accumulated partition batches.\n\n A destination node is ready to send if:\n\n ...
787
false
dpkp/kafka-python
ready
25,555
LDU_FT/ranaroussi/qtpylib/stoch
LDU_FT
[ "<BEGIN>\n## `load_cli_args`", "Parse command line arguments and return only the non-default ones", " :Retruns: dict\n a dict of any non-default args passed on the command-line.\n<END>", "<BEGIN>\n## `run`", "Starts the reporting module", " Makes the dashboard web app available vi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stoch API. 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 stoch API. 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...
compute the n period relative strength indicator http://excelta.blogspot.co.il/2013/09/stochastic-oscillator-technical.html
"compute the n period relative strength indicator\n http://excelta.blogspot.co.il/2013/09/stochastic-oscillator-technical.html"
155
false
ranaroussi/qtpylib
stoch
25,556
LDU_FT/jay-johnson/spylunking/get_session_key
LDU_FT
[ "<BEGIN>\n## `perform_exit`", "perform_exit", " Handling at-the-exit events\n ---------------------------", " This will cleanup each worker process which\n could be in the middle of a request/sleep/block\n action. This has been tested on python 3 with\n Celery and single processes.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_session_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 e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_session_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 e...
get_session_key This will get a user session key and throw for any errors :param user: username :param password: password :param url: splunk auth url :param verify: verify cert :param ssl_options: ssl options dictionary
"get_session_key\n\n This will get a user session key and throw for any errors\n\n :param user: username\n :param password: password\n :param url: splunk auth url\n :param verify: verify cert\n :param ssl_options: ssl options dictionary"
121
false
jay-johnson/spylunking
get_session_key
25,557
LDU_FT/franciscogarate/pyliferisk/aaxn
LDU_FT
[ "<BEGIN>\n## `qx`", "qx: Returns the probability that a life aged x dies before 1 year\n With the convention: the true probability is qx/1000\n Args:\n mt: the mortality table\n x: the age as integer number.\n<END>", "<BEGIN>\n## `lx`", "lx : Returns the number of survivors at begi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aaxn API. 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 aaxn API. 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...
äxn : Return the actuarial present value of a (immediate) temporal (term certain) annuity: n-year temporary life annuity-anticipatory. Payable 'm' per year at the beginning of the period
"äxn : Return the actuarial present value of a (immediate) temporal (term certain) annuity: \n n-year temporary life annuity-anticipatory. Payable 'm' per year at the beginning of the period"
39
false
franciscogarate/pyliferisk
aaxn
25,558
LDU_FT/romanorac/discomll/fit
LDU_FT
[ "<BEGIN>\n## `random_init_map`", "Assign datapoint `e` randomly to one of the `k` clusters.\n<END>", "<BEGIN>\n## `estimate_map`", "Find the cluster `i` that is closest to the datapoint `e`.\n<END>", "<BEGIN>\n## `estimate_reduce`", "Estimate the cluster centers for each cluster.\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Algorithm maximizes energy between clusters, which is distinction in this algorithm. Distance matrix contains mostly 0, which are overlooked due to search of maximal distances. Algorithm does not try to retain k clusters. D: numpy array - Symmetric distance matrix k: int - number of clusters
"Algorithm maximizes energy between clusters, which is distinction in this algorithm. Distance matrix contains mostly 0, which are overlooked due to search of maximal distances. Algorithm does not try to retain k clusters.\n\n D: numpy array - Symmetric distance matrix\n k: int - number of clusters"
77
false
romanorac/discomll
fit
25,559
LDU_FT/liftoff/pyminifier/enumerate_keyword_args
LDU_FT
[ "<BEGIN>\n## `obfuscation_machine`", "A generator that returns short sequential combinations of lower and\n upper-case letters that will never repeat.", " If *use_unicode* is ``True``, use nonlatin cryllic, arabic, and syriac\n letters instead of the usual ABCs.", " The *identifier_length* represe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enumerate_keyword_args API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enumerate_keyword_args API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Iterates over *tokens* and returns a dictionary with function names as the keys and lists of keyword arguments as the values.
"Iterates over *tokens* and returns a dictionary with function names as the\n keys and lists of keyword arguments as the values."
160
false
liftoff/pyminifier
enumerate_keyword_args
25,560
LDU_FT/raghakot/keras-vis/_rmsprop
LDU_FT
[ "<BEGIN>\n## `visualize_activation_with_losses`", "Generates the `input_tensor` that minimizes the weighted `losses`. This function is intended for advanced\n use cases where a custom loss is desired.", " Args:\n input_tensor: An input tensor of shape: `(samples, channels, image_dims...)` if `image...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _rmsprop API. 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 _rmsprop API. 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...
Uses RMSProp to compute step from gradients. Args: grads: numpy array of gradients. cache: numpy array of same shape as `grads` as RMSProp cache decay_rate: How fast to decay cache Returns: A tuple of step: numpy array of the same shape a...
"Uses RMSProp to compute step from gradients.\n\n Args:\n grads: numpy array of gradients.\n cache: numpy array of same shape as `grads` as RMSProp cache\n decay_rate: How fast to decay cache\n\n Returns:\n A tuple of\n step: numpy array of the sa...
138
false
raghakot/keras-vis
_rmsprop
25,561
LDU_FT/ga4gh/ga4gh-client/addContinuousSearchOptions
LDU_FT
[ "<BEGIN>\n## `_run_search_request`", "Runs the specified request at the specified object_name and\n instantiates an object of the specified class. We yield each object in\n listAttr. If pages of results are present, repeat this process\n until the pageToken is null.\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addContinuousSearchOptions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addContinuousSearchOptions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Adds common options to a continuous search command line parser.
"Adds common options to a continuous search command line parser."
104
false
ga4gh/ga4gh-client
addContinuousSearchOptions
25,562
LDU_FT/liftoff/pyminifier/enumerate_import_methods
LDU_FT
[ "<BEGIN>\n## `obfuscation_machine`", "A generator that returns short sequential combinations of lower and\n upper-case letters that will never repeat.", " If *use_unicode* is ``True``, use nonlatin cryllic, arabic, and syriac\n letters instead of the usual ABCs.", " The *identifier_length* represe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enumerate_import_methods 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 enumerate_import_methods API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Returns a list of imported module methods (such as re.compile) inside *tokens*.
"Returns a list of imported module methods (such as re.compile) inside\n *tokens*."
160
false
liftoff/pyminifier
enumerate_import_methods
25,563
LDU_FT/StorjOld/plowshare-wrapper/parse_output
LDU_FT
[ "<BEGIN>\n## `_run_command`", "Wrapper to pass command to plowshare.", " :param command: The command to pass to plowshare.\n :type command: str\n :param **kwargs: Additional keywords passed into\n :type **kwargs: dict\n :returns: Object containing either output of plowshare co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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. The extr...
Parse plowup's output. For now, we just return the last line. :param hostname: Name of host you are working with. :type hostname: str :param output: Dictionary containing information about a plowshare action. :type output: dict :returns: Parsed an...
"Parse plowup's output.\n\n For now, we just return the last line.\n\n :param hostname: Name of host you are working with.\n :type hostname: str\n :param output: Dictionary containing information about a plowshare\n action.\n :type output: dict\n :returns:...
32
false
StorjOld/plowshare-wrapper
parse_output
25,564
LDU_FT/neithere/monk/_merge
LDU_FT
[ "<BEGIN>\n## `_insert_defaults`", "Inserts default values from :attr:`StructuredDictMixin.structure`\n to `self` by merging the two structures\n (see :func:`monk.manipulation.merge_defaults`).\n<END>", "<BEGIN>\n## `opt_key`", "Returns a validator which allows the value to be missing.\n Simil...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _merge API. 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 _merge API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Returns a list based on `value`: * missing required value is converted to an empty list; * missing required items are never created; * nested items are merged recursively.
"Returns a list based on `value`:\n\n * missing required value is converted to an empty list;\n * missing required items are never created;\n * nested items are merged recursively."
64
false
neithere/monk
_merge
25,565
LDU_FT/blue-yonder/tsfresh/last_location_of_minimum
LDU_FT
[ "<BEGIN>\n## `_function_with_partly_reduce`", "Small helper function to call a function (map_function)\n on a list of data chunks (chunk_list) and convert the results into\n a flattened list.", " This function is used to send chunks of data with a size larger than 1 to\n the workers in parallel and ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the last_location_of_minimum 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 last_location_of_minimum API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Returns the last location of the minimal value of x. The position is calculated relatively to the length of x. :param x: the time series to calculate the feature of :type x: numpy.ndarray :return: the value of this feature :return type: float
"Returns the last location of the minimal value of x.\n The position is calculated relatively to the length of x.\n\n :param x: the time series to calculate the feature of\n :type x: numpy.ndarray\n :return: the value of this feature\n :return type: float"
615
false
blue-yonder/tsfresh
last_location_of_minimum
25,566
LDU_FT/gmr/tredis/mset
LDU_FT
[ "<BEGIN>\n## `auth`", "Request for authentication in a password-protected Redis server.\n Redis can be instructed to require a password before allowing clients\n to execute commands. This is done using the ``requirepass`` directive\n in the configuration file.", " If the password doe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mset API. 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 mset API. 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...
Sets the given keys to their respective values. :meth:`~tredis.RedisClient.mset` replaces existing values with new values, just as regular :meth:`~tredis.RedisClient.set`. See :meth:`~tredis.RedisClient.msetnx` if you don't want to overwrite existing values. :meth:`~tredis.Redis...
"Sets the given keys to their respective values.\n :meth:`~tredis.RedisClient.mset` replaces existing values with new\n values, just as regular :meth:`~tredis.RedisClient.set`. See\n :meth:`~tredis.RedisClient.msetnx` if you don't want to overwrite\n existing values.\n\n :meth:`~tredi...
523
false
gmr/tredis
mset
25,567
LDU_FT/pymupdf/PyMuPDF/_le_slash
LDU_FT
[ "<BEGIN>\n## `_Widget_fontdict`", "Turns the above font definitions into a dictionary. Assumes certain line breaks and spaces.\n<END>", "<BEGIN>\n## `getTextlength`", "Calculate length of a string for a given built-in font.", " Args:\n fontname: name of the font.\n fontsize: size of font in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _le_slash API. 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 _le_slash API. 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...
Make stream commands for slash line end symbol. "lr" denotes left (False) or right point.
"Make stream commands for slash line end symbol. \"lr\" denotes left (False) or right point."
282
false
pymupdf/PyMuPDF
_le_slash
25,568
LDU_FT/mkouhei/bootstrap-py/print_licences
LDU_FT
[ "<BEGIN>\n## `print_licences`", "Print licenses.", " :param argparse.Namespace params: parameter\n :param bootstrap_py.classifier.Classifiers metadata: package metadata\n<END>", "<BEGIN>\n## `check_repository_existence`", "Check repository existence.", " :param argparse.Namespace params: paramete...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_licences API. 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 print_licences API. 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...
Print licenses. :param argparse.Namespace params: parameter :param bootstrap_py.classifier.Classifiers metadata: package metadata
"Print licenses.\n\n :param argparse.Namespace params: parameter\n :param bootstrap_py.classifier.Classifiers metadata: package metadata"
28
false
mkouhei/bootstrap-py
print_licences
25,569
LDU_FT/JNRowe/upoints/element_creator
LDU_FT
[ "<BEGIN>\n## `import_locations`", "Parse zoneinfo zone description data files.", " ``import_locations()`` returns a list of :class:`Zone` objects.", " It expects data files in one of the following formats::", " AN\t+1211-06900\tAmerica/Curacao\n AO\t-0848+01314\tAfrica/Lu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the element_creator API. 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 element_creator API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Create a simple namespace-aware objectify element creator. Args: namespace (str): Namespace to work in Returns: function: Namespace-aware element creator
"Create a simple namespace-aware objectify element creator.\n\n Args:\n namespace (str): Namespace to work in\n\n Returns:\n function: Namespace-aware element creator"
438
false
JNRowe/upoints
element_creator
25,570
LDU_FT/ardydedase/pycouchbase/handle_durability
LDU_FT
[ "<BEGIN>\n## `_add_err`", "Sets the error on this MultiResult. Will be ignored if an error is\n already set.\n :param exinfo: Return value from ``sys.exc_info()``\n<END>", "<BEGIN>\n## `_add_bad_rc`", "Sets an error with a bad return code. Handles 'quiet' logic\n :param rc: The error code...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_durability API. 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 handle_durability API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Handle durability requirements passed inside options :param parent: The parent bucket import :param kwargs: The arguments :return: A tuple of `(found, persist_to, replicate_to)`. The first element is True if either persistence or replication has been found
"Handle durability requirements passed inside options\n :param parent: The parent bucket import\n :param kwargs: The arguments\n :return: A tuple of `(found, persist_to, replicate_to)`. The first\n element is True if either persistence or replication has been\n found"
76
false
ardydedase/pycouchbase
handle_durability
25,571
LDU_FT/TkTech/Jawa/pack
LDU_FT
[ "<BEGIN>\n## `_walk`", "A modified os.walk with support for maximum traversal depth.\n<END>", "<BEGIN>\n## `update`", "Add one or more ClassFile sources to the class loader.", " If a given source is a directory path, it is traversed up to the\n maximum set depth and all files under it are adde...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pack API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pack API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Write the AttributeTable to the file-like object `out`. .. note:: Advanced usage only. You will typically never need to call this method as it will be called for you when saving a ClassFile. :param out: Any file-like object providing `write()`
"Write the AttributeTable to the file-like object `out`.\n\n .. note::\n\n Advanced usage only. You will typically never need to call this\n method as it will be called for you when saving a ClassFile.\n\n :param out: Any file-like object providing `write()`"
226
false
TkTech/Jawa
pack
25,572