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/skioo/django-customer-billing/due
LDU_FT
[ "<BEGIN>\n## `close`", "Closes the account.", " :param account_id: the account to close\n :return: Nothing\n<END>", "<BEGIN>\n## `create_invoices`", "Creates the invoices for any due positive charges in the account.\n If there are due positive charges in different currencies, one invoice is created...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the due API. 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 due API. 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...
The amount due for this invoice. Takes into account all entities in the invoice. Can be < 0 if the invoice was overpaid.
"The amount due for this invoice. Takes into account all entities in the invoice.\n Can be < 0 if the invoice was overpaid."
40
false
skioo/django-customer-billing
due
32,573
LDU_FT/alvinwan/TexSoup/children
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 children API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the children API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
r"""Immediate children of this TeX element that are valid TeX objects. This is equivalent to contents, excluding text elements and keeping only Tex expressions. :return: generator of all children :rtype: Iterator[TexExpr] >>> from TexSoup import TexSoup >>> soup = TexS...
"r\"\"\"Immediate children of this TeX element that are valid TeX objects.\n\n This is equivalent to contents, excluding text elements and keeping only\n Tex expressions.\n\n :return: generator of all children\n :rtype: Iterator[TexExpr]\n\n >>> from TexSoup import TexSoup\n >>...
166
false
alvinwan/TexSoup
children
32,574
LDU_FT/MoseleyBioinformaticsLab/nmrstarlib/_generate_filenames
LDU_FT
[ "<BEGIN>\n## `csview`", "View chemical shift values organized by amino acid residue.", " :param view: Open in default image viewer or save file in current working directory quietly.\n :type view: :py:obj:`True` or :py:obj:`False`\n :return: None\n :rtype: :py:obj:`None`\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_filenames API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_filenames API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Generate filenames. :param tuple sources: Sequence of strings representing path to file(s). :return: Path to file(s). :rtype: :py:class:`str`
"Generate filenames.\n\n :param tuple sources: Sequence of strings representing path to file(s).\n :return: Path to file(s).\n :rtype: :py:class:`str`"
117
false
MoseleyBioinformaticsLab/nmrstarlib
_generate_filenames
32,575
LDU_FT/mvantellingen/localshop/md5_hash_file
LDU_FT
[ "<BEGIN>\n## `get_search_names`", "Return a list of values to search on when we are looking for a package\n with the given name.", " This is required to search on both pyramid_debugtoolbar and\n pyramid-debugtoolbar.\n<END>", "<BEGIN>\n## `alter_old_distutils_request`", "Alter the request body for ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the md5_hash_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the md5_hash_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Return the md5 hash of the given file-object
"Return the md5 hash of the given file-object"
27
false
mvantellingen/localshop
md5_hash_file
32,576
LDU_FT/nats-io/python-nats/subscribe_async
LDU_FT
[ "<BEGIN>\n## `parse`", "Parses the wire protocol from NATS for the client\n and dispatches the subscription callbacks.\n<END>", "<BEGIN>\n## `connect`", "Establishes a connection to a NATS server.", " Examples:", " # Configure pool of NATS servers.\n nc = nats.io.client.Cli...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subscribe_async API. 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 subscribe_async API. 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...
Schedules callback from subscription to be processed asynchronously in the next iteration of the loop.
"Schedules callback from subscription to be processed asynchronously\n in the next iteration of the loop."
62
false
nats-io/python-nats
subscribe_async
32,577
LDU_FT/pennlabs/penn-sdk-python/hall_status
LDU_FT
[ "<BEGIN>\n## `get_meals`", "Extract meals into old format from a DiningV2 JSON response\n<END>", "<BEGIN>\n## `menu`", "Get the menu for the venue corresponding to venue_id,\n on date.", " :param venue_id:\n A string representing the id of a venue, e.g. \"abc\".\n :param date:\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hall_status API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hall_status API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Return the status of each specific washer/dryer in a particular laundry room. :param hall_id: Integer corresponding to the id of the hall. This id is returned as part of the all_status call. >>> english_house = l.hall_status("English%20House")
"Return the status of each specific washer/dryer in a particular\n laundry room.\n\n :param hall_id:\n Integer corresponding to the id of the hall. This id\n is returned as part of the all_status call.\n\n >>> english_house = l.hall_status(\"English%20House\")"
115
false
pennlabs/penn-sdk-python
hall_status
32,578
LDU_FT/JonathonReinhart/scuba/process_command
LDU_FT
[ "<BEGIN>\n## `add_env`", "Add an environment variable to the docker run invocation\n<END>", "<BEGIN>\n## `add_volume`", "Add a volume (bind-mount) to the docker run invocation\n<END>", "<BEGIN>\n## `__make_scubadir`", "Make temp directory where all ancillary files are bind-mounted\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_command API. 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 process_command API. 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...
Processes a user command using aliases Arguments: command A user command list (e.g. argv) Returns: A ScubaContext object with the following attributes: script: a list of command line strings image: the docker image name to use
"Processes a user command using aliases\n\n Arguments:\n command A user command list (e.g. argv)\n\n Returns: A ScubaContext object with the following attributes:\n script: a list of command line strings\n image: the docker image name to use"
40
false
JonathonReinhart/scuba
process_command
32,579
LDU_FT/emichael/PyREM/get_file
LDU_FT
[ "<BEGIN>\n## `synchronized`", "Function decorator to make function synchronized on ``self._lock``.", " If the first argument to the function (hopefully self) does not have a _lock\n attribute, then this decorator does nothing.\n<END>", "<BEGIN>\n## `cleanup`", "Stop all started tasks on system exit.",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Get a file from a remote host with rsync. Args: file_name (str): The relative location of the file on the remote host. local_destination (str): The destination for the file on the local host. If `None`, will be assumed to be the same as *...
"Get a file from a remote host with rsync.\n\n Args:\n file_name (str): The relative location of the file on the remote\n host.\n\n local_destination (str): The destination for the file on the local\n host. If `None`, will be assumed to be the same as\n ...
41
false
emichael/PyREM
get_file
32,580
LDU_FT/PonteIneptique/collatinus-python/_lemmatise
LDU_FT
[ "<BEGIN>\n## `assims`", "Cherche si la chaîne a peut subir une assimilation, renvoie cette chaîne éventuellement assimilée.", " :param mot: Mot pour lequel on doit vérifier des assimilations\n :type mot: str\n :return: Mot assimilé\n :rtype: str\n<END>", "<BEGIN>\n## `morpho`", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _lemmatise API. 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 _lemmatise API. 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...
Lemmatise un mot f :param f: Mot à lemmatiser :param pos: Récupère la POS :param get_lemma_object: Retrieve Lemma object instead of string representation of lemma :param check_assims: Vérifie les assimilations.
"Lemmatise un mot f\n\n :param f: Mot à lemmatiser\n :param pos: Récupère la POS\n :param get_lemma_object: Retrieve Lemma object instead of string representation of lemma\n :param check_assims: Vérifie les assimilations."
109
false
PonteIneptique/collatinus-python
_lemmatise
32,581
LDU_FT/etingof/pyasn1/setComponentByPosition
LDU_FT
[ "<BEGIN>\n## `isSameTypeWith`", "Examine |ASN.1| type for equality with other ASN.1 type.", " ASN.1 tags (:py:mod:`~pyasn1.type.tag`) and constraints\n (:py:mod:`~pyasn1.type.constraint`) are examined when carrying\n out ASN.1 types comparison.", " Python class inheritance relation...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setComponentByPosition 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 setComponentByPosition API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Assign |ASN.1| type component by position. Equivalent to Python sequence item assignment operation (e.g. `[]`) or list.append() (when idx == len(self)). Parameters ---------- idx: :class:`int` Component index (zero-based). Must either refer to existing c...
"Assign |ASN.1| type component by position.\n\n Equivalent to Python sequence item assignment operation (e.g. `[]`)\n or list.append() (when idx == len(self)).\n\n Parameters\n ----------\n idx: :class:`int`\n Component index (zero-based). Must either refer to existing\n ...
239
false
etingof/pyasn1
setComponentByPosition
32,582
LDU_FT/fakedrake/overlay_parse/fit_overlays
LDU_FT
[ "<BEGIN>\n## `rx_int_extra`", "We didn't just match an int but the int is what we need.\n<END>", "<BEGIN>\n## `offset_overlays`", "Generate overlays after offset.\n :param text: The text to be searched.\n :param offset: Match starting that index. If none just search.\n :returns: An overla...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit_overlays API. 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 fit_overlays API. 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...
First all matchers will run and then I will try to combine them. Use run_matchers to force running(True) or not running(False) the matchers. See ListMatcher for arguments.
"First all matchers will run and then I will try to combine\n them. Use run_matchers to force running(True) or not\n running(False) the matchers.\n\n See ListMatcher for arguments."
35
false
fakedrake/overlay_parse
fit_overlays
32,583
LDU_FT/v1k45/python-qBittorrent/set_max_priority
LDU_FT
[ "<BEGIN>\n## `_post`", "Method to perform POST request on the API.", " :param endpoint: Endpoint of the API.\n :param data: POST DATA for the request.\n :param kwargs: Other keyword arguments for requests.", " :return: Response of the POST request.\n<END>", "<BEGIN>\n## `_request...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_max_priority API. 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 set_max_priority API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Set torrents to maximum priority level. :param infohash_list: Single or list() of infohashes.
"Set torrents to maximum priority level.\n\n :param infohash_list: Single or list() of infohashes."
98
false
v1k45/python-qBittorrent
set_max_priority
32,584
LDU_FT/genialis/resolwe/save
LDU_FT
[ "<BEGIN>\n## `extend_settings`", "Extend the settings the manager will serialize.", " :param data_id: The :class:`~resolwe.flow.models.Data` object id\n being prepared for.\n :param files: The settings dictionary to be serialized. Keys are\n filenames, values are the objects ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. 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 save API. 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...
Override save method to catch handled errors and repackage them as 400 errors.
"Override save method to catch handled errors and repackage them as 400 errors."
627
false
genialis/resolwe
save
32,585
LDU_FT/jazzband/django-push-notifications/_add_sub_elements_from_dict
LDU_FT
[ "<BEGIN>\n## `get_prep_value`", "Return the integer value to be stored from the hex string\n<END>", "<BEGIN>\n## `from_db_value`", "Return an unsigned int representation from all db backends\n<END>", "<BEGIN>\n## `to_python`", "Return a str representation of the hexadecimal\n<END>", "<BEGIN>\n## `apns_s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_sub_elements_from_dict 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 _add_sub_elements_from_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Add SubElements to the parent element. :param parent: ElementTree.Element: The parent element for the newly created SubElement. :param sub_dict: dict: Used to create a new SubElement. See `dict_to_xml_schema` method docstring for more information. e.g.: {"example": { "attrs": { "key1": "value1", ... ...
"Add SubElements to the parent element.\n\n\t:param parent: ElementTree.Element: The parent element for the newly created SubElement.\n\t:param sub_dict: dict: Used to create a new SubElement. See `dict_to_xml_schema`\n\tmethod docstring for more information. e.g.:\n\t\t{\"example\": {\n\t\t\t\"attrs\": {\n\t\t\t\t\"ke...
61
false
jazzband/django-push-notifications
_add_sub_elements_from_dict
32,586
LDU_FT/martinmcbride/pysound/set_time
LDU_FT
[ "<BEGIN>\n## `create_buffer`", "If the value is a float, create a numpy array of the required length, filled with value\n If the value is a numpy array, check its length\n Otherwise throw a type error\n<END>", "<BEGIN>\n## `set_time`", "Update the length of the buffer in seconds\n :param time: nu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_time API. 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 set_time API. 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...
Update the length of the buffer in seconds :param time: number of seconds :return: self
"Update the length of the buffer in seconds\n :param time: number of seconds\n :return: self"
28
false
martinmcbride/pysound
set_time
32,587
LDU_FT/dw/mitogen/_get_socketpair
LDU_FT
[ "<BEGIN>\n## `setup`", "Install handlers for Mitogen loggers to redirect them into the Ansible\n display framework. Ansible installs its own logging framework handlers when\n C.DEFAULT_LOG_PATH is set, therefore disable propagation for our handlers.\n<END>", "<BEGIN>\n## `dict_diff`", "Return a dict rep...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_socketpair API. 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_socketpair API. 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 an unused socketpair, creating one if none exist.
"Return an unused socketpair, creating one if none exist."
843
false
dw/mitogen
_get_socketpair
32,588
LDU_FT/ramrod-project/database-brain/_only_if_file_not_exist
LDU_FT
[ "<BEGIN>\n## `deprecated_function`", "decorator to annotate deprecated functions", " usage @decorator(replacement=\"brain.whatever.new_function\")", " :param func_: <callable>\n :param replacement: <str>\n :param args: positional arguments\n :param kwargs:\n :return: <func_'s return value>\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _only_if_file_not_exist 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 _only_if_file_not_exist API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
horribly non-atomic :param func_: :param args: :param kwargs: :return:
"horribly non-atomic\n\n :param func_:\n :param args:\n :param kwargs:\n :return:"
165
false
ramrod-project/database-brain
_only_if_file_not_exist
32,589
LDU_FT/biolink/ontobio/inferred_types
LDU_FT
[ "<BEGIN>\n## `extract_subset`", "Find all nodes in a subset.", " We assume the oboInOwl encoding of subsets, and subset IDs are IRIs\n<END>", "<BEGIN>\n## `sparql`", "Execute a SPARQL query.", " The query is specified using `select` and `body` parameters.\n The argument for the Named ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inferred_types API. 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 inferred_types API. 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: set of reflexive inferred types for a subject. E.g. if a gene is directly associated with terms A and B, and these terms have ancestors C, D and E then the set returned will be {A,B,C,D,E} Arguments --------- subj - ID string Returns: set of class I...
"Returns: set of reflexive inferred types for a subject.\n\n E.g. if a gene is directly associated with terms A and B, and these terms have ancestors C, D and E\n then the set returned will be {A,B,C,D,E}\n \n Arguments\n ---------\n\n subj - ID string\n\n Returns: set...
526
false
biolink/ontobio
inferred_types
32,590
LDU_FT/tmr232/Sark/get_idb_graph
LDU_FT
[ "<BEGIN>\n## `get_idb_graph`", "Export IDB to a NetworkX graph.", " Use xrefs to and from functions to build a DiGraph containing all\n the functions in the IDB and all the links between them.\n The graph can later be used to perform analysis on the IDB.", " :return: nx.DiGraph()\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_idb_graph API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_idb_graph API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Export IDB to a NetworkX graph. Use xrefs to and from functions to build a DiGraph containing all the functions in the IDB and all the links between them. The graph can later be used to perform analysis on the IDB. :return: nx.DiGraph()
"Export IDB to a NetworkX graph.\n\n Use xrefs to and from functions to build a DiGraph containing all\n the functions in the IDB and all the links between them.\n The graph can later be used to perform analysis on the IDB.\n\n :return: nx.DiGraph()"
137
false
tmr232/Sark
get_idb_graph
32,591
LDU_FT/cloudendpoints/endpoints-management-python/flush
LDU_FT
[ "<BEGIN>\n## `convert_response`", "Computes a http status code and message `CheckResponse`", " The return value a tuple (code, message, api_key_is_bad) where", " code: is the http status code\n message: is the message to return\n api_key_is_bad: indicates that a given api_key is bad", " Args:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flush API. 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 flush API. 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...
Flushes this instance's cache. The driver of this instance should call this method every `flush_interval`. Returns: list['ServicecontrolServicesAllocateQuotaRequest']: corresponding to AllocateQuotaRequests that were pending
"Flushes this instance's cache.\n\n The driver of this instance should call this method every\n `flush_interval`.\n\n Returns:\n list['ServicecontrolServicesAllocateQuotaRequest']: corresponding\n to AllocateQuotaRequests that were pending"
308
false
cloudendpoints/endpoints-management-python
flush
32,592
LDU_FT/zblz/naima/plot_chain
LDU_FT
[ "<BEGIN>\n## `memoize`", "Cache decorator for functions inside model classes\n<END>", "<BEGIN>\n## `lnprior`", "Return probability of parameter values according to prior knowledge.\n Parameter limits should be done here through uniform prior ditributions\n<END>", "<BEGIN>\n## `get_sampler`", "Generate ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_chain API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_chain API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Generate a diagnostic plot of the sampler chains. Parameters ---------- sampler : `emcee.EnsembleSampler` Sampler containing the chains to be plotted. p : int (optional) Index of the parameter to plot. If omitted, all chains are plotted. last_step : bool (optional) Whether t...
"Generate a diagnostic plot of the sampler chains.\n\n Parameters\n ----------\n sampler : `emcee.EnsembleSampler`\n Sampler containing the chains to be plotted.\n p : int (optional)\n Index of the parameter to plot. If omitted, all chains are plotted.\n last_step : bool (optional)\n ...
279
false
zblz/naima
plot_chain
32,593
LDU_FT/timothydmorton/isochrones/isochrone
LDU_FT
[ "<BEGIN>\n## `interp_box`", "box is 8x3 array, though not really a box", " values is length-8 array, corresponding to values at the \"box\" coords", " TODO: should make power `p` an argument\n<END>", "<BEGIN>\n## `interp_values`", "mass_arr, age_arr, feh_arr are all arrays at which values are desire...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isochrone API. 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 isochrone API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Returns stellar models at constant age and feh, for a range of masses :param age: log10(age) of desired isochrone. :param feh: (optional) Metallicity of desired isochrone (default = 0.0) :param minm, maxm: (optional) Mass range of desired isochrone (will de...
"Returns stellar models at constant age and feh, for a range of masses\n\n :param age:\n log10(age) of desired isochrone.\n\n :param feh: (optional)\n Metallicity of desired isochrone (default = 0.0)\n\n :param minm, maxm: (optional)\n Mass range of desired isochron...
314
false
timothydmorton/isochrones
isochrone
32,594
LDU_FT/05bit/peewee-async/connect_params_async
LDU_FT
[ "<BEGIN>\n## `execute`", "Execute *SELECT*, *INSERT*, *UPDATE* or *DELETE* query asyncronously.", " :param query: peewee query instance created with ``Model.select()``,\n ``Model.update()`` etc.\n :return: result depends on query type, it's the same as for sync\n ``query.execute()`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect_params_async 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 connect_params_async API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Connection parameters for `aiomysql.Connection`
"Connection parameters for `aiomysql.Connection`"
92
false
05bit/peewee-async
connect_params_async
32,595
LDU_FT/wonambi-python/wonambi/read_group_info
LDU_FT
[ "<BEGIN>\n## `write_mnefiff`", "Export data to MNE using FIFF format.", " Parameters\n ----------\n data : instance of ChanTime\n data with only one trial\n filename : path to file\n file to export to (include '.mat')", " Notes\n -----\n It cannot store data larger than 2 GB...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_group_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_group_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Get information about groups directly from the widget.
"Get information about groups directly from the widget."
1,345
true
wonambi-python/wonambi
read_group_info
32,596
LDU_FT/deep-compute/basescript/debug
LDU_FT
[ "<BEGIN>\n## `define_log_renderer`", "the final log processor that structlog requires to render.\n<END>", "<BEGIN>\n## `define_log_processors`", "log processors that structlog executes before final rendering\n<END>", "<BEGIN>\n## `_configure_logger`", "configures a logger when required write to stderr or ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the debug API. 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 debug API. 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...
Process event and call :meth:`logging.Logger.debug` with the result.
"Process event and call :meth:`logging.Logger.debug` with the result."
25
false
deep-compute/basescript
debug
32,597
LDU_FT/remix/partridge/read_busiest_date
LDU_FT
[ "<BEGIN>\n## `extract_feed`", "Extract a subset of a GTFS zip into a new file\n<END>", "<BEGIN>\n## `write_feed_dangerously`", "Naively write a feed to a zipfile", " This function provides no sanity checks. Use it at\n your own risk.\n<END>", "<BEGIN>\n## `read_busiest_date`", "Find the earliest d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_busiest_date API. 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 read_busiest_date API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Find the earliest date with the most trips
"Find the earliest date with the most trips"
18
false
remix/partridge
read_busiest_date
32,598
LDU_FT/globality-corp/microcosm/infect
LDU_FT
[ "<BEGIN>\n## `get_root_path`", "Attempt to compute a root path for a (hopefully importable) name.", " Based in part on Flask's `root_path` calculation. See:", " https://github.com/mitsuhiko/flask/blob/master/flask/helpers.py#L777\n<END>", "<BEGIN>\n## `zip_dicts`", "Modified zip through ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the infect API. 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 infect API. 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 ...
Forcibly convert an entry-point based factory to a ScopedFactory. Must be invoked before resolving the entry point. :raises AlreadyBoundError: for non entry-points; these should be declared with @scoped_binding
"Forcibly convert an entry-point based factory to a ScopedFactory.\n\n Must be invoked before resolving the entry point.\n\n :raises AlreadyBoundError: for non entry-points; these should be declared with @scoped_binding"
68
false
globality-corp/microcosm
infect
32,599
LDU_FT/IDSIA/sacred/is_different
LDU_FT
[ "<BEGIN>\n## `open_resource`", "Open a file and also save it as a resource.", " Opens a file, reports it to the observers as a resource, and returns\n the opened file.", " In Sacred terminology a resource is a file that the experiment needed\n to access during a run. In case of a M...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_different API. 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_different API. 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...
Numpy aware comparison between two values.
"Numpy aware comparison between two values."
284
false
IDSIA/sacred
is_different
32,600
LDU_FT/dhocker/udmx-pyusb/add_values
LDU_FT
[ "<BEGIN>\n## `add_values`", "Adds an alias with list of values to the channel/value dictionary.\n<END>", "<BEGIN>\n## `are_valid_values`", "Determines if a list of values are valid DMX values (0-255).\n<END>", "<BEGIN>\n## `load_rc_file`", "Load the contents of the resource file ~/.uDMXrc\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_values API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_values API. 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...
Adds an alias with list of values to the channel/value dictionary.
"Adds an alias with list of values to the channel/value dictionary."
22
false
dhocker/udmx-pyusb
add_values
32,601
LDU_FT/hsolbrig/PyShEx/predicates
LDU_FT
[ "<BEGIN>\n## `conforms`", "`5.6.1 Schema Validation Requirement <http://shex.io/shex-semantics/#validation-requirement>`_", " A graph G is said to conform with a schema S with a ShapeMap m when:", " Every, SemAct in the startActs of S has a successful evaluation of semActsSatisfied.\n Every node n in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predicates API. 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 predicates API. 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...
redicates(G, n) is the set of predicates in neigh(G, n). predicates(G, n) = predicatesOut(G, n) ∪ predicatesIn(G, n)
"redicates(G, n) is the set of predicates in neigh(G, n).\n\n predicates(G, n) = predicatesOut(G, n) ∪ predicatesIn(G, n)"
234
false
hsolbrig/PyShEx
predicates
32,602
LDU_FT/faucamp/python-gsmmodem/lineMatchingPattern
LDU_FT
[ "<BEGIN>\n## `status`", "Status of this SMS. Can be ENROUTE, DELIVERED or FAILED", " The actual status report object may be accessed via the 'report' attribute\n if status is 'DELIVERED' or 'FAILED'\n<END>", "<BEGIN>\n## `connect`", "Opens the port and initializes the modem and SIM card", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lineMatchingPattern 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 lineMatchingPattern 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...
Searches through the specified list of strings and returns the regular expression match for the first line that matches the specified pre-compiled regex pattern, or None if no match was found Note: if you are using a regex pattern string (i.e. not already compiled), use lineMatching() instead :type patte...
"Searches through the specified list of strings and returns the regular expression \n match for the first line that matches the specified pre-compiled regex pattern, or None if no match was found\n\n Note: if you are using a regex pattern string (i.e. not already compiled), use lineMatching() instead\n\n :type...
214
false
faucamp/python-gsmmodem
lineMatchingPattern
32,603
LDU_FT/minio/minio-py/fput_object
LDU_FT
[ "<BEGIN>\n## `run`", "Continously receive tasks and execute them\n<END>", "<BEGIN>\n## `result`", "Stop threads and return the result of all called tasks\n<END>", "<BEGIN>\n## `xml_marshal_bucket_constraint`", "Marshal's bucket constraint based on *region*.", " :param region: Region name of a given b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fput_object API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fput_object API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Add a new object to the cloud storage server. Examples: minio.fput_object('foo', 'bar', 'filepath', 'text/plain') :param bucket_name: Bucket to read object from. :param object_name: Name of the object to read. :param file_path: Local file path to be uploaded. :param...
"Add a new object to the cloud storage server.\n\n Examples:\n minio.fput_object('foo', 'bar', 'filepath', 'text/plain')\n\n :param bucket_name: Bucket to read object from.\n :param object_name: Name of the object to read.\n :param file_path: Local file path to be uploaded.\n ...
331
false
minio/minio-py
fput_object
32,604
LDU_FT/chaosim/dao/char_on_predicate
LDU_FT
[ "<BEGIN>\n## `char_on_predicate`", "return current char and step if @test succeed, where \r\n @test: a python function with one argument, which tests on one char and return True or False\r\n @test must be registered with register_function\n<END>", "<BEGIN>\n## `char_between`", "return current char an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the char_on_predicate API. 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 char_on_predicate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
return current char and step if @test succeed, where @test: a python function with one argument, which tests on one char and return True or False @test must be registered with register_function
"return current char and step if @test succeed, where \r\n @test: a python function with one argument, which tests on one char and return True or False\r\n @test must be registered with register_function"
10
false
chaosim/dao
char_on_predicate
32,605
LDU_FT/NatLibFi/Skosify/find_reachable
LDU_FT
[ "<BEGIN>\n## `read_rdf`", "Read a list of RDF files and/or RDF graphs. May raise an Exception.\n<END>", "<BEGIN>\n## `mapping_get`", "Look up the URI in the given mapping and return the result.", " Throws KeyError if no matching mapping was found.\n<END>", "<BEGIN>\n## `mapping_match`", "Determine wh...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_reachable API. 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 find_reachable API. 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 set of reachable resources starting from the given resource, excluding the seen set of resources. Note that the seen set is modified in-place to reflect the ongoing traversal.
"Return the set of reachable resources starting from the given resource,\n excluding the seen set of resources.\n\n Note that the seen set is modified\n in-place to reflect the ongoing traversal."
109
false
NatLibFi/Skosify
find_reachable
32,606
LDU_FT/productml/blurr/starts_with
LDU_FT
[ "<BEGIN>\n## `run_evaluate`", "Overrides the base evaluation to set the value to the evaluation result of the value\n expression in the schema\n<END>", "<BEGIN>\n## `set`", "Sets the value of a key to a supplied value\n<END>", "<BEGIN>\n## `increment`", "Increments the value set against a key. If ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the starts_with API. 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 starts_with API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Checks if this key starts with the other key provided. Returns False if key_type, identity or group are different. For `KeyType.TIMESTAMP` returns True. For `KeyType.DIMENSION` does prefix match between the two dimensions property.
"Checks if this key starts with the other key provided. Returns False if key_type, identity\n or group are different.\n For `KeyType.TIMESTAMP` returns True.\n For `KeyType.DIMENSION` does prefix match between the two dimensions property."
119
false
productml/blurr
starts_with
32,607
LDU_FT/crdoconnor/commandlib/pexpect
LDU_FT
[ "<BEGIN>\n## `_check_directory`", "Raise exception if directory does not exist.\n<END>", "<BEGIN>\n## `env`", "Dict of all environment variables that will be run with this command.\n<END>", "<BEGIN>\n## `ignore_errors`", "Return new command object that will not raise an exception when\n return code...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pexpect API. 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 pexpect API. 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...
Run command and return pexpect process object. NOTE: Requires you to pip install 'pexpect' or will fail.
"Run command and return pexpect process object.\n\n NOTE: Requires you to pip install 'pexpect' or will fail."
30
false
crdoconnor/commandlib
pexpect
32,608
LDU_FT/digidotcom/python-devicecloud/create_stream
LDU_FT
[ "<BEGIN>\n## `_parse_command_response`", "Parse an SCI command response into ElementTree XML", " This is a helper method that takes a Requests Response object\n of an SCI command response and will parse it into an ElementTree Element\n representing the root of the XML response.", " :param response...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_stream API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_stream API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Create a new data stream on Device Cloud This method will attempt to create a new data stream on Device Cloud. This method will only succeed if the stream does not already exist. :param str stream_id: The path/id of the stream being created on Device Cloud. :param str data_type: The ty...
"Create a new data stream on Device Cloud\n\n This method will attempt to create a new data stream on Device Cloud.\n This method will only succeed if the stream does not already exist.\n\n :param str stream_id: The path/id of the stream being created on Device Cloud.\n :param str data_type:...
366
false
digidotcom/python-devicecloud
create_stream
32,609
LDU_FT/MoseleyBioinformaticsLab/nmrstarlib/apply_noise
LDU_FT
[ "<BEGIN>\n## `csview`", "View chemical shift values organized by amino acid residue.", " :param view: Open in default image viewer or save file in current working directory quietly.\n :type view: :py:obj:`True` or :py:obj:`False`\n :return: None\n :rtype: :py:obj:`None`\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_noise API. 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 apply_noise API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Apply noise to dimensions within a peak. :param noise_generator: Noise generator object. :param int split_idx: Index specifying which peak list split parameters to use. :return: None :rtype: :py:obj:`None`
"Apply noise to dimensions within a peak.\n\n :param noise_generator: Noise generator object.\n :param int split_idx: Index specifying which peak list split parameters to use.\n :return: None\n :rtype: :py:obj:`None`"
117
false
MoseleyBioinformaticsLab/nmrstarlib
apply_noise
32,610
LDU_FT/learningequality/ricecooker/generate_contentinfo_from_folder
LDU_FT
[ "<BEGIN>\n## `_write_to_zip`", "_write_to_zip: Write file to zip\n Args:\n path: (str) where in zip to write file\n contents: (str) contents of file to write\n Returns: None\n<END>", "<BEGIN>\n## `_commit`", "_commit: Adds folder/file to map\n Arg...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_contentinfo_from_folder 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 generate_contentinfo_from_folder API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
Create a topic node row in Content.csv for the folder at `rel_path` and add content node rows for all the files in the `rel_path` folder.
"Create a topic node row in Content.csv for the folder at `rel_path` and\n add content node rows for all the files in the `rel_path` folder."
364
false
learningequality/ricecooker
generate_contentinfo_from_folder
32,611
LDU_FT/developersociety/django-glitter/get_embed_url
LDU_FT
[ "<BEGIN>\n## `get_templates`", "Return a list of templates usable by a model.\n<END>", "<BEGIN>\n## `attach`", "Registers the given layout(s) classes\n admin site:", " @pages.register(Page)\n class Default(PageLayout):\n pass\n<END>", "<BEGIN>\n## `get_formset`", "Default user to the cur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_embed_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_embed_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Get correct embed url for Youtube or Vimeo.
"Get correct embed url for Youtube or Vimeo."
80
false
developersociety/django-glitter
get_embed_url
32,612
LDU_FT/williballenthin/python-evtx/dosdate
LDU_FT
[ "<BEGIN>\n## `xml_records`", "If the second return value is not None, then it is an\n Exception encountered during parsing. The first return value\n will be the XML string.", " @type filename str\n @rtype: generator of (etree.Element or str), (None or Exception)\n<END>", "<BEGIN>\n## `templat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dosdate API. 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 dosdate API. 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...
`dosdate`: 2 bytes, little endian. `dostime`: 2 bytes, little endian. returns: datetime.datetime or datetime.datetime.min on error
"`dosdate`: 2 bytes, little endian.\n `dostime`: 2 bytes, little endian.\n returns: datetime.datetime or datetime.datetime.min on error"
73
false
williballenthin/python-evtx
dosdate
32,613
LDU_FT/MartinThoma/mpu/remove_indices
LDU_FT
[ "<BEGIN>\n## `timing`", "Measure the execution time of a function call and print the result.\n<END>", "<BEGIN>\n## `deprecated`", "Mark functions as deprecated.", " It will result in a warning being emitted when the function is used.\n<END>", "<BEGIN>\n## `get_currency`", "Convert an identifier for a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_indices API. 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_indices API. 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...
Remove rows by which have the given indices. Parameters ---------- indices : list Returns ------- filtered_list : EList
"Remove rows by which have the given indices.\n\n Parameters\n ----------\n indices : list\n\n Returns\n -------\n filtered_list : EList"
255
false
MartinThoma/mpu
remove_indices
32,614
LDU_FT/ccubed/PyMoe/update
LDU_FT
[ "<BEGIN>\n## `to_xml`", "Convert data to XML String.\n :return: Str of valid XML data\n<END>", "<BEGIN>\n## `search`", "Search for a user by name.", " :param str term: What to search for.\n :return: The results as a SearchWrapper iterator or None if no results.\n :rtype: SearchWr...
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 ...
Update a user's data. Requires an auth token. :param uid str: User ID to update :param data dict: The dictionary of data attributes to change. Just the attributes. :param token str: The authorization token for this user :return: True or Exception :rtype: Bool or ServerError
"Update a user's data. Requires an auth token.\n\n :param uid str: User ID to update\n :param data dict: The dictionary of data attributes to change. Just the attributes.\n :param token str: The authorization token for this user\n :return: True or Exception\n :rtype: Bool or ServerErr...
105
false
ccubed/PyMoe
update
32,615
LDU_FT/artefactual-labs/mets-reader-writer/get_file
LDU_FT
[ "<BEGIN>\n## `register_id`", "Register a manually assigned id as used, to avoid collisions.\n<END>", "<BEGIN>\n## `parse`", "Create a new AMDSec by parsing root.", " :param root: Element or ElementTree to be parsed into an object.\n<END>", "<BEGIN>\n## `serialize`", "Serialize this amdSec and all...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Return the FSEntry that matches parameters. :param str file_uuid: UUID of the target FSEntry. :param str label: structMap LABEL of the target FSEntry. :param str type: structMap TYPE of the target FSEntry. :returns: :class:`FSEntry` that matches parameters, or None.
"Return the FSEntry that matches parameters.\n\n :param str file_uuid: UUID of the target FSEntry.\n :param str label: structMap LABEL of the target FSEntry.\n :param str type: structMap TYPE of the target FSEntry.\n :returns: :class:`FSEntry` that matches parameters, or None."
179
false
artefactual-labs/mets-reader-writer
get_file
32,616
LDU_FT/discolabs/django-shopify-auth/initialise_shopify_session
LDU_FT
[ "<BEGIN>\n## `initialise_shopify_session`", "Initialise the Shopify session with the Shopify App's API credentials.\n<END>", "<BEGIN>\n## `anonymous_required`", "Decorator requiring the current user to be anonymous (not logged in).\n<END>", "<BEGIN>\n## `login_required`", "Decorator that wraps django.cont...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initialise_shopify_session 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 initialise_shopify_session API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Initialise the Shopify session with the Shopify App's API credentials.
"Initialise the Shopify session with the Shopify App's API credentials."
11
false
discolabs/django-shopify-auth
initialise_shopify_session
32,617
LDU_FT/andialbrecht/sqlparse/get_typecast
LDU_FT
[ "<BEGIN>\n## `_group_matching`", "Groups Tokens that have beginning and end.\n<END>", "<BEGIN>\n## `group_order`", "Group together Identifier and Asc/Desc token\n<END>", "<BEGIN>\n## `_group`", "Groups together tokens that are joined by a middle token. i.e. x < y\n<END>", "<BEGIN>\n## `_reset`", "Set ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_typecast API. 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_typecast API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Returns the typecast or ``None`` of this object as a string.
"Returns the typecast or ``None`` of this object as a string."
57
false
andialbrecht/sqlparse
get_typecast
32,618
LDU_FT/thebigmunch/google-music/browse_stations_categories
LDU_FT
[ "<BEGIN>\n## `download`", "Download a song from a Google Music library.", "\t\tParameters:\n\t\t\tsong (dict): A song dict.", "\t\tReturns:\n\t\t\ttuple: Song content as bytestring, suggested filename.\n<END>", "<BEGIN>\n## `quota`", "Get the uploaded track count and allowance.", "\t\tReturns:\n\t\t\ttu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the browse_stations_categories 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 browse_stations_categories API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Get the categories from Browse Stations. Returns: list: Station categories that can contain subcategories.
"Get the categories from Browse Stations.\n\n\t\tReturns:\n\t\t\tlist: Station categories that can contain subcategories."
268
false
thebigmunch/google-music
browse_stations_categories
32,619
LDU_FT/benley/butcher/stub_main
LDU_FT
[ "<BEGIN>\n## `_metahash`", "Checksum hash of all the inputs to this rule.", " Output is invalid until collect_srcs and collect_deps have been run.", " In theory, if this hash doesn't change, the outputs won't change\n either, which makes it useful for caching.\n<END>", "<BEGIN>\n## `col...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stub_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 extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stub_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 extract...
setuptools blah: it still can't run a module as a script entry_point
"setuptools blah: it still can't run a module as a script entry_point"
118
false
benley/butcher
stub_main
32,620
LDU_FT/Tinche/cattrs/_structure_frozenset
LDU_FT
[ "<BEGIN>\n## `make_dict_unstructure_fn`", "Generate a specialized dict unstructuring function for a class.\n<END>", "<BEGIN>\n## `unstruct_strat`", "The default way of unstructuring ``attrs`` classes.\n<END>", "<BEGIN>\n## `register_structure_hook`", "Register a primitive-to-class converter function for a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _structure_frozenset 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 _structure_frozenset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Convert an iterable into a potentially generic frozenset.
"Convert an iterable into a potentially generic frozenset."
43
false
Tinche/cattrs
_structure_frozenset
32,621
LDU_FT/kellerza/pyqwikswitch/listen
LDU_FT
[ "<BEGIN>\n## `_legacy_status`", "Legacy status method from the 'qsmobile.js' library.", " Pass in the 'val' from &devices or the\n 'data' received after calling a specific ID.\n<END>", "<BEGIN>\n## `decode_qwikcord`", "Extract the qwikcord current measurements from val (CTavg, CTsum).\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listen API. 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 listen API. 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 ...
Start the &listen long poll and return immediately.
"Start the &listen long poll and return immediately."
25
false
kellerza/pyqwikswitch
listen
32,622
LDU_FT/jeffrimko/Qprompt/wrap
LDU_FT
[ "<BEGIN>\n## `_format_kwargs`", "Decorator to handle formatting kwargs to the proper names expected by\n the associated function. The formats dictionary string keys will be used as\n expected function kwargs and the value list of strings will be renamed to\n the associated key string.\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap API. 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 wrap API. 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...
Wraps the given item content between horizontal lines. Item can be a string or a function. **Examples**: :: qprompt.wrap("Hi, this will be wrapped.") # String item. qprompt.wrap(myfunc, [arg1, arg2], {'krgk': krgv}) # Func item.
"Wraps the given item content between horizontal lines. Item can be a\n string or a function.\n\n **Examples**:\n ::\n qprompt.wrap(\"Hi, this will be wrapped.\") # String item.\n qprompt.wrap(myfunc, [arg1, arg2], {'krgk': krgv}) # Func item."
46
false
jeffrimko/Qprompt
wrap
32,623
LDU_FT/log2timeline/dfdatetime/_GetTimeValues
LDU_FT
[ "<BEGIN>\n## `_GetNormalizedTimestamp`", "Retrieves the normalized timestamp.", " Returns:\n decimal.Decimal: normalized timestamp, which contains the number of\n seconds since January 1, 1970 00:00:00 and a fraction of second used\n for increased precision, or None if the normalized t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _GetTimeValues API. 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 _GetTimeValues API. 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...
Determines time values. Args: number_of_seconds (int|decimal.Decimal): number of seconds. Returns: tuple[int, int, int, int]: days, hours, minutes, seconds.
"Determines time values.\n\n Args:\n number_of_seconds (int|decimal.Decimal): number of seconds.\n\n Returns:\n tuple[int, int, int, int]: days, hours, minutes, seconds."
244
false
log2timeline/dfdatetime
_GetTimeValues
32,624
LDU_FT/lsbardel/python-stdnet/sort_by
LDU_FT
[ "<BEGIN>\n## `load_iterable`", "Load an ``iterable``.", " By default it returns a generator of data loaded via the\n :meth:`loads` method.", " :param iterable: an iterable over data to load.\n :param session: Optional :class:`stdnet.odm.Session`.\n :return: an iterable over ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort_by API. 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 sort_by API. 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...
Sort the query by the given field :parameter ordering: a string indicating the class:`Field` name to sort by. If prefixed with ``-``, the sorting will be in descending order, otherwise in ascending order. :return type: a new :class:`Query` instance.
"Sort the query by the given field\r\n\r\n:parameter ordering: a string indicating the class:`Field` name to sort by.\r\n If prefixed with ``-``, the sorting will be in descending order, otherwise\r\n in ascending order.\r\n:return type: a new :class:`Query` instance."
387
false
lsbardel/python-stdnet
sort_by
32,625
LDU_FT/pulumi/pulumi/register_resource
LDU_FT
[ "<BEGIN>\n## `do_rpc`", "Wraps a given RPC function by producing an awaitable function suitable to be run in the asyncio\n event loop. The wrapped function catches all unhandled exceptions and reports them to the exception\n future, which consumers can await upon to listen for unhandled exceptions."...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_resource API. 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 register_resource API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
registerResource registers a new resource object with a given type t and name. It returns the auto-generated URN and the ID that will resolve after the deployment has completed. All properties will be initialized to property objects that the registration operation will resolve at the right time (or remain unr...
"registerResource registers a new resource object with a given type t and name. It returns the auto-generated\n URN and the ID that will resolve after the deployment has completed. All properties will be initialized to property\n objects that the registration operation will resolve at the right time (or remain ...
98
false
pulumi/pulumi
register_resource
32,626
LDU_FT/jleinonen/pytmatrix/_set_scatter_signature
LDU_FT
[ "<BEGIN>\n## `get_SZ`", "Compute the scattering matrices for the given PSD and geometries.", " Returns:\n The new amplitude (S) and phase (Z) matrices.\n<END>", "<BEGIN>\n## `init_scatter_table`", "Initialize the scattering lookup tables.", " Initialize the scattering lookup table...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_scatter_signature API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_scatter_signature API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Mark the amplitude and scattering matrices as up to date.
"Mark the amplitude and scattering matrices as up to date."
115
false
jleinonen/pytmatrix
_set_scatter_signature
32,627
LDU_FT/markchil/gptools/_compute_dk_dtau_on_partition
LDU_FT
[ "<BEGIN>\n## `matern_function`", "r\"\"\"Matern covariance function of arbitrary dimension, for use with :py:class:`ArbitraryKernel`.", " The Matern kernel has the following hyperparameters, always referenced in\n the order listed:", " = ===== ====================================\n 0 sigma prefact...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compute_dk_dtau_on_partition API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compute_dk_dtau_on_partition API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Evaluate the term inside the sum of Faa di Bruno's formula for the given partition. Overrides the version from :py:class:`gptools.kernel.core.ChainRuleKernel` in order to get the correct behavior at the origin. Parameters ---------- tau : :py:class:`Matrix`, (`M...
"Evaluate the term inside the sum of Faa di Bruno's formula for the given partition.\n \n Overrides the version from :py:class:`gptools.kernel.core.ChainRuleKernel`\n in order to get the correct behavior at the origin.\n \n Parameters\n ----------\n tau : :py:class:`Matr...
496
false
markchil/gptools
_compute_dk_dtau_on_partition
32,628
LDU_FT/limodou/uliweb/get
LDU_FT
[ "<BEGIN>\n## `get_frame_info`", "Return a dict of information about a given traceback.\n<END>", "<BEGIN>\n## `get_sort_field`", "Get sort column info according request, the data format just likes:\r", " ?sort=fieldA.asc&sort=fieldB.desc\r", " or:\r", " ?sort=fieldA&sort=fieldB&order...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Invoke receiver functions according topic, it'll invoke receiver functions one by one, and if one receiver function return non-None value, it'll return it and break the loop.
"Invoke receiver functions according topic, it'll invoke receiver functions one by one,\r\n and if one receiver function return non-None value, it'll return it and break\r\n the loop."
886
false
limodou/uliweb
get
32,629
LDU_FT/ricmoo/pyscrypt/_write_header
LDU_FT
[ "<BEGIN>\n## `pbkdf2_single`", "Returns the result of the Password-Based Key Derivation Function 2 with\n a single iteration (i.e. count = 1).", " prf - a psuedorandom function", " See http://en.wikipedia.org/wiki/PBKDF2\n<END>", "<BEGIN>\n## `salsa20_8`", "Salsa 20/8 stream cypher; Used...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write_header API. 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 _write_header API. 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...
Writes the header to the underlying file object.
"Writes the header to the underlying file object."
33
false
ricmoo/pyscrypt
_write_header
32,630
LDU_FT/kytos/python-openflow/unpack
LDU_FT
[ "<BEGIN>\n## `in_port`", "Retrieve the 'in_port' that generated the PacketIn.", " This method will look for the OXM_TLV with type OFPXMT_OFB_IN_PORT on\n the `oxm_match_fields` field from `match` field and return its value,\n if the OXM exists.", " Returns:\n The integer...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unpack API. 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 unpack API. 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 ...
Unpack the buffer into a OxmTLV. Args: buff (bytes): The binary data to be unpacked. offset (int): If we need to shift the beginning of the data.
"Unpack the buffer into a OxmTLV.\n\n Args:\n buff (bytes): The binary data to be unpacked.\n offset (int): If we need to shift the beginning of the data."
348
false
kytos/python-openflow
unpack
32,631
LDU_FT/manolomartinez/greg/fix_linkdate
LDU_FT
[ "<BEGIN>\n## `retrieve_data_directory`", "Retrieve the data directory\n Look first into config_filename_global\n then into config_filename_user. The latter takes preeminence.\n<END>", "<BEGIN>\n## `retrieve_config`", "Retrieves a value (with a certain fallback) from the config files\n (lo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fix_linkdate API. 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 fix_linkdate API. 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...
Give a date for the entry, depending on feed.sync_by_date Save it as feed.linkdate
"Give a date for the entry, depending on feed.sync_by_date\n Save it as feed.linkdate"
26
false
manolomartinez/greg
fix_linkdate
32,632
LDU_FT/adaptive-learning/proso-apps/custom_config
LDU_FT
[ "<BEGIN>\n## `process_answer`", "This method is used during the answer streaming and is called after the\n predictive model for each answer.", " Args:\n user (int):\n identifier of ther user answering the question\n asked (int):\n identifier of t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the custom_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the custom_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Save user-specific configuration property. POST parameters (JSON keys): app_name: application name for which the configuration property is valid (e.g., proso_models) key: name of the property (e.g., predictive_model.class) value: value of the property (number, string, boolean, ....
"Save user-specific configuration property.\n\n POST parameters (JSON keys):\n app_name: application name for which the configuration property is\n valid (e.g., proso_models)\n key: name of the property (e.g., predictive_model.class)\n value: value of the property (number, string, boo...
276
false
adaptive-learning/proso-apps
custom_config
32,633
LDU_FT/Locu-Unofficial/locu-python/_http_request
LDU_FT
[ "<BEGIN>\n## `_http_request`", "Perform an HTTP Request using base_url and parameters\n given by kwargs.\n Results are expected to be given in JSON format\n and are parsed to python data structures.\n<END>", "<BEGIN>\n## `search`", "Locu Venue Search API Call Wrapper", " Args: \n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _http_request API. 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 _http_request API. 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...
Perform an HTTP Request using base_url and parameters given by kwargs. Results are expected to be given in JSON format and are parsed to python data structures.
"Perform an HTTP Request using base_url and parameters\n given by kwargs.\n Results are expected to be given in JSON format\n and are parsed to python data structures."
30
false
Locu-Unofficial/locu-python
_http_request
32,634
LDU_FT/blockstack-packages/jsontokens-py/load_verifying_key
LDU_FT
[ "<BEGIN>\n## `_unpack_token_compact`", "Unpack a compact-form serialized JWT.\n Returns (header, payload, signature, signing_input) on success\n Raises DecodeError on bad input\n<END>", "<BEGIN>\n## `_unpack_token_json`", "Unpack a JSON-serialized JWT\n Returns (headers, payload, signatures) on succe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_verifying_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_verifying_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. Th...
Optional: crypto backend object from the "cryptography" python library
"Optional: crypto backend object from the \"cryptography\" python library"
32
false
blockstack-packages/jsontokens-py
load_verifying_key
32,635
LDU_FT/acorg/dark-matter/samReferencesToStr
LDU_FT
[ "<BEGIN>\n## `iter`", "Extract BLAST records and yield C{ReadAlignments} instances.", " For each file except the first, check that the BLAST parameters are\n compatible with those found (above, in __init__) in the first file.", " @return: A generator that yields C{ReadAlignments} instance...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the samReferencesToStr 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 samReferencesToStr 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...
List SAM/BAM file reference names and lengths. @param filenameOrSamfile: Either a C{str} SAM/BAM file name or an instance of C{pysam.AlignmentFile}. @param indent: An C{int} number of spaces to indent each line. @return: A C{str} describing known reference names and their lengths.
"List SAM/BAM file reference names and lengths.\n\n @param filenameOrSamfile: Either a C{str} SAM/BAM file name or an\n instance of C{pysam.AlignmentFile}.\n @param indent: An C{int} number of spaces to indent each line.\n @return: A C{str} describing known reference names and their lengths."
601
false
acorg/dark-matter
samReferencesToStr
32,636
LDU_FT/aptivate/django-sortable-listview/get_next_sort_string
LDU_FT
[ "<BEGIN>\n## `get_querystring`", "Clean existing query string (GET parameters) by removing\n arguments that we don't want to preserve (sort parameter, 'page')\n<END>", "<BEGIN>\n## `set_sort`", "Take the sort parameter from the get parameters and split it into\n the field and the prefix\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_next_sort_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_next_sort_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. ...
If we're already sorted by the field then the sort query returned reverses the sort order.
"If we're already sorted by the field then the sort query\n returned reverses the sort order."
10
false
aptivate/django-sortable-listview
get_next_sort_string
32,637
LDU_FT/Vauxoo/cfdilib/get_documentation
LDU_FT
[ "<BEGIN>\n## `send_s3_xsd`", "This method will not be re-run always, only locally and when xsd\n are regenerated, read the test_008_force_s3_creation on test folder\n<END>", "<BEGIN>\n## `check_s3`", "This method is a helper con `cache_s3`.\n Read method `cache_s3` for more information.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_documentation API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_documentation API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
**Helper method:** should return an schema specific documentation given an element parsing or getting the `Clark's Notation`_ `{url:schema}Element` from the message error on validate method. :param str element: Element string following the Clark's Notation :param dict namespace: Element...
"**Helper method:** should return an schema specific documentation\n given an element parsing or getting the `Clark's Notation`_\n `{url:schema}Element` from the message error on validate method.\n\n :param str element: Element string following the Clark's Notation\n :param dict namespace: E...
42
false
Vauxoo/cfdilib
get_documentation
32,638
LDU_FT/Gandi/gandi.cli/pretty_echo
LDU_FT
[ "<BEGIN>\n## `mkpassword`", "Generates a random ascii string - useful to generate authinfos", " :param length: string wanted length\n :type length: ``int``", " :param chars: character population,\n defaults to alphabet (lower & upper) + numbers\n :type chars: ``str``, ``list``, ``...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pretty_echo API. 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 pretty_echo API. 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...
Display message using pretty print formatting.
"Display message using pretty print formatting."
357
false
Gandi/gandi.cli
pretty_echo
32,639
LDU_FT/reiinakano/scikit-plot/plot_elbow_curve
LDU_FT
[ "<BEGIN>\n## `plot_pca_component_variance`", "Plots PCA components' explained variance ratios. (new in v0.2.2)", " Args:\n clf: PCA instance that has the ``explained_variance_ratio_`` attribute.", " title (string, optional): Title of the generated plot. Defaults to\n \"PCA Componen...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_elbow_curve API. 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 plot_elbow_curve API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Plots elbow curve of different values of K for KMeans clustering. Args: clf: Clusterer instance that implements ``fit`` and ``fit_predict`` methods and a ``score`` parameter. X (array-like, shape (n_samples, n_features)): Data to cluster, where n_samples is the number of sa...
"Plots elbow curve of different values of K for KMeans clustering.\n\n Args:\n clf: Clusterer instance that implements ``fit`` and ``fit_predict``\n methods and a ``score`` parameter.\n\n X (array-like, shape (n_samples, n_features)):\n Data to cluster, where n_samples is the numb...
328
false
reiinakano/scikit-plot
plot_elbow_curve
32,640
LDU_FT/twidi/django-adv-cache-tag/get_all_tags_and_filters_by_function
LDU_FT
[ "<BEGIN>\n## `prepare_params`", "Prepare the parameters passed to the templatetag\n<END>", "<BEGIN>\n## `get_expire_time`", "Return the expire time passed to the templatetag.\n Must be None or an integer.\n<END>", "<BEGIN>\n## `get_version`", "Return the stringified version passed to the templateta...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_tags_and_filters_by_function API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_tags_and_filters_by_function API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i...
Return a dict with all the template tags (in the `tags` entry) and filters (in the `filters` entry) that are available. Both entries are a dict with the function as key, and a tuple with (library name, function name) as value. This is cached after the first call.
"Return a dict with all the template tags (in the `tags` entry) and filters (in the\n `filters` entry) that are available.\n Both entries are a dict with the function as key, and a tuple with (library name, function\n name) as value.\n This is cached after the first call."
34
false
twidi/django-adv-cache-tag
get_all_tags_and_filters_by_function
32,641
LDU_FT/philgyford/django-spectator/annual_event_counts_card
LDU_FT
[ "<BEGIN>\n## `generate_slug`", "A copy of spectator.core.models.SluggedModelMixin._generate_slug()\n<END>", "<BEGIN>\n## `set_slug`", "Create a slug for each Work already in the DB.\n<END>", "<BEGIN>\n## `get_kinds_data`", "Returns a dict of all the data about the kinds, keyed to the kind\n value. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the annual_event_counts_card 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 annual_event_counts_card API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Displays years and the number of events per year. kind is an Event kind (like 'cinema', 'gig', etc.) or 'all' (default). current_year is an optional date object representing the year we're already showing information about.
"Displays years and the number of events per year.\n\n kind is an Event kind (like 'cinema', 'gig', etc.) or 'all' (default).\n current_year is an optional date object representing the year we're already\n showing information about."
169
false
philgyford/django-spectator
annual_event_counts_card
32,642
LDU_FT/farshidce/touchworks-python/get_delegates
LDU_FT
[ "<BEGIN>\n## `get_token`", "get the security token by connecting to TouchWorks API\n<END>", "<BEGIN>\n## `_token_valid`", "checks if the token cached is valid or has expired by comparing\n the time token was created with current time\n :return: True if token has not expired yet and False is toke...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_delegates API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_delegates API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
invokes TouchWorksMagicConstants.ACTION_GET_ENCOUNTER_LIST_FOR_PATIENT action :return: JSON response
"invokes TouchWorksMagicConstants.ACTION_GET_ENCOUNTER_LIST_FOR_PATIENT action\n :return: JSON response"
72
false
farshidce/touchworks-python
get_delegates
32,643
LDU_FT/mobiusklein/brainpy/parse_formula
LDU_FT
[ "<BEGIN>\n## `give_repr`", "r\"\"\"Patch a class to give it a generic __repr__ method\n that works by inspecting the instance dictionary.", " Parameters\n ----------\n cls: type\n The class to add a generic __repr__ to.", " Returns\n -------\n cls: type\n The passed class is...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_formula API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_formula API. 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...
Parse a chemical formula and construct a :class:`PyComposition` object Parameters ---------- formula : :class:`str` Returns ------- :class:`PyComposition` Raises ------ ValueError If the formula doesn't match the expected pattern
"Parse a chemical formula and construct a :class:`PyComposition` object\n\n Parameters\n ----------\n formula : :class:`str`\n\n Returns\n -------\n :class:`PyComposition`\n\n Raises\n ------\n ValueError\n If the formula doesn't match the expected pattern"
33
false
mobiusklein/brainpy
parse_formula
32,644
LDU_FT/PagerDuty/pagerduty-api-python-client/get_oncall
LDU_FT
[ "<BEGIN>\n## `abilities`", "Fetch a list of permission-like strings for this account.\n<END>", "<BEGIN>\n## `set_api_key_from_file`", "Set the global api_key from a file path.\n<END>", "<BEGIN>\n## `resolve`", "Resolve an incident using a valid email address.\n<END>", "<BEGIN>\n## `reassign`", "Reassi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_oncall API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_oncall API. 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...
Retrieve this schedule's "on call" users.
"Retrieve this schedule's \"on call\" users."
113
false
PagerDuty/pagerduty-api-python-client
get_oncall
32,645
LDU_FT/tadashi-aikawa/owlmixin/load_jsonf
LDU_FT
[ "<BEGIN>\n## `from_dict`", "From dict to instance", " :param d: Dict\n :param force_snake_case: Keys are transformed to snake case in order to compliant PEP8 if True\n :param force_cast: Cast forcibly if True\n :param restrict: Prohibit extra parameters if True\n :return: Inst...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_jsonf API. 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 load_jsonf API. 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...
:param unicode fpath: :param unicode encoding: :rtype: dict | list
":param unicode fpath:\n :param unicode encoding:\n :rtype: dict | list"
248
false
tadashi-aikawa/owlmixin
load_jsonf
32,646
LDU_FT/spry-group/python-vultr/list
LDU_FT
[ "<BEGIN>\n## `create_domain`", "/v1/dns/create_domain\n POST - account\n Create a domain name in DNS", " Link: https://www.vultr.com/api/#dns_create_domain\n<END>", "<BEGIN>\n## `create_record`", "/v1/dns/create_domain\n POST - account\n Add a DNS record", " Link:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
/v1/sshkey/list GET - account List all the SSH keys on the current account Link: https://www.vultr.com/api/#sshkey_list
"/v1/sshkey/list\n GET - account\n List all the SSH keys on the current account\n\n Link: https://www.vultr.com/api/#sshkey_list"
134
false
spry-group/python-vultr
list
32,647
LDU_FT/ansible/tacacs_plus/crypt
LDU_FT
[ "<BEGIN>\n## `send`", "Send a TACACS+ message body", " :param body: packed bytes, i.e., `struct.pack(...)`\n :param req_type: TAC_PLUS_AUTHEN,\n TAC_PLUS_AUTHOR,\n TAC_PLUS_ACCT\n :param seq_no: The sequence number of the current packet....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the crypt API. 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 crypt API. 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...
TACACS+ uses a shared secret key (known to both the client and server) to obfuscate the body of sent packets. Only the packet body (not the header) is obfuscated. https://datatracker.ietf.org/doc/draft-ietf-opsawg-tacacs/?include_text=1#section-3.7 ENCRYPTED {data} == data ^ pseudo_pad The pad i...
"TACACS+ uses a shared secret key (known to both the client and server)\n to obfuscate the body of sent packets. Only the packet body (not\n the header) is obfuscated.\n\n https://datatracker.ietf.org/doc/draft-ietf-opsawg-tacacs/?include_text=1#section-3.7\n\n ENCRYPTED {data} == data ^ pseudo_pad\n\n ...
23
false
ansible/tacacs_plus
crypt
32,648
LDU_FT/nefarioustim/parker/get
LDU_FT
[ "<BEGIN>\n## `save_media`", "Store any media within model.media_list.\n<END>", "<BEGIN>\n## `get_proxy`", "Return a random proxy from proxy config.\n<END>", "<BEGIN>\n## `get`", "Return Requests response to GET request.\n<END>", "<BEGIN>\n## `get_content`", "Return content from URI if Response status ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Return Requests response to GET request.
"Return Requests response to GET request."
34
false
nefarioustim/parker
get
32,649
LDU_FT/clalancette/pycdlib/record
LDU_FT
[ "<BEGIN>\n## `parse`", "A method to parse an ISO9660 Path Table Record out of a string.", " Parameters:\n data - The string to parse.\n Returns:\n Nothing.\n<END>", "<BEGIN>\n## `_record`", "An internal method to generate a string representing this Path Table Record.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the record API. 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 record API. 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 ...
A method to generate the string representing this UDF Primary Volume Descriptor. Parameters: None. Returns: A string representing this UDF Primary Volume Descriptor.
"A method to generate the string representing this UDF Primary Volume\n Descriptor.\n\n Parameters:\n None.\n Returns:\n A string representing this UDF Primary Volume Descriptor."
1,112
true
clalancette/pycdlib
record
32,650
LDU_FT/rh-marketingops/dwm/data_regex_method
LDU_FT
[ "<BEGIN>\n## `get_field_list`", "Retrieve list of all fields currently configured\n<END>", "<BEGIN>\n## `data_lookup_method`", "Method to lookup the replacement value given a single input value from\n the same field.", " :param dict fields_list: Fields configurations\n :param MongoClien...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data_regex_method API. 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 data_regex_method API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Method to lookup the replacement value based on regular expressions. :param dict fields_list: Fields configurations :param MongoClient mongo_db_obj: MongoDB collection object :param dict hist: existing input of history values object :param dict record: values to validate :param ...
"Method to lookup the replacement value based on regular expressions.\n\n :param dict fields_list: Fields configurations\n :param MongoClient mongo_db_obj: MongoDB collection object\n :param dict hist: existing input of history values object\n :param dict record: values to validate\n ...
68
false
rh-marketingops/dwm
data_regex_method
32,651
LDU_FT/kennedyshead/aioasuswrt/async_run_command
LDU_FT
[ "<BEGIN>\n## `async_run_command`", "Run commands through an SSH connection.", " Connect to the SSH server if not currently connected, otherwise\n use the existing connection.\n<END>", "<BEGIN>\n## `async_connect`", "Fetches the client or creates a new one.\n<END>", "<BEGIN>\n## `async_run_co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the async_run_command API. 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 async_run_command API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Run commands through an SSH connection. Connect to the SSH server if not currently connected, otherwise use the existing connection.
"Run commands through an SSH connection.\n\n Connect to the SSH server if not currently connected, otherwise\n use the existing connection."
19
false
kennedyshead/aioasuswrt
async_run_command
32,652
LDU_FT/dusktreader/flask-praetorian/extract_jwt_token
LDU_FT
[ "<BEGIN>\n## `_verify_and_add_jwt`", "This helper method just checks and adds jwt data to the app context. Will\n not add jwt data if it is already present. Only use in this module\n<END>", "<BEGIN>\n## `auth_required`", "This decorator is used to ensure that a user is authenticated before\n being able ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_jwt_token API. 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 extract_jwt_token API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Extracts a data dictionary from a jwt token
"Extracts a data dictionary from a jwt token"
73
false
dusktreader/flask-praetorian
extract_jwt_token
32,653
LDU_FT/oseledets/ttpy/project
LDU_FT
[ "<BEGIN>\n## `kron`", "Kronecker product of two TT-matrices or two TT-vectors\n<END>", "<BEGIN>\n## `dot`", "Dot product of two TT-matrices or two TT-vectors\n<END>", "<BEGIN>\n## `zkron`", "Do kronecker product between cores of two matrices ttA and ttB.\n Look about kronecker at: https://en.wikipedia....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the project API. 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 project API. 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...
Project tensor Z on the tangent space of tensor X. X is a tensor in the TT format. Z can be a tensor in the TT format or a list of tensors (in this case the function computes projection of the sum off all tensors in the list: project(X, Z) = P_X(\sum_i Z_i) ). This function implements an al...
"Project tensor Z on the tangent space of tensor X.\n\n X is a tensor in the TT format.\n Z can be a tensor in the TT format or a list of tensors (in this case\n the function computes projection of the sum off all tensors in the list:\n project(X, Z) = P_X(\\sum_i Z_i)\n ).\n This function impleme...
196
false
oseledets/ttpy
project
32,654
LDU_FT/eddiejessup/agaro/run_kwarg_scan
LDU_FT
[ "<BEGIN>\n## `get_average_measure`", "Calculate a measure of a model in an output directory, averaged over\n all times when the model is at steady-state.", " Parameters\n ----------\n dirname: str\n Output directory\n measure_func: function\n Function which takes a :class:`Model` in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_kwarg_scan API. 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 run_kwarg_scan API. 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...
Run many models with the same parameters but variable `field`. For each `val` in `vals`, a new model will be made, and run up to a time. The output directory is automatically generated from the model arguments. Parameters ---------- ModelClass: type A class or factory function that returns...
"Run many models with the same parameters but variable `field`.\n\n For each `val` in `vals`, a new model will be made, and run up to a time.\n The output directory is automatically generated from the model arguments.\n\n Parameters\n ----------\n ModelClass: type\n A class or factory function tha...
62
false
eddiejessup/agaro
run_kwarg_scan
32,655
LDU_FT/ColtonProvias/sqlalchemy-jsonapi/_check_instance_relationships_for_delete
LDU_FT
[ "<BEGIN>\n## `user_error`", "Create and return a general user error response that is jsonapi compliant.", " Required args:\n status_code: The HTTP status code associated with the problem.\n title: A short summary of the problem.\n detail: An explanation specific to the occurence of the p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_instance_relationships_for_delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_instance_relationships_for_delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicat...
Ensure we are authorized to delete this and all cascaded resources. :param instance: The instance to check the relationships of.
"Ensure we are authorized to delete this and all cascaded resources.\n\n :param instance: The instance to check the relationships of."
95
false
ColtonProvias/sqlalchemy-jsonapi
_check_instance_relationships_for_delete
32,656
LDU_FT/mdscruggs/ga/mutate
LDU_FT
[ "<BEGIN>\n## `eval_fitness`", "Convert a 1-gene chromosome into an integer and calculate its fitness\n by checking it against each required factor.", " return: fitness value\n<END>", "<BEGIN>\n## `translate_chromosome`", "Translate all the genes in a chromosome.", " chromosome: a ``...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mutate API. 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 mutate API. 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 ...
Call every chromosome's ``mutate`` method. p_mutate: probability of mutation in [0, 1]
"Call every chromosome's ``mutate`` method. \n \n p_mutate: probability of mutation in [0, 1]"
94
false
mdscruggs/ga
mutate
32,657
LDU_FT/jtauber/sebastian/zip
LDU_FT
[ "<BEGIN>\n## `zip`", "zips two sequences unifying the corresponding points.\n<END>", "<BEGIN>\n## `display`", "Return an object that can be used to display this sequence.\n This is used for IPython Notebook.", " :param format: \"png\" or \"svg\"\n<END>", "<BEGIN>\n## `append`", "appends a ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the zip API. 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 zip API. 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...
zips two sequences unifying the corresponding points.
"zips two sequences unifying the corresponding points."
29
false
jtauber/sebastian
zip
32,658
LDU_FT/invinst/ResponseBot/handle_error
LDU_FT
[ "<BEGIN>\n## `load_config_file`", "Parse configuration file and get config values.\n<END>", "<BEGIN>\n## `load_config_from_cli_arguments`", "Get config values of passed in CLI options.", " :param dict kwargs: CLI options\n<END>", "<BEGIN>\n## `validate_configs`", "Check that required config are s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_error API. 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 handle_error API. 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...
Try to detect repetitive errors and sleep for a while to avoid being marked as spam
"Try to detect repetitive errors and sleep for a while to avoid being marked as spam"
99
false
invinst/ResponseBot
handle_error
32,659
LDU_FT/knipknap/exscript/from_string
LDU_FT
[ "<BEGIN>\n## `get_protocol_from_name`", "Returns the protocol class for the protocol with the given name.", " :type name: str\n :param name: The name of the protocol.\n :rtype: Protocol\n :return: The protocol class.\n<END>", "<BEGIN>\n## `create_protocol`", "Returns an instance of the protoco...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_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 extra...
Parses the given URL and returns an URL object. There are some differences to Python's built-in URL parser: - It is less strict, many more inputs are accepted. This is necessary to allow for passing a simple hostname as a URL. - You may specify a default protocol that is used when the...
"Parses the given URL and returns an URL object. There are some\n differences to Python's built-in URL parser:\n\n - It is less strict, many more inputs are accepted. This is\n necessary to allow for passing a simple hostname as a URL.\n - You may specify a default protocol that is used wh...
683
false
knipknap/exscript
from_string
32,660
LDU_FT/QualiSystems/vCenterShell/power_off
LDU_FT
[ "<BEGIN>\n## `get_inventory`", "Will locate vm in vcenter and fill its uuid\n :type context: cloudshell.shell.core.context.ResourceCommandContext\n<END>", "<BEGIN>\n## `get_snapshots`", "Restores a virtual machine to a snapshot\n :param vim.ServiceInstance si: py_vmomi service instance\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the power_off API. 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 power_off API. 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...
Power off of a vm :param vcenter_data_model: vcenter model :param si: Service Instance :param logger: :param session: :param vcenter_data_model: vcenter_data_model :param vm_uuid: the uuid of the vm :param resource_fullname: the full name of the deployed app resou...
"Power off of a vm\n :param vcenter_data_model: vcenter model\n :param si: Service Instance\n :param logger:\n :param session:\n :param vcenter_data_model: vcenter_data_model\n :param vm_uuid: the uuid of the vm\n :param resource_fullname: the full name of the deployed a...
231
false
QualiSystems/vCenterShell
power_off
32,661
LDU_FT/byt3bl33d3r/CrackMapExec/options
LDU_FT
[ "<BEGIN>\n## `add_computer`", "Check if this host has already been added to the database, if not add it in.\n<END>", "<BEGIN>\n## `remove_credentials`", "Removes a credential ID from the database\n<END>", "<BEGIN>\n## `options`", "SERVER IP of the SMB server\n NAME LNK file name\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the options API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the options API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
CONTYPE Specifies the VNC connection type, choices are: reverse, bind (default: reverse). PORT VNC Port (default: 5900) PASSWORD Specifies the connection password.
"CONTYPE Specifies the VNC connection type, choices are: reverse, bind (default: reverse).\n PORT VNC Port (default: 5900)\n PASSWORD Specifies the connection password."
77
false
byt3bl33d3r/CrackMapExec
options
32,662
LDU_FT/finklabs/banana/navigate
LDU_FT
[ "<BEGIN>\n## `handle`", "if (globalConfigHasContent()) {\n defaultChoices.splice(defaultChoices.length - 1, 0, {\n name: 'Clear global config',\n value: 'clearConfig'\n });\n }", " var generatorList = _.chain(app.generators).map(function (generator) {\n if (!generator.appGenerator) {\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the navigate API. 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 navigate API. 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...
Navigate to a route * * @param {String} name Route name * @param {*} arg A single argument to pass to the route handler */
"Navigate to a route\n * \n * @param {String} name Route name\n * @param {*} arg A single argument to pass to the route handler\n */"
32
false
finklabs/banana
navigate
32,663
LDU_FT/ihabunek/toot/_wc_hard_wrap
LDU_FT
[ "<BEGIN>\n## `_wc_hard_wrap`", "Wrap text to length characters, breaking when target length is reached,\n taking into account character width.", " Used to wrap lines which cannot be wrapped on whitespace.\n<END>", "<BEGIN>\n## `wc_wrap`", "Wrap text to given length, breaking on whitespace and taking i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _wc_hard_wrap API. 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 _wc_hard_wrap API. 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...
Wrap text to length characters, breaking when target length is reached, taking into account character width. Used to wrap lines which cannot be wrapped on whitespace.
"Wrap text to length characters, breaking when target length is reached,\n taking into account character width.\n\n Used to wrap lines which cannot be wrapped on whitespace."
44
false
ihabunek/toot
_wc_hard_wrap
32,664
LDU_FT/LettError/ufoProcessor/_instantiateFont
LDU_FT
[ "<BEGIN>\n## `getKerningMutator`", "Return a kerning mutator, collect the sources, build mathGlyphs.\n If no pairs are given: calculate the whole table.\n If pairs are given then query the sources for a value and make a mutator only with those values.\n<END>", "<BEGIN>\n## `collectMastersF...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _instantiateFont API. 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 _instantiateFont API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Return a instance of a font object with all the given subclasses
"Return a instance of a font object with all the given subclasses"
11
false
LettError/ufoProcessor
_instantiateFont
32,665
LDU_FT/moluwole/Bast/except_
LDU_FT
[ "<BEGIN>\n## `get_config`", "Gets the config from the os.environ. This is used to create the config dict for use by the ORM\n :return: str, dict\n<END>", "<BEGIN>\n## `check_packages`", "Check if the driver for the user defined host is available. If it is not available, download it using PIP\n :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the except_ API. 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 except_ API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
returns the arguments passed to the route except that set by user Sample Usage ++++++++++++++ .. code:: python from bast import Controller class MyController(Controller): def index(self): data = self.except_(['arg_name']) Re...
"returns the arguments passed to the route except that set by user\n\n Sample Usage\n ++++++++++++++\n .. code:: python\n\n from bast import Controller\n\n class MyController(Controller):\n def index(self):\n data = self.except_(['arg_name'])\...
59
false
moluwole/Bast
except_
32,666
LDU_FT/jwkvam/bowtie/notify
LDU_FT
[ "<BEGIN>\n## `notify`", "Notify the client.", " The function passed to ``App.respond`` will get called.\n<END>", "<BEGIN>\n## `validate`", "Check that the key is a string or bytestring.", " That's the only valid type of key.\n<END>", "<BEGIN>\n## `pack`", "Encode ``x`` into msgpack with addi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notify API. 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 notify API. 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 ...
Notify the client. The function passed to ``App.respond`` will get called.
"Notify the client.\n\n The function passed to ``App.respond`` will get called."
82
false
jwkvam/bowtie
notify
32,667
LDU_FT/inveniosoftware-contrib/invenio-workflows/StopProcessing
LDU_FT
[ "<BEGIN>\n## `create`", "Create a new Workflow Object with given content.\n<END>", "<BEGIN>\n## `query`", "Wrap sqlalchemy query methods.", " A wrapper for the filter and filter_by functions of sqlalchemy.\n Define a dict with which columns should be filtered by which values.", " .. c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the StopProcessing API. 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 StopProcessing API. 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...
Stop the engne and mark the workflow as completed.
"Stop the engne and mark the workflow as completed."
135
false
inveniosoftware-contrib/invenio-workflows
StopProcessing
32,668
LDU_FT/tylertreat/BigQuery-Python/delete_table
LDU_FT
[ "<BEGIN>\n## `get_client`", "Return a singleton instance of BigQueryClient. Either\n AssertionCredentials or a service account and private key combination need\n to be provided in order to authenticate requests to BigQuery.", " Parameters\n ----------\n project_id : str, optional\n The Big...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_table API. 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 delete_table API. 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...
Delete a table from the dataset. Parameters ---------- dataset : str The dataset to delete the table from. table : str The name of the table to delete project_id: str, optional String id of the project Returns ------- ...
"Delete a table from the dataset.\n\n Parameters\n ----------\n dataset : str\n The dataset to delete the table from.\n table : str\n The name of the table to delete\n project_id: str, optional\n String id of the project\n\n Returns\n ---...
227
false
tylertreat/BigQuery-Python
delete_table
32,669
LDU_FT/akfullfo/taskforce/file_add
LDU_FT
[ "<BEGIN>\n## `_format`", "Returns the response tuple according to the selected format.\n A format is available if the method \"_format_xxx\" is callable.\n The default format is json.\n<END>", "<BEGIN>\n## `version`", "Return the taskforce version.", " Supports standard options.\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_add API. 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 file_add API. 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...
Register for file change events. If there is a change to the file, all registered tasks will be notified with a call t.event(action). Note that as multiple tasks might register an event on the same path, each path is mapped to a dict of tasks pointing at actions. A task can only regist...
"Register for file change events. If there is a change to the file, all\n registered tasks will be notified with a call t.event(action).\n\n Note that as multiple tasks might register an event on the same\n path, each path is mapped to a dict of tasks pointing at actions.\n A task can only ...
290
false
akfullfo/taskforce
file_add
32,670
LDU_FT/svinota/mdns/read_others
LDU_FT
[ "<BEGIN>\n## `to_string`", "String representation with additional information\n<END>", "<BEGIN>\n## `answered_by`", "Returns true if the question is answered by the record\n<END>", "<BEGIN>\n## `reset_ttl`", "Sets this record's TTL and created time to that of\n another record.\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_others API. 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 read_others API. 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...
Reads the answers, authorities and additionals section of the packet
"Reads the answers, authorities and additionals section\n of the packet"
67
false
svinota/mdns
read_others
32,671
LDU_FT/geoadmin/lib-gatilegrid/getCeilingZoom
LDU_FT
[ "<BEGIN>\n## `tileBounds`", "Returns the bounds of a tile in LV03 (EPSG:21781)\n<END>", "<BEGIN>\n## `tileAddress`", "Returns a tile address based on a zoom level and \\\n a point in the tile\n<END>", "<BEGIN>\n## `intersectsExtent`", "Determine if an extent intersects this instance extent\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getCeilingZoom API. 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 getCeilingZoom API. 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 maximized zoom level for a given resolution Parameters: resolution -- max. resolution unit -- unit for output (default='meters')
"Return the maximized zoom level for a given resolution\n Parameters:\n resolution -- max. resolution\n unit -- unit for output (default='meters')"
28
false
geoadmin/lib-gatilegrid
getCeilingZoom
32,672