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/Netflix-Skunkworks/swag-client/get_by_name
LDU_FT
[ "<BEGIN>\n## `create_swag_from_ctx`", "Creates SWAG client from the current context.\n<END>", "<BEGIN>\n## `list_service`", "Retrieve accounts pertaining to named service.\n<END>", "<BEGIN>\n## `migrate`", "Transition from one SWAG schema to another.\n<END>", "<BEGIN>\n## `propagate`", "Transfers SWAG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_by_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_by_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Given an account name, attempts to retrieve associated account info.
"Given an account name, attempts to retrieve associated account info."
48
false
Netflix-Skunkworks/swag-client
get_by_name
12,473
LDU_FT/markfinger/assembla/tickets
LDU_FT
[ "<BEGIN>\n## `_get_json`", "Base level method for fetching data from the API\n<END>", "<BEGIN>\n## `_post_json`", "Base level method for updating data via the API\n<END>", "<BEGIN>\n## `_put_json`", "Base level method for adding new data to the API\n<END>", "<BEGIN>\n## `_delete_json`", "Base level me...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tickets API. 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 tickets API. 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...
All Tickets which are a part of this Milestone
"All Tickets which are a part of this Milestone"
25
false
markfinger/assembla
tickets
12,474
LDU_FT/rorr73/LifeSOSpy/async_get_event_log
LDU_FT
[ "<BEGIN>\n## `has_value`", "True if specified value exists in int enum; otherwise, False.\n<END>", "<BEGIN>\n## `parse_name`", "Parse specified name for IntEnum; return default if not found.\n<END>", "<BEGIN>\n## `parse_value`", "Parse specified value for IntEnum; return default if not found.\n<END>", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the async_get_event_log 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 async_get_event_log 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...
Get an entry from the event log. :param index: Index for the event log entry to be obtained. :return: Response containing the event log entry, or None if not found.
"Get an entry from the event log.\n\n :param index: Index for the event log entry to be obtained.\n :return: Response containing the event log entry, or None if not found."
84
false
rorr73/LifeSOSpy
async_get_event_log
12,475
LDU_FT/nutechsoftware/alarmdecoder/_update_chime_status
LDU_FT
[ "<BEGIN>\n## `main`", "Example application that watches for an event from a specific RF device.", " This feature allows you to watch for events from RF devices if you have\n an RF receiver. This is useful in the case of internal sensors, which\n don't emit a FAULT if the sensor is tripped and the pane...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_chime_status API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_chime_status API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Uses the provided message to update the Chime state. :param message: message to use to update :type message: :py:class:`~alarmdecoder.messages.Message` :param status: chime status, overrides message bits. :type status: bool :returns: bool indicating the new status
"Uses the provided message to update the Chime state.\n\n :param message: message to use to update\n :type message: :py:class:`~alarmdecoder.messages.Message`\n :param status: chime status, overrides message bits.\n :type status: bool\n\n :returns: bool indicating the new status"
286
false
nutechsoftware/alarmdecoder
_update_chime_status
12,476
LDU_FT/phn/angles/cross
LDU_FT
[ "<BEGIN>\n## `normalize`", "Normalize number to range [lower, upper) or [lower, upper].", " Parameters\n ----------\n num : float\n The number to be normalized.\n lower : int\n Lower limit of range. Default is 0.\n upper : int\n Upper limit of range. Default is 360.\n b : ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cross API. 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 cross API. 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...
Cross product of two vectors. Parameters ---------- v : CartesianVector The vector to take cross product with. Returns ------- v : CartesianVector Cross product of this vector and the given vector.
"Cross product of two vectors.\n\n Parameters\n ----------\n v : CartesianVector\n The vector to take cross product with.\n\n Returns\n -------\n v : CartesianVector\n Cross product of this vector and the given vector."
120
false
phn/angles
cross
12,477
LDU_FT/azavea/python-sld/create_cssparameter
LDU_FT
[ "<BEGIN>\n## `makeproperty`", "Make a property on an instance of an SLDNode. If cls is omitted, the\n property is assumed to be a text node, with no corresponding class\n object. If name is omitted, the property is assumed to be a complex\n node, with a corresponding class wrapper.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_cssparameter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_cssparameter 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...
Create a new L{CssParameter} node as a child of this element, and attach it to the DOM. Optionally set the name and value of the parameter, if they are both provided. @type name: string @param name: Optional. The name of the L{CssParameter} @type value: string @param value: ...
"Create a new L{CssParameter} node as a child of this element, and attach it to the DOM.\n Optionally set the name and value of the parameter, if they are both provided.\n\n @type name: string\n @param name: Optional. The name of the L{CssParameter}\n @type value: string\n @param ...
29
false
azavea/python-sld
create_cssparameter
12,478
LDU_FT/rameshg87/pyremotevbox/setAttributes
LDU_FT
[ "<BEGIN>\n## `_check_typecode_list`", "Check a list of typecodes for compliance with Struct\n requirements.\n<END>", "<BEGIN>\n## `_get_type_or_substitute`", "return typecode or substitute type for wildcard or\n derived type. For serialization only.\n<END>", "<BEGIN>\n## `setDerivedTypeContents`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setAttributes API. 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 setAttributes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Sets up attribute dictionary, checks for required attributes and sets default attribute values. attr is for default attribute values determined at runtime. structure of attributes dictionary ['xmlns'][xmlns_key] -- xmlns namespace ['xmlns'][p...
"Sets up attribute dictionary, checks for required attributes and \n sets default attribute values. attr is for default attribute values \n determined at runtime.\n \n structure of attributes dictionary\n ['xmlns'][xmlns_key] -- xmlns namespace\n ['xm...
529
false
rameshg87/pyremotevbox
setAttributes
12,479
LDU_FT/ColtonProvias/sqlalchemy-jsonapi/get_collection
LDU_FT
[ "<BEGIN>\n## `user_error`", "Create and return a general user error response that is jsonapi compliant.", " Required args:\n status_code: The HTTP status code associated with the problem.\n title: A short summary of the problem.\n detail: An explanation specific to the occurence of the p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_collection API. 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_collection API. 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...
Fetch a collection of resources of a specified type. :param session: SQLAlchemy session :param query: Dict of query args :param api_type: The type of the model
"Fetch a collection of resources of a specified type.\n\n :param session: SQLAlchemy session\n :param query: Dict of query args\n :param api_type: The type of the model"
95
false
ColtonProvias/sqlalchemy-jsonapi
get_collection
12,480
LDU_FT/instaloader/instaloader/from_shortcode
LDU_FT
[ "<BEGIN>\n## `save_structure_to_file`", "Saves a :class:`Post`, :class:`Profile` or :class:`StoryItem` to a '.json' or '.json.xz' file such that it can\n later be loaded by :func:`load_structure_from_file`.", " If the specified filename ends in '.xz', the file will be LZMA compressed. Otherwise, a pretty-...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_shortcode API. 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 from_shortcode API. 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...
Create a post object from a given shortcode
"Create a post object from a given shortcode"
227
false
instaloader/instaloader
from_shortcode
12,481
LDU_FT/HewlettPackard/python-hpOneView/retrieve_differences
LDU_FT
[ "<BEGIN>\n## `get_visual_content`", "Gets a list of visual content objects describing each rack within the data center. The response aggregates data\n center and rack data with a specified metric (peak24HourTemp) to provide simplified access to display data for\n the data center.", " Args:\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the retrieve_differences 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 retrieve_differences API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Retrieves the modified contents of the selected Plan Script according to the provided content object, as per the selected attributes. Args: id_or_uri: ID or URI of the Plan Script. content (str): Plan Script content. timeout: Timeout in seconds. Waits...
"Retrieves the modified contents of the selected Plan Script according to the provided content object, as per\n the selected attributes.\n\n Args:\n id_or_uri: ID or URI of the Plan Script.\n content (str): Plan Script content.\n timeout:\n Timeout in second...
1,297
true
HewlettPackard/python-hpOneView
retrieve_differences
12,482
LDU_FT/EUDAT-B2SAFE/B2HANDLE/get_handlerecord_indices_for_key
LDU_FT
[ "<BEGIN>\n## `add_missing_optional_args_with_value_none`", "Adds key-value pairs to the passed dictionary, so that\n afterwards, the dictionary can be used without needing\n to check for KeyErrors.", " If the keys passed as a second argument are not present,\n they are added with None as...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_handlerecord_indices_for_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_handlerecord_indices_for_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
Finds the Handle entry indices of all entries that have a specific type. *Important:* It finds the Handle System indices! These are not the python indices of the list, so they can not be used for iteration. :param key: The key (Handle Record type) :param list_of_entries...
"Finds the Handle entry indices of all entries that have a specific\n type.\n\n *Important:* It finds the Handle System indices! These are not\n the python indices of the list, so they can not be used for\n iteration.\n\n :param key: The key (Handle Record type)\n :param list_o...
168
false
EUDAT-B2SAFE/B2HANDLE
get_handlerecord_indices_for_key
12,483
LDU_FT/mieubrisse/wunderpy2/update_subtask
LDU_FT
[ "<BEGIN>\n## `get_endpoint_obj`", "Tiny helper function that gets used all over the place to join the object ID to the endpoint and run a GET request, returning the result\n<END>", "<BEGIN>\n## `update_endpoint_obj`", "Helper method to ease the repetitiveness of updating an... SO VERY DRY ", " (That's a ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_subtask API. 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 update_subtask API. 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...
Updates the subtask with the given ID See https://developer.wunderlist.com/documentation/endpoints/subtask for detailed parameter information Returns: Subtask with given ID with properties and revision updated
"Updates the subtask with the given ID\n\n See https://developer.wunderlist.com/documentation/endpoints/subtask for detailed parameter information\n\n Returns:\n Subtask with given ID with properties and revision updated"
94
false
mieubrisse/wunderpy2
update_subtask
12,484
LDU_FT/duniter/duniter-python-api/inline
LDU_FT
[ "<BEGIN>\n## `from_signed_raw`", "Return Certification instance from signed raw document", " :param signed_raw: Signed raw document\n :return:\n<END>", "<BEGIN>\n## `from_inline`", "Return Certification instance from inline document", " Only self.pubkey_to is populated.\n You m...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inline API. 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 inline API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Return inline string format of the instance :return:
"Return inline string format of the instance\n\n :return:"
415
false
duniter/duniter-python-api
inline
12,485
LDU_FT/IntelPython/mkl_fft/fft
LDU_FT
[ "<BEGIN>\n## `fft`", "Compute the one-dimensional discrete Fourier Transform.", " This function computes the one-dimensional *n*-point discrete Fourier\n Transform (DFT) with the efficient Fast Fourier Transform (FFT)\n algorithm [CT].", " Parameters\n ----------\n a : array_like\n In...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fft API. 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 fft API. 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...
Compute the one-dimensional discrete Fourier Transform. This function computes the one-dimensional *n*-point discrete Fourier Transform (DFT) with the efficient Fast Fourier Transform (FFT) algorithm [CT]. Parameters ---------- a : array_like Input array, can be complex. n : int, o...
"Compute the one-dimensional discrete Fourier Transform.\n\n This function computes the one-dimensional *n*-point discrete Fourier\n Transform (DFT) with the efficient Fast Fourier Transform (FFT)\n algorithm [CT].\n\n Parameters\n ----------\n a : array_like\n Input array, can be complex.\n ...
156
false
IntelPython/mkl_fft
fft
12,486
LDU_FT/akfullfo/taskforce/_get_list
LDU_FT
[ "<BEGIN>\n## `_format`", "Returns the response tuple according to the selected format.\n A format is available if the method \"_format_xxx\" is callable.\n The default format is json.\n<END>", "<BEGIN>\n## `version`", "Return the taskforce version.", " Supports standard options.\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_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 extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_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 extract...
Get a configuration value. The result is None if "value" is None, otherwise the result is a list. "value" may be a list, dict, or str value. If a list, each element of the list may be a list, dict, or str value, and the value extraction proceeds recursively. During processing...
"Get a configuration value. The result is None if \"value\" is None,\n otherwise the result is a list.\n\n \"value\" may be a list, dict, or str value.\n\n If a list, each element of the list may be a list, dict, or\n str value, and the value extraction proceeds recursively.\n\n Duri...
290
false
akfullfo/taskforce
_get_list
12,487
LDU_FT/SeabornGames/Table/objs_to_mark_down
LDU_FT
[ "<BEGIN>\n## `list_to_obj`", ":param list_: list of list or list of dictionary to use as the\n source\n :param columns: list of strings to label the columns when\n converting to str\n :param row_columns: list of columns in the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the objs_to_mark_down API. 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 objs_to_mark_down API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
This will return a str of multiple mark down tables. :param tables: dict of {str <name>:SeabornTable} :param file_path: str of the path to the file :param keys: list of str of the order of keys to use :param pretty_columns: bool if True will make the columns pretty...
"This will return a str of multiple mark down tables.\n :param tables: dict of {str <name>:SeabornTable}\n :param file_path: str of the path to the file\n :param keys: list of str of the order of keys to use\n :param pretty_columns: bool if True will make the columns p...
93
false
SeabornGames/Table
objs_to_mark_down
12,488
LDU_FT/kolypto/py-flask-jsontools/_match_view
LDU_FT
[ "<BEGIN>\n## `jsonapi`", "Declare the view as a JSON API method", " This converts view return value into a :cls:JsonResponse.", " The following return types are supported:\n - tuple: a tuple of (response, status, headers)\n - any other object is converted to JSON\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _match_view API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _match_view API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Detect a view matching the query :param method: HTTP method :param route_params: Route parameters dict :return: Method :rtype: Callable|None
"Detect a view matching the query\n\n :param method: HTTP method\n :param route_params: Route parameters dict\n :return: Method\n :rtype: Callable|None"
22
false
kolypto/py-flask-jsontools
_match_view
12,489
LDU_FT/timothyhahn/rui/register_entity_to_group
LDU_FT
[ "<BEGIN>\n## `add_entity`", "Add entity to world.\n entity is of type Entity\n<END>", "<BEGIN>\n## `add_system`", "Add system to the world.\n All systems will be processed on World.process()\n system is of type System\n<END>", "<BEGIN>\n## `register_entity_to_group`", "Add entity ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_entity_to_group 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 register_entity_to_group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Add entity to a group. If group does not exist, entity will be added as first member entity is of type Entity group is a string that is the name of the group
"Add entity to a group.\n If group does not exist, entity will be added as first member\n entity is of type Entity\n group is a string that is the name of the group"
20
false
timothyhahn/rui
register_entity_to_group
12,490
LDU_FT/PixxxeL/python-html-purifier/feed
LDU_FT
[ "<BEGIN>\n## `feed`", "Main method for purifying HTML (overrided)\n<END>", "<BEGIN>\n## `handle_starttag`", "Handler of starting tag processing (overrided, private)\n<END>", "<BEGIN>\n## `handle_endtag`", "Handler of ending tag processing (overrided, private)\n<END>", "<BEGIN>\n## `handle_data`", "Han...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the feed API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the feed API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Main method for purifying HTML (overrided)
"Main method for purifying HTML (overrided)"
12
false
PixxxeL/python-html-purifier
feed
12,491
LDU_FT/websauna/pyramid_notebook/launch_notebook
LDU_FT
[ "<BEGIN>\n## `handshake_headers`", "List of headers appropriate for the upgrade\n handshake.\n<END>", "<BEGIN>\n## `run`", "Combine async uwsgi message loop with ws4py message loop.", " TODO: This could do some serious optimizations and behave asynchronously correct instead of just sleep().\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the launch_notebook API. 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 launch_notebook API. 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...
Renders a IPython Notebook frame wrapper. Starts or reattachs ot an existing Notebook session.
"Renders a IPython Notebook frame wrapper.\n\n Starts or reattachs ot an existing Notebook session."
78
false
websauna/pyramid_notebook
launch_notebook
12,492
LDU_FT/HDI-Project/RDT/get_category
LDU_FT
[ "<BEGIN>\n## `check_data_type`", "Check the type of the transformer and column match.", " Args:\n column_metadata(dict): Metadata of the column.", " Raises a ValueError if the types don't match\n<END>", "<BEGIN>\n## `fit`", "Prepare the transformer to convert data.", " Ar...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_category API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_category API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Returns categories for the specified numeric values Args: column(pandas.Series): Values to transform into categories Returns: pandas.Series
"Returns categories for the specified numeric values\n\n Args:\n column(pandas.Series): Values to transform into categories\n\n Returns:\n pandas.Series"
154
false
HDI-Project/RDT
get_category
12,493
LDU_FT/riggsd/davies/lint
LDU_FT
[ "<BEGIN>\n## `lint`", "Run verbose PyLint on source. Optionally specify fmt=html for HTML output.\n<END>", "<BEGIN>\n## `azm`", "Corrected azimuth, taking into account backsight, declination, and compass corrections.\n<END>", "<BEGIN>\n## `inc`", "Corrected inclination, taking into account backsight and c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lint API. 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 lint API. 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...
Run verbose PyLint on source. Optionally specify fmt=html for HTML output.
"Run verbose PyLint on source. Optionally specify fmt=html for HTML output."
60
false
riggsd/davies
lint
12,494
LDU_FT/bachiraoun/pylocker/set_lock_pass
LDU_FT
[ "<BEGIN>\n## `set_file_path`", "Set the file path that needs to be locked.", " :Parameters:\n #. filePath (None, path): The file that needs to be locked. When given and a lock\n is acquired, the file will be automatically opened for writing or reading\n depending on...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_lock_pass API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_lock_pass API. 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...
Set the locking pass :Parameters: #. lockPass (string): The locking pass.
"Set the locking pass\n\n :Parameters:\n #. lockPass (string): The locking pass."
28
false
bachiraoun/pylocker
set_lock_pass
12,495
LDU_FT/Kortemme-Lab/klab/retrieve
LDU_FT
[ "<BEGIN>\n## `retrieve`", "Creates a PDBML object by using a cached copy of the files if they exists or by retrieving the files from the RCSB.\n<END>", "<BEGIN>\n## `parse_deprecation`", "Checks to see if the PDB file has been deprecated and, if so, what the new ID is.\n<END>", "<BEGIN>\n## `parse_atoms`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the retrieve API. 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 retrieve API. 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...
Creates a PDBML object by using a cached copy of the files if they exists or by retrieving the files from the RCSB.
"Creates a PDBML object by using a cached copy of the files if they exists or by retrieving the files from the RCSB."
725
false
Kortemme-Lab/klab
retrieve
12,496
LDU_FT/kcallin/mqtt-codec/encode_utf8
LDU_FT
[ "<BEGIN>\n## `encode_bytes`", "Encode a buffer length followed by the bytes of the buffer\n itself.", " Parameters\n ----------\n src_buf: bytes\n Source bytes to be encoded. Function asserts that\n 0 <= len(src_buf) <= 2**16-1.\n dst_file: file\n File-like object with write...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode_utf8 API. 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 encode_utf8 API. 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...
UTF-8 encodes string `s` to file-like object `f` according to the MQTT Version 3.1.1 specification in section 1.5.3. The maximum length for the encoded string is 2**16-1 (65535) bytes. An assertion error will result if the encoded string is longer. Parameters ---------- s: str String t...
"UTF-8 encodes string `s` to file-like object `f` according to\n the MQTT Version 3.1.1 specification in section 1.5.3.\n\n The maximum length for the encoded string is 2**16-1 (65535) bytes.\n An assertion error will result if the encoded string is longer.\n\n Parameters\n ----------\n s: str\n ...
116
false
kcallin/mqtt-codec
encode_utf8
12,497
LDU_FT/jmcarp/betfair.py/cancel_orders
LDU_FT
[ "<BEGIN>\n## `get_chunks`", "Split sequence into chunks.", " :param list sequence:\n :param int chunk_size:\n<END>", "<BEGIN>\n## `get_kwargs`", "Get all keys and values from dictionary where key is not `self`.", " :param dict kwargs: Input parameters\n<END>", "<BEGIN>\n## `check_status_code`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cancel_orders API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cancel_orders API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Cancel all bets OR cancel all bets on a market OR fully or partially cancel particular orders on a market. :param str market_id: If not supplied all bets are cancelled :param list instructions: List of `CancelInstruction` objects :param str customer_ref: Optional order identifier string
"Cancel all bets OR cancel all bets on a market OR fully or\n partially cancel particular orders on a market.\n\n :param str market_id: If not supplied all bets are cancelled\n :param list instructions: List of `CancelInstruction` objects\n :param str customer_ref: Optional order identifier ...
68
false
jmcarp/betfair.py
cancel_orders
12,498
LDU_FT/thanethomson/statik/deep_merge_dict
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 deep_merge_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 e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deep_merge_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 e...
Deep merges dictionary b into dictionary a.
"Deep merges dictionary b into dictionary a."
117
false
thanethomson/statik
deep_merge_dict
12,499
LDU_FT/audreyr/cookiecutter/find_hook
LDU_FT
[ "<BEGIN>\n## `expand_abbreviations`", "Expand abbreviations in a template name.", " :param template: The project template name.\n :param abbreviations: Abbreviation definitions.\n<END>", "<BEGIN>\n## `repository_has_cookiecutter_json`", "Determine if `repo_directory` contains a `cookiecutter.json` fil...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_hook API. 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 find_hook API. 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 a dict of all hook scripts provided. Must be called with the project template as the current working directory. Dict's key will be the hook/script's name, without extension, while values will be the absolute path to the script. Missing scripts will not be included in the returned dict. :par...
"Return a dict of all hook scripts provided.\n\n Must be called with the project template as the current working directory.\n Dict's key will be the hook/script's name, without extension, while values\n will be the absolute path to the script. Missing scripts will not be\n included in the returned dict.\n\n...
129
false
audreyr/cookiecutter
find_hook
12,500
LDU_FT/glitchassassin/lackey/buttonDown
LDU_FT
[ "<BEGIN>\n## `_check_count`", "Private function to return ctypes errors cleanly\n<END>", "<BEGIN>\n## `getScreenBounds`", "Returns the screen size of the specified monitor (0 being the main monitor).\n<END>", "<BEGIN>\n## `getScreenDetails`", "Return list of attached monitors", " For each monitor...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the buttonDown API. 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 buttonDown API. 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...
Holds down the specified mouse button. Use Mouse.LEFT, Mouse.MIDDLE, Mouse.RIGHT
"Holds down the specified mouse button.\n\n Use Mouse.LEFT, Mouse.MIDDLE, Mouse.RIGHT"
378
false
glitchassassin/lackey
buttonDown
12,501
LDU_FT/23andMe/Yamale/flatten
LDU_FT
[ "<BEGIN>\n## `validate`", "Check if ``value`` is valid.", " :returns: [errors] If ``value`` is invalid, otherwise [].\n<END>", "<BEGIN>\n## `_process_schema`", "Go through a schema and construct validators.\n<END>", "<BEGIN>\n## `_validate`", "Run through a schema and a data structure,\n v...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flatten API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flatten API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Returns a flattened dictionary from a dictionary of nested dictionaries and lists. `keep_iter` will treat iterables as valid values, while also flattening them.
"Returns a flattened dictionary from a dictionary of nested dictionaries and lists.\n `keep_iter` will treat iterables as valid values, while also flattening them."
21
false
23andMe/Yamale
flatten
12,502
LDU_FT/lambdalisue/maidenhair/get_user_root_directory
LDU_FT
[ "<BEGIN>\n## `load`", "Load data from file matched with given glob pattern.", " Return value will be a list of data unless :attr:`unite` is `True`.\n If :attr:`unite` is `True` then all data will be united into a single data.", " Parameters\n ----------\n pathname : string or list\n A gl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_user_root_directory 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_user_root_directory API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Get user root directory (application user configuration root directory) Returns ------- string A full path
"Get user root directory (application user configuration root directory)\n\n Returns\n -------\n string\n A full path"
128
false
lambdalisue/maidenhair
get_user_root_directory
12,503
LDU_FT/upsight/doctor/get_outdated_docs
LDU_FT
[ "<BEGIN>\n## `_parse_array`", "Coerce value into an list.", " :param str value: Value to parse.\n :returns: list or None if the value is not a JSON array\n :raises: TypeError or ValueError if value appears to be an array but can't\n be parsed as JSON.\n<END>", "<BEGIN>\n## `_parse_boolean`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_outdated_docs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_outdated_docs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Handler for Sphinx's env-get-outdated event. This handler gives a Sphinx extension a chance to indicate that some set of documents are out of date and need to be re-rendered. The implementation here is stupid, for now, and always says that anything that uses the directive needs to be re...
"Handler for Sphinx's env-get-outdated event.\n\n This handler gives a Sphinx extension a chance to indicate that some\n set of documents are out of date and need to be re-rendered. The\n implementation here is stupid, for now, and always says that anything\n that uses the directive needs to...
236
false
upsight/doctor
get_outdated_docs
12,504
LDU_FT/olitheolix/qtmacs/qteSetAppletSignature
LDU_FT
[ "<BEGIN>\n## `qteSaveMacroData`", "Associate arbitrary ``data`` with ``widgetObj``.", " This is a convenience method to easily store applet/widget\n specific information in between calls.", " If ``widgetObj`` is **None** then the calling widget\n ``self.qteWidget`` will be used.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the qteSetAppletSignature 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 qteSetAppletSignature API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Specify the applet signatures with which this macro is compatible. Qtmacs uses this information at run time to determine if this macro is compatible with a particular applet, as specified by the applet's signature. Note that this function overwrites all previously set values. |...
"Specify the applet signatures with which this macro is compatible.\n\n Qtmacs uses this information at run time to determine if this\n macro is compatible with a particular applet, as specified by\n the applet's signature. Note that this function overwrites\n all previously set values.\n\n ...
1,108
true
olitheolix/qtmacs
qteSetAppletSignature
12,505
LDU_FT/thebjorn/pydeps/write_attributes
LDU_FT
[ "<BEGIN>\n## `write`", "Write ``txt`` to file and output stream (StringIO).\n<END>", "<BEGIN>\n## `write_attributes`", "Write comma separated attribute values (if exists).\n<END>", "<BEGIN>\n## `is_noise`", "Is this module just noise? (too common either at top or bottom of\n the graph).\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_attributes API. 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 write_attributes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Write comma separated attribute values (if exists).
"Write comma separated attribute values (if exists)."
60
false
thebjorn/pydeps
write_attributes
12,506
LDU_FT/matplotlib/cmocean/cmap
LDU_FT
[ "<BEGIN>\n## `read`", "Read in dataset for variable var", " :param varin: Variable for which to read in data.\n<END>", "<BEGIN>\n## `show`", "Show a colormap for a chosen input variable var side by side with\n black and white and jet colormaps.", " :param cmap: Colormap instance\n :param var: ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cmap API. 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 cmap API. 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...
Input an array of rgb values to generate a colormap. :param rgbin: An [mx3] array, where m is the number of input color triplets which are interpolated between to make the colormap that is returned. hex values can be input instead, as [mx1] in single quotes with a #. :param N=10: The number o...
"Input an array of rgb values to generate a colormap.\n\n :param rgbin: An [mx3] array, where m is the number of input color triplets which\n are interpolated between to make the colormap that is returned. hex values\n can be input instead, as [mx1] in single quotes with a #.\n :param N=10: The nu...
43
false
matplotlib/cmocean
cmap
12,507
LDU_FT/wickman/compactor/detect_process
LDU_FT
[ "<BEGIN>\n## `encode_request`", "Encode a request into a raw HTTP request. This function returns a string\n of bytes that represent a valid HTTP/1.0 request, including any libprocess\n headers required for communication.", " Use the `legacy` option (set to True) to use the legacy User-Agent based\n libproce...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detect_process API. 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 detect_process API. 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 tuple of process, legacy or None, None if not process originating.
"Returns tuple of process, legacy or None, None if not process originating."
96
false
wickman/compactor
detect_process
12,508
LDU_FT/alefnula/tea/send_mail
LDU_FT
[ "<BEGIN>\n## `smart_text`", "Return a unicode object representing 's'.\r", " Treats bytes using the 'encoding' codec.\r", " If strings_only is True, don't convert (some) non-string-like objects.\n<END>", "<BEGIN>\n## `smart_bytes`", "Return a bytes version of 's' encoded as specified in 'encoding'.\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_mail API. 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 send_mail API. 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...
Send a single email to a recipient list. All members of the recipient list will see the other recipients in the 'To' field. Note: The API for this method is frozen. New code wanting to extend the functionality should use the EmailMessage class directly.
"Send a single email to a recipient list.\r\n\r\n All members of the recipient list will see the other recipients in the 'To'\r\n field.\r\n\r\n Note: The API for this method is frozen. New code wanting to extend the\r\n functionality should use the EmailMessage class directly."
240
false
alefnula/tea
send_mail
12,509
LDU_FT/noahbenson/neuropythy/to_subject_id
LDU_FT
[ "<BEGIN>\n## `guess_import_format`", "guess_import_format(filename) attempts to guess the file format for the given filename; it does\n this guessing by looking at the file extension and using registered sniff-tests from\n importers. It will not attempt to load the file, so if the extension of the filen...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_subject_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 ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_subject_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 ext...
to_subject_id(s) coerces the given string or number into an integer subject id. If s is not a valid subejct id, raises an exception.
"to_subject_id(s) coerces the given string or number into an integer subject id. If s is not a\n valid subejct id, raises an exception."
815
false
noahbenson/neuropythy
to_subject_id
12,510
LDU_FT/hotdoc/hotdoc/from_position
LDU_FT
[ "<BEGIN>\n## `connect`", "@slot: The method to be called on signal emission", " Connects to @slot\n<END>", "<BEGIN>\n## `connect_after`", "@slot: The method to be called at last stage of signal emission", " Connects to the signal after the signals has been handled by other\n connect c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_position API. 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 from_position API. 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...
Retrieve the source location associated with a given file/line/column in a particular translation unit.
"Retrieve the source location associated with a given file/line/column in\n a particular translation unit."
266
false
hotdoc/hotdoc
from_position
12,511
LDU_FT/raphaelm/django-hierarkey/add
LDU_FT
[ "<BEGIN>\n## `add_default`", "Adds a default value and a default type for a key.", " :param key: Key\n :param value: *Serialized* default value, i.e. a string or ``None``.\n :param default_type: The type to unserialize values for this key to, defaults to ``str``.\n<END>", "<BEGIN>\n## `ad...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Decorator. Attaches a global key-value store to a Django model. :param cache_namespace: Optional. A custom namespace used for caching. By default this is constructed from the name of the class this is applied to and the ``attribute_name`` of this ...
"Decorator. Attaches a global key-value store to a Django model.\n\n :param cache_namespace: Optional. A custom namespace used for caching. By default this is\n constructed from the name of the class this is applied to and\n the ``attribute_name`` of ...
29
false
raphaelm/django-hierarkey
add
12,512
LDU_FT/michael-lazar/rtv/get_friends
LDU_FT
[ "<BEGIN>\n## `refresh_content`", "Re-download all subscriptions and reset the page index\n<END>", "<BEGIN>\n## `select_subreddit`", "Store the selected subreddit and return to the subreddit page\n<END>", "<BEGIN>\n## `alias_function`", "Create a RedditContentObject function mapped to a BaseReddit function...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_friends API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_friends API. 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 UserList of Redditors with whom the user is friends.
"Return a UserList of Redditors with whom the user is friends."
919
false
michael-lazar/rtv
get_friends
12,513
LDU_FT/lltk/lltk/plural
LDU_FT
[ "<BEGIN>\n## `pos`", "Tries to decide about the part of speech.\n<END>", "<BEGIN>\n## `articles`", "Tries to scrape the correct articles for singular and plural from uitmuntend.nl.\n<END>", "<BEGIN>\n## `plural`", "Tries to scrape the plural version from uitmuntend.nl.\n<END>", "<BEGIN>\n## `warning`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plural API. 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 plural API. 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 ...
Tries to scrape the plural version from uitmuntend.nl.
"Tries to scrape the plural version from uitmuntend.nl."
80
false
lltk/lltk
plural
12,514
LDU_FT/tslight/treepick/drawtree
LDU_FT
[ "<BEGIN>\n## `drawtree`", "Loop over the object, process path attribute sets, and drawlines based\n on their current contents.\n<END>", "<BEGIN>\n## `listdir`", "Return a list of all non dotfiles in a given directory.\n<END>", "<BEGIN>\n## `getchildren`", "Create list of absolute paths to be used t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the drawtree API. 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 drawtree API. 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...
Loop over the object, process path attribute sets, and drawlines based on their current contents.
"Loop over the object, process path attribute sets, and drawlines based\n on their current contents."
14
false
tslight/treepick
drawtree
12,515
LDU_FT/rraadd88/rohan/is_numeric
LDU_FT
[ "<BEGIN>\n## `dqueries2queriessam`", "Aligns queries to genome and gets SAM file\n step#1", " :param cfg: configuration dict\n :param dqueries: dataframe of queries\n<END>", "<BEGIN>\n## `queriessam2dalignbed`", "Processes SAM file to get the genomic coordinates in BED format\n step#2", " :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_numeric API. 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 is_numeric API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
This detects whether an input object is numeric or not. :param obj: object to be tested.
"This detects whether an input object is numeric or not.\n\n :param obj: object to be tested."
124
false
rraadd88/rohan
is_numeric
12,516
LDU_FT/ewiger/mlab/get
LDU_FT
[ "<BEGIN>\n## `saveVarsInMat`", "Hacky convinience function to dump a couple of python variables in a\n .mat file. See `awmstools.saveVars`.\n<END>", "<BEGIN>\n## `_make_proxy`", "Creates a proxy for a variable.", " XXX create and cache nested proxies also here.\n<END>", "<BEGIN>\n## `_do`", ...
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...
Loads the requested variables from the matlab shell. names_to_get can be either a variable name, a list of variable names, or None. If it is a variable name, the values is returned. If it is a list, a dictionary of variable_name -> value is returned. If it is None, a dictionary ...
"Loads the requested variables from the matlab shell.\n\n names_to_get can be either a variable name, a list of variable names, or\n None.\n If it is a variable name, the values is returned.\n If it is a list, a dictionary of variable_name -> value is returned.\n If it is None, a dict...
247
false
ewiger/mlab
get
12,517
LDU_FT/cheind/tf-matplotlib/blittable_figure_tensor
LDU_FT
[ "<BEGIN>\n## `figure_buffer`", "Extract raw image buffer from matplotlib figure shaped as 1xHxWx3.\n<END>", "<BEGIN>\n## `figure_tensor`", "Decorate matplotlib drawing routines.", " This dectorator is meant to decorate functions that return matplotlib\n figures. The decorated function has to have the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the blittable_figure_tensor 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 blittable_figure_tensor API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Decorate matplotlib drawing routines with blitting support. This dectorator is meant to decorate functions that return matplotlib figures. The decorated function has to have the following signature def decorated(*args, **kwargs) -> iterable of artists where `*args` can be any positional argum...
"Decorate matplotlib drawing routines with blitting support.\n\n This dectorator is meant to decorate functions that return matplotlib\n figures. The decorated function has to have the following signature\n\n def decorated(*args, **kwargs) -> iterable of artists\n \n where `*args` can be any position...
37
false
cheind/tf-matplotlib
blittable_figure_tensor
12,518
LDU_FT/GeorgeArgyros/sfalearn/is_closed
LDU_FT
[ "<BEGIN>\n## `_add_training_data`", "Training_data is a dictionary from strings to lists.\n - Each string (key) is an access string\n - Each list (value) is a list of tuples (target_state, [symbols directed to that\n state]). These represent that a transition exists from the state used as key...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_closed API. 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 is_closed API. 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 the observation table is closed. Args: None Returns: tuple (bool, str): True if the observation table is closed and false otherwise. If the table is not closed the escaping string is returned.
"_check if the observation table is closed.\n Args:\n None\n Returns:\n tuple (bool, str): True if the observation table is\n closed and false otherwise. If the table is not closed\n the escaping string is returned."
60
false
GeorgeArgyros/sfalearn
is_closed
12,519
LDU_FT/phn/lineid_plot/adjust_boxes
LDU_FT
[ "<BEGIN>\n## `color_text_boxes`", "Color text boxes.", " Instead of this function, one can pass annotate_kwargs and plot_kwargs to\n plot_line_ids function.\n<END>", "<BEGIN>\n## `color_lines`", "Color lines.", " Instead of this function, one can pass annotate_kwargs and plot_kwargs to\n plot_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the adjust_boxes API. 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 adjust_boxes API. 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...
Ajdust given boxes so that they don't overlap. Parameters ---------- line_wave: list or array of floats Line wave lengths. These are assumed to be the initial y (wave length) location of the boxes. box_widths: list or array of floats Width of box containing labels for each line ...
"Ajdust given boxes so that they don't overlap.\n\n Parameters\n ----------\n line_wave: list or array of floats\n Line wave lengths. These are assumed to be the initial y (wave\n length) location of the boxes.\n box_widths: list or array of floats\n Width of box containing labels for e...
44
false
phn/lineid_plot
adjust_boxes
12,520
LDU_FT/sci-bots/svg-model/fit_points_in_bounding_box_params
LDU_FT
[ "<BEGIN>\n## `auto_detect_adjacent_shapes`", "Attempt to automatically find \"adjacent\" shapes in a SVG layer.", " In a layer within a new SVG document, draw each detected connection between\n the center points of the corresponding shapes.", " Parameters\n ----------\n svg_source : str\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit_points_in_bounding_box_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit_points_in_bounding_box_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
Return offset and scale factor to scale ``x``, ``y`` columns of :data:`df_points` to fill :data:`bounding_box` while maintaining aspect ratio. Arguments --------- df_points : pandas.DataFrame A frame with at least the columns ``x`` and ``y``, containing one row per point. boundi...
"Return offset and scale factor to scale ``x``, ``y`` columns of\n :data:`df_points` to fill :data:`bounding_box` while maintaining aspect\n ratio.\n\n Arguments\n ---------\n df_points : pandas.DataFrame\n A frame with at least the columns ``x`` and ``y``, containing one row\n per point.\n...
181
false
sci-bots/svg-model
fit_points_in_bounding_box_params
12,521
LDU_FT/rackerlabs/fleece/add_request_ids_from_environment
LDU_FT
[ "<BEGIN>\n## `build_wsgi_environ_from_event`", "Create a WSGI environment from the proxy integration event.\n<END>", "<BEGIN>\n## `wsgi_handler`", "lambda handler function.\n This function runs the WSGI app with it and collects its response, then\n translates the response back into the format expected b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_request_ids_from_environment API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_request_ids_from_environment API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
Custom processor adding request IDs to the log event, if available.
"Custom processor adding request IDs to the log event, if available."
108
false
rackerlabs/fleece
add_request_ids_from_environment
12,522
LDU_FT/jmbhughes/suvi-trainer/make_three_color
LDU_FT
[ "<BEGIN>\n## `process_file`", "Open a single labeled image at path and get needed information, return as a dictionary\n<END>", "<BEGIN>\n## `plot_counts`", "plot the counts of a given theme from a created database over time\n<END>", "<BEGIN>\n## `query_hek`", "requests hek responses for a given time\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_three_color API. 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 make_three_color API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Load the configured input channel images and create a three color image :param upper_percentile: pixels above this percentile are suppressed :param lower_percentile: pixels below this percentile are suppressed :return: a numpy array (m,n,3) representing a three-color image
"Load the configured input channel images and create a three color image\n :param upper_percentile: pixels above this percentile are suppressed\n :param lower_percentile: pixels below this percentile are suppressed\n :return: a numpy array (m,n,3) representing a three-color image"
90
false
jmbhughes/suvi-trainer
make_three_color
12,523
LDU_FT/rfk/playitagainsam/get_ancestor_processes
LDU_FT
[ "<BEGIN>\n## `_read_one_byte`", "Read a single byte, or raise OSError on failure.\n<END>", "<BEGIN>\n## `get_fd`", "Helper function for getting a file descriptor.\n<END>", "<BEGIN>\n## `find_executable`", "Find an executable by searching the user's $PATH.\n<END>", "<BEGIN>\n## `get_ancestor_processes`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ancestor_processes 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_ancestor_processes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Get a list of the executables of all ancestor processes.
"Get a list of the executables of all ancestor processes."
16
false
rfk/playitagainsam
get_ancestor_processes
12,524
LDU_FT/nschloe/meshio/write
LDU_FT
[ "<BEGIN>\n## `read`", "Reads a (compressed) PERMAS dato or post file.\n<END>", "<BEGIN>\n## `write`", "Writes PERMAS dat files, cf.\n http://www.intes.de # PERMAS-ASCII-file-format\n<END>", "<BEGIN>\n## `_write_families`", "Write point/cell tag information under FAS/[mesh_name]\n<END>", "<BEGIN>\n## ...
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 PERMAS dat files, cf. http://www.intes.de # PERMAS-ASCII-file-format
"Writes PERMAS dat files, cf.\n http://www.intes.de # PERMAS-ASCII-file-format"
33
false
nschloe/meshio
write
12,525
LDU_FT/Apitax/Apitax/create_script
LDU_FT
[ "<BEGIN>\n## `get_driver_blacklist`", "Retrieve the blacklist in the driver", " Retrieve the blacklist in the driver # noqa: E501", " :param driver: The driver to use for the request. ie. github\n :type driver: str", " :rtype: Response\n<END>", "<BEGIN>\n## `get_driver_config`", "Retrieve th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_script API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_script API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Create a new script Create a new script # noqa: E501 :param Scripts: The data needed to create this script :type Scripts: dict | bytes :rtype: Response
"Create a new script\n\n Create a new script # noqa: E501\n\n :param Scripts: The data needed to create this script\n :type Scripts: dict | bytes\n\n :rtype: Response"
137
false
Apitax/Apitax
create_script
12,526
LDU_FT/explosion/spaCy/resolve_pos
LDU_FT
[ "<BEGIN>\n## `to_html`", "Doc method extension for saving the current state as a displaCy\n visualization.\n<END>", "<BEGIN>\n## `overlap_tokens`", "Get the tokens from the original Doc that are also in the comparison Doc.\n<END>", "<BEGIN>\n## `iob2json`", "Convert IOB files into JSON format for use w...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_pos API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_pos API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
If necessary, add a field to the POS tag for UD mapping. Under Universal Dependencies, sometimes the same Unidic POS tag can be mapped differently depending on the literal token or its context in the sentence. This function adds information to the POS tag to resolve ambiguous mappings.
"If necessary, add a field to the POS tag for UD mapping.\n Under Universal Dependencies, sometimes the same Unidic POS tag can\n be mapped differently depending on the literal token or its context\n in the sentence. This function adds information to the POS tag to\n resolve ambiguous mappings."
346
false
explosion/spaCy
resolve_pos
12,527
LDU_FT/conchoecia/gloTK/fastq_info
LDU_FT
[ "<BEGIN>\n## `meraculous_runner`", "Check to make sure that the allAssembliesDir has been created, if not,\n make it. This will only execute for the first time an assembly has been\n run in this directory.", " Run the directory from allAssembliesDir. The self.callString instance\n at...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fastq_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fastq_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Found some info about how to ignore warnings in code blocks here: - http://stackoverflow.com/questions/14463277/how-to-disable-python-warnings
"Found some info about how to ignore warnings in code blocks here:\n - http://stackoverflow.com/questions/14463277/how-to-disable-python-warnings"
73
false
conchoecia/gloTK
fastq_info
12,528
LDU_FT/MacHu-GWU/pyknackhq-project/get_raw_values
LDU_FT
[ "<BEGIN>\n## `get_field_key`", "Given a field key or name, return it's field key.\n<END>", "<BEGIN>\n## `get_object_key`", "Given a object key or name, return it's object key.\n<END>", "<BEGIN>\n## `install`", "Install your package to all Python version you have installed on Windows.\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_raw_values API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_raw_values API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Convert naive get response data to human readable field name format. using raw data format.
"Convert naive get response data to human readable field name format.\n \n using raw data format."
122
false
MacHu-GWU/pyknackhq-project
get_raw_values
12,529
LDU_FT/brinkframework/brink/save
LDU_FT
[ "<BEGIN>\n## `fields`", "Provides an iterable for all model fields.\n<END>", "<BEGIN>\n## `wrap`", "Wraps and consumes an arbitrary dictionary into the model.\n<END>", "<BEGIN>\n## `validate`", "Validates all field values for the model.\n<END>", "<BEGIN>\n## `save`", "Persists the model to the databas...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Persists the model to the database. If the model holds no primary key, a new one will automatically created by RethinkDB. Otherwise it will overwrite the current model persisted to the database.
"Persists the model to the database. If the model holds no primary key,\n a new one will automatically created by RethinkDB. Otherwise it will\n overwrite the current model persisted to the database."
18
false
brinkframework/brink
save
12,530
LDU_FT/mattjj/pybasicbayes/_resample_nu
LDU_FT
[ "<BEGIN>\n## `nice_indices`", "takes an array like [1,1,5,5,5,999,1,1]\n and maps to something like [0,0,1,1,1,2,0,0]\n modifies original in place as well as returns a ref\n<END>", "<BEGIN>\n## `principal_angle`", "Find the principal angle between two subspaces\n spanned by columns of A and B\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _resample_nu API. 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 _resample_nu API. 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...
Update the degree of freedom parameter with Metropolis-Hastings. Assume a prior nu ~ Ga(alpha, beta) and use a proposal nu' ~ N(nu, prop_std^2). If proposals are negative, reject automatically due to likelihood.
"Update the degree of freedom parameter with \n Metropolis-Hastings. Assume a prior nu ~ Ga(alpha, beta) \n and use a proposal nu' ~ N(nu, prop_std^2). If proposals\n are negative, reject automatically due to likelihood."
16
false
mattjj/pybasicbayes
_resample_nu
12,531
LDU_FT/kragniz/python-etcd3/get_range
LDU_FT
[ "<BEGIN>\n## `new_event`", "Wrap a raw gRPC event in a friendlier containing class.", " This picks the appropriate class from one of PutEvent or DeleteEvent and\n returns a new instance.\n<END>", "<BEGIN>\n## `acquire`", "Acquire the lock.", " :params timeout: Maximum time to wait before retu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_range API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_range API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Get a range of keys. :param range_start: first key in range :param range_end: last key in range :returns: sequence of (value, metadata) tuples
"Get a range of keys.\n\n :param range_start: first key in range\n :param range_end: last key in range\n :returns: sequence of (value, metadata) tuples"
113
false
kragniz/python-etcd3
get_range
12,532
LDU_FT/tBuLi/symfit/finite_difference
LDU_FT
[ "<BEGIN>\n## `seperate_symbols`", "Seperate the symbols in symbolic function func. Return them in alphabetical\n order.", " :param func: scipy symbolic function.\n :return: (vars, params), a tuple of all variables and parameters, each \n sorted in alphabetical order.\n :raises TypeError: only...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finite_difference API. 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 finite_difference API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Calculates a numerical approximation of the Jacobian of the model using the sixth order central finite difference method. Accepts a `dx` keyword to tune the relative stepsize used. Makes 6*n_params calls to the model. :return: A numerical approximation of the Jacobian of the model as a ...
"Calculates a numerical approximation of the Jacobian of the model using\n the sixth order central finite difference method. Accepts a `dx`\n keyword to tune the relative stepsize used.\n Makes 6*n_params calls to the model.\n\n :return: A numerical approximation of the Jacobian of the model...
239
false
tBuLi/symfit
finite_difference
12,533
LDU_FT/SmileyChris/django-countries/alpha3
LDU_FT
[ "<BEGIN>\n## `get_option`", "Get a configuration option, trying the options attribute first and\n falling back to a Django project setting.\n<END>", "<BEGIN>\n## `countries`", "Return the a dictionary of countries, modified by any overriding\n options.", " The result is cached so future...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the alpha3 API. 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 alpha3 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Return the ISO 3166-1 three letter country code matching the provided country code. If no match is found, returns an empty string.
"Return the ISO 3166-1 three letter country code matching the provided\n country code.\n\n If no match is found, returns an empty string."
42
false
SmileyChris/django-countries
alpha3
12,534
LDU_FT/jamieleshaw/lurklib/cmode
LDU_FT
[ "<BEGIN>\n## `find`", "Finds needle in haystack.\n If needle is found return True, if not return False.\n Required arguments:\n * haystack - Text to search in.\n * needle - Text to search for.\n<END>", "<BEGIN>\n## `send`", "Send a raw string with the CR-LF appended to it.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cmode API. 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 cmode API. 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...
Sets or gets the channel mode. Required arguments: * channel - Channel to set/get modes of. Optional arguments: * modes='' - Modes to set. If not specified return the modes of the channel.
"Sets or gets the channel mode.\n Required arguments:\n * channel - Channel to set/get modes of.\n Optional arguments:\n * modes='' - Modes to set.\n If not specified return the modes of the channel."
112
false
jamieleshaw/lurklib
cmode
12,535
LDU_FT/cstatz/maui/int_global_to_local
LDU_FT
[ "<BEGIN>\n## `slice_local_to_global`", "Calculate start and stop index for mapping sliced index", " :param index_slice: sliced index?\n :param axis: current axis to calculate\n :return: slice object as calculated\n<END>", "<BEGIN>\n## `local_to_global`", "Calculate local index from glob...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the int_global_to_local 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 int_global_to_local 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...
Calculate local index from global index for integer input :param index: global index as integer :param axis: current axis to process :return:
"Calculate local index from global index for integer input\n\n :param index: global index as integer\n :param axis: current axis to process\n :return:"
54
false
cstatz/maui
int_global_to_local
12,536
LDU_FT/condereis/realtime-stock/download_historical
LDU_FT
[ "<BEGIN>\n## `__validate_dates`", "Validate if a date string.", " Validate if a string is a date on yyyy-mm-dd format and it the\n period between them is less than a year.\n<END>", "<BEGIN>\n## `__yahoo_request`", "Request Yahoo Finance information.", " Request information from YQL.\n `Check <...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_historical 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 download_historical 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...
Download historical data from Yahoo Finance. Downloads full historical data from Yahoo Finance as CSV. The following fields are available: Adj Close, Close, High, Low, Open and Volume. Files will be saved to output_folder as <ticker>.csv. :param tickers_list: List of tickers that will be returned. ...
"Download historical data from Yahoo Finance.\n\n Downloads full historical data from Yahoo Finance as CSV. The following\n fields are available: Adj Close, Close, High, Low, Open and Volume. Files\n will be saved to output_folder as <ticker>.csv.\n\n :param tickers_list: List of tickers that will be return...
21
false
condereis/realtime-stock
download_historical
12,537
LDU_FT/fhcrc/nestly/pop
LDU_FT
[ "<BEGIN>\n## `_delim_accum`", "Accumulator for delimited files", " Combines each file with values from JSON dictionary in same directory", " :param iterable control_files: Iterable of control files\n :param filename_template: A template for the file to nest_map\n :param keys: List of keys to selec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pop API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pop API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Reverts to the nest stage just before the corresponding call of :meth:`SConsWrap.add_aggregate`. However, any aggregate collections which have been worked on will still be accessible, and can be called operated on together after calling this method. If no name is passed, will revert to...
"Reverts to the nest stage just before the corresponding call of\n :meth:`SConsWrap.add_aggregate`. However, any aggregate collections\n which have been worked on will still be accessible, and can be called\n operated on together after calling this method. If no name is passed,\n will reve...
73
false
fhcrc/nestly
pop
12,538
LDU_FT/mwshinn/paranoidscientist/set_fun_prop
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 set_fun_prop API. 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 set_fun_prop API. 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...
Set the value of property `k` to be `v` in function `f`. We define properties as annotations added to a function throughout the process of defining a function for verification, e.g. the argument types. This sets function `f`'s property named `k` to be value `v`. Users should never access this fun...
"Set the value of property `k` to be `v` in function `f`.\n\n We define properties as annotations added to a function throughout\n the process of defining a function for verification, e.g. the\n argument types. This sets function `f`'s property named `k` to be\n value `v`.\n\n Users should never access ...
68
false
mwshinn/paranoidscientist
set_fun_prop
12,539
LDU_FT/byt3bl33d3r/CrackMapExec/_spider
LDU_FT
[ "<BEGIN>\n## `add_computer`", "Check if this host has already been added to the database, if not add it in.\n<END>", "<BEGIN>\n## `remove_credentials`", "Removes a credential ID from the database\n<END>", "<BEGIN>\n## `options`", "SERVER IP of the SMB server\n NAME LNK file name\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _spider API. 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 _spider API. 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...
Abondon all hope ye who enter here. You're now probably wondering if I was drunk and/or high when writing this. Getting this to work took a toll on my sanity. So yes. a lot.
"Abondon all hope ye who enter here.\n You're now probably wondering if I was drunk and/or high when writing this.\n Getting this to work took a toll on my sanity. So yes. a lot."
77
false
byt3bl33d3r/CrackMapExec
_spider
12,540
LDU_FT/bitesofcode/projexui/paint
LDU_FT
[ "<BEGIN>\n## `addEntry`", "Creates a new entry item for this widget.\r", " :param key | <str>\r\n value | <variant>\n<END>", "<BEGIN>\n## `dictionary`", "Returns a dictionary of the key/value pairing for the items in\r\n this widget.\r", " :return {<s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paint API. 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 paint API. 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...
Overloads the default QGraphicsItem paint event to update the \ node when necessary and call the draw method for the node. :param painter <QPainter> :param option <QStyleOptionGraphicsItem> :param widget <QWidget>
"Overloads the default QGraphicsItem paint event to update the \\\n node when necessary and call the draw method for the node.\n \n :param painter <QPainter>\n :param option <QStyleOptionGraphicsItem>\n :param widget <QWidget>"
4,917
true
bitesofcode/projexui
paint
12,541
LDU_FT/mongolab/dex/_generate_index_analysis
LDU_FT
[ "<BEGIN>\n## `generate_query_report`", "Generates a comprehensive report on the raw query\n<END>", "<BEGIN>\n## `_ensure_index_cache`", "Adds a collections index entries to the cache if not present\n<END>", "<BEGIN>\n## `_generate_query_analysis`", "Translates a raw query object into a Dex query analysis\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_index_analysis 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 _generate_index_analysis API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Compares a query signature to the index cache to identify complete and partial indexes available to the query
"Compares a query signature to the index cache to identify complete\n and partial indexes available to the query"
30
false
mongolab/dex
_generate_index_analysis
12,542
LDU_FT/henrysher/kotocore/construct_for
LDU_FT
[ "<BEGIN>\n## `get_version`", "Returns a string-ified version number.", " Optionally accepts a ``full`` parameter, which if ``True``, will include\n any pre-release information. (Default: ``False``)\n<END>", "<BEGIN>\n## `requires_loaded`", "A decorator to ensure the resource data is loaded.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the construct_for API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the construct_for API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Builds a new, specialized ``Resource`` subclass as part of a given service. This will load the ``ResourceJSON``, determine the correct mappings/methods & constructs a brand new class with those methods on it. :param service_name: The name of the service to construct a resource ...
"Builds a new, specialized ``Resource`` subclass as part of a given\n service.\n\n This will load the ``ResourceJSON``, determine the correct\n mappings/methods & constructs a brand new class with those methods on\n it.\n\n :param service_name: The name of the service to construct a r...
198
false
henrysher/kotocore
construct_for
12,543
LDU_FT/pycampers/ampy/ls
LDU_FT
[ "<BEGIN>\n## `ls`", "List the contents of the specified directory (or root if none is\n specified). Returns a list of strings with the names of files in the\n specified directory. If long_format is True then a list of 2-tuples\n with the name and size (in bytes) of the item is returned. No...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ls API. 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 docu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ls API. 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 docu...
List contents of a directory on the board. Can pass an optional argument which is the path to the directory. The default is to list the contents of the root, /, path. For example to list the contents of the root run: ampy --port /board/serial/port ls Or to list the contents of the /foo/bar di...
"List contents of a directory on the board.\n\n Can pass an optional argument which is the path to the directory. The\n default is to list the contents of the root, /, path.\n\n For example to list the contents of the root run:\n\n ampy --port /board/serial/port ls\n\n Or to list the contents of the /...
63
false
pycampers/ampy
ls
12,544
LDU_FT/mapnik/Cascadenik/midpoint
LDU_FT
[ "<BEGIN>\n## `xindexes`", "Generate list of possible indexes into a list of slots.", " Best way to think of this is as a number where each digit might have a different radix.\n E.g.: (10, 10, 10) would return 10 x 10 x 10 = 1000 responses from (0, 0, 0) to (9, 9, 9),\n (2, 2, 2, 2) would re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the midpoint API. 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 midpoint API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Return a point guranteed to fall within this range, hopefully near the middle.
"Return a point guranteed to fall within this range, hopefully near the middle."
123
false
mapnik/Cascadenik
midpoint
12,545
LDU_FT/aio-libs/aiodocker/clean_filters
LDU_FT
[ "<BEGIN>\n## `inspect`", "Return low-level information about an image", " Args:\n name: name of the image\n<END>", "<BEGIN>\n## `pull`", "Similar to `docker pull`, pull an image locally", " Args:\n fromImage: name of the image to pull\n repo: repository name ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_filters API. 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 clean_filters API. 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...
Checks the values inside `filters` https://docs.docker.com/engine/api/v1.29/#operation/ServiceList Returns a new dictionary in the format `map[string][]string` jsonized
"Checks the values inside `filters`\n https://docs.docker.com/engine/api/v1.29/#operation/ServiceList\n Returns a new dictionary in the format `map[string][]string` jsonized"
108
false
aio-libs/aiodocker
clean_filters
12,546
LDU_FT/Autodesk/pyccc/getsource
LDU_FT
[ "<BEGIN>\n## `persistent_id`", "Tags objects with a persistent ID, but do NOT emit it\n<END>", "<BEGIN>\n## `open`", "Return file-like object (actually opens the file for this class)\n<END>", "<BEGIN>\n## `_open_tmpfile`", "Open a temporary, unique file in CACHEDIR (/tmp/cyborgcache) by default.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getsource API. 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 getsource API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Return the source code for a class or function. Notes: Returned source will not include any decorators for the object. This will only return the explicit declaration of the object, not any dependencies Args: classorfunc (type or function): the object to get the source code for Ret...
"Return the source code for a class or function.\n\n Notes:\n Returned source will not include any decorators for the object.\n This will only return the explicit declaration of the object, not any dependencies\n\n Args:\n classorfunc (type or function): the object to get the source code for\...
114
false
Autodesk/pyccc
getsource
12,547
LDU_FT/fr33jc/bang/autoinc
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 autoinc API. 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 autoinc API. 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...
Conditionally updates the stack version in the file associated with this config. This handles both official releases (i.e. QA configs), and release candidates. Assumptions about version: - Official release versions are MAJOR.minor, where MAJOR and minor are both non...
"Conditionally updates the stack version in the file associated with\n this config.\n\n This handles both official releases (i.e. QA configs), and release\n candidates. Assumptions about version:\n\n - Official release versions are MAJOR.minor, where MAJOR and minor\n are ...
336
false
fr33jc/bang
autoinc
12,548
LDU_FT/sdispater/pendulum/parse
LDU_FT
[ "<BEGIN>\n## `_safe_timezone`", "Creates a timezone instance\n from a string, Timezone, TimezoneInfo or integer offset.\n<END>", "<BEGIN>\n## `datetime`", "Creates a new DateTime instance from a specific date and time.\n<END>", "<BEGIN>\n## `local`", "Return a DateTime in the local timezone.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Parses a string with the given options. :param text: The string to parse. :type text: str :rtype: Parsed
"Parses a string with the given options.\n\n :param text: The string to parse.\n :type text: str\n\n :rtype: Parsed"
366
false
sdispater/pendulum
parse
12,549
LDU_FT/ianmiell/shutit/get_config
LDU_FT
[ "<BEGIN>\n## `parse_shutitfile_args`", "Parse shutitfile args (eg in the line 'RUN some args', the passed-in args_str would be 'some args').\n\tIf the string is bounded by square brackets, then it's treated in the form: ['arg1','arg2'], and the returned list looks the same.\n\tIf the string composed entirely of n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extrac...
Gets a specific config from the config files, allowing for a default. Handles booleans vs strings appropriately. @param module_id: module id this relates to, eg com.mycorp.mymodule.mymodule @param option: config item to set @param default: default value if not set in files @param boolean: ...
"Gets a specific config from the config files, allowing for a default.\n\n\t\tHandles booleans vs strings appropriately.\n\n\t\t@param module_id: module id this relates to, eg com.mycorp.mymodule.mymodule\n\t\t@param option: config item to set\n\t\t@param default: default value if not set in files\n\t\t@p...
498
false
ianmiell/shutit
get_config
12,550
LDU_FT/shi-cong/PYSTUDY/cut
LDU_FT
[ "<BEGIN>\n## `add_view`", "增加handler\n :param view_name: 路由\n :param handler: 处理类\n :return:\n<END>", "<BEGIN>\n## `start`", "启动服务器\n :param port: 端口号\n :return:\n<END>", "<BEGIN>\n## `create_process`", "创建进程\n :param daemon: True主进程关闭而关闭, False主进程必须等待子进程结束\n :para...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cut API. 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 cut API. 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...
从图像中复制出一个矩形选区 box = (100, 100, 400, 400) region = im.crop(box) 矩形选区有一个4元元组定义,分别表示左、上、右、下的坐标。这个库以左上角为坐标原点, 单位是px,所以上诉代码复制了一个 300x300 pixels 的矩形选区 :param img: 加载到内存的图片 :param left: 左 :param above: 上 :param right: 右 :param down: 下 :return:
"从图像中复制出一个矩形选区\n\n box = (100, 100, 400, 400)\n region = im.crop(box)\n 矩形选区有一个4元元组定义,分别表示左、上、右、下的坐标。这个库以左上角为坐标原点,\n 单位是px,所以上诉代码复制了一个 300x300 pixels 的矩形选区\n\n :param img: 加载到内存的图片\n :param left: 左\n :param above: 上\n :param right: 右\n :param down: 下\n :return:"
91
false
shi-cong/PYSTUDY
cut
12,551
LDU_FT/jupyterhub/kubespawner/get_pod_manifest
LDU_FT
[ "<BEGIN>\n## `make_pod`", "Make a k8s pod specification for running a user notebook.", " Parameters\n ----------\n name:\n Name of pod. Must be unique within the namespace the object is\n going to be created in. Must be a valid DNS label.\n image:\n Image specification - usually...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_pod_manifest API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_pod_manifest API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Make a pod manifest that will spawn current user's notebook pod.
"Make a pod manifest that will spawn current user's notebook pod."
98
false
jupyterhub/kubespawner
get_pod_manifest
12,552
LDU_FT/daniellawrence/graphitesend/send_dict
LDU_FT
[ "<BEGIN>\n## `init`", "Create the module instance of the GraphiteClient.\n<END>", "<BEGIN>\n## `send`", "Make sure that we have an instance of the GraphiteClient.\n Then send the metrics to the graphite server.\n User consumable method.\n<END>", "<BEGIN>\n## `send_dict`", "Make sure that we have an ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_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 send_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...
Make sure that we have an instance of the GraphiteClient. Then send the metrics to the graphite server. User consumable method.
"Make sure that we have an instance of the GraphiteClient.\n Then send the metrics to the graphite server.\n User consumable method."
43
false
daniellawrence/graphitesend
send_dict
12,553
LDU_FT/stephan-mclean/KickassTorrentsAPI/_get_soup
LDU_FT
[ "<BEGIN>\n## `_get_soup`", "Return BeautifulSoup object for given page\n<END>", "<BEGIN>\n## `search`", "Return a search result for term in category. Can also be\n\t\tsorted and span multiple pages.\n<END>", "<BEGIN>\n## `popular`", "Return a search result containing torrents appearing\n\t\ton the KAT hom...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_soup API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_soup API. 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 BeautifulSoup object for given page
"Return BeautifulSoup object for given page"
16
false
stephan-mclean/KickassTorrentsAPI
_get_soup
12,554
LDU_FT/gorakhargosh/pepe/parse_definitions
LDU_FT
[ "<BEGIN>\n## `_evaluate`", "Evaluate the given expression string with the given context.", " .. WARNING:\n This runs eval() on a user string. This is unsafe.\n<END>", "<BEGIN>\n## `preprocess`", "Preprocesses the specified file.", " :param input_filename:\n The input path.\n :param ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_definitions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_definitions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Parses a list of macro definitions and returns a "symbol table" as a dictionary. :params definitions: A list of command line macro definitions. Each item in the list should be in one of these two formats: * <variable>=<value> * <variable> :return: ``dict`` a...
"Parses a list of macro definitions and returns a \"symbol table\"\n as a dictionary.\n\n :params definitions:\n A list of command line macro definitions.\n Each item in the list should be in one of these two formats:\n\n * <variable>=<value>\n * <variable>\n :return:\n ...
49
false
gorakhargosh/pepe
parse_definitions
12,555
LDU_FT/intake/intake/main
LDU_FT
[ "<BEGIN>\n## `expand_defaults`", "Compile env, client_env, shell and client_shell commands\n<END>", "<BEGIN>\n## `get`", "Instantiate the DataSource for the given parameters\n<END>", "<BEGIN>\n## `_load`", "Load text of fcatalog file and pass to parse", " Will do nothing if autoreload is off and ...
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...
Execute the "intake" command line program.
"Execute the \"intake\" command line program."
280
false
intake/intake
main
12,556
LDU_FT/TC01/calcpkg/getDownloadUrls
LDU_FT
[ "<BEGIN>\n## `structureOutput`", "Formats the output of a list of packages\n<END>", "<BEGIN>\n## `count`", "Counts the number of ticalc.org files containing some search term, doesn't return them\n<END>", "<BEGIN>\n## `searchHierarchy`", "Core function to search directory structure for child files and fold...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getDownloadUrls API. 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 getDownloadUrls API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Return a list of the urls to download from
"Return a list of the urls to download from"
62
false
TC01/calcpkg
getDownloadUrls
12,557
LDU_FT/AndrewAnnex/SpiceyPy/dsksrf
LDU_FT
[ "<BEGIN>\n## `_distribution_info`", "Creates the distribution name and the expected extension for the\n CSPICE package and returns it.", " :return (distribution, extension) tuple where distribution is the best\n guess from the strings available within the platform_urls list\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dsksrf API. 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 dsksrf API. 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 ...
Find the set of surface ID codes for all surfaces associated with a given body in a specified DSK file. https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/dsksrf_c.html :param dsk: Name of DSK file. :type dsk: str :param bodyid: Integer body ID code. :type bodyid: int :retu...
"Find the set of surface ID codes for all surfaces associated with \n a given body in a specified DSK file. \n \n https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/dsksrf_c.html\n \n :param dsk: Name of DSK file.\n :type dsk: str\n :param bodyid: Integer body ID code.\n :type bodyid: int\...
2,164
true
AndrewAnnex/SpiceyPy
dsksrf
12,558
LDU_FT/stephen-bunn/file-config/_encode_var
LDU_FT
[ "<BEGIN>\n## `on_yaml_imported`", "The `pyyaml <https://pypi.org/project/pyyaml/>`_ import hook.", " :param module yaml: The ``yaml`` module\n<END>", "<BEGIN>\n## `on_yaml_dumps`", "The `pyyaml <https://pypi.org/project/pyyaml/>`_ dumps method.", " :param module yaml: The ``yaml`` module\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _encode_var API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _encode_var API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Encodes a variable to the appropriate string format for ini files. :param var: The variable to encode :return: The ini representation of the variable :rtype: str
"Encodes a variable to the appropriate string format for ini files.\n\n :param var: The variable to encode\n :return: The ini representation of the variable\n :rtype: str"
215
false
stephen-bunn/file-config
_encode_var
12,559
LDU_FT/ergo/ziggurat_foundations/base_query
LDU_FT
[ "<BEGIN>\n## `run_migrations_offline`", "Run migrations in 'offline' mode.", " This configures the context with just a URL\n and not an Engine, though an Engine is acceptable\n here as well. By skipping the Engine creation\n we don't even need a DBAPI to be available.", " Calls to context.exec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the base_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the base_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 extrac...
returns base query for specific service :param db_session: :return: query
"returns base query for specific service\n\n :param db_session:\n :return: query"
229
false
ergo/ziggurat_foundations
base_query
12,560
LDU_FT/theonion/djes/to_dict
LDU_FT
[ "<BEGIN>\n## `stringify`", "Turns all dictionary values into strings\n<END>", "<BEGIN>\n## `batched_queryset`", "Iterate over a Django Queryset ordered by the primary key", " This method loads a maximum of chunksize (default: 1000) rows in it's\n memory at the same time while django normally would loa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_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 extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_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 extracted...
Get a dictionary representation of this item, formatted for Elasticsearch
"Get a dictionary representation of this item, formatted for Elasticsearch"
30
false
theonion/djes
to_dict
12,561
LDU_FT/Datary/scrapbag/normalizer
LDU_FT
[ "<BEGIN>\n## `parse_spss_headerfile`", "Parse spss header file", " Arguments:\n path {str} -- path al fichero de cabecera.\n leyend_position -- posicion del la leyenda en el header.\n<END>", "<BEGIN>\n## `parse_spss_datafile`", "Parse spss data file", " Arguments:\n path {str} -...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalizer API. 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 normalizer API. 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...
Clean text string of simbols only alphanumeric chars.
"Clean text string of simbols only alphanumeric chars."
119
false
Datary/scrapbag
normalizer
12,562
LDU_FT/thumbor-community/redis/on_redis_error
LDU_FT
[ "<BEGIN>\n## `get_storage`", "Get the storage instance.", " :return Redis: Redis instance\n<END>", "<BEGIN>\n## `on_redis_error`", "Callback executed when there is a redis error.", " :param string fname: Function name that was being called.\n :param type exc_type: Exception type\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_redis_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 ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_redis_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 ex...
Callback executed when there is a redis error. :param string fname: Function name that was being called. :param type exc_type: Exception type :param Exception exc_value: The current exception :returns: Default value or raise the current exception
"Callback executed when there is a redis error.\n\n :param string fname: Function name that was being called.\n :param type exc_type: Exception type\n :param Exception exc_value: The current exception\n :returns: Default value or raise the current exception"
21
false
thumbor-community/redis
on_redis_error
12,563
LDU_FT/maciejkula/glove-python/read_analogy_file
LDU_FT
[ "<BEGIN>\n## `read_analogy_file`", "Read the analogy task test set from a file.\n<END>", "<BEGIN>\n## `analogy_rank_score`", "Calculate the analogy rank score for the given set of analogies.", " A rank of zero denotes a perfect score; with random word vectors\n we would expect a rank of 0.5.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_analogy_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_analogy_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...
Read the analogy task test set from a file.
"Read the analogy task test set from a file."
27
false
maciejkula/glove-python
read_analogy_file
12,564
LDU_FT/cloudboss/friend/format_obj_keys
LDU_FT
[ "<BEGIN>\n## `cached`", "A decorator function to cache values. It uses the decorated\n function's arguments as the keys to determine if the function\n has been called previously.\n<END>", "<BEGIN>\n## `retry_wait_time`", "Determine a retry wait time based on the number of the\n retry attempt and a ca...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_obj_keys API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_obj_keys API. 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...
Take a dictionary with string keys and recursively convert all keys from one form to another using the formatting function. The dictionary may contain lists as values, and any nested dictionaries within those lists will also be converted. :param object obj: The object to convert :param function fo...
"Take a dictionary with string keys and recursively convert\n all keys from one form to another using the formatting function.\n\n The dictionary may contain lists as values, and any nested\n dictionaries within those lists will also be converted.\n\n :param object obj: The object to convert\n :param fun...
49
false
cloudboss/friend
format_obj_keys
12,565
LDU_FT/CodyKochmann/graphdb/relations_of
LDU_FT
[ "<BEGIN>\n## `graph_hash`", "this hashes all types to a hash without colissions. python's hashing algorithms are not cross type compatable but hashing tuples with the type as the first element seems to do the trick\n<END>", "<BEGIN>\n## `store_item`", "use this function to store a python object in the databas...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the relations_of API. 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 relations_of API. 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...
list all relations the originate from target
"list all relations the originate from target"
44
false
CodyKochmann/graphdb
relations_of
12,566
LDU_FT/ghukill/pyfc4/get_versions
LDU_FT
[ "<BEGIN>\n## `_post_create`", "resource.create() hook", "\t\tFor PCDM Collections, post creation, also create\n<END>", "<BEGIN>\n## `get_related`", "get ore:aggregates for this resource, optionally retrieving resource payload", "\t\tArgs:\n\t\t\tretrieve (bool): if True, issue .refresh() on resource there...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_versions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_versions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
retrieves all versions of an object, and stores them at self.versions Args: None Returns: None: appends instances
"retrieves all versions of an object, and stores them at self.versions\n\n\t\tArgs:\n\t\t\tNone\n\n\t\tReturns:\n\t\t\tNone: appends instances"
203
false
ghukill/pyfc4
get_versions
12,567
LDU_FT/davidrpugh/pyCollocation/derivatives_factory
LDU_FT
[ "<BEGIN>\n## `_basis_spline_factory`", "Return a B-Spline given some coefficients.\n<END>", "<BEGIN>\n## `derivatives_factory`", "Given some coefficients, return a the derivative of a B-spline.\n<END>", "<BEGIN>\n## `functions_factory`", "Given some coefficients, return a B-spline.\n<END>", "<BEGIN>\n##...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the derivatives_factory 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 derivatives_factory API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Given some coefficients, return a the derivative of a certain kind of orthogonal polynomial defined over a specific domain.
"Given some coefficients, return a the derivative of a certain kind of\n orthogonal polynomial defined over a specific domain."
44
false
davidrpugh/pyCollocation
derivatives_factory
12,568
LDU_FT/linuxsoftware/ls.joyous/_getMyFirstDatetimeFrom
LDU_FT
[ "<BEGIN>\n## `getLocalTime`", "Get the time in the local timezone from date and time\n<END>", "<BEGIN>\n## `getLocalDateAndTime`", "Get the date and time in the local timezone from date and optionally time\n<END>", "<BEGIN>\n## `getLocalDatetime`", "Get a datetime in the local timezone from date and optio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _getMyFirstDatetimeFrom 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 _getMyFirstDatetimeFrom API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
The datetime this event first started, or None if it never did.
"The datetime this event first started, or None if it never did."
192
false
linuxsoftware/ls.joyous
_getMyFirstDatetimeFrom
12,569
LDU_FT/suurjaak/InputScope/select
LDU_FT
[ "<BEGIN>\n## `start`", "Starts the listener with incoming and outgoing queues.\n<END>", "<BEGIN>\n## `fetch`", "Convenience wrapper for database SELECT and fetch all.\n<END>", "<BEGIN>\n## `fetchone`", "Convenience wrapper for database SELECT and fetch one.\n<END>", "<BEGIN>\n## `insert`", "Convenienc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select API. 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 select API. 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 ...
Convenience wrapper for database SELECT.
"Convenience wrapper for database SELECT."
38
false
suurjaak/InputScope
select
12,570
LDU_FT/google-research/batch-ppo/map_
LDU_FT
[ "<BEGIN>\n## `count_weights`", "Count learnable parameters.", " Args:\n scope: Restrict the count to a variable scope.\n exclude: Regex to match variable names to exclude.\n graph: Operate on a graph other than the current default graph.", " Returns:\n Number of learnable parameters as integer.\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_ API. 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 map_ API. 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...
Apply a function to every element in a nested structure. If multiple structures are provided as input, their structure must match and the function will be applied to corresponding groups of elements. The nested structure can consist of any combination of lists, tuples, and dicts. Args: function: The funct...
"Apply a function to every element in a nested structure.\n\n If multiple structures are provided as input, their structure must match and\n the function will be applied to corresponding groups of elements. The nested\n structure can consist of any combination of lists, tuples, and dicts.\n\n Args:\n function: T...
362
false
google-research/batch-ppo
map_
12,571
LDU_FT/ska-sa/purr/focusOutEvent
LDU_FT
[ "<BEGIN>\n## `rotate`", "Rotate a coordinate around point (0,0).\n - x and y specify the coordinate.\n - degree is a number from 0 to 360.\n Returns a new coordinate.\n<END>", "<BEGIN>\n## `_compute_bounding_box`", "Given the list of coordinates (x,y), this procedure computes\n the smallest rectan...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the focusOutEvent API. 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 focusOutEvent API. 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...
Redefine focusOut events to stop editing
"Redefine focusOut events to stop editing"
265
false
ska-sa/purr
focusOutEvent
12,572