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/edx/xblock-utils/preview_view
LDU_FT
[ "<BEGIN>\n## `get_xblock_settings`", "Gets XBlock-specific settigns for current XBlock", " Returns default if settings service is not available.", " Parameters:\n default - default value to be used in two cases:\n * No settings service is available\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the preview_view API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the preview_view API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Preview view - used by StudioContainerWithNestedXBlocksMixin to render nested xblocks in preview context. Default implementation uses author_view if available, otherwise falls back to student_view Child classes can override this method to control their presentation in preview context
"Preview view - used by StudioContainerWithNestedXBlocksMixin to render nested xblocks in preview context.\n Default implementation uses author_view if available, otherwise falls back to student_view\n Child classes can override this method to control their presentation in preview context"
56
false
edx/xblock-utils
preview_view
8,673
LDU_FT/bskinn/opan/g_subset
LDU_FT
[ "<BEGIN>\n## `ortho_basis`", "Generates an orthonormal basis in the plane perpendicular to `normal`", " The orthonormal basis generated spans the plane defined with `normal` as\n its normal vector. The handedness of `on1` and `on2` in the returned\n basis is such that:", " .. math::", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the g_subset API. 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 g_subset API. 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...
Extract a subset of a geometry matching a desired atom. .. todo:: Complete g_subset docstring
"Extract a subset of a geometry matching a desired atom.\n\n .. todo:: Complete g_subset docstring"
445
false
bskinn/opan
g_subset
8,674
LDU_FT/HumanCellAtlas/cloud-blobstore/get_content_type
LDU_FT
[ "<BEGIN>\n## `list`", "Returns an iterator of all blob entries in a bucket that match a given prefix. Do not return any keys that\n contain the delimiter past the\n prefix.\n<END>", "<BEGIN>\n## `delete`", "Deletes an object in a bucket. If the operation definitely did not delete anything, ret...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_content_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_content_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Retrieves the content-type for a given object in a given bucket. :param bucket: the bucket the object resides in. :param key: the key of the object for which content-type is being retrieved. :return: the content-type
"Retrieves the content-type for a given object in a given bucket.\n :param bucket: the bucket the object resides in.\n :param key: the key of the object for which content-type is being retrieved.\n :return: the content-type"
59
false
HumanCellAtlas/cloud-blobstore
get_content_type
8,675
LDU_FT/cdumay/cdumay-rest-client/_postrun
LDU_FT
[ "<BEGIN>\n## `from_status`", "Try to create an error from status code", " :param int status: HTTP status\n :param str message: Body content\n :param dict extra: Additional info\n :return: An error\n :rtype: cdumay_rest_client.errors.Error\n<END>", "<BEGIN>\n## `from_response`", "Try to create...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _postrun API. 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 _postrun API. 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...
Trigger to execute just before closing the span :param opentracing.span.Span span: the SpanContext instance :param Any obj: Object to use as context :param dict kwargs: additional data
"Trigger to execute just before closing the span\n\n :param opentracing.span.Span span: the SpanContext instance\n :param Any obj: Object to use as context\n :param dict kwargs: additional data"
15
false
cdumay/cdumay-rest-client
_postrun
8,676
LDU_FT/rene-aguirre/pywinusb/__find_reports
LDU_FT
[ "<BEGIN>\n## `hid_device_path_exists`", "Test if required device_path is still valid\r\n (HID device connected to host)\n<END>", "<BEGIN>\n## `find_all_hid_devices`", "Finds all HID devices connected to the system\n<END>", "<BEGIN>\n## `show_hids`", "Check all HID devices conected to PC hosts.\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __find_reports API. 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 __find_reports API. 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...
Find input report referencing HID usage control/data item
"Find input report referencing HID usage control/data item"
61
false
rene-aguirre/pywinusb
__find_reports
8,677
LDU_FT/brutus/wtforms-html5/set_invalid
LDU_FT
[ "<BEGIN>\n## `set_required`", "Returns *render_kw* with *required* set if the field is required.", " Sets the *required* key if the `required` flag is set for the field (this\n is mostly the case if it is set by validators). The `required` attribute\n is used by browsers to indicate a required field.",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_invalid API. 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 set_invalid API. 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 *render_kw* with `invalid` added to *class* on validation errors. Set (or appends) 'invalid' to the fields CSS class(es), if the *field* got any errors. 'invalid' is also set by browsers if they detect errors on a field.
"Returns *render_kw* with `invalid` added to *class* on validation errors.\n\n Set (or appends) 'invalid' to the fields CSS class(es), if the *field* got\n any errors. 'invalid' is also set by browsers if they detect errors on a\n field."
35
false
brutus/wtforms-html5
set_invalid
8,678
LDU_FT/malthe/pop/get_or_wait
LDU_FT
[ "<BEGIN>\n## `local_machine_uuid`", "Return local machine unique identifier.", " >>> uuid = local_machine_uuid()\n<END>", "<BEGIN>\n## `read`", "Read Zookeeper state.", " Read in the current Zookeeper state for this node. This\n operation should be called prior to other interactions with\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_or_wait API. 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_or_wait API. 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 data of node under path, or wait for it.
"Get data of node under path, or wait for it."
16
false
malthe/pop
get_or_wait
8,679
LDU_FT/kejbaly2/metrique/jsonhash
LDU_FT
[ "<BEGIN>\n## `filtered`", "Decorator function that wraps functions returning pandas\n dataframes, such that the dataframe is filtered\n according to left and right bounds set.\n<END>", "<BEGIN>\n## `to_datetime`", "This function converts epoch timestamps to datetimes.", " :param column: column ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jsonhash API. 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 jsonhash API. 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...
calculate the objects hash based on all field values
"calculate the objects hash based on all field values"
224
false
kejbaly2/metrique
jsonhash
8,680
LDU_FT/Valassis-Digital-Media/spylon/wrap_spark_sql_udf
LDU_FT
[ "<BEGIN>\n## `as_iterable`", "Utility for converting an object to an iterable.", " Parameters\n ----------\n iterable_or_scalar : anything", " Returns\n -------\n l : iterable\n If `obj` was None, return the empty tuple.\n If `obj` was not iterable returns a 1-tuple containing ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap_spark_sql_udf 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 wrap_spark_sql_udf 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...
Wraps a scala/java spark user defined function
"Wraps a scala/java spark user defined function"
96
false
Valassis-Digital-Media/spylon
wrap_spark_sql_udf
8,681
LDU_FT/praekelt/django-object-tools/_create_permissions
LDU_FT
[ "<BEGIN>\n## `_create_permissions`", "Almost exactly the same as django.contrib.auth.management.__init__.py\n<END>", "<BEGIN>\n## `validate`", "Does basic ObjectTool option validation.\n<END>", "<BEGIN>\n## `register`", "Registers the given model(s) with the given object tool class.", " The model...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_permissions 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_permissions 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...
Almost exactly the same as django.contrib.auth.management.__init__.py
"Almost exactly the same as django.contrib.auth.management.__init__.py"
20
false
praekelt/django-object-tools
_create_permissions
8,682
LDU_FT/B2W-BIT/aiologger/emit
LDU_FT
[ "<BEGIN>\n## `format`", "Formats a record and serializes it as a JSON str. If record message isnt\n already a dict, initializes a new dict and uses `default_msg_fieldname`\n as a key as the record msg as the value.\n<END>", "<BEGIN>\n## `formatter_fields_for_record`", ":type record: aiologger.lo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the emit API. 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 emit API. 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...
Emit a record. Output the record to the file, catering for rollover as described in `do_rollover`.
"Emit a record.\n\n Output the record to the file, catering for rollover as described\n in `do_rollover`."
69
false
B2W-BIT/aiologger
emit
8,683
LDU_FT/MultipedRobotics/pyxl320/sendPkt
LDU_FT
[ "<BEGIN>\n## `makeServoIDPacket`", "Given the current ID, returns a packet to set the servo to a new ID\n<END>", "<BEGIN>\n## `packetToDict`", "Given a packet, this turns it into a dictionary ... is this useful?", "\tin: packet, array of numbers\n\tout: dictionary (key, value)\n<END>", "<BEGIN>\n## `sweep...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sendPkt API. 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 sendPkt API. 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...
Sends a packet and waits for a return. If no return is given, then it resends the packet. If an error occurs, it also resends the packet. in: pkt - command packet to send to servo cnt - how many retries should this do? default = 5 out: array of packets
"Sends a packet and waits for a return. If no return is given, then it\n\t\tresends the packet. If an error occurs, it also resends the packet.\n\n\t\tin:\n\t\t\tpkt - command packet to send to servo\n\t\t\tcnt - how many retries should this do? default = 5\n\t\tout:\n\t\t\tarray of packets"
71
false
MultipedRobotics/pyxl320
sendPkt
8,684
LDU_FT/maartenbreddels/ipyvolume/scatter
LDU_FT
[ "<BEGIN>\n## `volshow`", "Deprecated: please use ipyvolume.quickvolshow or use the ipyvolume.pylab interface.\n<END>", "<BEGIN>\n## `quickvolshow`", "Visualize a 3d array using volume rendering.", " :param data: 3d numpy array\n :param lighting: boolean, to use lighting or not, if set to false, lighti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scatter API. 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 scatter API. 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...
Plot many markers/symbols in 3d. :param x: {x} :param y: {y} :param z: {z} :param color: {color} :param size: {size} :param size_selected: like size, but for selected glyphs :param color_selected: like color, but for selected glyphs :param marker: {marker} :param selection: numpy a...
"Plot many markers/symbols in 3d.\n\n :param x: {x}\n :param y: {y}\n :param z: {z}\n :param color: {color}\n :param size: {size}\n :param size_selected: like size, but for selected glyphs\n :param color_selected: like color, but for selected glyphs\n :param marker: {marker}\n :param selecti...
141
false
maartenbreddels/ipyvolume
scatter
8,685
LDU_FT/theno/fabsetup/load_pip_addons
LDU_FT
[ "<BEGIN>\n## `create_readme_with_long_description`", "Try to convert content of README.md into rst format using pypandoc,\n write it into README and return it.", " If pypandoc cannot be imported write content of README.md unchanged into\n README and return it.\n<END>", "<BEGIN>\n## `openssl`", "Ins...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_pip_addons API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_pip_addons API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Load all known fabsetup addons which are installed as pypi pip-packages. Args: _globals(dict): the globals() namespace of the fabric script. Return: None
"Load all known fabsetup addons which are installed as pypi pip-packages.\n\n Args:\n _globals(dict): the globals() namespace of the fabric script.\n\n Return: None"
226
false
theno/fabsetup
load_pip_addons
8,686
LDU_FT/thautwarm/Redy/record
LDU_FT
[ "<BEGIN>\n## `map_by`", "when pycharm supports type hinting for any implementation of currying,\n map_with and map_on would be deprecated.\n >>> from Redy.Collections import Traversal, Flow\n >>> def double(x: int) -> int: return x * 2\n >>> lst: Iterable[int] = [1, 2, 3]\n >>> x = Flow(lst)[Traver...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the record API. 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 record API. 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 ...
Namedtuple which could inherit from other types. >>> from Redy.Magic.Classic import record >>> class Interface: pass >>> @record >>> class S(Interface): >>> name: str >>> addr: str >>> sex : int >>> s = S("sam", "I/O", 1)
"Namedtuple which could inherit from other types.\n >>> from Redy.Magic.Classic import record\n >>> class Interface: pass\n >>> @record\n >>> class S(Interface):\n >>> name: str\n >>> addr: str\n >>> sex : int\n\n >>> s = S(\"sam\", \"I/O\", 1)"
83
false
thautwarm/Redy
record
8,687
LDU_FT/EpistasisLab/scikit-rebate/_find_neighbors
LDU_FT
[ "<BEGIN>\n## `fit`", "Scikit-learn required: Computes the feature importance scores from the training data.", " Parameters\n ----------\n X: array-like {n_samples, n_features}\n Training instances to compute the feature importance scores from\n y: array-like {n_samples}\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_neighbors API. 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 _find_neighbors API. 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...
Identify nearest as well as farthest hits and misses within radius defined by average distance and standard deviation of distances from target instanace. This works the same regardless of endpoint type.
"Identify nearest as well as farthest hits and misses within radius defined by average distance and standard deviation of distances from target instanace.\n This works the same regardless of endpoint type."
46
false
EpistasisLab/scikit-rebate
_find_neighbors
8,688
LDU_FT/lexibank/pylexibank/configure
LDU_FT
[ "<BEGIN>\n## `tokenizer`", "Datasets can provide support for segmentation (aka tokenization) in two ways:\n - by providing an orthography profile at etc/orthography.tsv or\n - by overwriting this method to return a custom tokenizer callable.", " :return: A callable to do segmentation.", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Configure lexibank. :return: a pair (config, logger)
"Configure lexibank.\n\n :return: a pair (config, logger)"
48
false
lexibank/pylexibank
configure
8,689
LDU_FT/holgern/pyedflib/file_info_long
LDU_FT
[ "<BEGIN>\n## `short_path`", "Return relative or absolute path name, whichever is shortest.\n<END>", "<BEGIN>\n## `get_all_dict`", "Return a copy of the __all__ dict with irrelevant items removed.\n<END>", "<BEGIN>\n## `compare`", "Return sets of objects only in __all__, refguide, or completely missing.\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_info_long API. 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 file_info_long API. 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 information about the opened EDF/BDF file
"Returns information about the opened EDF/BDF file"
135
false
holgern/pyedflib
file_info_long
8,690
LDU_FT/ChrisBeaumont/smother/_invert
LDU_FT
[ "<BEGIN>\n## `parse_intervals`", "Parse a diff into an iterator of Intervals.\n<END>", "<BEGIN>\n## `_filldown`", "Copy current_context into `lines` down up until lineno\n<END>", "<BEGIN>\n## `_add_section`", "Register the current node as a new context block\n<END>", "<BEGIN>\n## `_module_name`", "Try...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _invert API. 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 _invert API. 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...
Invert coverage data from {test_context: {file: line}} to {file: {test_context: line}}
"Invert coverage data from {test_context: {file: line}}\n to {file: {test_context: line}}"
47
false
ChrisBeaumont/smother
_invert
8,691
LDU_FT/gitenberg-dev/gitberg/push
LDU_FT
[ "<BEGIN>\n## `remote_path`", "turns an ebook_id into a path on PG's server(s)\n 4443 -> 4/4/4/4443/\n<END>", "<BEGIN>\n## `make`", "turn fetched files into a local repo, make auxiliary files\n<END>", "<BEGIN>\n## `push`", "create a github repo and push the local repo into it\n<END>", "<BEGIN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the push API. 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 push API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
create a github repo and push the local repo into it
"create a github repo and push the local repo into it"
51
false
gitenberg-dev/gitberg
push
8,692
LDU_FT/jasonbot/arcrest/QueryRelatedRecords
LDU_FT
[ "<BEGIN>\n## `_get_subfolder`", "Return an object of the requested type with the path relative\n to the current object's URL. Optionally, query parameters\n may be set.\n<END>", "<BEGIN>\n## `_contents`", "The raw contents of the URL as fetched, this is done lazily.\n For non-laz...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the QueryRelatedRecords 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 QueryRelatedRecords 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...
The query operation is performed on a feature service layer resource. The result of this operation are featuresets grouped by source layer / table object IDs. Each featureset contains Feature objects including the values for the fields requested by the user. For related layer...
"The query operation is performed on a feature service layer\n resource. The result of this operation are featuresets grouped by\n source layer / table object IDs. Each featureset contains Feature\n objects including the values for the fields requested by the user.\n For related ...
66
false
jasonbot/arcrest
QueryRelatedRecords
8,693
LDU_FT/20c/xbahn/disconnect
LDU_FT
[ "<BEGIN>\n## `disconnect`", "Close all connections that are set on this wire\n<END>", "<BEGIN>\n## `send_and_wait`", "Send a message and block until a response is received. Return response message\n<END>", "<BEGIN>\n## `wire`", "Wires the link to a connection. Can be called multiple\n times to set ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disconnect API. 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 disconnect API. 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...
Cut all wires and disconnect all connections established on this link
"Cut all wires and disconnect all connections established on this link"
119
false
20c/xbahn
disconnect
8,694
LDU_FT/samjabrahams/anchorhub/get
LDU_FT
[ "<BEGIN>\n## `get`", "Extract the specified AnchorHub tag, as well as the portion of the\n line that should be converted from the ATX style Markdown header.", " :param file_lines: List of strings corresponding to lines in a text file\n :param index: index of file_lines corresponding to the ...
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...
Extract the specified AnchorHub tag, as well as the portion of the line that should be converted from the ATX style Markdown header. :param file_lines: List of strings corresponding to lines in a text file :param index: index of file_lines corresponding to the current line :return: [tag...
"Extract the specified AnchorHub tag, as well as the portion of the\n line that should be converted from the ATX style Markdown header.\n\n :param file_lines: List of strings corresponding to lines in a text file\n :param index: index of file_lines corresponding to the current line\n :return...
148
false
samjabrahams/anchorhub
get
8,695
LDU_FT/square/connect-python-sdk/domain_name
LDU_FT
[ "<BEGIN>\n## `attribute_name`", "Sets the attribute_name of this CatalogQueryRange.\n The name of the attribute to be searched.", " :param attribute_name: The attribute_name of this CatalogQueryRange.\n :type: str\n<END>", "<BEGIN>\n## `idempotency_key`", "Sets the idempotency_key of th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the domain_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the domain_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Sets the domain_name of this RegisterDomainRequest. A domain name as described in RFC-1034 that will be registered with ApplePay :param domain_name: The domain_name of this RegisterDomainRequest. :type: str
"Sets the domain_name of this RegisterDomainRequest.\n A domain name as described in RFC-1034 that will be registered with ApplePay\n\n :param domain_name: The domain_name of this RegisterDomainRequest.\n :type: str"
148
false
square/connect-python-sdk
domain_name
8,696
LDU_FT/openpermissions/perch/generate_secret
LDU_FT
[ "<BEGIN>\n## `collect`", "Import all modules inside the perch.migrations package and return the\n registered migrations\n<END>", "<BEGIN>\n## `run_migrations`", "Run migrations for a resource type", " :param: a dicitionary of migrations\n<END>", "<BEGIN>\n## `_migrate_resource`", "Migrate a resour...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_secret API. 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 generate_secret API. 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...
Generate an ASCII secret using random.SysRandom Based on oauthlib's common.generate_token function
"Generate an ASCII secret using random.SysRandom\n\n Based on oauthlib's common.generate_token function"
177
false
openpermissions/perch
generate_secret
8,697
LDU_FT/recurly/recurly-client-python/create_add_on
LDU_FT
[ "<BEGIN>\n## `error_class_for_http_status`", "Return the appropriate `ResponseError` subclass for the given\n HTTP status code.\n<END>", "<BEGIN>\n## `response_doc`", "The XML document received from the service.\n<END>", "<BEGIN>\n## `transaction_error_code`", "The machine-readable error code for a tra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_add_on API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_add_on API. 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...
Make the given `AddOn` available to subscribers on this plan.
"Make the given `AddOn` available to subscribers on this plan."
103
false
recurly/recurly-client-python
create_add_on
8,698
LDU_FT/kontron/python-ipmi/upload_binary
LDU_FT
[ "<BEGIN>\n## `sel_entries`", "Generator which returns all SEL entries.\n<END>", "<BEGIN>\n## `initiate_upgrade_action`", "Initiate Upgrade Action\n components:\n action:\n ACTION_BACKUP_COMPONENT = 0x00\n ACTION_PREPARE_COMPONENT = 0x01\n ACTION_UPLOAD_FOR_UPGRAD...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload_binary API. 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 upload_binary API. 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...
Upload all firmware blocks from binary and wait for long running command.
"Upload all firmware blocks from binary and wait for\n long running command."
87
false
kontron/python-ipmi
upload_binary
8,699
LDU_FT/databio/pypiper/check_fastq
LDU_FT
[ "<BEGIN>\n## `add_pypiper_args`", "Use this to add standardized pypiper arguments to your python pipeline.", " There are two ways to use `add_pypiper_args`: by specifying argument groups,\n or by specifying individual arguments. Specifying argument groups will add\n multiple arguments to your parser; t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_fastq API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_fastq API. 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 a follow sanity-check function to be run after a fastq conversion. Run following a command that will produce the fastq files. This function will make sure any input files have the same number of reads as the output files.
"Returns a follow sanity-check function to be run after a fastq conversion.\n Run following a command that will produce the fastq files.\n\n This function will make sure any input files have the same number of reads as the\n output files."
322
false
databio/pypiper
check_fastq
8,700
LDU_FT/NAMD/pypln.api/_retrieve_resources
LDU_FT
[ "<BEGIN>\n## `add_document`", "Add a document to this corpus", " `document' is passed to `requests.post', so it can be a file-like\n object, a string (that will be sent as the file content) or a tuple\n containing a filename followed by any of these two options.\n<END>", "<BEGIN>\n## `add...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _retrieve_resources 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 _retrieve_resources 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...
Retrieve HTTP resources, return related objects (with pagination)
"Retrieve HTTP resources, return related objects (with pagination)"
14
false
NAMD/pypln.api
_retrieve_resources
8,701
LDU_FT/vbwagner/ctypescrypto/sign
LDU_FT
[ "<BEGIN>\n## `digest`", "Method digest is redefined to return keyed MAC value instead of\n just digest.\n<END>", "<BEGIN>\n## `bytes`", "Returns num bytes of cryptographically strong pseudo-random\n bytes. If checkc_result is True, raises error if PRNG is not\n seeded enough\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 do...
Signs given digest and retirns signature Keyword arguments allows to set various algorithm-specific parameters. See pkeyutl(1) manual.
"Signs given digest and retirns signature\n Keyword arguments allows to set various algorithm-specific\n parameters. See pkeyutl(1) manual."
119
false
vbwagner/ctypescrypto
sign
8,702
LDU_FT/sassoo/goldman/normalize
LDU_FT
[ "<BEGIN>\n## `_gen_s3_path`", "Return the part of the S3 path based on inputs", " The path will be passed to the s3_upload method &\n will ultimately be merged with the standard AWS S3\n URL.", " An example model type of 'users' with a resource ID\n of 99 & an API endpoint e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Invoke the RFC 2388 spec compliant normalizer :param parts: the already vetted & parsed FieldStorage objects :return: normalized dict
"Invoke the RFC 2388 spec compliant normalizer\n\n :param parts:\n the already vetted & parsed FieldStorage objects\n :return:\n normalized dict"
446
false
sassoo/goldman
normalize
8,703
LDU_FT/awacha/sastool/GeneralGuinier
LDU_FT
[ "<BEGIN>\n## `readB1logfile`", "Read B1 logfile (*.log)", " Inputs:\n filename: the file name", " Output: A dictionary.\n<END>", "<BEGIN>\n## `writeB1logfile`", "Write a header structure into a B1 logfile.", " Inputs:\n filename: name of the file.\n data: header dictionary"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GeneralGuinier API. 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 GeneralGuinier API. 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...
Generalized Guinier scattering Inputs: ------- ``q``: independent variable ``G``: factor ``Rg``: radius of gyration ``s``: dimensionality parameter (can be 1, 2, 3) Formula: -------- ``G/q**(3-s)*exp(-(q^2*Rg^2)/s)``
"Generalized Guinier scattering\n\n Inputs:\n -------\n ``q``: independent variable\n ``G``: factor\n ``Rg``: radius of gyration\n ``s``: dimensionality parameter (can be 1, 2, 3)\n\n Formula:\n --------\n ``G/q**(3-s)*exp(-(q^2*Rg^2)/s)``"
426
false
awacha/sastool
GeneralGuinier
8,704
LDU_FT/yougov/librarypaste/init_datastore
LDU_FT
[ "<BEGIN>\n## `short_key`", "Generate a short key.", " >>> key = short_key()\n >>> len(key)\n 5\n<END>", "<BEGIN>\n## `init_datastore`", "Take the config definition and initialize the datastore.", " The config must contain either a 'datastore' parameter, which\n will be simply returned, or\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_datastore API. 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 init_datastore API. 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...
Take the config definition and initialize the datastore. The config must contain either a 'datastore' parameter, which will be simply returned, or must contain a 'factory' which is a callable or entry point definition. The callable should take the remainder of the params in config as kwargs and ret...
"Take the config definition and initialize the datastore.\n\n The config must contain either a 'datastore' parameter, which\n will be simply returned, or\n must contain a 'factory' which is a callable or entry\n point definition. The callable should take the remainder of\n the params in config as kwargs ...
18
false
yougov/librarypaste
init_datastore
8,705
LDU_FT/audreyr/cookiecutter/configure_logger
LDU_FT
[ "<BEGIN>\n## `expand_abbreviations`", "Expand abbreviations in a template name.", " :param template: The project template name.\n :param abbreviations: Abbreviation definitions.\n<END>", "<BEGIN>\n## `repository_has_cookiecutter_json`", "Determine if `repo_directory` contains a `cookiecutter.json` fil...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure_logger API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure_logger API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Configure logging for cookiecutter. Set up logging to stdout with given level. If ``debug_file`` is given set up logging to file with DEBUG level.
"Configure logging for cookiecutter.\n\n Set up logging to stdout with given level. If ``debug_file`` is given set\n up logging to file with DEBUG level."
129
false
audreyr/cookiecutter
configure_logger
8,706
LDU_FT/cdumay/kser/launch_next
LDU_FT
[ "<BEGIN>\n## `check_required_params`", "Check if all required parameters are set\n<END>", "<BEGIN>\n## `_onsuccess`", "To execute on execution success", " :param kser.result.Result result: Execution result\n :return: Execution result\n :rtype: kser.result.Result\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the launch_next API. 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 launch_next API. 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...
Launch next task or finish operation :param kser.sequencing.task.Task task: previous task :param cdumay_result.Result result: previous task result :return: Execution result :rtype: cdumay_result.Result
"Launch next task or finish operation\n\n :param kser.sequencing.task.Task task: previous task\n :param cdumay_result.Result result: previous task result\n\n :return: Execution result\n :rtype: cdumay_result.Result"
94
false
cdumay/kser
launch_next
8,707
LDU_FT/dask/dask-ml/predict
LDU_FT
[ "<BEGIN>\n## `normalize_params`", "Take a list of dictionaries, and tokenize/normalize.\n<END>", "<BEGIN>\n## `check_cv`", "Dask aware version of ``sklearn.model_selection.check_cv``", " Same as the scikit-learn version, but works if ``y`` is a dask object.\n<END>", "<BEGIN>\n## `compute_n_splits`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Predict count for samples in X. Parameters ---------- X : array-like, shape = [n_samples, n_features] Returns ------- C : array, shape = [n_samples,] Predicted count for each sample
"Predict count for samples in X.\n\n Parameters\n ----------\n X : array-like, shape = [n_samples, n_features]\n\n Returns\n -------\n C : array, shape = [n_samples,]\n Predicted count for each sample"
361
false
dask/dask-ml
predict
8,708
LDU_FT/ssato/python-anyconfig/dump_to_path
LDU_FT
[ "<BEGIN>\n## `_load_plugins_itr`", ".. seealso:: the doc of :func:`load_plugins`\n<END>", "<BEGIN>\n## `select_by_key`", ":param items: A list of tuples of keys and values, [([key], val)]\n :return: A list of tuples of key and values, [(key, [val])]", " >>> select_by_key([([\"a\", \"aaa\"], 1), ([\"b\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_to_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_to_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 extr...
Dump config 'cnf' to a file 'filepath'. :param cnf: Configuration data to dump :param filepath: Config file path :param kwargs: optional keyword parameters to be sanitized :: dict
"Dump config 'cnf' to a file 'filepath'.\n\n :param cnf: Configuration data to dump\n :param filepath: Config file path\n :param kwargs: optional keyword parameters to be sanitized :: dict"
534
false
ssato/python-anyconfig
dump_to_path
8,709
LDU_FT/svenkreiss/databench/run
LDU_FT
[ "<BEGIN>\n## `color`", "triangles.", " Colors:\n - http://paletton.com/#uid=70l150klllletuehUpNoMgTsdcs shade 2\n<END>", "<BEGIN>\n## `on`", "Decorator for action handlers.", " The action name is inferred from the function name.", " This also decorates the method with `tornado.gen.coroutine`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. 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 run API. 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...
Run a single analysis. :param Analysis analysis: Analysis class to run. :param str path: Path of analysis. Can be `__file__`. :param str name: Name of the analysis. :param dict info: Optional entries are ``version``, ``title``, ``readme``, ... :param dict static: Map[url regex, root-folder]...
"Run a single analysis.\n\n :param Analysis analysis: Analysis class to run.\n :param str path: Path of analysis. Can be `__file__`.\n :param str name: Name of the analysis.\n :param dict info: Optional entries are ``version``, ``title``,\n ``readme``, ...\n :param dict static: Map[url regex, root...
86
false
svenkreiss/databench
run
8,710
LDU_FT/kervi/kervi-devices/define_as_input
LDU_FT
[ "<BEGIN>\n## `read_raw_temp`", "Reads the raw (uncompensated) temperature from the sensor.\n<END>", "<BEGIN>\n## `read_raw_pressure`", "Reads the raw (uncompensated) pressure level from the sensor.\n<END>", "<BEGIN>\n## `read_temperature`", "Gets the compensated temperature in degrees celsius.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the define_as_input API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the define_as_input API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Set the input or output mode for a specified pin. Mode should be either GPIO.OUT or GPIO.IN.
"Set the input or output mode for a specified pin. Mode should be\n either GPIO.OUT or GPIO.IN."
58
false
kervi/kervi-devices
define_as_input
8,711
LDU_FT/release-engineering/productmd/parse_release_id
LDU_FT
[ "<BEGIN>\n## `parse_nvra`", "Parse RPM N-E:V-R.A string to a dict.", " :param nvra: N-E:V-R.A string. This can be a file name or a file path including the '.rpm' suffix.\n :type nvra: str\n :rtype: dict, with \"name\", \"epoch\", \"version\", \"release\", and \"arch\" elements.\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_release_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_release_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 ...
Parse release_id to parts: {short, version, type} or {short, version, type, bp_short, bp_version, bp_type} :param release_id: Release ID string :type release_id: str :rtype: dict
"Parse release_id to parts:\n {short, version, type}\n or\n {short, version, type, bp_short, bp_version, bp_type}\n\n :param release_id: Release ID string\n :type release_id: str\n :rtype: dict"
61
false
release-engineering/productmd
parse_release_id
8,712
LDU_FT/arviz-devs/arviz/purge_duplicates
LDU_FT
[ "<BEGIN>\n## `generate_dims_coords`", "Generate default dimensions and coordinates for a variable.", " Parameters\n ----------\n shape : tuple[int]\n Shape of the variable\n var_name : str\n Name of the variable. Used in the default name, if necessary\n dims : list\n List of ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the purge_duplicates API. 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 purge_duplicates API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Remove duplicates from list while preserving order. Parameters ---------- list_in: Iterable Returns ------- list List of first occurences in order
"Remove duplicates from list while preserving order.\n\n Parameters\n ----------\n list_in: Iterable\n\n Returns\n -------\n list\n List of first occurences in order"
674
false
arviz-devs/arviz
purge_duplicates
8,713
LDU_FT/rhgrant10/Groupy/create
LDU_FT
[ "<BEGIN>\n## `from_data`", "Create an attachment from data.", " :param str type: attachment type\n :param kwargs data: additional attachment data\n :return: an attachment subclass object\n :rtype: `~groupy.api.attachments.Attachment`\n<END>", "<BEGIN>\n## `from_file`", "Create a ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. 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 create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Create a new group. Note that, although possible, there may be issues when not using an image URL from GroupMe's image service. :param str name: group name (140 characters maximum) :param str description: short description (255 characters maximum) :param str image_url: GroupMe ...
"Create a new group.\n\n Note that, although possible, there may be issues when not using an\n image URL from GroupMe's image service.\n\n :param str name: group name (140 characters maximum)\n :param str description: short description (255 characters maximum)\n :param str image_url: ...
194
false
rhgrant10/Groupy
create
8,714
LDU_FT/pyqt/python-qt5/readResources
LDU_FT
[ "<BEGIN>\n## `set_base_dir`", "Set the base directory to be used for all relative filenames.\n<END>", "<BEGIN>\n## `_parse_alignment`", "Convert a C++ alignment to the corresponding flags.\n<END>", "<BEGIN>\n## `_layout_position`", "Return either (), (0, alignment), (row, column, rowspan, colspan) or\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the readResources API. 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 readResources API. 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...
Read a "resources" tag and add the module to import to the parser's list of them.
"Read a \"resources\" tag and add the module to import to the parser's\n list of them."
45
false
pyqt/python-qt5
readResources
8,715
LDU_FT/tcalmant/ipopo/get_extra_props
LDU_FT
[ "<BEGIN>\n## `__conn_listener`", "Connection event listener", " :param state: The new connection state\n<END>", "<BEGIN>\n## `__path`", "Adds the prefix to the given path", " :param path: Z-Path\n :return: Prefixed Z-Path\n<END>", "<BEGIN>\n## `create`", "Creates a ZooKeeper node"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_extra_props API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_extra_props API. 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 the extra properties, *i.e.* non-ECF, non-RSA properties :param props: A dictionary of properties :return: A filtered dictionary
"Returns the extra properties, *i.e.* non-ECF, non-RSA properties\n\n :param props: A dictionary of properties\n :return: A filtered dictionary"
1,396
true
tcalmant/ipopo
get_extra_props
8,716
LDU_FT/chriso/gauged/resume_from
LDU_FT
[ "<BEGIN>\n## `insert_keys`", "Insert keys into a table which assigns an ID\n<END>", "<BEGIN>\n## `replace_blocks`", "Replace multiple blocks. blocks must be a list of tuples where\n each tuple consists of (namespace, offset, key, data)\n<END>", "<BEGIN>\n## `remove_namespace`", "Remove all data ass...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resume_from API. 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 resume_from API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Get a timestamp representing the position just after the last written gauge
"Get a timestamp representing the position just after the last\n written gauge"
62
false
chriso/gauged
resume_from
8,717
LDU_FT/camsci/meteor-pi/add_routes
LDU_FT
[ "<BEGIN>\n## `connect`", "Connect to a host on a given port.\n If the hostname ends with a colon (`:') followed by a number, and\n there is no port specified, that suffix will be stripped off and the\n number interpreted as the port number to use.\n<END>", "<BEGIN>\n## `waiting`", "Return...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_routes API. 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_routes API. 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...
Adds search and retrieval routes to a :class:`meteorpi_server.MeteorServer` instance :param MeteorApp meteor_app: The :class:`meteorpi_server.MeteorApp` to which routes should be added :param string url_path: The base path used for the query routes, defaults to ''
"Adds search and retrieval routes to a :class:`meteorpi_server.MeteorServer` instance\n\n :param MeteorApp meteor_app:\n The :class:`meteorpi_server.MeteorApp` to which routes should be added\n :param string url_path:\n The base path used for the query routes, defaults to ''"
210
false
camsci/meteor-pi
add_routes
8,718
LDU_FT/benzrf/parthial/scopes_as
LDU_FT
[ "<BEGIN>\n## `scopes_as`", "Replace my :attr:`scopes` for the duration of the with block.", " My global scope is not replaced.", " Args:\n new_scopes (list of dict-likes): The new :attr:`scopes` to use.\n<END>", "<BEGIN>\n## `new_scope`", "Add a new innermost scope for the duratio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scopes_as API. 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 scopes_as API. 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...
Replace my :attr:`scopes` for the duration of the with block. My global scope is not replaced. Args: new_scopes (list of dict-likes): The new :attr:`scopes` to use.
"Replace my :attr:`scopes` for the duration of the with block.\n\n My global scope is not replaced.\n\n Args:\n new_scopes (list of dict-likes): The new :attr:`scopes` to use."
35
false
benzrf/parthial
scopes_as
8,719
LDU_FT/user-cont/colin/info
LDU_FT
[ "<BEGIN>\n## `run`", "Runs the sanity checks for the target.", " :param timeout: timeout per-check (in seconds)\n :param skips: name of checks to skip\n :param target: str (image name, ostree or dockertar)\n or ImageTarget\n or path/file-like object for dockerfile\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do...
Show info about colin and its dependencies.
"Show info about colin and its dependencies."
114
false
user-cont/colin
info
8,720
LDU_FT/sys-git/certifiable/certify_email
LDU_FT
[ "<BEGIN>\n## `load_value_from_schema`", "Load a value from a schema defined string.\n<END>", "<BEGIN>\n## `parse_value`", "Convert a string received on the command-line into\n a value or None.", " :param str v:\n The value to parse.\n :param parser:\n The fallback callable to load the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the certify_email API. 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 certify_email API. 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...
Certifier which verifies that email addresses are well-formed. Does not check that the address exists. :param six.string_types value: The email address to certify. **Should be normalized!** :param bool required: Whether the value can be `None`. Defaults to True. :return: The ce...
"Certifier which verifies that email addresses are well-formed.\n\n Does not check that the address exists.\n\n :param six.string_types value:\n The email address to certify. **Should be normalized!**\n :param bool required:\n Whether the value can be `None`. Defaults to True.\n :return:\n ...
100
false
sys-git/certifiable
certify_email
8,721
LDU_FT/Kentzo/git-archive-all/get_git_version
LDU_FT
[ "<BEGIN>\n## `create`", "Create the archive at output_file_path.", " Type of the archive is determined either by extension of output_file_path or by output_format.\n Supported formats are: gz, zip, bz2, xz, tar, tgz, txz", " @param output_path: Output file path.\n @type output_path...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_git_version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_git_version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Return version of git current shell points to. If version cannot be parsed None is returned. @rtype: tuple or None
"Return version of git current shell points to.\n\n If version cannot be parsed None is returned.\n\n @rtype: tuple or None"
35
false
Kentzo/git-archive-all
get_git_version
8,722
LDU_FT/matham/pyflycap2/format_struct
LDU_FT
[ "<BEGIN>\n## `strip_comments`", "Returns the headers with comments removed.\n<END>", "<BEGIN>\n## `parse_prototype`", "Returns a :attr:`FunctionSpec` instance from the input.\n<END>", "<BEGIN>\n## `parse_struct`", "Returns a :attr:`StructSpec` instance from the input.\n<END>", "<BEGIN>\n## `parse_enum`"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_struct API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_struct API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Returns a cython struct from a :attr:`StructSpec` instance.
"Returns a cython struct from a :attr:`StructSpec` instance."
18
false
matham/pyflycap2
format_struct
8,723
LDU_FT/Hundemeier/sacn/listen_on
LDU_FT
[ "<BEGIN>\n## `activate_output`", "Activates a universe that's then starting to sending every second.\n See http://tsp.esta.org/tsp/documents/docs/E1-31-2016.pdf for more information\n :param universe: the universe to activate\n<END>", "<BEGIN>\n## `deactivate_output`", "Deactivates an existing s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listen_on API. 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 listen_on API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
This is a simple decorator for registering a callback for an event. You can also use 'register_listener'. A list with all possible options is available via LISTEN_ON_OPTIONS. :param trigger: Currently supported options: 'universe availability change', 'universe'
"This is a simple decorator for registering a callback for an event. You can also use 'register_listener'.\n A list with all possible options is available via LISTEN_ON_OPTIONS.\n :param trigger: Currently supported options: 'universe availability change', 'universe'"
32
false
Hundemeier/sacn
listen_on
8,724
LDU_FT/tagcubeio/tagcube-cli/main
LDU_FT
[ "<BEGIN>\n## `create_scans`", "This method is rather simple, it will group the urls to be scanner together\n based on (protocol, domain and port).", " :param urls_file: The filename with all the URLs\n :return: A list of scans to be run\n<END>", "<BEGIN>\n## `parse_url`", "Parse a URL into the part...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Project's main method which will parse the command line arguments, run a scan using the TagCubeClient and exit.
"Project's main method which will parse the command line arguments, run a\n scan using the TagCubeClient and exit."
72
false
tagcubeio/tagcube-cli
main
8,725
LDU_FT/astropy/pyregion/as_mpl_artists
LDU_FT
[ "<BEGIN>\n## `_generate_arg_types`", "Find coordinate types based on shape name and coordlist length", " This function returns a list of coordinate types based on which\n coordinates can be repeated for a given type of shap", " Parameters\n ----------\n coordlist_length : int\n The numbe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_mpl_artists API. 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 as_mpl_artists API. 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...
Converts a region list to a list of patches and a list of artists. Optional Keywords: [ text_offset ] - If there is text associated with the regions, add some vertical offset (in pixels) to the text so that it doesn't overlap with the regions. Often, the regions files implicitly assume the lower-...
"Converts a region list to a list of patches and a list of artists.\n\n\n Optional Keywords:\n [ text_offset ] - If there is text associated with the regions, add\n some vertical offset (in pixels) to the text so that it doesn't overlap\n with the regions.\n\n Often, the regions files implicitly assume t...
75
false
astropy/pyregion
as_mpl_artists
8,726
LDU_FT/frictionlessdata/tableschema-bigquery-py/delete
LDU_FT
[ "<BEGIN>\n## `buckets`", "https://github.com/frictionlessdata/tableschema-bigquery-py#storage\n<END>", "<BEGIN>\n## `create`", "https://github.com/frictionlessdata/tableschema-bigquery-py#storage\n<END>", "<BEGIN>\n## `delete`", "https://github.com/frictionlessdata/tableschema-bigquery-py#storage\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
https://github.com/frictionlessdata/tableschema-bigquery-py#storage
"https://github.com/frictionlessdata/tableschema-bigquery-py#storage"
12
false
frictionlessdata/tableschema-bigquery-py
delete
8,727
LDU_FT/SuperCowPowers/bat/_check_limit
LDU_FT
[ "<BEGIN>\n## `readlines`", "Open the file for reading and yield lines as they are added\n<END>", "<BEGIN>\n## `readrows`", "The readrows method reads simply 'combines' the rows of\n multiple files OR gunzips the file and then reads the rows\n<END>", "<BEGIN>\n## `most_recent`", "Recursively insp...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_limit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_limit API. 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...
Intenal method: check if current cache size exceeds maximum cache size and pop the oldest item in this case
"Intenal method: check if current cache size exceeds maximum cache\n size and pop the oldest item in this case"
79
false
SuperCowPowers/bat
_check_limit
8,728
LDU_FT/abilian/abilian-core/ns
LDU_FT
[ "<BEGIN>\n## `require_flush`", "Decorator for methods that need to query security.", " It ensures all security related operations are flushed to DB, but\n avoids unneeded flushes.\n<END>", "<BEGIN>\n## `query_pa_no_flush`", "Query for a :class:`PermissionAssignment` using `session` without any\n `f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ns API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted docu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ns API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted docu...
Class decorator that sets default tags namespace to use with its instances.
"Class decorator that sets default tags namespace to use with its\n instances."
429
false
abilian/abilian-core
ns
8,729
LDU_FT/galaxyproject/gravity/get_registered_configs
LDU_FT
[ "<BEGIN>\n## `__load_state`", "Read persisted state from the JSON statefile\n<END>", "<BEGIN>\n## `_register_config_file`", "Persist a newly added config file, or update (overwrite) the value\n of a previously persisted config.\n<END>", "<BEGIN>\n## `_deregister_config_file`", "Deregister a previou...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_registered_configs 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_registered_configs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Return the persisted values of all config files registered with the config manager.
"Return the persisted values of all config files registered with the config manager."
26
false
galaxyproject/gravity
get_registered_configs
8,730
LDU_FT/EnigmaBridge/client.py/set_type
LDU_FT
[ "<BEGIN>\n## `to_bytes`", "Converts input to a byte string.\n Typically used in PyCrypto as an argument (e.g., key, iv)", " :param x: string (does nothing), bytearray, array with numbers\n :return:\n<END>", "<BEGIN>\n## `to_long`", "Converts input to a long number (arbitrary precision python long)\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Updates type integer in the cerate UO specification. Type has to already have generations flags set correctly. Generation field is set accordingly. :param spec: :param obj_type: :return:
"Updates type integer in the cerate UO specification.\n Type has to already have generations flags set correctly.\n Generation field is set accordingly.\n\n :param spec:\n :param obj_type:\n :return:"
107
false
EnigmaBridge/client.py
set_type
8,731
LDU_FT/fedora-python/pyp2rpm/to_list
LDU_FT
[ "<BEGIN>\n## `cut_to_length`", "Shorten given text on first delimiter after given number\n of characters.\n<END>", "<BEGIN>\n## `get_interpreter_path`", "Return the executable of a specified or current version.\n<END>", "<BEGIN>\n## `license_from_trove`", "Finds out license from list of trove classifie...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Checks if given value is a list, tries to convert, if it is not.
"Checks if given value is a list, tries to convert, if it is not."
140
false
fedora-python/pyp2rpm
to_list
8,732
LDU_FT/Josef-Friedrich/tmep/_parse
LDU_FT
[ "<BEGIN>\n## `ex_literal`", "An int, float, long, bool, string, or None literal with the given\n value.\n<END>", "<BEGIN>\n## `ex_varassign`", "Assign an expression into a single variable. The expression may\n either be an `ast.expr` object or a value to be used as a literal.\n<END>", "<BEGIN>\n## `ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Parse a top-level template string Expression. Any extraneous text is considered literal text.
"Parse a top-level template string Expression. Any extraneous text\n is considered literal text."
72
false
Josef-Friedrich/tmep
_parse
8,733
LDU_FT/XuShaohua/bcloud/enable_share
LDU_FT
[ "<BEGIN>\n## `display_files`", "重新格式化一下文件列表, 去除不需要的信息", " 这一操作主要是为了便于接下来的查找工作.\n 文件的path都被提取出来, 然后放到了一个list中.\n<END>", "<BEGIN>\n## `init_db`", "这个任务数据库只在程序开始时读入, 在程序关闭时导出.", " 因为Gtk没有像在Qt中那么方便的使用SQLite, 而必须将所有数据读入一个\n liststore中才行.\n<END>", "<BEGIN>\n## `get_task_db`", "从数...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enable_share API. 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 enable_share API. 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...
建立新的分享. fid_list - 是一个list, 里面的每一条都是一个文件的fs_id 一次可以分享同一个目录下的多个文件/目录, 它们会会打包为一个分享链接, 这个分享链接还有一个对应的shareid. 我们可以用uk与shareid来在百度网盘里 面定位到这个分享内容. @return - 会返回分享链接和shareid.
"建立新的分享.\n\n fid_list - 是一个list, 里面的每一条都是一个文件的fs_id\n 一次可以分享同一个目录下的多个文件/目录, 它们会会打包为一个分享链接,\n 这个分享链接还有一个对应的shareid. 我们可以用uk与shareid来在百度网盘里\n 面定位到这个分享内容.\n @return - 会返回分享链接和shareid."
199
false
XuShaohua/bcloud
enable_share
8,734
LDU_FT/mrkrd/matlab_wrapper/eval
LDU_FT
[ "<BEGIN>\n## `find_matlab_root`", "Look for matlab binary and return root directory of MATLAB\n installation.\n<END>", "<BEGIN>\n## `load_engine_and_libs`", "Load and return `libeng` and `libmx`. Start and return MATLAB\n engine.", " Returns\n -------\n engine\n libeng\n libmx\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eval API. 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 eval API. 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...
Evaluate `expression` in MATLAB engine. Parameters ---------- expression : str Expression is passed to MATLAB engine and evaluated.
"Evaluate `expression` in MATLAB engine.\n\n Parameters\n ----------\n expression : str\n Expression is passed to MATLAB engine and evaluated."
16
false
mrkrd/matlab_wrapper
eval
8,735
LDU_FT/Games-and-Simulations/sc-docker/container_exit_code
LDU_FT
[ "<BEGIN>\n## `ensure_docker_can_run`", ":raises docker.errors.ContainerError\n :raises docker.errors.ImageNotFound\n :raises docker.errors.APIError\n<END>", "<BEGIN>\n## `ensure_local_net`", "Create docker local net if not found.", " :raises docker.errors.APIError\n<END>", "<BEGIN>\n## `ensure_lo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the container_exit_code 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 container_exit_code 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...
:raises docker.errors.NotFound :raises docker.errors.APIError
":raises docker.errors.NotFound\n :raises docker.errors.APIError"
19
false
Games-and-Simulations/sc-docker
container_exit_code
8,736
LDU_FT/adammhaile/gitdata/push
LDU_FT
[ "<BEGIN>\n## `isdir`", "Raise an exception if the given directory does not exist.", " :param path: The path to a directory to be tested\n :param message: A custom message to report in the exception", " :raises: FileNotFoundError\n<END>", "<BEGIN>\n## `getcwd`", "Provide a context dependent curren...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the push API. 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 push API. 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...
Push changes back to data repo. Will of course fail if user does not have write access.
"Push changes back to data repo.\n Will of course fail if user does not have write access."
20
false
adammhaile/gitdata
push
8,737
LDU_FT/XuShaohua/bcloud/cloud_add_link_task
LDU_FT
[ "<BEGIN>\n## `display_files`", "重新格式化一下文件列表, 去除不需要的信息", " 这一操作主要是为了便于接下来的查找工作.\n 文件的path都被提取出来, 然后放到了一个list中.\n<END>", "<BEGIN>\n## `init_db`", "这个任务数据库只在程序开始时读入, 在程序关闭时导出.", " 因为Gtk没有像在Qt中那么方便的使用SQLite, 而必须将所有数据读入一个\n liststore中才行.\n<END>", "<BEGIN>\n## `get_task_db`", "从数...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cloud_add_link_task API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cloud_add_link_task API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
新建离线下载任务. source_url - 可以是http/https/ftp等一般的链接 可以是eMule这样的链接 path - 要保存到哪个目录, 比如 /Music/, 以/开头, 以/结尾的绝对路径.
"新建离线下载任务.\n \n source_url - 可以是http/https/ftp等一般的链接\n 可以是eMule这样的链接\n path - 要保存到哪个目录, 比如 /Music/, 以/开头, 以/结尾的绝对路径."
199
false
XuShaohua/bcloud
cloud_add_link_task
8,738
LDU_FT/juergberinger/cmdhelper/flush
LDU_FT
[ "<BEGIN>\n## `getLogLevelNo`", "Return numerical log level or raise ValueError.", " A valid level is either an integer or a string such as WARNING etc.\n<END>", "<BEGIN>\n## `cmdLine`", "Return full command line with any necessary quoting.\n<END>", "<BEGIN>\n## `handleError`", "Error handling utility...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flush API. 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 flush API. 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...
Send messages by e-mail. The sending of messages is suppressed if a trigger severity level has been set and none of the received messages was at that level or above. In that case the messages are discarded. Empty e-mails are discarded.
"Send messages by e-mail.\n\n The sending of messages is suppressed if a trigger severity\n level has been set and none of the received messages was at\n that level or above. In that case the messages are\n discarded. Empty e-mails are discarded."
43
false
juergberinger/cmdhelper
flush
8,739
LDU_FT/duniter/duniter-python-api/from_inline
LDU_FT
[ "<BEGIN>\n## `from_signed_raw`", "Return Certification instance from signed raw document", " :param signed_raw: Signed raw document\n :return:\n<END>", "<BEGIN>\n## `from_inline`", "Return Certification instance from inline document", " Only self.pubkey_to is populated.\n You m...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_inline API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_inline API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Return ESSubscribtionEndpoint instance from endpoint string :param inline: Endpoint string :return:
"Return ESSubscribtionEndpoint instance from endpoint string\n\n :param inline: Endpoint string\n :return:"
415
false
duniter/duniter-python-api
from_inline
8,740
LDU_FT/jbittel/django-mama-cas/create_ticket
LDU_FT
[ "<BEGIN>\n## `get`", "(2.1) As a credential requestor, /login accepts three optional\n parameters:", " 1. ``service``: the identifier of the application the client is\n accessing. We assume this identifier to be a URL.\n 2. ``renew``: requires a client to present credentials\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_ticket API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_ticket API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Create a new ``Ticket``. Additional arguments are passed to the ``create()`` function. Return the newly created ``Ticket``.
"Create a new ``Ticket``. Additional arguments are passed to the\n ``create()`` function. Return the newly created ``Ticket``."
86
false
jbittel/django-mama-cas
create_ticket
8,741
LDU_FT/MisterY/pydatum/to_long_datetime_string
LDU_FT
[ "<BEGIN>\n## `add_months`", "Add a number of months to the given date\n<END>", "<BEGIN>\n## `from_iso_long_date`", "Parse ISO date string (YYYY-MM-DDTHH:mm:ss)\n<END>", "<BEGIN>\n## `to_iso_string`", "Returns full ISO string for the given date\n<END>", "<BEGIN>\n## `end_of_month`", "Provides end of th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_long_datetime_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_long_datetime_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Returns the long date/time string Example: 2018-12-06 12:34
"Returns the long date/time string \n Example: 2018-12-06 12:34"
18
false
MisterY/pydatum
to_long_datetime_string
8,742
LDU_FT/zhmcclient/python-zhmcclient/list
LDU_FT
[ "<BEGIN>\n## `_metric_value`", "Return a Python-typed metric value from a metric value string.\n<END>", "<BEGIN>\n## `_metric_unit_from_name`", "Return a metric unit string for human consumption, that is inferred from\n the metric name.", " If a unit cannot be inferred, `None` is returned.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
List the faked resources of this manager. Parameters: filter_args (dict): Filter arguments. `None` causes no filtering to happen. See :meth:`~zhmcclient.BaseManager.list()` for details. Returns: list of FakedBaseResource: The faked resource objects of this ...
"List the faked resources of this manager.\n\n Parameters:\n\n filter_args (dict):\n Filter arguments. `None` causes no filtering to happen. See\n :meth:`~zhmcclient.BaseManager.list()` for details.\n\n Returns:\n list of FakedBaseResource: The faked resource object...
1,599
true
zhmcclient/python-zhmcclient
list
8,743
LDU_FT/rsgalloway/grit/wrap
LDU_FT
[ "<BEGIN>\n## `assemble_WSGI_git_app`", "Assembles basic WSGI-compatible application providing functionality of git-http-backend.\r", " content_path (Defaults to '.' = \"current\" directory)\r\n The path to the folder that will be the root of served files. Accepts relative paths.\r", " uri_marker ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap API. 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 wrap API. 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...
Wrap and return the given socket, plus WSGI environ entries.
"Wrap and return the given socket, plus WSGI environ entries."
222
false
rsgalloway/grit
wrap
8,744
LDU_FT/tantale/deprecated/versionadded
LDU_FT
[ "<BEGIN>\n## `deprecated`", "This is a decorator which can be used to mark functions\n as deprecated. It will result in a warning being emitted\n when the function is used.", " **Classic usage:**", " To use this, decorate your deprecated function with **@deprecated** decorator:", " .. code-bl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the versionadded API. 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 versionadded API. 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...
This decorator can be used to insert a "versionadded" directive in your function/class docstring in order to documents the version of the project which adds this new functionality in your library. :param str reason: Reason message which documents the addition in your library (can be omitted). ...
"This decorator can be used to insert a \"versionadded\" directive\n in your function/class docstring in order to documents the\n version of the project which adds this new functionality in your library.\n\n :param str reason:\n Reason message which documents the addition in your library (can be omitted...
37
false
tantale/deprecated
versionadded
8,745
LDU_FT/timofurrer/observable/create_with
LDU_FT
[ "<BEGIN>\n## `_preserve_settings`", "Decorator that ensures ObservableProperty-specific attributes\n are kept when using methods to change deleter, getter or setter.\n<END>", "<BEGIN>\n## `_trigger_event`", "Triggers an event on the associated Observable object.\n The Holder is the object this prope...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_with API. 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 create_with API. 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...
Creates a partial application of ObservableProperty with event and observable preset.
"Creates a partial application of ObservableProperty with\n event and observable preset."
20
false
timofurrer/observable
create_with
8,746
LDU_FT/gbiggs/rtsprofile/parse_xml_node
LDU_FT
[ "<BEGIN>\n## `parse_xml_node`", "Parse an xml.dom Node object representing a message sending object\n into this object.\n<END>", "<BEGIN>\n## `parse_yaml`", "Parse a YAML speficication of a message sending object into this\n object.\n<END>", "<BEGIN>\n## `save_xml`", "Save this message_sendi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_xml_node API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_xml_node API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Parse an xml.dom Node object representing a preceding condition into this object.
"Parse an xml.dom Node object representing a preceding condition into\n this object."
166
false
gbiggs/rtsprofile
parse_xml_node
8,747
LDU_FT/apache/incubator-superset/import_datasource
LDU_FT
[ "<BEGIN>\n## `new`", "Creates a new, blank dashboard and redirects to it in edit mode\n<END>", "<BEGIN>\n## `import_datasource`", "Imports the datasource from the object to the database.", " Metrics and columns and datasource will be overrided if exists.\n This function can be used to import/export ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_datasource API. 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 import_datasource API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Imports the datasource from the object to the database. Metrics and columns and datasource will be overrided if exists. This function can be used to import/export dashboards between multiple superset instances. Audit metadata isn't copies over.
"Imports the datasource from the object to the database.\n\n Metrics and columns and datasource will be overrided if exists.\n This function can be used to import/export dashboards between multiple\n superset instances. Audit metadata isn't copies over."
411
false
apache/incubator-superset
import_datasource
8,748
LDU_FT/bloomberg/bqplot/_get_attribute_dimension
LDU_FT
[ "<BEGIN>\n## `register_mark`", "Returns a decorator registering a mark class in the mark type registry.", " If no key is provided, the class name is used as a key. A key is provided\n for each core bqplot mark so that the frontend can use\n this key regardless of the kernel language.\n<END>", "<BEGIN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_attribute_dimension 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 _get_attribute_dimension API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Returns the dimension for the name of the trait for the specified mark. If `mark_type` is `None`, then the `trait_name` is returned as is. Returns `None` if the `trait_name` is not valid for `mark_type`.
"Returns the dimension for the name of the trait for the specified mark.\n\n If `mark_type` is `None`, then the `trait_name` is returned\n as is.\n Returns `None` if the `trait_name` is not valid for `mark_type`."
142
false
bloomberg/bqplot
_get_attribute_dimension
8,749
LDU_FT/romana/vpc-router/do_health_checks
LDU_FT
[ "<BEGIN>\n## `_do_tcp_check`", "Attempt to establish a TCP connection.", " If not successful, record the IP in the results dict.", " Always closes the connection at the end.\n<END>", "<BEGIN>\n## `do_health_checks`", "Perform a health check on a list of IP addresses.", " Each check ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_health_checks API. 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 do_health_checks API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Perform a health check on a list of IP addresses. Each check (we use a TCP connection attempt) is run in its own thread. Gather up the results and return the list of those addresses that failed the test and the list of questionable IPs. TODO: Currently, this starts a thread for every ...
"Perform a health check on a list of IP addresses.\n\n Each check (we use a TCP connection attempt) is run in its own thread.\n\n Gather up the results and return the list of those addresses that\n failed the test and the list of questionable IPs.\n\n TODO: Currently, this starts a thread fo...
207
false
romana/vpc-router
do_health_checks
8,750
LDU_FT/jrspruitt/ubi_reader/group_pairs
LDU_FT
[ "<BEGIN>\n## `read_block`", "Read complete PEB data from file.", " Argument:\n Obj:block -- Block data is desired for.\n<END>", "<BEGIN>\n## `read_block_data`", "Read LEB data from file", " Argument:\n Obj:block -- Block data is desired for.\n<END>", "<BEGIN>\n## `extract_blo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the group_pairs API. 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 group_pairs API. 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...
Sort a list of layout blocks into pairs Arguments: List:blocks -- List of block objects List:layout_blocks -- List of layout block indexes Returns: List -- Layout block pair indexes grouped in a list
"Sort a list of layout blocks into pairs\n\n Arguments:\n List:blocks -- List of block objects\n List:layout_blocks -- List of layout block indexes\n\n Returns:\n List -- Layout block pair indexes grouped in a list"
67
false
jrspruitt/ubi_reader
group_pairs
8,751
LDU_FT/peterldowns/djoauth2/get_request_uri_parameters
LDU_FT
[ "<BEGIN>\n## `update_parameters`", "Updates a URL's existing GET parameters.", " :param url: a base URL to which to add additional parameters.\n :param parameters: a dictionary of parameters, any mix of\n unicode and string objects as the parameters and the values.\n :parameter encoding: the byte encoding...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_request_uri_parameters 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 get_request_uri_parameters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Return the URI parameters from a request passed to the 'validate' method The query parameters returned by this method **MUST** be included in the ``action=""`` URI of the authorization form presented to the user. This carries the original authorization request parameters across the request to show the ...
"Return the URI parameters from a request passed to the 'validate' method\n\n The query parameters returned by this method **MUST** be included in the\n ``action=\"\"`` URI of the authorization form presented to the user. This\n carries the original authorization request parameters across the request to\n s...
70
false
peterldowns/djoauth2
get_request_uri_parameters
8,752
LDU_FT/MartinThoma/hwrt/clusters
LDU_FT
[ "<BEGIN>\n## `classify_segmented_recording`", "Use this function if you are sure you have a single symbol.", " Parameters\n ----------\n recording : string\n The recording in JSON format", " Returns\n -------\n list of dictionaries\n Each dictionary contains the keys 'symbol' a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clusters API. 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 clusters API. 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...
Partition list ``l`` in ``K`` partitions. >>> l = [0, 1, 2] >>> list(clusters(l, K=3)) [[[0], [1], [2]], [[], [0, 1], [2]], [[], [1], [0, 2]], [[0], [], [1, 2]], [[], [0], [1, 2]], [[], [], [0, 1, 2]]] >>> list(clusters(l, K=2)) [[[0, 1], [2]], [[1], [0, 2]], [[0], [1, 2]], [[], [0, 1, 2]]] >>> ...
"Partition list ``l`` in ``K`` partitions.\n >>> l = [0, 1, 2]\n >>> list(clusters(l, K=3))\n [[[0], [1], [2]], [[], [0, 1], [2]], [[], [1], [0, 2]], [[0], [], [1, 2]], [[], [0], [1, 2]], [[], [], [0, 1, 2]]]\n >>> list(clusters(l, K=2))\n [[[0, 1], [2]], [[1], [0, 2]], [[0], [1, 2]], [[], [0, 1, 2]]]\n ...
558
false
MartinThoma/hwrt
clusters
8,753
LDU_FT/ibis-project/ibis/over
LDU_FT
[ "<BEGIN>\n## `compile`", "Force compilation of expression for the SQLite target\n<END>", "<BEGIN>\n## `find_names`", "Return the unique :class:`ast.Name` instances in an AST.", " Parameters\n ----------\n node : ast.AST", " Returns\n -------\n unique_names : List[ast.Name]", " Examp...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the over API. 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 over API. 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...
Add a window clause to be applied to downstream analytic expressions
"Add a window clause to be applied to downstream analytic expressions"
1,079
true
ibis-project/ibis
over
8,754
LDU_FT/thespacedoctor/rockAtlas/get
LDU_FT
[ "<BEGIN>\n## `main`", "*The main function used when ``find_atlas_exposure_containing_ssobject.py`` is run as a single script from the cl*\n<END>", "<BEGIN>\n## `_extract_phot_from_exposure`", "* extract phot from exposure*", " **Key Arguments:**\n - ``expIdIndex`` -- index of the exposure to extra...
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...
*match the orbfit predicted positions of known asteroids against the positions recored in the local cache of dophot files* **Return:** - None **Usage:** See class docstring
"*match the orbfit predicted positions of known asteroids against the positions recored in the local cache of dophot files*\n\n **Return:**\n - None\n\n **Usage:**\n\n See class docstring"
125
false
thespacedoctor/rockAtlas
get
8,755
LDU_FT/openstack/proliantutils/maximum_size_bytes
LDU_FT
[ "<BEGIN>\n## `_exec_ipmitool`", "Execute the ipmitool command.", " This uses the lanplus interface to communicate with the BMC device driver.", " :param driver_info: the ipmitool parameters for accessing a node.\n :param command: the ipmitool command to be executed.\n<END>", "<BEGIN>\n## `get_nic_c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the maximum_size_bytes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the maximum_size_bytes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Gets the biggest disk drive :returns size in bytes.
"Gets the biggest disk drive\n\n :returns size in bytes."
929
false
openstack/proliantutils
maximum_size_bytes
8,756
LDU_FT/kelproject/pykube/from_file
LDU_FT
[ "<BEGIN>\n## `iterator`", "Execute the API request and return an iterator over the objects. This\n method does not use the query cache.\n<END>", "<BEGIN>\n## `get_kwargs`", "Creates a full URL to request based on arguments.", " :Parametes:\n - `kwargs`: All keyword arguments to build...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 conclusion. The extract...
Creates an instance of the KubeConfig class from a kubeconfig file. :Parameters: - `filename`: The full path to the configuration file
"Creates an instance of the KubeConfig class from a kubeconfig file.\n\n :Parameters:\n - `filename`: The full path to the configuration file"
54
false
kelproject/pykube
from_file
8,757
LDU_FT/billy-yoyo/RainbowSixSiege-Python-API/load_weapons
LDU_FT
[ "<BEGIN>\n## `connect`", "|coro|", " Connect to ubisoft, automatically called when needed\n<END>", "<BEGIN>\n## `get_players`", "|coro|", " get a list of players matching the term on that platform,\n exactly one of uid and name must be given, platform must be given,\n this list...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_weapons API. 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 load_weapons API. 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...
|coro| Load the players weapon stats Returns ------- list[:class:`Weapon`] list of all the weapon objects found
"|coro|\n\n Load the players weapon stats\n\n Returns\n -------\n list[:class:`Weapon`]\n list of all the weapon objects found"
87
false
billy-yoyo/RainbowSixSiege-Python-API
load_weapons
8,758
LDU_FT/HazyResearch/fonduer/get_neighbor_cell_ngrams
LDU_FT
[ "<BEGIN>\n## `construct_stable_id`", "Contruct a stable ID for a Context given its parent and its character\n offsets relative to the parent.\n<END>", "<BEGIN>\n## `split_stable_id`", "Split stable id, returning:", " * Document (root) stable ID\n * Context polymorphic type\n * Charac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_neighbor_cell_ngrams 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 get_neighbor_cell_ngrams API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Get the ngrams from all Cells that are within a given Cell distance in one direction from the given Mention. Note that if a candidate is passed in, all of its Mentions will be searched. If `directions=True``, each ngram will be returned with a direction in {'UP', 'DOWN', 'LEFT', 'RIGHT'}. :param m...
"Get the ngrams from all Cells that are within a given Cell distance in one\n direction from the given Mention.\n\n Note that if a candidate is passed in, all of its Mentions will be\n searched. If `directions=True``, each ngram will be returned with a\n direction in {'UP', 'DOWN', 'LEFT', 'RIGHT'}.\n\n ...
540
false
HazyResearch/fonduer
get_neighbor_cell_ngrams
8,759
LDU_FT/major/supernova/set_user_password
LDU_FT
[ "<BEGIN>\n## `get_user_password`", "Allows the user to print the credential for a particular keyring entry\n to the screen\n<END>", "<BEGIN>\n## `pull_env_credential`", "Dissects a keyring credential lookup string from the supernova config file\n and returns the username/password combo\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_user_password API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_user_password API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Sets a user's password in the keyring storage
"Sets a user's password in the keyring storage"
66
false
major/supernova
set_user_password
8,760
LDU_FT/pachyderm/python-pachyderm/set_branch
LDU_FT
[ "<BEGIN>\n## `create_repo`", "Creates a new Repo object in PFS with the given name. Repos are the \n top level data object in PFS and should be used to store data of a\n similar type. For example rather than having a single Repo for an\n entire project you might have separate Repos for logs, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_branch API. 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_branch API. 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...
Sets a commit and its ancestors as a branch. Params: * commit: A tuple, string, or Commit object representing the commit. * branch_name: The name for the branch to set.
"Sets a commit and its ancestors as a branch.\n\n Params:\n * commit: A tuple, string, or Commit object representing the commit.\n * branch_name: The name for the branch to set."
66
false
pachyderm/python-pachyderm
set_branch
8,761
LDU_FT/pseudonym117/Riot-Watcher/_raw_request
LDU_FT
[ "<BEGIN>\n## `matchlist_by_account`", "Get matchlist for ranked games played on given account ID and platform ID\n and filtered using given filter parameters, if any", " A number of optional parameters are provided for filtering. It is up to the caller to\n ensure that the combination of fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _raw_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _raw_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 extr...
Sends a request through the BaseApi instance provided, injecting the provided endpoint_name into the method call, so the caller doesn't have to. :param string method_name: The name of the calling method :param string region: The region to execute this request on :param string url...
"Sends a request through the BaseApi instance provided, injecting the provided endpoint_name\n into the method call, so the caller doesn't have to.\n\n :param string method_name: The name of the calling method\n :param string region: The region to execute this request on\n :param stri...
80
false
pseudonym117/Riot-Watcher
_raw_request
8,762
LDU_FT/marshmallow-code/marshmallow-jsonapi/format_error
LDU_FT
[ "<BEGIN>\n## `check_relations`", "Recursive function which checks if a relation is valid.\n<END>", "<BEGIN>\n## `format_json_api_response`", "Post-dump hook that formats serialized data as a top-level JSON API object.", " See: http://jsonapi.org/format/#document-top-level\n<END>", "<BEGIN>\n## `on_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_error API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_error API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Override-able hook to format a single error message as an Error object. See: http://jsonapi.org/format/#error-objects
"Override-able hook to format a single error message as an Error object.\n\n See: http://jsonapi.org/format/#error-objects"
41
false
marshmallow-code/marshmallow-jsonapi
format_error
8,763
LDU_FT/mozilla/amo-validator/get_resource
LDU_FT
[ "<BEGIN>\n## `decode`", "Decode data employing some charset detection and including unicode BOM\n stripping.\n<END>", "<BEGIN>\n## `get_context`", "Returns a tuple containing the context for a line\n<END>", "<BEGIN>\n## `_format_line`", "Formats a line from the data to be the appropriate length\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_resource API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_resource API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Retrieves an object that has been stored by another test.
"Retrieves an object that has been stored by another test."
94
false
mozilla/amo-validator
get_resource
8,764
LDU_FT/Trebek/pydealer/open_cards
LDU_FT
[ "<BEGIN>\n## `build`", "Builds a standard 52 card French deck of Card instances.", " :arg bool jokers:\n Whether or not to include jokers in the deck.\n :arg int num_jokers:\n The number of jokers to include.\n<END>", "<BEGIN>\n## `deal`", "Returns a list of cards, which ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open_cards API. 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 open_cards API. 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...
Open cards from a txt file. :arg str filename: The filename of the deck file to open. If no filename given, defaults to "cards-YYYYMMDD.txt", where "YYYYMMDD" is the year, month, and day. For example, "cards-20140711.txt". :returns: The opened cards, as a list.
"Open cards from a txt file.\n\n :arg str filename:\n The filename of the deck file to open. If no filename given,\n defaults to \"cards-YYYYMMDD.txt\", where \"YYYYMMDD\" is the year, month,\n and day. For example, \"cards-20140711.txt\".\n\n :returns:\n The opened cards, as a list."
96
false
Trebek/pydealer
open_cards
8,765
LDU_FT/tomturner/django-tenants/delete
LDU_FT
[ "<BEGIN>\n## `get_table_list`", "Returns a list of table names in the current database and schema.\n<END>", "<BEGIN>\n## `get_table_description`", "Returns a description of the table, with the DB-API cursor.description interface.\n<END>", "<BEGIN>\n## `delete`", "Deletes this row. Drops the tenant's schem...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Deletes this row. Drops the tenant's schema if the attribute auto_drop_schema set to True.
"Deletes this row. Drops the tenant's schema if the attribute\n auto_drop_schema set to True."
50
false
tomturner/django-tenants
delete
8,766
LDU_FT/reiinakano/scikit-plot/plot_elbow_curve
LDU_FT
[ "<BEGIN>\n## `plot_pca_component_variance`", "Plots PCA components' explained variance ratios. (new in v0.2.2)", " Args:\n clf: PCA instance that has the ``explained_variance_ratio_`` attribute.", " title (string, optional): Title of the generated plot. Defaults to\n \"PCA Componen...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_elbow_curve API. 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 plot_elbow_curve API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Plots elbow curve of different values of K for KMeans clustering. Args: clf: Clusterer instance that implements ``fit``,``fit_predict``, and ``score`` methods, and an ``n_clusters`` hyperparameter. e.g. :class:`sklearn.cluster.KMeans` instance X (array-like, shape (n_sample...
"Plots elbow curve of different values of K for KMeans clustering.\n\n Args:\n clf: Clusterer instance that implements ``fit``,``fit_predict``, and\n ``score`` methods, and an ``n_clusters`` hyperparameter.\n e.g. :class:`sklearn.cluster.KMeans` instance\n\n X (array-like, shape (...
328
false
reiinakano/scikit-plot
plot_elbow_curve
8,767
LDU_FT/housecanary/hc-api-python/process_json_response
LDU_FT
[ "<BEGIN>\n## `normalize_cell_value`", "Process value for writing into a cell.", " Args:\n value: any type of variable", " Returns:\n json serialized value if value is list or dict, else value\n<END>", "<BEGIN>\n## `get_addresses_from_input_file`", "Read addresses from input file into l...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_json_response 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 process_json_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
For a json response, check if there was any error and throw exception. Otherwise, create a housecanary.response.Response.
"For a json response, check if there was any error and throw exception.\n Otherwise, create a housecanary.response.Response."
137
false
housecanary/hc-api-python
process_json_response
8,768
LDU_FT/twisted/axiom/paginate
LDU_FT
[ "<BEGIN>\n## `upgradeProcessor1to2`", "Batch processors stopped polling at version 2, so they no longer needed the\n idleInterval attribute. They also gained a scheduled attribute which\n tracks their interaction with the scheduler. Since they stopped polling,\n we also set them up as a timed event her...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paginate API. 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 paginate API. 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...
Split up the work of gathering a result set into multiple smaller 'pages', allowing very large queries to be iterated without blocking for long periods of time. While simply iterating C{paginate()} is very similar to iterating a query directly, using this method allows the work to obtai...
"Split up the work of gathering a result set into multiple smaller\n 'pages', allowing very large queries to be iterated without blocking\n for long periods of time.\n\n While simply iterating C{paginate()} is very similar to iterating a\n query directly, using this method allows the work to...
479
false
twisted/axiom
paginate
8,769
LDU_FT/Ouranosinc/xclim/heat_wave_max_length
LDU_FT
[ "<BEGIN>\n## `build_module`", "Create a module from imported objects.", " Parameters\n ----------\n name : str\n New module name.\n objs : dict\n Dictionary of the objects (or their name) to import into the module,\n keyed by the name they will take in the created module.\n doc : s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the heat_wave_max_length 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 heat_wave_max_length API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
r"""Heat wave max length Maximum length of heat waves over a given period. A heat wave is defined as an event where the minimum and maximum daily temperature both exceeds specific thresholds over a minimum number of days. By definition heat_wave_max_length must be >= window. Parameters ------...
"r\"\"\"Heat wave max length\n\n Maximum length of heat waves over a given period. A heat wave is defined as an event\n where the minimum and maximum daily temperature both exceeds specific thresholds\n over a minimum number of days.\n\n By definition heat_wave_max_length must be >= window.\n\n Parameter...
578
false
Ouranosinc/xclim
heat_wave_max_length
8,770
LDU_FT/adamcharnock/swiftwind/get_amount_arrears_transactions
LDU_FT
[ "<BEGIN>\n## `get_amount_normal`", "Get the amount due on the given billing cycle", " For regular recurring costs this is simply `fixed_amount`. For\n one-off costs this is the portion of `fixed_amount` for the given\n billing_cycle.\n<END>", "<BEGIN>\n## `get_amount_arrears_balance`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_amount_arrears_transactions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_amount_arrears_transactions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
Get the sum of all transaction legs in to_account during given billing cycle
"Get the sum of all transaction legs in to_account during given billing cycle"
49
false
adamcharnock/swiftwind
get_amount_arrears_transactions
8,771
LDU_FT/maweigert/gputools/convolve_spatial2
LDU_FT
[ "<BEGIN>\n## `gaussian_filter`", "blurs data with a gaussian kernel of given sigmas", " Parameters\n ----------\n data: ndarray\n 2 or 3 dimensional array \n sigma: scalar or tuple\n the sigma of the gaussian \n truncate: float \n truncate the kernel after truncate*sigma \n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convolve_spatial2 API. 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 convolve_spatial2 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
spatial varying convolution of an 2d image with a 2d grid of psfs shape(im_ = (Ny,Nx) shape(hs) = (Gy,Gx, Hy,Hx) the input image im is subdivided into (Gy,Gz) blocks hs[j,i] is the psf at the center of each block (i,j) as of now each image dimension has to be divisble by the grid dim, i.e. Nx...
"spatial varying convolution of an 2d image with a 2d grid of psfs\n\n shape(im_ = (Ny,Nx)\n shape(hs) = (Gy,Gx, Hy,Hx)\n\n the input image im is subdivided into (Gy,Gz) blocks\n hs[j,i] is the psf at the center of each block (i,j)\n\n as of now each image dimension has to be divisble by the grid dim, i....
199
false
maweigert/gputools
convolve_spatial2
8,772