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/Microsoft/malmo/restart_minecraft
LDU_FT
[ "<BEGIN>\n## `angvel`", "Use sigmoid function to choose a delta that will help smoothly steer from current angle to target angle.\n<END>", "<BEGIN>\n## `pointTo`", "Steer towards the target pitch/yaw, return True when within the given tolerance threshold.\n<END>", "<BEGIN>\n## `download`", "Download Malmo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the restart_minecraft API. 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 restart_minecraft API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Attempt to quit mission if running and kill the client
"Attempt to quit mission if running and kill the client"
80
false
Microsoft/malmo
restart_minecraft
14,473
LDU_FT/joealcorn/laboratory/compare
LDU_FT
[ "<BEGIN>\n## `decorator`", "Decorate a control function in order to conduct an experiment when called.", " :param callable candidate: your candidate function\n :param iterable exp_args: positional arguments passed to :class:`Experiment`\n :param dict exp_kwargs: keyword arguments passed to ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compare API. 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 compare API. 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...
Compares two :class:`Observation` instances. :param Observation control: The control block's :class:`Observation` :param Observation candidate: A candidate block's :class:`Observation` :raises MismatchException: If ``Experiment.raise_on_mismatch`` is True :return bool: match?
"Compares two :class:`Observation` instances.\n\n :param Observation control: The control block's :class:`Observation`\n :param Observation candidate: A candidate block's :class:`Observation`\n\n :raises MismatchException: If ``Experiment.raise_on_mismatch`` is True\n\n :return bool: match?"
21
false
joealcorn/laboratory
compare
14,474
LDU_FT/django-import-export/django-import-export/validate_instance
LDU_FT
[ "<BEGIN>\n## `has_import_permission`", "Returns whether a request has import permission.\n<END>", "<BEGIN>\n## `get_import_resource_kwargs`", "Prepares/returns kwargs used when initializing Resource\n<END>", "<BEGIN>\n## `process_import`", "Perform the actual import action (after the user has confirmed th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_instance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_instance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Takes any validation errors that were raised by :meth:`~import_export.resources.Resource.import_obj`, and combines them with validation errors raised by the instance's ``full_clean()`` method. The combined errors are then re-raised as single, multi-field ValidationError. If the ...
"Takes any validation errors that were raised by\n :meth:`~import_export.resources.Resource.import_obj`, and combines them\n with validation errors raised by the instance's ``full_clean()``\n method. The combined errors are then re-raised as single, multi-field\n ValidationError.\n\n ...
84
false
django-import-export/django-import-export
validate_instance
14,475
LDU_FT/googlefonts/glyphsLib/cached_property
LDU_FT
[ "<BEGIN>\n## `to_ufo_font_attributes`", "Generate a list of UFOs with metadata loaded from .glyphs data.", " Modifies the list of UFOs in the UFOBuilder (self) in-place.\n<END>", "<BEGIN>\n## `to_glyphs_font_attributes`", "Copy font attributes from `ufo` either to `self.font` or to `master`.", " Arg...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cached_property API. 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 cached_property API. 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...
Special property decorator that caches the computed property value in the object's instance dict the first time it is accessed.
"Special property decorator that caches the computed\n property value in the object's instance dict the first\n time it is accessed."
235
false
googlefonts/glyphsLib
cached_property
14,476
LDU_FT/CyberReboot/vent/while_waiting
LDU_FT
[ "<BEGIN>\n## `gpu_queue`", "Queued up containers waiting for GPU resources\n<END>", "<BEGIN>\n## `file_queue`", "Processes files that have been added from the rq-worker, starts plugins\n that match the mime type for the new file.\n<END>", "<BEGIN>\n## `inventory`", "Return a dictionary of the inventory...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the while_waiting API. 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 while_waiting API. 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...
Update fields periodically if nothing is happening
"Update fields periodically if nothing is happening"
141
false
CyberReboot/vent
while_waiting
14,477
LDU_FT/robehickman/simple-http-file-sync/can_aquire_user_lock
LDU_FT
[ "<BEGIN>\n## `lock_access`", "Synchronise access to the user file between processes, this specifies\n which user is allowed write access at the current time\n<END>", "<BEGIN>\n## `can_aquire_user_lock`", "Allow a user to acquire the lock if no other user is currently using it, if the original\n user is ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the can_aquire_user_lock 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 can_aquire_user_lock API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Allow a user to acquire the lock if no other user is currently using it, if the original user is returning, presumably after a network error, or if the lock has expired.
"Allow a user to acquire the lock if no other user is currently using it, if the original\n user is returning, presumably after a network error, or if the lock has expired."
60
false
robehickman/simple-http-file-sync
can_aquire_user_lock
14,478
LDU_FT/airspeed-velocity/asv/asizesof
LDU_FT
[ "<BEGIN>\n## `get_graph_data`", "Iterator over graph data sets", " Yields\n ------\n param_idx\n Flat index to parameter permutations for parameterized benchmarks.\n None if benchmark is not parameterized.\n entry_name\n Name for the data set. If benc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the asizesof API. 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 asizesof API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Return a tuple containing the size in bytes of all objects passed as positional argments using the following options. *align=8* -- size alignment *clip=80* -- clip ``repr()`` strings *code=False* -- incl. (byte)code size *derive=False* -- derive fro...
"Return a tuple containing the size in bytes of all objects\n passed as positional argments using the following options.\n\n *align=8* -- size alignment\n\n *clip=80* -- clip ``repr()`` strings\n\n *code=False* -- incl. (byte)code size\n\n *derive=False* -- ...
256
false
airspeed-velocity/asv
asizesof
14,479
LDU_FT/svasilev94/GraphLibrary/BFS
LDU_FT
[ "<BEGIN>\n## `dijkstra`", "Compute shortest path length between satrt\r\n and all other reachable nodes for a weight graph.\r\n return -> ({vertex: weight form start, }, {vertex: predeseccor, })\n<END>", "<BEGIN>\n## `dijkstra_single_path_length`", "Compute shortest path length between satrt\r\n and ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the BFS API. 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 BFS API. 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...
Algorithm for breadth-first searching the vertices of a graph.
"Algorithm for breadth-first searching the vertices of a graph."
24
false
svasilev94/GraphLibrary
BFS
14,480
LDU_FT/xflows/rdm/target_Orange_table
LDU_FT
[ "<BEGIN>\n## `cv_split`", "Returns a list of pairs (train_context, test_context), one for each cross-validation fold.", " The split is stratified.", " :param context: DBContext to be split\n :param folds: number of folds\n :param random_seed: random seed to be used", " :return...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the target_Orange_table 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 target_Orange_table API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Returns the target table as an Orange example table. :rtype: orange.ExampleTable
"Returns the target table as an Orange example table.\n\n :rtype: orange.ExampleTable"
102
false
xflows/rdm
target_Orange_table
14,481
LDU_FT/jsvine/markovify/gen
LDU_FT
[ "<BEGIN>\n## `to_dict`", "Returns the underlying data as a Python dict.\n<END>", "<BEGIN>\n## `generate_corpus`", "Given a text string, returns a list of lists; that is, a list of\n \"sentences,\" each of which is a list of words. Before splitting into\n words, the sentences are filtered through...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen API. 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 gen API. 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...
Starting either with a naive BEGIN state, or the provided `init_state` (as a tuple), return a generator that will yield successive items until the chain reaches the END state.
"Starting either with a naive BEGIN state, or the provided `init_state`\n (as a tuple), return a generator that will yield successive items\n until the chain reaches the END state."
31
false
jsvine/markovify
gen
14,482
LDU_FT/incuna/django-orderable/set_orders
LDU_FT
[ "<BEGIN>\n## `reorder_view`", "The 'reorder' admin view for this model.\n<END>", "<BEGIN>\n## `get_unique_fields`", "List field names that are unique_together with `sort_order`.\n<END>", "<BEGIN>\n## `_is_sort_order_unique_together_with_something`", "Is the sort_order field unique_together with something\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_orders API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_orders API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Perform a mass update of sort_orders across the full queryset. Accepts a list, object_pks, of the intended order for the objects. Works as follows: - Compile a list of all sort orders in the queryset. Leave out anything that isn't in the object_pks list - this deals with pagination an...
"Perform a mass update of sort_orders across the full queryset.\n Accepts a list, object_pks, of the intended order for the objects.\n\n Works as follows:\n - Compile a list of all sort orders in the queryset. Leave out anything that\n isn't in the object_pks list - this deals with paginat...
14
false
incuna/django-orderable
set_orders
14,483
LDU_FT/wndhydrnt/python-oauth2/dispatch
LDU_FT
[ "<BEGIN>\n## `fetch_by_code`", "Returns data belonging to an authorization code from redis or\n ``None`` if no data was found.", " See :class:`oauth2.store.AuthCodeStore`.\n<END>", "<BEGIN>\n## `save_code`", "Stores the data belonging to an authorization code token in redis.", " See :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dispatch API. 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 dispatch API. 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...
Checks which Grant supports the current request and dispatches to it. :param request: The incoming request. :type request: :class:`oauth2.web.Request` :param environ: Dict containing variables of the environment. :type environ: dict :return: An instance of ``oauth2.web.Response...
"Checks which Grant supports the current request and dispatches to it.\n\n :param request: The incoming request.\n :type request: :class:`oauth2.web.Request`\n :param environ: Dict containing variables of the environment.\n :type environ: dict\n\n :return: An instance of ``oauth2.web....
165
false
wndhydrnt/python-oauth2
dispatch
14,484
LDU_FT/mbr/flask-nav/get_renderer
LDU_FT
[ "<BEGIN>\n## `render`", "Render the navigational item using a renderer.", " :param renderer: An object implementing the :class:`~.Renderer`\n interface.\n :return: A markupsafe string with the rendered result.\n<END>", "<BEGIN>\n## `visit_object`", "Fallback rendering f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_renderer API. 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_renderer API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Retrieve a renderer. :param app: :class:`~flask.Flask` application to look ``id`` up on :param id: Internal renderer id-string to look up
"Retrieve a renderer.\n\n :param app: :class:`~flask.Flask` application to look ``id`` up on\n :param id: Internal renderer id-string to look up"
24
false
mbr/flask-nav
get_renderer
14,485
LDU_FT/underworldcode/stripy/layer_depth
LDU_FT
[ "<BEGIN>\n## `install_documentation`", "Install the example notebooks for litho1pt0 in the given location", " WARNING: If the path exists, the Notebook files will be written into the path\n and will overwrite any existing files with which they collide. The default\n path (\"./Litho1pt0-Notebooks\") is ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the layer_depth API. 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 layer_depth API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Returns layer depth at lat / lon (degrees) where lat/lon may be arrays (of equal size). Depths are returned in metres.
"Returns layer depth at lat / lon (degrees)\n where lat/lon may be arrays (of equal size).\n Depths are returned in metres."
224
false
underworldcode/stripy
layer_depth
14,486
LDU_FT/litaotao/IPython-Dashboard/get
LDU_FT
[ "<BEGIN>\n## `post`", "return executed sql result to client.", " post data format:", " {\"options\": ['all', 'last', 'first', 'format'], \"sql_raw\": \"raw sql ...\"}", " Returns:\n sql result.\n<END>", "<BEGIN>\n## `sender`", "Send an object to storage[redis]. key is...
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...
Read dashboard content. Args: dash_id: dashboard id. Returns: A dict containing the content of that dashboard, not include the meta info.
"Read dashboard content.\n\n Args:\n dash_id: dashboard id.\n\n Returns:\n A dict containing the content of that dashboard, not include the meta info."
32
false
litaotao/IPython-Dashboard
get
14,487
LDU_FT/deginner/mq-client/consume
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 consume API. 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 consume API. 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...
Publish a message to the queue. :param function on_message: Function to call upon recieving a message :param str queue: The queue to publish to
"Publish a message to the queue.\n\n :param function on_message: Function to call upon recieving a message\n :param str queue: The queue to publish to"
61
false
deginner/mq-client
consume
14,488
LDU_FT/Clinical-Genomics/housekeeper/include
LDU_FT
[ "<BEGIN>\n## `include`", "Include a bundle of files into the internal space.", " Use bundle name if you simply want to inlcude the latest version.\n<END>", "<BEGIN>\n## `files_ondisk`", "Returns a list of files that are not on disk.\n<END>", "<BEGIN>\n## `add_bundle`", "Build a new bundle version of ...
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...
Include a bundle of files into the internal space. Use bundle name if you simply want to inlcude the latest version.
"Include a bundle of files into the internal space.\n\n Use bundle name if you simply want to inlcude the latest version."
12
false
Clinical-Genomics/housekeeper
include
14,489
LDU_FT/Locu/chronology/put_events
LDU_FT
[ "<BEGIN>\n## `is_remote_allowed`", "Check if `remote` is allowed to make a CORS request.\n<END>", "<BEGIN>\n## `endpoint`", "Returns a decorator which when applied a function, causes that function to\n serve `url` and only allows the HTTP methods in `methods`\n<END>", "<BEGIN>\n## `get_seconds`", "Conver...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_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 extrac...
Store events in backends POST body should contain a JSON encoded version of: { namespace: namespace_name (optional), events: { stream_name1 : [event1, event2, ...], stream_name2 : [event1, event2, ...], ... } } Where each event is a dictionary of keys and values.
"Store events in backends\n POST body should contain a JSON encoded version of:\n { namespace: namespace_name (optional),\n events: { stream_name1 : [event1, event2, ...],\n stream_name2 : [event1, event2, ...],\n ... }\n }\n Where each event is a dictionary of keys and values...
156
false
Locu/chronology
put_events
14,490
LDU_FT/mjirik/sed3/__get_slice
LDU_FT
[ "<BEGIN>\n## `show_slices`", "Show slices as tiled image\r", " :param data3d: Input data\r\n :param contour: Data for contouring\r\n :param seeds: Seed data\r\n :param axis: Axis for sliceing\r\n :param slice_step: Show each \"slice_step\"-th slice, can be float\r\n :param shape: tuple(vertica...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __get_slice API. 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_slice API. 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...
:param data: :param slice_number: :param axis: :param flipV: vertical flip :param flipH: horizontal flip :return:
":param data:\r\n :param slice_number:\r\n :param axis:\r\n :param flipV: vertical flip\r\n :param flipH: horizontal flip\r\n :return:"
30
false
mjirik/sed3
__get_slice
14,491
LDU_FT/ucsb-cs-education/hairball/iter_blocks
LDU_FT
[ "<BEGIN>\n## `main`", "The entrypoint for the hairball command installed via setup.py.\n<END>", "<BEGIN>\n## `path_to_key`", "Return the sha1sum (key) belonging to the file at filepath.\n<END>", "<BEGIN>\n## `key_to_path`", "Return the fullpath to the file with sha1sum key.\n<END>", "<BEGIN>\n## `load`"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_blocks API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_blocks API. 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...
A generator for blocks contained in a block list. Yields tuples containing the block name, the depth that the block was found at, and finally a handle to the block itself.
"A generator for blocks contained in a block list.\n\n Yields tuples containing the block name, the depth that the block was\n found at, and finally a handle to the block itself."
90
false
ucsb-cs-education/hairball
iter_blocks
14,492
LDU_FT/fr33jc/bang/find_ssh_pub_key
LDU_FT
[ "<BEGIN>\n## `set_ssh_creds`", "Set ssh credentials into config.", " Note that these values might also be set in ~/.bangrc. If they are\n specified both in ~/.bangrc and as command-line arguments to ``bang``, then\n the command-line arguments win.\n<END>", "<BEGIN>\n## `run_bang`", "Runs bang with...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_ssh_pub_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_ssh_pub_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Returns ``True`` if an SSH key named :attr:`name` is found. Otherwise returns ``False``. :rtype: :class:`bool`
"Returns ``True`` if an SSH key named :attr:`name` is found.\n\n Otherwise returns ``False``.\n\n :rtype: :class:`bool`"
336
false
fr33jc/bang
find_ssh_pub_key
14,493
LDU_FT/teffland/pytorch-monitor/get_monitor_forward_and_backward
LDU_FT
[ "<BEGIN>\n## `set_monitor`", "Defines the monitor method on the module.\n<END>", "<BEGIN>\n## `set_monitoring`", "Defines the monitoring method on the module.\n<END>", "<BEGIN>\n## `remove_grad_hooks`", "Remove gradient hooks to all of the parameters and monitored vars\n<END>", "<BEGIN>\n## `get_monitor...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_monitor_forward_and_backward API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_monitor_forward_and_backward API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
Get the method for monitoring the forward values of the network
"Get the method for monitoring the forward values of the network"
13
false
teffland/pytorch-monitor
get_monitor_forward_and_backward
14,494
LDU_FT/andrenarchy/krypy/MAU
LDU_FT
[ "<BEGIN>\n## `find_common_dtype`", "Returns common dtype of numpy and scipy objects.", " Recognizes ndarray, spmatrix and LinearOperator. All other objects are\n ignored (most notably None).\n<END>", "<BEGIN>\n## `shape_vecs`", "Reshape all ndarrays with ``shape==(n,)`` to ``shape==(n,1)``.", " R...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the MAU API. 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 MAU API. 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...
Result of preconditioned operator to deflation space, i.e., :math:`MM_lAM_rU`.
"Result of preconditioned operator to deflation space, i.e.,\n :math:`MM_lAM_rU`."
194
false
andrenarchy/krypy
MAU
14,495
LDU_FT/log2timeline/dfdatetime/CopyFromDateTimeString
LDU_FT
[ "<BEGIN>\n## `_GetNormalizedTimestamp`", "Retrieves the normalized timestamp.", " Returns:\n decimal.Decimal: normalized timestamp, which contains the number of\n seconds since January 1, 1970 00:00:00 and a fraction of second used\n for increased precision, or None if the normalized t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the CopyFromDateTimeString 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 CopyFromDateTimeString API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Copies a POSIX timestamp from a date and time string. Args: time_string (str): date and time value formatted as: YYYY-MM-DD hh:mm:ss.######[+-]##:## Where # are numeric digits ranging from 0 to 9 and the seconds fraction can be either 3 or 6 digits. The time of day, seconds ...
"Copies a POSIX timestamp from a date and time string.\n\n Args:\n time_string (str): date and time value formatted as:\n YYYY-MM-DD hh:mm:ss.######[+-]##:##\n\n Where # are numeric digits ranging from 0 to 9 and the seconds\n fraction can be either 3 or 6 digits. The time of day, sec...
244
false
log2timeline/dfdatetime
CopyFromDateTimeString
14,496
LDU_FT/scivision/histutils/ut12frame
LDU_FT
[ "<BEGIN>\n## `cp_parents`", "This function requires Python >= 3.6.", " This acts like bash cp --parents in Python\n inspiration from\n http://stackoverflow.com/questions/15329223/copy-a-file-into-a-directory-with-its-original-leading-directories-appended", " example\n source: /tmp/e/f\n dest...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ut12frame API. 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 ut12frame API. 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...
Given treq, output index(ces) to extract via rawDMCreader treq: scalar or vector of ut1_unix time (seconds since Jan 1, 1970) ind: zero-based frame index corresponding to ut1_unix, corresponding to input data file.
"Given treq, output index(ces) to extract via rawDMCreader\n treq: scalar or vector of ut1_unix time (seconds since Jan 1, 1970)\n ind: zero-based frame index corresponding to ut1_unix, corresponding to input data file."
58
false
scivision/histutils
ut12frame
14,497
LDU_FT/litl/rauth/request
LDU_FT
[ "<BEGIN>\n## `request`", "A loose wrapper around Requests' :class:`~requests.sessions.Session`\n which injects OAuth 1.0/a parameters.", " :param method: A string representation of the HTTP method to be used.\n :type method: str\n :param url: The resource to be requested.\n :t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted...
A loose wrapper around Requests' :class:`~requests.sessions.Session` which injects OAuth 2.0 parameters. :param method: A string representation of the HTTP method to be used. :type method: str :param url: The resource to be requested. :type url: str :param bearer_auth: W...
"A loose wrapper around Requests' :class:`~requests.sessions.Session`\n which injects OAuth 2.0 parameters.\n\n :param method: A string representation of the HTTP method to be used.\n :type method: str\n :param url: The resource to be requested.\n :type url: str\n :param bearer...
79
false
litl/rauth
request
14,498
LDU_FT/textX/textX/parse_tree_to_objgraph
LDU_FT
[ "<BEGIN>\n## `needs_to_be_resolved`", "This function determines, if a reference (CrossReference) needs to be\n resolved or not (while creating the model, while resolving references).", " Args:\n parent_obj: the object containing the attribute to be resolved.\n attr_name: the attribute identi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_tree_to_objgraph 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 parse_tree_to_objgraph API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Transforms parse_tree to object graph representing model in a new language.
"Transforms parse_tree to object graph representing model in a\n new language."
140
false
textX/textX
parse_tree_to_objgraph
14,499
LDU_FT/zero-os/0-core/subvol_quota
LDU_FT
[ "<BEGIN>\n## `stdout`", "The job stdout\n :return: string or None\n<END>", "<BEGIN>\n## `stderr`", "The job stderr\n :return: string or None\n<END>", "<BEGIN>\n## `exists`", "Returns true if the job is still running or zero-os still knows about this job ID", " After a job is finishe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subvol_quota API. 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 subvol_quota API. 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...
Apply a quota to a btrfs subvolume in the specified path :param path: path to apply the quota for (it has to be the path of the subvol) :param limit: the limit to Apply
"Apply a quota to a btrfs subvolume in the specified path\n :param path: path to apply the quota for (it has to be the path of the subvol)\n :param limit: the limit to Apply"
236
false
zero-os/0-core
subvol_quota
14,500
LDU_FT/BerkeleyAutomation/visualization/contour
LDU_FT
[ "<BEGIN>\n## `figure`", "Create a blank figure.", " Parameters\n ----------\n bgcolor : (3,) float\n Color of the background with values in [0,1].\n size : (2,) int\n Width and height of the figure in pixels.\n<END>", "<BEGIN>\n## `show`", "Display the current...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the contour API. 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 contour API. 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...
Draws a contour on the current plot by scattering points. Parameters ---------- c : :obj:`autolab_core.Contour` contour to draw subsample : int subsample rate for boundary pixels size : int size of scattered points color : :obj:`str` ...
"Draws a contour on the current plot by scattering points.\n\n Parameters\n ----------\n c : :obj:`autolab_core.Contour`\n contour to draw\n subsample : int\n subsample rate for boundary pixels\n size : int\n size of scattered points\n color : :...
54
false
BerkeleyAutomation/visualization
contour
14,501
LDU_FT/albertz/py_better_exchook/from_frame_summary
LDU_FT
[ "<BEGIN>\n## `parse_pkg_info`", ":param str fn:\n :rtype: dict[str,str]\n<END>", "<BEGIN>\n## `parse_py_statement`", ":param str line:\n :return: yields (type, value)\n :rtype: typing.Iterator[typing.Tuple[str,str]]\n<END>", "<BEGIN>\n## `grep_full_py_identifiers`", ":param typing.Iterable[(str,s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_frame_summary 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 from_frame_summary 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...
:param FrameSummary f: :rtype: DummyFrame
":param FrameSummary f:\n :rtype: DummyFrame"
75
false
albertz/py_better_exchook
from_frame_summary
14,502
LDU_FT/matthewgilbert/mapping/to_notional
LDU_FT
[ "<BEGIN>\n## `plot_composition`", "Plot time series of generics and label underlying instruments which\n these series are composed of.", " Parameters:\n -----------\n df: pd.DataFrame\n DataFrame of time series to be plotted. Each column is a generic time\n series.\n intervals: pd.D...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_notional API. 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 to_notional API. 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...
Convert number of contracts of tradeable instruments to notional value of tradeable instruments in a desired currency. Parameters ---------- instruments: pandas.Series Series of instrument holdings. Index is instrument name and values are number of contracts. prices: pandas.Series ...
"Convert number of contracts of tradeable instruments to notional value of\n tradeable instruments in a desired currency.\n\n Parameters\n ----------\n instruments: pandas.Series\n Series of instrument holdings. Index is instrument name and values are\n number of contracts.\n prices: pandas...
92
false
matthewgilbert/mapping
to_notional
14,503
LDU_FT/hhatto/autopep8/fix_e713
LDU_FT
[ "<BEGIN>\n## `continued_indentation`", "Override pycodestyle's function to provide indentation information.\n<END>", "<BEGIN>\n## `get_w605_position`", "workaround get pointing out position by W605.\n<END>", "<BEGIN>\n## `get_module_imports_on_top_of_file`", "return import or from keyword position", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fix_e713 API. 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 fix_e713 API. 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...
Fix (trivial case of) non-membership check.
"Fix (trivial case of) non-membership check."
139
false
hhatto/autopep8
fix_e713
14,504
LDU_FT/HttpRunner/har2case/__make_request_method
LDU_FT
[ "<BEGIN>\n## `__make_request_url`", "parse HAR entry request url and queryString, and make teststep url and params", " Args:\n entry_json (dict):\n {\n \"request\": {\n \"url\": \"https://httprunner.top/home?v=1&w=2\",\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __make_request_method 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 __make_request_method API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
parse HAR entry request method, and make teststep method.
"parse HAR entry request method, and make teststep method."
32
false
HttpRunner/har2case
__make_request_method
14,505
LDU_FT/flashingpumpkin/django-socialregistration/openid_form
LDU_FT
[ "<BEGIN>\n## `get_next`", "Returns a url to redirect to after the login / signup.\n<END>", "<BEGIN>\n## `create_profile`", "Create a profile model.", " :param user: A user object\n :param save: If this is set, the profile will\n be saved to DB straight away\n :type save: bool...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the openid_form API. 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 openid_form API. 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...
Render OpenID form. Allows to pre set the provider:: {% openid_form "https://www.google.com/accounts/o8/id" %} Also creates custom button URLs by concatenating all arguments after the provider's URL {% openid_form "https://www.google.com/accounts/o8/id" STATIC_URL "image/for/google.jpg" %}
"Render OpenID form. Allows to pre set the provider::\n\n \t{% openid_form \"https://www.google.com/accounts/o8/id\" %}\n\n Also creates custom button URLs by concatenating all arguments\n after the provider's URL\n\n \t{% openid_form \"https://www.google.com/accounts/o8/id\" STATIC_URL \"image/for/google.j...
72
false
flashingpumpkin/django-socialregistration
openid_form
14,506
LDU_FT/isambard-uob/ampal/load_pdb
LDU_FT
[ "<BEGIN>\n## `write_pdb`", "Writes a pdb file for a list of residues.", " Parameters\n ----------\n residues : list\n List of Residue objects.\n chain_id : str\n String of the chain id, defaults to ' '.\n alt_states : bool, optional\n If true, include all occupancy states of ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_pdb API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_pdb API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Converts a PDB file into an AMPAL object. Parameters ---------- pdb : str Either a path to a PDB file or a string containing PDB format structural data. path : bool, optional If `true`, flags `pdb` as a path and not a PDB string. pdb_id : str, optional Identifier for...
"Converts a PDB file into an AMPAL object.\n\n Parameters\n ----------\n pdb : str\n Either a path to a PDB file or a string containing PDB\n format structural data.\n path : bool, optional\n If `true`, flags `pdb` as a path and not a PDB string.\n pdb_id : str, optional\n Ide...
84
false
isambard-uob/ampal
load_pdb
14,507
LDU_FT/Unidata/siphon/datacol_to_array
LDU_FT
[ "<BEGIN>\n## `open_store_variable`", "Turn CDMRemote variable into something like a numpy.ndarray.\n<END>", "<BEGIN>\n## `get_attrs`", "Get the global attributes from underlying data set.\n<END>", "<BEGIN>\n## `get_dimensions`", "Get the dimensions from underlying data set.\n<END>", "<BEGIN>\n## `_find_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the datacol_to_array API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the datacol_to_array API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Convert DataCol from NCStream v2 into an array with appropriate type. Depending on the data type specified, this extracts data from the appropriate members and packs into a :class:`numpy.ndarray`, recursing as necessary for compound data types. Parameters ---------- datacol : DataCol Returns ...
"Convert DataCol from NCStream v2 into an array with appropriate type.\n\n Depending on the data type specified, this extracts data from the appropriate members\n and packs into a :class:`numpy.ndarray`, recursing as necessary for compound data types.\n\n Parameters\n ----------\n datacol : DataCol\n\n ...
309
false
Unidata/siphon
datacol_to_array
14,508
LDU_FT/Yelp/pyramid_zipkin/_getattr_path
LDU_FT
[ "<BEGIN>\n## `_getattr_path`", "getattr for a dot separated path", " If an AttributeError is raised, it will return None.\n<END>", "<BEGIN>\n## `_get_settings_from_request`", "Extracts Zipkin attributes and configuration from request attributes.\n See the `zipkin_span` context in py-zipkin for more de...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _getattr_path API. 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 _getattr_path API. 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...
getattr for a dot separated path If an AttributeError is raised, it will return None.
"getattr for a dot separated path\n\n If an AttributeError is raised, it will return None."
35
false
Yelp/pyramid_zipkin
_getattr_path
14,509
LDU_FT/sidecars/python-quickbooks/count
LDU_FT
[ "<BEGIN>\n## `get_authorize_url`", "Returns the Authorize URL as returned by QB, and specified by OAuth 1.0a.\n :return URI:\n<END>", "<BEGIN>\n## `get_access_tokens`", "Wrapper around get_auth_session, returns session, and sets access_token and\n access_token_secret on the QB Object.\n :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
:param where_clause: QBO SQL where clause (DO NOT include 'WHERE') :param qb: :return: Returns database record count
":param where_clause: QBO SQL where clause (DO NOT include 'WHERE')\n :param qb:\n :return: Returns database record count"
26
false
sidecars/python-quickbooks
count
14,510
LDU_FT/coveralls-clients/coveralls-python/get_arcs
LDU_FT
[ "<BEGIN>\n## `report`", "Generate a part of json report for coveralls", " `morfs` is a list of modules or filenames.\n `outfile` is a file object to write the json to.\n<END>", "<BEGIN>\n## `get_arcs`", "Hit stats for each branch.", " Returns a flat list where every four values repres...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_arcs API. 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_arcs API. 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...
Hit stats for each branch. Returns a flat list where every four values represent a branch: 1. line-number 2. block-number (not used) 3. branch-number 4. hits (we only get 1/0 from coverage.py)
"Hit stats for each branch.\n\n Returns a flat list where every four values represent a branch:\n 1. line-number\n 2. block-number (not used)\n 3. branch-number\n 4. hits (we only get 1/0 from coverage.py)"
16
false
coveralls-clients/coveralls-python
get_arcs
14,511
LDU_FT/pavlov99/jsonapi/default
LDU_FT
[ "<BEGIN>\n## `default`", "Encode JSON.", " :return str: A JSON encoded string\n<END>", "<BEGIN>\n## `dump_document`", "Get document for model_instance.", " redefine dump rule for field x: def dump_document_x", " :param django.db.models.Model instance: model instance\n :param ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the default API. 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 default API. 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...
Encode JSON. :return str: A JSON encoded string
"Encode JSON.\n\n :return str: A JSON encoded string"
63
false
pavlov99/jsonapi
default
14,512
LDU_FT/miLibris/flask-rest-jsonapi/column
LDU_FT
[ "<BEGIN>\n## `_get_key_values`", "Return a dict containing key / values items for a given key, used for items like filters, page, etc.", " :param str name: name of the querystring parameter\n :return dict: a dict of key / values items\n<END>", "<BEGIN>\n## `querystring`", "Return original quer...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the column API. 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 column API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Get the column object :param DeclarativeMeta model: the model :param str field: the field :return InstrumentedAttribute: the column to filter on
"Get the column object\n\n :param DeclarativeMeta model: the model\n :param str field: the field\n :return InstrumentedAttribute: the column to filter on"
149
false
miLibris/flask-rest-jsonapi
column
14,513
LDU_FT/rosshamish/hexgrid/coastal_edges
LDU_FT
[ "<BEGIN>\n## `location`", "Returns a formatted string representing the coordinate. The format depends on the\n coordinate type.", " Tiles look like: 1, 12\n Nodes look like: (1 NW), (12 S)\n Edges look like: (1 NW), (12 SE)", " :param hexgrid_type: hexgrid.TILE, hexgrid.NODE, hexgrid.EDGE\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the coastal_edges API. 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 coastal_edges API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Returns a list of coastal edge coordinate. An edge is coastal if it is on the grid's border. :return: list(int)
"Returns a list of coastal edge coordinate.\n\n An edge is coastal if it is on the grid's border.\n :return: list(int)"
49
false
rosshamish/hexgrid
coastal_edges
14,514
LDU_FT/MSchnei/pyprf_feature/fnd_unq_rws
LDU_FT
[ "<BEGIN>\n## `pyprf`", "Main function for pRF mapping.", " Parameters\n ----------\n strCsvCnfg : str\n Absolute file path of config file.\n lgcTest : Boolean\n Whether this is a test (pytest). If yes, absolute path of pyprf libary\n will be prepended to config file paths.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fnd_unq_rws API. 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 fnd_unq_rws API. 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...
Find unique rows in 2D array. Parameters ---------- A : 2d numpy array Array for which unique rows should be identified. return_index : bool Bool to decide whether I is returned. return_inverse : bool Bool to decide whether J is returned. Returns ------- B : 1d ...
"Find unique rows in 2D array.\n\n Parameters\n ----------\n A : 2d numpy array\n Array for which unique rows should be identified.\n return_index : bool\n Bool to decide whether I is returned.\n return_inverse : bool\n Bool to decide whether J is returned.\n\n Returns\n ------...
266
false
MSchnei/pyprf_feature
fnd_unq_rws
14,515
LDU_FT/tensorflow/hub/create_module_graph
LDU_FT
[ "<BEGIN>\n## `export`", "Exports a ModuleSpec with weights taken from a checkpoint.", " This is an helper to export modules directly from a ModuleSpec\n without having to create a session and set the variables to the\n intended values.", " Example usage:", " ```python\n spec = hub.create_m...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_module_graph API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_module_graph API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Creates a graph and loads Hub Module into it. Args: module_spec: the hub.ModuleSpec for the image module being used. Returns: graph: the tf.Graph that was created. bottleneck_tensor: the bottleneck values output by the module. resized_input_tensor: the input images, resized as expected by the modu...
"Creates a graph and loads Hub Module into it.\n\n Args:\n module_spec: the hub.ModuleSpec for the image module being used.\n\n Returns:\n graph: the tf.Graph that was created.\n bottleneck_tensor: the bottleneck values output by the module.\n resized_input_tensor: the input images, resized as expected by...
488
false
tensorflow/hub
create_module_graph
14,516
LDU_FT/Erotemic/timerit/mean
LDU_FT
[ "<BEGIN>\n## `chunks`", "simple two-line alternative to `ubelt.chunks`\n<END>", "<BEGIN>\n## `_choose_unit`", "Finds a good unit to print seconds in", " Args:\n value (float): measured value in seconds\n unit (str): if specified, overrides heuristic decision\n asciimode (bool): if Tr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mean API. 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 mean API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
The mean of the best results of each trial. Returns: float: mean of measured seconds Note: This is typically less informative than simply looking at the min. It is recommended to use min as the expectation value rather than mean in most cases. E...
"The mean of the best results of each trial.\n\n Returns:\n float: mean of measured seconds\n\n Note:\n This is typically less informative than simply looking at the min.\n It is recommended to use min as the expectation value rather than\n mean in most cases.\n...
48
false
Erotemic/timerit
mean
14,517
LDU_FT/MatterMiners/cobald/accept
LDU_FT
[ "<BEGIN>\n## `exclusive`", "Mark a callable as exclusive", " :param via: factory for a Lock to guard the callable", " Guards the callable against being entered again before completion.\n Explicitly raises a :py:exc:`RuntimeError` on violation.", " :note: If applied to a method, it is exclusive a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the accept API. 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 accept API. 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 ...
Start accepting synchronous, asynchronous and service payloads Since services are globally defined, only one :py:class:`ServiceRunner` may :py:meth:`accept` payloads at any time.
"Start accepting synchronous, asynchronous and service payloads\n\n Since services are globally defined, only one :py:class:`ServiceRunner`\n may :py:meth:`accept` payloads at any time."
74
false
MatterMiners/cobald
accept
14,518
LDU_FT/hitchtest/hitchserve/wait_for_ipykernel
LDU_FT
[ "<BEGIN>\n## `run`", "Run subcommand.", " Args:\n shell (Optional[bool]): Run command using shell (default False)\n ignore_errors (Optional[bool]): If the command has a non-zero return code, don't raise an exception (default False)\n stdin (Optional[bool]): Plug input fro...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_ipykernel 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 wait_for_ipykernel 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...
Wait for an IPython kernel-nnnn.json filename message to appear in log.
"Wait for an IPython kernel-nnnn.json filename message to appear in log."
35
false
hitchtest/hitchserve
wait_for_ipykernel
14,519
LDU_FT/msoulier/tftpy/handle
LDU_FT
[ "<BEGIN>\n## `parse`", "This method is used to parse an existing datagram into its\n corresponding TftpPacket object. The buffer is the raw bytes off of\n the network.\n<END>", "<BEGIN>\n## `__create`", "This method returns the appropriate class object corresponding to\n the passed opcode...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle API. 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 handle API. 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 ...
Handle an initial RRQ packet as a server.
"Handle an initial RRQ packet as a server."
70
false
msoulier/tftpy
handle
14,520
LDU_FT/edeposit/edeposit.amqp.ftp/_convert_to_dict
LDU_FT
[ "<BEGIN>\n## `load_users`", "Read passwd file and return dict with users and all their settings.", " Args:\n path (str, default settings.LOGIN_FILE): path of the file,\n which will be loaded (default :attr:`ftp.settings.LOGIN_FILE`).", " Returns:\n (dict): username: {pass_hash, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _convert_to_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _convert_to_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Convert `data` to dictionary. Tries to get sense in multidimensional arrays. Args: data: List/dict/tuple of variable dimension. Returns: dict: If the data can be converted to dictionary. Raises: MetaParsingException: When the data are unconvertible to dict.
"Convert `data` to dictionary.\n\n Tries to get sense in multidimensional arrays.\n\n Args:\n data: List/dict/tuple of variable dimension.\n\n Returns:\n dict: If the data can be converted to dictionary.\n\n Raises:\n MetaParsingException: When the data are unconvertible to dict."
166
false
edeposit/edeposit.amqp.ftp
_convert_to_dict
14,521
LDU_FT/ONSdigital/sdc-rabbit/on_queue_declareok
LDU_FT
[ "<BEGIN>\n## `_connect`", "Connect to a RabbitMQ instance", " :returns: Boolean corresponding to success of connection\n :rtype: bool\n<END>", "<BEGIN>\n## `_disconnect`", "Cleanly close a RabbitMQ connection.", " :returns: None\n<END>", "<BEGIN>\n## `publish_message`", "Publish a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_queue_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_queue_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. Th...
Method invoked by pika when the Queue.Declare RPC call made in setup_queue has completed. In this method we will bind the queue and exchange together with the routing key by issuing the Queue.Bind RPC command. When this command is complete, the on_bindok method will be invoked by pika. ...
"Method invoked by pika when the Queue.Declare RPC call made in\n setup_queue has completed. In this method we will bind the queue\n and exchange together with the routing key by issuing the Queue.Bind\n RPC command. When this command is complete, the on_bindok method will\n be invoked by pi...
58
false
ONSdigital/sdc-rabbit
on_queue_declareok
14,522
LDU_FT/mayfield/shellish/config_section
LDU_FT
[ "<BEGIN>\n## `hone_cache`", "A caching decorator that follows after the style of lru_cache. Calls\n that are sharper than previous requests are returned from the cache after\n honing in on the requested results using the `refineby` technique.", " The `refineby` technique can be `startswith`, `container...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the config_section API. 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 config_section API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
The string used in a .<ROOT>_config file section. Usually this is just the full prog name for a command minus the root command.
"The string used in a .<ROOT>_config file section. Usually this\n is just the full prog name for a command minus the root command."
172
false
mayfield/shellish
config_section
14,523
LDU_FT/ayoungprogrammer/Lango/match_rules_context
LDU_FT
[ "<BEGIN>\n## `parse`", "Returns tree objects from a sentence", " Args:\n line: Sentence to be parsed into a tree", " Returns:\n Tree object representing parsed sentence\n None if parse fails\n<END>", "<BEGIN>\n## `match_rules`", "Matches a Tree structure with...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_rules_context 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 match_rules_context 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...
Recursively matches a Tree structure with rules and returns context Args: tree (Tree): Parsed tree structure rules (dict): See match_rules parent_context (dict): Context of parent call Returns: dict: Context matched dictionary of matched rules or None if no match
"Recursively matches a Tree structure with rules and returns context\n\n Args:\n tree (Tree): Parsed tree structure\n rules (dict): See match_rules\n parent_context (dict): Context of parent call\n Returns:\n dict: Context matched dictionary of matched rules or\n None if no matc...
36
false
ayoungprogrammer/Lango
match_rules_context
14,524
LDU_FT/MillionIntegrals/vel/aggregate_key
LDU_FT
[ "<BEGIN>\n## `histogram_info`", "Return extra information about histogram\n<END>", "<BEGIN>\n## `sample`", "Sample from a greedy strategy with given q-value histogram\n<END>", "<BEGIN>\n## `sample_forward_transitions`", "Sample transitions from replay buffer with _forward steps_.\n That is, instead...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aggregate_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aggregate_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Aggregate values from key and put them into the top-level dictionary
"Aggregate values from key and put them into the top-level dictionary"
279
false
MillionIntegrals/vel
aggregate_key
14,525
LDU_FT/matheuscas/pyIE/start
LDU_FT
[ "<BEGIN>\n## `start`", "Checks the number valiaty for the Rondônia state\n<END>", "<BEGIN>\n## `start`", "Checks the number valiaty for the São Paulo state\n<END>", "<BEGIN>\n## `start`", "Checks the number valiaty for the Pernanbuco state\n<END>", "<BEGIN>\n## `start`", "Checks the number valiaty for...
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...
Checks the number valiaty for the Alagoas state
"Checks the number valiaty for the Alagoas state"
30
false
matheuscas/pyIE
start
14,526
LDU_FT/redcap-tools/PyCap/is_longitudinal
LDU_FT
[ "<BEGIN>\n## `validate`", "Checks that at least required params exist\n<END>", "<BEGIN>\n## `execute`", "Execute the API request and return data", " Parameters\n ----------\n kwargs :\n passed to requests.post()", " Returns\n -------\n response : list, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_longitudinal API. 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 is_longitudinal API. 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...
Returns ------- boolean : longitudinal status of this project
"Returns\n -------\n boolean :\n longitudinal status of this project"
79
false
redcap-tools/PyCap
is_longitudinal
14,527
LDU_FT/bastibe/PySoundCard/device_info
LDU_FT
[ "<BEGIN>\n## `hostapi_info`", "Return a generator with information about each host API.", " If index is given, only one dictionary for the given host API is\n returned.\n<END>", "<BEGIN>\n## `device_info`", "Return a generator with information about each device.", " If index is given, only one di...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the device_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the device_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Return a generator with information about each device. If index is given, only one dictionary for the given device is returned.
"Return a generator with information about each device.\n\n If index is given, only one dictionary for the given device is\n returned."
27
false
bastibe/PySoundCard
device_info
14,528
LDU_FT/onicagroup/runway/load_module_opts_from_file
LDU_FT
[ "<BEGIN>\n## `fix_hyphen_commands`", "Update options to match their module names with underscores.\n<END>", "<BEGIN>\n## `calculate_hash_of_files`", "Return a hash of all of the given files at the given root.", " Adapted from stacker.hooks.aws_lambda; used according to its license:\n https://github.co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_module_opts_from_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_module_opts_from_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Update module_options with any options defined in module path.
"Update module_options with any options defined in module path."
130
false
onicagroup/runway
load_module_opts_from_file
14,529
LDU_FT/mbr/tinyrpc/add_method
LDU_FT
[ "<BEGIN>\n## `error_respond`", "Converts the error to an error response object.", " :return: An error response object ready to be serialized and sent to the client.\n :rtype: :py:class:`JSONRPCErrorResponse`\n<END>", "<BEGIN>\n## `error_respond`", "Create an error response to this request.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_method API. 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 add_method API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Add a method to the dispatcher. :param f: Callable to be added. :type f: callable :param str name: Name to register it with. If ``None``, ``f.__name__`` will be used. :raises ~tinyrpc.exc.RPCError: When the `name` is already registered.
"Add a method to the dispatcher.\n\n :param f: Callable to be added.\n :type f: callable\n :param str name: Name to register it with. If ``None``, ``f.__name__`` will\n be used.\n :raises ~tinyrpc.exc.RPCError: When the `name` is already registered."
120
false
mbr/tinyrpc
add_method
14,530
LDU_FT/JukeboxPipeline/jukeboxmaya/import_all_references
LDU_FT
[ "<BEGIN>\n## `main_func`", "Main funcion when executing this module as script", " :param args: commandline arguments\n :type args: list\n :returns: None\n :rtype: None\n :raises: None\n<END>", "<BEGIN>\n## `setup_launch_parser`", "Setup the given parser for the launch command", " :pa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_all_references 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 import_all_references API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Import all references in the currently open scene :param arg: this argument is ignored. But thisway you can use this function in an ActionUnit more easily. :param kwargs: keyword arguments for the command maya.cmds file. defaultflags that are always used: :importReferen...
"Import all references in the currently open scene\n\n :param arg: this argument is ignored. But thisway you can use this function in an ActionUnit more easily.\n :param kwargs: keyword arguments for the command maya.cmds file.\n defaultflags that are always used:\n\n :import...
241
false
JukeboxPipeline/jukeboxmaya
import_all_references
14,531
LDU_FT/devopshq/artifactory/walk
LDU_FT
[ "<BEGIN>\n## `_create_and_update`", "Create or update request, re-read object from Artifactory\n :return: None\n<END>", "<BEGIN>\n## `read`", "Read object from artifactory. Fill object if exist\n :return:\n True if object exist,\n False else\n<END>", "<BEGIN>\n## `_create_json`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the walk API. 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 walk API. 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...
os.walk like function to traverse the URI like a file system. The only difference is that this function takes and returns Path objects in places where original implementation will return strings
"os.walk like function to traverse the URI like a file system.\n\n The only difference is that this function takes and returns Path objects\n in places where original implementation will return strings"
104
false
devopshq/artifactory
walk
14,532
LDU_FT/ashleysommer/sanicpluginsframework/middleware
LDU_FT
[ "<BEGIN>\n## `middleware`", "Decorate and register middleware\n :param args: captures all of the positional arguments passed in\n :type args: tuple(Any)\n :param kwargs: captures the keyword arguments passed in\n :type kwargs: dict(Any)\n :return: The middleware function to use ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the middleware API. 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 middleware API. 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...
Decorate and register middleware :param args: captures all of the positional arguments passed in :type args: tuple(Any) :param kwargs: captures the keyword arguments passed in :type kwargs: dict(Any) :return: The middleware function to use as the decorator :rtype: fn
"Decorate and register middleware\n :param args: captures all of the positional arguments passed in\n :type args: tuple(Any)\n :param kwargs: captures the keyword arguments passed in\n :type kwargs: dict(Any)\n :return: The middleware function to use as the decorator\n :rtype: ...
38
false
ashleysommer/sanicpluginsframework
middleware
14,533
LDU_FT/yt-project/unyt/as_coeff_unit
LDU_FT
[ "<BEGIN>\n## `uconcatenate`", "Concatenate a sequence of arrays.", " This wrapper around numpy.concatenate preserves units. All input arrays\n must have the same units. See the documentation of numpy.concatenate for\n full details.", " Examples\n --------\n >>> from unyt import cm\n >>> ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_coeff_unit API. 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 as_coeff_unit API. 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...
Factor the coefficient multiplying a unit For units that are multiplied by a constant dimensionless coefficient, returns a tuple containing the coefficient and a new unit object for the unmultiplied unit. Example ------- >>> import unyt as u >>> unit = (u.m**2/...
"Factor the coefficient multiplying a unit\n\n For units that are multiplied by a constant dimensionless\n coefficient, returns a tuple containing the coefficient and\n a new unit object for the unmultiplied unit.\n\n Example\n -------\n\n >>> import unyt as u\n >>> unit...
236
false
yt-project/unyt
as_coeff_unit
14,534
LDU_FT/DerMitch/fritzbox-smarthome/get_actor_by_ain
LDU_FT
[ "<BEGIN>\n## `login`", "Try to login and set the internal session id.", " Please note:\n - Any failed login resets all existing session ids, even of\n other users.\n - SIDs expire after some time\n<END>", "<BEGIN>\n## `calculate_response`", "Calculate response for the challenge...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_actor_by_ain API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_actor_by_ain API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Return a actor identified by it's ain or return None
"Return a actor identified by it's ain or return None"
35
false
DerMitch/fritzbox-smarthome
get_actor_by_ain
14,535
LDU_FT/fjwCode/cerium/auto_connect
LDU_FT
[ "<BEGIN>\n## `version`", "Show the version number of Android Debug Bridge.\n<END>", "<BEGIN>\n## `devices_l`", "List connected devices (-l for long output).\n<END>", "<BEGIN>\n## `connect`", "Connect to a device via TCP/IP directly.\n<END>", "<BEGIN>\n## `disconnect`", "Disconnect from given TCP/IP de...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auto_connect API. 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 auto_connect API. 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...
Connect to a device via TCP/IP automatically.
"Connect to a device via TCP/IP automatically."
95
false
fjwCode/cerium
auto_connect
14,536
LDU_FT/cisco-sas/kitty/render
LDU_FT
[ "<BEGIN>\n## `update`", "update db entry", " :param field_dict: dictionary of fields and values\n :param where_clause: where clause for the update\n<END>", "<BEGIN>\n## `insert`", "insert new db entry", " :param fields: list of fields to insert\n :param values: list of values t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
:param ctx: rendering context in which the method was called :rtype: `Bits` :return: rendered value of the container
":param ctx: rendering context in which the method was called\n :rtype: `Bits`\n :return: rendered value of the container"
331
false
cisco-sas/kitty
render
14,537
LDU_FT/sdispater/eloquent/get_alter_table_sql
LDU_FT
[ "<BEGIN>\n## `get_last`", "Get the last migration batch.", " :rtype: list\n<END>", "<BEGIN>\n## `compile_insert`", "Compile an insert SQL statement", " :param query: A QueryBuilder instance\n :type query: QueryBuilder", " :param values: The values to insert\n :type val...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_alter_table_sql API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_alter_table_sql API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Get the ALTER TABLE SQL statement :param diff: The table diff :type diff: eloquent.dbal.table_diff.TableDiff :rtype: list
"Get the ALTER TABLE SQL statement\n\n :param diff: The table diff\n :type diff: eloquent.dbal.table_diff.TableDiff\n\n :rtype: list"
498
false
sdispater/eloquent
get_alter_table_sql
14,538
LDU_FT/matthiask/django-cte-forest/ancestors
LDU_FT
[ "<BEGIN>\n## `_ensure_parameters`", "Attempts to load and verify the CTE node parameters. Will use\n default values for all missing parameters, and raise an exception if\n a parameter's value cannot be verified. This method will only\n perform these actions once, and set the :attr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ancestors API. 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 ancestors API. 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 a :class:`QuerySet` of all ancestors of a given :class:`CTENode` `node`. :param node: A :class:`CTENode` whose ancestors are required. :returns: A :class:`QuerySet` of all ancestors of the given `node`.
"Returns a :class:`QuerySet` of all ancestors of a given\n :class:`CTENode` `node`.\n\n :param node: A :class:`CTENode` whose ancestors are required.\n\n :returns: A :class:`QuerySet` of all ancestors of the given `node`."
153
false
matthiask/django-cte-forest
ancestors
14,539
LDU_FT/Bachmann1234/diff-cover/parse_quality_args
LDU_FT
[ "<BEGIN>\n## `_get_classes`", "Given a path and parsed xml_document provides class nodes\n with the relevant lines", " First, we look to see if xml_document contains a source\n node providing paths to search for", " If we don't have that we check each nodes filename attribute\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_quality_args 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 parse_quality_args 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...
Parse command line arguments, returning a dict of valid options: { 'violations': pycodestyle| pyflakes | flake8 | pylint | ..., 'html_report': None | HTML_REPORT, 'external_css_file': None | CSS_FILE, } where `HTML_REPORT` and `CSS_FILE` are paths.
"Parse command line arguments, returning a dict of\n valid options:\n\n {\n 'violations': pycodestyle| pyflakes | flake8 | pylint | ...,\n 'html_report': None | HTML_REPORT,\n 'external_css_file': None | CSS_FILE,\n }\n\n where `HTML_REPORT` and `CSS_FILE` are paths....
146
false
Bachmann1234/diff-cover
parse_quality_args
14,540
LDU_FT/idlesign/django-sitecats/get_categories
LDU_FT
[ "<BEGIN>\n## `get_category_lists`", "Returns a list of CategoryList objects, associated with\n this model instance.", " :param dict|None init_kwargs:\n :param list|None additional_parents_aliases:\n :rtype: list|CategoryRequestHandler\n :return:\n<END>", "<BEGIN>\n## `enable...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_categories API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_categories API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Returns subcategories (or ties if `target_object` is set) for the given parent category. :param str|None|list parent_aliases: :param ModelWithCategory|Model target_object: :param bool tied_only: Flag to get only categories with ties. Ties stats are stored in `ties_num` attrs. :r...
"Returns subcategories (or ties if `target_object` is set)\n for the given parent category.\n\n :param str|None|list parent_aliases:\n :param ModelWithCategory|Model target_object:\n :param bool tied_only: Flag to get only categories with ties. Ties stats are stored in `ties_num` attrs.\n ...
73
false
idlesign/django-sitecats
get_categories
14,541
LDU_FT/danielhrisca/asammdf/append
LDU_FT
[ "<BEGIN>\n## `extract_cncomment_xml`", "extract *TX* tag or otherwise the *common_properties* from a xml comment", " Paremeters\n ----------\n comment : str\n xml string comment", " Returns\n -------\n comment : str\n extracted string\n<END>", "<BEGIN>\n## `matlab_compatible`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append API. 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 append API. 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 ...
Appends a new data group. For channel dependencies type Signals, the *samples* attribute must be a numpy.recarray Parameters ---------- signals : list | Signal | pandas.DataFrame list of *Signal* objects, or a single *Signal* object, or a pandas *DataFra...
"Appends a new data group.\n\n For channel dependencies type Signals, the *samples* attribute must be\n a numpy.recarray\n\n Parameters\n ----------\n signals : list | Signal | pandas.DataFrame\n list of *Signal* objects, or a single *Signal* object, or a pandas\n ...
381
false
danielhrisca/asammdf
append
14,542
LDU_FT/aloetesting/aloe_webdriver/check_checkbox
LDU_FT
[ "<BEGIN>\n## `string_literal`", "Choose a string literal that can wrap our string.", " If your string contains a ``\\'`` the result will be wrapped in ``\\\"``.\n If your string contains a ``\\\"`` the result will be wrapped in ``\\'``.", " Cannot currently handle strings which contain both ``\\\"`` ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_checkbox API. 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 check_checkbox API. 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...
Check the checkbox with label (recommended), name or id.
"Check the checkbox with label (recommended), name or id."
158
false
aloetesting/aloe_webdriver
check_checkbox
14,543
LDU_FT/Autodesk/pyccc/create_build_context
LDU_FT
[ "<BEGIN>\n## `persistent_id`", "Tags objects with a persistent ID, but do NOT emit it\n<END>", "<BEGIN>\n## `open`", "Return file-like object (actually opens the file for this class)\n<END>", "<BEGIN>\n## `_open_tmpfile`", "Open a temporary, unique file in CACHEDIR (/tmp/cyborgcache) by default.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_build_context 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 create_build_context API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Creates a tar archive with a dockerfile and a directory called "inputs" The Dockerfile will copy the "inputs" directory to the chosen working directory
"Creates a tar archive with a dockerfile and a directory called \"inputs\"\n The Dockerfile will copy the \"inputs\" directory to the chosen working directory"
114
false
Autodesk/pyccc
create_build_context
14,544
LDU_FT/h2oai/datatable/build_headermap
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_headermap API. 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_headermap API. 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...
Construct dictionary {header_file : set_of_included_files}. This function operates on "real" set of includes, in the sense that it parses each header file to check which files are included from there.
"Construct dictionary {header_file : set_of_included_files}.\n\n This function operates on \"real\" set of includes, in the sense that it\n parses each header file to check which files are included from there."
49
false
h2oai/datatable
build_headermap
14,545
LDU_FT/pyopenapi/pyswagger/_field_names_
LDU_FT
[ "<BEGIN>\n## `swagger`", "some preparation before returning Swagger object\n<END>", "<BEGIN>\n## `apply_with`", "constructor", " :param str v: accept six.string_types, six.binary_type\n<END>", "<BEGIN>\n## `scope_compose`", "compose a new scope", " :param str scope: current scope\n :param...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _field_names_ API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _field_names_ API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
get list of field names defined in Swagger spec :return: a list of field names :rtype: a list of str
"get list of field names defined in Swagger spec\n\n :return: a list of field names\n :rtype: a list of str"
162
false
pyopenapi/pyswagger
_field_names_
14,546
LDU_FT/facelessuser/wcmatch/_compile_wildcard
LDU_FT
[ "<BEGIN>\n## `_compile_wildcard`", "Compile or format the wildcard inclusion/exclusion pattern.\n<END>", "<BEGIN>\n## `_valid_folder`", "Return whether a folder can be searched.\n<END>", "<BEGIN>\n## `get_case`", "Parse flags for case sensitivity settings.\n<END>", "<BEGIN>\n## `_fs_match`", "Match pa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compile_wildcard API. 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 _compile_wildcard API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Compile or format the wildcard inclusion/exclusion pattern.
"Compile or format the wildcard inclusion/exclusion pattern."
44
false
facelessuser/wcmatch
_compile_wildcard
14,547
LDU_FT/redcanari/canari3/create_package
LDU_FT
[ "<BEGIN>\n## `icon_resource`", "Returns the absolute URI path to an image. If a package is not explicitly specified then the calling package name is\n used.", " :param name: path relative to package path of the image resource.\n :param package: package name in dotted format.\n :return: the file URI ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_package API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_package API. 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...
Creates a Canari transform package skeleton.
"Creates a Canari transform package skeleton."
126
false
redcanari/canari3
create_package
14,548
LDU_FT/python-escpos/python-escpos/get_profile
LDU_FT
[ "<BEGIN>\n## `get_profile`", "Get the profile by name; if no name is given, return the\n default profile.\n<END>", "<BEGIN>\n## `get_profile_class`", "For the given profile name, load the data from the external\n database, then generate dynamically a class.\n<END>", "<BEGIN>\n## `get_font`", "Return...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_profile API. 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_profile API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Get the profile by name; if no name is given, return the default profile.
"Get the profile by name; if no name is given, return the\n default profile."
74
false
python-escpos/python-escpos
get_profile
14,549
LDU_FT/ensime/ensime-vim/type_check
LDU_FT
[ "<BEGIN>\n## `buffer_typechecks_and_display`", "Adds typecheck events to the buffer, and displays them right away.", " This is a workaround for this issue:\n https://github.com/ensime/ensime-server/issues/1616\n<END>", "<BEGIN>\n## `handle_typecheck_complete`", "Handles ``NewScalaNotesEvent```...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the type_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the type_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 extrac...
Update type checking when user saves buffer.
"Update type checking when user saves buffer."
150
false
ensime/ensime-vim
type_check
14,550
LDU_FT/amaas-fintech/amaas-core-sdk-python/upload
LDU_FT
[ "<BEGIN>\n## `deactivate`", "Is is only possible to deactivate an asset manager if your client_id is also the client_id that was used\n to originally create the asset manager.", " :param asset_manager_id:\n :return:\n<END>", "<BEGIN>\n## `quote_datetime`", "Force the quote_datetime to a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload API. 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 upload API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
convert csv file rows to objects and insert; asset_manager_id and possibly client_id from the UI (login)
"convert csv file rows to objects and insert;\n asset_manager_id and possibly client_id from the UI (login)"
109
false
amaas-fintech/amaas-core-sdk-python
upload
14,551
LDU_FT/CZ-NIC/python-rt/split_header
LDU_FT
[ "<BEGIN>\n## `__request`", "General request for :term:`API`.", " :keyword selector: End part of URL which completes self.url parameter\n set during class initialization.\n E.g.: ``ticket/123456/show``\n :keyword post_data: Dictionary with POST me...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_header API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_header API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Split a header line into field name and field value. Note that custom fields may contain colons inside the curly braces, so we need a special test for them. :param line: A message line to be split. :returns: (Field name, field value) tuple.
"Split a header line into field name and field value.\n\n Note that custom fields may contain colons inside the curly braces,\n so we need a special test for them.\n\n :param line: A message line to be split.\n\n :returns: (Field name, field value) tuple."
143
false
CZ-NIC/python-rt
split_header
14,552
LDU_FT/goshuirc/irc/set_user_info
LDU_FT
[ "<BEGIN>\n## `sort_prefixes`", "Returns a sorted list of prefixes.", " Args:\n orig (str): Unsorted list of prefixes.\n prefixes (str): List of prefixes, from highest-priv to lowest.\n<END>", "<BEGIN>\n## `parse_modes`", "Return a modelist.", " Args:\n params (list of str): Para...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_user_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_user_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Sets user info for this server, to be used before connection. Args: nick (str): Nickname to use. user (str): Username to use. real (str): Realname to use.
"Sets user info for this server, to be used before connection.\n\n Args:\n nick (str): Nickname to use.\n user (str): Username to use.\n real (str): Realname to use."
97
false
goshuirc/irc
set_user_info
14,553
LDU_FT/openego/eDisGo/q_sign
LDU_FT
[ "<BEGIN>\n## `one_storage_per_feeder`", "Allocates the given storage capacity to multiple smaller storages.", " For each feeder with load or voltage issues it is checked if integrating a\n storage will reduce peaks in the feeder, starting with the feeder with\n the highest theoretical grid expansion co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the q_sign API. 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 q_sign API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Get the sign reactive power based on the :attr: `_reactive_power_mode` Returns ------- :obj: `int` : +1 or -1
"Get the sign reactive power based on the\n :attr: `_reactive_power_mode`\n\n Returns\n -------\n :obj: `int` : +1 or -1"
764
false
openego/eDisGo
q_sign
14,554
LDU_FT/vxgmichel/aiostream/spaceout
LDU_FT
[ "<BEGIN>\n## `base_combine`", "Base operator for managing an asynchronous sequence of sequences.", " The sequences are awaited concurrently, although it's possible to limit\n the amount of running sequences using the `task_limit` argument.", " The ``switch`` argument enables the switch mecanism, whic...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the spaceout API. 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 spaceout API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Make sure the elements of an asynchronous sequence are separated in time by the given interval.
"Make sure the elements of an asynchronous sequence are separated\n in time by the given interval."
154
false
vxgmichel/aiostream
spaceout
14,555
LDU_FT/elifesciences/elife-tools/component_acting_parent_tag
LDU_FT
[ "<BEGIN>\n## `strip_punctuation_space`", "Strip excess whitespace prior to punctuation.\n<END>", "<BEGIN>\n## `join_sentences`", "concatenate two sentences together with punctuation glue\n<END>", "<BEGIN>\n## `coerce_to_int`", "Attempts to cast given value to an integer, return the original value if faile...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the component_acting_parent_tag 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 component_acting_parent_tag API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Only intended for use in getting components, look for tag name of fig-group and if so, find the first fig tag inside it as the acting parent tag
"Only intended for use in getting components, look for tag name of fig-group\n and if so, find the first fig tag inside it as the acting parent tag"
201
false
elifesciences/elife-tools
component_acting_parent_tag
14,556
LDU_FT/six8/anticipate/output
LDU_FT
[ "<BEGIN>\n## `get_adapter_path`", "Returns the adapter path that would be used to adapt `obj` to `to_cls`.\n<END>", "<BEGIN>\n## `adapt`", "Will adapt `obj` to an instance of `to_cls`.", " First sees if `obj` has an `__adapt__` method and uses it to adapt. If that fails\n it checks if `to_cls` has an ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the output API. 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 output API. 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 ...
Adapts the result of a function based on the returns definition.
"Adapts the result of a function based on the returns definition."
14
false
six8/anticipate
output
14,557
LDU_FT/nanoporetech/ont_fast5_api/set_tracking_id
LDU_FT
[ "<BEGIN>\n## `_clean`", "Convert numpy numeric types to their python equivalents.\n<END>", "<BEGIN>\n## `get_prior_alignment`", "Return the prior alignment that was used for 2D basecalling.", " :return: Alignment data table.\n<END>", "<BEGIN>\n## `get_2d_call_alignment`", "Return the alignment an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_tracking_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_tracking_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Add tracking-id data to the tracking_id group. :param data: A dictionary of key/value pairs. Keys must be strings. Values can be strings or numeric values. :param clear: If set, any existing tracking-id data will be removed.
"Add tracking-id data to the tracking_id group.\n \n :param data: A dictionary of key/value pairs. Keys must be strings.\n Values can be strings or numeric values.\n :param clear: If set, any existing tracking-id data will be removed."
159
false
nanoporetech/ont_fast5_api
set_tracking_id
14,558
LDU_FT/CloudGenix/sdk-python/interactive_client_choice
LDU_FT
[ "<BEGIN>\n## `jdout`", "JD Output function. Does quick pretty printing of a CloudGenix Response body. This function returns a string\n instead of directly printing content.", " **Parameters:**", " - **api_response:** A CloudGenix-attribute extended `requests.Response` object", " **Returns:**...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interactive_client_choice API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interactive_client_choice API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Present a menu for user to select from ESP/MSP managed clients they have permission to. **Returns:** Tuple with (Boolean success, selected client ID).
"Present a menu for user to select from ESP/MSP managed clients they have permission to.\n\n **Returns:** Tuple with (Boolean success, selected client ID)."
153
false
CloudGenix/sdk-python
interactive_client_choice
14,559
LDU_FT/GoogleCloudPlatform/appengine-gcs-client/_get_bucket_attribute
LDU_FT
[ "<BEGIN>\n## `check_status`", "Check HTTP response status is expected.", " Args:\n status: HTTP response status. int.\n expected: a list of expected statuses. A list of ints.\n path: filename or a path prefix.\n headers: HTTP request headers.\n resp_headers: HTTP response headers.\n body: HTT...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_bucket_attribute 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_bucket_attribute API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Helper method to request a bucket parameter and parse the response. Args: bucket: A Google Cloud Storage bucket of form '/bucket'. query_param: The query parameter to include in the get bucket request. xml_response_tag: The expected tag in the xml response. retry_params: An api_utils.RetryParams for ...
"Helper method to request a bucket parameter and parse the response.\n\n Args:\n bucket: A Google Cloud Storage bucket of form '/bucket'.\n query_param: The query parameter to include in the get bucket request.\n xml_response_tag: The expected tag in the xml response.\n retry_params: An api_utils.RetryPara...
270
false
GoogleCloudPlatform/appengine-gcs-client
_get_bucket_attribute
14,560
LDU_FT/moralrecordings/mrcrowbar/hexdump_diff_iter
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 hexdump_diff_iter API. 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 hexdump_diff_iter API. 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 the differences between two byte strings in tabular hexadecimal/ASCII format. source1 The first byte string source. source2 The second byte string source. start Start offset to read from (default: start) end End offset to stop reading at (default: end) le...
"Returns the differences between two byte strings in tabular hexadecimal/ASCII format.\n\n source1\n The first byte string source.\n\n source2\n The second byte string source.\n\n start\n Start offset to read from (default: start)\n\n end\n End offset to stop reading at (default:...
214
false
moralrecordings/mrcrowbar
hexdump_diff_iter
14,561
LDU_FT/rq/rq-scheduler/count
LDU_FT
[ "<BEGIN>\n## `get_next_scheduled_time`", "Calculate the next scheduled time by creating a crontab object\n with a cron string\n<END>", "<BEGIN>\n## `rationalize_until`", "Rationalizes the `until` argument used by other functions. This function\n accepts datetime and timedelta instances as well as intege...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Returns the total number of jobs that are scheduled for all queues. This function accepts datetime, timedelta instances as well as integers representing epoch values.
"Returns the total number of jobs that are scheduled for all queues.\n This function accepts datetime, timedelta instances as well as\n integers representing epoch values."
37
false
rq/rq-scheduler
count
14,562
LDU_FT/opinkerfi/nago/set_attribute
LDU_FT
[ "<BEGIN>\n## `get`", "Get all nagios status information from a local nagios instance\n<END>", "<BEGIN>\n## `post`", "Puts a list of hosts into local instance of nagios checkresults\n Arguments:\n hosts -- list of dicts, like one obtained from get_checkresults\n services -...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_attribute API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_attribute API. 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...
Change the attributes of a connected node
"Change the attributes of a connected node"
70
false
opinkerfi/nago
set_attribute
14,563
LDU_FT/cronofy/pycronofy/upsert_event
LDU_FT
[ "<BEGIN>\n## `format_event_time`", "Accepts either an ISO 8601 string, a dict with a time and tzid OR a datetime object.\n Must be in UTC format:", " 2016-01-31T12:33:00Z\n 2016-01-31T12:33:00UTC\n 2016-01-31T12:33:00+00:00", " https://en.wikipedia.org/wiki/ISO_8601", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upsert_event API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upsert_event API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Inserts or updates an event for the specified calendar. :param string calendar_id: ID of calendar to insert/update event into. :param dict event: Dictionary of event data to send to cronofy.
"Inserts or updates an event for the specified calendar.\n\n :param string calendar_id: ID of calendar to insert/update event into.\n :param dict event: Dictionary of event data to send to cronofy."
111
false
cronofy/pycronofy
upsert_event
14,564
LDU_FT/RJT1990/pyflux/logpdf
LDU_FT
[ "<BEGIN>\n## `_get_scale_and_shape`", "Obtains model scale, shape and skewness latent variables", " Parameters\n ----------\n transformed_lvs : np.array\n Transformed latent variable vector", " Returns\n ----------\n - Tuple of model scale, model shape, mod...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the logpdf API. 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 logpdf API. 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 ...
Log PDF for Normal prior Parameters ---------- mu : float Latent variable for which the prior is being formed over Returns ---------- - log(p(mu))
"Log PDF for Normal prior\n\n Parameters\n ----------\n mu : float\n Latent variable for which the prior is being formed over\n\n Returns\n ----------\n - log(p(mu))"
1,462
true
RJT1990/pyflux
logpdf
14,565
LDU_FT/liampauling/betfair/place_instruction
LDU_FT
[ "<BEGIN>\n## `streaming_market_filter`", ":param list market_ids: filter market data to data pertaining to specific marketIds.\n :param list event_type_ids: filter market data to data pertaining to specific event_type ids.\n :param list event_ids: filter market data to data pertaining to specific event ids....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the place_instruction API. 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 place_instruction API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Create order instructions to place an order at exchange. :param str order_type: define type of order to place. :param int selection_id: selection on which to place order :param float handicap: handicap if placing order on asianhandicap type market :param str side: side of order :param resources.Limi...
"Create order instructions to place an order at exchange.\n :param str order_type: define type of order to place.\n :param int selection_id: selection on which to place order\n :param float handicap: handicap if placing order on asianhandicap type market\n :param str side: side of order\n :param resource...
224
false
liampauling/betfair
place_instruction
14,566
LDU_FT/ethereum/eth-abi/parse_tuple_type_str
LDU_FT
[ "<BEGIN>\n## `abbr`", "Converts a value into its string representation and abbreviates that\n representation based on the given length `limit` if necessary.\n<END>", "<BEGIN>\n## `invalidate_value`", "Throws a standard exception for when a value is not encodable by an\n encoder.\n<END>", "<BEGIN>\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_tuple_type_str API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_tuple_type_str API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Used by BaseCoder subclasses as a convenience for implementing the ``from_type_str`` method required by ``ABIRegistry``. Useful if normalizing then parsing a tuple type string is required in that method.
"Used by BaseCoder subclasses as a convenience for implementing the\n ``from_type_str`` method required by ``ABIRegistry``. Useful if normalizing\n then parsing a tuple type string is required in that method."
57
false
ethereum/eth-abi
parse_tuple_type_str
14,567
LDU_FT/pazz/urwidtrees/decorate
LDU_FT
[ "<BEGIN>\n## `_get`", "loads widget at given position; handling invalid arguments\n<END>", "<BEGIN>\n## `_next_of_kin`", "looks up the next sibling of the closest ancestor with not-None next\n siblings.\n<END>", "<BEGIN>\n## `_last_in_direction`", "move in the tree in given direction and return the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decorate API. 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 decorate API. 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...
builds a list element for given position in the tree. It consists of the original widget taken from the Tree and some decoration columns depending on the existence of parent and sibling positions. The result is a urwid.Columns widget.
"builds a list element for given position in the tree.\n It consists of the original widget taken from the Tree and some\n decoration columns depending on the existence of parent and sibling\n positions. The result is a urwid.Columns widget."
60
false
pazz/urwidtrees
decorate
14,568
LDU_FT/CameronLonsdale/lantern/frequency_to_probability
LDU_FT
[ "<BEGIN>\n## `frequency_to_probability`", "Transform a ``frequency_map`` into a map of probability using the sum of all frequencies as the total.", " Example:\n >>> frequency_to_probability({'a': 2, 'b': 2})\n {'a': 0.5, 'b': 0.5}", " Args:\n frequency_map (dict): The dictionary to ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the frequency_to_probability 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 frequency_to_probability API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Transform a ``frequency_map`` into a map of probability using the sum of all frequencies as the total. Example: >>> frequency_to_probability({'a': 2, 'b': 2}) {'a': 0.5, 'b': 0.5} Args: frequency_map (dict): The dictionary to transform decorator (function): A function to manipu...
"Transform a ``frequency_map`` into a map of probability using the sum of all frequencies as the total.\n\n Example:\n >>> frequency_to_probability({'a': 2, 'b': 2})\n {'a': 0.5, 'b': 0.5}\n\n Args:\n frequency_map (dict): The dictionary to transform\n decorator (function): A function ...
131
false
CameronLonsdale/lantern
frequency_to_probability
14,569
LDU_FT/pyout/pyout/post_from_style
LDU_FT
[ "<BEGIN>\n## `validate`", "Check `style` against pyout.styling.schema.", " Parameters\n ----------\n style : dict\n Style object to validate.", " Raises\n ------\n StyleValidationError if `style` is not valid.\n<END>", "<BEGIN>\n## `value_type`", "Classify `value` of bold, color, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post_from_style API. 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 post_from_style API. 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...
A Terminal-specific reset to StyleProcessors.post_from_style.
"A Terminal-specific reset to StyleProcessors.post_from_style."
92
false
pyout/pyout
post_from_style
14,570
LDU_FT/atl/py-smartdc/package
LDU_FT
[ "<BEGIN>\n## `priv`", "Quick and dirty method to find an IP on a private network given a correctly\n formatted IPv4 quad.\n<END>", "<BEGIN>\n## `_save`", "Take the data from a dict and commit them to appropriate attributes.\n<END>", "<BEGIN>\n## `refresh`", "::", " GET /:login/machines/:id...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the package API. 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 package API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
:: GET /:login/packages/:package :param name: the name identifying the package :type dataset_id: :py:class:`basestring` or :py:class:`dict` :rtype: :py:class:`dict` Gets a dict representing resource values for a package by name. If ...
"::\n \n GET /:login/packages/:package\n \n :param name: the name identifying the package\n :type dataset_id: :py:class:`basestring` or :py:class:`dict`\n \n :rtype: :py:class:`dict`\n \n Gets a dict representing resource values for a package by name. I...
290
false
atl/py-smartdc
package
14,571
LDU_FT/ella/ella/do_render
LDU_FT
[ "<BEGIN>\n## `thumb`", "Generates html and thumbnails for admin site.\n<END>", "<BEGIN>\n## `clean`", "Validation function that checks the dimensions of the crop whether it fits into the original and the format.\n<END>", "<BEGIN>\n## `clean`", "Check format name uniqueness for sites", " :return: ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_render API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_render API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Renders a rich-text field using defined markup. Example:: {% render some_var %}
"Renders a rich-text field using defined markup.\n\n Example::\n\n {% render some_var %}"
180
false
ella/ella
do_render
14,572