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/manns/pyspread/libvlc_audio_equalizer_new_from_preset
LDU_FT
[ "<BEGIN>\n## `add_tools`", "Adds tools from self.toolbardata to self\n<END>", "<BEGIN>\n## `_get_button_label`", "Gets Button label from user and returns string\n<END>", "<BEGIN>\n## `OnButtonCell`", "Event handler for cell button toggle button\n<END>", "<BEGIN>\n## `OnVideoCell`", "Event handler for ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the libvlc_audio_equalizer_new_from_preset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the libvlc_audio_equalizer_new_from_preset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates...
Create a new equalizer, with initial frequency values copied from an existing preset. The new equalizer can subsequently be applied to a media player by invoking L{libvlc_media_player_set_equalizer}(). The returned handle should be freed via L{libvlc_audio_equalizer_release}() when it is no longer n...
"Create a new equalizer, with initial frequency values copied from an existing\n preset.\n The new equalizer can subsequently be applied to a media player by invoking\n L{libvlc_media_player_set_equalizer}().\n The returned handle should be freed via L{libvlc_audio_equalizer_release}() when\n it is no lo...
1,275
true
manns/pyspread
libvlc_audio_equalizer_new_from_preset
25,573
LDU_FT/insilichem/pychimera/_interactive_mode
LDU_FT
[ "<BEGIN>\n## `launch_ipython`", "Launch IPython from this interpreter with custom args if needed.\n Chimera magic commands are also enabled automatically.\n<END>", "<BEGIN>\n## `launch_notebook`", "Launch a Jupyter Notebook, with custom Untitled filenames and\n a prepopulated first cell with necessary b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _interactive_mode API. 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 _interactive_mode API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Check if we need to relaunch Python in interactive mode:
"Check if we need to relaunch Python in interactive mode:"
35
false
insilichem/pychimera
_interactive_mode
25,574
LDU_FT/go-macaroon-bakery/py-macaroon-bakery/macaroon
LDU_FT
[ "<BEGIN>\n## `encode_caveat`", "Encrypt a third-party caveat.", " The third_party_info key holds information about the\n third party we're encrypting the caveat for; the key is the\n public/private key pair of the party that's adding the caveat.", " The caveat will be encoded according to the vers...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the macaroon API. 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 macaroon API. 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...
Takes a macaroon with the given version from the oven, associates it with the given operations and attaches the given caveats. There must be at least one operation specified. The macaroon will expire at the given time - a time_before first party caveat will be added with that time. ...
"Takes a macaroon with the given version from the oven,\n associates it with the given operations and attaches the given caveats.\n There must be at least one operation specified.\n The macaroon will expire at the given time - a time_before first party\n caveat will be added with that time.\...
223
false
go-macaroon-bakery/py-macaroon-bakery
macaroon
25,575
LDU_FT/DaveMcEwan/ndim/pt_on_bezier_curve
LDU_FT
[ "<BEGIN>\n## `pt_on_bezier_curve`", "Return point at t on bezier curve defined by control points P.\n<END>", "<BEGIN>\n## `pts_on_bezier_curve`", "Return list N+1 points representing N line segments on bezier curve\n defined by control points P.\n<END>", "<BEGIN>\n## `bezier_curve_approx_len`", "Return a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pt_on_bezier_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pt_on_bezier_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. Th...
Return point at t on bezier curve defined by control points P.
"Return point at t on bezier curve defined by control points P."
40
false
DaveMcEwan/ndim
pt_on_bezier_curve
25,576
LDU_FT/venthur/gscholar/convert_pdf_to_txt
LDU_FT
[ "<BEGIN>\n## `query`", "Query google scholar.", " This method queries google scholar and returns a list of citations.", " Parameters\n ----------\n searchstr : str\n the query\n outformat : int, optional\n the output format of the citations. Default is bibtex.\n allresults : bo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_pdf_to_txt 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 convert_pdf_to_txt 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...
Convert a pdf file to text and return the text. This method requires pdftotext to be installed. Parameters ---------- pdf : str path to pdf file startpage : int, optional the first page we try to convert Returns ------- str the converted text
"Convert a pdf file to text and return the text.\n\n This method requires pdftotext to be installed.\n\n Parameters\n ----------\n pdf : str\n path to pdf file\n startpage : int, optional\n the first page we try to convert\n\n Returns\n -------\n str\n the converted text"
24
false
venthur/gscholar
convert_pdf_to_txt
25,577
LDU_FT/googlefonts/fontbakery/com_google_fonts_check_kerning_for_non_ligated_sequences
LDU_FT
[ "<BEGIN>\n## `get_module_profile`", "Get or create a profile from a module and return it.", " If the name `module.profile` is present the value of that is returned.\n Otherwise, if the name `module.profile_factory` is present, a new profile\n is created using `module.profile_factory` and then `profile.auto_r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the com_google_fonts_check_kerning_for_non_ligated_sequences API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the com_google_fonts_check_kerning_for_non_ligated_sequences API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, a...
Is there kerning info for non-ligated sequences?
"Is there kerning info for non-ligated sequences?"
381
false
googlefonts/fontbakery
com_google_fonts_check_kerning_for_non_ligated_sequences
25,578
LDU_FT/helixyte/everest/get_entity_class
LDU_FT
[ "<BEGIN>\n## `domain_relationship`", "Returns a domain relationship equivalent with this resource\n relationship.\n<END>", "<BEGIN>\n## `get_attribute_cardinality`", "Returns the cardinality of the given resource attribute.", " :returns: One of the constants defined in\n :class:`evererst.cons...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_entity_class API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_entity_class API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Returns the entity class registered for the given registered resource. :param resource: registered resource :type collection: class implementing or instance providing a registered resource interface. :return: entity class (class implementing `everest.entities.interfaces.IEntity`)
"Returns the entity class registered for the given registered resource.\n\n :param resource: registered resource\n :type collection: class implementing or instance providing a registered\n resource interface.\n :return: entity class\n (class implementing `everest.entities.interfaces.IEntity`)"
449
false
helixyte/everest
get_entity_class
25,579
LDU_FT/tsroten/ticktock/_is_expired
LDU_FT
[ "<BEGIN>\n## `open`", "Open a database file as a persistent dictionary.", " The persistent dictionary file is opened using :func:`dbm.open`, so\n performance will depend on which :mod:`dbm` modules are installed.", " :func:`open` chooses to open a :class:`Shelf <shelve.Shelf>`,\n :class:`LRUShelf`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_expired API. 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 _is_expired API. 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...
Check if a key is expired. If so, delete the key.
"Check if a key is expired. If so, delete the key."
20
false
tsroten/ticktock
_is_expired
25,580
LDU_FT/OnroerendErfgoed/language-tags/script
LDU_FT
[ "<BEGIN>\n## `types`", "Get the types of a subtag string (excludes redundant and grandfathered).", " :param str subtag: subtag.\n :return: list of types. The return list can be empty.\n<END>", "<BEGIN>\n## `subtags`", "Get a list of existing :class:`language_tags.Subtag.Subtag` objects given t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the script API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the script API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Get the script :class:`language_tags.Subtag.Subtag` of the tag. :return: script :class:`language_tags.Subtag.Subtag` that is part of the tag. The return can be None.
"Get the script :class:`language_tags.Subtag.Subtag` of the tag.\n\n :return: script :class:`language_tags.Subtag.Subtag` that is part of the tag.\n The return can be None."
50
false
OnroerendErfgoed/language-tags
script
25,581
LDU_FT/mieubrisse/wunderpy2/update_list
LDU_FT
[ "<BEGIN>\n## `get_endpoint_obj`", "Tiny helper function that gets used all over the place to join the object ID to the endpoint and run a GET request, returning the result\n<END>", "<BEGIN>\n## `update_endpoint_obj`", "Helper method to ease the repetitiveness of updating an... SO VERY DRY ", " (That's a ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_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 extra...
Updates the list with the given ID to have the given properties See https://developer.wunderlist.com/documentation/endpoints/list for detailed parameter information
"Updates the list with the given ID to have the given properties\n\n See https://developer.wunderlist.com/documentation/endpoints/list for detailed parameter information"
94
false
mieubrisse/wunderpy2
update_list
25,582
LDU_FT/websocket-client/websocket-client/mask
LDU_FT
[ "<BEGIN>\n## `parse_url`", "parse url and the result is tuple of\n (hostname, port, resource path and the flag of secure mode)", " url: url string.\n<END>", "<BEGIN>\n## `get_proxy_info`", "try to retrieve proxy host and port from environment\n if not provided in options.\n result is (proxy_host...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mask API. 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 mask API. 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...
mask or unmask data. Just do xor for each byte mask_key: 4 byte string(byte). data: data to mask/unmask.
"mask or unmask data. Just do xor for each byte\n\n mask_key: 4 byte string(byte).\n\n data: data to mask/unmask."
81
false
websocket-client/websocket-client
mask
25,583
LDU_FT/ResidentMario/geoplot/polyplot
LDU_FT
[ "<BEGIN>\n## `load`", "A moderately mind-bendy meta-method which abstracts the internals of individual projections' load procedures.", " Parameters\n ----------\n proj : geoplot.crs object instance\n A disguised reference to ``self``.\n df : GeoDataFrame\n The G...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the polyplot API. 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 polyplot API. 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...
Trivial polygonal plot. Parameters ---------- df : GeoDataFrame The data being plotted. projection : geoplot.crs object instance, optional A geographic projection. For more information refer to `the tutorial page on projections <https://nbviewer.jupyter.org/github/ResidentMario/...
"Trivial polygonal plot.\n\n Parameters\n ----------\n df : GeoDataFrame\n The data being plotted.\n projection : geoplot.crs object instance, optional\n A geographic projection. For more information refer to `the tutorial page on projections\n <https://nbviewer.jupyter.org/github/Resid...
404
false
ResidentMario/geoplot
polyplot
25,584
LDU_FT/aio-libs/aiohttp/handle_error
LDU_FT
[ "<BEGIN>\n## `_cleanup_closed`", "Double confirmation for transport close.\n Some broken ssl servers may leave socket open without proper close.\n<END>", "<BEGIN>\n## `_available_connections`", "Return number of available connections taking into account\n the limit, limit_per_host and the connec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_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 handle_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...
Handle errors. Returns HTTP response with specific status code. Logs additional information. It always closes current connection.
"Handle errors.\n\n Returns HTTP response with specific status code. Logs additional\n information. It always closes current connection."
233
false
aio-libs/aiohttp
handle_error
25,585
LDU_FT/Kane610/axis/process_raw
LDU_FT
[ "<BEGIN>\n## `session_request`", "Do HTTP/S request and return response as a string.\n<END>", "<BEGIN>\n## `get_event_list`", "Get a dict of supported events from device.\n<END>", "<BEGIN>\n## `_prepare_event`", "Converts event instances to a relevant dictionary.\n<END>", "<BEGIN>\n## `process_raw`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_raw API. 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 process_raw API. 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...
Pre-process raw string. Prepare users to work with APIItems. Create booleans with user levels.
"Pre-process raw string.\n\n Prepare users to work with APIItems.\n Create booleans with user levels."
55
false
Kane610/axis
process_raw
25,586
LDU_FT/olgabot/prettyplotlib/beeswarm
LDU_FT
[ "<BEGIN>\n## `switch_axis_limits`", "Switch the axis limits of either x or y. Or both!\n<END>", "<BEGIN>\n## `remove_chartjunk`", "Removes \"chartjunk\", such as extra lines of axes and tick marks.", " If grid=\"y\" or \"x\", will add a white grid at the \"y\" or \"x\" axes,\n respectively", " If...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the beeswarm API. 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 beeswarm API. 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...
Create a R-like beeswarm plot showing the mean and datapoints. The difference from matplotlib is only the left axis line is shown, and ticklabels labeling each category of data can be added. @param ax: @param x: @param kwargs: Besides xticklabels, which is a prettyplotlib-specific argument whi...
"Create a R-like beeswarm plot showing the mean and datapoints. \n The difference from matplotlib is only the left axis line is\n shown, and ticklabels labeling each category of data can be added.\n\n @param ax:\n @param x:\n @param kwargs: Besides xticklabels, which is a prettyplotlib-specific\n argu...
59
false
olgabot/prettyplotlib
beeswarm
25,587
LDU_FT/serhatbolsu/robotframework-appiumlibrary/input_value
LDU_FT
[ "<BEGIN>\n## `zoom`", "Zooms in on an element a certain amount.\n<END>", "<BEGIN>\n## `swipe`", "Swipe from one point to another point, for an optional duration.\r", " Args:\r\n - start_x - x-coordinate at which to start\r\n - start_y - y-coordinate at which to start\r\n - off...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the input_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the input_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Sets the given value into text field identified by `locator`. This is an IOS only keyword, input value makes use of set_value See `introduction` for details about locating elements.
"Sets the given value into text field identified by `locator`. This is an IOS only keyword, input value makes use of set_value\r\n\r\n See `introduction` for details about locating elements."
217
false
serhatbolsu/robotframework-appiumlibrary
input_value
25,588
LDU_FT/KennethWilke/PingdomLib/removePublicReport
LDU_FT
[ "<BEGIN>\n## `_serializeBooleans`", "Convert all booleans to lowercase strings\n<END>", "<BEGIN>\n## `actions`", "Returns a list of actions (alerts) that have been generated for\n your account.", " Optional Parameters:", " * from -- Only include actions generated later than th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the removePublicReport 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 removePublicReport 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...
Deactivate public report for this check. Returns status message
"Deactivate public report for this check.\n\n Returns status message"
177
false
KennethWilke/PingdomLib
removePublicReport
25,589
LDU_FT/cyrus-/cypy/_dummy_init
LDU_FT
[ "<BEGIN>\n## `packed`", "each row is placed side-by-side with the length of the row interlaced\n the head of the packed matrix contains offsets to this length\n e.g. [[11, 22, 33], [44, 55], []] => [3, 7, 10, 3, 11, 22, 33, 2, 44, 55, 0]\n<END>", "<BEGIN>\n## `reversed`", "Create a connectivity ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dummy_init API. 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 _dummy_init API. 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...
Prevents __init__ from being called if returning a obj copy.
"Prevents __init__ from being called if returning a obj copy."
209
false
cyrus-/cypy
_dummy_init
25,590
LDU_FT/xzased/lvm2py/extent_size
LDU_FT
[ "<BEGIN>\n## `open`", "Obtains the lvm, vg_t and lv_t handle. Usually you would never need to use this\n method unless you are doing operations using the ctypes function wrappers in\n conversion.py", " *Raises:*", " * HandleError\n<END>", "<BEGIN>\n## `is_active`", "Retur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extent_size API. 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 extent_size API. 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 the volume group extent size in the given units. Default units are MiB. *Args:* * units (str): Unit label ('MiB', 'GiB', etc...). Default is MiB.
"Returns the volume group extent size in the given units. Default units are MiB.\n\n *Args:*\n\n * units (str): Unit label ('MiB', 'GiB', etc...). Default is MiB."
189
false
xzased/lvm2py
extent_size
25,591
LDU_FT/TheHive-Project/Cortex-Analyzers/reverse
LDU_FT
[ "<BEGIN>\n## `auth_string`", "Authenticate based on username and token which is base64-encoded\n<END>", "<BEGIN>\n## `api_related`", "Find related objects through SoltraEdge API\n<END>", "<BEGIN>\n## `tlp_classifiers`", "Classifier between Cortex and Soltra.\n Soltra uses name-TLP, and Cortex \"val...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reverse API. 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 reverse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Return reverse DNS lookup information we have for the given IPv{4,6} address with history of changes. Multiple reverse DNS entries may match. We return all of them.
"Return reverse DNS lookup information we have for the given IPv{4,6} address with history of changes. Multiple reverse DNS entries may match. We return all of them."
328
false
TheHive-Project/Cortex-Analyzers
reverse
25,592
LDU_FT/jaysonsantos/python-binary-memcached/delete
LDU_FT
[ "<BEGIN>\n## `str_to_bytes`", "Simply convert a string type to bytes if the value is a string\n and is an instance of six.string_types but not of six.binary_type\n in python2 struct.pack(\"<Q\") is both string_types and binary_type but\n in python3 struct.pack(\"<Q\") is binary_type but not a string_type...
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 ...
Delete a key/value from server. If key existed and was deleted, return True. :param key: Key's name to be deleted :type key: six.string_types :param cas: If set, only delete the key if its CAS value matches. :type cas: int :return: True in case o success and False in case of fai...
"Delete a key/value from server. If key existed and was deleted, return True.\n\n :param key: Key's name to be deleted\n :type key: six.string_types\n :param cas: If set, only delete the key if its CAS value matches.\n :type cas: int\n :return: True in case o success and False in case...
132
false
jaysonsantos/python-binary-memcached
delete
25,593
LDU_FT/jgorset/django-respite/parse_multipart_data
LDU_FT
[ "<BEGIN>\n## `parse_content_type`", "Return a tuple of content type and charset.", " :param content_type: A string describing a content type.\n<END>", "<BEGIN>\n## `parse_http_accept_header`", "Return a list of content types listed in the HTTP Accept header\n ordered by quality.", " :param header...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_multipart_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_multipart_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Parse a request with multipart data. :param request: A HttpRequest instance.
"Parse a request with multipart data.\n\n :param request: A HttpRequest instance."
73
false
jgorset/django-respite
parse_multipart_data
25,594
LDU_FT/HDI-Project/BTB/propose
LDU_FT
[ "<BEGIN>\n## `tune_pipeline`", "Tunes a specified pipeline with the\n specified tuner for TUNING_BUDGET_PER_ITER (3) iterations.", " Params:\n X: np.array of X training data\n y: np.array of y training data\n X_val: np.array of X validation data\n y_val: np.array of y validatio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the propose API. 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 propose API. 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...
Use the trained model to propose a new set of parameters. Args: n (int, optional): number of candidates to propose Returns: Mapping of tunable name to proposed value. If called with n>1 then proposal is a list of dictionaries.
"Use the trained model to propose a new set of parameters.\n\n Args:\n n (int, optional): number of candidates to propose\n\n Returns:\n Mapping of tunable name to proposed value. If called with n>1 then proposal is a list\n of dictionaries."
75
false
HDI-Project/BTB
propose
25,595
LDU_FT/by46/simplekit/_bin_update_items
LDU_FT
[ "<BEGIN>\n## `_bin_update_items`", "Subclassed from omdict._bin_update_items() to make update() and\n updateall() process lists of values as multiple values.", " <replacements and <leftovers> are modified directly, ala pass by\n reference.\n<END>", "<BEGIN>\n## `import_string`", "Import...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _bin_update_items API. 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 _bin_update_items API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Subclassed from omdict._bin_update_items() to make update() and updateall() process lists of values as multiple values. <replacements and <leftovers> are modified directly, ala pass by reference.
"Subclassed from omdict._bin_update_items() to make update() and\n updateall() process lists of values as multiple values.\n\n <replacements and <leftovers> are modified directly, ala pass by\n reference."
73
false
by46/simplekit
_bin_update_items
25,596
LDU_FT/cmutel/constructive_geometries/sha256
LDU_FT
[ "<BEGIN>\n## `has_gis`", "Skip function execution if there are no presamples\n<END>", "<BEGIN>\n## `sha256`", "Generate SHA 256 hash for file at `filepath`\n<END>", "<BEGIN>\n## `check_data`", "Check that definitions file is present, and that faces file is readable.\n<END>", "<BEGIN>\n## `load_definitio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sha256 API. 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 sha256 API. 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 ...
Generate SHA 256 hash for file at `filepath`
"Generate SHA 256 hash for file at `filepath`"
55
false
cmutel/constructive_geometries
sha256
25,597
LDU_FT/maximkulkin/lollipop/validate
LDU_FT
[ "<BEGIN>\n## `merge_errors`", "Deeply merges two error messages. Error messages can be\n string, list of strings or dict of error messages (recursively).\n Format is the same as accepted by :exc:`ValidationError`.\n Returns new error messages.\n<END>", "<BEGIN>\n## `add_error`", "Add error message fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API. 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 validate API. 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...
Takes serialized data and returns validation errors or None. :param data: Data to validate. :param context: Context data. :returns: validation errors or None
"Takes serialized data and returns validation errors or None.\n\n :param data: Data to validate.\n :param context: Context data.\n :returns: validation errors or None"
46
false
maximkulkin/lollipop
validate
25,598
LDU_FT/alphagov/performanceplatform-collector/try_get_department
LDU_FT
[ "<BEGIN>\n## `parse_time_range`", "Convert the start/end datetimes specified by the user, specifically:\n - truncate any minutes/seconds\n - for a missing end time, use start + 24 hours\n - for a missing start time, use end - 24 hours\n - for missing start and end, use the last 24 hours\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the try_get_department 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 try_get_department 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...
Try to take the first department code, or fall back to string as passed
"Try to take the first department code, or fall back to string as passed"
56
false
alphagov/performanceplatform-collector
try_get_department
25,599
LDU_FT/jwodder/javaproperties/load
LDU_FT
[ "<BEGIN>\n## `load_xml`", "r\"\"\"\n Parse the contents of the file-like object ``fp`` as an XML properties file\n and return a `dict` of the key-value pairs.", " Beyond basic XML well-formedness, `load_xml` only checks that the root\n element is named \"``properties``\" and that all of its ``<entry...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Parse the contents of the `~io.IOBase.readline`-supporting file-like object ``fp`` as a simple line-oriented ``.properties`` file and return a `dict` of the key-value pairs. ``fp`` may be either a text or binary filehandle, with or without universal newlines enabled. If it is a binary filehandle, its ...
"Parse the contents of the `~io.IOBase.readline`-supporting file-like object\n ``fp`` as a simple line-oriented ``.properties`` file and return a `dict`\n of the key-value pairs.\n\n ``fp`` may be either a text or binary filehandle, with or without universal\n newlines enabled. If it is a binary filehandle...
115
false
jwodder/javaproperties
load
25,600
LDU_FT/UDST/orca/get_raw_column
LDU_FT
[ "<BEGIN>\n## `import_file`", "Import a file that will trigger the population of Orca.", " Parameters\n ----------\n filename : str\n<END>", "<BEGIN>\n## `check_is_table`", "Decorator that will check whether the \"table_name\" keyword argument\n to the wrapped function matches a registered Orca t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_raw_column API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_raw_column API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Get a wrapped, registered column. This function cannot return columns that are part of wrapped DataFrames, it's only for columns registered directly through Orca. Parameters ---------- table_name : str column_name : str Returns ------- wrapped : _SeriesWrapper or _ColumnFuncWrappe...
"Get a wrapped, registered column.\n\n This function cannot return columns that are part of wrapped\n DataFrames, it's only for columns registered directly through Orca.\n\n Parameters\n ----------\n table_name : str\n column_name : str\n\n Returns\n -------\n wrapped : _SeriesWrapper or _Col...
223
false
UDST/orca
get_raw_column
25,601
LDU_FT/esheldon/fitsio/write_column
LDU_FT
[ "<BEGIN>\n## `is_little_endian`", "Return True if array is little endian, False otherwise.", " Parameters\n ----------\n array: numpy array\n A numerical python array.", " Returns\n -------\n Truth value:\n True for little-endian", " Notes\n -----\n Strings are neith...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_column API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_column API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Write data to a column in this HDU This HDU must be a table HDU. parameters ---------- column: scalar string/integer The column in which to write. Can be the name or number (0 offset) column: ndarray Numerical python array to write. This should match t...
"Write data to a column in this HDU\n\n This HDU must be a table HDU.\n\n parameters\n ----------\n column: scalar string/integer\n The column in which to write. Can be the name or number (0 offset)\n column: ndarray\n Numerical python array to write. This shou...
294
false
esheldon/fitsio
write_column
25,602
LDU_FT/blockstack/blockstack-core/is_earlier_than
LDU_FT
[ "<BEGIN>\n## `anyword_substring_search_inner`", "return True if ANY target_word matches a query_word\n<END>", "<BEGIN>\n## `search_people_by_bio`", "queries lucene index to find a nearest match, output is profile username\n<END>", "<BEGIN>\n## `order_search_results`", "order of results should be a) query ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_earlier_than API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_earlier_than API. 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...
Does nameop1 come before bock_id and vtxindex?
"Does nameop1 come before bock_id and vtxindex?"
1,580
true
blockstack/blockstack-core
is_earlier_than
25,603
LDU_FT/incf-nidash/nidmresults/parse
LDU_FT
[ "<BEGIN>\n## `parse`", "Parse a result directory to extract the pieces information to be\n stored in NIDM-Results.\n<END>", "<BEGIN>\n## `add_object`", "Add a NIDMObject to a NIDM-Results export.\n<END>", "<BEGIN>\n## `_get_model_fitting`", "Retreive model fitting with identifier 'mf_id' from the l...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Parse a result directory to extract the pieces information to be stored in NIDM-Results.
"Parse a result directory to extract the pieces information to be\n stored in NIDM-Results."
21
false
incf-nidash/nidmresults
parse
25,604
LDU_FT/bapakode/OmMongo/execute_remove
LDU_FT
[ "<BEGIN>\n## `setdefault`", "if the ``name`` is set, return its value. Otherwse set ``name`` to\n ``value`` and return ``value``\n<END>", "<BEGIN>\n## `ascending`", "Add a descending index for ``name`` to this index.", " :param name: Name to be used in the index\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute_remove API. 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 execute_remove API. 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...
Execute a remove expression. Should generally only be called implicitly.
"Execute a remove expression. Should generally only be called implicitly."
248
false
bapakode/OmMongo
execute_remove
25,605
LDU_FT/neighbordog/deviantart/whofaved_deviation
LDU_FT
[ "<BEGIN>\n## `auth`", "Authenticates user and retrieves (and refreshes) access token", " :param code: code provided after redirect (authorization_code only)\n :param refresh_token: the refresh_token to update access_token without authorization\n<END>", "<BEGIN>\n## `auth_uri`", "The authorzati...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the whofaved_deviation 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 whofaved_deviation 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...
Fetch a list of users who faved the deviation :param deviationid: The deviationid you want to fetch :param offset: the pagination offset :param limit: the pagination limit
"Fetch a list of users who faved the deviation\n\n :param deviationid: The deviationid you want to fetch\n :param offset: the pagination offset\n :param limit: the pagination limit"
132
false
neighbordog/deviantart
whofaved_deviation
25,606
LDU_FT/xingjiepan/cylinder_fitting/C
LDU_FT
[ "<BEGIN>\n## `direction`", "Return the direction vector of a cylinder defined\n by the spherical coordinates theta and phi.\n<END>", "<BEGIN>\n## `projection_matrix`", "Return the projection matrix of a direction w.\n<END>", "<BEGIN>\n## `skew_matrix`", "Return the skew matrix of a direction w.\n<END>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the C API. 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 docum...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the C API. 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 docum...
Calculate the cylinder center given the cylinder direction and a list of data points.
"Calculate the cylinder center given the cylinder direction and \n a list of data points."
30
false
xingjiepan/cylinder_fitting
C
25,607
LDU_FT/azogue/i2csense/current_state_str
LDU_FT
[ "<BEGIN>\n## `_compensate_temperature`", "Compensate temperature.", " Formula from datasheet Bosch BME280 Environmental sensor.\n 8.1 Compensation formulas in double precision floating point\n Edition BST-BME280-DS001-10 | Revision 1.1 | May 2015\n<END>", "<BEGIN>\n## `_compensate_pressur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the current_state_str API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the current_state_str API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Return string representation of the current state of the sensor.
"Return string representation of the current state of the sensor."
35
false
azogue/i2csense
current_state_str
25,608
LDU_FT/icgood/pymap/iter
LDU_FT
[ "<BEGIN>\n## `for_executor`", "Return a subsystem based on the given executor. If ``executor`` is\n None, use :mod:`asyncio`. If ``executor`` is a\n :class:`concurrent.futures.ThreadPoolExecutor`, use :mod:`threading`.", " Args:\n executor: The executor in use, if any.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Iterates through the sequence numbers contained in the set, bounded by the given maximum value (in place of any ``*``). Args: max_value: The maximum value of the set.
"Iterates through the sequence numbers contained in the set, bounded\n by the given maximum value (in place of any ``*``).\n\n Args:\n max_value: The maximum value of the set."
298
false
icgood/pymap
iter
25,609
LDU_FT/matthewdeanmartin/jiggle_version/find_top_level_modules_by_dunder_init
LDU_FT
[ "<BEGIN>\n## `require_python`", "Require at least a minimum Python version.", " The version number is expressed in terms of `sys.hexversion`. E.g. to\n require a minimum of Python 2.6, use::", " >>> require_python(0x206000f0)", " :param minimum: Minimum Python version supported.\n :type mini...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_top_level_modules_by_dunder_init API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_top_level_modules_by_dunder_init API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ...
Find modules along side setup.py (or in current folder) Recreates what find_packages does. :return:
"Find modules along side setup.py (or in current folder)\n\n Recreates what find_packages does.\n :return:"
124
false
matthewdeanmartin/jiggle_version
find_top_level_modules_by_dunder_init
25,610
LDU_FT/pecan/pecan/_find_sub_controllers
LDU_FT
[ "<BEGIN>\n## `route`", "This function is used to define an explicit route for a path segment.", " You generally only want to use this in situations where your desired path\n segment is not a valid Python variable/function name.", " For example, if you wanted to be able to route to:", " /path/wit...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_sub_controllers 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 _find_sub_controllers API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Identifies the correct controller to route to by analyzing the request URI.
"Identifies the correct controller to route to by analyzing the\n request URI."
157
false
pecan/pecan
_find_sub_controllers
25,611
LDU_FT/scott-maddox/openbandparams/nonparabolicity
LDU_FT
[ "<BEGIN>\n## `GaP_Eg_Gamma`", "Returns the Gamma-valley bandgap, Eg_Gamma, in electron Volts at a\n given temperature, T, in Kelvin (default: 300 K).", " GaP has a unique Gamma-gap temperature dependence.\n<END>", "<BEGIN>\n## `_has_x`", "Returns True if x is explicitly defined in kwargs\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nonparabolicity API. 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 nonparabolicity API. 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 Kane band nonparabolicity parameter for the Gamma-valley.
"Returns the Kane band nonparabolicity parameter for the Gamma-valley."
68
false
scott-maddox/openbandparams
nonparabolicity
25,612
LDU_FT/KelSolaar/Foundations/bind_function
LDU_FT
[ "<BEGIN>\n## `list_attributes`", "Returns the Node attributes names.", " Usage::", " >>>\tnode_a = AbstractNode(\"MyNodeA\", attributeA=Attribute(), attributeB=Attribute())\n >>> node_a.list_attributes()\n ['attributeB', 'attributeA']", " :return: Attributes na...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bind_function API. 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 bind_function API. 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...
Binds given function to a class object attribute. Usage:: >>> import ctypes >>> path = "FreeImage.dll" >>> function = LibraryHook(name="FreeImage_GetVersion", arguments_types=None, return_value=ctypes.c_char_p) >>> library = Library(path, bind_library=False) ...
"Binds given function to a class object attribute.\n\n Usage::\n\n >>> import ctypes\n >>> path = \"FreeImage.dll\"\n >>> function = LibraryHook(name=\"FreeImage_GetVersion\", arguments_types=None, return_value=ctypes.c_char_p)\n >>> library = Library(path, bind_librar...
629
false
KelSolaar/Foundations
bind_function
25,613
LDU_FT/iqbal-lab-org/cluster_vcf_records/is_the_same_indel
LDU_FT
[ "<BEGIN>\n## `get_sample_name_from_vcf_header_lines`", "Given a list of header lines (made by either\n vcf_file_to_dict() or vcf_file_to_list()),\n returns the sample name. Assumes only one sample\n in the file.\n Raises error if badly formatted #CHROM line.\n Returns None if no #CHROM line found\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_the_same_indel API. 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 is_the_same_indel API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Returns True iff this record and other_record are the "same" indel. At repeats, there is more than one way to report the same variant. eg: pos=42, ref=CAAA, alt=CAA pos=43, ref=AAA, alt=AA pos=44, ref=AA, alt=A
"Returns True iff this record and other_record are the \"same\"\n indel. At repeats, there is more than one way to report the same\n variant. eg:\n pos=42, ref=CAAA, alt=CAA\n pos=43, ref=AAA, alt=AA\n pos=44, ref=AA, alt=A"
59
false
iqbal-lab-org/cluster_vcf_records
is_the_same_indel
25,614
LDU_FT/inveniosoftware/invenio-records-rest/patch
LDU_FT
[ "<BEGIN>\n## `build_default_endpoint_prefixes`", "Build the default_endpoint_prefixes map.\n<END>", "<BEGIN>\n## `obj_or_import_string`", "Import string or return object.", " :params value: Import path or class object to instantiate.\n :params default: Default object to return if the import fails.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Modify a record. Permissions: ``update_permission_factory`` The data should be a JSON-patch, which will be applied to the record. Requires header ``Content-Type: application/json-patch+json``. Procedure description: #. The record is deserialized using the proper loader. ...
"Modify a record.\n\n Permissions: ``update_permission_factory``\n\n The data should be a JSON-patch, which will be applied to the record.\n Requires header ``Content-Type: application/json-patch+json``.\n\n Procedure description:\n\n #. The record is deserialized using the proper loa...
165
false
inveniosoftware/invenio-records-rest
patch
25,615
LDU_FT/sprockets/sprockets-influxdb/set_auth_credentials
LDU_FT
[ "<BEGIN>\n## `add_measurement`", "Add measurement data to the submission buffer for eventual writing to\n InfluxDB.", " Example:", " .. code:: python", " import sprockets_influxdb as influxdb", " measurement = influxdb.Measurement('example', 'measurement-name')\n measurement....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_auth_credentials API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_auth_credentials API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Override the default authentication credentials obtained from the environment variable configuration. :param str username: The username to use :param str password: The password to use
"Override the default authentication credentials obtained from the\n environment variable configuration.\n\n :param str username: The username to use\n :param str password: The password to use"
93
false
sprockets/sprockets-influxdb
set_auth_credentials
25,616
LDU_FT/spyder-ide/qtawesome/rename_font
LDU_FT
[ "<BEGIN>\n## `load_font`", "Loads a font file and the associated charmap.", " If ``directory`` is None, the files will be looked for in ``./fonts/``.", " Parameters\n ----------\n prefix: str\n Prefix string to be used when accessing a given font set\n ttf_filename: str\n Ttf font...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rename_font API. 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 rename_font API. 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...
Font renaming code originally from: https://github.com/chrissimpkins/fontname.py/blob/master/fontname.py
"Font renaming code originally from:\n https://github.com/chrissimpkins/fontname.py/blob/master/fontname.py"
29
false
spyder-ide/qtawesome
rename_font
25,617
LDU_FT/Schwanksta/python-arcgis-rest-query/get_descriptor_for_layer
LDU_FT
[ "<BEGIN>\n## `get_descriptor_for_layer`", "Returns the standard JSON descriptor for the layer. There is a lot of\n usefule information in there.\n<END>", "<BEGIN>\n## `enumerate_layer_fields`", "Pulls out all of the field names for a layer.\n<END>", "<BEGIN>\n## `get`", "Gets a layer and returns it...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_descriptor_for_layer 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_descriptor_for_layer 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 standard JSON descriptor for the layer. There is a lot of usefule information in there.
"Returns the standard JSON descriptor for the layer. There is a lot of\n usefule information in there."
13
false
Schwanksta/python-arcgis-rest-query
get_descriptor_for_layer
25,618
LDU_FT/jleinonen/pytmatrix/rho_hv
LDU_FT
[ "<BEGIN>\n## `get_SZ`", "Compute the scattering matrices for the given PSD and geometries.", " Returns:\n The new amplitude (S) and phase (Z) matrices.\n<END>", "<BEGIN>\n## `init_scatter_table`", "Initialize the scattering lookup tables.", " Initialize the scattering lookup table...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rho_hv API. 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 rho_hv API. 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 ...
Copolarized correlation (rho_hv) for the current setup. Args: scatterer: a Scatterer instance. Returns: rho_hv.
"Copolarized correlation (rho_hv) for the current setup.\n\n Args:\n scatterer: a Scatterer instance.\n\n Returns:\n rho_hv."
115
false
jleinonen/pytmatrix
rho_hv
25,619
LDU_FT/jmbhughes/suvi-trainer/on_exit
LDU_FT
[ "<BEGIN>\n## `process_file`", "Open a single labeled image at path and get needed information, return as a dictionary\n<END>", "<BEGIN>\n## `plot_counts`", "plot the counts of a given theme from a created database over time\n<END>", "<BEGIN>\n## `query_hek`", "requests hek responses for a given time\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_exit API. 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 on_exit API. 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...
When you click to exit, this function is called, prompts whether to save
"When you click to exit, this function is called, prompts whether to save"
90
false
jmbhughes/suvi-trainer
on_exit
25,620
LDU_FT/Trebek/pydealer/sort
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 sort API. 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 sort API. 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...
Sorts the stack, either by poker ranks, or big two ranks. :arg dict ranks: The rank dict to reference for sorting. If ``None``, it will default to ``DEFAULT_RANKS``. :returns: The sorted cards.
"Sorts the stack, either by poker ranks, or big two ranks.\n\n :arg dict ranks:\n The rank dict to reference for sorting. If ``None``, it will\n default to ``DEFAULT_RANKS``.\n\n :returns:\n The sorted cards."
96
false
Trebek/pydealer
sort
25,621
LDU_FT/Genida/dependenpy/connect_from
LDU_FT
[ "<BEGIN>\n## `cast`", "Cast a set of keys and an array to a Matrix object.\n<END>", "<BEGIN>\n## `connect_to`", "Connect this vertex to another one.", " Args:\n vertex (Vertex): vertex to connect to.\n weight (int): weight of the edge.", " Returns:\n Edge: th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect_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 extr...
Connect another vertex to this one. Args: vertex (Vertex): vertex to connect from. weight (int): weight of the edge. Returns: Edge: the newly created edge.
"Connect another vertex to this one.\n\n Args:\n vertex (Vertex): vertex to connect from.\n weight (int): weight of the edge.\n\n Returns:\n Edge: the newly created edge."
130
false
Genida/dependenpy
connect_from
25,622
LDU_FT/ebu/PlugIt/plugitInclude
LDU_FT
[ "<BEGIN>\n## `doQuery`", "Send a request to the server and return the result\n<END>", "<BEGIN>\n## `ping`", "Return true if the server successfully pinged\n<END>", "<BEGIN>\n## `checkVersion`", "Check if the server use the same version of our protocol\n<END>", "<BEGIN>\n## `getMedia`", "Return a tuple...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plugitInclude API. 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 plugitInclude API. 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...
Load and render a template, using the same context of a specific action. Example: {% plugitInclude "/menuBar" %}
"Load and render a template, using the same context of a specific action.\n\n Example: {% plugitInclude \"/menuBar\" %}"
75
false
ebu/PlugIt
plugitInclude
25,623
LDU_FT/volafiled/python-volapi/make_call_with_cb
LDU_FT
[ "<BEGIN>\n## `register_callback`", "Register callback that we will have to wait for\n<END>", "<BEGIN>\n## `_handle_callback`", "Handle lain's callback. Only used with getFileinfo so far\n<END>", "<BEGIN>\n## `_handle_config`", "Handle initial config push and config changes\n<END>", "<BEGIN>\n## `find_ve...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_call_with_cb API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_call_with_cb API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Makes an API call with a callback to wait for
"Makes an API call with a callback to wait for"
78
false
volafiled/python-volapi
make_call_with_cb
25,624
LDU_FT/cltl/KafNafParserPy/set_endTimestamp
LDU_FT
[ "<BEGIN>\n## `set_id`", "Set the property identifier\n @type pid: string\n @param pid: property identifier\n<END>", "<BEGIN>\n## `add_property`", "Adds a new property to the property layer\n @type pid: string\n @param pid: property identifier\n @type label: string\n @...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_endTimestamp API. 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_endTimestamp API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Set the end timestamp of the linguistic processor, set to None for the current time @type etimestamp: string @param etimestamp: version of the linguistic processor
"Set the end timestamp of the linguistic processor, set to None for the current time\n @type etimestamp: string\n @param etimestamp: version of the linguistic processor"
270
false
cltl/KafNafParserPy
set_endTimestamp
25,625
LDU_FT/KelSolaar/Foundations/remove
LDU_FT
[ "<BEGIN>\n## `list_attributes`", "Returns the Node attributes names.", " Usage::", " >>>\tnode_a = AbstractNode(\"MyNodeA\", attributeA=Attribute(), attributeB=Attribute())\n >>> node_a.list_attributes()\n ['attributeB', 'attributeA']", " :return: Attributes na...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API. 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 remove API. 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 ...
Removes given path. :param path: Path to remove. :type path: unicode :return: Method success. :rtype: bool
"Removes given path.\n\n :param path: Path to remove.\n :type path: unicode\n :return: Method success.\n :rtype: bool"
629
false
KelSolaar/Foundations
remove
25,626
LDU_FT/HewlettPackard/python-hpOneView/remove_extra_presentations
LDU_FT
[ "<BEGIN>\n## `get_visual_content`", "Gets a list of visual content objects describing each rack within the data center. The response aggregates data\n center and rack data with a specified metric (peak24HourTemp) to provide simplified access to display data for\n the data center.", " Args:\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_extra_presentations 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 remove_extra_presentations API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Removes extra presentations from a specified server profile. Args: resource (dict): Object to create timeout: Timeout in seconds. Wait for task completion by default. The timeout does not abort the operation in OneView; it just stops waiti...
"Removes extra presentations from a specified server profile.\n\n Args:\n resource (dict):\n Object to create\n timeout:\n Timeout in seconds. Wait for task completion by default. The timeout does not abort the operation\n in OneView; it just sto...
1,297
true
HewlettPackard/python-hpOneView
remove_extra_presentations
25,627
LDU_FT/danbradham/scrim/parse_setup
LDU_FT
[ "<BEGIN>\n## `get_scrim`", "Get a :class:`Scrim` instance. Each instance is cached so if you call\n get_scrim again with the same arguments you get the same instance.", " See also:\n :class:`Scrim`\n<END>", "<BEGIN>\n## `_add`", "Appends a command to the scrims list of commands. You should not\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_setup API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_setup API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Get the kwargs from the setup function in setup.py
"Get the kwargs from the setup function in setup.py"
21
false
danbradham/scrim
parse_setup
25,628
LDU_FT/marccarre/py_sak/try_catch
LDU_FT
[ "<BEGIN>\n## `log_debug`", "Wrap call of provided function with debug log statements.\n<END>", "<BEGIN>\n## `try_catch`", "Wrap call of provided function with try/except block and debug log statements.\n If an instance of 'Exception' (or one of its subclasses) is thrown by 'func',\n it is caught, and th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the try_catch API. 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 try_catch API. 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...
Wrap call of provided function with try/except block and debug log statements. If an instance of 'Exception' (or one of its subclasses) is thrown by 'func', it is caught, and the exception object itself is return as a result.
"Wrap call of provided function with try/except block and debug log statements.\n If an instance of 'Exception' (or one of its subclasses) is thrown by 'func',\n it is caught, and the exception object itself is return as a result."
13
false
marccarre/py_sak
try_catch
25,629
LDU_FT/eventable/vobject/foldOneLine
LDU_FT
[ "<BEGIN>\n## `toVName`", "Turn a Python name into an iCalendar style name,\n optionally uppercase and with characters stripped off.\n<END>", "<BEGIN>\n## `dquoteEscape`", "Return param, or \"param\" if ',' or ';' or ':' is in param.\n<END>", "<BEGIN>\n## `readComponents`", "Generate one Component at a ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the foldOneLine API. 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 foldOneLine API. 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...
Folding line procedure that ensures multi-byte utf-8 sequences are not broken across lines TO-DO: This all seems odd. Is it still needed, especially in python3?
"Folding line procedure that ensures multi-byte utf-8 sequences are not\n broken across lines\n\n TO-DO: This all seems odd. Is it still needed, especially in python3?"
138
false
eventable/vobject
foldOneLine
25,630
LDU_FT/roboogle/gtkmvc3/__fix_bases
LDU_FT
[ "<BEGIN>\n## `__create_log_props`", "Creates all the logical property.", " The list of names of properties to be created is passed\n with frozenset log_props. The getter/setter information is\n taken from _{get,set}dict.", " This method resolves also wildcards in names, and perform...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __fix_bases API. 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 __fix_bases API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
This function check whether base_classes contains a Model instance. If not, choose the best fitting class for model. Furthermore, it makes the list in a cannonical ordering form in a way that ic can be used as memoization key
"This function check whether base_classes contains a Model\n instance. If not, choose the best fitting class for\n model. Furthermore, it makes the list in a cannonical\n ordering form in a way that ic can be used as memoization\n key"
300
false
roboogle/gtkmvc3
__fix_bases
25,631
LDU_FT/nlm/nagplug/exit
LDU_FT
[ "<BEGIN>\n## `set_timeout`", "set the timeout for plugin operations\n when timeout is reached, exit properly with nagios-compliant output", " arguments:\n timeout: timeout in seconds\n code: exit status code\n<END>", "<BEGIN>\n## `exit`", "manual exit from the plugin", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exit API. 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 exit API. 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...
manual exit from the plugin arguments: code: exit status code message: a short, one-line message to display perfdata: perfdata, if any extdata: multi-line message to give more details
"manual exit from the plugin\n\n arguments:\n code: exit status code\n message: a short, one-line message to display\n perfdata: perfdata, if any\n extdata: multi-line message to give more details"
37
false
nlm/nagplug
exit
25,632
LDU_FT/futurecolors/django-geoip/get_class
LDU_FT
[ "<BEGIN>\n## `get_class`", "Convert a string version of a function name to the callable object.\n<END>", "<BEGIN>\n## `get_mod_func`", "Converts 'django.views.news.stories.story_detail' to\n ('django.views.news.stories', 'story_detail')", " Taken from django.core.urlresolvers\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_class API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_class API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Convert a string version of a function name to the callable object.
"Convert a string version of a function name to the callable object."
34
false
futurecolors/django-geoip
get_class
25,633
LDU_FT/consbio/parserutils/iter_elements
LDU_FT
[ "<BEGIN>\n## `create_element_tree`", "Creates an ElementTree from elem_or_name, updated it with text and attributes.\n If elem_or_name is None, a permanently empty ElementTree is returned.\n :param elem_or_name: an Element or the name of the root element tag\n :param text: optional text with which to upd...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_elements API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_elements API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Applies element_function to each of the sub-elements in parent_to_parse. The passed in function must take at least one element, and an optional list of kwargs which are relevant to each of the elements in the list: def elem_func(each_elem, **kwargs)
"Applies element_function to each of the sub-elements in parent_to_parse.\n The passed in function must take at least one element, and an optional\n list of kwargs which are relevant to each of the elements in the list:\n def elem_func(each_elem, **kwargs)"
127
false
consbio/parserutils
iter_elements
25,634
LDU_FT/nefarioustim/parker/parse
LDU_FT
[ "<BEGIN>\n## `save_media`", "Store any media within model.media_list.\n<END>", "<BEGIN>\n## `get_proxy`", "Return a random proxy from proxy config.\n<END>", "<BEGIN>\n## `get`", "Return Requests response to GET request.\n<END>", "<BEGIN>\n## `get_content`", "Return content from URI if Response status ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Return a parse of page.content. Wraps PyQuery.
"Return a parse of page.content. Wraps PyQuery."
34
false
nefarioustim/parker
parse
25,635
LDU_FT/thespacedoctor/qubits/determine_if_sne_are_discovered
LDU_FT
[ "<BEGIN>\n## `setup`", "*setup the workspace in the requested location*", " **Return:**\n - ``None``\n<END>", "<BEGIN>\n## `random_redshift_array`", "*Generate a NumPy array of random distances given a sample number and distance limit*", " **Key Arguments:**\n - ``log`` -- logg...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the determine_if_sne_are_discovered 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 determine_if_sne_are_discovered API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
*Generate a list of dictionaries which describe if and when a SN is discovered in each and any filter.* **Key Arguments:** - ``log`` -- logger - ``limitingMags`` -- the limiting magnitudes of the survey - ``ripeDayList`` -- a list of dictionaries describing the time relative to peak that th...
"*Generate a list of dictionaries which describe if and when a SN is discovered in each and any filter.*\n\n **Key Arguments:**\n - ``log`` -- logger\n - ``limitingMags`` -- the limiting magnitudes of the survey\n - ``ripeDayList`` -- a list of dictionaries describing the time relative to peak t...
152
false
thespacedoctor/qubits
determine_if_sne_are_discovered
25,636
LDU_FT/LonamiWebs/Telethon/_download_contact
LDU_FT
[ "<BEGIN>\n## `collect`", "Create a `self` iterator and collect it into a `TotalList`\n (a normal list with a `.total` attribute).\n<END>", "<BEGIN>\n## `handler`", "#full: Advises to read \"Accessing the full API\" in the docs.\n<END>", "<BEGIN>\n## `handler`", "#search query: Searches for \"query\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _download_contact API. 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 _download_contact API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Specialized version of .download_media() for contacts. Will make use of the vCard 4.0 format.
"Specialized version of .download_media() for contacts.\n Will make use of the vCard 4.0 format."
1,037
true
LonamiWebs/Telethon
_download_contact
25,637
LDU_FT/OpenVolunteeringPlatform/django-ovp-search/by_name
LDU_FT
[ "<BEGIN>\n## `by_skills`", "Filter queryset by a comma delimeted skill list\n<END>", "<BEGIN>\n## `by_causes`", "Filter queryset by a comma delimeted cause list\n<END>", "<BEGIN>\n## `by_name`", "Filter queryset by name, with word wide auto-completion\n<END>", "<BEGIN>\n## `by_address`", "Filter query...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the by_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the by_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Filter queryset by name, with word wide auto-completion
"Filter queryset by name, with word wide auto-completion"
13
false
OpenVolunteeringPlatform/django-ovp-search
by_name
25,638
LDU_FT/astropy/astropy-helpers/add_external_library
LDU_FT
[ "<BEGIN>\n## `get_dummy_distribution`", "Returns a distutils Distribution object used to instrument the setup\n environment before calling the actual setup() function.\n<END>", "<BEGIN>\n## `get_distutils_option`", "Returns the value of the given distutils option.", " Parameters\n ----------\n o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_external_library 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 add_external_library API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Add a build option for selecting the internal or system copy of a library. Parameters ---------- library : str The name of the library. If the library is `foo`, the build option will be called `--use-system-foo`.
"Add a build option for selecting the internal or system copy of a library.\n\n Parameters\n ----------\n library : str\n The name of the library. If the library is `foo`, the build\n option will be called `--use-system-foo`."
135
false
astropy/astropy-helpers
add_external_library
25,639
LDU_FT/RPi-Distro/python-gpiozero/right
LDU_FT
[ "<BEGIN>\n## `toggle`", "Toggle all the output devices. For each device, if it's on, turn it\n off; if it's off, turn it on.\n<END>", "<BEGIN>\n## `on`", "If no arguments are specified, turn all the LEDs on. If arguments are\n specified, they must be the indexes of the LEDs you wish to turn on.\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the right API. 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 right API. 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...
Make the robot turn right by running the left motor forward and right motor backward. :param float speed: Speed at which to drive the motors, as a value between 0 (stopped) and 1 (full speed). The default is 1.
"Make the robot turn right by running the left motor forward and right\n motor backward.\n\n :param float speed:\n Speed at which to drive the motors, as a value between 0 (stopped)\n and 1 (full speed). The default is 1."
291
false
RPi-Distro/python-gpiozero
right
25,640
LDU_FT/flask-restful/flask-restful/_should_use_fr_error_handler
LDU_FT
[ "<BEGIN>\n## `unpack`", "Return a three tuple of data, code, and headers\n<END>", "<BEGIN>\n## `output_xml`", "Makes a Flask response with a XML encoded body\n<END>", "<BEGIN>\n## `output_json`", "Makes a Flask response with a JSON encoded body\n<END>", "<BEGIN>\n## `abort`", "Raise a HTTPException fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _should_use_fr_error_handler API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _should_use_fr_error_handler API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Determine if error should be handled with FR or default Flask The goal is to return Flask error handlers for non-FR-related routes, and FR errors (with the correct media type) for FR endpoints. This method currently handles 404 and 405 errors. :return: bool
"Determine if error should be handled with FR or default Flask\n\n The goal is to return Flask error handlers for non-FR-related routes,\n and FR errors (with the correct media type) for FR endpoints. This\n method currently handles 404 and 405 errors.\n\n :return: bool"
123
false
flask-restful/flask-restful
_should_use_fr_error_handler
25,641
LDU_FT/greenelab/PathCORE-T/_pathway_side_information
LDU_FT
[ "<BEGIN>\n## `_load_significant_pathways_file`", "Read in the significant pathways file as a\n pandas.DataFrame.\n<END>", "<BEGIN>\n## `_pathway_feature_permutation`", "Permute the pathways across features for one side in the\n network. Used in `permute_pathways_across_features`", " Parameters\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pathway_side_information API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pathway_side_information API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Create the pandas.Series containing the side labels that correspond to each pathway, based on the user-specified gene signature definition.
"Create the pandas.Series containing the side labels that correspond\n to each pathway, based on the user-specified gene signature definition."
82
false
greenelab/PathCORE-T
_pathway_side_information
25,642
LDU_FT/morngrar/betterdialogs/cancel
LDU_FT
[ "<BEGIN>\n## `load_image`", "Takes a tk.Canvas and a filepath, loads image into canvas\n<END>", "<BEGIN>\n## `load_image`", "Loads new image into canvas, updating size if needed.\n<END>", "<BEGIN>\n## `parse_geometry`", "Takes a geometry string, returns map of parameters.\n<END>", "<BEGIN>\n## `buttons`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cancel API. 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 cancel API. 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 ...
Function called when Cancel-button clicked. This method returns focus to parent, and destroys the dialog.
"Function called when Cancel-button clicked.\n\n This method returns focus to parent, and destroys the dialog."
20
false
morngrar/betterdialogs
cancel
25,643
LDU_FT/bsolomon1124/pyfinance/_std_err
LDU_FT
[ "<BEGIN>\n## `value`", "Compute option value according to BSM model.\n<END>", "<BEGIN>\n## `implied_vol`", "Get implied vol at the specified price using an iterative approach.\r", " There is no closed-form inverse of BSM-value as a function of sigma,\r\n so start at an anchoring volatility lev...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _std_err API. 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 _std_err API. 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...
Standard error of the estimate (SEE). A scalar. For standard errors of parameters, see _se_all, se_alpha, and se_beta.
"Standard error of the estimate (SEE). A scalar.\r\n\r\n For standard errors of parameters, see _se_all, se_alpha, and se_beta."
372
false
bsolomon1124/pyfinance
_std_err
25,644
LDU_FT/maximtrp/scikit-posthocs/posthoc_mannwhitney
LDU_FT
[ "<BEGIN>\n## `outliers_iqr`", "Simple detection of potential outliers based on interquartile range (IQR).", " Data that lie within the lower and upper limits are considered\n non-outliers. The lower limit is the number that lies 1.5 IQRs below\n (coefficient may be changed with an argument, see Paramet...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the posthoc_mannwhitney 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 posthoc_mannwhitney 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...
Pairwise comparisons with Mann-Whitney rank test. Parameters ---------- a : array_like or pandas DataFrame object An array, any object exposing the array interface or a pandas DataFrame. Array must be two-dimensional. val_col : str, optional Name of a DataFrame column that cont...
"Pairwise comparisons with Mann-Whitney rank test.\n\n Parameters\n ----------\n a : array_like or pandas DataFrame object\n An array, any object exposing the array interface or a pandas\n DataFrame. Array must be two-dimensional.\n\n val_col : str, optional\n Name of a DataFrame column...
285
false
maximtrp/scikit-posthocs
posthoc_mannwhitney
25,645
LDU_FT/Yelp/threat_intel/get_file_network_traffic
LDU_FT
[ "<BEGIN>\n## `init_poolmanager`", "Called to initialize the HTTPAdapter when no proxy is used.\n<END>", "<BEGIN>\n## `proxy_manager_for`", "Called to initialize the HTTPAdapter when a proxy is used.\n<END>", "<BEGIN>\n## `make_calls`", "Adds appropriate sleep to avoid making too many calls.", " A...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_file_network_traffic 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_file_network_traffic API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Retrieves a report about the network traffic of a md5, sha1, and/or sha2 hash of file, when it is executed. Args: resources: list of string hashes.
"Retrieves a report about the network traffic of a md5, sha1, and/or sha2 hash of\n file, when it is executed.\n\n Args:\n resources: list of string hashes."
149
false
Yelp/threat_intel
get_file_network_traffic
25,646
LDU_FT/openclimatedata/pymagicc/get_generic_rcp_name
LDU_FT
[ "<BEGIN>\n## `get_magicc_region_to_openscm_region_mapping`", "Get the mappings from MAGICC to OpenSCM regions.", " This is not a pure inverse of the other way around. For example, we never provide\n \"GLOBAL\" as a MAGICC return value because it's unnecesarily confusing when we also\n have \"World\". F...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_generic_rcp_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_generic_rcp_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. ...
Convert an RCP name into the generic Pymagicc RCP name The conversion is case insensitive. Parameters ---------- inname : str The name for which to get the generic Pymagicc RCP name Returns ------- str The generic Pymagicc RCP name Examples -------- >>> get_ge...
"Convert an RCP name into the generic Pymagicc RCP name\n\n The conversion is case insensitive.\n\n Parameters\n ----------\n inname : str\n The name for which to get the generic Pymagicc RCP name\n\n Returns\n -------\n str\n The generic Pymagicc RCP name\n\n Examples\n -------...
245
false
openclimatedata/pymagicc
get_generic_rcp_name
25,647
LDU_FT/hozn/keepassdb/transform_key
LDU_FT
[ "<BEGIN>\n## `to_struct`", "Initialize properties of the appropriate struct class from this model class.\n<END>", "<BEGIN>\n## `move`", "Move this group to a new parent.", " :param parent: The new parent group; if None will be root group.\n :type parent: :class:`keepassdb.model.Group`\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
This method creates the key to decrypt the database.
"This method creates the key to decrypt the database."
89
false
hozn/keepassdb
transform_key
25,648
LDU_FT/pyviz/geoviews/edgepaths
LDU_FT
[ "<BEGIN>\n## `coord_to_dimension`", "Converts an iris coordinate to a HoloViews dimension.\n<END>", "<BEGIN>\n## `sort_coords`", "Sorts a list of DimCoords trying to ensure that\n dates and pressure levels appear first and the\n longitude and latitude appear last in the correct\n order.\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edgepaths API. 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 edgepaths API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Returns the fixed EdgePaths or computes direct connections between supplied nodes.
"Returns the fixed EdgePaths or computes direct connections\n between supplied nodes."
106
false
pyviz/geoviews
edgepaths
25,649
LDU_FT/chukysoria/pyspotify-connect/on
LDU_FT
[ "<BEGIN>\n## `load_application_key_file`", "Load your libspotify application key file.", " If called without arguments, it tries to read ``spotify_appkey.key``\n from the current working directory.", " This is an alternative to setting :attr:`application_key` yourself. The\n file m...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted docu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted docu...
Turn on the alsa_sink sink. This is done automatically when the sink is instantiated, so you'll only need to call this method if you ever call :meth:`off` and want to turn the sink back on.
"Turn on the alsa_sink sink.\n\n This is done automatically when the sink is instantiated, so you'll\n only need to call this method if you ever call :meth:`off` and want to\n turn the sink back on."
65
false
chukysoria/pyspotify-connect
on
25,650
LDU_FT/Cadair/jupyter_environment_kernels/argvquote
LDU_FT
[ "<BEGIN>\n## `convert_to_env_data`", "Converts a list of paths to environments to env_data.", " env_data is a structure {name -> (ressourcedir, kernel spec)}\n<END>", "<BEGIN>\n## `validate_IPykernel`", "Validates that this env contains an IPython kernel and returns info to start it", " Returns: tup...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the argvquote API. 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 argvquote API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Returns an argument quoted in such a way that that CommandLineToArgvW on Windows will return the argument string unchanged. This is the same thing Popen does when supplied with an list of arguments. Arguments in a command line should be separated by spaces; this function does not add these spaces. This ...
"Returns an argument quoted in such a way that that CommandLineToArgvW\n on Windows will return the argument string unchanged.\n This is the same thing Popen does when supplied with an list of arguments.\n Arguments in a command line should be separated by spaces; this\n function does not add these spaces. ...
69
false
Cadair/jupyter_environment_kernels
argvquote
25,651
LDU_FT/UB-UNIBAS/simple-elastic/scroll
LDU_FT
[ "<BEGIN>\n## `create`", "Create the corresponding index. Will overwrite existing indexes of the same name.\n<END>", "<BEGIN>\n## `search`", "Search the index with a query.", " Can at most return 10'000 results from a search. If the search would yield more than 10'000 hits, only the first 10'000 are r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scroll API. 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 scroll API. 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 ...
Scroll an index with the specified search query. Works as a generator. Will yield `size` results per iteration until all hits are returned.
"Scroll an index with the specified search query.\n\n Works as a generator. Will yield `size` results per iteration until all hits are returned."
32
false
UB-UNIBAS/simple-elastic
scroll
25,652
LDU_FT/Syndace/python-omemo/parse
LDU_FT
[ "<BEGIN>\n## `coroutine`", "Implementation of a coroutine.", " Use as a decorator:\n @coroutine\n def foo():\n result = yield somePromise", " The function passed should be a generator yielding instances of the Promise class\n (or compatible).\n The coroutine waits for the Promise to r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Use this method when creating a bundle from data you retrieved directly from some PEP node. This method applies an additional decoding step to the public keys in the bundle. Pass the same structure as the constructor expects.
"Use this method when creating a bundle from data you retrieved directly from some\n PEP node. This method applies an additional decoding step to the public keys in\n the bundle. Pass the same structure as the constructor expects."
45
false
Syndace/python-omemo
parse
25,653
LDU_FT/briancappello/flask-unchained/created
LDU_FT
[ "<BEGIN>\n## `create`", "Create an instance of a model.", " :param instance: The created model instance.\n :param errors: Any errors.\n :return: The created model instance, or a dictionary of errors.\n<END>", "<BEGIN>\n## `patch`", "Partially update a model instance.", " :param...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the created API. 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 created API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Convenience method for saving a model (automatically commits it to the database and returns the object with an HTTP 201 status code)
"Convenience method for saving a model (automatically commits it to\n the database and returns the object with an HTTP 201 status code)"
597
false
briancappello/flask-unchained
created
25,654
LDU_FT/GeospatialPython/pyshp/line
LDU_FT
[ "<BEGIN>\n## `signed_area`", "Return the signed area enclosed by a ring using the linear time\r\n algorithm. A value >= 0 indicates a counter-clockwise oriented ring.\n<END>", "<BEGIN>\n## `as_dict`", "Returns this Record as a dictionary using the field names as keys\r\n :return: dict\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the line API. 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 line API. 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...
Creates a POLYLINE shape. Lines is a collection of lines, each made up of a list of xy values.
"Creates a POLYLINE shape.\r\n Lines is a collection of lines, each made up of a list of xy values."
82
false
GeospatialPython/pyshp
line
25,655
LDU_FT/atl/py-smartdc/set_boot_script
LDU_FT
[ "<BEGIN>\n## `priv`", "Quick and dirty method to find an IP on a private network given a correctly\n formatted IPv4 quad.\n<END>", "<BEGIN>\n## `_save`", "Take the data from a dict and commit them to appropriate attributes.\n<END>", "<BEGIN>\n## `refresh`", "::", " GET /:login/machines/:id...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_boot_script API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_boot_script API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
:: POST /:login/machines/:id/metadata :param filename: file path to the script to be uploaded and executed at boot on the machine :type filename: :py:class:`basestring` Replace the existing boot script for the machine with the data in the ...
"::\n \n POST /:login/machines/:id/metadata\n \n :param filename: file path to the script to be uploaded and executed\n at boot on the machine\n :type filename: :py:class:`basestring`\n \n Replace the existing boot script for the machine with the data in t...
290
false
atl/py-smartdc
set_boot_script
25,656
LDU_FT/tmux-python/libtmux/handle_option_error
LDU_FT
[ "<BEGIN>\n## `get_version`", "Return tmux version.", " If tmux is built from git master, the version returned will be the latest\n version appended with -master, e.g. ``2.4-master``.", " If using OpenBSD's base system tmux, the version will have ``-openbsd``\n appended to the latest version, e.g. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_option_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. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_option_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. T...
Raises exception if error in option command found. Purpose: As of tmux 2.4, there are now 3 different types of option errors: - unknown option - invalid option - ambiguous option Before 2.4, unknown option was the user. All errors raised will have the base error of :exc:`exc.OptionError`. So...
"Raises exception if error in option command found.\n\n Purpose: As of tmux 2.4, there are now 3 different types of option errors:\n\n - unknown option\n - invalid option\n - ambiguous option\n\n Before 2.4, unknown option was the user.\n\n All errors raised will have the base error of :exc:`exc.Optio...
224
false
tmux-python/libtmux
handle_option_error
25,657
LDU_FT/PureStorage-OpenConnect/rest-client/connect_hgroup
LDU_FT
[ "<BEGIN>\n## `_check_rest_version`", "Validate a REST API version is supported by the library and target array.\n<END>", "<BEGIN>\n## `_choose_rest_version`", "Return the newest REST API version supported by target array.\n<END>", "<BEGIN>\n## `_list_available_rest_versions`", "Return a list of the REST A...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect_hgroup API. 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 connect_hgroup API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Create a shared connection between a host group and a volume. :param hgroup: Name of hgroup to connect to volume. :type hgroup: str :param volume: Name of volume to connect to hgroup. :type volume: str :param \*\*kwargs: See the REST API Guide on your array for the ...
"Create a shared connection between a host group and a volume.\n\n :param hgroup: Name of hgroup to connect to volume.\n :type hgroup: str\n :param volume: Name of volume to connect to hgroup.\n :type volume: str\n :param \\*\\*kwargs: See the REST API Guide on your array for the\n ...
166
false
PureStorage-OpenConnect/rest-client
connect_hgroup
25,658
LDU_FT/jf-parent/brome/take_screenshot
LDU_FT
[ "<BEGIN>\n## `validate_config`", "Validate that the browser config contains all the needed config\n<END>", "<BEGIN>\n## `send_keys`", "wait_until_clickable = kwargs.get(\n 'wait_until_clickable',\n BROME_CONFIG['proxy_element']['wait_until_clickable']\n )", " if wait_unti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the take_screenshot API. 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 take_screenshot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Take a screenshot Use the screenshot_name args when you want to take a screenshot for reference If the `runner:cache_screenshot` config is set to True then screenshot sharing all the same name will be saved only once The screenshot_path args is exclusively used by the ...
"Take a screenshot\n\n Use the screenshot_name args when you want to take a\n screenshot for reference\n\n If the `runner:cache_screenshot` config is set to True then\n screenshot sharing all the same name will be saved only once\n\n The screenshot_path args is exclusively use...
144
false
jf-parent/brome
take_screenshot
25,659
LDU_FT/Noneus/slojsonrpc/_validate_format
LDU_FT
[ "<BEGIN>\n## `register`", "register all methods for of an object as json rpc methods", " obj - object with methods\n<END>", "<BEGIN>\n## `_validate_format`", "Validate jsonrpc compliance of a jsonrpc-dict.", " req - the request as a jsonrpc-dict", " raises SLOJSONRPCError on validat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_format API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_format API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Validate jsonrpc compliance of a jsonrpc-dict. req - the request as a jsonrpc-dict raises SLOJSONRPCError on validation error
"Validate jsonrpc compliance of a jsonrpc-dict.\n\n req - the request as a jsonrpc-dict\n\n raises SLOJSONRPCError on validation error"
19
false
Noneus/slojsonrpc
_validate_format
25,660
LDU_FT/pallets/pallets-sphinx-themes/invoke
LDU_FT
[ "<BEGIN>\n## `add_404_page`", "Build an extra ``404.html`` page if no ``\"404\"`` key is in the\n ``html_additional_pages`` config.\n<END>", "<BEGIN>\n## `canonical_url`", "Build the canonical URL for a page. Appends the path for the\n page to the base URL specified by the\n ``html_context[\"canonica...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the invoke API. 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 invoke API. 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 ...
Like :meth:`CliRunner.invoke` but displays what the user would enter in the terminal for env vars, command args, and prompts. :param terminate_input: Whether to display "^D" after a list of input. :param _output_lines: A list used internally to collect lines to b...
"Like :meth:`CliRunner.invoke` but displays what the user\n would enter in the terminal for env vars, command args, and\n prompts.\n\n :param terminate_input: Whether to display \"^D\" after a list of\n input.\n :param _output_lines: A list used internally to collect lines to\n ...
36
false
pallets/pallets-sphinx-themes
invoke
25,661
LDU_FT/peterjc/backports.lzma/open
LDU_FT
[ "<BEGIN>\n## `open`", "Open an LZMA-compressed file in binary or text mode.", " filename can be either an actual file name (given as a str or bytes object),\n in which case the named file is opened, or it can be an existing file object\n to read from or write to.", " The mode argument can be \"r\"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open API. 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 open API. 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...
Open an LZMA-compressed file in binary or text mode. filename can be either an actual file name (given as a str or bytes object), in which case the named file is opened, or it can be an existing file object to read from or write to. The mode argument can be "r", "rb" (default), "w", "wb", "a", or "ab"...
"Open an LZMA-compressed file in binary or text mode.\n\n filename can be either an actual file name (given as a str or bytes object),\n in which case the named file is opened, or it can be an existing file object\n to read from or write to.\n\n The mode argument can be \"r\", \"rb\" (default), \"w\", \"wb\...
36
false
peterjc/backports.lzma
open
25,662
LDU_FT/sanger-pathogens/pymummer/_swap
LDU_FT
[ "<BEGIN>\n## `_swap`", "Swaps the alignment so that the reference becomes the query and vice-versa. Swaps their names, coordinates etc. The frame is not changed\n<END>", "<BEGIN>\n## `qry_coords`", "Returns a pyfastaq.intervals.Interval object of the start and end coordinates in the query sequence\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _swap API. 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 _swap API. 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...
Swaps the alignment so that the reference becomes the query and vice-versa. Swaps their names, coordinates etc. The frame is not changed
"Swaps the alignment so that the reference becomes the query and vice-versa. Swaps their names, coordinates etc. The frame is not changed"
26
false
sanger-pathogens/pymummer
_swap
25,663
LDU_FT/jeffknupp/sandman2/register_service
LDU_FT
[ "<BEGIN>\n## `to_dict`", "Return a dictionary representation of the exception.\n<END>", "<BEGIN>\n## `required`", "Return a list of all columns required by the database to create the\n resource.", " :param cls: The Model class to gather attributes from\n :rtype: list\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_service API. 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 register_service API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Register an API service endpoint. :param cls: The class to register :param str primary_key_type: The type (as a string) of the primary_key field
"Register an API service endpoint.\n\n :param cls: The class to register\n :param str primary_key_type: The type (as a string) of the primary_key\n field"
74
false
jeffknupp/sandman2
register_service
25,664
LDU_FT/datastore/datastore/_link_for_value
LDU_FT
[ "<BEGIN>\n## `list`", "Returns the `list` representation of this Key.", " Note that this method assumes the key is immutable.\n<END>", "<BEGIN>\n## `instance`", "Returns an instance Key, by appending a name to the namespace.\n<END>", "<BEGIN>\n## `parent`", "Returns the parent Key (all namespaces exc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _link_for_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _link_for_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Returns the linked key if `value` is a link, or None.
"Returns the linked key if `value` is a link, or None."
180
false
datastore/datastore
_link_for_value
25,665
LDU_FT/PyMySQL/PyMySQL/read_length_encoded_integer
LDU_FT
[ "<BEGIN>\n## `close`", "Closing a cursor just exhausts all remaining data.\n<END>", "<BEGIN>\n## `mogrify`", "Returns the exact string that is sent to the database by calling the\n execute() method.", " This method follows the extension to the DB API 2.0 followed by Psycopg.\n<END>", "<BEGIN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_length_encoded_integer API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_length_encoded_integer API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Read a 'Length Coded Binary' number from the data buffer. Length coded numbers can be anywhere from 1 to 9 bytes depending on the value of the first byte.
"Read a 'Length Coded Binary' number from the data buffer.\n\n Length coded numbers can be anywhere from 1 to 9 bytes depending\n on the value of the first byte."
88
false
PyMySQL/PyMySQL
read_length_encoded_integer
25,666
LDU_FT/stefanfoulis/django-sendsms/_send
LDU_FT
[ "<BEGIN>\n## `_send`", "Private method for send one message.", " :param SmsMessage message: SmsMessage class instance.\n :returns: True if message is sended else False\n :rtype: bool\n<END>", "<BEGIN>\n## `send_messages`", "Sends one or more SmsMessage objects and returns the number of ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _send API. 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 _send API. 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...
Private method for send one message. :param SmsMessage message: SmsMessage class instance. :returns: True if message is sended else False :rtype: bool
"Private method for send one message.\n\n :param SmsMessage message: SmsMessage class instance.\n :returns: True if message is sended else False\n :rtype: bool"
43
false
stefanfoulis/django-sendsms
_send
25,667
LDU_FT/helium/helium-python/where
LDU_FT
[ "<BEGIN>\n## `error_for`", "Return the appropriate initialized exception class for a response.\n<END>", "<BEGIN>\n## `device_configuration`", "Get a specific device configuration.", " A device can have at most one loaded and one pending device\n configuration. This returns that device_configur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the where API. 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 where API. 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...
Get filtered resources of the given resource class. This should be called on sub-classes only. The include argument allows relationship fetches to be optimized by including the target resources in the request of the containing resource. For example:: .. code-block:: python ...
"Get filtered resources of the given resource class.\n\n This should be called on sub-classes only.\n\n The include argument allows relationship fetches to be\n optimized by including the target resources in the request of\n the containing resource. For example::\n\n .. code-block:: p...
223
false
helium/helium-python
where
25,668
LDU_FT/mohamedattahri/PyXMLi/__set_amount
LDU_FT
[ "<BEGIN>\n## `c14n`", "Applies c14n to the xml input\n @param xml: str\n @return: str\n<END>", "<BEGIN>\n## `sign`", "Return xmldsig XML string from xml_string of XML.\n @param xml: str of bytestring xml to sign\n @param private: publicKey Private key\n @param public: publicKey Public key\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __set_amount API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __set_amount API. 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...
Sets the amount of the payment operation. @param value:float
"Sets the amount of the payment operation.\n @param value:float"
102
false
mohamedattahri/PyXMLi
__set_amount
25,669
LDU_FT/log2timeline/dfwinreg/data
LDU_FT
[ "<BEGIN>\n## `_CheckKeyPath`", "Checks the key path find specification.", " Args:\n registry_key (WinRegistryKey): Windows Registry key.\n search_depth (int): number of key path segments to compare.", " Returns:\n bool: True if the Windows Registry key matches the find specification,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
bytes: value data as a byte string. Raises: WinRegistryValueError: if the value data cannot be read.
"bytes: value data as a byte string.\n\n Raises:\n WinRegistryValueError: if the value data cannot be read."
199
false
log2timeline/dfwinreg
data
25,670
LDU_FT/markchil/gptools/sample_u
LDU_FT
[ "<BEGIN>\n## `matern_function`", "r\"\"\"Matern covariance function of arbitrary dimension, for use with :py:class:`ArbitraryKernel`.", " The Matern kernel has the following hyperparameters, always referenced in\n the order listed:", " = ===== ====================================\n 0 sigma prefact...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sample_u API. 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 sample_u API. 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...
r"""Extract a sample from random variates uniform on :math:`[0, 1]`. For a univariate distribution, this is simply evaluating the inverse CDF. To facilitate efficient sampling, this function returns a *vector* of PPF values, one value for each variable. Basically, the idea is that, ...
"r\"\"\"Extract a sample from random variates uniform on :math:`[0, 1]`.\n \n For a univariate distribution, this is simply evaluating the inverse\n CDF. To facilitate efficient sampling, this function returns a *vector*\n of PPF values, one value for each variable. Basically, the idea is th...
496
false
markchil/gptools
sample_u
25,671
LDU_FT/idmillington/layout/parse_dimensions
LDU_FT
[ "<BEGIN>\n## `_do_layout`", "Lays the text out into separate lines and calculates their\n total height.\n<END>", "<BEGIN>\n## `_calculate_ms_from_base`", "Calculates the rotated minimum size from the given base minimum\n size.\n<END>", "<BEGIN>\n## `render`", "Draws the signature mark.", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_dimensions API. 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_dimensions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Parses a set of dimensions into tuple of values representing the sizes in points. The dimensions that this method supports are exactly as for parse_dimension. It supports multiple dimensions, separated by whitespace, comma, semicolon, hyphen, or the letter x. The units may follow each dimension (in...
"Parses a set of dimensions into tuple of values representing the\n sizes in points.\n\n The dimensions that this method supports are exactly as for\n parse_dimension. It supports multiple dimensions, separated by\n whitespace, comma, semicolon, hyphen, or the letter x. The units\n may follow each dimens...
91
false
idmillington/layout
parse_dimensions
25,672