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/pmelchior/proxmin/prox_gradf_lim
LDU_FT
[ "<BEGIN>\n## `prox_gradf_lim`", "Forward-backward step: gradient, followed by projection\n<END>", "<BEGIN>\n## `prox_lim12`", "if boundary == \"circle\":\n if j == 0:\n xy = np.array([x[0], Xs[1][0]])\n if j == 1:\n xy = np.array([Xs[0][0], x[0]])\n return [prox_circ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prox_gradf_lim API. 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 prox_gradf_lim API. 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...
Forward-backward step: gradient, followed by projection
"Forward-backward step: gradient, followed by projection"
91
false
pmelchior/proxmin
prox_gradf_lim
9,173
LDU_FT/KeithSSmith/switcheo-python/sign_execute_cancellation
LDU_FT
[ "<BEGIN>\n## `neo_get_scripthash_from_address`", "Convert a Public Address String to a ScriptHash (Address) String.", " :param address: The Public address to convert.\n :type address: str\n :return: String containing the converted ScriptHash.\n<END>", "<BEGIN>\n## `num2hexstring`", "Converts a numb...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign_execute_cancellation 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 sign_execute_cancellation API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Function to sign the parameters required to execute a cancellation request on the Switcheo Exchange. Execution of this function is as follows:: sign_execute_cancellation(cancellation_params=signable_params, key_pair=key_pair) The expected return result for this function is as follows:: { ...
"Function to sign the parameters required to execute a cancellation request on the Switcheo Exchange.\n Execution of this function is as follows::\n\n sign_execute_cancellation(cancellation_params=signable_params, key_pair=key_pair)\n\n The expected return result for this function is as follows::\n\n ...
218
false
KeithSSmith/switcheo-python
sign_execute_cancellation
9,174
LDU_FT/djtaylor/python-lsbinit/interface
LDU_FT
[ "<BEGIN>\n## `_ps_extract_pid`", "Extract PID and parent PID from an output line from the PS command\n<END>", "<BEGIN>\n## `ps`", "Get the process information from the system PS command.\n<END>", "<BEGIN>\n## `birthday`", "Return a string representing the age of the process.\n<END>", "<BEGIN>\n## `make`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interface API. 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 interface API. 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...
Public method for handling service command argument.
"Public method for handling service command argument."
14
false
djtaylor/python-lsbinit
interface
9,175
LDU_FT/tomduck/pandoc-xnos/extract_attrs
LDU_FT
[ "<BEGIN>\n## `_repeat`", "Repeats func(...) call until something other than None is returned.\n<END>", "<BEGIN>\n## `init`", "Sets or determines the pandoc version. This must be called.", " The pandoc version is needed for multi-version support.\n See: https://github.com/jgm/pandoc/issues/2640", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_attrs API. 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 extract_attrs API. 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...
Extracts attributes from element list 'x' beginning at index 'n'. The elements encapsulating the attributes (typically a series of Str and Space elements) are removed from 'x'. Items before index 'n' are left unchanged. Returns the attributes in pandoc format. A ValueError is raised if attribute...
"Extracts attributes from element list 'x' beginning at index 'n'.\n\n The elements encapsulating the attributes (typically a series of Str and\n Space elements) are removed from 'x'. Items before index 'n' are left\n unchanged.\n\n Returns the attributes in pandoc format. A ValueError is raised if\n a...
63
false
tomduck/pandoc-xnos
extract_attrs
9,176
LDU_FT/jepegit/cellpy/load
LDU_FT
[ "<BEGIN>\n## `search_for_files`", "Searches for files (raw-data files and cellpy-files).", " Args:\n run_name(str): run-file identification.\n raw_extension(str): optional, extension of run-files (without the '.').\n cellpy_file_extension(str): optional, extension for cellpy files\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. 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 load API. 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...
Load a raw data-file Args: file_name (path) Returns: loaded test
"Load a raw data-file\n\n Args:\n file_name (path)\n\n Returns:\n loaded test"
393
false
jepegit/cellpy
load
9,177
LDU_FT/yyuu/botornado/update_item
LDU_FT
[ "<BEGIN>\n## `save`", "Saves this item to SDB.", " :param bool replace: If ``True``, delete any attributes on the remote\n SDB item that have a ``None`` value on this object.\n<END>", "<BEGIN>\n## `add_value`", "Helps set or add to attributes on this item. If you are adding a new\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Commit pending item updates to Amazon DynamoDB. :type item: :class:`boto.dynamodb.item.Item` :param item: The Item to update in Amazon DynamoDB. It is expected that you would have called the add_attribute, put_attribute and/or delete_attribute methods on this Item prior to call...
"Commit pending item updates to Amazon DynamoDB.\n\n :type item: :class:`boto.dynamodb.item.Item`\n :param item: The Item to update in Amazon DynamoDB. It is expected\n that you would have called the add_attribute, put_attribute\n and/or delete_attribute methods on this Item prior t...
2,931
true
yyuu/botornado
update_item
9,178
LDU_FT/jeongyoonlee/Kaggler/save_hdf5
LDU_FT
[ "<BEGIN>\n## `fit`", "Train a network with the quasi-Newton method.", " Args:\n X (np.array of float): feature matrix for training\n y (np.array of float): target values for training\n X_val (np.array of float): feature matrix for validation\n y_val (np.array o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_hdf5 API. 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 save_hdf5 API. 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...
Save data as a HDF5 file. Args: X (numpy or scipy sparse matrix): Data matrix y (numpy array): Target vector. path (str): Path to the HDF5 file to save data.
"Save data as a HDF5 file.\n\n Args:\n X (numpy or scipy sparse matrix): Data matrix\n y (numpy array): Target vector.\n path (str): Path to the HDF5 file to save data."
114
false
jeongyoonlee/Kaggler
save_hdf5
9,179
LDU_FT/jrheard/madison_wcb/move_to
LDU_FT
[ "<BEGIN>\n## `initialize`", "IMPORTANT: Call this function at the beginning of your program.\n<END>", "<BEGIN>\n## `get_color`", "Dips the brush in paint.", " Arguments:\n index - an integer between 0 and 7, inclusive. Tells the bot which color you want.\n<END>", "<BEGIN>\n## `move_to`", "Move...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move_to API. 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 move_to API. 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...
Moves the brush to a particular position. Arguments: x - a number between -250 and 250. y - a number between -180 and 180.
"Moves the brush to a particular position.\n\n Arguments:\n x - a number between -250 and 250.\n y - a number between -180 and 180."
14
false
jrheard/madison_wcb
move_to
9,180
LDU_FT/wickman/compactor/install
LDU_FT
[ "<BEGIN>\n## `encode_request`", "Encode a request into a raw HTTP request. This function returns a string\n of bytes that represent a valid HTTP/1.0 request, including any libprocess\n headers required for communication.", " Use the `legacy` option (set to True) to use the legacy User-Agent based\n libproce...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install API. 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 install API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
A decorator to indicate a remotely callable method on a process using protocol buffers. .. code-block:: python from compactor.process import ProtobufProcess from messages_pb2 import RequestMessage, ResponseMessage class PingProcess(ProtobufProcess): @ProtobufProcess.install(Requ...
"A decorator to indicate a remotely callable method on a process using protocol buffers.\n\n .. code-block:: python\n\n from compactor.process import ProtobufProcess\n from messages_pb2 import RequestMessage, ResponseMessage\n\n class PingProcess(ProtobufProcess):\n @ProtobufProcess.ins...
96
false
wickman/compactor
install
9,181
LDU_FT/yougov/vr.common/get_slugignores
LDU_FT
[ "<BEGIN>\n## `str_to_pool`", "Given a string containing an nginx upstream section, return the pool name\n and list of nodes.\n<END>", "<BEGIN>\n## `get_buildfile_path`", "Path to which a build tarball should be downloaded.\n<END>", "<BEGIN>\n## `_retry`", "Try to call f(*args, **kwargs) \"n\" times bef...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_slugignores API. 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_slugignores API. 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...
Given a root path, read any .slugignore file inside and return a list of patterns that should be removed prior to slug compilation. Return empty list if file does not exist.
"Given a root path, read any .slugignore file inside and return a list of\n patterns that should be removed prior to slug compilation.\n\n Return empty list if file does not exist."
49
false
yougov/vr.common
get_slugignores
9,182
LDU_FT/CQCL/pytket/tk_to_pyquil
LDU_FT
[ "<BEGIN>\n## `_jordan_wigner_mode`", "Jordan_Wigner mode.\n Args:\n n (int): number of modes\n<END>", "<BEGIN>\n## `_one_body_mapping`", "Subroutine for one body mapping.\n Args:\n a_i (Pauli): pauli at index i\n a_j (Pauli): pauli at index j\n thresho...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tk_to_pyquil API. 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 tk_to_pyquil API. 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...
Convert a :math:`\\mathrm{t|ket}\\rangle` :py:class:`Circuit` to a :py:class:`pyquil.Program` . :param circ: A circuit to be converted :return: The converted circuit
"Convert a :math:`\\\\mathrm{t|ket}\\\\rangle` :py:class:`Circuit` to a :py:class:`pyquil.Program` .\n \n :param circ: A circuit to be converted\n\n :return: The converted circuit"
57
false
CQCL/pytket
tk_to_pyquil
9,183
LDU_FT/nephila/python-taiga/add_membership
LDU_FT
[ "<BEGIN>\n## `list`", "Retrieves a list of objects.", " By default uses local cache and remote pagination", " If pagination is used and no page is requested (the default), all the\n remote objects are retrieved and appended in a single list.", " If pagination is disabled, all the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_membership API. 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 add_membership API. 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...
Add a Membership to the project and returns a :class:`Membership` resource. :param email: email for :class:`Membership` :param role: role for :class:`Membership` :param attrs: role for :class:`Membership` :param attrs: optional :class:`Membership` attributes
"Add a Membership to the project and returns a\n :class:`Membership` resource.\n\n :param email: email for :class:`Membership`\n :param role: role for :class:`Membership`\n :param attrs: role for :class:`Membership`\n :param attrs: optional :class:`Membership` attributes"
162
false
nephila/python-taiga
add_membership
9,184
LDU_FT/appknox/pyaxmlparser/is_tag_matched
LDU_FT
[ "<BEGIN>\n## `_decode8`", "Decode an UTF-8 String at the given offset", " :param offset: offset of the string inside the data\n :return: str\n<END>", "<BEGIN>\n## `_decode16`", "Decode an UTF-16 String at the given offset", " :param offset: offset of the string inside the data\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_tag_matched API. 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 is_tag_matched API. 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 true if the attributes matches in attribute filter :param tag: specify the tag element :type tag: Element :param attribute: specify the attribute :type attribute: string
"Return true if the attributes matches in attribute filter\n :param tag: specify the tag element\n :type tag: Element\n :param attribute: specify the attribute\n :type attribute: string"
63
false
appknox/pyaxmlparser
is_tag_matched
9,185
LDU_FT/vhf/confusable_homoglyphs/aliases_categories
LDU_FT
[ "<BEGIN>\n## `aliases_categories`", "Retrieves the script block alias and unicode category for a unicode character.", " >>> categories.aliases_categories('A')\n ('LATIN', 'L')\n >>> categories.aliases_categories('τ')\n ('GREEK', 'L')\n >>> categories.aliases_categories('-')\n ('COMMON', 'Pd')"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aliases_categories 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 aliases_categories 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...
Retrieves the script block alias and unicode category for a unicode character. >>> categories.aliases_categories('A') ('LATIN', 'L') >>> categories.aliases_categories('τ') ('GREEK', 'L') >>> categories.aliases_categories('-') ('COMMON', 'Pd') :param chr: A unicode character :type chr: ...
"Retrieves the script block alias and unicode category for a unicode character.\n\n >>> categories.aliases_categories('A')\n ('LATIN', 'L')\n >>> categories.aliases_categories('τ')\n ('GREEK', 'L')\n >>> categories.aliases_categories('-')\n ('COMMON', 'Pd')\n\n :param chr: A unicode character\n ...
23
false
vhf/confusable_homoglyphs
aliases_categories
9,186
LDU_FT/ska-sa/katcp-python/wait_running
LDU_FT
[ "<BEGIN>\n## `request_time`", "Return the current time in ms since the Unix Epoch.\n<END>", "<BEGIN>\n## `request_raw_reverse`", "A raw request handler to demonstrate the calling convention if\n @request decoraters are not used. Reverses the message arguments.\n<END>", "<BEGIN>\n## `transform_future`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_running API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_running API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Wait until the client is running. Parameters ---------- timeout : float in seconds Seconds to wait for the client to start running. Returns ------- running : bool Whether the client is running Notes ----- Do not call this...
"Wait until the client is running.\n\n Parameters\n ----------\n timeout : float in seconds\n Seconds to wait for the client to start running.\n\n Returns\n -------\n running : bool\n Whether the client is running\n\n Notes\n -----\n D...
905
false
ska-sa/katcp-python
wait_running
9,187
LDU_FT/asascience-open/paegan-transport/age
LDU_FT
[ "<BEGIN>\n## `export`", "Export particle data to CF trajectory convention\n netcdf file\n<END>", "<BEGIN>\n## `export`", "Export particle and datetime data to Pickled objects.\n This can be used to debug or to generate different output\n in the future.\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the age API. 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 age API. 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...
Age this particle. parameters (optional, only one allowed): days (default) hours minutes seconds
"Age this particle.\n\n parameters (optional, only one allowed):\n days (default)\n hours\n minutes\n seconds"
98
false
asascience-open/paegan-transport
age
9,188
LDU_FT/compmech/composites/calc_constitutive_matrix
LDU_FT
[ "<BEGIN>\n## `read_laminaprop`", "Returns a ``MatLamina`` object based on an input ``laminaprop`` tuple", " Parameters\n ----------\n laminaprop : list or tuple\n Tuple containing the folliwing entries:", " (e1, e2, nu12, g12, g13, g23, e3, nu13, nu23)", " for othotropic ma...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_constitutive_matrix 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 calc_constitutive_matrix API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Calculates the laminate constitutive matrix This is the commonly called ``ABD`` matrix with ``shape=(6, 6)`` when the classical laminated plate theory is used, or the ``ABDE`` matrix when the first-order shear deformation theory is used, containing the transverse shear terms.
"Calculates the laminate constitutive matrix\n\n This is the commonly called ``ABD`` matrix with ``shape=(6, 6)`` when\n the classical laminated plate theory is used, or the ``ABDE`` matrix\n when the first-order shear deformation theory is used, containing the\n transverse shear terms."
57
false
compmech/composites
calc_constitutive_matrix
9,189
LDU_FT/aiortc/aiortc/setCodecPreferences
LDU_FT
[ "<BEGIN>\n## `allocate_mid`", "Allocate a MID which has not been used yet.\n<END>", "<BEGIN>\n## `addIceCandidate`", "Add a new :class:`RTCIceCandidate` received from the remote peer.", " The specified candidate must have a value for either `sdpMid` or `sdpMLineIndex`.\n<END>", "<BEGIN>\n## `addTra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setCodecPreferences 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 setCodecPreferences 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...
Override the default codec preferences. See :meth:`RTCRtpSender.getCapabilities` and :meth:`RTCRtpReceiver.getCapabilities` for the supported codecs. :param: codecs: A list of :class:`RTCRtpCodecCapability`, in decreasing order of preference. If empty, restores the defa...
"Override the default codec preferences.\n\n See :meth:`RTCRtpSender.getCapabilities` and :meth:`RTCRtpReceiver.getCapabilities`\n for the supported codecs.\n\n :param: codecs: A list of :class:`RTCRtpCodecCapability`, in decreasing order\n of preference. If empty, restores t...
126
false
aiortc/aiortc
setCodecPreferences
9,190
LDU_FT/brocade/pynos/overlay_gateway_name
LDU_FT
[ "<BEGIN>\n## `local_asn`", "Set BGP local ASN.", " Args:\n local_as (str): Local ASN of NOS deice.\n rbridge_id (str): The rbridge ID of the device on which BGP will be\n configured in a VCS fabric.\n get (bool): Get config instead of editing config. (True,...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overlay_gateway_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overlay_gateway_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. ...
Configure Name of Overlay Gateway on vdx switches Args: gw_name: Name of Overlay Gateway get (bool): Get config instead of editing config. (True, False) delete (bool): True, delete the overlay gateway config. (True, False) callback (fun...
"Configure Name of Overlay Gateway on vdx switches\n\n Args:\n gw_name: Name of Overlay Gateway\n get (bool): Get config instead of editing config. (True, False)\n delete (bool): True, delete the overlay gateway config.\n (True, False)\n callb...
711
false
brocade/pynos
overlay_gateway_name
9,191
LDU_FT/DancingQuanta/pyusbiss/exchange
LDU_FT
[ "<BEGIN>\n## `configure`", "Configure SPI controller with the SPI mode and operating frequency\n<END>", "<BEGIN>\n## `iss_spi_divisor`", "Calculate a USBISS SPI divisor value from the input SPI clock speed", " :param sck: SPI clock frequency\n :type sck: int\n :returns: ISS SCK divisor\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exchange API. 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 exchange API. 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...
Perform SPI transaction. The first received byte is either ACK or NACK. :TODO: enforce rule that up to 63 bytes of data can be sent. :TODO: enforce rule that there is no gaps in data bytes (what define a gap?) :param data: List of bytes :returns: List of bytes :rtype: ...
"Perform SPI transaction.\n\n The first received byte is either ACK or NACK.\n\n :TODO: enforce rule that up to 63 bytes of data can be sent.\n :TODO: enforce rule that there is no gaps in data bytes (what define a gap?)\n\n :param data: List of bytes\n :returns: List of bytes\n ...
15
false
DancingQuanta/pyusbiss
exchange
9,192
LDU_FT/fiesta/fiesta-python/add_application
LDU_FT
[ "<BEGIN>\n## `request`", "Core \"worker\" for making requests and parsing JSON responses.", " If `is_json` is ``True``, `data` should be a dictionary which\n will be JSON-encoded.\n<END>", "<BEGIN>\n## `_make_request`", "Does the magic of actually sending the request and parsing the response\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_application API. 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_application API. 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...
Add an application to a group. `application_id` is the name of the application to add. Any application options can be specified as kwargs.
"Add an application to a group.\n\n `application_id` is the name of the application to add. Any\n application options can be specified as kwargs."
27
false
fiesta/fiesta-python
add_application
9,193
LDU_FT/OCA/openupgradelib/rename_columns
LDU_FT
[ "<BEGIN>\n## `_adjust_merged_values_orm`", "This method deals with the values on the records to be merged +\n the target record, performing operations that makes sense on the meaning\n of the model.", " :param field_spec: Dictionary with field names as keys and forced operation\n to perform as val...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rename_columns API. 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 rename_columns API. 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...
Rename table columns. Typically called in the pre script. :param column_spec: a hash with table keys, with lists of tuples as \ values. Tuples consist of (old_name, new_name). Use None for new_name \ to trigger a conversion of old_name using get_legacy_name()
"Rename table columns. Typically called in the pre script.\n\n :param column_spec: a hash with table keys, with lists of tuples as \\\n values. Tuples consist of (old_name, new_name). Use None for new_name \\\n to trigger a conversion of old_name using get_legacy_name()"
190
false
OCA/openupgradelib
rename_columns
9,194
LDU_FT/ensime/ensime-vim/send_refactor_request
LDU_FT
[ "<BEGIN>\n## `buffer_typechecks_and_display`", "Adds typecheck events to the buffer, and displays them right away.", " This is a workaround for this issue:\n https://github.com/ensime/ensime-server/issues/1616\n<END>", "<BEGIN>\n## `handle_typecheck_complete`", "Handles ``NewScalaNotesEvent```...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_refactor_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_refactor_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. ...
Send a refactor request to the Ensime server. The `ref_params` field will always have a field `type`.
"Send a refactor request to the Ensime server.\n\n The `ref_params` field will always have a field `type`."
150
false
ensime/ensime-vim
send_refactor_request
9,195
LDU_FT/subdownloader/subdownloader/showMessage
LDU_FT
[ "<BEGIN>\n## `do_po`", "Update all po files with the data in the pot reference file.\n<END>", "<BEGIN>\n## `configuration_get_default_folder`", "Return the default folder where user-specific data is stored.\n This depends of the system on which Python is running,\n :return: path to the user-specific con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the showMessage API. 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 showMessage API. 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...
Public method to show a message in the bottom part of the splashscreen. @param message message to be shown (string or QString)
"Public method to show a message in the bottom part of the splashscreen.\n\n @param message message to be shown (string or QString)"
87
false
subdownloader/subdownloader
showMessage
9,196
LDU_FT/ageitgey/face_recognition/_raw_face_locations
LDU_FT
[ "<BEGIN>\n## `train`", "Trains a k-nearest neighbors classifier for face recognition.", " :param train_dir: directory that contains a sub-directory for each known person, with its name.", " (View in source code to see train_dir example tree structure)", " Structure:\n <train_dir>/\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _raw_face_locations 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 _raw_face_locations 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...
Returns an array of bounding boxes of human faces in a image :param img: An image (as a numpy array) :param number_of_times_to_upsample: How many times to upsample the image looking for faces. Higher numbers find smaller faces. :param model: Which face detection model to use. "hog" is less accurate but fas...
"Returns an array of bounding boxes of human faces in a image\n\n :param img: An image (as a numpy array)\n :param number_of_times_to_upsample: How many times to upsample the image looking for faces. Higher numbers find smaller faces.\n :param model: Which face detection model to use. \"hog\" is less accurate ...
39
false
ageitgey/face_recognition
_raw_face_locations
9,197
LDU_FT/ssato/python-anytemplate/_render
LDU_FT
[ "<BEGIN>\n## `fallback_render`", "Render from given template and context.", " This is a basic implementation actually does nothing and just returns\n the content of given template file `template`.", " :param template: Template file path\n :param context: A dict or dict-like object to instantiate g...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _render API. 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 _render API. 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...
:param tmpl: mako.template.Template object :param ctx: A dict or dict-like object to instantiate given
":param tmpl: mako.template.Template object\n :param ctx: A dict or dict-like object to instantiate given"
156
false
ssato/python-anytemplate
_render
9,198
LDU_FT/pavelsof/ipatok/tokenise_word
LDU_FT
[ "<BEGIN>\n## `normalise`", "Convert each character of the string to the normal form in which it was\n\tdefined in the IPA spec. This would be normal form D, except for the\n\tvoiceless palatar fricative (ç) which should be in normal form C.", "\tHelper for tokenise_word(string, ..).\n<END>", "<BEGIN>\n## `gro...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tokenise_word API. 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 tokenise_word API. 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...
Tokenise the string into a list of tokens or raise ValueError if it cannot be tokenised (relatively) unambiguously. The string should not include whitespace, i.e. it is assumed to be a single word. If strict=False, allow non-standard letters and diacritics, as well as initial diacritic-only tokens (e.g. pre-aspira...
"Tokenise the string into a list of tokens or raise ValueError if it cannot\n\tbe tokenised (relatively) unambiguously. The string should not include\n\twhitespace, i.e. it is assumed to be a single word.\n\n\tIf strict=False, allow non-standard letters and diacritics, as well as\n\tinitial diacritic-only tokens (e.g. ...
47
false
pavelsof/ipatok
tokenise_word
9,199
LDU_FT/toumorokoshi/transmute-core/_enforce_instance
LDU_FT
[ "<BEGIN>\n## `from_argspec`", "retrieve a FunctionSignature object\n from the argspec and the annotations passed.\n<END>", "<BEGIN>\n## `split_args`", "given a dictionary of arguments, split them into\n args and kwargs", " note: this destroys the arg_dict passed. if you need it,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _enforce_instance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _enforce_instance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
It's a common mistake to not initialize a schematics class. We should handle that by just calling the default constructor.
"It's a common mistake to not initialize a\n schematics class. We should handle that by just\n calling the default constructor."
100
false
toumorokoshi/transmute-core
_enforce_instance
9,200
LDU_FT/samluescher/django-media-tree/get
LDU_FT
[ "<BEGIN>\n## `i18n_javascript`", "Displays the i18n JavaScript that the Django admin requires.", " This takes into account the USE_I18N setting. If it's set to False, the\n generated JavaScript will be leaner and faster.\n<END>", "<BEGIN>\n## `file_links`", "Turns a (optionally nested) list of...
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...
Works just like the default Manager's :func:`get` method, but you can pass an additional keyword argument named ``path`` specifying the full path of the object you want to retrieve, e.g. ``"path/to/folder/readme.txt"``.
"Works just like the default Manager's :func:`get` method, but\n you can pass an additional keyword argument named ``path`` specifying\n the full path of the object you want to retrieve, e.g.\n ``\"path/to/folder/readme.txt\"``."
96
false
samluescher/django-media-tree
get
9,201
LDU_FT/pyannote/pyannote-metrics/reindex
LDU_FT
[ "<BEGIN>\n## `extrude`", "Extrude reference boundary collars from uem", " reference |----| |--------------| |-------------|\n uem |---------------------| |-------------------------------|\n extruded |--| |--| |---| |-----| |-| |-----| |-----------| |-----|", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reindex API. 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 reindex API. 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...
Reindex report so that 'TOTAL' is the last row
"Reindex report so that 'TOTAL' is the last row"
81
false
pyannote/pyannote-metrics
reindex
9,202
LDU_FT/ultrabug/py3status/_github_count
LDU_FT
[ "<BEGIN>\n## `load_from_file`", "Return user-written class object from given path.\n<END>", "<BEGIN>\n## `prepare_module`", "Ready the module to get it ready to start.\n<END>", "<BEGIN>\n## `error_output`", "Something is wrong with the module so we want to output the error to\n the i3bar\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _github_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 _github_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...
Get counts for requests that return 'total_count' in the json response.
"Get counts for requests that return 'total_count' in the json response."
514
false
ultrabug/py3status
_github_count
9,203
LDU_FT/cortical-io/retina-sdk.py/getImageForExpression
LDU_FT
[ "<BEGIN>\n## `getTerms`", "Get term objects\n Args:\n term, str: A term in the retina (optional)\n getFingerprint, bool: Configure if the fingerprint should be returned as part of the results (optional)\n startIndex, int: The start-index for pagination (optional)\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getImageForExpression 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 getImageForExpression API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Get images for expressions Args: retina_name, str: The retina name (required) body, ExpressionOperation: The JSON encoded expression to be evaluated (required) image_scalar, int: The scale of the image (optional) (optional) plot_shape, str: The image shape (option...
"Get images for expressions\n Args:\n retina_name, str: The retina name (required)\n body, ExpressionOperation: The JSON encoded expression to be evaluated (required)\n image_scalar, int: The scale of the image (optional) (optional)\n plot_shape, str: The image shape (...
64
false
cortical-io/retina-sdk.py
getImageForExpression
9,204
LDU_FT/Kitware/tangelo/return_type
LDU_FT
[ "<BEGIN>\n## `module_getmtime`", "Get the mtime associated with a module. If this is a .pyc or .pyo file and\n a corresponding .py file exists, the time of the .py file is returned.", " :param filename: filename of the module.\n :returns: mtime or None if the file doesn\"t exist.\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the return_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the return_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Decorate a function to automatically convert its return type to a string using a custom function. Web-based service functions must return text to the client. Tangelo contains default logic to convert many kinds of values into string, but this decorator allows the service writer to specify custom behav...
"Decorate a function to automatically convert its return type to a string\n using a custom function.\n\n Web-based service functions must return text to the client. Tangelo\n contains default logic to convert many kinds of values into string, but this\n decorator allows the service writer to specify custom...
34
false
Kitware/tangelo
return_type
9,205
LDU_FT/CQCL/pytket/print_setting
LDU_FT
[ "<BEGIN>\n## `_jordan_wigner_mode`", "Jordan_Wigner mode.\n Args:\n n (int): number of modes\n<END>", "<BEGIN>\n## `_one_body_mapping`", "Subroutine for one body mapping.\n Args:\n a_i (Pauli): pauli at index i\n a_j (Pauli): pauli at index j\n thresho...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_setting API. 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 print_setting API. 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...
Presents the QSE settings as a string. :return: The formatted settings of the QSE instance
"Presents the QSE settings as a string.\n\n :return: The formatted settings of the QSE instance"
57
false
CQCL/pytket
print_setting
9,206
LDU_FT/spry-group/python-vultr/upgrade_plan
LDU_FT
[ "<BEGIN>\n## `create_domain`", "/v1/dns/create_domain\n POST - account\n Create a domain name in DNS", " Link: https://www.vultr.com/api/#dns_create_domain\n<END>", "<BEGIN>\n## `create_record`", "/v1/dns/create_domain\n POST - account\n Add a DNS record", " Link:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upgrade_plan API. 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 upgrade_plan API. 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...
/v1/server/upgrade_plan POST - account Upgrade the plan of a virtual machine. The virtual machine will be rebooted upon a successful upgrade. Link: https://www.vultr.com/api/#server_upgrade_plan
"/v1/server/upgrade_plan\n POST - account\n Upgrade the plan of a virtual machine. The virtual machine will be\n rebooted upon a successful upgrade.\n\n Link: https://www.vultr.com/api/#server_upgrade_plan"
134
false
spry-group/python-vultr
upgrade_plan
9,207
LDU_FT/jeffrimko/Qprompt/main
LDU_FT
[ "<BEGIN>\n## `_format_kwargs`", "Decorator to handle formatting kwargs to the proper names expected by\n the associated function. The formats dictionary string keys will be used as\n expected function kwargs and the value list of strings will be renamed to\n the associated key string.\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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...
Runs the standard menu main logic. Any `kwargs` supplied will be pass to `Menu.show()`. If `argv` is provided to the script, it will be used as the `auto` parameter. **Params**: - auto ([str]) - If provided, the list of strings with be used as input for the menu prompts. ...
"Runs the standard menu main logic. Any `kwargs` supplied will be\n pass to `Menu.show()`. If `argv` is provided to the script, it will be\n used as the `auto` parameter.\n\n **Params**:\n - auto ([str]) - If provided, the list of strings with be used as\n input for the menu pro...
46
false
jeffrimko/Qprompt
main
9,208
LDU_FT/ff0000/scarlet/get_fieldsets
LDU_FT
[ "<BEGIN>\n## `get_add_link`", "Appends the popup=1 query string to the url so the\n destination url treats it as a popup.\n<END>", "<BEGIN>\n## `render_view`", "Return an string version of a View with as_string method.\n First argument is the name of the view. Any other arguments\n should be keyw...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fieldsets API. 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_fieldsets API. 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...
Hook for specifying fieldsets. If 'self.fieldsets' is empty this will default to include all the fields in the form with a title of None.
"Hook for specifying fieldsets. If 'self.fieldsets' is\n empty this will default to include all the fields in\n the form with a title of None."
548
false
ff0000/scarlet
get_fieldsets
9,209
LDU_FT/vmlaker/mpipe/_link
LDU_FT
[ "<BEGIN>\n## `init2`", "Create *num_workers* worker objects with *input_tube* and \n an iterable of *output_tubes*. The worker reads a task from *input_tube* \n and writes the result to *output_tubes*.\n<END>", "<BEGIN>\n## `assemble`", "Create, assemble and start workers.\n Workers are c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _link API. 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 _link API. 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...
Link the worker to the given next worker object, connecting the two workers with communication tubes.
"Link the worker to the given next worker object, \n connecting the two workers with communication tubes."
28
false
vmlaker/mpipe
_link
9,210
LDU_FT/polysquare/cmake-ast/maybe_start_recording
LDU_FT
[ "<BEGIN>\n## `run`", "Set up language runtimes and pass control to python project script.\n<END>", "<BEGIN>\n## `_node`", "Return an _AbstractSyntaxTreeNode with some elements defaulted.\n<END>", "<BEGIN>\n## `_recurse`", "Recursive print worker - recurses the AST and prints each node.\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the maybe_start_recording 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 maybe_start_recording API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Return a new _CommentedLineRecorder when it is time to record.
"Return a new _CommentedLineRecorder when it is time to record."
66
false
polysquare/cmake-ast
maybe_start_recording
9,211
LDU_FT/kcolford/txt2boil/nextComment
LDU_FT
[ "<BEGIN>\n## `nextComment`", "Return the next comment found in text starting at start.\n<END>", "<BEGIN>\n## `isLineComment`", "Return true if the text is a line comment.\n<END>", "<BEGIN>\n## `code`", "Return the code instead of the comments.\n<END>", "<BEGIN>\n## `collectTriggers`", "Return a dictio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nextComment API. 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 nextComment API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Return the next comment found in text starting at start.
"Return the next comment found in text starting at start."
15
false
kcolford/txt2boil
nextComment
9,212
LDU_FT/citruz/beacontools/matches
LDU_FT
[ "<BEGIN>\n## `run`", "Continously scan for BLE advertisements.\n<END>", "<BEGIN>\n## `set_scan_parameters`", "sets the le scan parameters", " Args:\n scan_type: ScanType.(PASSIVE|ACTIVE)\n interval: ms (as float) between scans (valid range 2.5ms - 10240ms)\n ..not...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the matches API. 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 matches API. 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...
Check if the filter matches the supplied properties.
"Check if the filter matches the supplied properties."
29
false
citruz/beacontools
matches
9,213
LDU_FT/72squared/redpipe/decode
LDU_FT
[ "<BEGIN>\n## `connect_redis`", "Connect your redis-py instance to redpipe.", " Example:", " .. code:: python", " redpipe.connect_redis(redis.StrictRedis(), name='users')", " Do this during your application bootstrapping.", " You can also pass a redis-py-cluster instance to this method...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
decode the data from redis. :param value: bytes :return: list
"decode the data from redis.\n :param value: bytes\n :return: list"
376
false
72squared/redpipe
decode
9,214
LDU_FT/Parquery/icontract/visit_ListComp
LDU_FT
[ "<BEGIN>\n## `_collapse_invariants`", "Collect invariants from the bases and merge them with the invariants in the namespace.\n<END>", "<BEGIN>\n## `_collapse_preconditions`", "Collapse function preconditions with the preconditions collected from the base classes.", " :param base_preconditions: precondit...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_ListComp API. 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 visit_ListComp API. 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...
Represent the list comprehension by dumping its source code.
"Represent the list comprehension by dumping its source code."
122
false
Parquery/icontract
visit_ListComp
9,215
LDU_FT/mrname/haralyzer/match_status_code
LDU_FT
[ "<BEGIN>\n## `get_load_times`", "Just a ``list`` of the load times of a certain asset type for each page", " :param asset_type: ``str`` of the asset type to return load times for\n<END>", "<BEGIN>\n## `get_stdev`", "Returns the standard deviation for a set of a certain asset type.", " :param...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_status_code API. 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 match_status_code API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Helper function that returns entries with a status code matching then given `status_code` argument. NOTE: This is doing a STRING comparison NOT NUMERICAL :param entry: entry object to analyze :param status_code: ``str`` of status code to search for :param request_type: ``regex`...
"Helper function that returns entries with a status code matching\n then given `status_code` argument.\n\n NOTE: This is doing a STRING comparison NOT NUMERICAL\n\n :param entry: entry object to analyze\n :param status_code: ``str`` of status code to search for\n :param request_type: ...
72
false
mrname/haralyzer
match_status_code
9,216
LDU_FT/christophercrouzet/nani/_get_atomic_dtype
LDU_FT
[ "<BEGIN>\n## `resolve`", "Retrieve the properties for a given data type.", " This is the main routine where most of the work is done. It converts\n Nani's data types into properties that can be used to define a new NumPy\n array and to wrap it into a view object.", " Use :func:`validate` to check ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_atomic_dtype API. 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_atomic_dtype API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Retrieve the NumPy's `dtype` for a given atomic data type.
"Retrieve the NumPy's `dtype` for a given atomic data type."
38
false
christophercrouzet/nani
_get_atomic_dtype
9,217
LDU_FT/nfcpy/nfcpy/listen_dep
LDU_FT
[ "<BEGIN>\n## `reset_mode`", "Send a Reset command to set the operation mode to 0.\n<END>", "<BEGIN>\n## `sense_tta`", "Activate the RF field and probe for a Type A Target.", " The RC-S956 can discover all Type A Targets (Type 1 Tag, Type\n 2 Tag, and Type 4A Tag) at 106 kbps. Due to firmware\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listen_dep API. 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 listen_dep API. 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...
Listen *timeout* seconds to become initialized as a DEP Target. The RC-S956 can be set to listen as a DEP Target for passive communication mode. Target active communication mode is disabled by the driver due to performance issues. It is also not possible to fully control the ATR_RES res...
"Listen *timeout* seconds to become initialized as a DEP Target.\n\n The RC-S956 can be set to listen as a DEP Target for passive\n communication mode. Target active communication mode is\n disabled by the driver due to performance issues. It is also\n not possible to fully control the ATR_R...
452
false
nfcpy/nfcpy
listen_dep
9,218
LDU_FT/RI-imaging/ODTbrain/load_tar_lzma_data
LDU_FT
[ "<BEGIN>\n## `integrate_2d`", "r\"\"\"(slow) 2D reconstruction with the Fourier diffraction theorem", " Two-dimensional diffraction tomography reconstruction\n algorithm for scattering of a plane wave\n :math:`u_0(\\mathbf{r}) = u_0(x,z)`\n by a dielectric object with refractive index\n :math:`n(...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_tar_lzma_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_tar_lzma_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. Th...
Load example sinogram data from a .tar.lzma file
"Load example sinogram data from a .tar.lzma file"
155
false
RI-imaging/ODTbrain
load_tar_lzma_data
9,219
LDU_FT/markovmodel/PyEMMA/is_random_accessible
LDU_FT
[ "<BEGIN>\n## `filenames`", "list of file names the data is originally being read from.", " Returns\n -------\n names : list of str\n list of file names at the beginning of the input chain.\n<END>", "<BEGIN>\n## `_data_flow_chain`", "Get a list of all elements in the data flow...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_random_accessible 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 is_random_accessible API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Check if self._is_random_accessible is set to true and if all the random access strategies are implemented. Returns ------- bool : Returns True if random accessible via strategies and False otherwise.
"Check if self._is_random_accessible is set to true and if all the random access strategies are implemented.\n Returns\n -------\n bool : Returns True if random accessible via strategies and False otherwise."
1,924
true
markovmodel/PyEMMA
is_random_accessible
9,220
LDU_FT/tsroten/ticktock/sync
LDU_FT
[ "<BEGIN>\n## `open`", "Open a database file as a persistent dictionary.", " The persistent dictionary file is opened using :func:`dbm.open`, so\n performance will depend on which :mod:`dbm` modules are installed.", " :func:`open` chooses to open a :class:`Shelf <shelve.Shelf>`,\n :class:`LRUShelf`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sync API. 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 sync API. 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...
Sync the timeout index entry with the shelf.
"Sync the timeout index entry with the shelf."
20
false
tsroten/ticktock
sync
9,221
LDU_FT/Celeo/Preston/_get_path_for_op_id
LDU_FT
[ "<BEGIN>\n## `_get_access_from_refresh`", "Uses the stored refresh token to get a new access token.", " This method assumes that the refresh token exists.", " Args:\n None", " Returns:\n new access token and expiration time (from now)\n<END>", "<BEGIN>\n## `_get_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_path_for_op_id 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_path_for_op_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Searches the spec for a path matching the operation id. Args: id: operation id Returns: path to the endpoint, or None if not found
"Searches the spec for a path matching the operation id.\n\n Args:\n id: operation id\n\n Returns:\n path to the endpoint, or None if not found"
76
false
Celeo/Preston
_get_path_for_op_id
9,222
LDU_FT/ergoithz/browsepy/register_widget
LDU_FT
[ "<BEGIN>\n## `defaultsnamedtuple`", "Generate namedtuple with default values.", " :param name: name\n :param fields: iterable with field names\n :param defaults: iterable or mapping with field defaults\n :returns: defaultdict with given fields and given defaults\n :rtype: collections.defaultdict\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_widget API. 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 register_widget API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Create (see :meth:`create_widget`) or use provided widget and register it. This method provides this dual behavior in order to simplify widget creation-registration on an functional single step without sacrifycing the reusability of a object-oriented approach. :param place: whe...
"Create (see :meth:`create_widget`) or use provided widget and register\n it.\n\n This method provides this dual behavior in order to simplify widget\n creation-registration on an functional single step without sacrifycing\n the reusability of a object-oriented approach.\n\n :param pl...
207
false
ergoithz/browsepy
register_widget
9,223
LDU_FT/Vagrants/blackbird/is_dir
LDU_FT
[ "<BEGIN>\n## `helper_import`", "Return class or module object.\n if the argument is only a module name and return a module object.\n if the argument is a module and class name, and return a class object.\n<END>", "<BEGIN>\n## `global_import`", "This function search sys.path[1:], return specified module....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_dir API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_dir API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
This function checks whether given path as argument exists. :param str value: Assumed directory path :rtype: str :return: If given value is valid, retuning given value.
"This function checks whether given path as argument exists.\n :param str value: Assumed directory path\n :rtype: str\n :return: If given value is valid, retuning given value."
106
false
Vagrants/blackbird
is_dir
9,224
LDU_FT/robotools/fontParts/_findGlyph
LDU_FT
[ "<BEGIN>\n## `_set_unicode`", "Assign the primary unicode to the glyph.\n This will be an integer or None.", " Subclasses may override this method.\n<END>", "<BEGIN>\n## `_get_leftMargin`", "This must return an int or float.\n If the glyph has no outlines, this must return `None`.", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _findGlyph API. 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 _findGlyph API. 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...
This is the environment implementation of :meth:`BaseGroups.findGlyph`. **glyphName** will be an :ref:`type-string`. Subclasses may override this method.
"This is the environment implementation of\n :meth:`BaseGroups.findGlyph`. **glyphName** will be\n an :ref:`type-string`.\n\n Subclasses may override this method."
646
false
robotools/fontParts
_findGlyph
9,225
LDU_FT/jaredLunde/vital-tools/format_messages
LDU_FT
[ "<BEGIN>\n## `line`", "Prints a line separator the full width of the terminal.", " @separator: the #str chars to create the line from\n @color: line color from :mod:vital.debug.colors\n @padding: adds extra lines to either the top, bottom or both\n of the line via :func:padd\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_messages API. 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 format_messages API. 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...
Formats several messages with :class:Look, encodes them with :func:vital.tools.encoding.stdout_encode
"Formats several messages with :class:Look, encodes them\n with :func:vital.tools.encoding.stdout_encode"
396
false
jaredLunde/vital-tools
format_messages
9,226
LDU_FT/coded-by-hand/mass/init_sources
LDU_FT
[ "<BEGIN>\n## `get_requirement_from_url`", "Get a requirement from the URL, if possible. This looks for #egg\n in the URL\n<END>", "<BEGIN>\n## `package_to_requirement`", "Translate a name like Foo-1.2 to Foo==1.3\n<END>", "<BEGIN>\n## `get_mirrors`", "Return the list of mirrors from the last record fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_sources API. 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 init_sources API. 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...
initializes array of groups and their associated js files
"initializes array of groups and their associated js files"
105
false
coded-by-hand/mass
init_sources
9,227
LDU_FT/SUNCAT-Center/CatHub/write
LDU_FT
[ "<BEGIN>\n## `molecules2symbols`", "Take a list of molecules and return just a list of atomic\n symbols, possibly adding hydrogen\n<END>", "<BEGIN>\n## `construct_reference_system`", "Take a list of symbols and construct gas phase\n references system, when possible avoiding O2.\n Candidates can be re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Write reaction info to db file Parameters ---------- values: dict The values dict can include: {'chemical_composition': str (chemical composition on empty slab) , 'surface_composition': str (reduced chemical composition or shortn...
"Write reaction info to db file\n\n Parameters\n ----------\n values: dict\n\n The values dict can include:\n {'chemical_composition': str (chemical composition on empty slab) ,\n 'surface_composition': str (reduced chemical composition or\n ...
178
false
SUNCAT-Center/CatHub
write
9,228
LDU_FT/wmayner/pyphi/_sia_cache_key
LDU_FT
[ "<BEGIN>\n## `memory_full`", "Check if the memory is too full for further caching.\n<END>", "<BEGIN>\n## `cache`", "Memory-limited cache decorator.", " ``maxmem`` is a float between 0 and 100, inclusive, specifying the maximum\n percentage of physical memory that the cache can use.", " If ``typed...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sia_cache_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sia_cache_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
The cache key of the subsystem. This includes the native hash of the subsystem and all configuration values which change the results of ``sia``.
"The cache key of the subsystem.\n\n This includes the native hash of the subsystem and all configuration values\n which change the results of ``sia``."
914
false
wmayner/pyphi
_sia_cache_key
9,229
LDU_FT/openvax/pyensembl/gene_names
LDU_FT
[ "<BEGIN>\n## `_write_csv`", "Parameters\n ----------\n df : pandas.DataFrame", " csv_path : str", " chunksize : int\n Number of rows to write at a time. Helps to limit memory\n consumption while writing a CSV.\n<END>", "<BEGIN>\n## `cached_dataframe`", "If...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gene_names API. 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 gene_names API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Return all genes in the database, optionally restrict to a chromosome and/or strand.
"Return all genes in the database,\n optionally restrict to a chromosome and/or strand."
234
false
openvax/pyensembl
gene_names
9,230
LDU_FT/jantman/pypi-download-stats/_get_bigquery_service
LDU_FT
[ "<BEGIN>\n## `_path_for_file`", "Generate the path on disk for a specified project and date.", " :param project_name: the PyPI project name for the data\n :type project: str\n :param date: the date for the data\n :type date: datetime.datetime\n :return: path for where to store...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_bigquery_service API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_bigquery_service API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Connect to the BigQuery service. Calling ``GoogleCredentials.get_application_default`` requires that you either be running in the Google Cloud, or have the ``GOOGLE_APPLICATION_CREDENTIALS`` environment variable set to the path to a credentials JSON file. :return: authenticated...
"Connect to the BigQuery service.\n\n Calling ``GoogleCredentials.get_application_default`` requires that\n you either be running in the Google Cloud, or have the\n ``GOOGLE_APPLICATION_CREDENTIALS`` environment variable set to the path\n to a credentials JSON file.\n\n :return: authe...
135
false
jantman/pypi-download-stats
_get_bigquery_service
9,231
LDU_FT/kwikteam/phy/_update_similarity_view
LDU_FT
[ "<BEGIN>\n## `set_state`", "Set the view state.", " The passed object is the persisted `self.state` bunch.", " May be overriden.\n<END>", "<BEGIN>\n## `_fullname`", "Return the fully-qualified name of a function.\n<END>", "<BEGIN>\n## `_get_default_grid`", "In the grid specification, 0 c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_similarity_view API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_similarity_view API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Update the similarity view with matches for the specified clusters.
"Update the similarity view with matches for the specified\n clusters."
346
false
kwikteam/phy
_update_similarity_view
9,232
LDU_FT/typemytype/booleanOperations/_flattenSegment
LDU_FT
[ "<BEGIN>\n## `_prepPointsForSegments`", "Move any off curves at the end of the contour\n to the beginning of the contour. This makes\n segmentation easier.\n<END>", "<BEGIN>\n## `_reversePoints`", "Reverse the points. This differs from the\n reversal point pen in RoboFab in that it doesn't\n worry...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _flattenSegment API. 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 _flattenSegment API. 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...
Flatten the curve segment int a list of points. The first and last points in the segment must be on curves. The returned list of points will not include the first on curve point. false curves (where the off curves are not any different from the on curves) must not be sent here. duplicate points ...
"Flatten the curve segment int a list of points.\n The first and last points in the segment must be\n on curves. The returned list of points will not\n include the first on curve point.\n false curves (where the off curves are not any\n different from the on curves) must not be sent here.\n duplicate ...
24
false
typemytype/booleanOperations
_flattenSegment
9,233
LDU_FT/jreinhardt/constraining-order/iter_points
LDU_FT
[ "<BEGIN>\n## `ac3`", "AC-3 algorithm. This reduces the domains of the variables by\n propagating constraints to ensure arc consistency.", " :param Space space: The space to reduce\n<END>", "<BEGIN>\n## `_unary`", "Reduce the domain of variable name to be node-consistent with this\n constraint, i.e....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_points API. 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 iter_points API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
returns a list of tuples of names and values
"returns a list of tuples of names and values"
53
false
jreinhardt/constraining-order
iter_points
9,234
LDU_FT/dankelley/nota/find_by_hash
LDU_FT
[ "<BEGIN>\n## `compute_hash`", "Compute a hash. This is somewhat resistant to errors, e.g. if somehow the date is None,\n this will still work.\n<END>", "<BEGIN>\n## `initialize`", "Initialize the database. This is dangerous since it removes any\n existing content.\n<END>", "<BEGIN>\n## `add`"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_by_hash API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_by_hash API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Search notes for a given (possibly abbreviated) hash
"Search notes for a given (possibly abbreviated) hash"
12
false
dankelley/nota
find_by_hash
9,235
LDU_FT/Pelagicore/qface/parse
LDU_FT
[ "<BEGIN>\n## `open_ns`", "generates a open namespace from symbol namespace x { y { z {\n<END>", "<BEGIN>\n## `close_ns`", "generates a closing names statement from a symbol\n<END>", "<BEGIN>\n## `ns`", "generates a namespace x::y::z statement from a symbol\n<END>", "<BEGIN>\n## `app`", "Takes several ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Input can be either a file or directory or a list of files or directory. A directory will be parsed recursively. The function returns the resulting system. Stores the result of the run in the domain cache named after the identifier. :param path: directory to parse :param identifier: ide...
"Input can be either a file or directory or a list of files or directory.\n A directory will be parsed recursively. The function returns the resulting system.\n Stores the result of the run in the domain cache named after the identifier.\n\n :param path: directory to parse\n :param identifie...
56
false
Pelagicore/qface
parse
9,236
LDU_FT/chriskiehl/Gooey/counter
LDU_FT
[ "<BEGIN>\n## `applyStyleRules`", "Conditionally disabled/enables form fields based on the current\r\n section in the radio group\n<END>", "<BEGIN>\n## `handleImplicitCheck`", "Checkboxes are hidden when inside of a RadioGroup as a selection of\r\n the Radio button is an implicit selection of the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the counter API. 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 counter API. 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 str(option_string * DropDown Value) e.g. -vvvvv
"Returns\r\n str(option_string * DropDown Value)\r\n e.g.\r\n -vvvvv"
60
false
chriskiehl/Gooey
counter
9,237
LDU_FT/wummel/dosage/write
LDU_FT
[ "<BEGIN>\n## `exception`", "Write error message with traceback info.\n<END>", "<BEGIN>\n## `write`", "Write message with indentation, context and optional timestamp.\n<END>", "<BEGIN>\n## `contains_case_insensitive`", "Check if key is in adict. The search is case insensitive.\n<END>", "<BEGIN>\n## `fini...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Write message with indentation, context and optional timestamp.
"Write message with indentation, context and optional timestamp."
141
false
wummel/dosage
write
9,238
LDU_FT/tensorpack/tensorpack/DynamicConvFilter
LDU_FT
[ "<BEGIN>\n## `CaffeLMDB`", "Read a Caffe LMDB file where each value contains a ``caffe.Datum`` protobuf.\n Produces datapoints of the format: [HWC image, label].", " Note that Caffe LMDB format is not efficient: it stores serialized raw\n arrays rather than JPEG images.", " Args:\n lmdb_pat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the DynamicConvFilter API. 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 DynamicConvFilter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
see "Dynamic Filter Networks" (NIPS 2016) by Bert De Brabandere*, Xu Jia*, Tinne Tuytelaars and Luc Van Gool Remarks: This is the convolution version of a dynamic filter. Args: inputs : unfiltered input [b, h, w, 1] only grayscale images. filters : learned filters of [b, k, k, ...
"see \"Dynamic Filter Networks\" (NIPS 2016)\n by Bert De Brabandere*, Xu Jia*, Tinne Tuytelaars and Luc Van Gool\n\n Remarks:\n This is the convolution version of a dynamic filter.\n\n Args:\n inputs : unfiltered input [b, h, w, 1] only grayscale images.\n filters : learned filters of...
1,105
true
tensorpack/tensorpack
DynamicConvFilter
9,239
LDU_FT/sveetch/py-css-styleguide/validate_variable_name
LDU_FT
[ "<BEGIN>\n## `digest_prelude`", "Walk on rule prelude (aka CSS selector) tokens to return a string of\n the value name (from css selector).", " Actually only simple selector and selector with descendant combinator\n are supported. Using any other selector kind may leads to unexpected\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_variable_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....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_variable_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....
Validate variable name. Arguments: name (string): Property name. Returns: bool: ``True`` if variable name is valid.
"Validate variable name.\n\n Arguments:\n name (string): Property name.\n\n Returns:\n bool: ``True`` if variable name is valid."
98
false
sveetch/py-css-styleguide
validate_variable_name
9,240
LDU_FT/hannorein/rebound/calculate_lyapunov
LDU_FT
[ "<BEGIN>\n## `add_outer_solar_system`", "Add the planet of the outer Solar System as a test problem.\n Data taken from NASA Horizons.\n<END>", "<BEGIN>\n## `OrbitPlot`", "Convenience function for plotting instantaneous orbits.", " Parameters\n ----------\n slices : bool, optional\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_lyapunov 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 calculate_lyapunov 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 current Lyapunov Characteristic Number (LCN). Note that you need to call init_megno() before the start of the simulation. To get a timescale (the Lyapunov timescale), take the inverse of this quantity.
"Return the current Lyapunov Characteristic Number (LCN).\n Note that you need to call init_megno() before the start of the simulation.\n To get a timescale (the Lyapunov timescale), take the inverse of this quantity."
209
false
hannorein/rebound
calculate_lyapunov
9,241
LDU_FT/astropy/photutils/sky_bbox_ul
LDU_FT
[ "<BEGIN>\n## `_move_tuple_axes_first`", "Bottleneck can only take integer axis, not tuple, so this function\n takes all the axes to be operated on and combines them into the\n first dimension of the array so that we can then use axis=0\n<END>", "<BEGIN>\n## `_nanmean`", "Bottleneck nanmean function that...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sky_bbox_ul API. 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 sky_bbox_ul API. 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 sky coordinates of the upper-left vertex of the minimal bounding box of the source segment, returned as a `~astropy.coordinates.SkyCoord` object. The bounding box encloses all of the source segment pixels in their entirety, thus the vertices are at the pixel *corners*.
"The sky coordinates of the upper-left vertex of the minimal\n bounding box of the source segment, returned as a\n `~astropy.coordinates.SkyCoord` object.\n\n The bounding box encloses all of the source segment pixels in\n their entirety, thus the vertices are at the pixel *corners*."
1,397
true
astropy/photutils
sky_bbox_ul
9,242
LDU_FT/dw/mitogen/reset
LDU_FT
[ "<BEGIN>\n## `setup`", "Install handlers for Mitogen loggers to redirect them into the Ansible\n display framework. Ansible installs its own logging framework handlers when\n C.DEFAULT_LOG_PATH is set, therefore disable propagation for our handlers.\n<END>", "<BEGIN>\n## `dict_diff`", "Return a dict rep...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset API. 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 reset API. 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...
Explicitly terminate the connection to the remote host. This discards any local state we hold for the connection, returns the Connection to the 'disconnected' state, and informs ContextService the connection is bad somehow, and should be shut down and discarded.
"Explicitly terminate the connection to the remote host. This discards\n any local state we hold for the connection, returns the Connection to\n the 'disconnected' state, and informs ContextService the connection is\n bad somehow, and should be shut down and discarded."
843
false
dw/mitogen
reset
9,243
LDU_FT/timmahrt/pysle/_buildDict
LDU_FT
[ "<BEGIN>\n## `spellCheckTextgrid`", "Spell check words by using the praatio spellcheck function", " Incorrect items are noted in a new tier and optionally\n printed to the screen\n<END>", "<BEGIN>\n## `naiveWordAlignment`", "Performs naive alignment for utterances in a textgrid", " Naive alig...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _buildDict API. 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 _buildDict API. 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...
Builds the isle textfile into a dictionary for fast searching
"Builds the isle textfile into a dictionary for fast searching"
60
false
timmahrt/pysle
_buildDict
9,244
LDU_FT/qubell/contrib-python-qubell-client/create_organization
LDU_FT
[ "<BEGIN>\n## `request_upload_secret`", ":return: json with \"keyId\" as secret and \"url\" for posting key\n<END>", "<BEGIN>\n## `entity`", "CLI for tonomi.com using contrib-python-qubell-client", " To enable completion:", " eval \"$(_NOMI_COMPLETE=source nomi)\"\n<END>", "<BEGIN>\n## `import_ap...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_organization 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 create_organization 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...
Creates new organization :rtype: Organization
"Creates new organization\n :rtype: Organization"
112
false
qubell/contrib-python-qubell-client
create_organization
9,245
LDU_FT/nuagenetworks/monolithe/_write_enums
LDU_FT
[ "<BEGIN>\n## `raiseError`", "Print an error message", " Args:\n message: the message to print\n<END>", "<BEGIN>\n## `json`", "Print a nice JSON output", " Args:\n message: the message to print\n<END>", "<BEGIN>\n## `to_dict`", "Transform the current ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write_enums API. 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 _write_enums API. 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 writes the ouput for a particular specification.
"This method writes the ouput for a particular specification."
69
false
nuagenetworks/monolithe
_write_enums
9,246
LDU_FT/ptcryan/hydrawiser/set_zones
LDU_FT
[ "<BEGIN>\n## `update_controller_info`", "Pulls controller information.", " :returns: True if successfull, otherwise False.\n :rtype: boolean\n<END>", "<BEGIN>\n## `controller`", "Check if multiple controllers are connected.", " :returns: Return the controller_id of the active controll...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_zones API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_zones API. 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...
Controls the zone relays to turn sprinklers on and off. :param token: The users API token. :type token: string :param action: The action to perform. Available actions are: run, runall, stop, stopall, suspend, and suspendall. :type action: string :param relay: The zone to take act...
"Controls the zone relays to turn sprinklers on and off.\n\n :param token: The users API token.\n :type token: string\n :param action: The action to perform. Available actions are: run, runall,\n stop, stopall, suspend, and suspendall.\n :type action: string\n :param relay: The zone to ...
30
false
ptcryan/hydrawiser
set_zones
9,247
LDU_FT/makinacorpus/django-screamshot/parse_size
LDU_FT
[ "<BEGIN>\n## `casperjs_command`", "Determine which capture engine is specified. Possible options:\n - casperjs\n - phantomjs\n Based on this value, locate the binary of the capture engine.", " If setting <engine>_CMD is not defined, then\n look up for ``<engine>`` in shell PATH and\n build the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_size API. 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 parse_size API. 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...
Parse size URL parameter. >>> parse_size((100,None)) None >>> parse_size('300x100') (300, 100) >>> parse_size('300x') None >>> parse_size('x100') None >>> parse_size('x') None
"Parse size URL parameter.\n\n >>> parse_size((100,None))\n None\n >>> parse_size('300x100')\n (300, 100)\n >>> parse_size('300x')\n None\n >>> parse_size('x100')\n None\n >>> parse_size('x')\n None"
15
false
makinacorpus/django-screamshot
parse_size
9,248
LDU_FT/tinybike/coinbridge/listtransactions
LDU_FT
[ "<BEGIN>\n## `payment`", "Convenience method for sending Bitcoins.", " Send coins from origin to destination. Calls record_tx to log the\n transaction to database. Uses free, instant \"move\" transfers\n if addresses are both local (in the same wallet), and standard\n \"sendfrom\" t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listtransactions API. 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 listtransactions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
List all transactions associated with this account. Args: user_id (str): this user's unique identifier count (int): number of transactions to return (default=10) start_at (int): start the list at this transaction (default=0) Returns: list [dict]: transactions as...
"List all transactions associated with this account.\n\n Args:\n user_id (str): this user's unique identifier\n count (int): number of transactions to return (default=10)\n start_at (int): start the list at this transaction (default=0)\n\n Returns:\n list [dict]: transa...
48
false
tinybike/coinbridge
listtransactions
9,249
LDU_FT/Kane610/deconz/supported_sensor
LDU_FT
[ "<BEGIN>\n## `async_load_parameters`", "Load deCONZ parameters.", " Returns lists of indices of which devices was added.\n<END>", "<BEGIN>\n## `async_put_state`", "Set state of object in deCONZ.", " Field is a string representing a specific device in deCONZ\n e.g. field='/lights/1/sta...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the supported_sensor API. 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 supported_sensor API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Check if sensor is supported by pydeconz.
"Check if sensor is supported by pydeconz."
56
false
Kane610/deconz
supported_sensor
9,250
LDU_FT/ardydedase/pycouchbase/new_cstr
LDU_FT
[ "<BEGIN>\n## `_add_err`", "Sets the error on this MultiResult. Will be ignored if an error is\n already set.\n :param exinfo: Return value from ``sys.exc_info()``\n<END>", "<BEGIN>\n## `_add_bad_rc`", "Sets an error with a bad return code. Handles 'quiet' logic\n :param rc: The error code...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the new_cstr API. 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 new_cstr API. 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...
Converts the input into an encoded C String (NUL-terminated) :param input: The python string :param null_if_empty: If the input is empty, return NULL rather than the empty string :return: The C string
"Converts the input into an encoded C String (NUL-terminated)\n :param input: The python string\n :param null_if_empty: If the input is empty, return NULL rather\n than the empty string\n :return: The C string"
76
false
ardydedase/pycouchbase
new_cstr
9,251
LDU_FT/flowersteam/explauto/complement
LDU_FT
[ "<BEGIN>\n## `predict_y`", "Provide an prediction of xq in the output space", " @param xq an array of float of length dim_x\n @return predicted y as np.array of float\n<END>", "<BEGIN>\n## `predict_given_context`", "Provide a prediction of x with context c on dimensions c_dims in the outpu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the complement API. 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 complement API. 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...
add all missing options with their default values
"add all missing options with their default values"
685
false
flowersteam/explauto
complement
9,252
LDU_FT/idlesign/srptools/hex_from
LDU_FT
[ "<BEGIN>\n## `hex_from`", "Returns hex string representation for a given value.", " :param bytes|str|unicode|int|long val:\n :rtype: bytes|str\n<END>", "<BEGIN>\n## `b64_from`", "Returns base64 encoded bytes for a given int/long/bytes value.", " :param int|long|bytes val:\n :rtype: bytes|str\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hex_from API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hex_from API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns hex string representation for a given value. :param bytes|str|unicode|int|long val: :rtype: bytes|str
"Returns hex string representation for a given value.\n\n :param bytes|str|unicode|int|long val:\n :rtype: bytes|str"
40
false
idlesign/srptools
hex_from
9,253
LDU_FT/mapbox/rio-color/to_math_type
LDU_FT
[ "<BEGIN>\n## `sigmoidal`", "r\"\"\"\n Sigmoidal contrast is type of contrast control that\n adjusts the contrast without saturating highlights or shadows.\n It allows control over two factors:\n the contrast range from light to dark, and where the middle value\n of the mid-tones falls. The result i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_math_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_math_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Convert an array from native integer dtype range to 0..1 scaling down linearly
"Convert an array from native integer dtype range to 0..1\n scaling down linearly"
56
false
mapbox/rio-color
to_math_type
9,254
LDU_FT/niemasd/TreeSwift/label_to_node
LDU_FT
[ "<BEGIN>\n## `plot_ltt`", "Plot the Lineages Through Time (LTT) curve of a given tree", " Args:\n ``lineages`` (``dict``): The ``lineages`` dictionary returned by a ``Tree`` object's ``lineages_through_time()`` function call", " ``show_plot`` (``bool``): ``True`` to show the plot, otherwise `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the label_to_node API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the label_to_node API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Return a dictionary mapping labels (strings) to ``Node`` objects * If ``selection`` is ``"all"``, the dictionary will contain all nodes * If ``selection`` is ``"leaves"``, the dictionary will only contain leaves * If ``selection`` is ``"internal"``, the dictionary will only contain internal n...
"Return a dictionary mapping labels (strings) to ``Node`` objects\n\n * If ``selection`` is ``\"all\"``, the dictionary will contain all nodes\n\n * If ``selection`` is ``\"leaves\"``, the dictionary will only contain leaves\n\n * If ``selection`` is ``\"internal\"``, the dictionary will only conta...
280
false
niemasd/TreeSwift
label_to_node
9,255
LDU_FT/belbio/bel/get_nanopubstore_start_dt
LDU_FT
[ "<BEGIN>\n## `convert_msg_to_html`", "Convert \\n into a <BR> for an HTML formatted message\n<END>", "<BEGIN>\n## `validate`", "Validate Nanopub", " Error Levels are similar to log levels - selecting WARNING includes both\n WARNING and ERROR, selecting ERROR just includes ERROR", " The validation...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_nanopubstore_start_dt 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 get_nanopubstore_start_dt API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Get last start_dt recorded for getting new nanopub ID's
"Get last start_dt recorded for getting new nanopub ID's"
475
false
belbio/bel
get_nanopubstore_start_dt
9,256
LDU_FT/f213/rumetr-client/_parse_deadline
LDU_FT
[ "<BEGIN>\n## `complex_exists`", "Shortcut to check if complex exists in our database.\n<END>", "<BEGIN>\n## `house_exists`", "Shortcut to check if house exists in our database.\n<END>", "<BEGIN>\n## `appt_exists`", "Shortcut to check if appt exists in our database.\n<END>", "<BEGIN>\n## `check_developer...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_deadline API. 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 _parse_deadline API. 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...
Translate deadline date from human-acceptable format to the machine-acceptable
"Translate deadline date from human-acceptable format to the machine-acceptable"
20
false
f213/rumetr-client
_parse_deadline
9,257
LDU_FT/timster/peewee-validates/clean_fields
LDU_FT
[ "<BEGIN>\n## `validate_not_empty`", "Validate that a field is not empty (blank string).", " :raises: ``ValidationError('empty')``\n<END>", "<BEGIN>\n## `validate_length`", "Validate the length of a field with either low, high, or equal.\n Should work with anything that supports len().", " :param ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_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 extr...
For each field, check to see if there is a clean_<name> method. If so, run that method and set the returned value on the self.data dict. This happens after all validations so that each field can act on the cleaned data of other fields if needed. :param data: Dictionary of data to clean....
"For each field, check to see if there is a clean_<name> method.\n If so, run that method and set the returned value on the self.data dict.\n This happens after all validations so that each field can act on the\n cleaned data of other fields if needed.\n\n :param data: Dictionary of data to ...
82
false
timster/peewee-validates
clean_fields
9,258
LDU_FT/johnhw/pyspacenavigator/describe_connection
LDU_FT
[ "<BEGIN>\n## `list_devices`", "Return a list of the supported devices connected ", " Returns:\n A list of string names of the devices supported which were found. Empty if no supported devices found\n<END>", "<BEGIN>\n## `open`", "Open a 3D space navigator device. Makes this device the current act...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the describe_connection 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 describe_connection 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...
Return string representation of the device, including the connection state
"Return string representation of the device, including\n the connection state"
16
false
johnhw/pyspacenavigator
describe_connection
9,259
LDU_FT/JNRowe/upoints/parse_elements
LDU_FT
[ "<BEGIN>\n## `import_locations`", "Parse zoneinfo zone description data files.", " ``import_locations()`` returns a list of :class:`Zone` objects.", " It expects data files in one of the following formats::", " AN\t+1211-06900\tAmerica/Curacao\n AO\t-0848+01314\tAfrica/Lu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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. The ex...
Parse position data elements. Args: elements (list): Data values for position Returns: Position: Position object representing data
"Parse position data elements.\n\n Args:\n elements (list): Data values for position\n\n Returns:\n Position: Position object representing data"
438
false
JNRowe/upoints
parse_elements
9,260
LDU_FT/FNNDSC/med2image/str2lst
LDU_FT
[ "<BEGIN>\n## `verbosity`", "get/set the verbosity level.", " The verbosity level filters messages that are output\n to the console. Only messages tagged with a verbosity\n less-than-or-equal-to the class verbosity are output.", " This does not affect output to non-console devices\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the str2lst API. 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 str2lst API. 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...
Breaks a string at <astr_separator> and joins into a list. Steps along all list elements and strips white space. The list elements are explicitly ascii encoded.
"Breaks a string at <astr_separator> and joins into a\n list. Steps along all list elements and strips white\n space.\n\n The list elements are explicitly ascii encoded."
131
false
FNNDSC/med2image
str2lst
9,261
LDU_FT/yunpian/yunpian-python-sdk/send
LDU_FT
[ "<BEGIN>\n## `update_voice_notify`", "修改语音通知模版", " 注意:模板成功修改之后需要重新审核才能使用!同时提醒您如果修改了变量,务必重新测试,以免替换出错!\n 参数:\n 参数名 类型 是否必须 描述 示例\n apikey String 是 用户唯一标识 9b11127a9701975c734b8aee81ee3526\n tpl_id Long 是 模板id,64位长整形。指定id时返回id对应的模板。未指定时返回所有模板 95...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
发语音验证码 参数名 类型 是否必须 描述 示例 apikey String 是 用户唯一标识 9b11127a9701975c734b8aee81ee3526 mobile String 是 接收的手机号、固话(需加区号) 15205201314 01088880000 code String 是 验证码,支持4~6位阿拉伯数字 1234 encrypt String 否 加密方式 使用加密 tea (不再使用) _sign String 否 签名字段 参考使用加密 393d079e0a00912335adfe46f4a2e10f (...
"发语音验证码\n\n 参数名 类型 是否必须 描述 示例\n apikey String 是 用户唯一标识 9b11127a9701975c734b8aee81ee3526\n mobile String 是 接收的手机号、固话(需加区号) 15205201314 01088880000\n code String 是 验证码,支持4~6位阿拉伯数字 1234\n encrypt String 否 加密方式 使用加密 tea (不再使用)\n _sign String 否 签名字段 参考使用加密 393d079e0a00912335adfe46f4...
62
false
yunpian/yunpian-python-sdk
send
9,262
LDU_FT/samghelms/mathviz/load_app
LDU_FT
[ "<BEGIN>\n## `get_next_token`", "\"eats\" up the string until it hits an ending character to get valid leaf expressions.\n For example, given \\\\Phi_{z}(L) = \\\\sum_{i=1}^{N} \\\\frac{1}{C_{i} \\\\times V_{\\\\rm max, i}},\n this function would pull out \\\\Phi, stopping at _\n @ string: str\n retur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_app API. 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 load_app API. 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...
Load a bottle application from a module and make sure that the import does not affect the current default application, but returns a separate application object. See :func:`load` for the target parameter.
"Load a bottle application from a module and make sure that the import\n does not affect the current default application, but returns a separate\n application object. See :func:`load` for the target parameter."
116
false
samghelms/mathviz
load_app
9,263
LDU_FT/TUNE-Archive/freight_forwarder/_merge_config
LDU_FT
[ "<BEGIN>\n## `commercial_invoice`", ":param action:\n :param data_center:\n :param environment:\n :param transport_service:\n :param tagging_scheme:\n :return:\n<END>", "<BEGIN>\n## `deploy_containers`", "Deploy containers to specific container ship.\n 'restart_policy...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _merge_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _merge_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
overrides and/or adds data to the current configuration file. ** This has not been implemented yet. :param config_override: A :string: config data to add to or override the current config.
"overrides and/or adds data to the current configuration file.\n\n ** This has not been implemented yet.\n\n :param config_override: A :string: config data to add to or override the current config."
132
false
TUNE-Archive/freight_forwarder
_merge_config
9,264
LDU_FT/llllllllll/codetransformer/display
LDU_FT
[ "<BEGIN>\n## `_new_lnotab`", "The updated lnotab after the instructions have been transformed.", " Parameters\n ----------\n instrs : iterable[Instruction]\n The new instructions.\n lnotab : dict[Instruction -> int]\n The lnotab for the old code object.", " Returns\n -------\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the display API. 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 display API. 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...
Show `text`, rendered as AST and as Bytecode. Parameters ---------- text : str Text of Python code to render. mode : {'exec', 'eval'}, optional Mode for `ast.parse` and `compile`. Default is 'exec'. file : None or file-like object, optional File to use to print output. If ...
"Show `text`, rendered as AST and as Bytecode.\n\n Parameters\n ----------\n text : str\n Text of Python code to render.\n mode : {'exec', 'eval'}, optional\n Mode for `ast.parse` and `compile`. Default is 'exec'.\n file : None or file-like object, optional\n File to use to print ou...
223
false
llllllllll/codetransformer
display
9,265
LDU_FT/classam/silly/markdown
LDU_FT
[ "<BEGIN>\n## `_slugify`", "This is not as good as a proper slugification function, but the input space is limited", " >>> _slugify(\"beets\")\n 'beets'\n >>> _slugify(\"Toaster Strudel\")\n 'toaster-strudel'", " Here's why: It handles very little. It doesn't handle esoteric whitespace or symbol...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the markdown API. 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 markdown API. 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...
Produces a bunch of markdown text. >>> mock_random.seed(0) >>> markdown(random=mock_random, length=2) 'Nobody will **head** _to_ Mystery Studies Department **to** _buy_ a mighty poop.\\nNobody will **head** _to_ Mystery Studies Department **to** _buy_ a mighty poop.'
"Produces a bunch of markdown text.\n\n >>> mock_random.seed(0)\n >>> markdown(random=mock_random, length=2)\n 'Nobody will **head** _to_ Mystery Studies Department **to** _buy_ a mighty poop.\\\\nNobody will **head** _to_ Mystery Studies Department **to** _buy_ a mighty poop.'"
80
false
classam/silly
markdown
9,266
LDU_FT/amzn/ion-python/_narrow_unichr
LDU_FT
[ "<BEGIN>\n## `local_symbol_table`", "Constructs a local symbol table.", " Args:\n imports (Optional[SymbolTable]): Shared symbol tables to import.\n symbols (Optional[Iterable[Unicode]]): Initial local symbols to add.", " Returns:\n SymbolTable: A mutable local symbol table with the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _narrow_unichr API. 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 _narrow_unichr API. 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...
Retrieves the unicode character representing any given code point, in a way that won't break on narrow builds. This is necessary because the built-in unichr function will fail for ordinals above 0xFFFF on narrow builds (UCS2); ordinals above 0xFFFF would require recalculating and combining surrogate pairs. Thi...
"Retrieves the unicode character representing any given code point, in a way that won't break on narrow builds.\n\n This is necessary because the built-in unichr function will fail for ordinals above 0xFFFF on narrow builds (UCS2);\n ordinals above 0xFFFF would require recalculating and combining surrogate pairs....
384
false
amzn/ion-python
_narrow_unichr
9,267
LDU_FT/nicferrier/md/main
LDU_FT
[ "<BEGIN>\n## `_list`", "Do structured list output.", " Sorts the list by date, possibly reversed, filtered from 'since'.", " The returned list is: foldername, message key, message object\n<END>", "<BEGIN>\n## `ls`", "Do standard text list of the folder to the stream.", " 'foldername...
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...
Main method for the cli. We allow the filesystem to be overridden for test purposes.
"Main method for the cli.\n\n We allow the filesystem to be overridden for test purposes."
135
false
nicferrier/md
main
9,268
LDU_FT/ralphje/imagemounter/init
LDU_FT
[ "<BEGIN>\n## `_get_mount_methods`", "Finds which mount methods are suitable for the specified disk type. Returns a list of all suitable mount\n methods.\n<END>", "<BEGIN>\n## `mount`", "Mounts the base image on a temporary location using the mount method stored in :attr:`method`. If mounting\n w...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init API. 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 init API. 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...
Handles all important disk-mounting tasks, i.e. calls the :func:`Disk.init` function on all underlying disks. It yields every volume that is encountered, including volumes that have not been mounted. :param single: indicates whether the :class:`Disk` should be mounted as a single disk, not as a single ...
"Handles all important disk-mounting tasks, i.e. calls the :func:`Disk.init` function on all underlying\n disks. It yields every volume that is encountered, including volumes that have not been mounted.\n\n :param single: indicates whether the :class:`Disk` should be mounted as a single disk, not as a sin...
225
false
ralphje/imagemounter
init
9,269
LDU_FT/payu-org/payu/postprocess
LDU_FT
[ "<BEGIN>\n## `set_model_pathnames`", "Define the paths associated with this model.\n<END>", "<BEGIN>\n## `archive`", "Store model output to laboratory archive.\n<END>", "<BEGIN>\n## `parse`", "Parse the command line inputs and execute the subcommand.\n<END>", "<BEGIN>\n## `get_model_type`", "Determine...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the postprocess API. 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 postprocess API. 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...
Submit a postprocessing script after collation
"Submit a postprocessing script after collation"
78
false
payu-org/payu
postprocess
9,270
LDU_FT/tBaxter/tango-comments/initial_security_hash
LDU_FT
[ "<BEGIN>\n## `next_redirect`", "Handle the \"where should I go next?\" part of comment views.", " The next value could be a\n ``?next=...`` GET arg or the URL of a given view (``fallback``). See\n the view modules for examples.", " Returns an ``HttpResponseRedirect``.\n<END>", "<BEGIN>\n## `conf...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initial_security_hash API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initial_security_hash API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Generate the initial security hash from self.content_object and a (unix) timestamp.
"Generate the initial security hash from self.content_object\n and a (unix) timestamp."
66
false
tBaxter/tango-comments
initial_security_hash
9,271
LDU_FT/jborean93/requests-credssp/_build_pub_key_auth
LDU_FT
[ "<BEGIN>\n## `check_error_code`", "For CredSSP version of 3 or newer, the server can response with an\n NtStatus error code with details of what error occurred. This method\n will check if the error code exists and throws an NTStatusException\n if it is no STATUS_SUCCESS.\n<END>", "<BEGIN>\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_pub_key_auth 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 _build_pub_key_auth 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...
[MS-CSSP] 3.1.5 Processing Events and Sequencing Rules - Step 3 https://msdn.microsoft.com/en-us/library/cc226791.aspx This step sends the final SPNEGO token to the server if required and computes the value for the pubKeyAuth field for the protocol version negotiated. The forma...
"[MS-CSSP] 3.1.5 Processing Events and Sequencing Rules - Step 3\n https://msdn.microsoft.com/en-us/library/cc226791.aspx\n\n This step sends the final SPNEGO token to the server if required and\n computes the value for the pubKeyAuth field for the protocol version\n negotiated.\n\n T...
41
false
jborean93/requests-credssp
_build_pub_key_auth
9,272