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/ungarj/tilematrix/tile_from_xy | LDU_FT | [
"<BEGIN>\n## `tile`",
"Return Tile object of this TilePyramid.",
" - zoom: zoom level\n - row: tile matrix row\n - col: tile matrix column\n<END>",
"<BEGIN>\n## `matrix_width`",
"Tile matrix width (number of columns) at zoom level.",
" - zoom: zoom level\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tile_from_xy API.
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 tile_from_xy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return tile covering a point defined by x and y values.
- x: x coordinate
- y: y coordinate
- zoom: zoom level
- on_edge_use: determine which Tile to pick if Point hits a grid edge
- rb: right bottom (default)
- rt: right top
- lt: left top
... | "Return tile covering a point defined by x and y values.\n\n - x: x coordinate\n - y: y coordinate\n - zoom: zoom level\n - on_edge_use: determine which Tile to pick if Point hits a grid edge\n - rb: right bottom (default)\n - rt: right top\n - lt: left top\n... | 71 | false | ungarj/tilematrix | tile_from_xy | 35,773 | |
LDU_FT/autokey/autokey/cancel_grab | LDU_FT | [
"<BEGIN>\n## `save`",
"Called by the parent settings dialog when the user clicks on the Save button.\n Stores the current settings in the ConfigManager.\n<END>",
"<BEGIN>\n## `_settings_str`",
"Returns a human readable settings representation for logging purposes.\n<END>",
"<BEGIN>\n## `_should_trigg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cancel_grab API.
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 cancel_grab API.
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... | This is called when the user cancels a recording.
Canceling is done by clicking with the left mouse button. | "This is called when the user cancels a recording.\n Canceling is done by clicking with the left mouse button." | 363 | false | autokey/autokey | cancel_grab | 35,774 | |
LDU_FT/mickybart/python-atlasbroker/find | LDU_FT | [
"<BEGIN>\n## `provision`",
"Provision the new instance",
" see openbrokerapi documentation",
" Returns:\n ProvisionedServiceSpec\n<END>",
"<BEGIN>\n## `unbind`",
"Unbinding the instance",
" see openbrokerapi documentation",
" Raises:\n ErrBindingDoesNo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API.
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 find API.
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... | find an instance
Create a new instance and populate it with data stored if it exists.
Args:
instance_id (str): UUID of the instance
Returns:
AtlasServiceInstance.Instance: An instance | "find an instance\n \n Create a new instance and populate it with data stored if it exists.\n \n Args:\n instance_id (str): UUID of the instance\n \n Returns:\n AtlasServiceInstance.Instance: An instance" | 93 | false | mickybart/python-atlasbroker | find | 35,775 | |
LDU_FT/Autodesk/cryptorito/actually_flatten | LDU_FT | [
"<BEGIN>\n## `polite_string`",
"Returns a \"proper\" string that should work in both Py3/Py2\n<END>",
"<BEGIN>\n## `not_a_string`",
"It's probably not a string, in the sense\n that Python2/3 get confused about these things\n<END>",
"<BEGIN>\n## `actually_flatten`",
"Flatten iterables\n This is super... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the actually_flatten API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the actually_flatten API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Flatten iterables
This is super ugly. There must be a cleaner py2/3 way
of handling this. | "Flatten iterables\n This is super ugly. There must be a cleaner py2/3 way\n of handling this." | 36 | false | Autodesk/cryptorito | actually_flatten | 35,776 | |
LDU_FT/crs4/pydoop/set_input | LDU_FT | [
"<BEGIN>\n## `align_after`",
"Search for a sync point after offset and align just after that.\n<END>",
"<BEGIN>\n## `get_progress`",
"Give a rough estimate of the progress done.\n<END>",
"<BEGIN>\n## `is_local`",
"\\\n Is Hadoop configured to run in local mode?",
" By default, it is. [pseu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_input API.
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_input API.
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 the input path for the job. If ``put`` is :obj:`True`, copy
(local) ``input_`` to the working directory. | "Set the input path for the job. If ``put`` is :obj:`True`, copy\n (local) ``input_`` to the working directory." | 256 | false | crs4/pydoop | set_input | 35,777 | |
LDU_FT/flyte/upnpclient/subscribe | LDU_FT | [
"<BEGIN>\n## `parse_time`",
"Parse a time to a `datetime.time` value.\n Can't just use `dateutil.parse.parser(val).time()` because that doesn't preserve tzinfo.\n<END>",
"<BEGIN>\n## `marshal_value`",
"Marshal a given string into a relevant Python type given the uPnP datatype.\n Assumes that the value h... | 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... | Set up a subscription to the events offered by this service. | "Set up a subscription to the events offered by this service." | 24 | false | flyte/upnpclient | subscribe | 35,778 | |
LDU_FT/irgangla/icalevents/parse_events | LDU_FT | [
"<BEGIN>\n## `events`",
"Get all events form the given iCal URL occurring in the given time range.",
" :param url: iCal URL\n :param file: iCal file path\n :param string_content: iCal content as string\n :param start: start date (see dateutils.date)\n :param end: end date (see dateutils.date)\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_events API.
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 parse_events API.
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... | Query the events occurring in a given time range.
:param content: iCal URL/file content as String
:param start: start date for search, default today
:param end: end date for search
:param default_span: default query length (one week)
:return: events as list | "Query the events occurring in a given time range.\n\n :param content: iCal URL/file content as String\n :param start: start date for search, default today\n :param end: end date for search\n :param default_span: default query length (one week)\n :return: events as list" | 39 | false | irgangla/icalevents | parse_events | 35,779 | |
LDU_FT/christophercrouzet/gorilla/patch | LDU_FT | [
"<BEGIN>\n## `apply`",
"Apply a patch.",
" The patch's :attr:`~Patch.obj` attribute is injected into the patch's\n :attr:`~Patch.destination` under the patch's :attr:`~Patch.name`.",
" This is a wrapper around calling\n ``setattr(patch.destination, patch.name, patch.obj)``.",
" Parameters\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch API.
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 patch API.
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... | Decorator to create a patch.
The object being decorated becomes the :attr:`~Patch.obj` attribute of the
patch.
Parameters
----------
destination : object
Patch destination.
name : str
Name of the attribute at the destination.
settings : gorilla.Settings
Settings.
... | "Decorator to create a patch.\n\n The object being decorated becomes the :attr:`~Patch.obj` attribute of the\n patch.\n\n Parameters\n ----------\n destination : object\n Patch destination.\n name : str\n Name of the attribute at the destination.\n settings : gorilla.Settings\n ... | 67 | false | christophercrouzet/gorilla | patch | 35,780 | |
LDU_FT/kyuupichan/aiorpcX/message_to_item | LDU_FT | [
"<BEGIN>\n## `timeout_after`",
"Execute the specified coroutine and return its result. However,\n issue a cancellation request to the calling task after seconds\n have elapsed. When this happens, a TaskTimeout exception is\n raised. If coro is None, the result of this function serves\n as an asynchr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the message_to_item API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the message_to_item API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Translate an unframed received message and return an
(item, request_id) pair.
The item can be a Request, Notification, Response or a list.
A JSON RPC error response is returned as an RPCError inside a
Response object.
If a Batch is returned, request_id is an iterable of reques... | "Translate an unframed received message and return an\n (item, request_id) pair.\n\n The item can be a Request, Notification, Response or a list.\n\n A JSON RPC error response is returned as an RPCError inside a\n Response object.\n\n If a Batch is returned, request_id is an iterable ... | 118 | false | kyuupichan/aiorpcX | message_to_item | 35,781 | |
LDU_FT/saulpw/visidata/toggleWidth | LDU_FT | [
"<BEGIN>\n## `expand_cols_deep`",
"expand all visible columns of containers to the given depth (0=fully)\n<END>",
"<BEGIN>\n## `load_pyobj`",
"Return Sheet object of appropriate type for given sources in `args`.\n<END>",
"<BEGIN>\n## `getPublicAttrs`",
"Return all public attributes (not methods or `_`-pre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the toggleWidth API.
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 toggleWidth API.
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... | Change column width to either given `width` or default value. | "Change column width to either given `width` or default value." | 249 | false | saulpw/visidata | toggleWidth | 35,782 | |
LDU_FT/sbuss/pypercube/gt | LDU_FT | [
"<BEGIN>\n## `eq`",
"An equals filter chain.",
" >>> request_time = EventExpression('request', 'elapsed_ms')\n >>> filtered = request_time.eq('path', '/')\n >>> print(filtered)\n request(elapsed_ms).eq(path, \"/\")\n<END>",
"<BEGIN>\n## `ne`",
"A not-equal filter chain.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gt API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gt API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | A greater-than filter chain.
>>> request_time = EventExpression('request', 'elapsed_ms')
>>> filtered = request_time.gt('elapsed_ms', 500)
>>> print(filtered)
request(elapsed_ms).gt(elapsed_ms, 500) | "A greater-than filter chain.\n\n >>> request_time = EventExpression('request', 'elapsed_ms')\n >>> filtered = request_time.gt('elapsed_ms', 500)\n >>> print(filtered)\n request(elapsed_ms).gt(elapsed_ms, 500)" | 35 | false | sbuss/pypercube | gt | 35,783 | |
LDU_FT/warner/magic-wormhole/allocate_tcp_port | LDU_FT | [
"<BEGIN>\n## `receive`",
"I implement 'wormhole receive'. I return a Deferred that fires with\n None (for success), or signals one of the following errors:\n * WrongPasswordError: the two sides didn't use matching passwords\n * Timeout: something didn't happen fast enough for our tastes\n * TransferEr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the allocate_tcp_port API.
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 allocate_tcp_port API.
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 an (integer) available TCP port on localhost. This briefly
listens on the port in question, then closes it right away. | "Return an (integer) available TCP port on localhost. This briefly\n listens on the port in question, then closes it right away." | 36 | false | warner/magic-wormhole | allocate_tcp_port | 35,784 | |
LDU_FT/graphql-python/graphene-django/convert_serializer_field | LDU_FT | [
"<BEGIN>\n## `convert_serializer_field`",
"Converts a django rest frameworks field to a graphql field\n and marks the field as required if we are creating an input type\n and the field itself is required\n<END>",
"<BEGIN>\n## `perform_import`",
"If the given setting is a string import notation,\n the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_serializer_field API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_serializer_field API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Converts a django rest frameworks field to a graphql field
and marks the field as required if we are creating an input type
and the field itself is required | "Converts a django rest frameworks field to a graphql field\n and marks the field as required if we are creating an input type\n and the field itself is required" | 10 | false | graphql-python/graphene-django | convert_serializer_field | 35,785 | |
LDU_FT/Mindwerks/worldengine/set_pixel | LDU_FT | [
"<BEGIN>\n## `anti_alias`",
"Execute the anti_alias operation steps times on the given map\n<END>",
"<BEGIN>\n## `count_neighbours`",
"Count how many neighbours of a coordinate are set to one.\n This uses the same principles as anti_alias, compare comments there.\n<END>",
"<BEGIN>\n## `_calculate`",
"S... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_pixel API.
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_pixel API.
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... | Color may be: value, tuple, list etc.
If the image is set to contain more color-channels than len(color), the
remaining channels will be filled automatically.
Example (channels = 4, i.e. RGBA output):
color = 17 -> color = [17,17,17,255]
color = (17, 99) -> color = [17... | "Color may be: value, tuple, list etc.\r\n\r\n If the image is set to contain more color-channels than len(color), the\r\n remaining channels will be filled automatically.\r\n Example (channels = 4, i.e. RGBA output):\r\n color = 17 -> color = [17,17,17,255]\r\n color = (17, 99) -... | 63 | false | Mindwerks/worldengine | set_pixel | 35,786 | |
LDU_FT/materialsproject/pymatgen/get_plot | LDU_FT | [
"<BEGIN>\n## `ion_or_solid_comp_object`",
"Returns either an ion object or composition object given\n a formula.",
" Args:\n formula: String formula. Eg. of ion: NaOH(aq), Na[+];\n Eg. of solid: Fe2O3(s), Fe(s), Na2O",
" Returns:\n Composition/Ion object\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_plot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_plot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns the diffraction plot as a matplotlib.pyplot.
Args:
structure: Input structure
two_theta_range ([float of length 2]): Tuple for range of
two_thetas to calculate in degrees. Defaults to (0, 90). Set to
None if you want all diffracted beams within th... | "Returns the diffraction plot as a matplotlib.pyplot.\n\n Args:\n structure: Input structure\n two_theta_range ([float of length 2]): Tuple for range of\n two_thetas to calculate in degrees. Defaults to (0, 90). Set to\n None if you want all diffracted beams wi... | 6,523 | true | materialsproject/pymatgen | get_plot | 35,787 | |
LDU_FT/flatangle/flatlib/toFloat | LDU_FT | [
"<BEGIN>\n## `_roundSlist`",
"Rounds a signed list over the last element and removes it.\n<END>",
"<BEGIN>\n## `toFloat`",
"Converts string or signed list to float.\n<END>",
"<BEGIN>\n## `inDignities`",
"Returns the dignities of A which belong to B.\n<END>",
"<BEGIN>\n## `receives`",
"Returns the dign... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the toFloat API.
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 toFloat API.
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... | Converts string or signed list to float. | "Converts string or signed list to float." | 248 | false | flatangle/flatlib | toFloat | 35,788 | |
LDU_FT/inasafe/inasafe/action_checklist | LDU_FT | [
"<BEGIN>\n## `dict`",
"dictionary representation of the metadata.",
" :return: dictionary representation of the metadata\n :rtype: dict\n<END>",
"<BEGIN>\n## `xml`",
"xml representation of the metadata.",
" :return: xml representation of the metadata\n :rtype: ElementTree.Eleme... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the action_checklist API.
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 action_checklist API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Return the list of action check list dictionary.
:return: The list of action check list dictionary.
:rtype: list | "Return the list of action check list dictionary.\n\n :return: The list of action check list dictionary.\n :rtype: list" | 4,163 | true | inasafe/inasafe | action_checklist | 35,789 | |
LDU_FT/albahnsen/CostSensitiveClassification/_logistic_cost_loss | LDU_FT | [
"<BEGIN>\n## `_partition_estimators`",
"Private function used to partition estimators between jobs.\n<END>",
"<BEGIN>\n## `_parallel_build_estimators`",
"Private function used to build a batch of estimators within a job.\n<END>",
"<BEGIN>\n## `_parallel_predict_proba`",
"Private function used to compute (... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _logistic_cost_loss 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 _logistic_cost_loss 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... | Computes the logistic loss.
Parameters
----------
w : array-like, shape (n_w, n_features,) or (n_w, n_features + 1,)
Coefficient vector or matrix of coefficient.
X : array-like, shape (n_samples, n_features)
Training data.
y : ndarray, shape (n_samples,)
Array of labels.
... | "Computes the logistic loss.\n\n Parameters\n ----------\n w : array-like, shape (n_w, n_features,) or (n_w, n_features + 1,)\n Coefficient vector or matrix of coefficient.\n\n X : array-like, shape (n_samples, n_features)\n Training data.\n\n y : ndarray, shape (n_samples,)\n Array ... | 334 | false | albahnsen/CostSensitiveClassification | _logistic_cost_loss | 35,790 | |
LDU_FT/casacore/python-casacore/putcellslice | LDU_FT | [
"<BEGIN>\n## `fitter`",
"Create a sub-fitter.",
" The created sub-fitter can be used in the same way as a fitter\n default fitter. This function returns an identification, which has to\n be used in the `fid` argument of subsequent calls. The call can\n specify the standard constructo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the putcellslice API.
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 putcellslice API.
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... | Put into a slice of a table cell holding an array.
The columnname and (0-relative) rownr indicate the table cell.
Unlike putcell only a single row can be given.
The slice to put is defined by the blc, trc, and optional inc
arguments (blc = bottom-left corner, trc=top-right corner, inc=... | "Put into a slice of a table cell holding an array.\n\n The columnname and (0-relative) rownr indicate the table cell.\n Unlike putcell only a single row can be given.\n\n The slice to put is defined by the blc, trc, and optional inc\n arguments (blc = bottom-left corner, trc=top-right corne... | 618 | false | casacore/python-casacore | putcellslice | 35,791 | |
LDU_FT/takuti/flurs/reciprocal_rank | LDU_FT | [
"<BEGIN>\n## `__create_proj_mat`",
"Create a random projection matrix",
" [1] D. Achlioptas. Database-friendly random projections: Johnson-Lindenstrauss with binary coins.\n [2] P. Li, et al. Very sparse random projections.",
" http://scikit-learn.org/stable/modules/random_projection.html... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reciprocal_rank API.
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 reciprocal_rank API.
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... | Reciprocal Rank (RR).
Args:
truth (numpy 1d array): Set of truth samples.
recommend (numpy 1d array): Ordered set of recommended samples.
Returns:
float: RR. | "Reciprocal Rank (RR).\n\n Args:\n truth (numpy 1d array): Set of truth samples.\n recommend (numpy 1d array): Ordered set of recommended samples.\n\n Returns:\n float: RR." | 74 | false | takuti/flurs | reciprocal_rank | 35,792 | |
LDU_FT/galactics/beyond/copy | LDU_FT | [
"<BEGIN>\n## `create_station`",
"Create a ground station instance",
" Args:\n name (str): Name of the station",
" latlonalt (tuple of float): coordinates of the station, as follow:",
" * Latitude in degrees\n * Longitude in degrees\n * Altitude to sea level ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy API.
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 copy API.
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... | Create a deep copy of the ephemeris, and allow frame and form changing | "Create a deep copy of the ephemeris, and allow frame and form changing" | 297 | false | galactics/beyond | copy | 35,793 | |
LDU_FT/openstack/pyghmi/set_user_password | LDU_FT | [
"<BEGIN>\n## `get_bootdev`",
"Get current boot device override information.",
" :raises: PyghmiException on error\n :returns: dict\n<END>",
"<BEGIN>\n## `set_bootdev`",
"Set boot device to use on next reboot",
" :param bootdev:\n *network -- Request network boot... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_user_password API.
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 set_user_password API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Set user password and (modes)
:param uid: id number of user. see: get_names_uid()['name']
:param mode:
disable = disable user connections
enable = enable user connections
set_password = set or ensure password
test_password = test password ... | "Set user password and (modes)\n\n :param uid: id number of user. see: get_names_uid()['name']\n\n :param mode:\n disable = disable user connections\n enable = enable user connections\n set_password = set or ensure password\n test_password = test ... | 273 | false | openstack/pyghmi | set_user_password | 35,794 | |
LDU_FT/dwavesystems/dwave-system/_restore_isolated_higherorder | LDU_FT | [
"<BEGIN>\n## `broken_chains`",
"Find the broken chains.",
" Args:\n samples (array_like):\n Samples as a nS x nV array_like object where nS is the number of samples and nV is the\n number of variables. The values should all be 0/1 or -1/+1.",
" chains (list[array_like]):... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _restore_isolated_higherorder 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 _restore_isolated_higherorder API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Return samples-like by adding isolated variables into sampleset in a
way that minimizes the energy (relative to the other non-isolated variables).
Isolated should be ordered. | "Return samples-like by adding isolated variables into sampleset in a\n way that minimizes the energy (relative to the other non-isolated variables).\n\n Isolated should be ordered." | 562 | false | dwavesystems/dwave-system | _restore_isolated_higherorder | 35,795 | |
LDU_FT/avelkoski/FRB/search_related_tags | LDU_FT | [
"<BEGIN>\n## `all_releases`",
"Function to request all releases of economic data.\n `<https://research.stlouisfed.org/docs/api/fred/releases.html>`_",
" :arg str response_type: File extension of response. Options are 'xml', 'json',\n 'dict','df','numpy','csv','tab,'pipe'... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_related_tags 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 search_related_tags 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... | Function to request the related FRED tags for one or more FRED tags matching a series search.
`<https://research.stlouisfed.org/docs/api/fred/series_search_related_tags.html>`_
:arg str series_search_text: The words to match against economic data series. Required.
:arg str tag_names: Tag names ... | "Function to request the related FRED tags for one or more FRED tags matching a series search.\n `<https://research.stlouisfed.org/docs/api/fred/series_search_related_tags.html>`_\n\n :arg str series_search_text: The words to match against economic data series. Required.\n :arg str tag_names: Tag n... | 40 | false | avelkoski/FRB | search_related_tags | 35,796 | |
LDU_FT/toloco/pyoanda/check | LDU_FT | [
"<BEGIN>\n## `check`",
"Logic extracted from:\n http://developer.oanda.com/rest-live/orders/#createNewOrder\n<END>",
"<BEGIN>\n## `__get_response`",
"Creates a response object with the given params and option",
" Parameters\n ----------\n url : string\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check API.
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 check API.
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... | Logic extracted from:
http://developer.oanda.com/rest-live/orders/#createNewOrder | "Logic extracted from:\n http://developer.oanda.com/rest-live/orders/#createNewOrder" | 46 | false | toloco/pyoanda | check | 35,797 | |
LDU_FT/openxc/openxc-python/register | LDU_FT | [
"<BEGIN>\n## `get`",
"Return the latest measurement for the given class or None if nothing\n has been received from the vehicle.\n<END>",
"<BEGIN>\n## `add_source`",
"Add a vehicle data source to the instance.",
" The Vehicle instance will be set as the callback of the source, and the\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... | Call the ``callback`` with any new values of ``measurement_class``
received. | "Call the ``callback`` with any new values of ``measurement_class``\n received." | 94 | false | openxc/openxc-python | register | 35,798 | |
LDU_FT/nerdvegas/rez/intersect | LDU_FT | [
"<BEGIN>\n## `add_node`",
"Add given node to the graph.",
" @attention: While nodes can be of any type, it's strongly recommended to use only\n numbers and single-line strings as node identifiers if you intend to use write().",
" @type node: node\n @param node: Node identifier.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the intersect API.
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 intersect API.
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... | Remove variants whose version fall outside of the given range. | "Remove variants whose version fall outside of the given range." | 2,330 | true | nerdvegas/rez | intersect | 35,799 | |
LDU_FT/benjamin-hodgson/asynqp/bind | LDU_FT | [
"<BEGIN>\n## `open_channel`",
"Open a new channel on this connection.",
" This method is a :ref:`coroutine <coroutine>`.",
" :return: The new :class:`Channel` object.\n<END>",
"<BEGIN>\n## `close`",
"Close the connection by handshaking with the server.",
" This method is a :ref:`cor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bind API.
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 bind API.
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... | Bind a queue to an exchange, with the supplied routing key.
This action 'subscribes' the queue to the routing key; the precise meaning of this
varies with the exchange type.
This method is a :ref:`coroutine <coroutine>`.
:param asynqp.Exchange exchange: the :class:`Exchange` to bind t... | "Bind a queue to an exchange, with the supplied routing key.\n\n This action 'subscribes' the queue to the routing key; the precise meaning of this\n varies with the exchange type.\n\n This method is a :ref:`coroutine <coroutine>`.\n\n :param asynqp.Exchange exchange: the :class:`Exchange` t... | 95 | false | benjamin-hodgson/asynqp | bind | 35,800 | |
LDU_FT/tkem/uritools/gethost | LDU_FT | [
"<BEGIN>\n## `urijoin`",
"Convert a URI reference relative to a base URI to its target URI\n string.\n<END>",
"<BEGIN>\n## `uridefrag`",
"Remove an existing fragment component from a URI reference string.\n<END>",
"<BEGIN>\n## `geturi`",
"Return the recombined version of the original URI as a string.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gethost API.
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 gethost API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return the decoded host subcomponent of the URI authority as a
string or an :mod:`ipaddress` address object, or `default` if
the original URI reference did not contain a host. | "Return the decoded host subcomponent of the URI authority as a\n string or an :mod:`ipaddress` address object, or `default` if\n the original URI reference did not contain a host." | 45 | false | tkem/uritools | gethost | 35,801 | |
LDU_FT/deginner/mq-client/on_exchange_declareok | LDU_FT | [
"<BEGIN>\n## `_on_message`",
"Invoked by pika when a message is delivered from RabbitMQ. The\n channel is passed for your convenience. The basic_deliver object that\n is passed in carries the exchange, routing key, delivery tag and\n a redelivered flag for the message. The properties passed in is an\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_exchange_declareok 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 on_exchange_declareok API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Invoked by pika when RabbitMQ has finished the Exchange.Declare RPC
command.
:param pika.Frame.Method unused_frame: Exchange.DeclareOk response frame | "Invoked by pika when RabbitMQ has finished the Exchange.Declare RPC\n command.\n\n :param pika.Frame.Method unused_frame: Exchange.DeclareOk response frame" | 61 | false | deginner/mq-client | on_exchange_declareok | 35,802 | |
LDU_FT/onnx/onnxmltools/convert_topology | LDU_FT | [
"<BEGIN>\n## `apply_cast`",
":param to: enum defined in ONNX TensorProto.DataType, for example, TensorProto.FLOAT and TensorProto.INT64.\n<END>",
"<BEGIN>\n## `apply_gemm`",
"Applies operator `gemm <https://github.com/onnx/onnx/blob/master/docs/Operators.md#gemm>`.\n<END>",
"<BEGIN>\n## `apply_upsample`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_topology API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_topology API.
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 function is used to convert our Topology object defined in _parser.py into a ONNX model (type: ModelProto).
:param topology: The Topology object we are going to convert
:param model_name: GraphProto's name. Let "model" denote the returned model. The string "model_name" would be
assigned to "model.graph... | "This function is used to convert our Topology object defined in _parser.py into a ONNX model (type: ModelProto).\n :param topology: The Topology object we are going to convert\n :param model_name: GraphProto's name. Let \"model\" denote the returned model. The string \"model_name\" would be\n assigned to \"mo... | 300 | false | onnx/onnxmltools | convert_topology | 35,803 | |
LDU_FT/timothydmorton/isochrones/prop_samples | LDU_FT | [
"<BEGIN>\n## `interp_box`",
"box is 8x3 array, though not really a box",
" values is length-8 array, corresponding to values at the \"box\" coords",
" TODO: should make power `p` an argument\n<END>",
"<BEGIN>\n## `interp_values`",
"mass_arr, age_arr, feh_arr are all arrays at which values are desire... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prop_samples API.
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 prop_samples API.
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 samples of given property, based on MCMC sampling
:param prop:
Name of desired property. Must be column of ``self.samples``.
:param return_values: (optional)
If ``True`` (default), then also return (median, lo_err, hi_err)
corresponding to desired credible ... | "Returns samples of given property, based on MCMC sampling\n\n :param prop:\n Name of desired property. Must be column of ``self.samples``.\n\n :param return_values: (optional)\n If ``True`` (default), then also return (median, lo_err, hi_err)\n corresponding to desired c... | 314 | false | timothydmorton/isochrones | prop_samples | 35,804 | |
LDU_FT/gesellkammer/sndfileio/_wavGetInfo | LDU_FT | [
"<BEGIN>\n## `_applyMultichan`",
"Apply func to each channel of audio data in samples\n<END>",
"<BEGIN>\n## `_resample_samplerate`",
"Uses https://github.com/tuxu/python-samplerate\n<END>",
"<BEGIN>\n## `_nnresample_compute_filt`",
"r\"\"\"\n Computes a filter to resample a signal from rate \"down\" to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _wavGetInfo API.
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 _wavGetInfo API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Read the info of a wav file. taken mostly from scipy.io.wavfile
if extended: returns also fsize and bigendian | "Read the info of a wav file. taken mostly from scipy.io.wavfile\n\n if extended: returns also fsize and bigendian" | 87 | false | gesellkammer/sndfileio | _wavGetInfo | 35,805 | |
LDU_FT/s4int/robotframework-KafkaLibrary/get_position | LDU_FT | [
"<BEGIN>\n## `connect_producer`",
"A Kafka client that publishes records to the Kafka cluster.",
" Keyword Arguments:\n - ``bootstrap_servers``: 'host[:port]' string (or list of 'host[:port]'\n strings) that the producer should contact to bootstrap initial\n cluster metadata. Thi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_position API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_position API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return offset of the next record that will be fetched.
- ``topic_partition`` (TopicPartition): Partition to check | "Return offset of the next record that will be fetched.\n \n - ``topic_partition`` (TopicPartition): Partition to check" | 42 | false | s4int/robotframework-KafkaLibrary | get_position | 35,806 | |
LDU_FT/zeaphoo/budoc/_safe_import | LDU_FT | [
"<BEGIN>\n## `import_module`",
"Imports a module. A single point of truth for importing modules to\n be documented by `pydoc`. In particular, it makes sure that the top\n module in `module_name` can be imported by using only the paths in\n `pydoc.import_path`.",
" If a module has already been import... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _safe_import API.
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 _safe_import API.
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... | A function for safely importing `module_name`, where errors are
suppressed and `stdout` and `stderr` are redirected to a null
device. The obligation is on the caller to close `stdin` in order
to avoid impolite modules from blocking on `stdin` when imported. | "A function for safely importing `module_name`, where errors are\n suppressed and `stdout` and `stderr` are redirected to a null\n device. The obligation is on the caller to close `stdin` in order\n to avoid impolite modules from blocking on `stdin` when imported." | 54 | false | zeaphoo/budoc | _safe_import | 35,807 | |
LDU_FT/Gjum/agarnet/reset | LDU_FT | [
"<BEGIN>\n## `gcommer_claim`",
"Try to get a token for this server address.\n `address` has to be ip:port, e.g. `'1.2.3.4:1234'`\n Returns tuple(address, token)\n<END>",
"<BEGIN>\n## `gcommer_donate`",
"Donate a token for this server address.\n `address` and `token` should be the return values from f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Clears `nick` and `own_ids`, sets `center` to `world.center`,
and then calls `cells_changed()`. | "Clears `nick` and `own_ids`, sets `center` to `world.center`,\n and then calls `cells_changed()`." | 57 | false | Gjum/agarnet | reset | 35,808 | |
LDU_FT/bitesofcode/projex/generateKey | LDU_FT | [
"<BEGIN>\n## `add`",
"Adds the new key to this enumerated type.",
" :param key | <str>\n<END>",
"<BEGIN>\n## `all`",
"Returns all the values joined together.",
" :return <int>\n<END>",
"<BEGIN>\n## `base`",
"Returns the root base for the given value from this enumeration.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generateKey API.
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 generateKey API.
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... | Generates a new encryption key based on the inputted password.
:param password | <str>
bits | <int> | 16 or 32 bits
:return <str> | "Generates a new encryption key based on the inputted password.\n \n :param password | <str>\n bits | <int> | 16 or 32 bits\n \n :return <str>" | 676 | false | bitesofcode/projex | generateKey | 35,809 | |
LDU_FT/python-visualization/folium/validate_locations | LDU_FT | [
"<BEGIN>\n## `_get_self_bounds`",
"Computes the bounds of the object itself (not including it's children)\n in the form [[lat_min, lon_min], [lat_max, lon_max]].\n<END>",
"<BEGIN>\n## `path_options`",
"Contains options and constants shared between vector overlays\n (Polygon, Polyline, Circle, Circle... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_locations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_locations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Validate an iterable with multiple lat/lon coordinate pairs.
Returns
-------
list[list[float, float]] or list[list[list[float, float]]] | "Validate an iterable with multiple lat/lon coordinate pairs.\n\n Returns\n -------\n list[list[float, float]] or list[list[list[float, float]]]" | 111 | false | python-visualization/folium | validate_locations | 35,810 | |
LDU_FT/pyscaffold/configupdater/add_comment | LDU_FT | [
"<BEGIN>\n## `add_before`",
"Returns a builder inserting a new block before the current block\n<END>",
"<BEGIN>\n## `add_after`",
"Returns a builder inserting a new block after the current block\n<END>",
"<BEGIN>\n## `comment`",
"Creates a comment block",
" Args:\n text (str): content ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_comment API.
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 add_comment API.
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... | Add a Comment object to the section
Used during initial parsing mainly
Args:
line (str): one line in the comment | "Add a Comment object to the section\n\n Used during initial parsing mainly\n\n Args:\n line (str): one line in the comment" | 78 | false | pyscaffold/configupdater | add_comment | 35,811 | |
LDU_FT/jazzband/django-push-notifications/dict_to_xml_schema | LDU_FT | [
"<BEGIN>\n## `get_prep_value`",
"Return the integer value to be stored from the hex string\n<END>",
"<BEGIN>\n## `from_db_value`",
"Return an unsigned int representation from all db backends\n<END>",
"<BEGIN>\n## `to_python`",
"Return a str representation of the hexadecimal\n<END>",
"<BEGIN>\n## `apns_s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dict_to_xml_schema 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 dict_to_xml_schema 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... | Input a dictionary to be converted to xml. There should be only one key at
the top level. The value must be a dict with (required) `children` key and
(optional) `attrs` key. This will be called the `sub-element dictionary`.
The `attrs` value must be a dictionary; each value will be added to the
element's xml tag a... | "Input a dictionary to be converted to xml. There should be only one key at\n\tthe top level. The value must be a dict with (required) `children` key and\n\t(optional) `attrs` key. This will be called the `sub-element dictionary`.\n\n\tThe `attrs` value must be a dictionary; each value will be added to the\n\telement's... | 61 | false | jazzband/django-push-notifications | dict_to_xml_schema | 35,812 | |
LDU_FT/kylemede/KMlogger/addStreamHandler | LDU_FT | [
"<BEGIN>\n## `getLogger`",
"This will either return the logging object already\n instantiated, or instantiate a new one and return it. \n **Use this function to both create and return any logger** to avoid \n accidentally adding additional handlers by using the setUpLogger function \n instead.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addStreamHandler API.
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 addStreamHandler API.
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 function will add a stream handler to a log with the provided level.
Args:
lvl (int): The severity level of messages printed to the screen with
the stream handler, default = 20. | "This function will add a stream handler to a log with the provided level.\n \n Args:\n lvl (int): The severity level of messages printed to the screen with \n the stream handler, default = 20." | 26 | false | kylemede/KMlogger | addStreamHandler | 35,813 | |
LDU_FT/gofed/gofedlib/getGolangPackages | LDU_FT | [
"<BEGIN>\n## `compare`",
"Compare two snapshots:\n\t\t- return a list of new packages in this snapshot\n\t\t- return a list of new builds in this snapshot",
"\t\t:param snapshot: distribution snapshot\n\t\t:type snapshot: DistributionSnapshot\n<END>",
"<BEGIN>\n## `branches`",
"Return a list of branches fo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getGolangPackages API.
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 getGolangPackages API.
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 a list of all golang packages for all available branches | "Get a list of all golang packages for all available branches" | 98 | false | gofed/gofedlib | getGolangPackages | 35,814 | |
LDU_FT/rycus86/ghost-client/version | LDU_FT | [
"<BEGIN>\n## `get_page`",
":param page_number: The page number to fetch (1-indexed)\n :return: The requested page fetched from the API for the query\n<END>",
"<BEGIN>\n## `list`",
"Fetch a list of resources from the API.",
" :param kwargs: Parameters for the request\n (see from and ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the version API.
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 version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | :return: The version of the server when initialized as 'auto',
otherwise the version passed in at initialization | ":return: The version of the server when initialized as 'auto',\n otherwise the version passed in at initialization" | 55 | false | rycus86/ghost-client | version | 35,815 | |
LDU_FT/objectrocket/python-client/parse_doc_tree | LDU_FT | [
"<BEGIN>\n## `register_extension_class`",
"Instantiate the given extension class and register as a public attribute of the given base.",
" README: The expected protocol here is to instantiate the given extension and pass the base\n object as the first positional argument, then unpack args and kwargs as ad... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_doc_tree API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_doc_tree API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Parse the given documentation tree.
:param str doctree: The absolute path to the documentation tree which is to be parsed.
:param set pypackages: A set of all Python packages found in the pytree.
:rtype: dict
:returns: A dict where each key is the path of an expected Python module and i... | "Parse the given documentation tree.\n\n :param str doctree: The absolute path to the documentation tree which is to be parsed.\n :param set pypackages: A set of all Python packages found in the pytree.\n :rtype: dict\n :returns: A dict where each key is the path of an expected Python module... | 118 | false | objectrocket/python-client | parse_doc_tree | 35,816 | |
LDU_FT/nlm/nagplug/finish | LDU_FT | [
"<BEGIN>\n## `set_timeout`",
"set the timeout for plugin operations\n when timeout is reached, exit properly with nagios-compliant output",
" arguments:\n timeout: timeout in seconds\n code: exit status code\n<END>",
"<BEGIN>\n## `exit`",
"manual exit from the plugin",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finish API.
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 finish API.
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 ... | exit when using internal function to add results
automatically generates output, but each parameter can be overriden
all parameters are optional
arguments:
code: exit status code
message: a short, one-line message to display
perfdata: perfdata, if any
... | "exit when using internal function to add results\n automatically generates output, but each parameter can be overriden\n\n all parameters are optional\n\n arguments:\n code: exit status code\n message: a short, one-line message to display\n perfdata: perfdata, if a... | 37 | false | nlm/nagplug | finish | 35,817 | |
LDU_FT/moralrecordings/mrcrowbar/format_pixels | 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 format_pixels API.
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 format_pixels API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Return the ANSI escape sequence to render two vertically-stacked pixels as a
single monospace character.
top
Top colour to use. Accepted types: None, int (xterm
palette ID), tuple (RGB, RGBA), Colour
bottom
Bottom colour to use. Accepted types: None, int (xterm
palette ID),... | "Return the ANSI escape sequence to render two vertically-stacked pixels as a\n single monospace character.\n\n top\n Top colour to use. Accepted types: None, int (xterm\n palette ID), tuple (RGB, RGBA), Colour\n\n bottom\n Bottom colour to use. Accepted types: None, int (xterm\n pa... | 214 | false | moralrecordings/mrcrowbar | format_pixels | 35,818 | |
LDU_FT/IntegralDefense/critsapi/source_add_update | LDU_FT | [
"<BEGIN>\n## `connect`",
"Starts the mongodb connection. Must be called before anything else\n will work.\n<END>",
"<BEGIN>\n## `find`",
"Search a collection for the query provided. Just a raw interface to\n mongo to do any query you want.",
" Args:\n collection: The db colle... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the source_add_update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the source_add_update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | date must be in the format "%Y-%m-%d %H:%M:%S.%f" | "date must be in the format \"%Y-%m-%d %H:%M:%S.%f\"" | 67 | false | IntegralDefense/critsapi | source_add_update | 35,819 | |
LDU_FT/reincubate/ricloud/file_id_to_file_name | LDU_FT | [
"<BEGIN>\n## `error_message_and_exit`",
"Prints error messages in blue, the failed task result and quits.\n<END>",
"<BEGIN>\n## `print_prompt_values`",
"Prints prompt title and choices with a bit of formatting.\n<END>",
"<BEGIN>\n## `prompt_for_input`",
"Prints prompt instruction and does basic input pars... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_id_to_file_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_id_to_file_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.
... | Sometimes file ids are not the file names on the device, but are instead generated
by the API. These are not guaranteed to be valid file names so need hashing. | "Sometimes file ids are not the file names on the device, but are instead generated\n by the API. These are not guaranteed to be valid file names so need hashing." | 50 | false | reincubate/ricloud | file_id_to_file_name | 35,820 | |
LDU_FT/synw/dataswim/tail | LDU_FT | [
"<BEGIN>\n## `ndlayout_`",
"Create a Holoview NdLayout from a dictionnary of chart objects\n<END>",
"<BEGIN>\n## `layout_`",
"Returns a Holoview Layout from chart objects\n<END>",
"<BEGIN>\n## `_hline_bokeh_`",
"Returns an horizontal line from a column mean value\n<END>",
"<BEGIN>\n## `_sline_bokeh`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tail API.
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 tail API.
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... | Returns the main dataframe's tail
:param rows: number of rows to print, defaults to 5
:param rows: int, optional
:return: a pandas dataframe
:rtype: pd.DataFrame
:example: ``ds.tail()`` | "Returns the main dataframe's tail\n\n :param rows: number of rows to print, defaults to 5\n :param rows: int, optional\n :return: a pandas dataframe\n :rtype: pd.DataFrame\n\n :example: ``ds.tail()``" | 393 | false | synw/dataswim | tail | 35,821 | |
LDU_FT/sigsep/sigsep-mus-eval/eval_dir | LDU_FT | [
"<BEGIN>\n## `_load_track_estimates`",
"load estimates from disk instead of processing\n<END>",
"<BEGIN>\n## `eval_dir`",
"Compute bss_eval metrics for two given directories assuming file\n names are identical for both, reference source and estimates.",
" Parameters\n ----------\n reference_dir ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eval_dir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eval_dir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Compute bss_eval metrics for two given directories assuming file
names are identical for both, reference source and estimates.
Parameters
----------
reference_dir : str
path to reference sources directory.
estimates_dir : str
path to estimates directory.
output_dir : str
... | "Compute bss_eval metrics for two given directories assuming file\n names are identical for both, reference source and estimates.\n\n Parameters\n ----------\n reference_dir : str\n path to reference sources directory.\n estimates_dir : str\n path to estimates directory.\n output_dir : s... | 69 | false | sigsep/sigsep-mus-eval | eval_dir | 35,822 | |
LDU_FT/manns/pyspread/code2color | LDU_FT | [
"<BEGIN>\n## `add_tools`",
"Adds tools from self.toolbardata to self\n<END>",
"<BEGIN>\n## `_get_button_label`",
"Gets Button label from user and returns string\n<END>",
"<BEGIN>\n## `OnButtonCell`",
"Event handler for cell button toggle button\n<END>",
"<BEGIN>\n## `OnVideoCell`",
"Event handler for ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the code2color API.
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 code2color API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Returns wx.Colour from a string of a 3-tuple of floats in [0.0, 1.0] | "Returns wx.Colour from a string of a 3-tuple of floats in [0.0, 1.0]" | 1,275 | true | manns/pyspread | code2color | 35,823 | |
LDU_FT/raymondEhlers/pachyderm/yaml | LDU_FT | [
"<BEGIN>\n## `get_histograms_in_list`",
"Get histograms from the file and make them available in a dict.",
" Lists are recursively explored, with all lists converted to dictionaries, such that the return\n dictionaries which only contains hists and dictionaries of hists (ie there are no ROOT ``TCollection... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the yaml API.
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 yaml API.
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... | Create a YAML object for loading a YAML configuration.
Args:
modules_to_register: Modules containing classes to be registered with the YAML object. Default: None.
classes_to_register: Classes to be registered with the YAML object. Default: None.
Returns:
A newly creating YAML object, co... | "Create a YAML object for loading a YAML configuration.\n\n Args:\n modules_to_register: Modules containing classes to be registered with the YAML object. Default: None.\n classes_to_register: Classes to be registered with the YAML object. Default: None.\n Returns:\n A newly creating YAML obj... | 229 | false | raymondEhlers/pachyderm | yaml | 35,824 | |
LDU_FT/QualiSystems/vCenterShell/_parse_remote_model | LDU_FT | [
"<BEGIN>\n## `get_inventory`",
"Will locate vm in vcenter and fill its uuid\n :type context: cloudshell.shell.core.context.ResourceCommandContext\n<END>",
"<BEGIN>\n## `get_snapshots`",
"Restores a virtual machine to a snapshot\n :param vim.ServiceInstance si: py_vmomi service instance\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_remote_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_remote_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.
T... | parse the remote resource model and adds its full name
:type context: models.QualiDriverModels.ResourceRemoteCommandContext | "parse the remote resource model and adds its full name\n :type context: models.QualiDriverModels.ResourceRemoteCommandContext" | 231 | false | QualiSystems/vCenterShell | _parse_remote_model | 35,825 | |
LDU_FT/tmr232/Sark/_iter_enum_member_values | LDU_FT | [
"<BEGIN>\n## `get_idb_graph`",
"Export IDB to a NetworkX graph.",
" Use xrefs to and from functions to build a DiGraph containing all\n the functions in the IDB and all the links between them.\n The graph can later be used to perform analysis on the IDB.",
" :return: nx.DiGraph()\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _iter_enum_member_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _iter_enum_member_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Iterate member values with given bitmask inside the enum
Note that `DEFMASK` can either indicate end-of-values or a valid value.
Iterate serials to tell apart. | "Iterate member values with given bitmask inside the enum\n\n Note that `DEFMASK` can either indicate end-of-values or a valid value.\n Iterate serials to tell apart." | 137 | false | tmr232/Sark | _iter_enum_member_values | 35,826 | |
LDU_FT/mrstephenneal/pdfconduit/encrypt | 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 encrypt API.
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 encrypt API.
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... | Encrypt a PDF document to add passwords and restrict permissions.
Add a user password that must be entered to view document and a owner password that must be entered to alter
permissions and security settings. Encryption keys are 128 bit when encrypt_128 is True and 40 bit when
False. By defa... | "Encrypt a PDF document to add passwords and restrict permissions.\n\n Add a user password that must be entered to view document and a owner password that must be entered to alter\n permissions and security settings. Encryption keys are 128 bit when encrypt_128 is True and 40 bit when\n False. By... | 63 | false | mrstephenneal/pdfconduit | encrypt | 35,827 | |
LDU_FT/EntilZha/PyFunctional/aggregate | LDU_FT | [
"<BEGIN>\n## `name`",
"Retrieve a pretty name for the function\n :param function: function to get name from\n :return: pretty name\n<END>",
"<BEGIN>\n## `map_t`",
"Transformation for Sequence.map\n :param func: map function\n :return: transformation\n<END>",
"<BEGIN>\n## `starmap_t`",
"Transfo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aggregate API.
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 aggregate API.
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... | Aggregates the sequence by specified arguments. Its behavior varies depending on if one,
two, or three arguments are passed. Assuming the type of the sequence is A:
One Argument: argument specifies a function of the type f(current: B, next: A => result: B.
current represents results computed so... | "Aggregates the sequence by specified arguments. Its behavior varies depending on if one,\n two, or three arguments are passed. Assuming the type of the sequence is A:\n\n One Argument: argument specifies a function of the type f(current: B, next: A => result: B.\n current represents results comput... | 249 | false | EntilZha/PyFunctional | aggregate | 35,828 | |
LDU_FT/remram44/rpaths/move | LDU_FT | [
"<BEGIN>\n## `pattern2re`",
"Makes a unicode regular expression from a pattern.",
" Returns ``(start, full_re, int_re)`` where:",
" * `start` is either empty or the subdirectory in which to start searching,\n * `full_re` is a regular expression object that matches the requested\n files, i.e. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Recursively moves a file or directory to the given target location. | "Recursively moves a file or directory to the given target location." | 95 | false | remram44/rpaths | move | 35,829 | |
LDU_FT/chainside/btcpy/b58decode_check | LDU_FT | [
"<BEGIN>\n## `b58encode_check`",
"Encode a string using Base58 with a 4 character checksum\n<END>",
"<BEGIN>\n## `b58decode_check`",
"Decode and verify the checksum of a Base58 encoded string\n<END>",
"<BEGIN>\n## `derive`",
":param path: a path like \"m/44'/0'/1'/0/10\" if deriving from a master key,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the b58decode_check API.
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 b58decode_check API.
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... | Decode and verify the checksum of a Base58 encoded string | "Decode and verify the checksum of a Base58 encoded string" | 10 | false | chainside/btcpy | b58decode_check | 35,830 | |
LDU_FT/Visgean/urljects/include | LDU_FT | [
"<BEGIN>\n## `render`",
"This function finishes the url pattern creation by adding starting\n character ^ end possibly by adding end character at the end",
" :param value: naive URL value\n :return: raw string\n<END>",
"<BEGIN>\n## `add_part`",
"Function for adding partial pattern to the value\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the include API.
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 include API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return an object suitable for url_patterns.
:param location: root URL for all URLs from this router
:param namespace: passed to url()
:param app_name: passed to url() | "Return an object suitable for url_patterns.\n\n :param location: root URL for all URLs from this router\n :param namespace: passed to url()\n :param app_name: passed to url()" | 24 | false | Visgean/urljects | include | 35,831 | |
LDU_FT/jasonrbriggs/stomp.py/set_ssl | LDU_FT | [
"<BEGIN>\n## `attempt_connection`",
"Establish a multicast connection - uses 2 sockets (one for sending, the other for receiving)\n<END>",
"<BEGIN>\n## `process_frame`",
":param Frame f: Frame object\n :param bytes frame_str: Raw frame content\n<END>",
"<BEGIN>\n## `connect`",
":param str username:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_ssl API.
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 set_ssl API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Sets up SSL configuration for the given hosts. This ensures socket is wrapped in a SSL connection, raising an
exception if the SSL module can't be found.
:param for_hosts: a list of tuples describing hosts this SSL configuration should be applied to
:param cert_file: the path to a X509 certific... | "Sets up SSL configuration for the given hosts. This ensures socket is wrapped in a SSL connection, raising an\n exception if the SSL module can't be found.\n\n :param for_hosts: a list of tuples describing hosts this SSL configuration should be applied to\n :param cert_file: the path to a X509 cer... | 154 | false | jasonrbriggs/stomp.py | set_ssl | 35,832 | |
LDU_FT/googledatalab/pydatalab/resolve_parameters | LDU_FT | [
"<BEGIN>\n## `ml`",
"Implements the datalab cell magic for MLWorkbench operations.",
" Args:\n line: the contents of the ml command line.\n Returns:\n The results of executing the cell.\n<END>",
"<BEGIN>\n## `from_csv`",
"Create a Metrics instance from csv file pattern.",
" Args:\n input_c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_parameters 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 resolve_parameters 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... | Resolve a format modifier with the corresponding value.
Args:
value: The string (path, table, or any other artifact in a cell_body) which may have format
modifiers. E.g. a table name could be <project-id>.<dataset-id>.logs_%(_ds)s
parameters: The user-specified list of parameters in the cell-... | "Resolve a format modifier with the corresponding value.\n\n Args:\n value: The string (path, table, or any other artifact in a cell_body) which may have format\n modifiers. E.g. a table name could be <project-id>.<dataset-id>.logs_%(_ds)s\n parameters: The user-specified list of parameters in the... | 1,652 | true | googledatalab/pydatalab | resolve_parameters | 35,833 | |
LDU_FT/NASA-AMMOS/AIT-Core/_get_logger | LDU_FT | [
"<BEGIN>\n## `crc32File`",
"Computes the CRC-32 of the contents of filename, optionally\n skipping a certain number of bytes at the beginning of the file.\n<END>",
"<BEGIN>\n## `endianSwapU16`",
"Swaps pairs of bytes (16-bit words) in the given bytearray.\n<END>",
"<BEGIN>\n## `setDictDefaults`",
"Sets... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_logger API.
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_logger API.
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... | Initialize a PCAP stream for logging data | "Initialize a PCAP stream for logging data" | 688 | false | NASA-AMMOS/AIT-Core | _get_logger | 35,834 | |
LDU_FT/knagra/farnsworth/_is_preferred | LDU_FT | [
"<BEGIN>\n## `anonymous_login_view`",
"View for an admin to log her/himself out and login the anonymous user.\n<END>",
"<BEGIN>\n## `end_anonymous_session_view`",
"End the anonymous session if the user is a superuser.\n<END>",
"<BEGIN>\n## `list_managers_view`",
"Show a list of manager positions with link... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_preferred API.
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_preferred API.
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... | Check if a user has marked an instance's workshift type as preferred. | "Check if a user has marked an instance's workshift type as preferred." | 150 | false | knagra/farnsworth | _is_preferred | 35,835 | |
LDU_FT/paolodragone/pymzn/parse_value | LDU_FT | [
"<BEGIN>\n## `minizinc`",
"Coroutine version of the ``pymzn.minizinc`` function.",
" Parameters\n ----------\n max_queue_size : int\n Maximum number of solutions in the queue between the solution parser and\n the returned solution stream. When the queue is full, the solver\n execut... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extra... | Parses the value of a dzn statement.
Parameters
----------
val : str
A value in dzn format.
var_type : dict
The dictionary of variable type as returned by the command ``minizinc
--model-types-only``. Default is ``None``, in which case the type of the
variable is inferred... | "Parses the value of a dzn statement.\n\n Parameters\n ----------\n val : str\n A value in dzn format.\n var_type : dict\n The dictionary of variable type as returned by the command ``minizinc\n --model-types-only``. Default is ``None``, in which case the type of the\n variable i... | 102 | false | paolodragone/pymzn | parse_value | 35,836 | |
LDU_FT/exhuma/python-cluster/display | LDU_FT | [
"<BEGIN>\n## `getclusters`",
"Generates *count* clusters.",
" :param count: The amount of clusters that should be generated. count\n must be greater than ``1``.\n :raises ClusteringError: if *count* is out of bounds.\n<END>",
"<BEGIN>\n## `assign_item`",
"Assigns an item from a giv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the display API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the display API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Pretty-prints this cluster. Useful for debuging. | "Pretty-prints this cluster. Useful for debuging." | 76 | false | exhuma/python-cluster | display | 35,837 | |
LDU_FT/thombashi/pytablereader/load | LDU_FT | [
"<BEGIN>\n## `load`",
"Extract tabular data as |TableData| instances from a CSV file.\n |load_source_desc_file|",
" :return:\n Loaded table data.\n |load_table_name_desc|",
" =================== ========================================\n Format specif... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Extract tabular data as |TableData| instances from a Line-delimited JSON file.
|load_source_desc_file|
:return:
Loaded table data iterator.
|load_table_name_desc|
:rtype: |TableData| iterator
:raises pytablereader.DataError:
If the data is invalid Li... | "Extract tabular data as |TableData| instances from a Line-delimited JSON file.\n |load_source_desc_file|\n\n :return:\n Loaded table data iterator.\n |load_table_name_desc|\n\n :rtype: |TableData| iterator\n :raises pytablereader.DataError:\n If the data is ... | 140 | false | thombashi/pytablereader | load | 35,838 | |
LDU_FT/h2oai/datatable/build_sourcemap | 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 build_sourcemap API.
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 build_sourcemap API.
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... | Similar to build_headermap(), but builds a dictionary of includes from
the "source" files (i.e. ".c/.cc" files). | "Similar to build_headermap(), but builds a dictionary of includes from\n the \"source\" files (i.e. \".c/.cc\" files)." | 49 | false | h2oai/datatable | build_sourcemap | 35,839 | |
LDU_FT/bloomberg/bqplot/close | LDU_FT | [
"<BEGIN>\n## `register_mark`",
"Returns a decorator registering a mark class in the mark type registry.",
" If no key is provided, the class name is used as a key. A key is provided\n for each core bqplot mark so that the frontend can use\n this key regardless of the kernel language.\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Closes and unregister the context figure corresponding to the key.
Parameters
----------
key: hashable
Any variable that can be used as a key for a dictionary | "Closes and unregister the context figure corresponding to the key.\n\n Parameters\n ----------\n\n key: hashable\n Any variable that can be used as a key for a dictionary" | 142 | false | bloomberg/bqplot | close | 35,840 | |
LDU_FT/inveniosoftware/invenio-pidrelations/dump_relation | LDU_FT | [
"<BEGIN>\n## `resolve_pid`",
"Retrieve the real PID given a fetched PID.",
" :param pid: fetched PID to resolve.\n<END>",
"<BEGIN>\n## `ordered`",
"Order the query result on the relations' indexes.\n<END>",
"<BEGIN>\n## `_resolved_pid`",
"Resolve self.pid if it is a fetched pid.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_relation API.
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 dump_relation API.
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... | Dump a specific relation to a data dict. | "Dump a specific relation to a data dict." | 53 | false | inveniosoftware/invenio-pidrelations | dump_relation | 35,841 | |
LDU_FT/semiversus/python-broqer/get | LDU_FT | [
"<BEGIN>\n## `build_sink`",
"Decorator to wrap a function to return a Sink subscriber.",
" :param function: function to be wrapped\n :param unpack: value from emits will be unpacked (*value)\n<END>",
"<BEGIN>\n## `build_map`",
"Decorator to wrap a function to return a Map operator.",
" :param fun... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Returns state if defined else it raises a ValueError. See also
Publisher.get().
:raises ValueError: if this publisher is not initialized and has not
received any emits. | "Returns state if defined else it raises a ValueError. See also\n Publisher.get().\n\n :raises ValueError: if this publisher is not initialized and has not\n received any emits." | 65 | false | semiversus/python-broqer | get | 35,842 | |
LDU_FT/altair-viz/pdvega/unpivot_frame | LDU_FT | [
"<BEGIN>\n## `infer_vegalite_type`",
"From an array-like input, infer the correct vega typecode\n ('ordinal', 'nominal', 'quantitative', or 'temporal')",
" Parameters\n ----------\n data: Numpy array or Pandas Series\n data for which the type will be inferred\n ordinal_threshold: integer (... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unpivot_frame API.
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 unpivot_frame API.
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... | Unpivot a dataframe for use with Vega/Vega-Lite
The input is a frame with any number of columns,
output is a frame with three columns: x value, y values,
and variable names. | "Unpivot a dataframe for use with Vega/Vega-Lite\n\n The input is a frame with any number of columns,\n output is a frame with three columns: x value, y values,\n and variable names." | 48 | false | altair-viz/pdvega | unpivot_frame | 35,843 | |
LDU_FT/Scoppio/RagnarokEngine3/from_polar | LDU_FT | [
"<BEGIN>\n## `set_default_pos`",
"Set the default starting location of our character.\n<END>",
"<BEGIN>\n## `__generate_location`",
"Reset the location of the cloud once it has left the viewable area of the screen.\n<END>",
"<BEGIN>\n## `load_character`",
"Create an instance of the main character and retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_polar API.
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 from_polar API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Convert polar coordinates to Carteasian Coordinates | "Convert polar coordinates to Carteasian Coordinates" | 165 | false | Scoppio/RagnarokEngine3 | from_polar | 35,844 | |
LDU_FT/SFDO-Tooling/CumulusCI/_check_infinite_flows | LDU_FT | [
"<BEGIN>\n## `_download_file`",
"Download the bulk API result file for a single batch\n<END>",
"<BEGIN>\n## `_create_job`",
"Initiate a bulk insert and upload batches to run in parallel.\n<END>",
"<BEGIN>\n## `_query_db`",
"Build a query to retrieve data from the local db.",
" Includes columns fr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_infinite_flows 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 _check_infinite_flows API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Recursively loop through the flow_config and check if there are any cycles.
:param steps: Set of step definitions to loop through
:param flows: Flows already visited.
:return: None | "Recursively loop through the flow_config and check if there are any cycles.\n\n :param steps: Set of step definitions to loop through\n :param flows: Flows already visited.\n :return: None" | 165 | false | SFDO-Tooling/CumulusCI | _check_infinite_flows | 35,845 | |
LDU_FT/klmitch/bark/_lookup_handler | LDU_FT | [
"<BEGIN>\n## `pop_state`",
"Pops off the most recent state.",
" :param idx: If provided, specifies the index at which the next\n string begins.\n<END>",
"<BEGIN>\n## `add_text`",
"Adds the text from string beginning to the specified ending\n index to the format.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _lookup_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.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _lookup_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.
The e... | Look up the implementation of a named handler. Broken out for
testing purposes.
:param name: The name of the handler to look up.
:returns: A factory function for the log handler. | "Look up the implementation of a named handler. Broken out for\n testing purposes.\n\n :param name: The name of the handler to look up.\n\n :returns: A factory function for the log handler." | 160 | false | klmitch/bark | _lookup_handler | 35,846 | |
LDU_FT/gagneurlab/concise/_trunc | LDU_FT | [
"<BEGIN>\n## `best_kmers`",
"Find best k-mers for CONCISE initialization.",
" Args:\n dt (pd.DataFrame): Table containing response variable and sequence.\n response (str): Name of the column used as the reponse variable.\n sequence (str): Name of the column storing the DNA/RNA sequences.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _trunc API.
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 _trunc API.
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 ... | Truncate vector values to have values on range [minval, maxval] | "Truncate vector values to have values on range [minval, maxval]" | 311 | false | gagneurlab/concise | _trunc | 35,847 | |
LDU_FT/peercoin/peercoin_rpc/sendtoaddress | LDU_FT | [
"<BEGIN>\n## `getbalance`",
"retrieve balance, If [account] is specified, returns the balance in the account.\n<END>",
"<BEGIN>\n## `sendtoaddress`",
"send ammount to address, with optional comment. Returns txid.\n sendtoaddress(ADDRESS, AMMOUNT, COMMENT)\n<END>",
"<BEGIN>\n## `sendfrom`",
"send ou... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sendtoaddress API.
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 sendtoaddress API.
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... | send ammount to address, with optional comment. Returns txid.
sendtoaddress(ADDRESS, AMMOUNT, COMMENT) | "send ammount to address, with optional comment. Returns txid.\n sendtoaddress(ADDRESS, AMMOUNT, COMMENT)" | 14 | false | peercoin/peercoin_rpc | sendtoaddress | 35,848 | |
LDU_FT/formiaczek/multi_key_dict/iteritems | LDU_FT | [
"<BEGIN>\n## `get_other_keys`",
"Returns list of other keys that are mapped to the same value as specified key. \r\n @param key - key for which other keys should be returned.\r\n @param including_current if set to True - key will also appear on this list.\n<END>",
"<BEGIN>\n## `iteritems`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iteritems API.
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 iteritems API.
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 an iterator over the dictionary's (key, value) pairs.
@param key_type if specified, iterator will be returning only (key,value) pairs for this type of key.
Otherwise (if not specified) ((keys,...), value)
i.e. (tuple of keys, values) pairs for all items in t... | "Returns an iterator over the dictionary's (key, value) pairs.\r\n @param key_type if specified, iterator will be returning only (key,value) pairs for this type of key.\r\n Otherwise (if not specified) ((keys,...), value) \r\n i.e. (tuple of keys, values) pairs for all ite... | 16 | false | formiaczek/multi_key_dict | iteritems | 35,849 | |
LDU_FT/theosysbio/means/_compute_raw_moments | LDU_FT | [
"<BEGIN>\n## `simulate_system`",
"Perform Gillespie SSA simulations and returns trajectories for of each species.\n Each trajectory is interpolated at the given time points.\n By default, the average amounts of species for all simulations is returned.",
" :param parameters: list of the init... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compute_raw_moments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compute_raw_moments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | r"""
Compute :math:`X_i`
Gamma type 1: :math:`X_i = \frac {\beta_i}{\beta_0}Y_0 + Y_i`
Gamma type 2: :math:`X_i = \sum_{k=0}^{i} \frac {\beta_i}{\beta_k}Y_k`
:param n_counter: a list of :class:`~means.core.descriptors.Moment`\s representing central moments
:type n_counter: list... | "r\"\"\"\n Compute :math:`X_i`\n Gamma type 1: :math:`X_i = \\frac {\\beta_i}{\\beta_0}Y_0 + Y_i`\n Gamma type 2: :math:`X_i = \\sum_{k=0}^{i} \\frac {\\beta_i}{\\beta_k}Y_k`\n\n :param n_counter: a list of :class:`~means.core.descriptors.Moment`\\s representing central moments\n :ty... | 244 | false | theosysbio/means | _compute_raw_moments | 35,850 | |
LDU_FT/jashort/SmartFileSorter/matches_all_rules | LDU_FT | [
"<BEGIN>\n## `do_action`",
":param target: Full path and filename\n :param dry_run: True - don't actually perform action. False: perform action. No effect for this rule.\n :return: filename: Full path and filename after action completes\n<END>",
"<BEGIN>\n## `add_match_rule`",
"Adds the given ma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the matches_all_rules API.
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 matches_all_rules API.
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 file matches all the rules in this ruleset.
:param target_filename:
:return: boolean | "Returns true if the given file matches all the rules in this ruleset.\n :param target_filename:\n :return: boolean" | 38 | false | jashort/SmartFileSorter | matches_all_rules | 35,851 | |
LDU_FT/mattja/nsim/coupling | LDU_FT | [
"<BEGIN>\n## `merge`",
"Merge several timeseries\n Arguments:\n tup: sequence of Timeseries, with the same shape except for axis 0\n Returns: \n Resulting merged timeseries which can have duplicate time points.\n<END>",
"<BEGIN>\n## `add_analyses`",
"Dynamically add new analysis methods to the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the coupling API.
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 coupling API.
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... | How to couple the output of one node to the input of another.
Args:
source_y (array of shape (8,)): state of the source node
target_y (array of shape (8,)): state of the target node
weight (float): the connection strength
Returns:
input (array of shape (8,)): valu... | "How to couple the output of one node to the input of another.\n Args:\n source_y (array of shape (8,)): state of the source node\n target_y (array of shape (8,)): state of the target node\n weight (float): the connection strength\n Returns:\n input (array of shape (8,)... | 427 | false | mattja/nsim | coupling | 35,852 | |
LDU_FT/yuce/pyswip/registerForeign | LDU_FT | [
"<BEGIN>\n## `getAtomChars`",
"If t is an atom, return it as a string, otherwise raise InvalidTypeError.\n<END>",
"<BEGIN>\n## `getBool`",
"If t is of type bool, return it, otherwise raise InvalidTypeError.\n<END>",
"<BEGIN>\n## `getLong`",
"If t is of type long, return it, otherwise raise InvalidTypeErro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the registerForeign API.
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 registerForeign API.
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... | Register a Python predicate
``func``: Function to be registered. The function should return a value in
``foreign_t``, ``True`` or ``False``.
``name`` : Name of the function. If this value is not used, ``func.func_name``
should exist.
``arity``: Arity (number of arguments) of the function. If this va... | "Register a Python predicate\n ``func``: Function to be registered. The function should return a value in\n ``foreign_t``, ``True`` or ``False``.\n ``name`` : Name of the function. If this value is not used, ``func.func_name``\n should exist.\n ``arity``: Arity (number of arguments) of the function. If t... | 64 | false | yuce/pyswip | registerForeign | 35,853 | |
LDU_FT/blockstack/blockstack-core/namedb_get_history_rows | LDU_FT | [
"<BEGIN>\n## `anyword_substring_search_inner`",
"return True if ANY target_word matches a query_word\n<END>",
"<BEGIN>\n## `search_people_by_bio`",
"queries lucene index to find a nearest match, output is profile username\n<END>",
"<BEGIN>\n## `order_search_results`",
"order of results should be a) query ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the namedb_get_history_rows 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 namedb_get_history_rows 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 history for a name or namespace from the history table.
Use offset/count if given. | "Get the history for a name or namespace from the history table.\n Use offset/count if given." | 1,580 | true | blockstack/blockstack-core | namedb_get_history_rows | 35,854 | |
LDU_FT/edx/XBlock/construct_xblock_from_class | LDU_FT | [
"<BEGIN>\n## `default_select`",
"Raise an exception when we have ambiguous entry points.\n<END>",
"<BEGIN>\n## `_load_class_entry_point`",
"Load `entry_point`, and set the `entry_point.name` as the\n attribute `plugin_name` on the loaded object\n<END>",
"<BEGIN>\n## `load_class`",
"Load a single cl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the construct_xblock_from_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the construct_xblock_from_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Construct a new xblock of type cls, mixing in the mixins
defined for this application. | "Construct a new xblock of type cls, mixing in the mixins\n defined for this application." | 295 | false | edx/XBlock | construct_xblock_from_class | 35,855 | |
LDU_FT/hobson/pug-dj/get_field | LDU_FT | [
"<BEGIN>\n## `instance`",
"Creates an EC2 instance from an Ubuntu AMI and configures it as a Django server\n with nginx + gunicorn\n<END>",
"<BEGIN>\n## `_run_task`",
"Tasks a task from tasks.py and runs through the commands on the server\n<END>",
"<BEGIN>\n## `_put_template`",
"Same as _put() but it l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_field API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_field API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return a field object based on a dot-delimited app.model.field name | "Return a field object based on a dot-delimited app.model.field name" | 300 | false | hobson/pug-dj | get_field | 35,856 | |
LDU_FT/probcomp/crosscat/analyze | LDU_FT | [
"<BEGIN>\n## `find`",
"Find current canonical representative equivalent to node.",
" Adjust the parent pointer of each node along the way to the root\n to point directly at the root for inverse-Ackerman-fast access.\n<END>",
"<BEGIN>\n## `union`",
"Assert equality of two nodes a and b so find(a) is fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the analyze API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the analyze API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Evolve the latent state by running MCMC transition kernels.
:param seed: The random seed
:type seed: int
:param M_c: The column metadata
:type M_c: dict
:param T: The data table in mapped representation (all floats, generated
by data_utils.read_data_objects)
... | "Evolve the latent state by running MCMC transition kernels.\n\n :param seed: The random seed\n :type seed: int\n :param M_c: The column metadata\n :type M_c: dict\n :param T: The data table in mapped representation (all floats, generated\n by data_utils.read_data_objects)\... | 92 | false | probcomp/crosscat | analyze | 35,857 | |
LDU_FT/JosuaKrause/quick_server/process_request | LDU_FT | [
"<BEGIN>\n## `json_dumps`",
"A safe JSON dump function that provides correct diverging numbers for a\n ECMAscript consumer.\n<END>",
"<BEGIN>\n## `msg`",
"Prints a message from the server to the log file.\n<END>",
"<BEGIN>\n## `setup_restart`",
"Sets up restart functionality that doesn't keep the fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Processes the request by delegating to `_process_request`. | "Processes the request by delegating to `_process_request`." | 90 | false | JosuaKrause/quick_server | process_request | 35,858 | |
LDU_FT/SylvanasSun/FishFishJump/packing_job_ext_info | 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 packing_job_ext_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the packing_job_ext_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Packing additional information of the job into the job_list_DO(JobListDO) | "Packing additional information of the job into the job_list_DO(JobListDO)" | 97 | false | SylvanasSun/FishFishJump | packing_job_ext_info | 35,859 | |
LDU_FT/mongodb/mongo-python-driver/_insert_one | LDU_FT | [
"<BEGIN>\n## `_arguments_repr`",
"Representation of the arguments used to create this object.\n<END>",
"<BEGIN>\n## `with_options`",
"Make a copy of this CodecOptions, overriding some options::",
" >>> from bson.codec_options import DEFAULT_CODEC_OPTIONS\n >>> DEFAULT_CODEC_OPTIONS.tz_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _insert_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _insert_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 extra... | Internal helper for inserting a single document. | "Internal helper for inserting a single document." | 908 | false | mongodb/mongo-python-driver | _insert_one | 35,860 | |
LDU_FT/tjvr/kurt/stripped_text | LDU_FT | [
"<BEGIN>\n## `_workaround_no_stage_specific_variables`",
"Make Stage-specific variables global (move them to Project).\n<END>",
"<BEGIN>\n## `register`",
"Register a new :class:`KurtPlugin`.",
" Once registered, the plugin can be used by :class:`Project`, when:",
" * :attr:`Project.load` see... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stripped_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stripped_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | The :attr:`text`, with spaces and inserts removed.
Used by :class:`BlockType.get` to look up blocks. | "The :attr:`text`, with spaces and inserts removed.\n\n Used by :class:`BlockType.get` to look up blocks." | 171 | false | tjvr/kurt | stripped_text | 35,861 | |
LDU_FT/bninja/pilo/rewind | LDU_FT | [
"<BEGIN>\n## `reset`",
"Used if you need to recursively parse forms.\n<END>",
"<BEGIN>\n## `rewind`",
"Used if you need to rewind stack to a particular frame.",
" :param predicate: Callable used to stop unwind, e.g.:",
" .. code::",
" def stop(frame):\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rewind API.
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 rewind API.
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 ... | Used if you need to rewind stack to a particular frame.
:param predicate: Callable used to stop unwind, e.g.:
.. code::
def stop(frame):
return True
:return: A context object used to restore the stack. | "Used if you need to rewind stack to a particular frame.\n\n :param predicate: Callable used to stop unwind, e.g.:\n\n .. code::\n\n def stop(frame):\n return True\n\n :return: A context object used to restore the stack." | 25 | false | bninja/pilo | rewind | 35,862 | |
LDU_FT/delfick/harpoon/start | LDU_FT | [
"<BEGIN>\n## `a_temp_file`",
"Yield the name of a temporary file and ensure it's removed after use\n<END>",
"<BEGIN>\n## `run_container`",
"Run this image and all dependency images\n<END>",
"<BEGIN>\n## `run_deps`",
"Start containers for all our dependencies\n<END>",
"<BEGIN>\n## `stop_deps`",
"Stop t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Present the PTY of the container inside the current process.
This will take over the current process' TTY until the container's PTY
is closed. | "Present the PTY of the container inside the current process.\n\n This will take over the current process' TTY until the container's PTY\n is closed." | 149 | false | delfick/harpoon | start | 35,863 | |
LDU_FT/mixmastamyk/console/_get_true_palette_entry | LDU_FT | [
"<BEGIN>\n## `clear_line`",
"Clear the current line.",
" Arguments:",
" mode: | 0 | 'forward' | 'right' - Clear cursor to end of line.\n | 1 | 'backward' | 'left' - Clear cursor to beginning of line.\n | 2 | 'full' - Clear entire line.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_true_palette_entry 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_true_palette_entry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Compute truecolor entry, once on the fly.
values must become sequence of decimal int strings: ('1', '2', '3') | "Compute truecolor entry, once on the fly.\n\n values must become sequence of decimal int strings: ('1', '2', '3')" | 158 | false | mixmastamyk/console | _get_true_palette_entry | 35,864 | |
LDU_FT/maxfischer2781/chainlet/wraplet_signature | LDU_FT | [
"<BEGIN>\n## `skip_pickle_inject`",
"skip global wrapper._raw_slave names used only for pickle support\n<END>",
"<BEGIN>\n## `wraplet_signature`",
"have wrapplets use the signature of the slave\n<END>",
"<BEGIN>\n## `_chain_forks`",
"Detect whether a sequence of elements leads to a fork of streams\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wraplet_signature API.
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 wraplet_signature API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | have wrapplets use the signature of the slave | "have wrapplets use the signature of the slave" | 95 | false | maxfischer2781/chainlet | wraplet_signature | 35,865 | |
LDU_FT/clchiou/startup/_parse_ret | LDU_FT | [
"<BEGIN>\n## `_get_not_annotated`",
"Return non-optional parameters that are not annotated.\n<END>",
"<BEGIN>\n## `_parse_args`",
"Return a list of arguments with the variable it reads.",
" NOTE: Multiple arguments may read the same variable.\n<END>",
"<BEGIN>\n## `_parse_ret`",
"Parse func's return ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_ret API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_ret API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Parse func's return annotation and return either None, a variable,
or a tuple of variables.
NOTE:
* _parse_ret() also notifies variables about will-writes.
* A variable can be written multiple times per return annotation. | "Parse func's return annotation and return either None, a variable,\n or a tuple of variables.\n\n NOTE:\n * _parse_ret() also notifies variables about will-writes.\n * A variable can be written multiple times per return annotation." | 20 | false | clchiou/startup | _parse_ret | 35,866 | |
LDU_FT/callowayproject/Transmogrify/quantize_without_scipy | LDU_FT | [
"<BEGIN>\n## `list_from_env`",
"Splits a string in the format \"a,b,c,d,e,f\" into\n ['a', 'b', 'c', 'd', 'e', 'f', ]\n<END>",
"<BEGIN>\n## `lists_from_env`",
"Splits a string in the format \"a,b:c,d,e:f\" into\n [('a', 'b'), ('c', 'd', 'e'), ('f', )]\n<END>",
"<BEGIN>\n## `get_crop_size`",
"Determi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quantize_without_scipy 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 quantize_without_scipy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | This function can be used if no scipy is availabe.
It's 7 times slower though. | "This function can be used if no scipy is availabe.\n It's 7 times slower though." | 110 | false | callowayproject/Transmogrify | quantize_without_scipy | 35,867 | |
LDU_FT/crs4/hl7apy/parse_fields | LDU_FT | [
"<BEGIN>\n## `check_encoding_chars`",
"Validate the given encoding chars",
" :type encoding_chars: ``dict``\n :param encoding_chars: the encoding chars (see :func:`hl7apy.set_default_encoding_chars`)\n :raises: :exc:`hl7apy.exceptions.InvalidEncodingChars` if the given encoding chars are not valid\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_fields API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_fields API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Parse the given ER7-encoded fields and return a list of :class:`hl7apy.core.Field`.
:type text: ``str``
:param text: the ER7-encoded string containing the fields to be parsed
:type name_prefix: ``str``
:param name_prefix: the field prefix (e.g. MSH)
:type version: ``str``
:param version: the ... | "Parse the given ER7-encoded fields and return a list of :class:`hl7apy.core.Field`.\n\n :type text: ``str``\n :param text: the ER7-encoded string containing the fields to be parsed\n\n :type name_prefix: ``str``\n :param name_prefix: the field prefix (e.g. MSH)\n\n :type version: ``str``\n :param ver... | 289 | false | crs4/hl7apy | parse_fields | 35,868 | |
LDU_FT/dossier/dossier.label/get_related_ids | LDU_FT | [
"<BEGIN>\n## `get_related_coref_relationships`",
"Follow coreference relationships to get full related graph.",
" :rtype: dict mapping related identifier to list of documents\n coref to that identifier.\n<END>",
"<BEGIN>\n## `get_related_flat`",
"Follow coreference relationships to get full re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_related_ids API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_related_ids API.
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... | Get identifiers for related identifiers. | "Get identifiers for related identifiers." | 88 | false | dossier/dossier.label | get_related_ids | 35,869 | |
LDU_FT/gsi-upm/soil/geo_search | LDU_FT | [
"<BEGIN>\n## `save_record`",
"Save a collection of records to the database.\n Database writes are cached.\n<END>",
"<BEGIN>\n## `convert`",
"Get the serialized value for a given key.\n<END>",
"<BEGIN>\n## `recover`",
"Get the deserialized value for a given key, and the serialized version.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geo_search API.
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 geo_search API.
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 list of nodes whose coordinates are closer than *radius* to *node*. | "Get a list of nodes whose coordinates are closer than *radius* to *node*." | 63 | false | gsi-upm/soil | geo_search | 35,870 | |
LDU_FT/phac-nml/sistr_cmd/nr_profiles | LDU_FT | [
"<BEGIN>\n## `parse_cgmlst_alleles`",
"Parse cgMLST alleles from fasta file\n cgMLST FASTA file must have a header format of \">{marker name}|{allele name}\"",
" Args:\n cgmlst_fasta (str): cgMLST fasta file path",
" Returns:\n dict of list: Marker name to list of allele sequences\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nr_profiles API.
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 nr_profiles API.
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 a condensed cgMLST pairwise distance matrix for specified Genomes_
where condensed means redundant cgMLST profiles are only represented once in the distance matrix.
Args:
user_name (list): List of Genome_ names to retrieve condensed distance matrix for
Returns:
(numpy.array, list): tup... | "Get a condensed cgMLST pairwise distance matrix for specified Genomes_\n where condensed means redundant cgMLST profiles are only represented once in the distance matrix.\n\n Args:\n user_name (list): List of Genome_ names to retrieve condensed distance matrix for\n\n Returns:\n (numpy.array, li... | 148 | false | phac-nml/sistr_cmd | nr_profiles | 35,871 | |
LDU_FT/trentm/cmdln/do_cat | LDU_FT | [
"<BEGIN>\n## `mkmanpage`",
"Return man page content for the given `cmdln.Cmdln` subclass name.\n<END>",
"<BEGIN>\n## `do_crush`",
"${cmd_name}: crush your enemies!",
" ${cmd_usage}\n ${cmd_option_list}\n C.f. Conan the Barbarian.\n<END>",
"<BEGIN>\n## `do_add`",
"Put files and direc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_cat API.
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 do_cat API.
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 ... | Output the content of specified files or URLs.
usage:
cat TARGET...
${cmd_option_list} | "Output the content of specified files or URLs.\n\n usage:\n cat TARGET...\n \n ${cmd_option_list}" | 207 | false | trentm/cmdln | do_cat | 35,872 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.