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/jlmadurga/listenclosely/on_message
LDU_FT
[ "<BEGIN>\n## `listen`", "Listen/Connect to message service loop to start receiving messages.\n Do not include in constructor, in this way it can be included in tasks\n<END>", "<BEGIN>\n## `attend_pendings`", "Check all chats created with no agent assigned yet.\n Schedule a timer timeout to call ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_message API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_message API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
To use as callback in message service backend
"To use as callback in message service backend"
10
false
jlmadurga/listenclosely
on_message
37,673
LDU_FT/Grokzen/pykwalify/init_logging
LDU_FT
[ "<BEGIN>\n## `is_float`", "Valid types are:\n - objects of float type\n - Strings that can be converted to float. For example '1e-06'\n<END>", "<BEGIN>\n## `is_timestamp`", "Yaml either have automatically converted it to a datetime object\n or it is a string that will be validated later.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_logging API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_logging API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Init logging settings with default set to INFO
"Init logging settings with default set to INFO"
22
false
Grokzen/pykwalify
init_logging
37,674
LDU_FT/rtfd/sphinxcontrib-dotnetdomain/get_index_text
LDU_FT
[ "<BEGIN>\n## `parse_signature`", "Parse signature declartion string", " Uses :py:attr:`signature_pattern` to parse out pieces of constraint\n signatures. Pattern should provide the following named groups:", " prefix\n Object prefix, such as a namespace", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_index_text API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_index_text API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Produce index text by directive attributes
"Produce index text by directive attributes"
37
false
rtfd/sphinxcontrib-dotnetdomain
get_index_text
37,675
LDU_FT/yatiml/yatiml/__to_plain_containers
LDU_FT
[ "<BEGIN>\n## `class_subobjects`", "Find the aggregated subobjects of an object.", " These are the public attributes.", " Args:\n class_: The class whose subobjects to return.", " Yields:\n Tuples (name, type, required) describing subobjects.\n<END>", "<BEGIN>\n## `__sweeten`", "Ap...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __to_plain_containers 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 __to_plain_containers API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Converts any sequence or mapping to list or OrderedDict Stops at anything that isn't a sequence or a mapping. One day, we'll extract the comments and formatting and store \ them out-of-band. Args: mapping: The mapping of constructed subobjects to edit
"Converts any sequence or mapping to list or OrderedDict\n\n Stops at anything that isn't a sequence or a mapping.\n\n One day, we'll extract the comments and formatting and store \\\n them out-of-band.\n\n Args:\n mapping: The mapping of constructed subobjects to edit"
224
false
yatiml/yatiml
__to_plain_containers
37,676
LDU_FT/TkTech/Jawa/pack
LDU_FT
[ "<BEGIN>\n## `_walk`", "A modified os.walk with support for maximum traversal depth.\n<END>", "<BEGIN>\n## `update`", "Add one or more ClassFile sources to the class loader.", " If a given source is a directory path, it is traversed up to the\n maximum set depth and all files under it are adde...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pack API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pack API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Write the FieldTable to the file-like object `out`. .. note:: Advanced usage only. You will typically never need to call this method as it will be called for you when saving a ClassFile. :param out: Any file-like object providing `write()`
"Write the FieldTable to the file-like object `out`.\n\n .. note::\n\n Advanced usage only. You will typically never need to call this\n method as it will be called for you when saving a ClassFile.\n\n :param out: Any file-like object providing `write()`"
226
false
TkTech/Jawa
pack
37,677
LDU_FT/clement-alexandre/TotemBionet/_build_graph
LDU_FT
[ "<BEGIN>\n## `pick_a_model_randomly`", "Naive picking function, return one of the models chosen randomly.\n<END>", "<BEGIN>\n## `as_data_frame`", "Create a panda DataFrame representation of the resource table.\n<END>", "<BEGIN>\n## `is_active`", "Return True if the multiplex is active in the given state, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_graph API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_graph API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Private method to build the graph from the model.
"Private method to build the graph from the model."
49
false
clement-alexandre/TotemBionet
_build_graph
37,678
LDU_FT/rajeevs1992/pyhealthvault/parse_xml
LDU_FT
[ "<BEGIN>\n## `sendrequest`", "Recieves a request xml as a string and posts it\n to the health service url specified in the\n settings.py\n<END>", "<BEGIN>\n## `parse_xml`", ":param xml: lxml.etree.Element representing a single VocabularyItem\n<END>", "<BEGIN>\n## `write_xml`", "Write...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_xml API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_xml API. 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...
:param key_xml: lxml.etree.Element representing a single VocabularyCodeSet
":param key_xml: lxml.etree.Element representing a single VocabularyCodeSet"
16
false
rajeevs1992/pyhealthvault
parse_xml
37,679
LDU_FT/razor-x/scipy-data_fitting/array
LDU_FT
[ "<BEGIN>\n## `add_symbol`", "Add a symbol with key `name` to `scipy_data_fitting.Model.symbols`.\n Optionally, specify an alternative `string` to pass to [`sympy.Symbol`][1],\n otherwise `name` is used.", " [1]: http://docs.sympy.org/dev/modules/core.html#id4\n<END>", "<BEGIN>\n## `replac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the array API. 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 array API. 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...
Data as a [`numpy.ndarray`][1] in the form #!python [ [ x1, x2, x3, ... ], [ y1, y2, y3, ...] ] By default, if unset, this will be set on first access by calling `scipy_data_fitting.Data.load_data`. When loaded from file, the...
"Data as a [`numpy.ndarray`][1] in the form\n\n #!python\n [\n [ x1, x2, x3, ... ],\n [ y1, y2, y3, ...]\n ]\n\n By default, if unset, this will be set on first access\n by calling `scipy_data_fitting.Data.load_data`.\n\n When loaded fr...
163
false
razor-x/scipy-data_fitting
array
37,680
LDU_FT/bearyinnovative/bearychat.py/reply
LDU_FT
[ "<BEGIN>\n## `request`", "Perform a request.", " Args:\n request_method: HTTP method for this request.\n api_method: API method name for this request.\n *args: Extra arguments to pass to the request.\n **kwargs: Extra keyword arguments to pass to the request.",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reply API. 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 reply API. 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...
Replys a text message Args: text(str): message content Returns: RTMMessage
"Replys a text message\n\n Args:\n text(str): message content\n\n Returns:\n RTMMessage"
68
false
bearyinnovative/bearychat.py
reply
37,681
LDU_FT/Aluriak/bubble-tools/powernodes_containing
LDU_FT
[ "<BEGIN>\n## `bubble_to_dot`", "Write in dotfile a graph equivalent to those depicted in bubble file\n<END>", "<BEGIN>\n## `bubble_to_gexf`", "Write in bblfile a graph equivalent to those depicted in bubble file\n<END>", "<BEGIN>\n## `bubble_to_js`", "Write in jsdir a graph equivalent to those depicted in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the powernodes_containing 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 powernodes_containing API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Yield all power nodes containing (power) node of given *name*. If *directly* is True, will only yield the direct parent of given name.
"Yield all power nodes containing (power) node of given *name*.\n\n If *directly* is True, will only yield the direct parent of given name."
88
false
Aluriak/bubble-tools
powernodes_containing
37,682
LDU_FT/spyder-ide/conda-manager/_set_repo_urls_from_channels
LDU_FT
[ "<BEGIN>\n## `get_package_versions`", "Gives all the compatible package canonical name", " name : str\n Name of the package\n<END>", "<BEGIN>\n## `closing_plugin`", "Perform actions before parent main window is closed.\n<END>", "<BEGIN>\n## `get_conf_path`", "Return absolute path for c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_repo_urls_from_channels API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_repo_urls_from_channels API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Convert a channel into a normalized repo name including. Channels are assumed in normalized url form.
"Convert a channel into a normalized repo name including.\n\n Channels are assumed in normalized url form."
160
false
spyder-ide/conda-manager
_set_repo_urls_from_channels
37,683
LDU_FT/OCA/knowledge/_compute_am_i_approver
LDU_FT
[ "<BEGIN>\n## `_compute_diff`", "Shows a diff between this version and the previous version\n<END>", "<BEGIN>\n## `action_add_url`", "Adds the URL with the given name as an ir.attachment record.\n<END>", "<BEGIN>\n## `_compute_is_approval_required`", "Check if the document required approval based on his pa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compute_am_i_approver 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 _compute_am_i_approver 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 the current user can approve changes to this page.
"Check if the current user can approve changes to this page."
10
false
OCA/knowledge
_compute_am_i_approver
37,684
LDU_FT/AdvancedClimateSystems/uModbus/write_single_register
LDU_FT
[ "<BEGIN>\n## `pdu_to_function_code_or_raise_error`", "Parse response PDU and return of :class:`ModbusFunction` or\n raise error.", " :param resp_pdu: PDU of response.\n :return: Subclass of :class:`ModbusFunction` matching the response.\n :raises ModbusError: When response contains error code.\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_single_register API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_single_register API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Return ADU for Modbus function code 06: Write Single Register. :param slave_id: Number of slave. :return: Byte array with ADU.
"Return ADU for Modbus function code 06: Write Single Register.\n\n :param slave_id: Number of slave.\n :return: Byte array with ADU."
186
false
AdvancedClimateSystems/uModbus
write_single_register
37,685
LDU_FT/weld-project/weld/_reduce_op
LDU_FT
[ "<BEGIN>\n## `to_weld_type`", "Summary", " Args:\n weld_type (TYPE): Description\n dim (TYPE): Description", " Returns:\n TYPE: Description\n<END>", "<BEGIN>\n## `evaluate`", "Summary", " Args:\n verbose (bool, optional): Description\n decode (bool...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _reduce_op API. 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 _reduce_op API. 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...
TODO: support for multidimensional arrays.
"TODO: support for multidimensional arrays."
210
false
weld-project/weld
_reduce_op
37,686
LDU_FT/Robpol86/colorclass/cyan
LDU_FT
[ "<BEGIN>\n## `readme`", "Try to read README.rst or return empty string if failed.", " :return: File contents.\n :rtype: str\n<END>", "<BEGIN>\n## `apply_text`", "Call `func` on text portions of incoming color string.", " :param iter incoming: Incoming string/ColorStr/string-like object to iterate...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cyan API. 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 cyan API. 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...
Color-code entire string. :param str string: String to colorize. :param bool auto: Enable auto-color (dark/light terminal). :return: Class instance for colorized string. :rtype: Color
"Color-code entire string.\n\n :param str string: String to colorize.\n :param bool auto: Enable auto-color (dark/light terminal).\n\n :return: Class instance for colorized string.\n :rtype: Color"
191
false
Robpol86/colorclass
cyan
37,687
LDU_FT/ondryaso/pi-rc522/read_out
LDU_FT
[ "<BEGIN>\n## `request`", "Requests for tag.\n Returns (False, None) if no tag is present, otherwise returns (True, tag type)\n<END>", "<BEGIN>\n## `anticoll`", "Anti-collision detection.\n Returns tuple of (error state, tag ID).\n<END>", "<BEGIN>\n## `select_tag`", "Selects tag for further u...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_out API. 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 read_out API. 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...
Prints sector/block number and contents of block. Tag and auth must be set - does auth.
"Prints sector/block number and contents of block. Tag and auth must be set - does auth."
28
false
ondryaso/pi-rc522
read_out
37,688
LDU_FT/randomir/plucky/plucks
LDU_FT
[ "<BEGIN>\n## `rewrap`", "Inplace constructor. Depending on `self.inplace`, rewrap `obj`, or\n just update internal vars, possibly including the `obj`.\n<END>", "<BEGIN>\n## `_filtered_list`", "Iterate over `self.obj` list, extracting `selector` from each\n element. The `selector` can be a simple...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plucks API. 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 plucks API. 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 ...
Safe itemgetter for structured objects. Happily operates on all (nested) objects that implement the item getter, i.e. the `[]` operator. The `selector` is ~ ``(<key>|<index>|<slice>|\*)(\.(<key>|<index>|<slice>|\*))*``. Parts (keys) in the selector path are separated with a dot. If the key loo...
"Safe itemgetter for structured objects.\n Happily operates on all (nested) objects that implement the item getter, \n i.e. the `[]` operator.\n\n The `selector` is ~\n ``(<key>|<index>|<slice>|\\*)(\\.(<key>|<index>|<slice>|\\*))*``.\n Parts (keys) in the selector path are separated with a dot. If the k...
33
false
randomir/plucky
plucks
37,689
LDU_FT/NickMonzillo/SmartCloud/dir_list
LDU_FT
[ "<BEGIN>\n## `separate`", "Takes text and separates it into a list of words\n<END>", "<BEGIN>\n## `eliminate_repeats`", "Returns a list of words that occur in the text. Eliminates stopwords.\n<END>", "<BEGIN>\n## `wordcount`", "Returns the count of the words in a file.\n<END>", "<BEGIN>\n## `tuplecount`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dir_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dir_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns the list of all files in the directory.
"Returns the list of all files in the directory."
28
false
NickMonzillo/SmartCloud
dir_list
37,690
LDU_FT/thunder-project/thunder-registration/check_images
LDU_FT
[ "<BEGIN>\n## `apply`", "Apply an n-dimensional displacement by shifting an image or volume.", " Parameters\n ----------\n im : ndarray\n The image or volume to shift\n<END>", "<BEGIN>\n## `compute`", "Compute an optimal displacement between two ndarrays.", " Finds th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_images API. 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 check_images API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Check and reformat input images if needed
"Check and reformat input images if needed"
33
false
thunder-project/thunder-registration
check_images
37,691
LDU_FT/hyperledger-archives/indy-client/addAttribute
LDU_FT
[ "<BEGIN>\n## `_getRole`", ":param matchedVars:\n :return: NULL or the role's integer value\n<END>", "<BEGIN>\n## `addAttribute`", "Used to create a new attribute on Sovrin\n :param attrib: attribute to add\n :return: number of pending txns\n<END>", "<BEGIN>\n## `addNode`", "Used to ad...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addAttribute API. 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 addAttribute API. 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...
Used to create a new attribute on Sovrin :param attrib: attribute to add :return: number of pending txns
"Used to create a new attribute on Sovrin\n :param attrib: attribute to add\n :return: number of pending txns"
16
false
hyperledger-archives/indy-client
addAttribute
37,692
LDU_FT/mayfield/cellulario/clean
LDU_FT
[ "<BEGIN>\n## `make_gatherer`", "Produce a single source tier that gathers from a set of tiers when\n the key function returns a unique result for each tier.\n<END>", "<BEGIN>\n## `enqueue_task`", "Enqueue a task execution. It will run in the background as soon\n as the coordinator clears it to ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean API. 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 clean API. 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...
Run all of the cleaners added by the user.
"Run all of the cleaners added by the user."
30
false
mayfield/cellulario
clean
37,693
LDU_FT/mrcagney/make_gtfs/check_stops
LDU_FT
[ "<BEGIN>\n## `make_gtfs`", "Create a GTFS feed from the files in the directory SOURCE_PATH.\n See the project README for a description of the required source\n files.\n Save the feed to the file or directory TARGET_PATH.\n If the target path ends in '.zip', then write the feed as a zip\n archive.\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_stops API. 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 check_stops API. 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...
Analog of :func:`check_frequencies` for ``pfeed.stops``
"Analog of :func:`check_frequencies` for ``pfeed.stops``"
67
false
mrcagney/make_gtfs
check_stops
37,694
LDU_FT/gboeing/osmnx/create_poi_gdf
LDU_FT
[ "<BEGIN>\n## `config`", "Configure osmnx by setting the default global vars to desired values.", " Parameters\n ---------\n data_folder : string\n where to save and load data files\n logs_folder : string\n where to write the log files\n imgs_folder : string\n where to save fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_poi_gdf API. 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 create_poi_gdf API. 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 GeoDataFrames from POI json that was returned by Overpass API. Parameters ---------- polygon : shapely Polygon or MultiPolygon geographic shape to fetch the POIs within amenities: list List of amenities that will be used for finding the POIs from the selected area. See av...
"Parse GeoDataFrames from POI json that was returned by Overpass API.\n\n Parameters\n ----------\n polygon : shapely Polygon or MultiPolygon\n geographic shape to fetch the POIs within\n amenities: list\n List of amenities that will be used for finding the POIs from the selected area. \n ...
479
false
gboeing/osmnx
create_poi_gdf
37,695
LDU_FT/lingthio/Flask-User/find_objects
LDU_FT
[ "<BEGIN>\n## `send_email_message`", "Send email message via Flask-Sendmail.", " Args:\n recipient: Email address or tuple of (Name, Email-address).\n subject: Subject line.\n html_message: The message body in HTML.\n text_message: The message body in plain text...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_objects API. 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_objects API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Retrieve all objects of type ``ObjectClass``, matching the filters specified in ``**kwargs`` -- case sensitive.
"Retrieve all objects of type ``ObjectClass``,\n matching the filters specified in ``**kwargs`` -- case sensitive."
186
false
lingthio/Flask-User
find_objects
37,696
LDU_FT/ossobv/dutree/count
LDU_FT
[ "<BEGIN>\n## `get_content_size`", "Return size of files/dirs contents excluding parent node.\n<END>", "<BEGIN>\n## `formatwarning`", "Override default Warning layout, from:", " /PATH/TO/dutree.py:326: UserWarning:\n [Errno 2] No such file or directory: '/0.d/05.d'\n warnings.warn(...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted d...
Return how many nodes this contains, including self.
"Return how many nodes this contains, including self."
32
false
ossobv/dutree
count
37,697
LDU_FT/greyli/flask-avatars/jcrop_css
LDU_FT
[ "<BEGIN>\n## `gravatar`", "Pass email hash, return Gravatar URL. You can get email hash like this::", " import hashlib\n avatar_hash = hashlib.md5(email.lower().encode('utf-8')).hexdigest()", " Visit https://en.gravatar.com/site/implement/images/ for more information.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jcrop_css API. 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 jcrop_css API. 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...
Load jcrop css file. :param css_url: The custom CSS URL.
"Load jcrop css file.\n\n :param css_url: The custom CSS URL."
48
false
greyli/flask-avatars
jcrop_css
37,698
LDU_FT/ClericPy/torequests/Async
LDU_FT
[ "<BEGIN>\n## `init_original_response`", "Get the original response for comparing, confirm ``is_cookie_necessary``\n<END>", "<BEGIN>\n## `init_original_response`", "Get the original response for comparing, confirm is_cookie_necessary\n<END>", "<BEGIN>\n## `sort_url_qsl`", "Do nothing but sort the params of...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Async API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Async API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Concise usage for pool.submit. Basic Usage Asnyc & threads :: from torequests.main import Async, threads import time def use_submit(i): time.sleep(i) result = 'use_submit: %s' % i print(result) return result @threads() def...
"Concise usage for pool.submit.\n\n Basic Usage Asnyc & threads ::\n\n from torequests.main import Async, threads\n import time\n\n\n def use_submit(i):\n time.sleep(i)\n result = 'use_submit: %s' % i\n print(result)\n return result\n\n\n @threa...
244
false
ClericPy/torequests
Async
37,699
LDU_FT/fr33jc/bang/sanitize_config_loglevel
LDU_FT
[ "<BEGIN>\n## `set_ssh_creds`", "Set ssh credentials into config.", " Note that these values might also be set in ~/.bangrc. If they are\n specified both in ~/.bangrc and as command-line arguments to ``bang``, then\n the command-line arguments win.\n<END>", "<BEGIN>\n## `run_bang`", "Runs bang with...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sanitize_config_loglevel 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 sanitize_config_loglevel API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Kinda sorta backport of loglevel sanitization for Python 2.6.
"Kinda sorta backport of loglevel sanitization for Python 2.6."
336
false
fr33jc/bang
sanitize_config_loglevel
37,700
LDU_FT/RIPE-NCC/ripe-atlas-cousteau/build_api_struct
LDU_FT
[ "<BEGIN>\n## `update_get_params`", "Update HTTP GET params with the given fields that user wants to fetch.\n<END>", "<BEGIN>\n## `_fetch_meta_data`", "Makes an API call to fetch meta data for the given probe and stores the raw data.\n<END>", "<BEGIN>\n## `_populate_data`", "Assing some probe's raw meta da...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_api_struct API. 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 build_api_struct API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Calls parent's method and just adds the addtional field 'action', that is required to form the structure that Atlas API is accepting.
"Calls parent's method and just adds the addtional field 'action', that\n is required to form the structure that Atlas API is accepting."
62
false
RIPE-NCC/ripe-atlas-cousteau
build_api_struct
37,701
LDU_FT/svasilev94/GraphLibrary/add_edge
LDU_FT
[ "<BEGIN>\n## `dijkstra`", "Compute shortest path length between satrt\r\n and all other reachable nodes for a weight graph.\r\n return -> ({vertex: weight form start, }, {vertex: predeseccor, })\n<END>", "<BEGIN>\n## `dijkstra_single_path_length`", "Compute shortest path length between satrt\r\n and ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_edge API. 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 add_edge API. 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...
Add an edge from u to v and update edge attributes
"Add an edge from u to v and update edge attributes"
24
false
svasilev94/GraphLibrary
add_edge
37,702
LDU_FT/inonit/drf-haystack/to_representation
LDU_FT
[ "<BEGIN>\n## `download_setuptools`", "Download distribute from a specified location and return its filename", " `version` should be a valid distribute version number that is available\n as an egg for download under the `download_base` URL (which should end\n with a '/'). `to_dir` is the directory where...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_representation API. 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 to_representation API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Set the ``parent_field`` property equal to the current field on the serializer class, so that each field can query it to see what kind of attribute they are processing.
"Set the ``parent_field`` property equal to the current field on the serializer class,\n so that each field can query it to see what kind of attribute they are processing."
77
false
inonit/drf-haystack
to_representation
37,703
LDU_FT/israel-lugo/capidup/find_duplicates_in_dirs
LDU_FT
[ "<BEGIN>\n## `should_be_excluded`", "Check if a name should be excluded.", " Returns True if name matches at least one of the exclude patterns in\n the exclude_patterns list.\n<END>", "<BEGIN>\n## `filter_visited`", "Filter subdirs that have already been visited.", " This is used to avoid loops i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_duplicates_in_dirs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_duplicates_in_dirs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Recursively scan a list of directories, looking for duplicate files. `exclude_dirs`, if provided, should be a list of glob patterns. Subdirectories whose names match these patterns are excluded from the scan. `exclude_files`, if provided, should be a list of glob patterns. Files whose names match ...
"Recursively scan a list of directories, looking for duplicate files.\n\n `exclude_dirs`, if provided, should be a list of glob patterns.\n Subdirectories whose names match these patterns are excluded from the\n scan.\n\n `exclude_files`, if provided, should be a list of glob patterns. Files\n whose name...
39
false
israel-lugo/capidup
find_duplicates_in_dirs
37,704
LDU_FT/PedalPi/Application/to_before_pedalboard
LDU_FT
[ "<BEGIN>\n## `start`", "Start the application, initializing your components.\n<END>", "<BEGIN>\n## `stop`", "Stop the application, closing your components.\n<END>", "<BEGIN>\n## `by`", "Get the plugins registered in PedalPi by technology", " :param PluginTechnology technology: PluginTechnology id...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_before_pedalboard 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 to_before_pedalboard API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Change the current :class:`.Pedalboard` for the previous pedalboard. If the current pedalboard is the first in the current :class:`Bank`, the current pedalboard is will be the **last of the current Bank**. .. warning:: If the current :attr:`.pedalboard` is ``None``, a :class:`.Cur...
"Change the current :class:`.Pedalboard` for the previous pedalboard.\n\n If the current pedalboard is the first in the current :class:`Bank`,\n the current pedalboard is will be the **last of the current Bank**.\n\n .. warning::\n\n If the current :attr:`.pedalboard` is ``None``, a :cla...
42
false
PedalPi/Application
to_before_pedalboard
37,705
LDU_FT/LasLabs/python-helpscout/add_query
LDU_FT
[ "<BEGIN>\n## `create`", "Create an object on HelpScout.", " Args:\n session (requests.sessions.Session): Authenticated session.\n record (helpscout.BaseModel): The record to be created.\n endpoint_override (str, optional): Override the default\n endpoint us...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_query API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_query API. 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...
Join a new query to existing queries on the stack. Args: query (tuple or list or DomainCondition): The condition for the query. If a ``DomainCondition`` object is not provided, the input should conform to the interface defined in :func:`~.domain.Domai...
"Join a new query to existing queries on the stack.\n\n Args:\n query (tuple or list or DomainCondition): The condition for the\n query. If a ``DomainCondition`` object is not provided, the\n input should conform to the interface defined in\n :func:`~.domai...
178
false
LasLabs/python-helpscout
add_query
37,706
LDU_FT/ckoepp/TwitterSearch/get_minimal_id
LDU_FT
[ "<BEGIN>\n## `set_source_filter`", "Only search for tweets entered via given source", " :param source: String. Name of the source to search for. An example \\\n would be ``source=twitterfeed`` for tweets submitted via TwitterFeed\n :raises: TwitterSearchException\n<END>", "<BEGIN>\n## `ad...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_minimal_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. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_minimal_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. The ex...
Returns the minimal tweet ID of the current response :returns: minimal tweet identification number :raises: TwitterSearchException
"Returns the minimal tweet ID of the current response\n\n :returns: minimal tweet identification number\n :raises: TwitterSearchException"
91
false
ckoepp/TwitterSearch
get_minimal_id
37,707
LDU_FT/MaxHalford/starboost/predict
LDU_FT
[ "<BEGIN>\n## `softmax`", "Can be replaced once scipy 1.3 is released, although numeric stability should be checked.\n<END>", "<BEGIN>\n## `fit`", "Fit a gradient boosting procedure to a dataset.", " Args:\n X (array-like or sparse matrix of shape (n_samples, n_features)): The training inpu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict API. 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 predict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Returns the predictions for ``X``. Under the hood this method simply goes through the outputs of ``iter_predict`` and returns the final one. Arguments: X (array-like or sparse matrix of shape (n_samples, n_features)): The input samples. Sparse matrices are accepted ...
"Returns the predictions for ``X``.\n\n Under the hood this method simply goes through the outputs of ``iter_predict`` and returns\n the final one.\n\n Arguments:\n X (array-like or sparse matrix of shape (n_samples, n_features)): The input samples.\n Sparse matrices are a...
28
false
MaxHalford/starboost
predict
37,708
LDU_FT/biocommons/bioutils/infer_namespace
LDU_FT
[ "<BEGIN>\n## `fetch_seq`", "Fetches sequences and subsequences from NCBI eutils and Ensembl\n REST interfaces.", " :param string ac: accession of sequence to fetch\n :param int start_i: start position of *interbase* interval\n :param int end_i: end position of *interbase* interval", " **IMPORTA...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the infer_namespace API. 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 infer_namespace API. 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...
Infer the single namespace of the given accession This function is convenience wrapper around infer_namespaces(). Returns: * None if no namespaces are inferred * The (single) namespace if only one namespace is inferred * Raises an exception if more than one namespace is inferred >>> infe...
"Infer the single namespace of the given accession\n\n This function is convenience wrapper around infer_namespaces().\n Returns:\n * None if no namespaces are inferred\n * The (single) namespace if only one namespace is inferred\n * Raises an exception if more than one namespace is inferred\n\n ...
172
false
biocommons/bioutils
infer_namespace
37,709
LDU_FT/thriftrw/thriftrw-python/p_union
LDU_FT
[ "<BEGIN>\n## `add_include`", "Adds a module as an included module.", " :param name:\n Name under which the included module should be exposed in the\n current module.\n :param module_spec:\n ModuleSpec of the included module.\n<END>", "<BEGIN>\n## `link`", "Link...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_union API. 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 p_union API. 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...
union : UNION IDENTIFIER '{' field_seq '}' annotations
"union : UNION IDENTIFIER '{' field_seq '}' annotations"
135
false
thriftrw/thriftrw-python
p_union
37,710
LDU_FT/JonLiuFYI/pkdx/description
LDU_FT
[ "<BEGIN>\n## `description`", "Return a description of the given Pokemon.\n<END>", "<BEGIN>\n## `get_ability_desc`", "Return the description matching the given ability name. Check abilities.json in the same directory.\n<END>", "<BEGIN>\n## `get_move_data`", "Return the index number for the given move name....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the description API. 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 description API. 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 a description of the given Pokemon.
"Return a description of the given Pokemon."
10
false
JonLiuFYI/pkdx
description
37,711
LDU_FT/thanethomson/statik/get_project_config_file
LDU_FT
[ "<BEGIN>\n## `list_files`", "Lists all of the files in the given base directory, optionally only\n including whose extension(s) match the ext string/list of strings.\n This is non-recursive.", " Args:\n base_path: The directory in which to search.\n ext: The extension(s) to match in the g...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_project_config_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_project_config_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Attempts to extract the project config file's absolute path from the given path. If the path is a directory, it automatically assumes a "config.yml" file will be in that directory. If the path is to a .yml file, it assumes that that is the root configuration file for the project.
"Attempts to extract the project config file's absolute path from the given path. If the path is a\n directory, it automatically assumes a \"config.yml\" file will be in that directory. If the path is to\n a .yml file, it assumes that that is the root configuration file for the project."
117
false
thanethomson/statik
get_project_config_file
37,712
LDU_FT/thumbor/thumbor/getAppExt
LDU_FT
[ "<BEGIN>\n## `instance`", "Cache threadpool since context is\n recreated for each request\n<END>", "<BEGIN>\n## `main`", "Runs thumbor server with the specified arguments.\n<END>", "<BEGIN>\n## `mime`", "Retrieves mime metadata if available\n :return:\n<END>", "<BEGIN>\n## `client`", "Ca...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getAppExt API. 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 getAppExt API. 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...
getAppExt(loops=float('inf')) Application extention. This part specifies the amount of loops. If loops is 0 or inf, it goes on infinitely.
"getAppExt(loops=float('inf'))\n\n Application extention. This part specifies the amount of loops.\n If loops is 0 or inf, it goes on infinitely."
61
false
thumbor/thumbor
getAppExt
37,713
LDU_FT/mwshinn/paranoidscientist/requires
LDU_FT
[ "<BEGIN>\n## `accepts`", "A function decorator to specify argument types of the function.", " Types may be specified either in the order that they appear in the\n function or via keyword arguments (just as if you were calling the\n function).", " Example usage:", " | @accepts(Positive0)\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the requires API. 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 requires API. 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...
A function decorator to specify entry conditions for the function. Entry conditions should be a string, which will be evaluated as Python code. Arguments of the function may be accessed by their name. The special syntax "-->" and "<-->" may be used to mean "if" and "if and only if", respectively....
"A function decorator to specify entry conditions for the function.\n\n Entry conditions should be a string, which will be evaluated as\n Python code. Arguments of the function may be accessed by their\n name.\n\n The special syntax \"-->\" and \"<-->\" may be used to mean \"if\" and\n \"if and only if\...
68
false
mwshinn/paranoidscientist
requires
37,714
LDU_FT/Groundworkstech/pybfd/header_big_endian
LDU_FT
[ "<BEGIN>\n## `generate_source_files`", "Genertate source files to be used during the compile process of the\n extension module.\n This is better than just hardcoding the values on python files because\n header definitions might change along differente Binutils versions and\n we'll be a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the header_big_endian API. 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 header_big_endian API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Return the header_big_endian attribute of the BFD file being processed.
"Return the header_big_endian attribute of the BFD file being processed."
96
false
Groundworkstech/pybfd
header_big_endian
37,715
LDU_FT/prthkms/alex/weather
LDU_FT
[ "<BEGIN>\n## `calculate_inverse_document_frequencies`", "Q.calculate_inverse_document_frequencies() -- measures how much\n\t\tinformation the term provides, i.e. whether the term is common or\n\t\trare across all documents.", "\t\tThis is obtained by dividing the total number of documents \n\t\tby the number of...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the weather API. 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 weather API. 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...
weather(query) -- use Name Entity Recogniser (nltk-stanford-ner), to determine location entity in query and fetch weather info for that location (using yahoo apis).
"weather(query) -- use Name Entity Recogniser (nltk-stanford-ner), to \n\tdetermine location entity in query and fetch weather info for that location\n\t(using yahoo apis)."
41
false
prthkms/alex
weather
37,716
LDU_FT/konstantinstadler/pymrio/_add_history
LDU_FT
[ "<BEGIN>\n## `load_all`", "Loads a full IO system with all extension in path", " Parameters\n ----------\n path : pathlib.Path or string\n Path or path with para file name for the data to load.\n This must either point to the directory containing the uncompressed\n data or the loca...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_history API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_history API. 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...
Generic method to add entry as entry_type to the history
"Generic method to add entry as entry_type to the history"
433
false
konstantinstadler/pymrio
_add_history
37,717
LDU_FT/NiklasRosenstein-Python/nr-deprecated/match
LDU_FT
[ "<BEGIN>\n## `skip`", "Must be called from within `__enter__()`. Performs some magic to have a\n #ContextSkipped exception be raised the moment the with context is entered.\n The #ContextSkipped must then be handled in `__exit__()` to suppress the\n propagation of the exception.", " > Important: This functi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API. 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 match API. 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...
Matches the specified *regex* from the current character of the *scanner* and returns the result. The Scanners column and line numbers are updated respectively. # Arguments regex (str, Pattern): The regex to match. flags (int): The flags to use when compiling the pattern.
"Matches the specified *regex* from the current character of the *scanner*\n and returns the result. The Scanners column and line numbers are updated\n respectively.\n\n # Arguments\n regex (str, Pattern): The regex to match.\n flags (int): The flags to use when compiling the pattern."
305
false
NiklasRosenstein-Python/nr-deprecated
match
37,718
LDU_FT/twitterdev/twitter-python-ads-sdk/http_time
LDU_FT
[ "<BEGIN>\n## `content_type`", "Returns the content-type value determined by file extension.\n<END>", "<BEGIN>\n## `__init_chunked_upload`", "Initialization for a multi-chunk upload.\n<END>", "<BEGIN>\n## `__upload_chunk`", "Uploads a single chunk of a multi-chunk upload.\n<END>", "<BEGIN>\n## `save`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the http_time API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the http_time API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Formats a datetime as an RFC 1123 compliant string.
"Formats a datetime as an RFC 1123 compliant string."
74
false
twitterdev/twitter-python-ads-sdk
http_time
37,719
LDU_FT/jashort/SmartFileSorter/do_action
LDU_FT
[ "<BEGIN>\n## `do_action`", ":param target: Full path and filename\n :param dry_run: True - don't actually perform action. False: perform action. No effect for this rule.\n :return: filename: Full path and filename after action completes\n<END>", "<BEGIN>\n## `add_match_rule`", "Adds the given ma...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_action API. 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 do_action API. 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...
:param target: Full path and filename :param dry_run: True - don't actually perform action. False: perform action. No effect for this rule. :return: filename: Full path and filename after action completes
":param target: Full path and filename\n :param dry_run: True - don't actually perform action. False: perform action. No effect for this rule.\n :return: filename: Full path and filename after action completes"
38
false
jashort/SmartFileSorter
do_action
37,720
LDU_FT/rstoneback/pysat/init
LDU_FT
[ "<BEGIN>\n## `list_files`", "Return a Pandas Series of every file for chosen satellite data.", " This routine is intended to be used by pysat instrument modules supporting\n a particular NASA CDAWeb dataset.", " Parameters\n -----------\n tag : (string or NoneType)\n Denotes type of file...
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...
Adds custom calculations to orbit simulation. This routine is run once, and only once, upon instantiation. Adds quasi-dipole coordiantes, velocity calculation in ECEF coords, adds the attitude vectors of spacecraft assuming x is ram pointing and z is generally nadir, adds ionospheric parameters fro...
"Adds custom calculations to orbit simulation.\n This routine is run once, and only once, upon instantiation.\n \n Adds quasi-dipole coordiantes, velocity calculation in ECEF coords,\n adds the attitude vectors of spacecraft assuming x is ram pointing and\n z is generally nadir, adds ionospheric paramete...
525
false
rstoneback/pysat
init
37,721
LDU_FT/tansey/gfl/create_plateaus
LDU_FT
[ "<BEGIN>\n## `solve_gfl`", "A very easy-to-use version of GFL solver that just requires the data and\n the edges.\n<END>", "<BEGIN>\n## `sample_gtf`", "Generate samples from the generalized graph trend filtering distribution via a modified Swendsen-Wang slice sampling algorithm.\n Options for likelihood...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_plateaus API. 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 create_plateaus API. 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...
Creates plateaus of constant value in the data.
"Creates plateaus of constant value in the data."
50
false
tansey/gfl
create_plateaus
37,722
LDU_FT/scivision/histutils/HSTsync
LDU_FT
[ "<BEGIN>\n## `cp_parents`", "This function requires Python >= 3.6.", " This acts like bash cp --parents in Python\n inspiration from\n http://stackoverflow.com/questions/15329223/copy-a-file-into-a-directory-with-its-original-leading-directories-appended", " example\n source: /tmp/e/f\n dest...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the HSTsync API. 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 HSTsync API. 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 now uses UT1 time -- seconds since 1970 Jan 1
"this function now uses UT1 time -- seconds since 1970 Jan 1"
58
false
scivision/histutils
HSTsync
37,723
LDU_FT/biocore/burrito/guess_input_handler
LDU_FT
[ "<BEGIN>\n## `which`", "Equivalent to ``which executable_name`` in a *nix environment.", " Will return ``None`` if ``executable_name`` cannot be found in ``env_var``\n or if ``env_var`` is not set. Otherwise will return the first match in\n ``env_var``.", " Note: this function will likely not work...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the guess_input_handler 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 guess_input_handler 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 the name of the input handler for seqs.
"Returns the name of the input handler for seqs."
43
false
biocore/burrito
guess_input_handler
37,724
LDU_FT/SpikeInterface/spiketoolkit/collect_results
LDU_FT
[ "<BEGIN>\n## `compute_agreement_score`", "Agreement score is used as a criteria to match unit1 and unit2.\n<END>", "<BEGIN>\n## `do_matching`", "This compute the matching between 2 sorters.", " Parameters\n ----------\n sorting1: SortingExtractor instance", " sorting2: SortingExtractor instanc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect_results API. 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 collect_results API. 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...
Collect results in a working_folder. The output is nested dict[rec_name][sorter_name] of SortingExtrator.
"Collect results in a working_folder.\n\n The output is nested dict[rec_name][sorter_name] of SortingExtrator."
83
false
SpikeInterface/spiketoolkit
collect_results
37,725
LDU_FT/Falkonry/falkonry-python-client/delete_assessment
LDU_FT
[ "<BEGIN>\n## `exception_handler`", "Function that takes exception Object(<Byte>,<str>) as a parameter and returns the error message<str>\n<END>", "<BEGIN>\n## `get`", "To make a GET request to Falkonry API server\n :param url: string\n<END>", "<BEGIN>\n## `post`", "To make a POST request to Falkonr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_assessment API. 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 delete_assessment API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
To delete a Assessment :param assessment: string
"To delete a Assessment\n :param assessment: string"
52
false
Falkonry/falkonry-python-client
delete_assessment
37,726
LDU_FT/nakagami/pyfirebirdsql/server_seed
LDU_FT
[ "<BEGIN>\n## `client_seed`", "A: Client public key\n a: Client private key\n<END>", "<BEGIN>\n## `server_seed`", "B: Server public key\n b: Server private key\n<END>", "<BEGIN>\n## `client_session`", "Client session secret\n Both: u = H(A, B)", " User: x = H(s, p) ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the server_seed API. 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 server_seed API. 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...
B: Server public key b: Server private key
"B: Server public key\n b: Server private key"
16
false
nakagami/pyfirebirdsql
server_seed
37,727
LDU_FT/rochacbruno/dynaconf/settings_loader
LDU_FT
[ "<BEGIN>\n## `init_app`", "kwargs holds initial dynaconf configuration\n<END>", "<BEGIN>\n## `get`", "Gets config from dynaconf variables\n if variables does not exists in dynaconf try getting from\n `app.config` to support runtime settings.\n<END>", "<BEGIN>\n## `object_merge`", "Recursivel...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the settings_loader API. 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 settings_loader API. 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...
Loads from defined settings module :param obj: A dynaconf instance :param settings_module: A path or a list of paths e.g settings.toml :param env: Env to look for data defaults: development :param silent: Boolean to raise loading errors :param key: Load a single key if provided :param filename:...
"Loads from defined settings module\n\n :param obj: A dynaconf instance\n :param settings_module: A path or a list of paths e.g settings.toml\n :param env: Env to look for data defaults: development\n :param silent: Boolean to raise loading errors\n :param key: Load a single key if provided\n :param f...
172
false
rochacbruno/dynaconf
settings_loader
37,728
LDU_FT/chaoss/grimoirelab-elk/set_jenkins_rename_file
LDU_FT
[ "<BEGIN>\n## `__related_categories`", "Get all related categories to a given one\n<END>", "<BEGIN>\n## `__show_categories_tree`", "Show the category tree: list of categories and its subcategories\n<END>", "<BEGIN>\n## `fetch_track_items`", "The file format is:", " # Upstream contributions, bitergia w...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_jenkins_rename_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_jenkins_rename_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
File with nodes renaming mapping: Node,Comment arm-build1,remove arm-build2,keep ericsson-build3,merge into ericsson-build1 .... Once set in the next enrichment the rename will be done
"File with nodes renaming mapping:\n\n Node,Comment\n arm-build1,remove\n arm-build2,keep\n ericsson-build3,merge into ericsson-build1\n ....\n\n Once set in the next enrichment the rename will be done"
296
false
chaoss/grimoirelab-elk
set_jenkins_rename_file
37,729
LDU_FT/burnash/gspread/values_get
LDU_FT
[ "<BEGIN>\n## `authorize`", "Login to Google API using OAuth2 credentials.\n This is a shortcut function which\n instantiates :class:`gspread.client.Client`\n and performs login right away.", " :returns: :class:`gspread.Client` instance.\n<END>", "<BEGIN>\n## `batch_update`", "Lower-level method ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the values_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the values_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 extrac...
Lower-level method that directly calls `spreadsheets.values.get <https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/get>`_. :param str range: The `A1 notation <https://developers.google.com/sheets/api/guides/concepts#a1_notation>`_ of the values to retrieve. :param dict para...
"Lower-level method that directly calls `spreadsheets.values.get <https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/get>`_.\n\n :param str range: The `A1 notation <https://developers.google.com/sheets/api/guides/concepts#a1_notation>`_ of the values to retrieve.\n :param dict ...
226
false
burnash/gspread
values_get
37,730
LDU_FT/wilzbach/smarkov/weighted_choice
LDU_FT
[ "<BEGIN>\n## `join_tokens_to_sentences`", "Correctly joins tokens to multiple sentences", " Instead of always placing white-space between the tokens, it will distinguish\n between the next symbol and *not* insert whitespace if it is a sentence\n symbol (e.g. '.', or '?')", " Args:\n tokens:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the weighted_choice API. 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 weighted_choice API. 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...
Randomly choses an item according to defined weights Args: item_probabilities: list of (item, probability)-tuples Returns: random item according to the given weights
"Randomly choses an item according to defined weights\n Args:\n item_probabilities: list of (item, probability)-tuples\n Returns:\n random item according to the given weights"
25
false
wilzbach/smarkov
weighted_choice
37,731
LDU_FT/jbaiter/hidapi-cffi/close
LDU_FT
[ "<BEGIN>\n## `enumerate`", "Enumerate the HID Devices.", " Returns a generator that yields all of the HID devices attached to the\n system.", " :param vendor_id: Only return devices which match this vendor id\n :type vendor_id: int\n :param product_id: Only return devices which match this...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API. 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 close API. 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...
Close connection to HID device. Automatically run when a Device object is garbage-collected, though manual invocation is recommended.
"Close connection to HID device.\n\n Automatically run when a Device object is garbage-collected, though\n manual invocation is recommended."
34
false
jbaiter/hidapi-cffi
close
37,732
LDU_FT/typemytype/booleanOperations/_convertPointsToSegments
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 _convertPointsToSegments 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 _convertPointsToSegments API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Compile points into InputSegment objects.
"Compile points into InputSegment objects."
24
false
typemytype/booleanOperations
_convertPointsToSegments
37,733
LDU_FT/jeffh/sniffer/main
LDU_FT
[ "<BEGIN>\n## `_import`", "A messy way to import library-specific classes.\n TODO: I should really make a factory class or something, but I'm lazy.\n Plus, factories remind me a lot of java...\n<END>", "<BEGIN>\n## `exec_from_dir`", "Runs the scent.py file from the given directory (cwd if None given).", ...
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 program. This is used when you want to run this program standalone. ``sniffer_instance`` A class (usually subclassed of Sniffer) that hooks into the scanner and handles running the test framework. Defaults to Sniffer instance. ``test_args`` This function norma...
"Runs the program. This is used when you want to run this program standalone.\n\n ``sniffer_instance`` A class (usually subclassed of Sniffer) that hooks into the\n scanner and handles running the test framework. Defaults to\n Sniffer instance.\n ``test_args`` This function...
54
false
jeffh/sniffer
main
37,734
LDU_FT/facebook/watchman/_read_bytes
LDU_FT
[ "<BEGIN>\n## `_int_size`", "Return the smallest size int that can store the value\n<END>", "<BEGIN>\n## `loads`", "Deserialize a BSER-encoded blob.", " @param buf: The buffer to deserialize.\n @type buf: bytes", " @param mutable: Whether to return mutable results.\n @type mutable: bool", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_bytes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_bytes API. 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...
Read bytes from a file-like object @param fp: File-like object that implements read(int) @type fp: file @param buf: Buffer to read into @type buf: bytes @return: buf
"Read bytes from a file-like object\n\n @param fp: File-like object that implements read(int)\n @type fp: file\n\n @param buf: Buffer to read into\n @type buf: bytes\n\n @return: buf"
93
false
facebook/watchman
_read_bytes
37,735
LDU_FT/oanda/v20-python/from_dict
LDU_FT
[ "<BEGIN>\n## `from_dict`", "Instantiate a new Trade from a dict (generally from loading a JSON\n response). The data used to instantiate the Trade is a shallow copy of\n the dict passed in, with any complex child types instantiated\n appropriately.\n<END>", "<BEGIN>\n## `from_dict`", "Ins...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Instantiate a new UnitsAvailableDetails from a dict (generally from loading a JSON response). The data used to instantiate the UnitsAvailableDetails is a shallow copy of the dict passed in, with any complex child types instantiated appropriately.
"Instantiate a new UnitsAvailableDetails from a dict (generally from\n loading a JSON response). The data used to instantiate the\n UnitsAvailableDetails is a shallow copy of the dict passed in, with any\n complex child types instantiated appropriately."
225
false
oanda/v20-python
from_dict
37,736
LDU_FT/adamrehn/ue4cli/getEditorBinary
LDU_FT
[ "<BEGIN>\n## `findArgs`", "Extracts the list of arguments that start with any of the specified prefix values\n<END>", "<BEGIN>\n## `stripArgs`", "Removes any arguments in the supplied list that are contained in the specified blacklist\n<END>", "<BEGIN>\n## `capture`", "Executes a child process and capture...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getEditorBinary API. 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 getEditorBinary API. 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...
Determines the location of the UE4Editor binary
"Determines the location of the UE4Editor binary"
120
false
adamrehn/ue4cli
getEditorBinary
37,737
LDU_FT/a1ezzz/wasp-general/add_specification
LDU_FT
[ "<BEGIN>\n## `connect`", ":meth:`.WNetworkClientProto.connect` method implementation\n<END>", "<BEGIN>\n## `scheme_specification`", ":meth:`.WSchemeHandler.scheme_specification` method implementation\n<END>", "<BEGIN>\n## `upload_file`", ":meth:`.WNetworkClientProto.upload_file` method implementation\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_specification API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_specification API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Add a new query parameter specification. If this object already has a specification for the specified parameter - exception is raised. No checks for the specified or any parameter are made regarding specification appending :param specification: new specification that will be added :return: None
"Add a new query parameter specification. If this object already has a specification for the\n\t\tspecified parameter - exception is raised. No checks for the specified or any parameter are made\n\t\tregarding specification appending\n\n\t\t:param specification: new specification that will be added\n\t\t:return: None"
917
false
a1ezzz/wasp-general
add_specification
37,738
LDU_FT/Vital-Fernandez/dazer/setzscale
LDU_FT
[ "<BEGIN>\n## `linfit`", "Least squares linear fit.", " Fit a straight line `f(x_true) = a + bx` to points `(x_true, y)`. Returns\n coefficients `a` and `b` that minimize the squared error.", " Parameters\n ----------\n x_true : array_like\n one dimensional array of `x_true` data with `n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setzscale API. 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 setzscale API. 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...
We set z1 and z2, according to different algorithms or arguments. For both z1 and z2, give either : - "auto" (default automatic, different between z1 and z2) - "ex" (extrema) - "flat" ("sigma-cuts" around median value, well-suited for flatfields) ...
"We set z1 and z2, according to different algorithms or arguments.\n \n For both z1 and z2, give either :\n \n - \"auto\" (default automatic, different between z1 and z2)\n - \"ex\" (extrema)\n - \"flat\" (\"sigma-cuts\" around median value, well-suited for flatfiel...
228
false
Vital-Fernandez/dazer
setzscale
37,739
LDU_FT/zarr-developers/zarr/_chunk_setitem
LDU_FT
[ "<BEGIN>\n## `group`", "Create a group.", " Parameters\n ----------\n store : MutableMapping or string, optional\n Store or path to directory in file system.\n overwrite : bool, optional\n If True, delete any pre-existing data in `store` at `path` before\n creating the group.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _chunk_setitem API. 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 _chunk_setitem API. 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...
Replace part or whole of a chunk. Parameters ---------- chunk_coords : tuple of ints Indices of the chunk. chunk_selection : tuple of slices Location of region within the chunk. value : scalar or ndarray Value to set.
"Replace part or whole of a chunk.\n\n Parameters\n ----------\n chunk_coords : tuple of ints\n Indices of the chunk.\n chunk_selection : tuple of slices\n Location of region within the chunk.\n value : scalar or ndarray\n Value to set."
436
false
zarr-developers/zarr
_chunk_setitem
37,740
LDU_FT/pyopenapi/pyswagger/_validate
LDU_FT
[ "<BEGIN>\n## `swagger`", "some preparation before returning Swagger object\n<END>", "<BEGIN>\n## `apply_with`", "constructor", " :param str v: accept six.string_types, six.binary_type\n<END>", "<BEGIN>\n## `scope_compose`", "compose a new scope", " :param str scope: current scope\n :param...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
check if this Swagger API valid or not. :param bool strict: when in strict mode, exception would be raised if not valid. :return: validation errors :rtype: list of tuple(where, type, msg).
"check if this Swagger API valid or not.\n\n :param bool strict: when in strict mode, exception would be raised if not valid.\n :return: validation errors\n :rtype: list of tuple(where, type, msg)."
162
false
pyopenapi/pyswagger
_validate
37,741
LDU_FT/kdeldycke/chessboard/horizontals
LDU_FT
[ "<BEGIN>\n## `increment`", "Increment the last permutation we returned to the next.\n<END>", "<BEGIN>\n## `skip_branch`", "Abandon the branch at the provided level and skip to the next.", " When we call out to skip to the next branch of the search space, we\n push sublevel pieces to the maximu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the horizontals API. 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 horizontals API. 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...
All horizontal squares from the piece's point of view. Returns a list of relative movements up to the board's bound.
"All horizontal squares from the piece's point of view.\n\n Returns a list of relative movements up to the board's bound."
53
false
kdeldycke/chessboard
horizontals
37,742
LDU_FT/MIT-LCP/wfdb-python/_rd_dat_file
LDU_FT
[ "<BEGIN>\n## `find_peaks`", "Find hard peaks and soft peaks in a signal, defined as follows:", " - Hard peak: a peak that is either /\\ or \\/\n - Soft peak: a peak that is either /-*\\ or \\-*/\n In this case we define the middle as the peak", " Parameters\n ----------\n sig : np array\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _rd_dat_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _rd_dat_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Read data from a dat file, either local or remote, into a 1d numpy array. This is the lowest level dat reading function (along with `_stream_dat` which this function may call), and is called by `_rd_dat_signals`. Parameters ---------- start_byte : int The starting byte number to re...
"Read data from a dat file, either local or remote, into a 1d numpy\n array.\n\n This is the lowest level dat reading function (along with\n `_stream_dat` which this function may call), and is called by\n `_rd_dat_signals`.\n\n Parameters\n ----------\n start_byte : int\n The starting byte n...
538
false
MIT-LCP/wfdb-python
_rd_dat_file
37,743
LDU_FT/jacobtomlinson/datapoint-python/now
LDU_FT
[ "<BEGIN>\n## `connection`", "Connect to DataPoint with the given API key profile name.\n<END>", "<BEGIN>\n## `elements`", "Return a list of the elements which are not None\n<END>", "<BEGIN>\n## `__retry_session`", "Retry the connection using requests if it fails. Use this as a wrapper\n to request ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the now API. 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 now API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Function to return just the current timestep from this forecast
"Function to return just the current timestep from this forecast"
39
false
jacobtomlinson/datapoint-python
now
37,744
LDU_FT/Basic-Components/msgpack-rpc-protocol/register_function
LDU_FT
[ "<BEGIN>\n## `add_status_code`", "用于将mprpc的标准异常注册到`_mprpc_exceptions`的装饰器.", " Parameters:\n code (int): - 标准状态码\n Return:\n (Callable): - 装饰函数\n<END>", "<BEGIN>\n## `abort`", "根据状态码创建一个异常.", " Parameters:\n status_code (int): - 错误的状态码\n ID (str): - 任务的ID号,通常是一个uuid,默认...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_function API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_function API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
注册函数. Parameters: name (Optional[str]): - 将函数注册到的名字,如果为None,name就用其原来的名字
"注册函数.\n\n Parameters:\n name (Optional[str]): - 将函数注册到的名字,如果为None,name就用其原来的名字"
202
false
Basic-Components/msgpack-rpc-protocol
register_function
37,745
LDU_FT/jgm/pandocfilters/applyJSONFilters
LDU_FT
[ "<BEGIN>\n## `get_filename4code`", "Generate filename based on content", " The function ensures that the (temporary) directory exists, so that the\n file can be written.", " Example:\n filename = get_filename4code(\"myfilter\", code)\n<END>", "<BEGIN>\n## `get_caption`", "get caption from ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the applyJSONFilters API. 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 applyJSONFilters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Walk through JSON structure and apply filters This: * reads a JSON-formatted pandoc document from a source string * transforms it by walking the tree and performing the actions * returns a new JSON-formatted pandoc document as a string The `actions` argument is a list of functions (see `walk` ...
"Walk through JSON structure and apply filters\n\n This:\n\n * reads a JSON-formatted pandoc document from a source string\n * transforms it by walking the tree and performing the actions\n * returns a new JSON-formatted pandoc document as a string\n\n The `actions` argument is a list of functions (see `...
30
false
jgm/pandocfilters
applyJSONFilters
37,746
LDU_FT/RobinNil/file_read_backwards/yieldable
LDU_FT
[ "<BEGIN>\n## `_get_next_chunk`", "Return next chunk of data that we would from the file pointer.", " Args:\n fp: file-like object\n previously_read_position: file pointer position that we have read from\n chunk_size: desired read chunk_size", " Returns:\n (bytestring, int): d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the yieldable API. 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 yieldable API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Return True if there is a line that the buffer can return, False otherwise.
"Return True if there is a line that the buffer can return, False otherwise."
32
false
RobinNil/file_read_backwards
yieldable
37,747
LDU_FT/tonioo/sievelib/__parse_error
LDU_FT
[ "<BEGIN>\n## `authentication_required`", "Simple class method decorator.", " Checks if the client is currently connected.", " :param meth: the original called method\n<END>", "<BEGIN>\n## `__read_block`", "Read a block of 'size' bytes from the server.", " An internal buffer is used to read ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __parse_error API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __parse_error API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Parse an error received from the server. if text corresponds to a size indication, we grab the remaining content from the server. Otherwise, we try to match an error of the form \(\w+\)?\s*".+" On succes, the two public members errcode and errmsg are filled with the parsing re...
"Parse an error received from the server.\n\n if text corresponds to a size indication, we grab the\n remaining content from the server.\n\n Otherwise, we try to match an error of the form \\(\\w+\\)?\\s*\".+\"\n\n On succes, the two public members errcode and errmsg are\n filled with...
191
false
tonioo/sievelib
__parse_error
37,748
LDU_FT/xflr6/bitsets/inatoms
LDU_FT
[ "<BEGIN>\n## `chunkreverse`", "Yield integers of dtype bit-length reverting their bit-order.", " >>> list(chunkreverse([0b10000000, 0b11000000, 0b00000001], 'B'))\n [1, 3, 128]", " >>> list(chunkreverse([0x8000, 0xC000, 0x0001], 'H'))\n [1, 3, 32768]\n<END>", "<BEGIN>\n## `pack`", "Return inte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inatoms API. 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 inatoms API. 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...
Yield the singleton for every non-member.
"Yield the singleton for every non-member."
66
false
xflr6/bitsets
inatoms
37,749
LDU_FT/django-getpaid/django-getpaid/online
LDU_FT
[ "<BEGIN>\n## `new_payment_query_listener`", "Here we fill only two obligatory fields of payment, and leave signal handler\n<END>", "<BEGIN>\n## `payment_status_changed_listener`", "Here we will actually do something, when payment is accepted.\n E.g. lets change an order status.\n<END>", "<BEGIN>\n## `reg...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the online API. 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 online API. 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 ...
Receive and analyze request from payment service with information on payment status change.
"Receive and analyze request from payment service with information on payment status change."
20
false
django-getpaid/django-getpaid
online
37,750
LDU_FT/nkavaldj/myhdl_lib/convert_ram_sp_ar
LDU_FT
[ "<BEGIN>\n## `convert_ram_sp_ar`", "Convert RAM: Single-Port, Asynchronous Read\n<END>", "<BEGIN>\n## `convert_ram_sdp_rf`", "Convert RAM: Simple-Dual-Port, Read-First\n<END>", "<BEGIN>\n## `convert_ram_sdp_wf`", "Convert RAM: Simple-Dual-Port, Write-First\n<END>", "<BEGIN>\n## `convert_ram_sdp_ar`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_ram_sp_ar API. 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 convert_ram_sp_ar API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Convert RAM: Single-Port, Asynchronous Read
"Convert RAM: Single-Port, Asynchronous Read"
111
false
nkavaldj/myhdl_lib
convert_ram_sp_ar
37,751
LDU_FT/fabric/fabric/load_ssh_config
LDU_FT
[ "<BEGIN>\n## `get`", "Download a file from the current connection to the local filesystem.", " :param str remote:\n Remote file to download.", " May be absolute, or relative to the remote working directory.", " .. note::\n Most SFTP servers set the remo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_ssh_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 e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_ssh_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 e...
Load SSH config file(s) from disk. Also (beforehand) ensures that Invoke-level config re: runtime SSH config file paths, is accounted for. .. versionadded:: 2.0
"Load SSH config file(s) from disk.\n\n Also (beforehand) ensures that Invoke-level config re: runtime SSH\n config file paths, is accounted for.\n\n .. versionadded:: 2.0"
113
false
fabric/fabric
load_ssh_config
37,752
LDU_FT/materialsproject/custodian/apply_actions
LDU_FT
[ "<BEGIN>\n## `from_spec`", "Load a Custodian instance where the jobs are specified from a\n structure and a spec dict. This allows simple\n custom job sequences to be constructed quickly via a YAML file.", " Args:\n spec (dict): A dict specifying job. A sample of the dict in\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_actions API. 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 apply_actions API. 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...
Applies a list of actions to the FEFF Input Set and rewrites modified files. Args: actions [dict]: A list of actions of the form {'file': filename, 'action': moddermodification} or {'dict': feffinput_key, 'action': moddermodification}
"Applies a list of actions to the FEFF Input Set and rewrites modified\n files.\n\n Args:\n actions [dict]: A list of actions of the form {'file': filename,\n 'action': moddermodification} or {'dict': feffinput_key,\n 'action': moddermodification}"
90
false
materialsproject/custodian
apply_actions
37,753
LDU_FT/NaturalHistoryMuseum/pylibdmtx/_decoder
LDU_FT
[ "<BEGIN>\n## `load_libdmtx`", "Loads the libdmtx shared library.", " Populates the globals LIBDMTX and EXTERNAL_DEPENDENCIES.\n<END>", "<BEGIN>\n## `libdmtx_function`", "Returns a foreign function exported by `libdmtx`.", " Args:\n fname (:obj:`str`): Name of the exported function as string.\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decoder API. 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 _decoder API. 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...
A context manager for `DmtxDecode`, created and destroyed by `dmtxDecodeCreate` and `dmtxDecodeDestroy`. Args: image (POINTER(DmtxImage)): shrink (int): Yields: POINTER(DmtxDecode): The created decoder Raises: PyLibDMTXError: If the decoder could not be created.
"A context manager for `DmtxDecode`, created and destroyed by\n `dmtxDecodeCreate` and `dmtxDecodeDestroy`.\n\n Args:\n image (POINTER(DmtxImage)):\n shrink (int):\n\n Yields:\n POINTER(DmtxDecode): The created decoder\n\n Raises:\n PyLibDMTXError: If the decoder could not be cre...
42
false
NaturalHistoryMuseum/pylibdmtx
_decoder
37,754
LDU_FT/devision-io/metasdk/update
LDU_FT
[ "<BEGIN>\n## `get_feed`", "Получение настроек для фида\n :param datasource_id: идентификатор фида\n :return: FeedDataSource\n<END>", "<BEGIN>\n## `get_data`", "Сохранение медиафайла\n :param task:\n :param media_metadata:\n :param file_suffix:\n :param callback:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Запросы на INSERT, UPDATE, DELETE и пр. не возвращающие результата должны выполняться через этот метод Исключение такие запросы с RETURNING для PostgreSQL :param command: SQL запрос :param params: Параметры для prepared statements :rtype: object DataResult
"Запросы на INSERT, UPDATE, DELETE и пр. не возвращающие результата должны выполняться через этот метод\n Исключение такие запросы с RETURNING для PostgreSQL\n\n :param command: SQL запрос\n :param params: Параметры для prepared statements\n :rtype: object DataResult"
88
false
devision-io/metasdk
update
37,755
LDU_FT/selik/xport/header_match
LDU_FT
[ "<BEGIN>\n## `ibm_to_ieee`", "Translate IBM-format floating point numbers (as bytes) to IEEE 754\n 64-bit floating point format (as Python float).\n<END>", "<BEGIN>\n## `ieee_to_ibm`", "Translate Python floating point numbers to IBM-format (as bytes).\n<END>", "<BEGIN>\n## `dumps`", "Serialize ``column...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the header_match API. 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 header_match API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Parse the 4-line (320-byte) library member header.
"Parse the 4-line (320-byte) library member header."
16
false
selik/xport
header_match
37,756
LDU_FT/inveniosoftware/invenio-files-rest/delete_object
LDU_FT
[ "<BEGIN>\n## `send_stream`", "Send the contents of a file to the client.", " .. warning::", " It is very easy to be exposed to Cross-Site Scripting (XSS) attacks if\n you serve user uploaded files. Here are some recommendations:", " 1. Serve user uploaded files from a separate do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_object API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_object API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Delete an existing object. :param bucket: The bucket (instance or id) to get the object from. :param obj: A :class:`invenio_files_rest.models.ObjectVersion` instance. :param version_id: The version ID. :returns: A Flask response.
"Delete an existing object.\n\n :param bucket: The bucket (instance or id) to get the object from.\n :param obj: A :class:`invenio_files_rest.models.ObjectVersion`\n instance.\n :param version_id: The version ID.\n :returns: A Flask response."
272
false
inveniosoftware/invenio-files-rest
delete_object
37,757
LDU_FT/DEIB-GECO/PyGMQL/trace_job
LDU_FT
[ "<BEGIN>\n## `preprocess_path`", "Given a dataset path, the following structure is to be expected:\n - path/\n - files/\n - S_00000.gdm\n - S_00000.gdm.meta\n - S_00001.gdm\n - S_00001.gdm.meta\n - ...\n - ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trace_job API. 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 trace_job API. 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...
Get information about the specified remote job :param jobId: the job identifier :return: a dictionary with the information
"Get information about the specified remote job\n\n :param jobId: the job identifier\n :return: a dictionary with the information"
422
false
DEIB-GECO/PyGMQL
trace_job
37,758
LDU_FT/edx/edx-celeryutils/_cleanup
LDU_FT
[ "<BEGIN>\n## `mark_resolved`", "Mark the specified task as resolved in the FailedTask table.", " If more than one record exists with the specified task id, they will all be\n marked resolved.\n<END>", "<BEGIN>\n## `_truncate_to_field`", "Shorten data to fit in the specified model field.", " If th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _cleanup API. 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 _cleanup API. 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...
u""" Clean up expired records. Will remove all entries for any ChordData whose callback result is in state <status> that was marked completed more than (self.expires * <expires_multipler>) ago.
"u\"\"\"\n Clean up expired records.\n\n Will remove all entries for any ChordData whose callback result is in\n state <status> that was marked completed more than\n (self.expires * <expires_multipler>) ago."
33
false
edx/edx-celeryutils
_cleanup
37,759
LDU_FT/akaszynski/pymeshfix/write
LDU_FT
[ "<BEGIN>\n## `with_vtk`", "Tests VTK interface and mesh repair of Stanford Bunny Mesh\n<END>", "<BEGIN>\n## `load_arrays`", "Loads triangular mesh from vertex and face numpy arrays.", " Both vertex and face arrays should be 2D arrays with each\n vertex containing XYZ data and each face contain...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Writes a surface mesh to disk. Written file may be an ASCII or binary ply, stl, or vtk mesh file. Parameters ---------- filename : str Filename of mesh to be written. Filetype is inferred from the extension of the filename unless overridden with ...
"Writes a surface mesh to disk.\n\n Written file may be an ASCII or binary ply, stl, or vtk mesh\n file.\n\n Parameters\n ----------\n filename : str\n Filename of mesh to be written. Filetype is inferred from\n the extension of the filename unless overridden wi...
22
false
akaszynski/pymeshfix
write
37,760
LDU_FT/F5Networks/f5-common-python/_check_type
LDU_FT
[ "<BEGIN>\n## `update`", "Update the object, removing device group if inherited", " If inheritedDevicegroup is the string \"true\" we need to remove\n deviceGroup from the args before we update or we get the\n following error:", " The floating traffic-group: /Common/traffic-group-1 ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_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 _check_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...
Check that the device group type is correct. :raises: DeviceGroupOperationNotSupported, DeviceGroupNotSupported
"Check that the device group type is correct.\n\n :raises: DeviceGroupOperationNotSupported, DeviceGroupNotSupported"
559
false
F5Networks/f5-common-python
_check_type
37,761
LDU_FT/dls-controls/pymalcolm/send_put
LDU_FT
[ "<BEGIN>\n## `camel_to_title`", "Takes a camelCaseFieldName and returns an Title Case Field Name", " Args:\n name (str): E.g. camelCaseFieldName", " Returns:\n str: Title Case converted name. E.g. Camel Case Field Name\n<END>", "<BEGIN>\n## `snake_to_camel`", "Takes a snake_field_name ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_put API. 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 send_put API. 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...
Abstract method to dispatch a Put to the server Args: mri (str): The mri of the Block attribute_name (str): The name of the Attribute within the Block value: The value to put
"Abstract method to dispatch a Put to the server\n\n Args:\n mri (str): The mri of the Block\n attribute_name (str): The name of the Attribute within the Block\n value: The value to put"
332
false
dls-controls/pymalcolm
send_put
37,762
LDU_FT/edx/opaque-keys/_to_deprecated_string
LDU_FT
[ "<BEGIN>\n## `parse_url`", "If it can be parsed as a version_guid with no preceding org + offering, returns a dict\n with key 'version_guid' and the value,", " If it can be parsed as a org + offering, returns a dict\n with key 'id' and optional keys 'branch' and 'version_guid'.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_deprecated_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_deprecated_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Returns an old-style location, represented as: i4x://org/course/category/name[@revision] # Revision is optional
"Returns an old-style location, represented as:\n i4x://org/course/category/name[@revision] # Revision is optional"
127
false
edx/opaque-keys
_to_deprecated_string
37,763
LDU_FT/davgeo/clear/_GetDatabaseConfig
LDU_FT
[ "<BEGIN>\n## `_SetGuide`", "Select guide corresponding to guideName", " Parameters\n ----------\n guideName : string\n Name of guide to use.", " Note\n ----------\n Supported guide names are: EPGUIDES\n<END>", "<BEGIN>\n## `_GetUniqueFileShowNames`", "Return a list containing al...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _GetDatabaseConfig 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 _GetDatabaseConfig 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...
Get all configuration from database. This includes values from the Config table as well as populating lists for supported formats and ignored directories from their respective database tables.
"Get all configuration from database.\n\n This includes values from the Config table as well as populating lists\n for supported formats and ignored directories from their respective\n database tables."
298
false
davgeo/clear
_GetDatabaseConfig
37,764
LDU_FT/nitmir/django-cas-server/get
LDU_FT
[ "<BEGIN>\n## `clean_deleted_sessions`", "remove old :class:`FederateSLO` object for which the session do not exists anymore\n<END>", "<BEGIN>\n## `send_mails`", "For each new django-cas-server version, if the current instance is not up to date\n send one mail to ``settings.ADMINS``.\n<END>", "<BE...
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...
method called on GET request on this view :param django.http.HttpRequest request: The current request object
"method called on GET request on this view\n\n :param django.http.HttpRequest request: The current request object"
182
false
nitmir/django-cas-server
get
37,765
LDU_FT/wilfilho/BingTranslator/translate
LDU_FT
[ "<BEGIN>\n## `_get_token`", "Get token for make request. The The data obtained herein are used \r\n in the variable header.\r", " Returns:\r\n To perform the request, receive in return a dictionary\r\n with several keys. With this method only return the token\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the translate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the translate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
This method takes as a parameter the desired text to be translated and the language to which should be translated. To find the code for each language just go to the library home page. The parameter ::from_lang:: is optional because the api microsoft recognizes the l...
"This method takes as a parameter the desired text to be translated\r\n and the language to which should be translated. To find the code \r\n for each language just go to the library home page.\r\n The parameter ::from_lang:: is optional because the api microsoft \r\n recogni...
25
false
wilfilho/BingTranslator
translate
37,766
LDU_FT/amelchio/pysonos/mute
LDU_FT
[ "<BEGIN>\n## `iter_actions`", "Yield the service's actions with their arguments.", " Yields:\n `Action`: the next action.", " Each action is an Action namedtuple, consisting of action_name\n (a string), in_args (a list of Argument namedtuples consisting of name\n and arg...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mute API. 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 mute API. 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...
bool: The speaker's mute state. True if muted, False otherwise.
"bool: The speaker's mute state.\n\n True if muted, False otherwise."
60
false
amelchio/pysonos
mute
37,767
LDU_FT/xoolive/traffic/number
LDU_FT
[ "<BEGIN>\n## `closest_point_of_approach`", "Computes a CPA dataframe for all pairs of trajectories candidates for\n being separated by less than lateral_separation in vertical_separation.", " In order to be computed efficiently, the method needs the following\n parameters:", " - projection: a firs...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the number API. 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 number API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Returns the unique number value(s) of the DataFrame.
"Returns the unique number value(s) of the DataFrame."
147
false
xoolive/traffic
number
37,768
LDU_FT/openid/JWTConnect-Python-OidcMsg/to_urlencoded
LDU_FT
[ "<BEGIN>\n## `make_openid_request`", "Construct the JWT to be passed by value (the request parameter) or by\n reference (request_uri).\n The request will be signed", " :param arq: The Authorization request\n :param keys: Keys to use for signing/encrypting. A KeyJar instance\n :param issuer: Who i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_urlencoded API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_urlencoded API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Creates a string using the application/x-www-form-urlencoded format :return: A string of the application/x-www-form-urlencoded format
"Creates a string using the application/x-www-form-urlencoded format\n\n :return: A string of the application/x-www-form-urlencoded format"
75
false
openid/JWTConnect-Python-OidcMsg
to_urlencoded
37,769
LDU_FT/rflamary/POT/transform
LDU_FT
[ "<BEGIN>\n## `plot1D_mat`", "Plot matrix M with the source and target 1D distribution", " Creates a subplot with the source distribution a on the left and\n target distribution b on the tot. The matrix M is shown in between.", " Parameters\n ----------\n a : np.array, shape (na,)\n Sour...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Transports source samples Xs onto target ones Xt Parameters ---------- Xs : array-like, shape (n_source_samples, n_features) The training input samples. ys : array-like, shape (n_source_samples,) The class labels Xt : array-like, shape (n_target_samples, ...
"Transports source samples Xs onto target ones Xt\n\n Parameters\n ----------\n Xs : array-like, shape (n_source_samples, n_features)\n The training input samples.\n ys : array-like, shape (n_source_samples,)\n The class labels\n Xt : array-like, shape (n_target_...
711
false
rflamary/POT
transform
37,770
LDU_FT/sidecars/python-quickbooks/reconnect_account
LDU_FT
[ "<BEGIN>\n## `get_authorize_url`", "Returns the Authorize URL as returned by QB, and specified by OAuth 1.0a.\n :return URI:\n<END>", "<BEGIN>\n## `get_access_tokens`", "Wrapper around get_auth_session, returns session, and sets access_token and\n access_token_secret on the QB Object.\n :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reconnect_account API. 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 reconnect_account API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Reconnect current account by refreshing OAuth access tokens :return:
"Reconnect current account by refreshing OAuth access tokens\n :return:"
26
false
sidecars/python-quickbooks
reconnect_account
37,771
LDU_FT/Jaymon/pout/v
LDU_FT
[ "<BEGIN>\n## `inject`", "inject code into sitecustomize.py that will inject pout into the builtins\n so it will be available globally\n<END>", "<BEGIN>\n## `is_complete`", "Return True if this call string is complete, meaning it has a function\n name and balanced parens\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the v API. 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 docum...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the v API. 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 docum...
print the name = values of any passed in variables this prints out the passed in name, the value, and the file:line where the v() method was called so you can easily find it and remove it later example -- foo = 1 bar = [1, 2, 3] out.v(foo, bar) """ prints out: foo ...
"print the name = values of any passed in variables\n\n this prints out the passed in name, the value, and the file:line where the v()\n method was called so you can easily find it and remove it later\n\n example -- \n foo = 1\n bar = [1, 2, 3]\n out.v(foo, bar)\n \"\"\" prints out:...
153
false
Jaymon/pout
v
37,772