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/meejah/txtorcon/attach_protocol | LDU_FT | [
"<BEGIN>\n## `tor_agent`",
"This is the low-level method used by\n :meth:`txtorcon.Tor.web_agent` and\n :meth:`txtorcon.Circuit.web_agent` -- probably you should call one\n of those instead.",
" :returns: a Deferred that fires with an object that implements\n :class:`twisted.web.iweb.IAgent` ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attach_protocol API.
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 attach_protocol API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | returns a Deferred that fires once we've set this object up to
track the protocol. Fails if we already have a protocol. | "returns a Deferred that fires once we've set this object up to\n track the protocol. Fails if we already have a protocol." | 289 | false | meejah/txtorcon | attach_protocol | 32,873 | |
LDU_FT/uber/tchannel-python/get | LDU_FT | [
"<BEGIN>\n## `should_retry_on_error`",
"rules for retry",
" :param error:\n ProtocolException that returns from Server\n<END>",
"<BEGIN>\n## `client_for`",
"Build a synchronous client class for the given Thrift service.",
" The generated class accepts a TChannelSyncClient and an optio... | 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... | Receive the next message off the wire.
:returns:
A Future that resolves to the next message off the wire. | "Receive the next message off the wire.\n\n :returns:\n A Future that resolves to the next message off the wire." | 422 | false | uber/tchannel-python | get | 32,874 | |
LDU_FT/dhocker/udmx-pyusb/_send_control_message | 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 _send_control_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _send_control_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Sends a control transfer to the current device.
:param cmd: 1 for single value transfer, 2 for multi-value transfer
:param value_or_length: for single value transfer, the value. For multi-value transfer,
the length of the data bytearray.
:param channel: DMX channel number, 1- 512
... | "Sends a control transfer to the current device.\n :param cmd: 1 for single value transfer, 2 for multi-value transfer\n :param value_or_length: for single value transfer, the value. For multi-value transfer,\n the length of the data bytearray.\n :param channel: DMX channel number, 1- 51... | 22 | false | dhocker/udmx-pyusb | _send_control_message | 32,875 | |
LDU_FT/benmoran56/esper/clear_database | LDU_FT | [
"<BEGIN>\n## `clear_database`",
"Remove all Entities and Components from the World.\n<END>",
"<BEGIN>\n## `add_processor`",
"Add a Processor instance to the World.",
" :param processor_instance: An instance of a Processor,\n subclassed from the Processor class\n :param priority: A highe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clear_database API.
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 clear_database API.
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 all Entities and Components from the World. | "Remove all Entities and Components from the World." | 60 | false | benmoran56/esper | clear_database | 32,876 | |
LDU_FT/chengsoonong/wib/track | LDU_FT | [
"<BEGIN>\n## `track`",
"Keep track of each file in list file_names.",
" Tracking does not create or delete the actual file, it only tells the\n version control system whether to maintain versions (to keep track) of\n the file.\n<END>",
"<BEGIN>\n## `untrack`",
"Forget about tracking each file in th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the track API.
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 track API.
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... | Keep track of each file in list file_names.
Tracking does not create or delete the actual file, it only tells the
version control system whether to maintain versions (to keep track) of
the file. | "Keep track of each file in list file_names.\n\n Tracking does not create or delete the actual file, it only tells the\n version control system whether to maintain versions (to keep track) of\n the file." | 21 | false | chengsoonong/wib | track | 32,877 | |
LDU_FT/jrabbit/hitman/del_feed | LDU_FT | [
"<BEGIN>\n## `put_a_hit_out`",
"Download a feed's most recent enclosure that we don't have\n<END>",
"<BEGIN>\n## `selective_download`",
"Note: RSS feeds are counted backwards, default newest is 0, the most recent.\n<END>",
"<BEGIN>\n## `resolve_name`",
"Takes a given input from a user and finds the url fo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the del_feed API.
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 del_feed API.
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... | remove from database (and delete aliases) | "remove from database (and delete aliases)" | 20 | false | jrabbit/hitman | del_feed | 32,878 | |
LDU_FT/mayhewj/greenstalk/bury | LDU_FT | [
"<BEGIN>\n## `put`",
"Inserts a job into the currently used tube and returns the job ID.",
" :param body: The data representing the job.\n :param priority: An integer between 0 and 4,294,967,295 where 0 is the\n most urgent.\n :param delay: The number of seconds to d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bury API.
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 bury API.
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... | Buries a reserved job.
:param job: The job to bury.
:param priority: An integer between 0 and 4,294,967,295 where 0 is the
most urgent. | "Buries a reserved job.\n\n :param job: The job to bury.\n :param priority: An integer between 0 and 4,294,967,295 where 0 is the\n most urgent." | 45 | false | mayhewj/greenstalk | bury | 32,879 | |
LDU_FT/karjaljo/hiisi/_set_elangles | LDU_FT | [
"<BEGIN>\n## `attr_exists`",
"Returns True if at least on instance of the attribute is found\n<END>",
"<BEGIN>\n## `datasets`",
"Method returns a list of dataset paths.",
" Examples\n --------\n >>> for dataset in h5f.datasets():\n print(dataset)\n '/dataset1/data1... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_elangles API.
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 _set_elangles API.
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... | Sets the values of instance variable elangles.
Method creates a dictionary containing the elangles of the pvol file.
Elangles are ordered in acending order using uppercase letters as keys
Examples
--------
>>> pvol = OdimPVOL('pvol.h5')
>>> print(pvol.el... | "Sets the values of instance variable elangles.\n \n Method creates a dictionary containing the elangles of the pvol file.\n Elangles are ordered in acending order using uppercase letters as keys\n \n Examples\n --------\n >>> pvol = OdimPVOL('pvol.h5')\n >>> prin... | 53 | false | karjaljo/hiisi | _set_elangles | 32,880 | |
LDU_FT/Brazelton-Lab/bio_utils/entry_verifier | LDU_FT | [
"<BEGIN>\n## `binary_guesser`",
"Raise error if file not likely binary",
" Guesses if a file is binary, raises error if file is not likely binary,\n then returns to location in file when handle passed to binary_guesser.",
" Args:\n handle (file): File handle of file thought to be binary",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the entry_verifier API.
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 entry_verifier API.
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... | Checks each entry against regex for validity,
If an entry does not match the regex, the entry and regex
are broken down by the delimiter and each segment is analyzed
to produce an accurate error message.
Args:
entries (list): List of entries to check with regex
regex (str): Regular ex... | "Checks each entry against regex for validity,\n\n If an entry does not match the regex, the entry and regex\n are broken down by the delimiter and each segment is analyzed\n to produce an accurate error message.\n\n Args:\n entries (list): List of entries to check with regex\n\n regex (str): ... | 158 | false | Brazelton-Lab/bio_utils | entry_verifier | 32,881 | |
LDU_FT/pythongssapi/python-gssapi/export | LDU_FT | [
"<BEGIN>\n## `name`",
"Get the name associated with these credentials\n<END>",
"<BEGIN>\n## `acquire`",
"Acquire GSSAPI credentials",
" This method acquires credentials. If the `store` argument is\n used, the credentials will be acquired from the given\n credential store (if supported)... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export API.
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 export API.
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 ... | Export this name as a token.
This method exports the name into a byte string which can then be
imported by using the `token` argument of the constructor.
Args:
composite (bool): whether or not use to a composite token --
:requires-ext:`rfc6680`
Returns:
... | "Export this name as a token.\n\n This method exports the name into a byte string which can then be\n imported by using the `token` argument of the constructor.\n\n Args:\n composite (bool): whether or not use to a composite token --\n :requires-ext:`rfc6680`\n\n Re... | 97 | false | pythongssapi/python-gssapi | export | 32,882 | |
LDU_FT/graphql-python/graphene/replace | LDU_FT | [
"<BEGIN>\n## `replace`",
"Creates a customized copy of the Parameter.\n<END>",
"<BEGIN>\n## `from_function`",
"Constructs Signature for the given python function\n<END>",
"<BEGIN>\n## `replace`",
"Creates a customized copy of the Signature.\n Pass 'parameters' and/or 'return_annotation' arguments\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Creates a customized copy of the Signature.
Pass 'parameters' and/or 'return_annotation' arguments
to override them in the new copy. | "Creates a customized copy of the Signature.\n Pass 'parameters' and/or 'return_annotation' arguments\n to override them in the new copy." | 18 | false | graphql-python/graphene | replace | 32,883 | |
LDU_FT/pzs741/TEDT/analyze | LDU_FT | [
"<BEGIN>\n## `get_url`",
"获取url地址并根据网页编码格式自动解析",
" Keyword arguments:\n url -- 用户传入地址,头部必须含有http://\n Return:\n 网页源代码(为了下一步预处理方便,所有英文字母转换为小写)\n 网页编解码\n<END>",
"<BEGIN>\n## `html_clean`",
"获取网页源代码并进行预处理",
" Keyword arguments:\n html_code -- 网页源代码,字符... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the analyze API.
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 analyze API.
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... | 分析文本
Keyword arguments:
text -- 文本内容,字符串。
window -- 窗口大小,int,用来构造单词之间的边。默认值为2。
lower -- 是否将文本转换为小写。默认为False。
vertex_source -- 选择使用words_no_filter, words_no_stop_words, words_all_filters中的哪一个来构造pagerank对应的图中的节点。
默认值为`'all_filters'`... | "分析文本\n\n Keyword arguments:\n text -- 文本内容,字符串。\n window -- 窗口大小,int,用来构造单词之间的边。默认值为2。\n lower -- 是否将文本转换为小写。默认为False。\n vertex_source -- 选择使用words_no_filter, words_no_stop_words, words_all_filters中的哪一个来构造pagerank对应的图中的节点。\n 默认值为`'all_f... | 91 | false | pzs741/TEDT | analyze | 32,884 | |
LDU_FT/getsentry/rb/auto_batch_commands | LDU_FT | [
"<BEGIN>\n## `add_host`",
"Adds a new host to the cluster. This is only really useful for\n unittests as normally hosts are added through the constructor and\n changes after the cluster has been used for the first time are\n unlikely to make sense.\n<END>",
"<BEGIN>\n## `remove_host`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auto_batch_commands 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 auto_batch_commands 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... | Given a pipeline of commands this attempts to merge the commands
into more efficient ones if that is possible. | "Given a pipeline of commands this attempts to merge the commands\n into more efficient ones if that is possible." | 87 | false | getsentry/rb | auto_batch_commands | 32,885 | |
LDU_FT/aktaylor08/RosbagPandas/parse_series_args | LDU_FT | [
"<BEGIN>\n## `buildParser`",
"Builds the parser for reading the command line arguments\n<END>",
"<BEGIN>\n## `parse_series_args`",
"Return which topics and which field keys need to be examined\n for plotting\n<END>",
"<BEGIN>\n## `bag_to_dataframe`",
"Read in a rosbag file and create a pandas data fram... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_series_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_series_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Return which topics and which field keys need to be examined
for plotting | "Return which topics and which field keys need to be examined\n for plotting" | 28 | false | aktaylor08/RosbagPandas | parse_series_args | 32,886 | |
LDU_FT/automl/HpBandSter/predict_unseen | LDU_FT | [
"<BEGIN>\n## `get_config`",
"Function to sample a new configuration",
"\t\t\tThis function is called inside Hyperband to query a new configuration",
"\t\t\tParameters:\n\t\t\t-----------\n\t\t\tbudget: float\n\t\t\t\tthe budget for which this configuration is scheduled",
"\t\t\treturns: config\n\t\t\t\tshou... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict_unseen API.
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 predict_unseen API.
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... | predict the loss of an unseen configuration
Parameters:
-----------
times: numpy array
times where to predict the loss
config: numpy array
the numerical representation of the config
Returns:
--------
... | "predict the loss of an unseen configuration\n\n Parameters:\n -----------\n\n times: numpy array\n times where to predict the loss\n config: numpy array\n the numerical representation of the config\n\n Returns:\n --------\n... | 188 | false | automl/HpBandSter | predict_unseen | 32,887 | |
LDU_FT/arve0/leicascanningtemplate/write | LDU_FT | [
"<BEGIN>\n## `well_fields`",
"All ScanFieldData elements of given well.",
" Parameters\n ----------\n well_x : int\n well_y : int",
" Returns\n -------\n list of lxml.objectify.ObjectifiedElement\n All ScanFieldData elements of given well.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Save template to xml. Before saving template will update
date, start position, well positions, and counts.
Parameters
----------
filename : str
If not set, XML will be written to self.filename. | "Save template to xml. Before saving template will update\n date, start position, well positions, and counts.\n\n Parameters\n ----------\n filename : str\n If not set, XML will be written to self.filename." | 36 | false | arve0/leicascanningtemplate | write | 32,888 | |
LDU_FT/Groundworkstech/pybfd/symbols_count | LDU_FT | [
"<BEGIN>\n## `generate_source_files`",
"Genertate source files to be used during the compile process of the\n extension module.\n This is better than just hardcoding the values on python files because\n header definitions might change along differente Binutils versions and\n we'll be a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the symbols_count API.
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 symbols_count API.
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 symcount attribute of the BFD file being processed. | "Return the symcount attribute of the BFD file being processed." | 96 | false | Groundworkstech/pybfd | symbols_count | 32,889 | |
LDU_FT/moluwole/Bast/run | 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 run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Function to Run the server. Server runs on host: 127.0.0.1 and port: 2000 by default. Debug is also set to false
by default
Can be overriden by using the config.ini file | "Function to Run the server. Server runs on host: 127.0.0.1 and port: 2000 by default. Debug is also set to false\n by default\n\n Can be overriden by using the config.ini file" | 59 | false | moluwole/Bast | run | 32,890 | |
LDU_FT/tuxpiper/cloudcast/find_stack_elements | LDU_FT | [
"<BEGIN>\n## `_run_resources_file`",
"With a bit of import magic, we load the given path as a python module,\n while providing it access to the given stack under the import name '_context'.\n This function returns the module's global dictionary.\n<END>",
"<BEGIN>\n## `load_template_srcmodule`",
"This fu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_stack_elements 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 find_stack_elements API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | This function goes through the given container and returns the stack elements. Each stack
element is represented by a tuple:
( container_name, element_name, stack_element)
The tuples are returned in an array | "This function goes through the given container and returns the stack elements. Each stack\n element is represented by a tuple:\n ( container_name, element_name, stack_element)\n The tuples are returned in an array" | 28 | false | tuxpiper/cloudcast | find_stack_elements | 32,891 | |
LDU_FT/dictatorlib/dictator/get | LDU_FT | [
"<BEGIN>\n## `copy`",
"Convert ``Dictator`` to standard ``dict`` object",
" >>> dc = Dictator()\n >>> dc['l0'] = [1, 2]\n >>> dc['1'] = 'abc'\n >>> d = dc.copy()\n >>> type(d)\n dict\n >>> d\n {'l0': ['1', '2'], '1': 'abc'}\n >>> dc.clear()",
" ... | 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 the value at key ``key``, or default value ``default``
which is None by default.
>>> dc = Dictator()
>>> dc['l0'] = [1, 2, 3, 4]
>>> dc.get('l0')
['1', '2', '3', '4']
>>> dc['l0']
['1', '2', '3', '4']
>>> dc.clear()
:param key: key of valu... | "Return the value at key ``key``, or default value ``default``\n which is None by default.\n\n >>> dc = Dictator()\n >>> dc['l0'] = [1, 2, 3, 4]\n >>> dc.get('l0')\n ['1', '2', '3', '4']\n >>> dc['l0']\n ['1', '2', '3', '4']\n >>> dc.clear()\n\n :param key:... | 36 | false | dictatorlib/dictator | get | 32,892 | |
LDU_FT/trustar/trustar-python/_search_indicators_page_generator | LDU_FT | [
"<BEGIN>\n## `from_dict`",
"Create an indicator object from a dictionary.",
" :param indicator: The dictionary.\n :return: The indicator object.\n<END>",
"<BEGIN>\n## `to_dict`",
"Creates a dictionary representation of the indicator.",
" :param remove_nones: Whether ``None`` values sh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _search_indicators_page_generator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _search_indicators_page_generator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | Creates a generator from the |search_indicators_page| method that returns each successive page.
:param str search_term: The term to search for. If empty, no search term will be applied. Otherwise, must
be at least 3 characters.
:param list(str) enclave_ids: list of enclave ids used to res... | "Creates a generator from the |search_indicators_page| method that returns each successive page.\n\n :param str search_term: The term to search for. If empty, no search term will be applied. Otherwise, must\n be at least 3 characters.\n :param list(str) enclave_ids: list of enclave ids used t... | 243 | false | trustar/trustar-python | _search_indicators_page_generator | 32,893 | |
LDU_FT/Robpol86/libnl/nlmsg_next | LDU_FT | [
"<BEGIN>\n## `nla_ok`",
"Check if the attribute header and payload can be accessed safely.",
" https://github.com/thom311/libnl/blob/libnl3_2_25/lib/attr.c#L148",
" Verifies that the header and payload do not exceed the number of bytes left in the attribute stream. This function\n must be called befo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nlmsg_next API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nlmsg_next API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Next Netlink message in message stream.
https://github.com/thom311/libnl/blob/libnl3_2_25/lib/msg.c#L194
Positional arguments:
nlh -- Netlink message header (nlmsghdr class instance).
remaining -- number of bytes remaining in message stream (c_int).
Returns:
The next Netlink message in the me... | "Next Netlink message in message stream.\n\n https://github.com/thom311/libnl/blob/libnl3_2_25/lib/msg.c#L194\n\n Positional arguments:\n nlh -- Netlink message header (nlmsghdr class instance).\n remaining -- number of bytes remaining in message stream (c_int).\n\n Returns:\n The next Netlink message... | 702 | false | Robpol86/libnl | nlmsg_next | 32,894 | |
LDU_FT/WhyNotHugo/django-afip/numbers | LDU_FT | [
"<BEGIN>\n## `catch_errors`",
"Catches specific errors in admin actions and shows a friendly error.\n<END>",
"<BEGIN>\n## `numbers`",
"Returns the barcode's number without the verification digit.",
" :return: list(int)\n<END>",
"<BEGIN>\n## `verification_digit`",
"Returns the verification digit f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the numbers API.
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 numbers API.
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 barcode's number without the verification digit.
:return: list(int) | "Returns the barcode's number without the verification digit.\n\n :return: list(int)" | 96 | false | WhyNotHugo/django-afip | numbers | 32,895 | |
LDU_FT/benmoran56/esper/create_entity | LDU_FT | [
"<BEGIN>\n## `clear_database`",
"Remove all Entities and Components from the World.\n<END>",
"<BEGIN>\n## `add_processor`",
"Add a Processor instance to the World.",
" :param processor_instance: An instance of a Processor,\n subclassed from the Processor class\n :param priority: A highe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_entity API.
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_entity API.
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 Entity.
This method returns an Entity ID, which is just a plain integer.
You can optionally pass one or more Component instances to be
assigned to the Entity.
:param components: Optional components to be assigned to the
entity on creation.
:return: The next... | "Create a new Entity.\n\n This method returns an Entity ID, which is just a plain integer.\n You can optionally pass one or more Component instances to be\n assigned to the Entity.\n\n :param components: Optional components to be assigned to the\n entity on creation.\n :return:... | 60 | false | benmoran56/esper | create_entity | 32,896 | |
LDU_FT/KnorrFG/pyparadigm/listen | LDU_FT | [
"<BEGIN>\n## `_normalize`",
"rescales a numpy array, so that min is 0 and max is 255\n<END>",
"<BEGIN>\n## `to_24bit_gray`",
"returns a matrix that contains RGB channels, and colors scaled\n from 0 to 255\n<END>",
"<BEGIN>\n## `apply_color_map`",
"returns an RGB matrix scaled by a matplotlib color map\... | 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 ... | When listen() is called all queued pygame.Events will be passed to all
registered listeners. There are two ways to register a listener:
1. as a permanent listener, that is always executed for every event. These
are registered by passing the handler-functions during construction
2. ... | "When listen() is called all queued pygame.Events will be passed to all\n registered listeners. There are two ways to register a listener:\n\n 1. as a permanent listener, that is always executed for every event. These\n are registered by passing the handler-functions during construction\n\n ... | 86 | false | KnorrFG/pyparadigm | listen | 32,897 | |
LDU_FT/bambinos/bambi/fixed_terms | LDU_FT | [
"<BEGIN>\n## `reset`",
"Reset PyMC3 model and all tracked distributions and parameters.\n<END>",
"<BEGIN>\n## `build`",
"Compile the PyMC3 model from an abstract model specification.\n Args:\n spec (Model): A bambi Model instance containing the abstract\n specification of the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fixed_terms API.
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 fixed_terms API.
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 dict of all and only fixed effects in model. | "Return dict of all and only fixed effects in model." | 88 | false | bambinos/bambi | fixed_terms | 32,898 | |
LDU_FT/davenquinn/Attitude/fit_angle | LDU_FT | [
"<BEGIN>\n## `bingham_pdf`",
"From the *Encyclopedia of Paleomagnetism*",
" From Onstott, 1980:\n Vector resultant: R is analogous to eigenvectors\n of T.\n Eigenvalues are analogous to |R|/N.\n<END>",
"<BEGIN>\n## `report`",
"Outputs a standalone HTML 'report card' for a\n measurement (or se... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit_angle API.
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 fit_angle API.
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... | Finds the angle between the nominal vectors | "Finds the angle between the nominal vectors" | 138 | false | davenquinn/Attitude | fit_angle | 32,899 | |
LDU_FT/delph-in/pydelphin/is_connected | LDU_FT | [
"<BEGIN>\n## `compile`",
"Use ACE to compile a grammar.",
" Args:\n cfg_path (str): the path to the ACE config file\n out_path (str): the path where the compiled grammar will be\n written\n executable (str, optional): the path to the ACE binary; if\n `None`, the `ac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_connected API.
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_connected API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return `True` if the Xmrs represents a connected graph.
Subgraphs can be connected through things like arguments,
QEQs, and label equalities. | "Return `True` if the Xmrs represents a connected graph.\n\n Subgraphs can be connected through things like arguments,\n QEQs, and label equalities." | 662 | false | delph-in/pydelphin | is_connected | 32,900 | |
LDU_FT/DerMitch/fritzbox-smarthome/get_target_temperature | LDU_FT | [
"<BEGIN>\n## `login`",
"Try to login and set the internal session id.",
" Please note:\n - Any failed login resets all existing session ids, even of\n other users.\n - SIDs expire after some time\n<END>",
"<BEGIN>\n## `calculate_response`",
"Calculate response for the challenge... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_target_temperature 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_target_temperature API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Returns the actual target temperature.
Attention: Returns None if the value can't be queried or is unknown. | "Returns the actual target temperature.\n Attention: Returns None if the value can't be queried or is unknown." | 35 | false | DerMitch/fritzbox-smarthome | get_target_temperature | 32,901 | |
LDU_FT/kvh/ramp/update | LDU_FT | [
"<BEGIN>\n## `round_robin`",
"Ensures all classes get representative features, not just those with strong features\n<END>",
"<BEGIN>\n## `predict_maxprob`",
"Most likely value. Generally equivalent to predict.\n<END>",
"<BEGIN>\n## `cross_validate`",
"Shortcut to cross-validate a single configuration.",
... | 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 the configuration with new parameters. Must use same
kwargs as __init__ | "Update the configuration with new parameters. Must use same\n kwargs as __init__" | 34 | false | kvh/ramp | update | 32,902 | |
LDU_FT/e7dal/bubble3/cli | LDU_FT | [
"<BEGIN>\n## `cli`",
"Show example for doing some task in bubble(experimental)\n<END>",
"<BEGIN>\n## `cli`",
"Bubble: command line tool for bubbling information between services",
" .oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.\\n\n Making single point to point API connections:\\n\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Upgrade the current bubble, should mimic init as much as possible(experimental) | "Upgrade the current bubble, should mimic init as much as possible(experimental)" | 171 | false | e7dal/bubble3 | cli | 32,903 | |
LDU_FT/aktaylor08/RosbagPandas/get_message_data | LDU_FT | [
"<BEGIN>\n## `buildParser`",
"Builds the parser for reading the command line arguments\n<END>",
"<BEGIN>\n## `parse_series_args`",
"Return which topics and which field keys need to be examined\n for plotting\n<END>",
"<BEGIN>\n## `bag_to_dataframe`",
"Read in a rosbag file and create a pandas data fram... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_message_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_message_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | get the datapoint from the dot delimited message field key
e.g. translation.x looks up translation than x and returns the value found
in x | "get the datapoint from the dot delimited message field key\n e.g. translation.x looks up translation than x and returns the value found\n in x" | 28 | false | aktaylor08/RosbagPandas | get_message_data | 32,904 | |
LDU_FT/faide/py3o.template/__add_images_to_manifest | LDU_FT | [
"<BEGIN>\n## `detect_keep_boundary`",
"a helper to inspect a link and see if we should keep the link boundary\n<END>",
"<BEGIN>\n## `move_siblings`",
"a helper function that will replace a start/end node pair\n by a new containing element, effectively moving all in-between siblings\n This is particularl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __add_images_to_manifest 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 __add_images_to_manifest API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Add entries for py3o images into the manifest file. | "Add entries for py3o images into the manifest file." | 46 | false | faide/py3o.template | __add_images_to_manifest | 32,905 | |
LDU_FT/fudge-py/fudge/assert_order_met | LDU_FT | [
"<BEGIN>\n## `fmt_val`",
"Format a value for inclusion in an \n informative text string.\n<END>",
"<BEGIN>\n## `fmt_dict_vals`",
"Returns list of key=val pairs formatted\n for inclusion in an informative text string.\n<END>",
"<BEGIN>\n## `with_patched_object`",
"Decorator that patches an object bef... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assert_order_met API.
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 assert_order_met API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | assert that calls have been made in the right order. | "assert that calls have been made in the right order." | 155 | false | fudge-py/fudge | assert_order_met | 32,906 | |
LDU_FT/hosford42/xcs/crossover_template | LDU_FT | [
"<BEGIN>\n## `random`",
"Create a bit string of the given length, with the probability of\n each bit being set equal to bit_prob, which defaults to .5.",
" Usage:\n # Create a random BitString of length 10 with mostly zeros.\n bits = BitString.random(10, bit_prob=.1)",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the crossover_template API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the crossover_template API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Create a crossover template with the given number of points. The
crossover template can be used as a mask to crossover two
bitstrings of the same length.
Usage:
assert len(parent1) == len(parent2)
template = BitString.crossover_template(len(parent1))
inv_temp... | "Create a crossover template with the given number of points. The\n crossover template can be used as a mask to crossover two\n bitstrings of the same length.\n\n Usage:\n assert len(parent1) == len(parent2)\n template = BitString.crossover_template(len(parent1))\n ... | 159 | false | hosford42/xcs | crossover_template | 32,907 | |
LDU_FT/dusktreader/flask-praetorian/encode_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 encode_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 encode_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 ... | Encodes user data into a jwt token that can be used for authorization
at protected endpoints
:param: override_access_lifespan: Override's the instance's access
lifespan to set a custom duration
after which the new to... | "Encodes user data into a jwt token that can be used for authorization\n at protected endpoints\n\n :param: override_access_lifespan: Override's the instance's access\n lifespan to set a custom duration\n after which the ... | 73 | false | dusktreader/flask-praetorian | encode_jwt_token | 32,908 | |
LDU_FT/Mxit/python-mxit/send_message | LDU_FT | [
"<BEGIN>\n## `send_message`",
"Send a message (from a Mxit app) to a list of Mxit users\n<END>",
"<BEGIN>\n## `send_user_to_user_message`",
"Send a message (from a Mxit user) to a list of Mxit users\n<END>",
"<BEGIN>\n## `get_user_id`",
"Retrieve the Mxit user's internal \"user ID\"\n No user authe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Send a message (from a Mxit app) to a list of Mxit users | "Send a message (from a Mxit app) to a list of Mxit users" | 58 | false | Mxit/python-mxit | send_message | 32,909 | |
LDU_FT/mcs07/ChemDataExtractor/merge | LDU_FT | [
"<BEGIN>\n## `train_punkt`",
"Train Punkt sentence splitter using sentences in input.\n<END>",
"<BEGIN>\n## `sentences`",
"Read input document, and output sentences.\n<END>",
"<BEGIN>\n## `_in_stoplist`",
"Return True if the entity is in the stoplist.\n<END>",
"<BEGIN>\n## `tag`",
"Run individual chem... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Merge data from another Compound into this Compound. | "Merge data from another Compound into this Compound." | 243 | false | mcs07/ChemDataExtractor | merge | 32,910 | |
LDU_FT/contains-io/rcli/enable_logging | LDU_FT | [
"<BEGIN>\n## `setup_keyword`",
"Add autodetected commands as entry points.",
" Args:\n dist: The distutils Distribution object for the project being\n installed.\n _: The keyword used in the setup function. Unused.\n value: The value set to the keyword in the setup function. I... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enable_logging API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enable_logging API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Configure the root logger and a logfile handler.
Args:
log_level: The logging level to set the logger handler. | "Configure the root logger and a logfile handler.\n\n Args:\n log_level: The logging level to set the logger handler." | 147 | false | contains-io/rcli | enable_logging | 32,911 | |
LDU_FT/MIT-LCP/wfdb-python/is_monotonic | LDU_FT | [
"<BEGIN>\n## `find_peaks`",
"Find hard peaks and soft peaks in a signal, defined as follows:",
" - Hard peak: a peak that is either /\\ or \\/\n - Soft peak: a peak that is either /-*\\ or \\-*/\n In this case we define the middle as the peak",
" Parameters\n ----------\n sig : np array\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_monotonic API.
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_monotonic API.
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... | Determine whether elements in a list are monotonic. ie. unique
elements are clustered together.
ie. [5,5,3,4] is, [5,3,5] is not. | "Determine whether elements in a list are monotonic. ie. unique\n elements are clustered together.\n\n ie. [5,5,3,4] is, [5,3,5] is not." | 538 | false | MIT-LCP/wfdb-python | is_monotonic | 32,912 | |
LDU_FT/datacats/datacats/open_ | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new environment",
"Usage:\n datacats create [-bin] [--interactive] [-s NAME] [--address=IP] [--syslog]\n [--ckan=CKAN_VERSION] [--no-datapusher] [--site-url SITE_URL]\n [--no-init-db] ENVIRONMENT_DIR [PORT]",
"Options:\n --address=IP ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open_ API.
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 open_ API.
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... | Open web browser window to this environment
Usage:
datacats open [-r] [-s NAME] [ENVIRONMENT]
Options:
-s --site=NAME Choose a site to open [default: primary]
ENVIRONMENT may be an environment name or a path to an environment directory.
Default: '.' | "Open web browser window to this environment\n\nUsage:\n datacats open [-r] [-s NAME] [ENVIRONMENT]\n\nOptions:\n -s --site=NAME Choose a site to open [default: primary]\n\nENVIRONMENT may be an environment name or a path to an environment directory.\nDefault: '.'" | 256 | false | datacats/datacats | open_ | 32,913 | |
LDU_FT/Salamek/cron-descriptor/number_to_day | LDU_FT | [
"<BEGIN>\n## `parse_cron_line`",
"Parses crontab line and returns only starting time string",
" Args:\n line: crontab line\n Returns:\n Time part of cron line\n<END>",
"<BEGIN>\n## `parse`",
"Parses the cron expression string\n Returns:\n A 7 part string... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the number_to_day API.
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 number_to_day API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns localized day name by its CRON number
Args:
day_number: Number of a day
Returns:
Day corresponding to day_number
Raises:
IndexError: When day_number is not found | "Returns localized day name by its CRON number\n\n Args:\n day_number: Number of a day\n Returns:\n Day corresponding to day_number\n Raises:\n IndexError: When day_number is not found" | 52 | false | Salamek/cron-descriptor | number_to_day | 32,914 | |
LDU_FT/lowandrew/OLCTools/alleleupdater | LDU_FT | [
"<BEGIN>\n## `classes`",
"Uses .tfa files included in the ResFinder database to determine the resistance class of gene matches\n :param targetpath: Path to database files\n :return: Dictionary of resistance class: gene set\n<END>",
"<BEGIN>\n## `gene_name`",
"Split the FASTA header string into i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the alleleupdater API.
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 alleleupdater API.
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... | Updates file of alleles if the new allele passes length and identity checks
:param sample: sample object
:param gene: name of gene of interest
:param targetallele: closest allele in database | "Updates file of alleles if the new allele passes length and identity checks\n :param sample: sample object\n :param gene: name of gene of interest\n :param targetallele: closest allele in database" | 432 | false | lowandrew/OLCTools | alleleupdater | 32,915 | |
LDU_FT/aparsons/threadfix_api/data_json | LDU_FT | [
"<BEGIN>\n## `create_application`",
"Creates an application under a given team.\n :param team_id: Team identifier.\n :param name: The name of the new application being created.\n :param url: The url of where the application is located.\n<END>",
"<BEGIN>\n## `get_application_by_name`",
"Re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns the data as a valid JSON string. | "Returns the data as a valid JSON string." | 25 | false | aparsons/threadfix_api | data_json | 32,916 | |
LDU_FT/utek/pyseaweed/get_file | LDU_FT | [
"<BEGIN>\n## `get_file`",
"Get file from WeedFS.",
" Returns file content. May be problematic for large files as content is\n stored in memory.",
" Args:\n **fid**: File identifier <volume_id>,<file_name_hash>",
" Returns:\n Content of the file with provided... | 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 file from WeedFS.
Returns file content. May be problematic for large files as content is
stored in memory.
Args:
**fid**: File identifier <volume_id>,<file_name_hash>
Returns:
Content of the file with provided fid or None if file doesn't
exist o... | "Get file from WeedFS.\n\n Returns file content. May be problematic for large files as content is\n stored in memory.\n\n Args:\n **fid**: File identifier <volume_id>,<file_name_hash>\n\n Returns:\n Content of the file with provided fid or None if file doesn't\n ... | 67 | false | utek/pyseaweed | get_file | 32,917 | |
LDU_FT/houtianze/bypy/download | LDU_FT | [
"<BEGIN>\n## `human_time`",
"DocTests:\n\t>>> human_time(0) == ''\n\tTrue\n\t>>> human_time(122.1) == '2m2s'\n\tTrue\n\t>>> human_time(133) == '2m13s'\n\tTrue\n\t>>> human_time(12345678) == '20W2D21h21m18s'\n\tTrue\n<END>",
"<BEGIN>\n## `limit_unit`",
"DocTests:\n\t>>> limit_unit('1m2s', 1) == '1m'\n\tTrue\n\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API.
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 download API.
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... | Usage: download [remotepath] [localpath] - \
download a remote directory (recursively) / file
remotepath - remote path at Baidu Yun (after app root directory), if not specified, it is set to the root directory at Baidu Yun
localpath - local path. if not specified, it is set to the current directory | "Usage: download [remotepath] [localpath] - \\\ndownload a remote directory (recursively) / file\n remotepath - remote path at Baidu Yun (after app root directory), if not specified, it is set to the root directory at Baidu Yun\n localpath - local path. if not specified, it is set to the current directory" | 55 | false | houtianze/bypy | download | 32,918 | |
LDU_FT/pkgw/pwkit/expand | LDU_FT | [
"<BEGIN>\n## `sample_gamma`",
"This is mostly about recording the conversion between Numpy/Scipy\n conventions and Wikipedia conventions. Some equations:",
" mean = alpha / beta\n variance = alpha / beta**2\n mode = (alpha - 1) / beta [if alpha > 1; otherwise undefined]\n skewness = 2 / sqrt(alph... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expand API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expand API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Return a new :class:`Path` with various expansions performed. All
expansions are disabled by default but can be enabled by passing in
true values in the keyword arguments.
user : bool (default False)
Expand ``~`` and ``~user`` home-directory constructs. If a username is
unmatched or ``$HOME`` is unset, no cha... | "Return a new :class:`Path` with various expansions performed. All\n\texpansions are disabled by default but can be enabled by passing in\n\ttrue values in the keyword arguments.\n\n\tuser : bool (default False)\n\t Expand ``~`` and ``~user`` home-directory constructs. If a username is\n\t unmatched or ``$HOME`` is u... | 1,269 | true | pkgw/pwkit | expand | 32,919 | |
LDU_FT/Microsoft/malmo/set_malmo_xsd_path | LDU_FT | [
"<BEGIN>\n## `angvel`",
"Use sigmoid function to choose a delta that will help smoothly steer from current angle to target angle.\n<END>",
"<BEGIN>\n## `pointTo`",
"Steer towards the target pitch/yaw, return True when within the given tolerance threshold.\n<END>",
"<BEGIN>\n## `download`",
"Download Malmo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_malmo_xsd_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_malmo_xsd_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Set the MAMLMO_XSD_PATH environment variable in current process. | "Set the MAMLMO_XSD_PATH environment variable in current process." | 80 | false | Microsoft/malmo | set_malmo_xsd_path | 32,920 | |
LDU_FT/conchoecia/gloTK/sweeper_output | LDU_FT | [
"<BEGIN>\n## `meraculous_runner`",
"Check to make sure that the allAssembliesDir has been created, if not,\n make it. This will only execute for the first time an assembly has been\n run in this directory.",
" Run the directory from allAssembliesDir. The self.callString instance\n at... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sweeper_output API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sweeper_output API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | This method outputs all of the config files in the configs directory
within the current working directory. It names the config files based on
the following format:
a = assembly prefix <default = as>
i = assembly start index <default = 000>
d = date in format YYYYMMDD <default=to... | "This method outputs all of the config files in the configs directory\n within the current working directory. It names the config files based on\n the following format:\n\n a = assembly prefix <default = as>\n i = assembly start index <default = 000>\n d = date in format YYYYMMDD <def... | 73 | false | conchoecia/gloTK | sweeper_output | 32,921 | |
LDU_FT/basho/riak-python-client/get_index | LDU_FT | [
"<BEGIN>\n## `mkpath`",
"Constructs the path & query portion of a URI from path segments\n and a dict.\n<END>",
"<BEGIN>\n## `search_index_path`",
"Builds a Yokozuna search index URL.",
" :param index: optional name of a yz index\n :type index: string\n :param options: optional list ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_index API.
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... | Queries a secondary index over objects in this bucket,
returning keys or index/key pairs. See
:meth:`RiakClient.get_index()
<riak.client.RiakClient.get_index>` for more details. | "Queries a secondary index over objects in this bucket,\n returning keys or index/key pairs. See\n :meth:`RiakClient.get_index()\n <riak.client.RiakClient.get_index>` for more details." | 620 | false | basho/riak-python-client | get_index | 32,922 | |
LDU_FT/ColtonProvias/sqlalchemy-jsonapi/_parse_fields | 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 _parse_fields API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_fields API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Parse the querystring args for fields.
:param query: Dict of query args | "Parse the querystring args for fields.\n\n :param query: Dict of query args" | 95 | false | ColtonProvias/sqlalchemy-jsonapi | _parse_fields | 32,923 | |
LDU_FT/sammchardy/python-kucoin/cancel_all_orders | LDU_FT | [
"<BEGIN>\n## `subscribe`",
"Subscribe to a channel",
" :param topic: required\n :returns: None",
" Sample ws response",
" .. code-block:: python",
" {\n \"type\":\"message\",\n \"topic\":\"/market/ticker:BTC-USDT\",\n \"su... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cancel_all_orders API.
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 cancel_all_orders API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Cancel all orders
https://docs.kucoin.com/#cancel-all-orders
.. code:: python
res = client.cancel_all_orders()
:returns: ApiResponse
.. code:: python
{
"cancelledOrderIds": [
"5bd6e9286d99522a52e458de"
]
... | "Cancel all orders\n\n https://docs.kucoin.com/#cancel-all-orders\n\n .. code:: python\n\n res = client.cancel_all_orders()\n\n :returns: ApiResponse\n\n .. code:: python\n\n {\n \"cancelledOrderIds\": [\n \"5bd6e9286d99522a52e458de\"\n... | 271 | false | sammchardy/python-kucoin | cancel_all_orders | 32,924 | |
LDU_FT/rvswift/EB/find_best_ensemble | LDU_FT | [
"<BEGIN>\n## `approximator`",
"recursively rank queries\n :param molecules:\n :param options:\n :param sort_order:\n :param frameworks:\n :param ensemble:\n :return:\n<END>",
"<BEGIN>\n## `rank_queries`",
"rank queries by value added to existing ensemble\n :param molecules:\n :param sc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_best_ensemble 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 find_best_ensemble API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Return the best performing ensemble. If the user hasn't specified a FPF, the default behavior sorts ensembles by
largest enrichment factor at the smallest FPF (1 / n, where n is the total number of decoys). If the user supplied
a FPF, ensembles are sorted by the largest enrichment factor at the input FPF. If th... | "Return the best performing ensemble. If the user hasn't specified a FPF, the default behavior sorts ensembles by\n largest enrichment factor at the smallest FPF (1 / n, where n is the total number of decoys). If the user supplied\n a FPF, ensembles are sorted by the largest enrichment factor at the input FPF. If... | 91 | false | rvswift/EB | find_best_ensemble | 32,925 | |
LDU_FT/sdispater/poetry/find_best_candidate | LDU_FT | [
"<BEGIN>\n## `path_to_url`",
"Convert a path to a file: URL. The path will be made absolute and have\n quoted path parts.\n<END>",
"<BEGIN>\n## `is_installable_dir`",
"Return True if `path` is a directory containing a setup.py file.\n<END>",
"<BEGIN>\n## `get_requires_for_build_wheel`",
"Returns a lis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_best_candidate 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 find_best_candidate 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... | Given a package name and optional version,
returns the latest Package that matches | "Given a package name and optional version,\n returns the latest Package that matches" | 107 | false | sdispater/poetry | find_best_candidate | 32,926 | |
LDU_FT/pklaus/brother_ql/add_switch_mode | LDU_FT | [
"<BEGIN>\n## `send`",
"Send instruction bytes to a printer.",
" :param bytes instructions: The instructions to be sent to the printer.\n :param str printer_identifier: Identifier for the printer.\n :param str backend_identifier: Can enforce the use of a specific backend.\n :param bool blocking: Indi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_switch_mode API.
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 add_switch_mode API.
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... | Switch dynamic command mode
Switch to the raster mode on the printers that support
the mode change (others are in raster mode already). | "Switch dynamic command mode\n Switch to the raster mode on the printers that support\n the mode change (others are in raster mode already)." | 37 | false | pklaus/brother_ql | add_switch_mode | 32,927 | |
LDU_FT/hayd/pep8radius/shell_out_ignore_exitcode | LDU_FT | [
"<BEGIN>\n## `fix_file`",
"Calls fix_code on the source code from the passed in file over the given\n line_ranges.",
" - If diff then this returns the udiff for the changes, otherwise\n returns the fixed code.\n - If in_place the changes are written to the file.\n<END>",
"<BEGIN>\n## `fix_code`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shell_out_ignore_exitcode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shell_out_ignore_exitcode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Same as shell_out but doesn't raise if the cmd exits badly. | "Same as shell_out but doesn't raise if the cmd exits badly." | 57 | false | hayd/pep8radius | shell_out_ignore_exitcode | 32,928 | |
LDU_FT/dusty-phillips/opterator/main | LDU_FT | [
"<BEGIN>\n## `main`",
"An example copy script with some example parameters that might\n be used in a file or directory copy command.",
" :param recursive: -r --recursive copy directories\n recursively\n :param backup: -b --backup backup any files you copy over\n :param suffix: -S --suffix ove... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | An example copy script with some example parameters that might
be used in a file or directory copy command.
:param recursive: -r --recursive copy directories
recursively
:param backup: -b --backup backup any files you copy over
:param suffix: -S --suffix override the usual backup
suffix | "An example copy script with some example parameters that might\n be used in a file or directory copy command.\n\n :param recursive: -r --recursive copy directories\n recursively\n :param backup: -b --backup backup any files you copy over\n :param suffix: -S --suffix override the usual backup\n ... | 21 | false | dusty-phillips/opterator | main | 32,929 | |
LDU_FT/datamachine/twx/send_sticker | LDU_FT | [
"<BEGIN>\n## `_ige`",
"Given a key, given an iv, and message\n do whatever operation asked in the operation field.\n Operation will be checked for: \"decrypt\" and \"encrypt\" strings.\n Returns the message encrypted/decrypted.\n message must be a multiple by 16 bytes (for division in 16 byte bloc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_sticker API.
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 send_sticker API.
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... | Send sticker to peer.
:param peer: Peer to send message to.
:param sticker: File path to sticker to send.
:param reply: Message object or message_id to reply to.
:param on_success: Callback to call when call is complete.
:type reply: int or Message | "Send sticker to peer.\n :param peer: Peer to send message to.\n :param sticker: File path to sticker to send.\n :param reply: Message object or message_id to reply to.\n :param on_success: Callback to call when call is complete.\n\n :type reply: int or Message" | 94 | false | datamachine/twx | send_sticker | 32,930 | |
LDU_FT/lukaszb/monolith/import_class | LDU_FT | [
"<BEGIN>\n## `import_class`",
"Returns class from the given path.",
" For example, in order to get class located at\n ``mypackage.subpackage.MyClass``:",
" try:\n hgrepo = import_class('mypackage.subpackage.MyClass')\n except ImportError:\n # hadle error\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns class from the given path.
For example, in order to get class located at
``mypackage.subpackage.MyClass``:
try:
hgrepo = import_class('mypackage.subpackage.MyClass')
except ImportError:
# hadle error | "Returns class from the given path.\n\n For example, in order to get class located at\n ``mypackage.subpackage.MyClass``:\n\n try:\n hgrepo = import_class('mypackage.subpackage.MyClass')\n except ImportError:\n # hadle error" | 23 | false | lukaszb/monolith | import_class | 32,931 | |
LDU_FT/simodalla/pygmount/GetFilename | LDU_FT | [
"<BEGIN>\n## `kwargs_helper`",
"This function preprocesses the kwargs dictionary to sanitize it.\n<END>",
"<BEGIN>\n## `GetDate`",
"Prompt the user for a date.",
" This will raise a Zenity Calendar Dialog for the user to pick a date.\n It will return a datetime.date object with the date or None if the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetFilename API.
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 GetFilename API.
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... | Prompt the user for a filename.
This will raise a Zenity File Selection Dialog. It will return a list with
the selected files or None if the user hit cancel.
multiple - True to allow the user to select multiple files.
sep - Token to use as the path separator when parsing Zenity's return
... | "Prompt the user for a filename.\n \n This will raise a Zenity File Selection Dialog. It will return a list with \n the selected files or None if the user hit cancel.\n \n multiple - True to allow the user to select multiple files.\n sep - Token to use as the path separator when parsing Zenity's retur... | 56 | false | simodalla/pygmount | GetFilename | 32,932 | |
LDU_FT/stefankoegl/kdtree/get_child_pos | LDU_FT | [
"<BEGIN>\n## `require_axis`",
"Check if the object of the function has axis and sel_axis members\n<END>",
"<BEGIN>\n## `create`",
"Creates a kd-tree from a list of points",
" All points in the list must be of the same dimensionality.",
" If no point_list is given, an empty tree is created. The numbe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_child_pos API.
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_child_pos API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns the position if the given child
If the given node is the left child, 0 is returned. If its the right
child, 1 is returned. Otherwise None | "Returns the position if the given child\n\n If the given node is the left child, 0 is returned. If its the right\n child, 1 is returned. Otherwise None" | 72 | false | stefankoegl/kdtree | get_child_pos | 32,933 | |
LDU_FT/deginner/mq-client/on_channel_open | LDU_FT | [
"<BEGIN>\n## `_on_message`",
"Invoked by pika when a message is delivered from RabbitMQ. The\n channel is passed for your convenience. The basic_deliver object that\n is passed in carries the exchange, routing key, delivery tag and\n a redelivered flag for the message. The properties passed in is an\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_channel_open API.
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 on_channel_open API.
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... | Invoked by pika when the channel has been opened.
The channel object is passed in so we can make use of it.
Since the channel is now open, we'll declare the exchange to use.
:param pika.channel.Channel channel: The channel object | "Invoked by pika when the channel has been opened.\n The channel object is passed in so we can make use of it.\n\n Since the channel is now open, we'll declare the exchange to use.\n\n :param pika.channel.Channel channel: The channel object" | 61 | false | deginner/mq-client | on_channel_open | 32,934 | |
LDU_FT/greenelab/PathCORE-T/pathway_enrichment_with_overlap_correction | LDU_FT | [
"<BEGIN>\n## `_load_significant_pathways_file`",
"Read in the significant pathways file as a\n pandas.DataFrame.\n<END>",
"<BEGIN>\n## `_pathway_feature_permutation`",
"Permute the pathways across features for one side in the\n network. Used in `permute_pathways_across_features`",
" Parameters\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pathway_enrichment_with_overlap_correction API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pathway_enrichment_with_overlap_correction API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indic... | Identify pathways overrepresented in a constructed feature
according to a user-specified criterion (see `gene_signature_definitions`
in the parameters list below) for identifying the feature's gene
signature. Donato et al.'s (2013) algorithm for pathway crosstalk
correction (removes gene overlap between... | "Identify pathways overrepresented in a constructed feature\n according to a user-specified criterion (see `gene_signature_definitions`\n in the parameters list below) for identifying the feature's gene\n signature. Donato et al.'s (2013) algorithm for pathway crosstalk\n correction (removes gene overlap be... | 82 | false | greenelab/PathCORE-T | pathway_enrichment_with_overlap_correction | 32,935 | |
LDU_FT/Esri/ArcREST/createGroup | LDU_FT | [
"<BEGIN>\n## `trace`",
"trace finds the line, the filename\n and error message and returns it\n to the user\n<END>",
"<BEGIN>\n## `merge_dicts`",
"Merge a list of dictionaries.",
" Args:\n dicts (list): a list of dictionary objects\n op (operator): an operator item used to mer... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createGroup API.
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 createGroup API.
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... | The Create Group operation (POST only) creates a new group in the
Portal community. Only authenticated users can create groups. The
user who creates the group automatically becomes the owner of the
group. The owner of the group is automatically an administrator of
the group. The calling ... | "The Create Group operation (POST only) creates a new group in the\n Portal community. Only authenticated users can create groups. The\n user who creates the group automatically becomes the owner of the\n group. The owner of the group is automatically an administrator of\n the group. The cal... | 1,240 | true | Esri/ArcREST | createGroup | 32,936 | |
LDU_FT/dvdotsenko/jsonrpc.py/parse_request | LDU_FT | [
"<BEGIN>\n## `clean_dict_keys`",
"Convert all keys of the dict 'd' to (ascii-)strings.",
" :Raises: UnicodeEncodeError\n<END>",
"<BEGIN>\n## `json_dumps`",
"A rewrap of json.dumps done for one reason - to inject a custom `cls` kwarg",
" :param obj:\n :param kwargs:\n :return:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 parse_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... | JSONRPC allows for **batch** requests to be communicated
as array of dicts. This method parses out each individual
element in the batch and returns a list of tuples, each
tuple a result of parsing of each item in the batch.
:Returns: | tuple of (results, is_batch_mode_flag)
... | "JSONRPC allows for **batch** requests to be communicated\n as array of dicts. This method parses out each individual\n element in the batch and returns a list of tuples, each\n tuple a result of parsing of each item in the batch.\n\n :Returns: | tuple of (results, is_batch_mode_flag)\n ... | 58 | false | dvdotsenko/jsonrpc.py | parse_request | 32,937 | |
LDU_FT/opinkerfi/nago/get_nodes | LDU_FT | [
"<BEGIN>\n## `get`",
"Get all nagios status information from a local nagios instance\n<END>",
"<BEGIN>\n## `post`",
"Puts a list of hosts into local instance of nagios checkresults\n Arguments:\n hosts -- list of dicts, like one obtained from get_checkresults\n services -... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_nodes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_nodes API.
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 all nodes in a list of dicts format | "Returns all nodes in a list of dicts format" | 70 | false | opinkerfi/nago | get_nodes | 32,938 | |
LDU_FT/cnobile2012/pololu-motors/_genTimeoutList | LDU_FT | [
"<BEGIN>\n## `getError`",
"Get the error message or value stored in the Qik 2s9v1 hardware.",
" :Keywords:\n device : `int`\n The device is the integer number of the hardware devices ID and\n is only used with the Pololu Protocol. Defaults to the hardware's\n def... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _genTimeoutList API.
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 _genTimeoutList API.
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... | Generates a dict of the valid timeout values for the given `const`.
The `const` value may change for different versions or types of
Pololu boards. | "Generates a dict of the valid timeout values for the given `const`.\n The `const` value may change for different versions or types of\n Pololu boards." | 97 | false | cnobile2012/pololu-motors | _genTimeoutList | 32,939 | |
LDU_FT/pinterest/pymemcache/delete_many | LDU_FT | [
"<BEGIN>\n## `murmur3_32`",
"MurmurHash3 was written by Austin Appleby, and is placed in the\n public domain. The author hereby disclaims copyright to this source\n code.\n<END>",
"<BEGIN>\n## `_readline`",
"Read line of text from the socket.",
" Read a line of text (delimited by \"\\r\\n\") ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_many API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_many API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | A convenience function to delete multiple keys.
Args:
keys: list(str), the list of keys to delete.
noreply: optional bool, True to not wait for the reply (defaults to
self.default_noreply).
Returns:
True. If an exception is raised then all, some or none... | "A convenience function to delete multiple keys.\n\n Args:\n keys: list(str), the list of keys to delete.\n noreply: optional bool, True to not wait for the reply (defaults to\n self.default_noreply).\n\n Returns:\n True. If an exception is raised then all, som... | 89 | false | pinterest/pymemcache | delete_many | 32,940 | |
LDU_FT/tisimst/mcerp/var | LDU_FT | [
"<BEGIN>\n## `correlate`",
"Force a correlation matrix on a set of statistically distributed objects.\r\n This function works on objects in-place.\r",
" Parameters\r\n ----------\r\n params : array\r\n An array of of uv objects.\r\n corrmat : 2d-array\r\n The correlation matrix to b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the var API.
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 var API.
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... | Variance value as a result of an uncertainty calculation | "Variance value as a result of an uncertainty calculation" | 166 | false | tisimst/mcerp | var | 32,941 | |
LDU_FT/commonwealth-of-puerto-rico/libre/get_binary_iterator | LDU_FT | [
"<BEGIN>\n## `copy_data`",
"Copy the data from the it's point of origin, serializing it,\n storing it serialized as well as in it's raw form and calculate\n a running hash of the serialized representation\n<END>",
"<BEGIN>\n## `get_binary_iterator`",
"Generator to stream the remote file piece by... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_binary_iterator 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 get_binary_iterator 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... | Generator to stream the remote file piece by piece. | "Generator to stream the remote file piece by piece." | 28 | false | commonwealth-of-puerto-rico/libre | get_binary_iterator | 32,942 | |
LDU_FT/seomoz/qless-py/move | LDU_FT | [
"<BEGIN>\n## `clone`",
"Clone the redis client to be slowlog-compatible\n<END>",
"<BEGIN>\n## `stop`",
"Set everything back to normal and collect our data\n<END>",
"<BEGIN>\n## `class_string`",
"Return a string representative of the class\n<END>",
"<BEGIN>\n## `put`",
"Either create a new job in the p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move API.
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 move API.
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... | Move this job out of its existing state and into another queue. If
a worker has been given this job, then that worker's attempts to
heartbeat that job will fail. Like ``Queue.put``, this accepts a
delay, and dependencies | "Move this job out of its existing state and into another queue. If\n a worker has been given this job, then that worker's attempts to\n heartbeat that job will fail. Like ``Queue.put``, this accepts a\n delay, and dependencies" | 66 | false | seomoz/qless-py | move | 32,943 | |
LDU_FT/ratt-ru/PyMORESANE/gpu_iuwt_decomposition | LDU_FT | [
"<BEGIN>\n## `iuwt_decomposition`",
"This function serves as a handler for the different implementations of the IUWT decomposition. It allows the\n different methods to be used almost interchangeably.",
" INPUTS:\n in1 (no default): Array on which the decomposition is to be perfor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gpu_iuwt_decomposition 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 gpu_iuwt_decomposition API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | This function calls the a trous algorithm code to decompose the input into its wavelet coefficients. This is
the isotropic undecimated wavelet transform implemented for a GPU.
INPUTS:
in1 (no default): Array on which the decomposition is to be performed.
scale_count (no defaul... | "This function calls the a trous algorithm code to decompose the input into its wavelet coefficients. This is\n the isotropic undecimated wavelet transform implemented for a GPU.\n\n INPUTS:\n in1 (no default): Array on which the decomposition is to be performed.\n scale_count (no ... | 125 | false | ratt-ru/PyMORESANE | gpu_iuwt_decomposition | 32,944 | |
LDU_FT/mfitzp/padua/rankintensity | LDU_FT | [
"<BEGIN>\n## `remove_rows_matching`",
"Return a ``DataFrame`` with rows where `column` values match `match` are removed.",
" The selected `column` series of values from the supplied Pandas ``DataFrame`` is compared\n to `match`, and those rows that match are removed from the DataFrame.",
" :param df:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rankintensity API.
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 rankintensity API.
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... | Rank intensity plot, showing intensity order vs. raw intensity value S curve.
Generates a plot showing detected protein intensity plotted against protein intensity rank. A series of colors
can be provided to segment the S curve into regions. Gene ontology enrichments (as calculated via `analysis.go_enrichment`... | "Rank intensity plot, showing intensity order vs. raw intensity value S curve.\n\n Generates a plot showing detected protein intensity plotted against protein intensity rank. A series of colors\n can be provided to segment the S curve into regions. Gene ontology enrichments (as calculated via `analysis.go_enrichm... | 266 | false | mfitzp/padua | rankintensity | 32,945 | |
LDU_FT/googledatalab/pydatalab/objects_delete | LDU_FT | [
"<BEGIN>\n## `ml`",
"Implements the datalab cell magic for MLWorkbench operations.",
" Args:\n line: the contents of the ml command line.\n Returns:\n The results of executing the cell.\n<END>",
"<BEGIN>\n## `from_csv`",
"Create a Metrics instance from csv file pattern.",
" Args:\n input_c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the objects_delete API.
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 objects_delete API.
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... | Deletes the specified object.
Args:
bucket: the name of the bucket.
key: the key of the object within the bucket.
Raises:
Exception if there is an error performing the operation. | "Deletes the specified object.\n\n Args:\n bucket: the name of the bucket.\n key: the key of the object within the bucket.\n Raises:\n Exception if there is an error performing the operation." | 1,652 | true | googledatalab/pydatalab | objects_delete | 32,946 | |
LDU_FT/clintval/sample-sheet/to_json | LDU_FT | [
"<BEGIN>\n## `_sum_cycles_from_tokens`",
"Sum the total number of cycles over a list of tokens.\n<END>",
"<BEGIN>\n## `template_cycles`",
"The number of cycles dedicated to template.\n<END>",
"<BEGIN>\n## `skip_cycles`",
"The number of cycles dedicated to skips.\n<END>",
"<BEGIN>\n## `total_cycles`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return the properties of this :class:`Sample` as JSON serializable. | "Return the properties of this :class:`Sample` as JSON serializable." | 50 | false | clintval/sample-sheet | to_json | 32,947 | |
LDU_FT/havardgulldahl/jottalib/on_modified | LDU_FT | [
"<BEGIN>\n## `get_auth_info`",
"Get authentication details to jottacloud.",
" Will first check environment variables, then the .netrc file.\n<END>",
"<BEGIN>\n## `calculate_md5`",
"Utility function to calculate md5 hashes while being light on memory usage.",
" By reading the fileobject piece by piec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_modified API.
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 on_modified API.
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... | Called when a file (or directory) is modified. | "Called when a file (or directory) is modified." | 111 | false | havardgulldahl/jottalib | on_modified | 32,948 | |
LDU_FT/rcarmo/pngcanvas/rgb2rgba | LDU_FT | [
"<BEGIN>\n## `blend`",
"Alpha blends two colors, using the alpha given by c2\n<END>",
"<BEGIN>\n## `rgb2rgba`",
"Take a row of RGB bytes, and convert to a row of RGBA bytes.\n<END>",
"<BEGIN>\n## `read`",
"Read `num_bytes` from the compressed data chunks.",
" Data is returned as `bytes` of length... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rgb2rgba API.
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 rgb2rgba API.
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... | Take a row of RGB bytes, and convert to a row of RGBA bytes. | "Take a row of RGB bytes, and convert to a row of RGBA bytes." | 15 | false | rcarmo/pngcanvas | rgb2rgba | 32,949 | |
LDU_FT/TissueMAPS/TmClient/upload_jterator_project_files | LDU_FT | [
"<BEGIN>\n## `map_logging_verbosity`",
"Parameters\n ----------\n verbosity: int\n logging verbosity level (0-4)",
" Returns\n -------\n A logging level as exported by `logging` module.\n By default returns logging.NOTSET",
" Raises\n ------\n TypeError\n when `verbosi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload_jterator_project_files 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 upload_jterator_project_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Uploads the *jterator* project description from files on disk in
YAML format. It expects a ``pipeline.yaml`` file in `directory` and
optionally ``*handles.yaml`` files in a ``handles`` subfolder of
`directory`.
Parameters
----------
directory: str
path to the... | "Uploads the *jterator* project description from files on disk in\n YAML format. It expects a ``pipeline.yaml`` file in `directory` and\n optionally ``*handles.yaml`` files in a ``handles`` subfolder of\n `directory`.\n\n Parameters\n ----------\n directory: str\n pa... | 203 | false | TissueMAPS/TmClient | upload_jterator_project_files | 32,950 | |
LDU_FT/lrq3000/pyFileFixity/nextChild | LDU_FT | [
"<BEGIN>\n## `discard`",
"Remove the first occurrence of *val*.",
" If *val* is not a member, does nothing.\n<END>",
"<BEGIN>\n## `remove`",
"Remove first occurrence of *val*.",
" Raises ValueError if *val* is not present.\n<END>",
"<BEGIN>\n## `_delete`",
"Delete the item at the given (... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nextChild API.
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 nextChild API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return the next sibling of the node indicated by index. | "Return the next sibling of the node indicated by index." | 1,045 | true | lrq3000/pyFileFixity | nextChild | 32,951 | |
LDU_FT/ElsevierDev/elsapy/read_docs | LDU_FT | [
"<BEGIN>\n## `exec_request`",
"Sends the actual request; returns response.\n<END>",
"<BEGIN>\n## `read`",
"Fetches the latest data for this entity from api.elsevier.com.\n Returns True if successful; else, False.\n<END>",
"<BEGIN>\n## `write`",
"If data exists for the entity, writes it to disk ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_docs API.
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 read_docs API.
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... | Fetches the list of documents associated with this entity from
api.elsevier.com. If need be, splits the requests in batches to
retrieve them all. Returns True if successful; else, False.
NOTE: this method requires elevated API permissions.
See http://bit.ly/2leirnq for more info. | "Fetches the list of documents associated with this entity from\n api.elsevier.com. If need be, splits the requests in batches to\n retrieve them all. Returns True if successful; else, False.\n\t\t\tNOTE: this method requires elevated API permissions.\n\t\t\tSee http://bit.ly/2leirnq for more info... | 18 | false | ElsevierDev/elsapy | read_docs | 32,952 | |
LDU_FT/Celeo/Pycord/command | LDU_FT | [
"<BEGIN>\n## `parse`",
"Gets the enum for the op code",
" Args:\n op: value of the op code (will be casted to int)",
" Returns:\n The enum that matches the op code\n<END>",
"<BEGIN>\n## `run`",
"Runs the thread",
" This method handles sending the heartbeat to t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted... | Decorator to wrap methods to register them as commands
The argument to this method is the command that you want to trigger your
callback. If you want users to send "!hello bob" and your method "command_hello"
to get called when someone does, then your setup will look like:
@pycord.... | "Decorator to wrap methods to register them as commands\n\n The argument to this method is the command that you want to trigger your\n callback. If you want users to send \"!hello bob\" and your method \"command_hello\"\n to get called when someone does, then your setup will look like:\n\n ... | 108 | false | Celeo/Pycord | command | 32,953 | |
LDU_FT/fooelisa/pyiosxr/open | LDU_FT | [
"<BEGIN>\n## `make_rpc_call`",
"Allow a user to query a device directly using XML-requests.",
" :param rpc_command: (str) rpc command such as:\n <Get><Operational><LLDP><NodeTable></NodeTable></LLDP></Operational></Get>\n<END>",
"<BEGIN>\n## `open`",
"Open a connectio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open API.
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 open API.
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... | Open a connection to an IOS-XR device.
Connects to the device using SSH and drops into XML mode. | "Open a connection to an IOS-XR device.\n\n Connects to the device using SSH and drops into XML mode." | 38 | false | fooelisa/pyiosxr | open | 32,954 | |
LDU_FT/StanfordBioinformatics/scgpm_seqresults_dnanexus/get_barcode_stats | LDU_FT | [
"<BEGIN>\n## `log_file_name`",
"Function : Creates a logfile name, named after this script and includes the number of seconds since the Epoch.\n An optional extension can be specified to make the logfile name more meaningful regarding its purpose.\n Args : ext - The extension to add to the log fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_barcode_stats API.
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_barcode_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Loads the JSON in a ${barcode}_stats.json file in the DNAnexus project (usually in the qc
folder). | "Loads the JSON in a ${barcode}_stats.json file in the DNAnexus project (usually in the qc\n folder)." | 63 | false | StanfordBioinformatics/scgpm_seqresults_dnanexus | get_barcode_stats | 32,955 | |
LDU_FT/GuiltyTargets/ppi-network-annotation/parse_csv | LDU_FT | [
"<BEGIN>\n## `get_neighborhood_network`",
"Get the neighborhood graph of a node.",
" :param str node_name: Node whose neighborhood graph is requested.\n :return Graph: Neighborhood graph\n<END>",
"<BEGIN>\n## `get_neighbor_names`",
"Get the names of all neighbors of a node, and the node itself... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_csv API.
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 parse_csv API.
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... | Read a csv file on differential expression values as Gene objects.
:param str file_path: The path to the differential expression file to be parsed.
:param config.Params params: An object that includes paths, cutoffs and other information.
:return list: A list of Gene objects. | "Read a csv file on differential expression values as Gene objects.\n\n :param str file_path: The path to the differential expression file to be parsed.\n :param config.Params params: An object that includes paths, cutoffs and other information.\n :return list: A list of Gene objects." | 105 | false | GuiltyTargets/ppi-network-annotation | parse_csv | 32,956 | |
LDU_FT/b3j0f/aop/start | LDU_FT | [
"<BEGIN>\n## `find_ctx`",
"Find a Pointcut ctx which is a class/instance related to input\n function/method.",
" :param elt: elt from where find a ctx.\n :return: elt ctx. None if no ctx available or if elt is a None method.\n<END>",
"<BEGIN>\n## `base_ctx`",
"Get base ctx.",
" :param ctx: ini... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API.
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 start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Start to proceed this Joinpoint in initializing target, its
arguments and advices. Call self.proceed at the end.
:param callable target: new target to use in proceeding. self.target by
default.
:param tuple args: new target args to use in proceeding. self.args by
default... | "Start to proceed this Joinpoint in initializing target, its\n arguments and advices. Call self.proceed at the end.\n\n :param callable target: new target to use in proceeding. self.target by\n default.\n :param tuple args: new target args to use in proceeding. self.args by\n ... | 79 | false | b3j0f/aop | start | 32,957 | |
LDU_FT/royi1000/py-libhdate/get_omer_string | LDU_FT | [
"<BEGIN>\n## `gdate_to_jdn`",
"Compute Julian day from Gregorian day, month and year.",
" Algorithm from wikipedia's julian_day article.\n Return: The julian day number\n<END>",
"<BEGIN>\n## `hdate_to_jdn`",
"Compute Julian day from Hebrew day, month and year.",
" Return: julian day number,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_omer_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_omer_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 e... | Return a string representing the count of the Omer. | "Return a string representing the count of the Omer." | 70 | false | royi1000/py-libhdate | get_omer_string | 32,958 | |
LDU_FT/hannes-brt/cudnn-python-wrappers/cudnnSoftmaxForward | LDU_FT | [
"<BEGIN>\n## `cudnnCreate`",
"Initialize cuDNN.",
" Initializes cuDNN and returns a handle to the cuDNN context.",
" Returns\n -------",
" handle : cudnnHandle\n cuDNN context\n<END>",
"<BEGIN>\n## `cudnnDestroy`",
"Release cuDNN resources.",
" Release hardware resources used by ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cudnnSoftmaxForward 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 cudnnSoftmaxForward API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | This routing computes the softmax function
Parameters
----------
handle : cudnnHandle
Handle to a previously created cuDNN context.
algorithm : cudnnSoftmaxAlgorithm
Enumerant to specify the softmax algorithm.
mode : cudnnSoftmaxMode
Enumerant to specify the softmax mode.
... | "This routing computes the softmax function\n\n Parameters\n ----------\n handle : cudnnHandle\n Handle to a previously created cuDNN context.\n algorithm : cudnnSoftmaxAlgorithm\n Enumerant to specify the softmax algorithm.\n mode : cudnnSoftmaxMode\n Enumerant to specify the softma... | 108 | false | hannes-brt/cudnn-python-wrappers | cudnnSoftmaxForward | 32,959 | |
LDU_FT/open-homeautomation/pknx/datetime_to_knx | LDU_FT | [
"<BEGIN>\n## `ip_to_array`",
"Convert a string representing an IPv4 address to 4 bytes.\n<END>",
"<BEGIN>\n## `int_to_array`",
"Convert an length byte integer to an array of bytes.\n<END>",
"<BEGIN>\n## `parse_group_address`",
"Parse KNX group addresses and return the address as an integer.",
" This ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the datetime_to_knx API.
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 datetime_to_knx API.
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... | Convert a Python timestamp to an 8 byte KNX time and date object | "Convert a Python timestamp to an 8 byte KNX time and date object" | 80 | false | open-homeautomation/pknx | datetime_to_knx | 32,960 | |
LDU_FT/wilfilho/BingTranslator/speak_phrase | LDU_FT | [
"<BEGIN>\n## `_get_token`",
"Get token for make request. The The data obtained herein are used \r\n in the variable header.\r",
" Returns:\r\n To perform the request, receive in return a dictionary\r\n with several keys. With this method only return the token\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the speak_phrase API.
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 speak_phrase API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | This method is very similar to the above, the difference between
them is that this method creates an object of class
TranslateSpeak(having therefore different attributes) and use
another url, as we see the presence of SpeakMode enumerator instead
of Translate.
... | "This method is very similar to the above, the difference between \r\n them is that this method creates an object of class \r\n TranslateSpeak(having therefore different attributes) and use \r\n another url, as we see the presence of SpeakMode enumerator instead\r\n of Transl... | 25 | false | wilfilho/BingTranslator | speak_phrase | 32,961 | |
LDU_FT/textbook/atmdb/_create_image_url | LDU_FT | [
"<BEGIN>\n## `url_builder`",
"Create a URL for the specified endpoint.",
" Arguments:\n endpoint (:py:class:`str`): The API endpoint to access.\n root: (:py:class:`str`, optional): The root URL for the\n service API.\n params: (:py:class:`dict`, optional): The values... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_image_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_image_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... | The the closest available size for specified image type.
Arguments:
file_path (:py:class:`str`): The image file path.
type_ (:py:class:`str`): The type of image to create a URL
for, (``'poster'`` or ``'profile'``).
target_size (:py:class:`int`): The size of image to ai... | "The the closest available size for specified image type.\n\n Arguments:\n file_path (:py:class:`str`): The image file path.\n type_ (:py:class:`str`): The type of image to create a URL\n for, (``'poster'`` or ``'profile'``).\n target_size (:py:class:`int`): The size of imag... | 70 | false | textbook/atmdb | _create_image_url | 32,962 | |
LDU_FT/shoeffner/pandoc-source-exec/prepare | LDU_FT | [
"<BEGIN>\n## `select_executor`",
"Determines the executor for the code in `elem.text`.",
" The elem attributes and classes select the executor in this order (highest\n to lowest):\n - custom commands (cmd=...)\n - runas (runas=...) takes a key for the executors\n - first element class... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare API.
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 prepare API.
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... | Sets the caption_found and plot_found variables to False. | "Sets the caption_found and plot_found variables to False." | 55 | false | shoeffner/pandoc-source-exec | prepare | 32,963 | |
LDU_FT/contains-io/typet/_get_type_name | LDU_FT | [
"<BEGIN>\n## `_get_bases`",
"Get the base and meta classes to use in creating a subclass.",
" Args:\n type_: The type to subclass.",
" Returns:\n A tuple containing two values: a base class, and a metaclass.\n<END>",
"<BEGIN>\n## `_instantiate`",
"Instantiate the object... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_type_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_type_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Return a displayable name for the type.
Args:
type_: A class object.
Returns:
A string value describing the class name that can be used in a natural
language sentence. | "Return a displayable name for the type.\n\n Args:\n type_: A class object.\n\n Returns:\n A string value describing the class name that can be used in a natural\n language sentence." | 78 | false | contains-io/typet | _get_type_name | 32,964 | |
LDU_FT/vlasovskikh/funcparserlib/pretty_tree | LDU_FT | [
"<BEGIN>\n## `pretty_tree`",
"(a, (a -> list(a)), (a -> str)) -> str",
" Returns a pseudographic tree representation of x similar to the tree command\n in Unix.\n<END>",
"<BEGIN>\n## `make_tokenizer`",
"[(str, (str, int?))] -> (str -> Iterable(Token))\n<END>",
"<BEGIN>\n## `finished`",
"Parser(a, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pretty_tree API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pretty_tree API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | (a, (a -> list(a)), (a -> str)) -> str
Returns a pseudographic tree representation of x similar to the tree command
in Unix. | "(a, (a -> list(a)), (a -> str)) -> str\n\n Returns a pseudographic tree representation of x similar to the tree command\n in Unix." | 35 | false | vlasovskikh/funcparserlib | pretty_tree | 32,965 | |
LDU_FT/andrenarchy/krypy/strakos | LDU_FT | [
"<BEGIN>\n## `find_common_dtype`",
"Returns common dtype of numpy and scipy objects.",
" Recognizes ndarray, spmatrix and LinearOperator. All other objects are\n ignored (most notably None).\n<END>",
"<BEGIN>\n## `shape_vecs`",
"Reshape all ndarrays with ``shape==(n,)`` to ``shape==(n,1)``.",
" R... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the strakos API.
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 strakos API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return the Strakoš matrix.
See [Str92]_. | "Return the Strakoš matrix.\n\n See [Str92]_." | 194 | false | andrenarchy/krypy | strakos | 32,966 | |
LDU_FT/marrow/WebCore/serve | LDU_FT | [
"<BEGIN>\n## `_promote`",
"Create a new subclass of Context which incorporates instance attributes and new descriptors.",
"\t\tThis promotes an instance and its instance attributes up to being a class with class attributes, then\n\t\treturns an instance of that class.\n<END>",
"<BEGIN>\n## `register`",
"Reg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serve API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serve API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | The recommended development HTTP server.
Note that this server performs additional buffering and will not honour chunked encoding breaks. | "The recommended development HTTP server.\n\t\n\tNote that this server performs additional buffering and will not honour chunked encoding breaks." | 90 | false | marrow/WebCore | serve | 32,967 | |
LDU_FT/core/uricore/pop | LDU_FT | [
"<BEGIN>\n## `iteritems`",
"Like :meth:`items` but returns an iterator.\n<END>",
"<BEGIN>\n## `iterlists`",
"Like :meth:`items` but returns an iterator.\n<END>",
"<BEGIN>\n## `to_dict`",
"Return the contents as regular dict. If `flat` is `True` the\n returned dict will only have the first item pre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pop API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pop API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Pop the first item for a list on the dict. Afterwards the
key is removed from the dict, so additional values are discarded:
>>> d = MultiDict({"foo": [1, 2, 3]})
>>> d.pop("foo")
1
>>> "foo" in d
False
:param key: the key to pop.
:param default: if prov... | "Pop the first item for a list on the dict. Afterwards the\n key is removed from the dict, so additional values are discarded:\n\n >>> d = MultiDict({\"foo\": [1, 2, 3]})\n >>> d.pop(\"foo\")\n 1\n >>> \"foo\" in d\n False\n\n :param key: the key to pop.\n :param... | 85 | false | core/uricore | pop | 32,968 | |
LDU_FT/mailgun/talon/extract_from_html | LDU_FT | [
"<BEGIN>\n## `safe_format`",
"Helper: formats string with any combination of bytestrings/unicode\n strings without raising exceptions\n<END>",
"<BEGIN>\n## `to_unicode`",
"Safely returns a unicode version of a given string\n >>> utils.to_unicode('привет')\n u'привет'\n >>> utils.to_unicode(u'п... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_from_html API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_from_html API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Extract not quoted message from provided html message body
using tags and plain text algorithm.
Cut out the 'blockquote', 'gmail_quote' tags.
Cut Microsoft quotations.
Then use plain text algorithm to cut out splitter or
leftover quotation.
This works by adding checkpoint text to all html tags... | "Extract not quoted message from provided html message body\n using tags and plain text algorithm.\n\n Cut out the 'blockquote', 'gmail_quote' tags.\n Cut Microsoft quotations.\n\n Then use plain text algorithm to cut out splitter or\n leftover quotation.\n This works by adding checkpoint text to all ... | 140 | false | mailgun/talon | extract_from_html | 32,969 | |
LDU_FT/cdgriffith/Box/from_json | LDU_FT | [
"<BEGIN>\n## `_safe_attr`",
"Convert a key into something that is accessible as an attribute\n<END>",
"<BEGIN>\n## `_camel_killer`",
"CamelKiller, qu'est-ce que c'est?",
" Taken from http://stackoverflow.com/a/1176023/3244542\n<END>",
"<BEGIN>\n## `_conversion_checks`",
"Internal use for checking if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Transform a json object string into a Box object. If the incoming
json is a list, you must use BoxList.from_json.
:param json_string: string to pass to `json.loads`
:param filename: filename to open and pass to `json.load`
:param encoding: File encoding
:param errors: How to han... | "Transform a json object string into a Box object. If the incoming\n json is a list, you must use BoxList.from_json.\n\n :param json_string: string to pass to `json.loads`\n :param filename: filename to open and pass to `json.load`\n :param encoding: File encoding\n :param errors: How... | 31 | false | cdgriffith/Box | from_json | 32,970 | |
LDU_FT/justquick/django-native-tags/autoescape | LDU_FT | [
"<BEGIN>\n## `calendar`",
"Creates a formatted ``HTMLCalendar``. \n Argument ``format`` can be one of ``month``, ``year``, or ``yearpage``\n Keyword arguments are collected and passed into ``HTMLCalendar.formatmonth``, \n ``HTMLCalendar.formatyear``, and ``HTMLCalendar.formatyearpage``",
" Synta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the autoescape API.
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 autoescape API.
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... | Force autoescape behaviour for this block. | "Force autoescape behaviour for this block." | 161 | false | justquick/django-native-tags | autoescape | 32,971 | |
LDU_FT/ixc/python-edtf/date_to_jd | LDU_FT | [
"<BEGIN>\n## `pre_save`",
"Updates the edtf value from the value of the display_field.\n If there's a valid edtf, then set the date values.\n<END>",
"<BEGIN>\n## `apply_delta`",
"Apply a `relativedelta` to a `struct_time` data structure.",
" `op` is an operator function, probably always `add` or `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the date_to_jd API.
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 date_to_jd API.
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... | Convert a date to Julian Day.
Algorithm from 'Practical Astronomy with your Calculator or Spreadsheet',
4th ed., Duffet-Smith and Zwart, 2011.
Parameters
----------
year : int
Year as integer. Years preceding 1 A.D. should be 0 or negative.
The year before 1 A.D. is 0, 10 B.C.... | "Convert a date to Julian Day.\n\n Algorithm from 'Practical Astronomy with your Calculator or Spreadsheet', \n 4th ed., Duffet-Smith and Zwart, 2011.\n\n Parameters\n ----------\n year : int\n Year as integer. Years preceding 1 A.D. should be 0 or negative.\n The year before 1 A.D. is ... | 83 | false | ixc/python-edtf | date_to_jd | 32,972 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.