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/pbrisk/mathtoolspy/interpolation_bilinear | LDU_FT | [
"<BEGIN>\n## `minimum_bracketing`",
"Given a function func, and given distinct inital points ax and bx, this routine searches\n in the downhill direction (defined by the function as evaluated at the initial points)\n and returns new points at ax, bx, cx that bracket a minimum of the function.\n Also retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interpolation_bilinear 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 interpolation_bilinear API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | The points (x_i, y_i) and values z_ij are connected as follows:
Starting from lower left going in mathematically positive direction, i.e. counter clockwise.
Therefore: (x1,y1,z11), (x2,y1,z21), (x2,y2,z22), (x1,y2,z12). | "The points (x_i, y_i) and values z_ij are connected as follows:\n Starting from lower left going in mathematically positive direction, i.e. counter clockwise.\n Therefore: (x1,y1,z11), (x2,y1,z21), (x2,y2,z22), (x1,y2,z12)." | 24 | false | pbrisk/mathtoolspy | interpolation_bilinear | 141,073 | |
LDU_FT/scrapinghub/exporters/_post_document_batch | LDU_FT | [
"<BEGIN>\n## `formatted_prefix`",
"Gets a dict with format info, and formats a prefix template with that info. For example:\n if our prefix template is:\n 'some_file_{groups[0]}_{file_number}'",
" And we have this method called with:",
" formatted_prefix(groups=[US], file_number=0)... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _post_document_batch 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 _post_document_batch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Send a batch to Cloudsearch endpoint
See: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/submitting-doc-requests.html | "Send a batch to Cloudsearch endpoint\n\n See: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/submitting-doc-requests.html" | 90 | false | scrapinghub/exporters | _post_document_batch | 141,074 | |
LDU_FT/delfick/aws_syncr/sync_one | LDU_FT | [
"<BEGIN>\n## `catch_boto_400`",
"Turn a BotoServerError 400 into a BadAmazon\n<END>",
"<BEGIN>\n## `change`",
"Print out a change and then do the change if not doing a dry run\n<END>",
"<BEGIN>\n## `compare_two_documents`",
"Compare two documents by converting them into json objects and back to strings an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sync_one API.
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 sync_one API.
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... | Make sure this bucket exists and has only attributes we want it to have | "Make sure this bucket exists and has only attributes we want it to have" | 40 | false | delfick/aws_syncr | sync_one | 141,075 | |
LDU_FT/mrstephenneal/pdfconduit/center_str | LDU_FT | [
"<BEGIN>\n## `security`",
"Print security object information for a pdf document\n<END>",
"<BEGIN>\n## `draw`",
"Draw watermark PDF file.",
" Create watermark using either a reportlabs canvas or a PIL image.",
" :param text1: str\n Text line 1\n :param text2: str\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the center_str API.
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 center_str API.
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... | Center a string on the x axis of a reportslab canvas | "Center a string on the x axis of a reportslab canvas" | 63 | false | mrstephenneal/pdfconduit | center_str | 141,076 | |
LDU_FT/amperser/proselint/assert_error | LDU_FT | [
"<BEGIN>\n## `check`",
"Flag offensive words based on the GLAAD reference guide.\n<END>",
"<BEGIN>\n## `score`",
"Compute the linter's score on the corpus.",
" Proselint's score reflects the desire to have a linter that catches many\n errors, but which takes false alarms seriously. It is better not to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assert_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assert_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Assert that text has n errors of type check. | "Assert that text has n errors of type check." | 94 | false | amperser/proselint | assert_error | 141,077 | |
LDU_FT/flyingfrog81/fixreal/fix2real | LDU_FT | [
"<BEGIN>\n## `get_conv`",
"Creates a I{conversion structure} implented as a dictionary containing all parameters\n needed to switch between number representations.\n @param bits: the number of bits\n @param bin_point: binary point position\n @param signed: True if Fix, False if UFix\n @param scalin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fix2real API.
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 fix2real API.
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... | Convert a 32 bit unsigned int register into the value it represents in its Fixed arithmetic form.
@param uval: the numeric unsigned value in simulink representation
@param conv: conv structure with conversion specs as generated by I{get_conv}
@return: the real number represented by the Fixed arithmetic defi... | "Convert a 32 bit unsigned int register into the value it represents in its Fixed arithmetic form.\n @param uval: the numeric unsigned value in simulink representation\n @param conv: conv structure with conversion specs as generated by I{get_conv}\n @return: the real number represented by the Fixed arithmetic ... | 16 | false | flyingfrog81/fixreal | fix2real | 141,078 | |
LDU_FT/anjishnu/ask-alexa-pykit/launch_request_handler | LDU_FT | [
"<BEGIN>\n## `read_from_user`",
"Helper function to prompt user for input of a specific type \n e.g. float, str, int \n Designed to work with both python 2 and 3 \n Yes I know this is ugly.\n<END>",
"<BEGIN>\n## `load_builtin_slots`",
"Helper function to load builtin slots from the data location\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the launch_request_handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the launch_request_handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Annotate functions with @VoiceHandler so that they can be automatically mapped
to request types. Use the 'request_type' field to map them to non-intent requests | "Annotate functions with @VoiceHandler so that they can be automatically mapped \n to request types. Use the 'request_type' field to map them to non-intent requests" | 32 | false | anjishnu/ask-alexa-pykit | launch_request_handler | 141,079 | |
LDU_FT/lionheart/django-pyodbc/get_relations | LDU_FT | [
"<BEGIN>\n## `_get_sql_server_ver`",
"Returns the version of the SQL Server in use:\n<END>",
"<BEGIN>\n## `_switch_tz_offset_sql`",
"Returns the SQL that will convert field_name to UTC from tzname.\n<END>",
"<BEGIN>\n## `datetime_trunc_sql`",
"Given a lookup_type of 'year', 'month', 'day', 'hour', 'minute... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_relations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_relations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns a dictionary of {field_index: (field_index_other_table, other_table)}
representing all relationships to the given table. Indexes are 0-based. | "Returns a dictionary of {field_index: (field_index_other_table, other_table)}\n representing all relationships to the given table. Indexes are 0-based." | 51 | false | lionheart/django-pyodbc | get_relations | 141,080 | |
LDU_FT/zyga/morris/watchSignal | LDU_FT | [
"<BEGIN>\n## `remove_signals_listeners`",
"utility function that disconnects all listeners from all signals on an\n object\n<END>",
"<BEGIN>\n## `connect`",
"Connect a new listener to this signal",
" :param listener:\n The listener (callable) to add\n :param pass_signal:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the watchSignal API.
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 watchSignal API.
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... | Setup provisions to watch a specified signal
:param signal:
The :class:`Signal` to watch for.
After calling this method you can use :meth:`assertSignalFired()`
and :meth:`assertSignalNotFired()` with the same signal. | "Setup provisions to watch a specified signal\n\n :param signal:\n The :class:`Signal` to watch for.\n\n After calling this method you can use :meth:`assertSignalFired()`\n and :meth:`assertSignalNotFired()` with the same signal." | 27 | false | zyga/morris | watchSignal | 141,081 | |
LDU_FT/openclimatedata/pyhector/set_value | LDU_FT | [
"<BEGIN>\n## `read_hector_input`",
"Reads a Hector CSV file and returns it as a Pandas DataFrame.\n<END>",
"<BEGIN>\n## `write_hector_input`",
"Writes a scenario DataFrame to a CSV emissions file as used in Hector.",
" Parameters\n ----------\n scenario : DataFrame\n DataFrame with emissions... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_value API.
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... | Set config input value directly,
see :mod:`pyhector.emissions` for possible values.
Parameters
----------
section : str
Component in Hector config.
variable : str
Name of emissions variable.
value : pandas.Series, list, tuple, float, or str
... | "Set config input value directly,\n see :mod:`pyhector.emissions` for possible values.\n\n Parameters\n ----------\n section : str\n Component in Hector config.\n variable : str\n Name of emissions variable.\n value : pandas.Series, list, tuple, float, or ... | 19 | false | openclimatedata/pyhector | set_value | 141,082 | |
LDU_FT/atlassian-api/atlassian-python-api/get_permissionscheme | LDU_FT | [
"<BEGIN>\n## `clean_draft_pages_from_space`",
"Remove draft pages from space using datetime.now\n :param confluence:\n :param space_key:\n :param count:\n :param date_now:\n :return: int counter\n<END>",
"<BEGIN>\n## `clean_all_draft_pages_from_all_spaces`",
"Remove all draft pages for all spac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_permissionscheme 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_permissionscheme API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns a list of all permission schemes.
By default only shortened beans are returned.
If you want to include permissions of all the schemes,
then specify the permissions expand parameter.
Permissions will be included also if you specify any other expand parameter.
:param permis... | "Returns a list of all permission schemes.\n By default only shortened beans are returned.\n If you want to include permissions of all the schemes,\n then specify the permissions expand parameter.\n Permissions will be included also if you specify any other expand parameter.\n :param ... | 414 | false | atlassian-api/atlassian-python-api | get_permissionscheme | 141,083 | |
LDU_FT/lsst-sqre/documenteer/process_pending_configfield_xref_nodes | LDU_FT | [
"<BEGIN>\n## `run`",
"Main entrypoint method.",
" Returns\n -------\n new_nodes : `list`\n Nodes to add to the doctree.\n<END>",
"<BEGIN>\n## `main`",
"stack-docs is a CLI for building LSST Stack documentation, such as\n pipelines.lsst.io.",
" This command should be r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_pending_configfield_xref_nodes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_pending_configfield_xref_nodes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates... | Process the ``pending_configfield_xref`` nodes during the
``doctree-resolved`` event to insert links to the locations of
configuration field nodes.
See also
--------
`format_configfield_id`
`configfield_ref_role`
`pending_configfield_xref` | "Process the ``pending_configfield_xref`` nodes during the\n ``doctree-resolved`` event to insert links to the locations of\n configuration field nodes.\n\n See also\n --------\n `format_configfield_id`\n `configfield_ref_role`\n `pending_configfield_xref`" | 430 | false | lsst-sqre/documenteer | process_pending_configfield_xref_nodes | 141,084 | |
LDU_FT/aws/sagemaker-python-sdk/clear_cache | LDU_FT | [
"<BEGIN>\n## `deploy`",
"Deploy this ``Model`` to an ``Endpoint`` and optionally return a ``Predictor``.",
" Create a SageMaker ``Model`` and ``EndpointConfig``, and deploy an ``Endpoint`` from this ``Model``.\n If ``self.predictor_cls`` is not None, this method returns a the result of invoking\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clear_cache API.
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 clear_cache API.
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... | Clear the object of all local caches of API methods. | "Clear the object of all local caches of API methods." | 796 | false | aws/sagemaker-python-sdk | clear_cache | 141,085 | |
LDU_FT/selectel/pyte/ensure_hbounds | LDU_FT | [
"<BEGIN>\n## `default_char`",
"An empty character with default foreground and background colors.\n<END>",
"<BEGIN>\n## `display`",
"A :func:`list` of screen lines as unicode strings.\n<END>",
"<BEGIN>\n## `reset`",
"Reset the terminal to its initial state.",
" * Scrolling margins are reset to scr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ensure_hbounds API.
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 ensure_hbounds API.
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... | Ensure the cursor is within horizontal screen bounds. | "Ensure the cursor is within horizontal screen bounds." | 127 | false | selectel/pyte | ensure_hbounds | 141,086 | |
LDU_FT/dwavesystems/penaltymodel/get_penalty_model | LDU_FT | [
"<BEGIN>\n## `get_penalty_model`",
"Factory function for penaltymodel_maxgap.",
" Args:\n specification (penaltymodel.Specification): The specification\n for the desired penalty model.",
" Returns:\n :class:`penaltymodel.PenaltyModel`: Penalty model with the given specification.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_penalty_model API.
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_penalty_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Factory function for penaltymodel_maxgap.
Args:
specification (penaltymodel.Specification): The specification
for the desired penalty model.
Returns:
:class:`penaltymodel.PenaltyModel`: Penalty model with the given specification.
Raises:
:class:`penaltymodel.Impossible... | "Factory function for penaltymodel_maxgap.\n\n Args:\n specification (penaltymodel.Specification): The specification\n for the desired penalty model.\n\n Returns:\n :class:`penaltymodel.PenaltyModel`: Penalty model with the given specification.\n\n Raises:\n :class:`penaltymodel... | 186 | false | dwavesystems/penaltymodel | get_penalty_model | 141,087 | |
LDU_FT/jspricke/python-remind/_event_duration | LDU_FT | [
"<BEGIN>\n## `rem2ics`",
"Command line tool to convert from Remind to iCalendar\n<END>",
"<BEGIN>\n## `ics2rem`",
"Command line tool to convert from iCalendar to Remind\n<END>",
"<BEGIN>\n## `_parse_remind`",
"Calls remind and parses the output into a dict",
" filename -- the remind file (include... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _event_duration API.
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 _event_duration API.
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... | unify dtend and duration to the duration of the given vevent | "unify dtend and duration to the duration of the given vevent" | 47 | false | jspricke/python-remind | _event_duration | 141,088 | |
LDU_FT/edx/edx-drf-extensions/_includes_base_class | LDU_FT | [
"<BEGIN>\n## `authenticate_credentials`",
"Validate the bearer token against the OAuth provider.",
" Arguments:\n token (str): Access token to validate",
" Returns:\n (tuple): tuple containing:",
" user (User): User associated with the access token\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _includes_base_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _includes_base_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns whether any class in iter_class is a subclass of the given base_class. | "Returns whether any class in iter_class is a subclass of the given base_class." | 76 | false | edx/edx-drf-extensions | _includes_base_class | 141,089 | |
LDU_FT/aliyun/aliyun-odps-python-sdk/gain_chart | LDU_FT | [
"<BEGIN>\n## `_process_worker`",
"Evaluates calls from call_queue and places the results in result_queue.",
" This worker is run in a separate process.",
" Args:\n call_queue: A multiprocessing.Queue of _CallItems that will be read and\n evaluated by the worker.\n result_queue: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gain_chart API.
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 gain_chart API.
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... | r"""
Compute positive proportion, true positive rate (TPR) and threshold from predicted DataFrame. The trace can be plotted as a cumulative gain chart
Note that this method will trigger the defined flow to execute.
:param df: predicted data frame
:type df: DataFrame
:param pos_label: positive labe... | "r\"\"\"\n Compute positive proportion, true positive rate (TPR) and threshold from predicted DataFrame. The trace can be plotted as a cumulative gain chart\n\n Note that this method will trigger the defined flow to execute.\n\n :param df: predicted data frame\n :type df: DataFrame\n :param pos_label: po... | 1,057 | true | aliyun/aliyun-odps-python-sdk | gain_chart | 141,090 | |
LDU_FT/Calysto/calysto/loadInputs | LDU_FT | [
"<BEGIN>\n## `setCoords`",
"Set coordinates of window to run from (x1,y1) in the\n lower-left corner to (x2,y2) in the upper-right corner.\n<END>",
"<BEGIN>\n## `convert`",
"png, ps, pdf, gif, jpg, svg\n returns image in format as bytes\n<END>",
"<BEGIN>\n## `getPixels`",
"Return a stream of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the loadInputs API.
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 loadInputs API.
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... | Loads inputs from file. Patterning is lost. | "Loads inputs from file. Patterning is lost." | 236 | false | Calysto/calysto | loadInputs | 141,091 | |
LDU_FT/ArduPilot/MAVProxy/log_paths | LDU_FT | [
"<BEGIN>\n## `child_task`",
"child process - this holds all the GUI elements\n<END>",
"<BEGIN>\n## `load_tile_lowres`",
"load a lower resolution tile from cache to fill in a\n map while waiting for a higher resolution tile\n<END>",
"<BEGIN>\n## `area_to_image`",
"return an RGB image for an area of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_paths API.
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 log_paths API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns tuple (logdir, telemetry_log_filepath, raw_telemetry_log_filepath) | "Returns tuple (logdir, telemetry_log_filepath, raw_telemetry_log_filepath)" | 404 | false | ArduPilot/MAVProxy | log_paths | 141,092 | |
LDU_FT/CellProfiler/centrosome/regional_maximum | LDU_FT | [
"<BEGIN>\n## `fill_labeled_holes`",
"Fill all background pixels that are holes inside the foreground",
" A pixel is a hole inside a foreground object if",
" * there is no path from the pixel to the edge AND",
" * there is no path from the pixel to any other non-hole\n pixel AND",
" * ther... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the regional_maximum API.
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 regional_maximum API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Return a binary mask containing only points that are regional maxima
image - image to be transformed
mask - mask of relevant pixels
structure - binary structure giving the neighborhood and connectivity
in which to search for maxima. Default is 8-connected.
ties_are_ok - if ... | "Return a binary mask containing only points that are regional maxima\n \n image - image to be transformed\n mask - mask of relevant pixels\n structure - binary structure giving the neighborhood and connectivity\n in which to search for maxima. Default is 8-connected.\n ties_are_o... | 668 | false | CellProfiler/centrosome | regional_maximum | 141,093 | |
LDU_FT/farshidce/touchworks-python/get_providers | LDU_FT | [
"<BEGIN>\n## `get_token`",
"get the security token by connecting to TouchWorks API\n<END>",
"<BEGIN>\n## `_token_valid`",
"checks if the token cached is valid or has expired by comparing\n the time token was created with current time\n :return: True if token has not expired yet and False is toke... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_providers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_providers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | invokes TouchWorksMagicConstants.ACTION_GET_ENCOUNTER_LIST_FOR_PATIENT action
:param security_filter - This is the EntryCode of the Security_Code_DE dictionary
for the providers being sought. A list of valid security codes can be obtained from
GetDictionary on the Security_Code_DE dictio... | "invokes TouchWorksMagicConstants.ACTION_GET_ENCOUNTER_LIST_FOR_PATIENT action\n :param security_filter - This is the EntryCode of the Security_Code_DE dictionary\n for the providers being sought. A list of valid security codes can be obtained from\n GetDictionary on the Security_Code_DE di... | 72 | false | farshidce/touchworks-python | get_providers | 141,094 | |
LDU_FT/wtsi-hgi/python-hgijson/_serialize_property_value | LDU_FT | [
"<BEGIN>\n## `json_encoder_to_serializer`",
"Converts a `JSONEncoder` class into an equivalent `Serializer` class.\n :param encoder_cls: the encoder class type or a function that returns the type\n :return: the equivalent `Serializer` class\n<END>",
"<BEGIN>\n## `json_decoder_to_deserializer`",
"Convert... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _serialize_property_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _serialize_property_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Serializes the given value using the given serializer.
:param to_serialize: the value to deserialize
:param serializer_cls: the type of serializer to use
:return: serialized value | "Serializes the given value using the given serializer.\n :param to_serialize: the value to deserialize\n :param serializer_cls: the type of serializer to use\n :return: serialized value" | 32 | false | wtsi-hgi/python-hgijson | _serialize_property_value | 141,095 | |
LDU_FT/KeplerGO/K2fov/inMicrolensRegion | LDU_FT | [
"<BEGIN>\n## `angSepVincenty`",
"Vincenty formula for distances on a sphere\n<END>",
"<BEGIN>\n## `parse_file`",
"Parse a comma-separated file with columns \"ra,dec,magnitude\".\n<END>",
"<BEGIN>\n## `K2onSilicon`",
"Checks whether targets are on silicon during a given campaign.",
" This function wil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inMicrolensRegion API.
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 inMicrolensRegion API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Returns `True` if the given sky oordinate falls on the K2C9 superstamp.
Parameters
----------
ra_deg : float
Right Ascension (J2000) in decimal degrees.
dec_deg : float
Declination (J2000) in decimal degrees.
padding : float
Target must be at least `padding` pixels away fr... | "Returns `True` if the given sky oordinate falls on the K2C9 superstamp.\n\n Parameters\n ----------\n ra_deg : float\n Right Ascension (J2000) in decimal degrees.\n\n dec_deg : float\n Declination (J2000) in decimal degrees.\n\n padding : float\n Target must be at least `padding` pi... | 185 | false | KeplerGO/K2fov | inMicrolensRegion | 141,096 | |
LDU_FT/uw-it-aca/uw-restclients/exists_secondary_combined_list | LDU_FT | [
"<BEGIN>\n## `new_regid_custom_field`",
"Return a BridgeCustomField object for REGID\n to be used in a POST, PATCH request\n<END>",
"<BEGIN>\n## `get_reservations`",
"Return a list of reservations matching the passed filter.\n Supported kwargs are listed at\n http://knowledge25.collegenet.com/display... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exists_secondary_combined_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exists_secondary_combined_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Return True if a combined mailman list exists for all
the secondary course sections in the given quarter and year | "Return True if a combined mailman list exists for all\n the secondary course sections in the given quarter and year" | 129 | false | uw-it-aca/uw-restclients | exists_secondary_combined_list | 141,097 | |
LDU_FT/bpython/curtsies/get_cursor_position | LDU_FT | [
"<BEGIN>\n## `tictactoe`",
"Put two strategies to a classic battle of wits.\n<END>",
"<BEGIN>\n## `memo`",
"Return a function like f that remembers and reuses results of past calls.\n<END>",
"<BEGIN>\n## `max_play`",
"Play like Spock, except breaking ties by drunk_value.\n<END>",
"<BEGIN>\n## `drunk_val... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cursor_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cursor_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.
T... | Returns the terminal (row, column) of the cursor
0-indexed, like blessings cursor positions | "Returns the terminal (row, column) of the cursor\n\n 0-indexed, like blessings cursor positions" | 163 | false | bpython/curtsies | get_cursor_position | 141,098 | |
LDU_FT/mdsol/rwslib/build | LDU_FT | [
"<BEGIN>\n## `format_date_argument`",
"Take a date as either a datetime.date/datetime or a string and return it as a iso8601 formatted value\n :param Union[datetime.date, datetime.datetime] date_element: passed argument\n :rtype str\n :return:\n<END>",
"<BEGIN>\n## `dataset`",
"Qualify the dataset_na... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API.
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 build API.
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... | Build XML object, return the root, this is a copy for consistency and testing | "Build XML object, return the root, this is a copy for consistency and testing" | 120 | false | mdsol/rwslib | build | 141,099 | |
LDU_FT/KnowledgeLinks/rdfframework/get_rml_processors | LDU_FT | [
"<BEGIN>\n## `get_obj_frm_str`",
"Returns a python object from a python object string",
" args:\n obj_str: python object path expamle\n \"rdfframework.connections.ConnManager[{param1}]\"",
" kwargs:\n * kwargs used to format the 'obj_str'\n<END>",
"<BEGIN>\n## `pyfile_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_rml_processors API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_rml_processors API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Returns the es_defs with the instaniated rml_processor
Args:
-----
es_defs: the rdf_class elacticsearch defnitions
cls_name: the name of the tied class | "Returns the es_defs with the instaniated rml_processor\n\n Args:\n -----\n es_defs: the rdf_class elacticsearch defnitions\n cls_name: the name of the tied class" | 627 | false | KnowledgeLinks/rdfframework | get_rml_processors | 141,100 | |
LDU_FT/SylvanasSun/FishFishJump/_default_tokenizer_func | LDU_FT | [
"<BEGIN>\n## `hash`",
"function hash() implement to acquire hash value that use simply method that weighted sum.",
" Parameters:\n -----------\n value: string\n the value is param of need acquire hash\n Returns:\n --------\n result... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _default_tokenizer_func 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 _default_tokenizer_func API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Default tokenizer function that uses jieba tokenizer.
:param keyword_weight_pair: maximum pair number of the keyword-weight list.
:return: return keyword-weight list. Example: [('Example',0.4511233019962264),('Hello',0.25548051420382073),...]. | "Default tokenizer function that uses jieba tokenizer.\n\n :param keyword_weight_pair: maximum pair number of the keyword-weight list.\n :return: return keyword-weight list. Example: [('Example',0.4511233019962264),('Hello',0.25548051420382073),...]." | 97 | false | SylvanasSun/FishFishJump | _default_tokenizer_func | 141,101 | |
LDU_FT/rocky/python-xdis/get_instructions | LDU_FT | [
"<BEGIN>\n## `disco`",
"diassembles and deparses a given code block 'co'\n<END>",
"<BEGIN>\n## `disco_loop`",
"Disassembles a queue of code objects. If we discover\n another code object which will be found in co_consts, we add\n the new code to the list. Note that the order of code discovery\n is in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_instructions API.
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_instructions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Iterator for the opcodes in methods, functions or code
Generates a series of Instruction named tuples giving the details of
each operations in the supplied code.
If *first_line* is not None, it indicates the line number that should
be reported for the first source line in the disassemb... | "Iterator for the opcodes in methods, functions or code\n\n Generates a series of Instruction named tuples giving the details of\n each operations in the supplied code.\n\n If *first_line* is not None, it indicates the line number that should\n be reported for the first source line in the di... | 133 | false | rocky/python-xdis | get_instructions | 141,102 | |
LDU_FT/plandes/actioncli/_get_calling_module | LDU_FT | [
"<BEGIN>\n## `populate`",
"Set attributes in ``obj`` with ``setattr`` from the all values in\n ``section``.\n<END>",
"<BEGIN>\n## `_get_calling_module`",
"Get the last module in the call stack that is not this module or ``None`` if\n the call originated from this module.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_calling_module API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_calling_module 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 the last module in the call stack that is not this module or ``None`` if
the call originated from this module. | "Get the last module in the call stack that is not this module or ``None`` if\n the call originated from this module." | 67 | false | plandes/actioncli | _get_calling_module | 141,103 | |
LDU_FT/non-Jedi/gyr/_is_new | LDU_FT | [
"<BEGIN>\n## `register`",
"Performs /register with type: m.login.application_service",
" Args:\n username(str): Username to register.\n<END>",
"<BEGIN>\n## `add_handlers`",
"Adds routes to Application that use specified handlers.\n<END>",
"<BEGIN>\n## `is_full_mxid`",
"Returns True if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_new API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_new API.
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 True if identifier hasn't been seen before. | "Returns True if identifier hasn't been seen before." | 21 | false | non-Jedi/gyr | _is_new | 141,104 | |
LDU_FT/Metatab/metapack/_get_header | LDU_FT | [
"<BEGIN>\n## `_load_resource`",
"The CSV package has no reseources, so we just need to resolve the URLs to them. Usually, the\n CSV package is built from a file system ackage on a publically acessible server.\n<END>",
"<BEGIN>\n## `set_s3_profile`",
"Load the credentials for an s3 profile into envi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_header API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_header API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Get the header from the deinfed header rows, for use on references or resources where the schema
has not been run | "Get the header from the deinfed header rows, for use on references or resources where the schema\n has not been run" | 261 | false | Metatab/metapack | _get_header | 141,105 | |
LDU_FT/spacetelescope/stsci.tools/merge | LDU_FT | [
"<BEGIN>\n## `stsci`",
"For STScI GEIS files, need to do extra steps.\n<END>",
"<BEGIN>\n## `stsci2`",
"For STScI GEIS files, need to do extra steps.\n<END>",
"<BEGIN>\n## `readgeis`",
"Input GEIS files \"input\" will be read and a HDUList object will\n be returned.",
" The user can use the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | A recursive update - useful for merging config files.
>>> a = '''[section1]
... option1 = True
... [[subsection]]
... more_options = False
... # end of file'''.splitlines()
>>> b = '''# File is user.ini
... [section1]
... option1 =... | "A recursive update - useful for merging config files.\n\n >>> a = '''[section1]\n ... option1 = True\n ... [[subsection]]\n ... more_options = False\n ... # end of file'''.splitlines()\n >>> b = '''# File is user.ini\n ... [section1]\n ... ... | 917 | false | spacetelescope/stsci.tools | merge | 141,106 | |
LDU_FT/jrigden/pyPodcastParser/set_optional_elements | LDU_FT | [
"<BEGIN>\n## `set_is_valid_rss`",
"Check to if this is actually a valid RSS feed\n<END>",
"<BEGIN>\n## `set_optional_elements`",
"Sets elements considered option by RSS spec\n<END>",
"<BEGIN>\n## `count_items`",
"Counts Items in full_soup and soup. For debugging\n<END>",
"<BEGIN>\n## `set_creative_commo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_optional_elements API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_optional_elements API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Sets elements considered option by RSS spec | "Sets elements considered option by RSS spec" | 38 | false | jrigden/pyPodcastParser | set_optional_elements | 141,107 | |
LDU_FT/freakboy3742/pyxero/_put_attachment_data | LDU_FT | [
"<BEGIN>\n## `parse_date`",
"Takes a Xero formatted date, e.g. /Date(1426849200000+1300)/\n<END>",
"<BEGIN>\n## `json_load_object_hook`",
"Hook for json.parse(...) to parse Xero date formats.\n<END>",
"<BEGIN>\n## `_get_data`",
"This is the decorator for our DECORATED_METHODS.\n Each of the decorat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _put_attachment_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _put_attachment_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Upload an attachment to the Xero object. | "Upload an attachment to the Xero object." | 31 | false | freakboy3742/pyxero | _put_attachment_data | 141,108 | |
LDU_FT/henrysher/kotocore/get_collection | 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 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... | Returns a ``Collection`` **class** for a given service.
:param service_name: A string that specifies the name of the desired
service. Ex. ``sqs``, ``sns``, ``dynamodb``, etc.
:type service_name: string
:param collection_name: A string that specifies the name of the desired
... | "Returns a ``Collection`` **class** for a given service.\n\n :param service_name: A string that specifies the name of the desired\n service. Ex. ``sqs``, ``sns``, ``dynamodb``, etc.\n :type service_name: string\n\n :param collection_name: A string that specifies the name of the desired\n... | 198 | false | henrysher/kotocore | get_collection | 141,109 | |
LDU_FT/SBRG/ssbio/get_residue_annotations | LDU_FT | [
"<BEGIN>\n## `search_ss_bonds`",
"Searches S-S bonds based on distances\n between atoms in the structure (first model only).\n Average distance is 2.05A. Threshold is 3A default.\n Returns iterator with tuples of residues.",
" ADAPTED FROM JOAO RODRIGUES' BIOPYTHON GSOC PROJECT (http... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_residue_annotations 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_residue_annotations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Retrieve letter annotations for a residue or a range of residues
Args:
start_resnum (int): Residue number
end_resnum (int): Optional residue number, specify if a range is desired
Returns:
dict: Letter annotations for this residue or residues | "Retrieve letter annotations for a residue or a range of residues\n\n Args:\n start_resnum (int): Residue number\n end_resnum (int): Optional residue number, specify if a range is desired\n\n Returns:\n dict: Letter annotations for this residue or residues" | 1,487 | true | SBRG/ssbio | get_residue_annotations | 141,110 | |
LDU_FT/clinicedc/edc-notification/delete_member | LDU_FT | [
"<BEGIN>\n## `notify`",
"Overridden to only call `notify` if model matches.\n<END>",
"<BEGIN>\n## `notification_on_post_create_historical_record`",
"Checks and processes any notifications for this model.",
" Processes if `label_lower` is in site_notifications.models.",
" Note, this is the post_creat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_member API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_member API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns a response after attempting to remove
a member from the list. | "Returns a response after attempting to remove\n a member from the list." | 54 | false | clinicedc/edc-notification | delete_member | 141,111 | |
LDU_FT/etcher-be/elib_miz/get_country_by_id | LDU_FT | [
"<BEGIN>\n## `reorder`",
"Re-orders a miz file into a folder (flattened)",
" Args:\n miz_file_path: source miz file\n target_dir: folder to flatten the content into\n skip_options_file: do not re-order option file\n<END>",
"<BEGIN>\n## `decode`",
"Decodes the mission ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_country_by_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_country_by_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... | Gets a country in this coalition by its ID
Args:
country_id: country Id
Returns: Country | "Gets a country in this coalition by its ID\n\n Args:\n country_id: country Id\n\n Returns: Country" | 100 | false | etcher-be/elib_miz | get_country_by_id | 141,112 | |
LDU_FT/nuagenetworks/bambou/genealogic_types | LDU_FT | [
"<BEGIN>\n## `start`",
"Starts listening to events.",
" Args:\n timeout (int): number of seconds before timeout. Used for testing purpose only.\n root_object (bambou.NURESTRootObject): NURESTRootObject object that is listening. Used for testing purpose only.\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the genealogic_types API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the genealogic_types API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Get genealogic types
Returns:
Returns a list of all parent types | "Get genealogic types\n\n Returns:\n Returns a list of all parent types" | 177 | false | nuagenetworks/bambou | genealogic_types | 141,113 | |
LDU_FT/theonion/django-bulbs/delete | LDU_FT | [
"<BEGIN>\n## `save`",
"Kicks off celery task to re-save associated special coverages to percolator",
" :param args: inline arguments (optional)\n :param kwargs: keyword arguments\n :return: `bulbs.campaigns.Campaign`\n<END>",
"<BEGIN>\n## `get_field_info`",
"This method is basically a m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Remove an operation from the given pzone. | "Remove an operation from the given pzone." | 277 | false | theonion/django-bulbs | delete | 141,114 | |
LDU_FT/thespacedoctor/fundamentals/main | LDU_FT | [
"<BEGIN>\n## `main`",
"The main function used when ``yaml_to_database.py`` when installed as a cl tool\n<END>",
"<BEGIN>\n## `ingest`",
"*ingest the contents of the directory of yaml files into a database*",
" **Return:**\n - None",
" **Usage:**",
" To import an entir... | 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... | The main function used when ``yaml_to_database.py`` when installed as a cl tool | "The main function used when ``yaml_to_database.py`` when installed as a cl tool" | 306 | false | thespacedoctor/fundamentals | main | 141,115 | |
LDU_FT/awslabs/mxboard/_make_image | LDU_FT | [
"<BEGIN>\n## `close`",
"Flushes the pending events and closes the writer after it is done.\n<END>",
"<BEGIN>\n## `reopen`",
"Reopens the EventFileWriter.\n Can be called after `close()` to add more events in the same directory.\n The events will go into a new events file.\n Does nothing i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_image API.
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 _make_image API.
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... | Converts an NDArray type image to Image protobuf | "Converts an NDArray type image to Image protobuf" | 113 | false | awslabs/mxboard | _make_image | 141,116 | |
LDU_FT/PythonCharmers/python-future/decode_header | LDU_FT | [
"<BEGIN>\n## `time2isoz`",
"Return a string representing time in seconds since epoch, t.",
" If the function is called without an argument, it will use the current\n time.",
" The format of the returned string is like \"YYYY-MM-DD hh:mm:ssZ\",\n representing Universal Time (UTC, aka GMT). An exam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_header API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_header API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Decode a message header value without converting charset.
Returns a list of (string, charset) pairs containing each of the decoded
parts of the header. Charset is None for non-encoded parts of the header,
otherwise a lower-case string containing the name of the character set
specified in the encoded s... | "Decode a message header value without converting charset.\n\n Returns a list of (string, charset) pairs containing each of the decoded\n parts of the header. Charset is None for non-encoded parts of the header,\n otherwise a lower-case string containing the name of the character set\n specified in the enc... | 1,185 | true | PythonCharmers/python-future | decode_header | 141,117 | |
LDU_FT/benfred/implicit/normalize | LDU_FT | [
"<BEGIN>\n## `download_file`",
"Simple wrapper around urlretrieve that uses tqdm to display a progress\n bar of download progress\n<END>",
"<BEGIN>\n## `extract_gcc_binaries`",
"Try to find GCC on OSX for OpenMP support.\n<END>",
"<BEGIN>\n## `set_gcc`",
"Try to use GCC on OSX for OpenMP support.\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize API.
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 normalize API.
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... | equivalent to scipy.preprocessing.normalize on sparse matrices
, but lets avoid another depedency just for a small utility function | "equivalent to scipy.preprocessing.normalize on sparse matrices\n , but lets avoid another depedency just for a small utility function" | 87 | false | benfred/implicit | normalize | 141,118 | |
LDU_FT/secnot/rectpack/_container_candidates | LDU_FT | [
"<BEGIN>\n## `_add_section`",
"Adds a new section to the free section list, but before that and if \n section merge is enabled, tries to join the rectangle with all existing \n sections, if successful the resulting section is again merged with the \n remaining sections until the operation fai... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _container_candidates 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 _container_candidates API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Generate container candidate list
Returns:
tuple list: [(width1, height1), (width2, height2), ...] | "Generate container candidate list \n \n Returns:\n tuple list: [(width1, height1), (width2, height2), ...]" | 103 | false | secnot/rectpack | _container_candidates | 141,119 | |
LDU_FT/woolfson-group/isambard/rise_per_residue | LDU_FT | [
"<BEGIN>\n## `covalent_bonds`",
"Returns all the covalent bonds in a list of `Atom` pairs.",
" Notes\n -----\n Uses information `element_data`, which can be accessed directly\n through this module i.e. `isambard.ampal.interactions.element_data`.",
" Parameters\n ----------\n atoms : [(`At... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rise_per_residue API.
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 rise_per_residue API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | The rise per residue at each point on the Primitive.
Notes
-----
Each element of the returned list is the rise per residue,
at a point on the Primitive. Element i is the distance
between primitive[i] and primitive[i + 1]. The final value
is None. | "The rise per residue at each point on the Primitive.\n\n Notes\n -----\n Each element of the returned list is the rise per residue,\n at a point on the Primitive. Element i is the distance\n between primitive[i] and primitive[i + 1]. The final value\n is None." | 880 | false | woolfson-group/isambard | rise_per_residue | 141,120 | |
LDU_FT/UAVCAN/pyuavcan/defer | LDU_FT | [
"<BEGIN>\n## `enum_mark_last`",
"Returns a generator over iterable that tells whether the current item is the last one.\n Usage:\n >>> iterable = range(10)\n >>> for index, is_last, item in enum_mark_last(iterable):\n >>> print(index, item, end='\\n' if is_last else ', ')\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the defer API.
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 defer API.
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... | This method allows to invoke the callback with specified arguments once the specified amount of time.
:returns: EventHandle object. Call .remove() on it to cancel the event. | "This method allows to invoke the callback with specified arguments once the specified amount of time.\n :returns: EventHandle object. Call .remove() on it to cancel the event." | 65 | false | UAVCAN/pyuavcan | defer | 141,121 | |
LDU_FT/Robpol86/libnl/nl_socket_set_buffer_size | LDU_FT | [
"<BEGIN>\n## `nla_ok`",
"Check if the attribute header and payload can be accessed safely.",
" https://github.com/thom311/libnl/blob/libnl3_2_25/lib/attr.c#L148",
" Verifies that the header and payload do not exceed the number of bytes left in the attribute stream. This function\n must be called befo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nl_socket_set_buffer_size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nl_socket_set_buffer_size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Set socket buffer size of Netlink socket.
https://github.com/thom311/libnl/blob/libnl3_2_25/lib/socket.c#L675
Sets the socket buffer size of a Netlink socket to the specified values `rxbuf` and `txbuf`. Providing a value of 0
assumes a good default value.
Positional arguments:
sk -- Netlink socke... | "Set socket buffer size of Netlink socket.\n\n https://github.com/thom311/libnl/blob/libnl3_2_25/lib/socket.c#L675\n\n Sets the socket buffer size of a Netlink socket to the specified values `rxbuf` and `txbuf`. Providing a value of 0\n assumes a good default value.\n\n Positional arguments:\n sk -- Netl... | 702 | false | Robpol86/libnl | nl_socket_set_buffer_size | 141,122 | |
LDU_FT/sk-/git-lint/get_vcs_root | LDU_FT | [
"<BEGIN>\n## `find_invalid_filenames`",
"Find files that does not exist, are not in the repo or are directories.",
" Args:\n filenames: list of filenames to check\n repository_root: the absolute path of the repository's root.",
" Returns: A list of errors.\n<END>",
"<BEGIN>\n## `get_config`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_vcs_root API.
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_vcs_root API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns the vcs module and the root of the repo.
Returns:
A tuple containing the vcs module to use (git, hg) and the root of the
repository. If no repository exisits then (None, None) is returned. | "Returns the vcs module and the root of the repo.\n\n Returns:\n A tuple containing the vcs module to use (git, hg) and the root of the\n repository. If no repository exisits then (None, None) is returned." | 68 | false | sk-/git-lint | get_vcs_root | 141,123 | |
LDU_FT/TheHive-Project/TheHive4py/create_case_task | LDU_FT | [
"<BEGIN>\n## `create`",
"Create an instance of the Case class.\n :param title: Case title.\n :param description: Case description.\n :param kwargs: Additional arguments.",
" :return: The created instance.\n<END>",
"<BEGIN>\n## `update`",
"Update a case. \n :param ca... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_case_task API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_case_task API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | :param case_id: Case identifier
:param case_task: TheHive task
:type case_task: CaseTask defined in models.py
:return: TheHive task
:rtype: json | ":param case_id: Case identifier\n :param case_task: TheHive task\n :type case_task: CaseTask defined in models.py\n :return: TheHive task\n :rtype: json" | 39 | false | TheHive-Project/TheHive4py | create_case_task | 141,124 | |
LDU_FT/pyslackers/sir-bot-a-lot/_configure | LDU_FT | [
"<BEGIN>\n## `_configure`",
"Configure the core of sirbot",
" Merge the config with the default core config and configure logging.\n The default logging level is `INFO`\n<END>",
"<BEGIN>\n## `_import_plugins`",
"Import and register plugin in the plugin manager.",
" The pluggy library ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _configure API.
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 _configure API.
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... | Configure the core of sirbot
Merge the config with the default core config and configure logging.
The default logging level is `INFO` | "Configure the core of sirbot\n\n Merge the config with the default core config and configure logging.\n The default logging level is `INFO`" | 27 | false | pyslackers/sir-bot-a-lot | _configure | 141,125 | |
LDU_FT/h2oai/datatable/find_linked_dynamic_libraries | LDU_FT | [
"<BEGIN>\n## `_parse_row`",
"Scan a single row from an Excel file, and return the list of ranges\n corresponding to each consecutive span of non-empty cells in this row.\n If all cells are empty, return an empty list. Each \"range\" in the list\n is a tuple of the form `(startcol, endcol)`.",
" For ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_linked_dynamic_libraries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_linked_dynamic_libraries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | This function attempts to locate the required link libraries, and returns
them as a list of absolute paths. | "This function attempts to locate the required link libraries, and returns\n them as a list of absolute paths." | 49 | false | h2oai/datatable | find_linked_dynamic_libraries | 141,126 | |
LDU_FT/gregmuellegger/django-autofixture/register | LDU_FT | [
"<BEGIN>\n## `register`",
"Register a model with the registry.",
" Arguments:",
" *model* can be either a model class or a string that contains the model's\n app label and class name seperated by a dot, e.g. ``\"app.ModelClass\"``.",
" *autofixture* is the :mod:`AutoFixture` subclass... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Register a model with the registry.
Arguments:
*model* can be either a model class or a string that contains the model's
app label and class name seperated by a dot, e.g. ``"app.ModelClass"``.
*autofixture* is the :mod:`AutoFixture` subclass that shall be used to
generated instanc... | "Register a model with the registry.\n\n Arguments:\n\n *model* can be either a model class or a string that contains the model's\n app label and class name seperated by a dot, e.g. ``\"app.ModelClass\"``.\n\n *autofixture* is the :mod:`AutoFixture` subclass that shall be used to\n genera... | 46 | false | gregmuellegger/django-autofixture | register | 141,127 | |
LDU_FT/rigetti/rpcq/rpc_reply | LDU_FT | [
"<BEGIN>\n## `call_async`",
"Send JSON RPC request to a backend socket and receive reply (asynchronously)",
" :param method_name: Method name\n :param args: Args that will be passed to the remote function\n :param float rpc_timeout: Timeout in seconds for Server response, set to None to dis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rpc_reply API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rpc_reply API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Create RPC reply
:param str|int id: Request ID
:param result: Result
:param warnings: List of warnings to attach to the message
:return: JSON RPC formatted dict | "Create RPC reply\n\n :param str|int id: Request ID\n :param result: Result\n :param warnings: List of warnings to attach to the message\n :return: JSON RPC formatted dict" | 63 | false | rigetti/rpcq | rpc_reply | 141,128 | |
LDU_FT/CellProfiler/centrosome/color_labels | LDU_FT | [
"<BEGIN>\n## `fill_labeled_holes`",
"Fill all background pixels that are holes inside the foreground",
" A pixel is a hole inside a foreground object if",
" * there is no path from the pixel to the edge AND",
" * there is no path from the pixel to any other non-hole\n pixel AND",
" * ther... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the color_labels API.
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 color_labels API.
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... | Color a labels matrix so that no adjacent labels have the same color
distance_transform - if true, distance transform the labels to find out
which objects are closest to each other.
Create a label coloring matrix which assigns a color (1-n) to each pixel
in the labels matrix such tha... | "Color a labels matrix so that no adjacent labels have the same color\n \n distance_transform - if true, distance transform the labels to find out\n which objects are closest to each other.\n \n Create a label coloring matrix which assigns a color (1-n) to each pixel\n in the labels matrix s... | 668 | false | CellProfiler/centrosome | color_labels | 141,129 | |
LDU_FT/bitcraft/pyscroll/_create_buffers | LDU_FT | [
"<BEGIN>\n## `hit`",
"Returns the items that overlap a bounding rectangle.",
" Returns the set of all items in the quad-tree that overlap with a\n bounding rectangle.",
" @param rect:\n The bounding rectangle being tested against the quad-tree. This\n must possess le... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_buffers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_buffers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Create the buffers, taking in account pixel alpha or colorkey
:param view_size: pixel size of the view
:param buffer_size: pixel size of the buffer | "Create the buffers, taking in account pixel alpha or colorkey\n\n :param view_size: pixel size of the view\n :param buffer_size: pixel size of the buffer" | 112 | false | bitcraft/pyscroll | _create_buffers | 141,130 | |
LDU_FT/Kane610/axis/state | LDU_FT | [
"<BEGIN>\n## `session_request`",
"Do HTTP/S request and return response as a string.\n<END>",
"<BEGIN>\n## `get_event_list`",
"Get a dict of supported events from device.\n<END>",
"<BEGIN>\n## `_prepare_event`",
"Converts event instances to a relevant dictionary.\n<END>",
"<BEGIN>\n## `process_raw`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the state API.
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 state API.
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... | Which state the session is in.
Starting - all messages needed to get stream started.
Playing - keep-alive messages every self.session_timeout. | "Which state the session is in.\n\n Starting - all messages needed to get stream started.\n Playing - keep-alive messages every self.session_timeout." | 55 | false | Kane610/axis | state | 141,131 | |
LDU_FT/moralrecordings/mrcrowbar/set_offset | LDU_FT | [
"<BEGIN>\n## `decode_nfo`",
"Decodes a byte string in NFO format (beloved by PC scener groups) from DOS Code Page 437 \n to Unicode.\n<END>",
"<BEGIN>\n## `ansi_format_iter`",
"Return the ANSI escape sequence to render the image.",
" x_start\n Offset from the left of the image data to r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_offset API.
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 set_offset API.
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... | Set the current read offset (in bytes) for the instance. | "Set the current read offset (in bytes) for the instance." | 214 | false | moralrecordings/mrcrowbar | set_offset | 141,132 | |
LDU_FT/kytos/python-openflow/unpack | LDU_FT | [
"<BEGIN>\n## `in_port`",
"Retrieve the 'in_port' that generated the PacketIn.",
" This method will look for the OXM_TLV with type OFPXMT_OFB_IN_PORT on\n the `oxm_match_fields` field from `match` field and return its value,\n if the OXM exists.",
" Returns:\n The integer... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unpack API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unpack API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Unpack a binary message into this object's attributes.
Unpack the binary value *buff* and update this object attributes based
on the results.
Args:
buff (bytes): Binary data package to be unpacked.
offset (int): Where to begin unpacking.
Raises:
Exc... | "Unpack a binary message into this object's attributes.\n\n Unpack the binary value *buff* and update this object attributes based\n on the results.\n\n Args:\n buff (bytes): Binary data package to be unpacked.\n offset (int): Where to begin unpacking.\n\n Raises:\n ... | 348 | false | kytos/python-openflow | unpack | 141,133 | |
LDU_FT/StackStorm/pybind/_set_system_utilization_state | LDU_FT | [
"<BEGIN>\n## `_set_virtual_mac`",
"Setter method for virtual_mac, mapped from YANG variable /rbridge_id/interface/ve/ipv6/vrrpv3e/virtual_mac (container)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_virtual_mac is considered as a private\n method. Backends looking ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_system_utilization_state API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_system_utilization_state API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Setter method for system_utilization_state, mapped from YANG variable /system_utilization_state (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_utilization_state is considered as a private
method. Backends looking to populate this variable should
do so... | "Setter method for system_utilization_state, mapped from YANG variable /system_utilization_state (container)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_system_utilization_state is considered as a private\n method. Backends looking to populate this variable should\n ... | 3,057 | true | StackStorm/pybind | _set_system_utilization_state | 141,134 | |
LDU_FT/ruipgil/TrackToTrip/with_extrapolation | LDU_FT | [
"<BEGIN>\n## `remove_liers`",
"Removes obvious noise points",
" Checks time consistency, removing points that appear out of order",
" Args:\n points (:obj:`list` of :obj:`Point`)\n Returns:\n :obj:`list` of :obj:`Point`\n<END>",
"<BEGIN>\n## `bounds`",
"Computes the bounds of the se... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the with_extrapolation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the with_extrapolation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Smooths a set of points, but it extrapolates some points at the beginning
Args:
points (:obj:`list` of :obj:`Point`)
noise (float): Expected noise, the higher it is the more the path will
be smoothed.
Returns:
:obj:`list` of :obj:`Point` | "Smooths a set of points, but it extrapolates some points at the beginning\n\n Args:\n points (:obj:`list` of :obj:`Point`)\n noise (float): Expected noise, the higher it is the more the path will\n be smoothed.\n Returns:\n :obj:`list` of :obj:`Point`" | 262 | false | ruipgil/TrackToTrip | with_extrapolation | 141,135 | |
LDU_FT/NYUCCL/psiTurk/add_bonus | LDU_FT | [
"<BEGIN>\n## `check_auth`",
"This function is called to check if a username password combination\n is valid.\n<END>",
"<BEGIN>\n## `requires_auth`",
"Decorator to prompt for user name and password. Useful for data dumps,\n etc. That you don't want to be public.\n<END>",
"<BEGIN>\n## `get_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_bonus API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_bonus API.
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... | Adds DB-logged worker bonus to worker list data | "Adds DB-logged worker bonus to worker list data" | 65 | false | NYUCCL/psiTurk | add_bonus | 141,136 | |
LDU_FT/EventTeam/beliefs/same_domain | LDU_FT | [
"<BEGIN>\n## `size`",
"Size of LazyCell: the size of the intension plus accounting for\n excluded and included additions.",
" The exclusions are assumed to be part of the set\n The inclusions are assumed to NOT be part of the intension\n<END>",
"<BEGIN>\n## `update`",
"Updates intensio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the same_domain API.
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 same_domain API.
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... | Cheap pointer comparison or symmetric difference operation
to ensure domains are the same | "Cheap pointer comparison or symmetric difference operation\n to ensure domains are the same" | 158 | false | EventTeam/beliefs | same_domain | 141,137 | |
LDU_FT/prezi/django-zipkin/getTraceTimelinesByIds | LDU_FT | [
"<BEGIN>\n## `getTraceIdsBySpanName`",
"Fetch trace ids by service and span name.\n Gets \"limit\" number of entries from before the \"end_ts\".",
" Span name is optional.\n Timestamps are in microseconds.",
" Parameters:\n - service_name\n - span_name\n - end_ts\n - limit\n - ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getTraceTimelinesByIds 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 getTraceTimelinesByIds 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 the trace timelines associated with the given trace ids.
This is a convenience method for users that just want to know
the annotations and the (assumed) order they happened in.
Second argument is a list of methods of adjusting the trace
data before returning it. Can be empty.
Note that if one ... | "Get the trace timelines associated with the given trace ids.\n This is a convenience method for users that just want to know\n the annotations and the (assumed) order they happened in.\n\n Second argument is a list of methods of adjusting the trace\n data before returning it. Can be empty.\n\n Note that... | 49 | false | prezi/django-zipkin | getTraceTimelinesByIds | 141,138 | |
LDU_FT/ouroboroscoding/format-oc-python/optional | LDU_FT | [
"<BEGIN>\n## `default`",
"Default",
"\t\tCalled when the regular Encoder can't figure out what to do with the type",
"\t\tArgs:\n\t\t\tself (CEncoder): A pointer to the current instance\n\t\t\tobj (mixed): An unknown object that needs to be encoded",
"\t\tReturns:\n\t\t\tstr: A valid JSON string representin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the optional API.
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 optional API.
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... | Optional
Getter/Setter method for optional flag
Args:
value (bool): If set, the method is a setter
Returns:
bool | None | "Optional\n\n\t\tGetter/Setter method for optional flag\n\n\t\tArgs:\n\t\t\tvalue (bool): If set, the method is a setter\n\n\t\tReturns:\n\t\t\tbool | None" | 155 | false | ouroboroscoding/format-oc-python | optional | 141,139 | |
LDU_FT/reillysiemens/layabout/connect_with_retry | LDU_FT | [
"<BEGIN>\n## `channel_to_id`",
"Surely there's a better way to do this...\n<END>",
"<BEGIN>\n## `send_message`",
"Prompt for and send a message to a channel.\n<END>",
"<BEGIN>\n## `_format_parameter_error_message`",
"Format an error message for missing positional arguments.",
" Args:\n name: T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect_with_retry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect_with_retry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Attempt to connect to the Slack API. Retry on failures. | "Attempt to connect to the Slack API. Retry on failures." | 27 | false | reillysiemens/layabout | connect_with_retry | 141,140 | |
LDU_FT/aewallin/allantools/mdev | LDU_FT | [
"<BEGIN>\n## `set_input`",
"Set inputs after initialization",
" Parameters\n -------\n nr: integer\n length of generated time-series\n number must be power of two\n qd: float\n discrete variance\n b: float\n noise type:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mdev API.
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 mdev API.
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... | Modified Allan deviation.
Used to distinguish between White and Flicker Phase Modulation.
.. math::
\\sigma^2_{MDEV}(m\\tau_0) = { 1 \\over 2 (m \\tau_0 )^2 (N-3m+1) }
\\sum_{j=1}^{N-3m+1} \\lbrace
\\sum_{i=j}^{j+m-1} {x}_{i+2m} - 2x_{i+m} + x_{i} \\rbrace^2
Parameters
--... | "Modified Allan deviation.\n Used to distinguish between White and Flicker Phase Modulation.\n\n .. math::\n\n \\\\sigma^2_{MDEV}(m\\\\tau_0) = { 1 \\\\over 2 (m \\\\tau_0 )^2 (N-3m+1) }\n \\\\sum_{j=1}^{N-3m+1} \\\\lbrace\n \\\\sum_{i=j}^{j+m-1} {x}_{i+2m} - 2x_{i+m} + x_{i} \\\\rbrace^... | 273 | false | aewallin/allantools | mdev | 141,141 | |
LDU_FT/basvandenbroek/gcloud_taskqueue/full_name | LDU_FT | [
"<BEGIN>\n## `get_items_from_response`",
"Yield :class:`.taskqueue.task.Task` items from response.",
" :type response: dict\n :param response: The JSON API response for a page of tasks.\n<END>",
"<BEGIN>\n## `full_name`",
"Fully-qualified name used in taskqueues / tasks APIs\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the full_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the full_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 extract... | Fully-qualified name used in taskqueues / tasks APIs | "Fully-qualified name used in taskqueues / tasks APIs" | 74 | false | basvandenbroek/gcloud_taskqueue | full_name | 141,142 | |
LDU_FT/rmed/pyemtmad/get_poi | LDU_FT | [
"<BEGIN>\n## `check_result`",
"Check the result of an API response.",
" Ideally, this should be done by checking that the value of the ``resultCode``\n attribute is 0, but there are endpoints that simply do not follow this rule.",
" Args:\n data (dict): Response obtained from the API endpoint.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_poi API.
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 get_poi API.
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... | Obtain a list of POI in the given radius.
Args:
latitude (double): Latitude in decimal degrees.
longitude (double): Longitude in decimal degrees.
types (list[int] | int): POI IDs (or empty list to get all).
radius (int): Radius (in meters) of the search.
... | "Obtain a list of POI in the given radius.\n\n Args:\n latitude (double): Latitude in decimal degrees.\n longitude (double): Longitude in decimal degrees.\n types (list[int] | int): POI IDs (or empty list to get all).\n radius (int): Radius (in meters) of the search.\n... | 114 | false | rmed/pyemtmad | get_poi | 141,143 | |
LDU_FT/LuqueDaniel/pybooru/_get | LDU_FT | [
"<BEGIN>\n## `post_update`",
"Update a specific post (Requires login).",
" Parameters:\n post_id (int): The id number of the post to update.\n tag_string (str): A space delimited list of tags.\n rating (str): The rating for the post. Can be: safe, questionable,\n ... | 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 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 do... | Function to preapre API call.
Parameters:
api_call (str): API function to be called.
params (dict): API function parameters.
method (str): (Defauld: GET) HTTP method 'GET' or 'POST'
file_ (file): File to upload. | "Function to preapre API call.\n\n Parameters:\n api_call (str): API function to be called.\n params (dict): API function parameters.\n method (str): (Defauld: GET) HTTP method 'GET' or 'POST'\n file_ (file): File to upload." | 299 | false | LuqueDaniel/pybooru | _get | 141,144 | |
LDU_FT/ccubed/PyMoe/chapters | LDU_FT | [
"<BEGIN>\n## `to_xml`",
"Convert data to XML String.\n :return: Str of valid XML data\n<END>",
"<BEGIN>\n## `search`",
"Search for a user by name.",
" :param str term: What to search for.\n :return: The results as a SearchWrapper iterator or None if no results.\n :rtype: SearchWr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chapters API.
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 chapters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Get a list of chapters for a visual novel. Keep in mind, this can be slow. I've certainly tried to make it as fast as possible, but it's still pulling text out of a webpage.
:param str title: The title of the novel you want chapters from
:return OrderedDict: An OrderedDict which contains the chapters f... | "Get a list of chapters for a visual novel. Keep in mind, this can be slow. I've certainly tried to make it as fast as possible, but it's still pulling text out of a webpage.\n\n :param str title: The title of the novel you want chapters from\n :return OrderedDict: An OrderedDict which contains the chapte... | 105 | false | ccubed/PyMoe | chapters | 141,145 | |
LDU_FT/ericmjl/nxviz/draw_nodes | LDU_FT | [
"<BEGIN>\n## `draw`",
"Draws the Plot to screen.",
" If there is a continuous datatype for the nodes, it will be reflected\n in self.sm being constructed (in `compute_node_colors`). It will then\n automatically add in a colorbar to the plot and scale the plot axes\n accordingly.\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_nodes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_nodes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Draws nodes to the screen.
GeoPlot is the first plot kind to support an Altair backend in addition
to the usual matplotlib backend. | "Draws nodes to the screen.\n\n GeoPlot is the first plot kind to support an Altair backend in addition\n to the usual matplotlib backend." | 83 | false | ericmjl/nxviz | draw_nodes | 141,146 | |
LDU_FT/chop-dbhi/varify-data-warehouse/load_variants | LDU_FT | [
"<BEGIN>\n## `read`",
"Reads up to size bytes, but always completes the last line.\n<END>",
"<BEGIN>\n## `readline`",
"The size is ignored since a complete line must be read.\n<END>",
"<BEGIN>\n## `process_line`",
"Process a single record. This assumes only a single sample output.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_variants API.
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 load_variants API.
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... | Variant loading requires only a VCF file and will never load a duplicate. | "Variant loading requires only a VCF file and will never load a duplicate." | 53 | false | chop-dbhi/varify-data-warehouse | load_variants | 141,147 | |
LDU_FT/Cadair/jupyter_environment_kernels/_get_env_data | LDU_FT | [
"<BEGIN>\n## `convert_to_env_data`",
"Converts a list of paths to environments to env_data.",
" env_data is a structure {name -> (ressourcedir, kernel spec)}\n<END>",
"<BEGIN>\n## `validate_IPykernel`",
"Validates that this env contains an IPython kernel and returns info to start it",
" Returns: tup... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_env_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_env_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Get the data about the available environments.
env_data is a structure {name -> (resourcedir, kernel spec)} | "Get the data about the available environments.\n\n env_data is a structure {name -> (resourcedir, kernel spec)}" | 69 | false | Cadair/jupyter_environment_kernels | _get_env_data | 141,148 | |
LDU_FT/podio/valideer/returns | LDU_FT | [
"<BEGIN>\n## `parse`",
"Try to parse the given ``obj`` as a validator instance.",
" :param obj: The object to be parsed. If it is a...:",
" - :py:class:`Validator` instance, return it.\n - :py:class:`Validator` subclass, instantiate it without arguments and\n return it.\n - :p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the returns API.
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 returns API.
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... | Create a decorator for validating function return value.
Example::
@accepts(a=int, b=int)
@returns(int)
def f(a, b):
return a + b
:param schema: The schema for adapting a given parameter. | "Create a decorator for validating function return value.\n\n Example::\n @accepts(a=int, b=int)\n @returns(int)\n def f(a, b):\n return a + b\n\n :param schema: The schema for adapting a given parameter." | 36 | false | podio/valideer | returns | 141,149 | |
LDU_FT/ghukill/pyfc4/dump | 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 dump API.
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 dump API.
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... | Convenience method to return RDF data for resource,
optionally selecting serialization format.
Inspired by .dump from Samvera.
Args:
format (str): expecting serialization formats accepted by rdflib.serialization(format=) | "Convenience method to return RDF data for resource,\n\t\toptionally selecting serialization format.\n\t\tInspired by .dump from Samvera.\n\n\t\tArgs:\n\t\t\tformat (str): expecting serialization formats accepted by rdflib.serialization(format=)" | 203 | false | ghukill/pyfc4 | dump | 141,150 | |
LDU_FT/dchaplinsky/unshred/_calc_block_mean_variance | LDU_FT | [
"<BEGIN>\n## `_calc_block_mean_variance`",
"Adaptively determines image background.",
" Args:\n image: image converted 1-channel image.\n mask: 1-channel mask, same size as image.\n blocksize: adaptive algorithm parameter.",
" Returns:\n image of same size as input with foreg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _calc_block_mean_variance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _calc_block_mean_variance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Adaptively determines image background.
Args:
image: image converted 1-channel image.
mask: 1-channel mask, same size as image.
blocksize: adaptive algorithm parameter.
Returns:
image of same size as input with foreground inpainted with background. | "Adaptively determines image background.\n\n Args:\n image: image converted 1-channel image.\n mask: 1-channel mask, same size as image.\n blocksize: adaptive algorithm parameter.\n\n Returns:\n image of same size as input with foreground inpainted with background." | 26 | false | dchaplinsky/unshred | _calc_block_mean_variance | 141,151 | |
LDU_FT/simonvh/genomepy/convert | LDU_FT | [
"<BEGIN>\n## `register_provider`",
"Register method to keep list of providers.\n<END>",
"<BEGIN>\n## `tar_to_bigfile`",
"Convert tar of multiple FASTAs to one file.\n<END>",
"<BEGIN>\n## `download_genome`",
"Download a (gzipped) genome file to a specific directory",
" Parameters\n --------... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert API.
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 convert API.
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... | Convert CamelCase to underscore
Parameters
----------
name : str
Camelcase string
Returns
-------
name : str
Converted name | "Convert CamelCase to underscore\n\n Parameters\n ----------\n name : str\n Camelcase string\n\n Returns\n -------\n name : str\n Converted name" | 87 | false | simonvh/genomepy | convert | 141,152 | |
LDU_FT/hozn/coilmq/subscribe | LDU_FT | [
"<BEGIN>\n## `server_from_config`",
"Gets a configured L{coilmq.server.StompServer} from specified config.",
" If `config` is None, global L{coilmq.config.config} var will be used instead.",
" The `server_class` and `additional_kwargs` are primarily hooks for using this method\n from a testing enviro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subscribe API.
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 subscribe API.
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... | Subscribes a connection to the specified destination (topic or queue).
@param connection: The connection to subscribe.
@type connection: L{coilmq.server.StompConnection}
@param destination: The topic/queue destination (e.g. '/queue/foo')
@type destination: C{str} | "Subscribes a connection to the specified destination (topic or queue). \n\n @param connection: The connection to subscribe.\n @type connection: L{coilmq.server.StompConnection}\n\n @param destination: The topic/queue destination (e.g. '/queue/foo')\n @type destination: C{str}" | 211 | false | hozn/coilmq | subscribe | 141,153 | |
LDU_FT/OnroerendErfgoed/skosprovider_getty/get_by_uri | LDU_FT | [
"<BEGIN>\n## `get_by_id`",
"Get a :class:`skosprovider.skos.Concept` or :class:`skosprovider.skos.Collection` by id",
" :param (str) id: integer id of the :class:`skosprovider.skos.Concept` or :class:`skosprovider.skos.Concept`\n :return: corresponding :class:`skosprovider.skos.Concept` or :class:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_by_uri API.
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_by_uri API.
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... | Get a :class:`skosprovider.skos.Concept` or :class:`skosprovider.skos.Collection` by uri
:param (str) uri: string uri of the :class:`skosprovider.skos.Concept` or :class:`skosprovider.skos.Concept`
:return: corresponding :class:`skosprovider.skos.Concept` or :class:`skosprovider.skos.Concept`.
... | "Get a :class:`skosprovider.skos.Concept` or :class:`skosprovider.skos.Collection` by uri\n\n :param (str) uri: string uri of the :class:`skosprovider.skos.Concept` or :class:`skosprovider.skos.Concept`\n :return: corresponding :class:`skosprovider.skos.Concept` or :class:`skosprovider.skos.Concept`.\n ... | 36 | false | OnroerendErfgoed/skosprovider_getty | get_by_uri | 141,154 | |
LDU_FT/CloudGenix/sdk-python/_subclass_container | LDU_FT | [
"<BEGIN>\n## `jdout`",
"JD Output function. Does quick pretty printing of a CloudGenix Response body. This function returns a string\n instead of directly printing content.",
" **Parameters:**",
" - **api_response:** A CloudGenix-attribute extended `requests.Response` object",
" **Returns:**... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _subclass_container 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 _subclass_container 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... | Call subclasses via function to allow passing parent namespace to subclasses.
**Returns:** dict with subclass references. | "Call subclasses via function to allow passing parent namespace to subclasses.\n\n **Returns:** dict with subclass references." | 153 | false | CloudGenix/sdk-python | _subclass_container | 141,155 | |
LDU_FT/CiscoTestAutomation/yang/_node_le | LDU_FT | [
"<BEGIN>\n## `retrieve_config`",
"retrieve_config",
" High-level api: Retrive config from rpc-reply.",
" Parameters\n ----------",
" element : `Element`\n A rpc-reply or content of Config instance.",
" Returns\n -------",
" Element\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _node_le API.
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 _node_le API.
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... | _node_le
Low-level api: Return True if all descendants of one node exist in the
other node. Otherwise False. This is a recursive method.
Parameters
----------
node_self : `Element`
A node to be compared.
node_other : `Element`
Another node to b... | "_node_le\n\n Low-level api: Return True if all descendants of one node exist in the\n other node. Otherwise False. This is a recursive method.\n\n Parameters\n ----------\n\n node_self : `Element`\n A node to be compared.\n\n node_other : `Element`\n Anot... | 554 | false | CiscoTestAutomation/yang | _node_le | 141,156 | |
LDU_FT/Tanganelli/CoAPthon3/edit_resource | LDU_FT | [
"<BEGIN>\n## `etag`",
"Set the ETag of the resource.",
" :param etag: the ETag\n<END>",
"<BEGIN>\n## `payload`",
"Get the payload of the resource according to the content type specified by required_content_type or\n \"text/plain\" by default.",
" :return: the payload.\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edit_resource API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edit_resource API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Render a POST on an already created resource.
:param path: the path of the resource
:param transaction: the transaction
:return: the transaction | "Render a POST on an already created resource.\n\n :param path: the path of the resource\n :param transaction: the transaction\n :return: the transaction" | 478 | false | Tanganelli/CoAPthon3 | edit_resource | 141,157 | |
LDU_FT/scikit-umfpack/scikit-umfpack/numeric | LDU_FT | [
"<BEGIN>\n## `symbolic`",
"Perform symbolic object (symbolic LU decomposition) computation for a given\n sparsity pattern.\n<END>",
"<BEGIN>\n## `numeric`",
"Perform numeric object (LU decomposition) computation using the\n symbolic decomposition. The symbolic decomposition is (re)computed\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted... | Perform numeric object (LU decomposition) computation using the
symbolic decomposition. The symbolic decomposition is (re)computed
if necessary. | "Perform numeric object (LU decomposition) computation using the\n symbolic decomposition. The symbolic decomposition is (re)computed\n if necessary." | 30 | false | scikit-umfpack/scikit-umfpack | numeric | 141,158 | |
LDU_FT/LettError/ufoProcessor/checkGlyphIsEmpty | LDU_FT | [
"<BEGIN>\n## `getKerningMutator`",
"Return a kerning mutator, collect the sources, build mathGlyphs.\n If no pairs are given: calculate the whole table.\n If pairs are given then query the sources for a value and make a mutator only with those values.\n<END>",
"<BEGIN>\n## `collectMastersF... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the checkGlyphIsEmpty API.
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 checkGlyphIsEmpty API.
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 establish if the glyph is completely empty by drawing the glyph with an EmptyPen.
Additionally, the unicode of the glyph is checked against a list of known unicode whitespace
characters. This makes it possible to filter out glyphs that have a valid reason to be empty
and those that can... | "This will establish if the glyph is completely empty by drawing the glyph with an EmptyPen.\n Additionally, the unicode of the glyph is checked against a list of known unicode whitespace\n characters. This makes it possible to filter out glyphs that have a valid reason to be empty\n and those that... | 11 | false | LettError/ufoProcessor | checkGlyphIsEmpty | 141,159 | |
LDU_FT/redodo/formats/register | LDU_FT | [
"<BEGIN>\n## `register`",
"Registers a parser and composer of a format.",
" You can use this method to overwrite existing formats.",
" :param type: The unique name of the format\n :param parser: The method to parse data as the format\n :param composer: The method to compose data as the format\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Registers a parser and composer of a format.
You can use this method to overwrite existing formats.
:param type: The unique name of the format
:param parser: The method to parse data as the format
:param composer: The method to compose data as the format
:param meta: The extra information associat... | "Registers a parser and composer of a format.\n\n You can use this method to overwrite existing formats.\n\n :param type: The unique name of the format\n :param parser: The method to parse data as the format\n :param composer: The method to compose data as the format\n :param meta: The extra information ... | 59 | false | redodo/formats | register | 141,160 | |
LDU_FT/wmayner/pyphi/indent | LDU_FT | [
"<BEGIN>\n## `memory_full`",
"Check if the memory is too full for further caching.\n<END>",
"<BEGIN>\n## `cache`",
"Memory-limited cache decorator.",
" ``maxmem`` is a float between 0 and 100, inclusive, specifying the maximum\n percentage of physical memory that the cache can use.",
" If ``typed... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the indent API.
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 indent API.
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 ... | r"""Indent a string.
Prepends whitespace to every line in the passed string. (Lines are
separated by newline characters.)
Args:
lines (str): The string to indent.
Keyword Args:
amount (int): The number of columns to indent by.
char (str): The character to to use as the indenta... | "r\"\"\"Indent a string.\n\n Prepends whitespace to every line in the passed string. (Lines are\n separated by newline characters.)\n\n Args:\n lines (str): The string to indent.\n\n Keyword Args:\n amount (int): The number of columns to indent by.\n char (str): The character to to use ... | 914 | false | wmayner/pyphi | indent | 141,161 | |
LDU_FT/hannorein/rebound/coordinates | LDU_FT | [
"<BEGIN>\n## `add_outer_solar_system`",
"Add the planet of the outer Solar System as a test problem.\n Data taken from NASA Horizons.\n<END>",
"<BEGIN>\n## `OrbitPlot`",
"Convenience function for plotting instantaneous orbits.",
" Parameters\n ----------\n slices : bool, optional\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the coordinates API.
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 coordinates API.
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... | Get or set the internal coordinate system.
Available coordinate systems are:
- ``'jacobi'`` (default)
- ``'democraticheliocentric'``
- ``'whds'`` | "Get or set the internal coordinate system.\n\n Available coordinate systems are:\n\n - ``'jacobi'`` (default)\n - ``'democraticheliocentric'``\n - ``'whds'``" | 209 | false | hannorein/rebound | coordinates | 141,162 | |
LDU_FT/SystemRDL/systemrdl-compiler/define_new | LDU_FT | [
"<BEGIN>\n## `derive_coordinates`",
"Depending on the compilation source, some members of the SourceRef\n object may be incomplete.\n Calling this function performs the necessary derivations to complete the\n object.\n<END>",
"<BEGIN>\n## `format_message`",
"Formats the message prior to e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the define_new API.
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 define_new API.
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... | Define a new struct type derived from the current type.
Parameters
----------
name: str
Name of the struct type
members: {member_name : type}
Dictionary of struct member types.
is_abstract: bool
If set, marks the struct as abstract. | "Define a new struct type derived from the current type.\n\n Parameters\n ----------\n name: str\n Name of the struct type\n members: {member_name : type}\n Dictionary of struct member types.\n is_abstract: bool\n If set, marks the struct as abstract." | 207 | false | SystemRDL/systemrdl-compiler | define_new | 141,163 | |
LDU_FT/JelteF/PyLaTeX/italic | LDU_FT | [
"<BEGIN>\n## `fill_document`",
"Add a section, a subsection and some text to the document.",
" :param doc: the document\n :type doc: :class:`pylatex.document.Document` instance\n<END>",
"<BEGIN>\n## `dumps_content`",
"r\"\"\"Represent the container as a string in LaTeX syntax.",
" Args\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the italic API.
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 italic API.
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 ... | r"""Make a string appear italicized in LaTeX formatting.
italic() wraps a given string in the LaTeX command \textit{}.
Args
----
s : str
The string to be formatted.
escape: bool
If true the italic text will be escaped
Returns
-------
NoEscape
The formatted stri... | "r\"\"\"Make a string appear italicized in LaTeX formatting.\n\n italic() wraps a given string in the LaTeX command \\textit{}.\n\n Args\n ----\n s : str\n The string to be formatted.\n escape: bool\n If true the italic text will be escaped\n\n Returns\n -------\n NoEscape\n ... | 183 | false | JelteF/PyLaTeX | italic | 141,164 | |
LDU_FT/Yipit/eventlib/find_event | LDU_FT | [
"<BEGIN>\n## `listen_for_events`",
"Pubsub event listener",
" Listen for events in the pubsub bus and calls the process function\n when somebody comes to play.\n<END>",
"<BEGIN>\n## `get_ip`",
"Return the IP address inside the HTTP_X_FORWARDED_FOR var inside\n the `request` object.",
" The ret... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_event API.
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 find_event API.
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... | Actually import the event represented by name
Raises the `EventNotFoundError` if it's not possible to find the
event class refered by `name`. | "Actually import the event represented by name\n\n Raises the `EventNotFoundError` if it's not possible to find the\n event class refered by `name`." | 57 | false | Yipit/eventlib | find_event | 141,165 | |
LDU_FT/HDI-Project/MLPrimitives/unstack | LDU_FT | [
"<BEGIN>\n## `resample`",
"pd.DataFrame.resample adapter.",
" Call the `df.resample` method on the given time_index\n and afterwards call the indicated aggregation.",
" Optionally group the dataframe by the indicated columns before\n performing the resampling.",
" If groupby option is used, t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unstack API.
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 unstack API.
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... | pd.DataFrame.unstack adapter.
Call the `df.unstack` method using the indicated level and afterwards
join the column names using an underscore.
Args:
df (pandas.DataFrame): DataFrame to unstack.
level (str, int or list): Level(s) of index to unstack, can pass level name
reset_index ... | "pd.DataFrame.unstack adapter.\n\n Call the `df.unstack` method using the indicated level and afterwards\n join the column names using an underscore.\n\n Args:\n df (pandas.DataFrame): DataFrame to unstack.\n level (str, int or list): Level(s) of index to unstack, can pass level name\n res... | 96 | false | HDI-Project/MLPrimitives | unstack | 141,166 | |
LDU_FT/jhazelwo/python-fileasobj/grep | LDU_FT | [
"<BEGIN>\n## `example_add_line_to_file`",
"Different methods to append a given line to the file, all work the same.\n<END>",
"<BEGIN>\n## `example_write_file_to_disk_if_changed`",
"Try to remove all comments from a file, and save it if changes were made.\n<END>",
"<BEGIN>\n## `read`",
"Read given_file to ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the grep API.
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 grep API.
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... | Search all lines in file for substring 'needle'.
equiv to: `grep "needle" ./file`
Return matching lines as a List of Strings.
If no matches returns False
:param needle: String; word or phrase to search for.
:return: List of Strings, or False. | "Search all lines in file for substring 'needle'.\n equiv to: `grep \"needle\" ./file`\n\n Return matching lines as a List of Strings.\n If no matches returns False\n\n :param needle: String; word or phrase to search for.\n :return: List of Strings, or False." | 39 | false | jhazelwo/python-fileasobj | grep | 141,167 | |
LDU_FT/icometrix/dicom2nifti/is_orthogonal | LDU_FT | [
"<BEGIN>\n## `_get_gdcmconv`",
"Get the full path to gdcmconv.\n If not found raise error\n<END>",
"<BEGIN>\n## `compress_directory`",
"This function can be used to convert a folder of jpeg compressed images to an uncompressed ones",
" :param dicom_directory: directory of dicom files to compress\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_orthogonal API.
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 is_orthogonal API.
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... | Validate that volume is orthonormal
:param dicoms: check that we have a volume without skewing | "Validate that volume is orthonormal\n\n :param dicoms: check that we have a volume without skewing" | 243 | false | icometrix/dicom2nifti | is_orthogonal | 141,168 | |
LDU_FT/sods/ods/display_google_book | LDU_FT | [
"<BEGIN>\n## `display_url`",
"Displaying URL in an IPython notebook to allow the user to click and check on information. With thanks to Fernando Perez for putting together the implementation!\n :param target: the url to display.\n :type target: string.\n<END>",
"<BEGIN>\n## `iframe_url`",
"Produce an if... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the display_google_book 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 display_google_book 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... | Display an embedded version of a Google book.
:param id: the id of the google book to display.
:type id: string
:param page: the start page for the book.
:type id: string or int. | "Display an embedded version of a Google book.\n :param id: the id of the google book to display.\n :type id: string\n :param page: the start page for the book.\n :type id: string or int." | 67 | false | sods/ods | display_google_book | 141,169 | |
LDU_FT/sirrice/pygg/ggsave | LDU_FT | [
"<BEGIN>\n## `_to_r`",
"Helper function to convert python data structures to R equivalents",
" TODO: a single model for transforming to r to handle\n * function args\n * lists as function args\n<END>",
"<BEGIN>\n## `data_sql`",
"Load file using RPostgreSQL",
" Place to edit if want to add more... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ggsave API.
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 ggsave API.
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 ... | Save a GGStatements object to destination name
@param name output file name. if None, don't run R command
@param kwargs keyword args to pass to ggsave. The following are special
keywords for the python save method
data: a python data object (list, dict, DataFrame) used to populate
... | "Save a GGStatements object to destination name\n\n @param name output file name. if None, don't run R command\n @param kwargs keyword args to pass to ggsave. The following are special\n keywords for the python save method\n\n data: a python data object (list, dict, DataFrame) used to populate\n... | 56 | false | sirrice/pygg | ggsave | 141,170 | |
LDU_FT/veltzer/pytconf/create_choice | LDU_FT | [
"<BEGIN>\n## `array_indented`",
"return an array indented according to indent level\n :param level:\n :param l:\n :param quote_char:\n :param comma_after:\n :return:\n<END>",
"<BEGIN>\n## `config_arg_parse_and_launch`",
"backwards compatibility function\n :return:\n<END>",
"<BEGIN>\n## `re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_choice API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_choice API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Create a choice config
:param choice_list:
:param help_string:
:param default:
:return: | "Create a choice config\n :param choice_list:\n :param help_string:\n :param default:\n :return:" | 32 | false | veltzer/pytconf | create_choice | 141,171 | |
LDU_FT/Tygs/ww/lasts | LDU_FT | [
"<BEGIN>\n## `join`",
"Join values and convert to string",
" Example:",
" >>> from ww import l\n >>> lst = l('012')\n >>> lst.join(',')\n u'0,1,2'\n >>> lst.join(',', template=\"{}#\")\n u'0#,1#,2#'\n >>> string = lst.join(','... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lasts API.
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 lasts API.
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... | Lazily return the last x items from this iterable or default. | "Lazily return the last x items from this iterable or default." | 104 | false | Tygs/ww | lasts | 141,172 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.