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/manodeep/Corrfunc/setup_packages
LDU_FT
[ "<BEGIN>\n## `strip_line`", "Removes occurrence of character (sep) from a line of text\n<END>", "<BEGIN>\n## `get_dict_from_buffer`", "Parses a string buffer for key-val pairs for the supplied keys.", " Returns: Python dictionary with all the keys (all keys in buffer\n if None is passed for k...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_packages API. 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 setup_packages API. 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...
Custom setup for Corrfunc package. Optional: Set compiler via 'CC=/path/to/compiler' or 'CC /path/to/compiler' or 'CC = /path/to/compiler' All the CC options are removed from sys.argv after being parsed.
"Custom setup for Corrfunc package.\n\n Optional: Set compiler via 'CC=/path/to/compiler' or\n 'CC /path/to/compiler' or 'CC = /path/to/compiler'\n All the CC options are removed from sys.argv after\n being parsed."
21
false
manodeep/Corrfunc
setup_packages
28,273
LDU_FT/ThreatConnect-Inc/tcex/tag
LDU_FT
[ "<BEGIN>\n## `_print_results`", "Print the download results.", " Args:\n file (str): The filename.\n status (str): The file download status.\n<END>", "<BEGIN>\n## `_confirm_overwrite`", "Confirm overwrite of template files.", " Make sure the user would like to continue ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tag API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tag API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Return instance of Tag. Args: name (str): The value for this tag. formatter (method, optional): A method that take a tag value and returns a formatted tag. Returns: obj: An instance of Tag.
"Return instance of Tag.\n\n Args:\n name (str): The value for this tag.\n formatter (method, optional): A method that take a tag value and returns a\n formatted tag.\n\n Returns:\n obj: An instance of Tag."
1,591
true
ThreatConnect-Inc/tcex
tag
28,274
LDU_FT/kyuupichan/aiorpcX/auto_detect_at_address
LDU_FT
[ "<BEGIN>\n## `timeout_after`", "Execute the specified coroutine and return its result. However,\n issue a cancellation request to the calling task after seconds\n have elapsed. When this happens, a TaskTimeout exception is\n raised. If coro is None, the result of this function serves\n as an asynchr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auto_detect_at_address 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 auto_detect_at_address API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Try to detect a SOCKS proxy at address using the authentication method (or None). SOCKS5, SOCKS4a and SOCKS are tried in order. If a SOCKS proxy is detected a SOCKSProxy object is returned. Returning a SOCKSProxy does not mean it is functioning - for example, it may have no network con...
"Try to detect a SOCKS proxy at address using the authentication method (or None).\n SOCKS5, SOCKS4a and SOCKS are tried in order. If a SOCKS proxy is detected a\n SOCKSProxy object is returned.\n\n Returning a SOCKSProxy does not mean it is functioning - for example, it may have\n no netwo...
118
false
kyuupichan/aiorpcX
auto_detect_at_address
28,275
LDU_FT/facebookresearch/fastText/get_labels
LDU_FT
[ "<BEGIN>\n## `cpp_flag`", "Return the -std=c++[0x/11/14] compiler flag.\n The c++14 is preferred over c++0x/11 (when it is available).\n<END>", "<BEGIN>\n## `find_nearest_neighbor`", "query is a 1d numpy array corresponding to the vector to which you want to\n find the closest vector\n vectors is a 2...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_labels API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_labels API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Get the entire list of labels of the dictionary optionally including the frequency of the individual labels. Unsupervised models use words as labels, which is why get_labels will call and return get_words for this type of model.
"Get the entire list of labels of the dictionary optionally\n including the frequency of the individual labels. Unsupervised\n models use words as labels, which is why get_labels\n will call and return get_words for this type of\n model."
32
false
facebookresearch/fastText
get_labels
28,276
LDU_FT/crypto101/arthur/notifySolved
LDU_FT
[ "<BEGIN>\n## `_unhandledInput`", "Handles input events that weren't handled anywhere else.\n<END>", "<BEGIN>\n## `_runPopUp`", "Displays the pop-up on the workbench and gets a completion\n notification deferred. When that fires, undisplay the pop-up and\n return the result of the notification deferred v...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notifySolved API. 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 notifySolved API. 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...
Notifies the user that a particular exercise has been solved.
"Notifies the user that a particular exercise has been solved."
40
false
crypto101/arthur
notifySolved
28,277
LDU_FT/Robpol86/colorclass/index
LDU_FT
[ "<BEGIN>\n## `readme`", "Try to read README.rst or return empty string if failed.", " :return: File contents.\n :rtype: str\n<END>", "<BEGIN>\n## `apply_text`", "Call `func` on text portions of incoming color string.", " :param iter incoming: Incoming string/ColorStr/string-like object to iterate...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the index API. 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 index API. 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...
Like S.find() but raise ValueError when the substring is not found. :param str sub: Substring to search. :param int start: Beginning position. :param int end: Stop comparison at this position.
"Like S.find() but raise ValueError when the substring is not found.\n\n :param str sub: Substring to search.\n :param int start: Beginning position.\n :param int end: Stop comparison at this position."
191
false
Robpol86/colorclass
index
28,278
LDU_FT/ryanmcgrath/twython/upload_video
LDU_FT
[ "<BEGIN>\n## `update_status_with_media`", "Updates the authenticating user's current status and attaches media\n for upload. In other words, it creates a Tweet with a picture attached.", " Docs:\n https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-updat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload_video API. 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 upload_video API. 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...
Uploads video file to Twitter servers in chunks. The file will be available to be attached to a status for 60 minutes. To attach to a update, pass a list of returned media ids to the :meth:`update_status` method using the ``media_ids`` param. Upload happens in 3 stages: - INIT call with...
"Uploads video file to Twitter servers in chunks. The file will be available to be attached\n to a status for 60 minutes. To attach to a update, pass a list of returned media ids\n to the :meth:`update_status` method using the ``media_ids`` param.\n\n Upload happens in 3 stages:\n - INIT cal...
80
false
ryanmcgrath/twython
upload_video
28,279
LDU_FT/taddeus/wspy/unpack_close
LDU_FT
[ "<BEGIN>\n## `conflicts`", "Check if the extension conflicts with an already accepted extension.\n This may be the case when the two extensions use the same reserved\n bits, or have the same name (when the same extension is negotiated\n multiple times with different parameters).\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unpack_close API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unpack_close API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Unpack a close message into a status code and a reason. If no payload is given, the code is None and the reason is an empty string.
"Unpack a close message into a status code and a reason. If no payload\n is given, the code is None and the reason is an empty string."
72
false
taddeus/wspy
unpack_close
28,280
LDU_FT/mushkevych/scheduler/_do_stem_grouping
LDU_FT
[ "<BEGIN>\n## `_process_state_embryo`", "method that takes care of processing job records in STATE_EMBRYO state\n<END>", "<BEGIN>\n## `_process_state_in_progress`", "method that takes care of processing job records in STATE_IN_PROGRESS state\n<END>", "<BEGIN>\n## `__process_non_finalizable_job`", "method h...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _do_stem_grouping API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _do_stem_grouping API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
method performs *timeperiod's stem grouping*. :param timeperiod: timeperiod to augment :param stem: inclusive lower boundary for the timeperiod's corresponding token. For instance: - for 2015010520 and QUALIFIER_MONTHLY, stem would be 01 - for 2015010520 and QUALIFIER_DAI...
"method performs *timeperiod's stem grouping*.\n :param timeperiod: timeperiod to augment\n :param stem: inclusive lower boundary for the timeperiod's corresponding token. For instance:\n - for 2015010520 and QUALIFIER_MONTHLY, stem would be 01\n - for 2015010520 and QUALIFIE...
335
false
mushkevych/scheduler
_do_stem_grouping
28,281
LDU_FT/invoice-x/invoice2data/prepare_input
LDU_FT
[ "<BEGIN>\n## `to_text`", "Wraps Tesseract 4 OCR with custom language model.", " Parameters\n ----------\n path : str\n path of electronic invoice in JPG or PNG format", " Returns\n -------\n extracted_str : str\n returns extracted text from image in JPG or PNG format\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare_input API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare_input API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Input raw string and do transformations, as set in template file.
"Input raw string and do transformations, as set in template file."
69
false
invoice-x/invoice2data
prepare_input
28,282
LDU_FT/gccxml/pygccxml/remove_cv
LDU_FT
[ "<BEGIN>\n## `is_str`", "Python 2 and 3 compatible string checker.", " Args:\n string (str | basestring): the string to check", " Returns:\n bool: True or False\n<END>", "<BEGIN>\n## `find_xml_generator`", "Try to find a c++ parser (xml generator)", " Args:\n name (str): na...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_cv API. 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 remove_cv API. 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...
removes const and volatile from the type definition
"removes const and volatile from the type definition"
481
false
gccxml/pygccxml
remove_cv
28,283
LDU_FT/chukysoria/pyspotify-connect/make_enum
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 make_enum API. 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 make_enum API. 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...
Class decorator for automatically adding enum values. The values are read directly from the :attr:`spotify.lib` CFFI wrapper around libspotify. All values starting with ``lib_prefix`` are added. The ``lib_prefix`` is stripped from the name. Optionally, ``enum_prefix`` can be specified to add a prefix t...
"Class decorator for automatically adding enum values.\n\n The values are read directly from the :attr:`spotify.lib` CFFI wrapper\n around libspotify. All values starting with ``lib_prefix`` are added. The\n ``lib_prefix`` is stripped from the name. Optionally, ``enum_prefix`` can\n be specified to add a pr...
65
false
chukysoria/pyspotify-connect
make_enum
28,284
LDU_FT/pletzer/pnumpy/gdaArray
LDU_FT
[ "<BEGIN>\n## `getStringPartition`", "Get the string representation of the current partition\n @return string like \":-1,0:2\"\n<END>", "<BEGIN>\n## `getPrimeFactors`", "Get all the prime factor of given integer\n @param n integer\n @return list [1, ..., n]\n<END>", "<BEGIN>\n## `getNeighborProc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gdaArray API. 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 gdaArray API. 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...
ghosted distributed array constructor @param arry numpy-like array @param numGhosts the number of ghosts (>= 0)
"ghosted distributed array constructor\n @param arry numpy-like array\n @param numGhosts the number of ghosts (>= 0)"
54
false
pletzer/pnumpy
gdaArray
28,285
LDU_FT/ebroecker/canmatrix/copy_ecu
LDU_FT
[ "<BEGIN>\n## `unpack_bitstring`", "returns a value calculated from bits\n :param length: length of signal in bits\n :param is_float: value is float\n :param bits: value as bits (array/iterable)\n :param is_signed: value is signed\n :return:\n<END>", "<BEGIN>\n## `pack_bitstring`", "returns a va...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_ecu API. 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 copy_ecu API. 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...
Copy ECU(s) identified by Name or as Object from source CAN matrix to target CAN matrix. This function additionally copy all relevant Defines. :param ecu_or_glob: Ecu instance or glob pattern for Ecu name :param source_db: Source CAN matrix :param target_db: Destination CAN matrix
"Copy ECU(s) identified by Name or as Object from source CAN matrix to target CAN matrix.\n This function additionally copy all relevant Defines.\n\n :param ecu_or_glob: Ecu instance or glob pattern for Ecu name\n :param source_db: Source CAN matrix\n :param target_db: Destination CAN matrix"
51
false
ebroecker/canmatrix
copy_ecu
28,286
LDU_FT/smira/txZMQ/messageReceived
LDU_FT
[ "<BEGIN>\n## `shutdown`", "Shutdown factory.", " This is shutting down all created connections\n and terminating ZeroMQ context. Also cleans up\n Twisted reactor.\n<END>", "<BEGIN>\n## `publish`", "Publish `message` with specified `tag`.", " :param message: message data\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the messageReceived API. 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 messageReceived API. 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...
Called on incoming message from ZeroMQ. :param message: message data
"Called on incoming message from ZeroMQ.\n\n :param message: message data"
35
false
smira/txZMQ
messageReceived
28,287
LDU_FT/QualiSystems/cloudshell-networking-devices/save
LDU_FT
[ "<BEGIN>\n## `create_networking_resource_from_context`", "Creates an instance of Networking Resource by given context\n :param shell_name: Shell Name\n :type shell_name: str\n :param supported_os: list of supported OS\n :type supported_os: list\n :param context: cloudshell.shell.core.driver_context...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. 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 save API. 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...
Backup 'startup-config' or 'running-config' from device to provided file_system [ftp|tftp] Also possible to backup config to localhost :param folder_path: tftp/ftp server where file be saved :param configuration_type: type of configuration that will be saved (StartUp or Running) :param ...
"Backup 'startup-config' or 'running-config' from device to provided file_system [ftp|tftp]\n Also possible to backup config to localhost\n :param folder_path: tftp/ftp server where file be saved\n :param configuration_type: type of configuration that will be saved (StartUp or Running)\n :p...
87
false
QualiSystems/cloudshell-networking-devices
save
28,288
LDU_FT/Microsoft/malmo/get_commands
LDU_FT
[ "<BEGIN>\n## `angvel`", "Use sigmoid function to choose a delta that will help smoothly steer from current angle to target angle.\n<END>", "<BEGIN>\n## `pointTo`", "Steer towards the target pitch/yaw, return True when within the given tolerance threshold.\n<END>", "<BEGIN>\n## `download`", "Download Malmo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_commands API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_commands API. 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...
Get commands from xml string as a list of (command_type:int, turnbased:boolean, command:string)
"Get commands from xml string as a list of (command_type:int, turnbased:boolean, command:string)"
80
false
Microsoft/malmo
get_commands
28,289
LDU_FT/asyncdef/apyio/StringIO
LDU_FT
[ "<BEGIN>\n## `open`", "r\"\"\"Open file and return a stream. Raise OSError upon failure.", " file is either a text or byte string giving the name (and the path\n if the file isn't in the current working directory) of the file to\n be opened or an integer file descriptor of the file to be\n wrapped....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the StringIO API. 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 StringIO API. 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...
StringIO constructor shim for the async wrapper.
"StringIO constructor shim for the async wrapper."
33
false
asyncdef/apyio
StringIO
28,290
LDU_FT/user-cont/colin/json
LDU_FT
[ "<BEGIN>\n## `run`", "Runs the sanity checks for the target.", " :param timeout: timeout per-check (in seconds)\n :param skips: name of checks to skip\n :param target: str (image name, ostree or dockertar)\n or ImageTarget\n or path/file-like object for dockerfile\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the json API. 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 json API. 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...
Get json representation of the check :return: dict (str -> obj)
"Get json representation of the check\n\n :return: dict (str -> obj)"
114
false
user-cont/colin
json
28,291
LDU_FT/NoneGG/aredis/geoadd
LDU_FT
[ "<BEGIN>\n## `merge_result`", "Merge all items in `res` into a list.", " This command is used when sending a command to multiple nodes\n and they result from each node should be merged into a single list.\n<END>", "<BEGIN>\n## `first_key`", "Returns the first result for the given command.", " If ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geoadd API. 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 geoadd API. 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 ...
Add the specified geospatial items to the specified key identified by the ``name`` argument. The Geospatial items are given as ordered members of the ``values`` argument, each item or place is formed by the triad latitude, longitude and name.
"Add the specified geospatial items to the specified key identified\n by the ``name`` argument. The Geospatial items are given as ordered\n members of the ``values`` argument, each item or place is formed by\n the triad latitude, longitude and name."
421
false
NoneGG/aredis
geoadd
28,292
LDU_FT/hodgesds/elasticsearch_tornado/verify_repository
LDU_FT
[ "<BEGIN>\n## `mk_req`", "Helper function to create a tornado HTTPRequest object, kwargs get passed in to\n create the HTTPRequest object. See:\n http://tornado.readthedocs.org/en/latest/httpclient.html#request-objects\n<END>", "<BEGIN>\n## `mk_url`", "Args get parameterized into base url:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_repository API. 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 verify_repository API. 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 a list of nodes where repository was successfully verified or an error message if verification process failed. `<http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-snapshots.html>`_ :arg repository: A repository name :arg master_timeout: Explicit opera...
"Returns a list of nodes where repository was successfully verified or\n an error message if verification process failed.\n `<http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-snapshots.html>`_\n\n :arg repository: A repository name\n :arg master_timeout: Explicit...
31
false
hodgesds/elasticsearch_tornado
verify_repository
28,293
LDU_FT/StackStorm/pybind/_set_drop_monitor
LDU_FT
[ "<BEGIN>\n## `_set_virtual_mac`", "Setter method for virtual_mac, mapped from YANG variable /rbridge_id/interface/ve/ipv6/vrrpv3e/virtual_mac (container)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_virtual_mac is considered as a private\n method. Backends looking ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_drop_monitor API. 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_drop_monitor API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Setter method for drop_monitor, mapped from YANG variable /interface/ethernet/qos/drop_monitor (container) If this variable is read-only (config: false) in the source YANG file, then _set_drop_monitor is considered as a private method. Backends looking to populate this variable should do so via calling ...
"Setter method for drop_monitor, mapped from YANG variable /interface/ethernet/qos/drop_monitor (container)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_drop_monitor is considered as a private\n method. Backends looking to populate this variable should\n do so via cal...
3,057
true
StackStorm/pybind
_set_drop_monitor
28,294
LDU_FT/grantmcconnaughey/Lintly/build_pr_review_line_comment
LDU_FT
[ "<BEGIN>\n## `changed_lines`", "A list of dicts in the format:\n {\n 'file_name': str,\n 'content': str,\n 'line_number': int,\n 'position': int\n }\n<END>", "<BEGIN>\n## `build_pr_comment`", "Creates a Markdown representation o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_pr_review_line_comment 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 build_pr_review_line_comment API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Creates a Markdown representation of the comment to be posted to a pull request. :return: The comment
"Creates a Markdown representation of the comment to be posted to a pull request.\n :return: The comment"
24
false
grantmcconnaughey/Lintly
build_pr_review_line_comment
28,295
LDU_FT/ksbg/sparklanes/set_sc
LDU_FT
[ "<BEGIN>\n## `build_lane_from_yaml`", "Builds a `sparklanes.Lane` object from a YAML definition file.", " Parameters\n ----------\n path: str\n Path to the YAML definition file", " Returns\n -------\n Lane\n Lane, built according to definition in YAML file\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_sc API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_sc API. 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 ...
Creates and initializes a new `SparkContext` (the old one will be stopped). Argument signature is copied from `pyspark.SparkContext <https://spark.apache.org/docs/latest/api/python/pyspark.html#pyspark.SparkContext>`_.
"Creates and initializes a new `SparkContext` (the old one will be stopped).\n Argument signature is copied from `pyspark.SparkContext\n <https://spark.apache.org/docs/latest/api/python/pyspark.html#pyspark.SparkContext>`_."
62
false
ksbg/sparklanes
set_sc
28,296
LDU_FT/nint8835/jigsaw/reload_manifest
LDU_FT
[ "<BEGIN>\n## `load_manifests`", "Loads all plugin manifests on the plugin path\n<END>", "<BEGIN>\n## `load_manifest`", "Loads a plugin manifest from a given path", " :param path: The folder to load the plugin manifest from\n<END>", "<BEGIN>\n## `load_plugin`", "Loads a plugin from the given manif...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reload_manifest API. 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 reload_manifest API. 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...
Reloads a manifest from the disk :param manifest: The manifest to reload
"Reloads a manifest from the disk\n :param manifest: The manifest to reload"
25
false
nint8835/jigsaw
reload_manifest
28,297
LDU_FT/SeleniumHQ/selenium/key_down
LDU_FT
[ "<BEGIN>\n## `_make_w3c_caps`", "Makes a W3C alwaysMatch capabilities object.", " Filters out capability names that are not in the W3C spec. Spec-compliant\n drivers will reject requests containing unknown capability names.", " Moves the Firefox profile, if present, from the old location to the new F...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the key_down API. 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 key_down API. 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...
Sends a key press only, without releasing it. Should only be used with modifier keys (Control, Alt and Shift). :Args: - value: The modifier key to send. Values are defined in `Keys` class. - element: The element to send keys. If None, sends a key to current focused eleme...
"Sends a key press only, without releasing it.\n Should only be used with modifier keys (Control, Alt and Shift).\n\n :Args:\n - value: The modifier key to send. Values are defined in `Keys` class.\n - element: The element to send keys.\n If None, sends a key to current focuse...
547
false
SeleniumHQ/selenium
key_down
28,298
LDU_FT/sprymix/metamagic.json/dumps
LDU_FT
[ "<BEGIN>\n## `loadb`", "Deserialize ``b`` (instance of ``bytes``) to a Python object.\n<END>", "<BEGIN>\n## `_encode_str`", "Return an ASCII-only JSON representation of a Python string\n<END>", "<BEGIN>\n## `_encode_numbers`", "Returns a JSON representation of a Python number (int, float or Decimal)\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dumps API. 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 dumps API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Returns a string representing a JSON-encoding of ``obj``. The second optional ``max_nested_level`` argument controls the maximum allowed recursion/nesting level. See class description for details.
"Returns a string representing a JSON-encoding of ``obj``.\n\n The second optional ``max_nested_level`` argument controls the maximum\n allowed recursion/nesting level.\n\n See class description for details."
20
false
sprymix/metamagic.json
dumps
28,299
LDU_FT/daskol/nls/render
LDU_FT
[ "<BEGIN>\n## `model`", "Piority of Arguments: Arguments passed in `kwargs` has the most piority, 'param' key in `kwargs` has less\n piority than `kwargs` and dictionary arguments in `args` have the least piority. Other arguments are ignored.\n Argument List:\n model - set model type, defa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Perform initialization of render, set quality and size video attributes and then call template method that is defined in child class.
"Perform initialization of render, set quality and size video attributes and then call template method that\n is defined in child class."
18
false
daskol/nls
render
28,300
LDU_FT/ofek/depq/popfirst
LDU_FT
[ "<BEGIN>\n## `binary_insert`", "Traditional binary search. Performance: O(n log n)\n<END>", "<BEGIN>\n## `insert`", "Adds item to DEPQ with given priority by performing a binary\n search on the concurrently rotating deque. Amount rotated R of\n DEPQ of length n would be n <= R <= 3n/2. Performan...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the popfirst API. 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 popfirst API. 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...
Removes item with highest priority from DEPQ. Returns tuple(item, priority). Performance: O(1)
"Removes item with highest priority from DEPQ. Returns\n tuple(item, priority). Performance: O(1)"
22
false
ofek/depq
popfirst
28,301
LDU_FT/etalab/cada/pip
LDU_FT
[ "<BEGIN>\n## `pip`", "Parse pip requirement file and transform it to setuptools requirements\n<END>", "<BEGIN>\n## `echo`", "Wraps click.echo, handles formatting and check encoding\n<END>", "<BEGIN>\n## `error`", "Display an error message with optionnal details\n<END>", "<BEGIN>\n## `load`", "Load one...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pip API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pip API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Parse pip requirement file and transform it to setuptools requirements
"Parse pip requirement file and transform it to setuptools requirements"
10
false
etalab/cada
pip
28,302
LDU_FT/aegirhall/console-menu/enter_to_continue
LDU_FT
[ "<BEGIN>\n## `set_border_style`", "Set the border style using the specified MenuBorderStyle instance.\n :param border_style: the instance of MenuBorderStyle to use for border style formatting.\n<END>", "<BEGIN>\n## `set_border_style_type`", "Set the border style using the specified border style type. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enter_to_continue API. 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 enter_to_continue API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Creates a console prompt with the given message, or defaults to 'Press [Enter] to continue' if no message is provided. :param message:
"Creates a console prompt with the given message, or defaults to 'Press [Enter] to continue' if no message\n is provided.\n :param message:"
107
false
aegirhall/console-menu
enter_to_continue
28,303
LDU_FT/gapato/livestreamer-curses/get_finished
LDU_FT
[ "<BEGIN>\n## `get_finished`", "Clean up terminated processes and returns the list of their ids\n<END>", "<BEGIN>\n## `getheightwidth`", "getwidth() -> (int, int)", " Return the height and width of the console in characters\n https://groups.google.com/forum/#!msg/comp.lang.python/CpUszNNXUQM/QA...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_finished API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_finished API. 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...
Clean up terminated processes and returns the list of their ids
"Clean up terminated processes and returns the list of their ids"
15
false
gapato/livestreamer-curses
get_finished
28,304
LDU_FT/KnowledgeLinks/rdfframework/get_es_action_item
LDU_FT
[ "<BEGIN>\n## `get_obj_frm_str`", "Returns a python object from a python object string", " args:\n obj_str: python object path expamle\n \"rdfframework.connections.ConnManager[{param1}]\"", " kwargs:\n * kwargs used to format the 'obj_str'\n<END>", "<BEGIN>\n## `pyfile_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_es_action_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_es_action_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
This method will return an item formated and ready to append to the action list
"This method will return an item formated and ready to append\n to the action list"
627
false
KnowledgeLinks/rdfframework
get_es_action_item
28,305
LDU_FT/inveniosoftware-contrib/invenio-workflows/get_workflow_object_instances
LDU_FT
[ "<BEGIN>\n## `create`", "Create a new Workflow Object with given content.\n<END>", "<BEGIN>\n## `query`", "Wrap sqlalchemy query methods.", " A wrapper for the filter and filter_by functions of sqlalchemy.\n Define a dict with which columns should be filtered by which values.", " .. c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_workflow_object_instances API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_workflow_object_instances API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Analyze data and create corresponding WorkflowObjects. Wrap each item in the given list of data objects into WorkflowObject instances - creating appropriate status of objects in the database and returning a list of these objects. This process is necessary to save an initial status of the data before ...
"Analyze data and create corresponding WorkflowObjects.\n\n Wrap each item in the given list of data objects into WorkflowObject\n instances - creating appropriate status of objects in the database and\n returning a list of these objects.\n\n This process is necessary to save an initial status of the data b...
135
false
inveniosoftware-contrib/invenio-workflows
get_workflow_object_instances
28,306
LDU_FT/hover2pi/svo_filters/plot
LDU_FT
[ "<BEGIN>\n## `color_gen`", "Color generator for Bokeh plots", " Parameters\n ----------\n colormap: str, sequence\n The name of the color map", " Returns\n -------\n generator\n A generator for the color palette\n<END>", "<BEGIN>\n## `filters`", "Get a list of the available...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Plot the filter Parameters ---------- fig: bokeh.plotting.figure (optional) A figure to plot on draw: bool Draw the figure, else return it Returns ------- bokeh.plotting.figure The filter figure
"Plot the filter\n\n Parameters\n ----------\n fig: bokeh.plotting.figure (optional)\n A figure to plot on\n draw: bool\n Draw the figure, else return it\n\n Returns\n -------\n bokeh.plotting.figure\n The filter figure"
63
false
hover2pi/svo_filters
plot
28,307
LDU_FT/arneb/django-messages/format_quote
LDU_FT
[ "<BEGIN>\n## `save_model`", "Saves the message for the recipient and looks in the form instance\n for other possible recipients. Prevents duplication by excludin the\n original recipient from the list of optional recipients.", " When changing an existing message and choosing optional recipi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_quote API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_quote API. 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...
Wraps text at 55 chars and prepends each line with `> `. Used for quoting messages in replies.
"Wraps text at 55 chars and prepends each\n line with `> `.\n Used for quoting messages in replies."
35
false
arneb/django-messages
format_quote
28,308
LDU_FT/jespino/anillo/url
LDU_FT
[ "<BEGIN>\n## `url`", "Simple helper for build a url, and return anillo\n url spec hash map (dictionary)", " It can be used in this way:", " urls = [\n url(\"/<int:year>\", index, methods=[\"get\", \"post\"]),\n url(\"/<int:year>\", index, methods=[\"get\", \"post\"])\n ]", " Thi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Simple helper for build a url, and return anillo url spec hash map (dictionary) It can be used in this way: urls = [ url("/<int:year>", index, methods=["get", "post"]), url("/<int:year>", index, methods=["get", "post"]) ] This is a prefered way to define one url. :return: The...
"Simple helper for build a url, and return anillo\n url spec hash map (dictionary)\n\n It can be used in this way:\n\n urls = [\n url(\"/<int:year>\", index, methods=[\"get\", \"post\"]),\n url(\"/<int:year>\", index, methods=[\"get\", \"post\"])\n ]\n\n This is a prefered way to define one...
54
false
jespino/anillo
url
28,309
LDU_FT/burnash/gspread/wid_to_gid
LDU_FT
[ "<BEGIN>\n## `authorize`", "Login to Google API using OAuth2 credentials.\n This is a shortcut function which\n instantiates :class:`gspread.client.Client`\n and performs login right away.", " :returns: :class:`gspread.Client` instance.\n<END>", "<BEGIN>\n## `batch_update`", "Lower-level method ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wid_to_gid API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wid_to_gid API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Calculate gid of a worksheet from its wid.
"Calculate gid of a worksheet from its wid."
226
false
burnash/gspread
wid_to_gid
28,310
LDU_FT/pletzer/pnumpy/apply
LDU_FT
[ "<BEGIN>\n## `getStringPartition`", "Get the string representation of the current partition\n @return string like \":-1,0:2\"\n<END>", "<BEGIN>\n## `getPrimeFactors`", "Get all the prime factor of given integer\n @param n integer\n @return list [1, ..., n]\n<END>", "<BEGIN>\n## `getNeighborProc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply API. 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 apply API. 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...
Apply stencil to data @param localArray local array @return new array on local proc
"Apply stencil to data\n @param localArray local array\n @return new array on local proc"
54
false
pletzer/pnumpy
apply
28,311
LDU_FT/gtalarico/airtable-python-wrapper/update
LDU_FT
[ "<BEGIN>\n## `to_param_dict`", "Sorts to ensure Order is consistent for Testing\n<END>", "<BEGIN>\n## `_discover_params`", "Returns a dict where filter keyword is key, and class is value.\r\n To handle param alias (maxRecords or max_records), both versions are\r\n added.\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Updates a record by its record id. Only Fields passed are updated, the rest are left as is. >>> record = airtable.match('Employee Id', 'DD13332454') >>> fields = {'Status': 'Fired'} >>> airtable.update(record['id'], fields) Args: record_id(``str``): Id of Re...
"Updates a record by its record id.\r\n Only Fields passed are updated, the rest are left as is.\r\n\r\n >>> record = airtable.match('Employee Id', 'DD13332454')\r\n >>> fields = {'Status': 'Fired'}\r\n >>> airtable.update(record['id'], fields)\r\n\r\n Args:\r\n record_id(`...
90
false
gtalarico/airtable-python-wrapper
update
28,312
LDU_FT/marshmallow-code/webargs/handle_error
LDU_FT
[ "<BEGIN>\n## `dict2schema`", "Generate a `marshmallow.Schema` class given a dictionary of\n `Fields <marshmallow.fields.Field>`.\n<END>", "<BEGIN>\n## `is_json`", "Indicates if this mimetype is JSON or not. By default a request\n is considered to include JSON data if the mimetype is\n ``application/...
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 ValidationErrors and return a JSON response of error messages to the client.
"Handle ValidationErrors and return a JSON response of error messages\n to the client."
108
false
marshmallow-code/webargs
handle_error
28,313
LDU_FT/mobolic/facebook-sdk/get_current_user
LDU_FT
[ "<BEGIN>\n## `get_user_from_cookie`", "Parses the cookie set by the official Facebook JavaScript SDK.", " cookies should be a dictionary-like object mapping cookie names to\n cookie values.", " If the user is logged in via Facebook, we return a dictionary with\n the keys \"uid\" and \"access_token...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_current_user API. 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_current_user API. 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 g.user to the currently logged in user. Called before each request, get_current_user sets the global g.user variable to the currently logged in user. A currently logged in user is determined by seeing if it exists in Flask's session dictionary. If it is the first time the user is logging into thi...
"Set g.user to the currently logged in user.\n\n Called before each request, get_current_user sets the global g.user\n variable to the currently logged in user. A currently logged in user is\n determined by seeing if it exists in Flask's session dictionary.\n\n If it is the first time the user is logging i...
56
false
mobolic/facebook-sdk
get_current_user
28,314
LDU_FT/Projectplace/basepage/shift_click
LDU_FT
[ "<BEGIN>\n## `click`", "Click web element.", " :param locator: locator tuple or WebElement instance\n :param params: (optional) locator parameters\n :param timeout: (optional) time to wait for element\n :return: None\n<END>", "<BEGIN>\n## `alt_click`", "Alt-click web element.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shift_click API. 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 shift_click API. 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...
Shift-click web element. :param locator: locator tuple or WebElement instance :param params: (optional) locator parameters :param timeout: (optional) time to wait for element :return: None
"Shift-click web element.\n\n :param locator: locator tuple or WebElement instance\n :param params: (optional) locator parameters\n :param timeout: (optional) time to wait for element\n :return: None"
138
false
Projectplace/basepage
shift_click
28,315
LDU_FT/openthread/openthread/getCommissioningLogs
LDU_FT
[ "<BEGIN>\n## `wait_until`", "Wait until `what` return True", " Args:\n what (Callable[bool]): Call `wait()` again and again until it returns True\n times (int): Maximum times of trials before giving up", " Returns:\n True if success, False if times threshold reached\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getCommissioningLogs 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 getCommissioningLogs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
get Commissioning logs Returns: Commissioning logs
"get Commissioning logs\n\n Returns:\n Commissioning logs"
403
false
openthread/openthread
getCommissioningLogs
28,316
LDU_FT/graphql-python/graphql-core-next/execute_fields
LDU_FT
[ "<BEGIN>\n## `uni_char_code`", "Convert unicode characters to integers.", " Converts four hexadecimal chars to the integer that the string represents.\n For example, uni_char_code('0','0','0','f') will return 15,\n and uni_char_code('0','0','f','f') returns 255.", " Returns a negative number on er...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute_fields API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute_fields API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Execute the given fields concurrently. Implements the "Evaluating selection sets" section of the spec for "read" mode.
"Execute the given fields concurrently.\n\n Implements the \"Evaluating selection sets\" section of the spec for \"read\" mode."
470
false
graphql-python/graphql-core-next
execute_fields
28,317
LDU_FT/Projectplace/basepage/get_visible_children
LDU_FT
[ "<BEGIN>\n## `click`", "Click web element.", " :param locator: locator tuple or WebElement instance\n :param params: (optional) locator parameters\n :param timeout: (optional) time to wait for element\n :return: None\n<END>", "<BEGIN>\n## `alt_click`", "Alt-click web element.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_visible_children 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_visible_children API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Get child-elements both present AND visible in the DOM. If timeout is 0 (zero) return WebElement instance or None, else we wait and retry for timeout and raise TimeoutException should the element not be found. :param parent: parent-element :param locator: locator tuple :param p...
"Get child-elements both present AND visible in the DOM.\n\n If timeout is 0 (zero) return WebElement instance or None, else we wait and retry for timeout and raise\n TimeoutException should the element not be found.\n\n :param parent: parent-element\n :param locator: locator tuple\n ...
138
false
Projectplace/basepage
get_visible_children
28,318
LDU_FT/Ouranosinc/xclim/rain_on_frozen_ground_days
LDU_FT
[ "<BEGIN>\n## `build_module`", "Create a module from imported objects.", " Parameters\n ----------\n name : str\n New module name.\n objs : dict\n Dictionary of the objects (or their name) to import into the module,\n keyed by the name they will take in the created module.\n doc : s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rain_on_frozen_ground_days 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 rain_on_frozen_ground_days API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Number of rain on frozen ground events Number of days with rain above a threshold after a series of seven days below freezing temperature. Precipitation is assumed to be rain when the temperature is above 0℃. Parameters ---------- pr : xarray.DataArray Mean daily precipitation flux [Kg m-2 s...
"Number of rain on frozen ground events\n\n Number of days with rain above a threshold after a series of seven days below freezing temperature.\n Precipitation is assumed to be rain when the temperature is above 0℃.\n\n Parameters\n ----------\n pr : xarray.DataArray\n Mean daily precipitation flux ...
578
false
Ouranosinc/xclim
rain_on_frozen_ground_days
28,319
LDU_FT/mozilla/build-mar/get_publickey
LDU_FT
[ "<BEGIN>\n## `add_signature_block`", "Add a signature block to marfile, a MarReader object.", " Productversion and channel are preserved, but any existing signatures are overwritten.", " Args:\n src_fileobj (file object): The input MAR file to add a signature to\n dest_fileobj (file object...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_publickey API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_publickey API. 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 the public key from a PEM encoded string.
"Load the public key from a PEM encoded string."
146
false
mozilla/build-mar
get_publickey
28,320
LDU_FT/CityOfZion/neo-python-core/VerifySignature
LDU_FT
[ "<BEGIN>\n## `PrivateKeyFromWIF`", "Get the private key from a WIF key", " Args:\n wif (str): The wif key", " Returns:\n bytes: The private key\n<END>", "<BEGIN>\n## `PrivateKeyFromNEP2`", "Gets the private key from a NEP-2 encrypted private key", " Args:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the VerifySignature API. 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 VerifySignature API. 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...
Verify the integrity of the message. Args: message (str): the message to verify. signature (bytearray): the signature belonging to the message. public_key (ECPoint|bytes): the public key to use for verifying the signature. If `public_key` is of type bytes then it should be r...
"Verify the integrity of the message.\n\n Args:\n message (str): the message to verify.\n signature (bytearray): the signature belonging to the message.\n public_key (ECPoint|bytes): the public key to use for verifying the signature. If `public_key` is of type bytes then it shoul...
175
false
CityOfZion/neo-python-core
VerifySignature
28,321
LDU_FT/richardkiss/pycoin/compile
LDU_FT
[ "<BEGIN>\n## `parse_as_header`", "Parse the Block header from the file-like object\n<END>", "<BEGIN>\n## `stream_header_legacy`", "Stream the block header in the standard way to the file-like object f.\n<END>", "<BEGIN>\n## `stream_header`", "Stream the block header in the standard way to the file-like ob...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile API. 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 compile API. 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...
Compile the given script. Returns a bytes object with the compiled script.
"Compile the given script. Returns a bytes object with the compiled script."
336
false
richardkiss/pycoin
compile
28,322
LDU_FT/quaddra/provision/reconfig
LDU_FT
[ "<BEGIN>\n## `NodeDriver_wait_until_running`", "Block until node is fully booted and has an IP address assigned.", " @keyword node: Node instance.\n @type node: C{Node}", " @keyword wait_period: How many seconds to between each loop\n iteration (default is 3)\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reconfig API. 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 reconfig API. 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...
Parse any config paths and reconfigure defaults with them http://docs.python.org/library/argparse.html#partial-parsing Return parsed remaining arguments
"Parse any config paths and reconfigure defaults with them\n http://docs.python.org/library/argparse.html#partial-parsing\n Return parsed remaining arguments"
59
false
quaddra/provision
reconfig
28,323
LDU_FT/viniciuschiele/flask-apscheduler/get_authorization_header
LDU_FT
[ "<BEGIN>\n## `pop_trigger`", "Pops trigger and trigger args from a given dict.\n<END>", "<BEGIN>\n## `fix_job_def`", "Replaces the datetime in string by datetime object.\n<END>", "<BEGIN>\n## `init_app`", "Initialize the APScheduler with a Flask application instance.\n<END>", "<BEGIN>\n## `start`", "S...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_authorization_header 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_authorization_header API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Return request's 'Authorization:' header as a two-tuple of (type, info).
"Return request's 'Authorization:' header as\n a two-tuple of (type, info)."
37
false
viniciuschiele/flask-apscheduler
get_authorization_header
28,324
LDU_FT/vaab/colour/_hue2rgb
LDU_FT
[ "<BEGIN>\n## `hsl2rgb`", "Convert HSL representation towards RGB", " :param h: Hue, position around the chromatic circle (h=1 equiv h=0)\n :param s: Saturation, color saturation (0=full gray, 1=full color)\n :param l: Ligthness, Overhaul lightness (0=full black, 1=full white)\n :rtype: 3-uple for RG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _hue2rgb API. 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 _hue2rgb API. 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...
Private helper function (Do not call directly) :param vH: rotation around the chromatic circle (between 0..1)
"Private helper function (Do not call directly)\n\n :param vH: rotation around the chromatic circle (between 0..1)"
99
false
vaab/colour
_hue2rgb
28,325
LDU_FT/sepandhaghighi/pycm/IBA_calc
LDU_FT
[ "<BEGIN>\n## `print_report`", "Print Compare report.", " :return: None\n<END>", "<BEGIN>\n## `save_report`", "Save Compare report in .comp (flat file format).", " :param name: filename\n :type name : str\n :param address: flag for address return\n :type address : bool\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the IBA_calc API. 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 IBA_calc API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Calculate IBA (Index of balanced accuracy). :param TNR: specificity or true negative rate :type TNR : float :param TPR: sensitivity, recall, hit rate, or true positive rate :type TPR : float :param alpha : alpha coefficient :type alpha : float :return: IBA as float
"Calculate IBA (Index of balanced accuracy).\n\n :param TNR: specificity or true negative rate\n :type TNR : float\n :param TPR: sensitivity, recall, hit rate, or true positive rate\n :type TPR : float\n :param alpha : alpha coefficient\n :type alpha : float\n :return: IBA as float"
259
false
sepandhaghighi/pycm
IBA_calc
28,326
LDU_FT/azavea/python-sld/normalize
LDU_FT
[ "<BEGIN>\n## `makeproperty`", "Make a property on an instance of an SLDNode. If cls is omitted, the\n property is assumed to be a text node, with no corresponding class\n object. If name is omitted, the property is assumed to be a complex\n node, with a corresponding class wrapper.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Normalize this node prior to validation. This is required, as the ogc:Filter node must come before any symbolizer nodes. The SLD is modified in place.
"Normalize this node prior to validation. This is required, as the\n ogc:Filter node must come before any symbolizer nodes. The SLD\n is modified in place."
29
false
azavea/python-sld
normalize
28,327
LDU_FT/jldantas/libmft/_add_data_attribute
LDU_FT
[ "<BEGIN>\n## `apply_fixup_array`", "This function reads the fixup array and apply the correct values\n to the underlying binary stream. This function changes the bin_view\n in memory.", " Args:\n bin_view (memoryview of bytearray) - The binary stream\n fx_offset (int) - Offset to the fixu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_data_attribute API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_data_attribute API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Add a data attribute to the datastream structure. Data attributes require processing before they can be interpreted as datastream. This function grants that it is adding the attribute to the correct datastream or creating a new datastream if necessary.
"Add a data attribute to the datastream structure.\n\n Data attributes require processing before they can be interpreted as\n datastream. This function grants that it is adding the attribute to\n the correct datastream or creating a new datastream if necessary."
107
false
jldantas/libmft
_add_data_attribute
28,328
LDU_FT/KE-works/pykechain/delete_widget
LDU_FT
[ "<BEGIN>\n## `value`", "Value of a reference property.", " You can set the reference with a Part, Part id or None value.\n Ensure that the model of the provided part, matches the configured model", " :return: a :class:`Part` or None\n :raises APIError: When unable to find the assoc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_widget API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_widget API. 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...
Delete widgets by index. The widgets are saved to KE-chain. :param index: The index of the widget to be deleted in the self.widgets :type index: int :raises ValueError: if the customization has no widgets
"Delete widgets by index.\n\n The widgets are saved to KE-chain.\n\n :param index: The index of the widget to be deleted in the self.widgets\n :type index: int\n :raises ValueError: if the customization has no widgets"
751
false
KE-works/pykechain
delete_widget
28,329
LDU_FT/HDI-Project/MLPrimitives/count_above
LDU_FT
[ "<BEGIN>\n## `resample`", "pd.DataFrame.resample adapter.", " Call the `df.resample` method on the given time_index\n and afterwards call the indicated aggregation.", " Optionally group the dataframe by the indicated columns before\n performing the resampling.", " If groupby option is used, t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count_above API. 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 count_above API. 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...
Count number of errors and continuous sequences above epsilon. Continuous sequences are counted by shifting and counting the number of positions where there was a change and the original value was true, which means that a sequence started at that position.
"Count number of errors and continuous sequences above epsilon.\n\n Continuous sequences are counted by shifting and counting the number\n of positions where there was a change and the original value was true,\n which means that a sequence started at that position."
96
false
HDI-Project/MLPrimitives
count_above
28,330
LDU_FT/heikomuller/sco-models/from_json
LDU_FT
[ "<BEGIN>\n## `init_registry`", "Initialize a model registry with a list of model definitions in Json\n format.", " Parameters\n ----------\n mongo : scodata.MongoDBFactory\n Connector for MongoDB\n model_defs : list()\n List of model definitions in Json-like format\n clear_collec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Create a model database object from a given Json document. Parameters ---------- document : JSON Json representation of the object Returns ModelHandle
"Create a model database object from a given Json document.\n\n Parameters\n ----------\n document : JSON\n Json representation of the object\n\n Returns\n ModelHandle"
27
false
heikomuller/sco-models
from_json
28,331
LDU_FT/LLNL/certipy/create_ca_bundle_for_names
LDU_FT
[ "<BEGIN>\n## `open_tls_file`", "Context to ensure correct file permissions for certs and directories", " Ensures:\n - A containing directory with appropriate permissions\n - Correct file permissions based on what the file is (0o600 for keys\n and 0o644 for certs)\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_ca_bundle_for_names 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 create_ca_bundle_for_names API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Create a CA bundle to trust only certs defined in names
"Create a CA bundle to trust only certs defined in names"
50
false
LLNL/certipy
create_ca_bundle_for_names
28,332
LDU_FT/JelleAalbers/multihist/get_axis_bin_index
LDU_FT
[ "<BEGIN>\n## `from_histogram`", "Make a Hist1D from a numpy bin_edges + histogram pair\n :param histogram: Initial histogram\n :param bin_edges: Bin edges of histogram. Must be one longer than length of histogram\n :param axis_names: Ignored. Sorry :-)\n :return:\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_axis_bin_index API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_axis_bin_index API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Returns index along axis of bin in histogram which contains value Inclusive on both endpoints
"Returns index along axis of bin in histogram which contains value\n Inclusive on both endpoints"
57
false
JelleAalbers/multihist
get_axis_bin_index
28,333
LDU_FT/fitnr/convertdate/to_datetime
LDU_FT
[ "<BEGIN>\n## `to_jd`", "Return Julian day count of given ISO year, week, and day\n<END>", "<BEGIN>\n## `from_jd`", "Return tuple of ISO (year, week, day) for Julian day\n<END>", "<BEGIN>\n## `legal_date`", "Check if this is a legal date in the Julian calendar\n<END>", "<BEGIN>\n## `from_jd`", "Calcula...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_datetime API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_datetime API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Return a datetime for the input floating point Julian Day Count
"Return a datetime for the input floating point Julian Day Count"
85
false
fitnr/convertdate
to_datetime
28,334
LDU_FT/NetEaseGame/ATX/click_nowait
LDU_FT
[ "<BEGIN>\n## `main`", "Args:\n - forward(int): local forward port\n - host(string): local forward host\n - listen(int): listen port\n<END>", "<BEGIN>\n## `_init_items`", ".---------------.\n | Ctrl | Screen |\n |------| |\n | Code | |\n | | ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the click_nowait API. 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 click_nowait API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Return immediately if no image found Args: - pattern (str or Pattern): filename or an opencv image object. - action (str): click or long_click Returns: Click point or None
"Return immediately if no image found\n\n Args:\n - pattern (str or Pattern): filename or an opencv image object.\n - action (str): click or long_click\n\n Returns:\n Click point or None"
230
false
NetEaseGame/ATX
click_nowait
28,335
LDU_FT/callowayproject/django-categories/get_top_level_categories
LDU_FT
[ "<BEGIN>\n## `_process_registry`", "Given a dictionary, and a registration function, process the registry\n<END>", "<BEGIN>\n## `register_model`", "Process for Django 1.7 +\n app: app name/label\n model_name: name of the model\n field_definitions: a string, tuple or list of field configur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_top_level_categories 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_top_level_categories 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 an alphabetical list of all the categories that have no parents. Syntax:: {% get_top_level_categories [using "app.Model"] as categories %} Returns an list of categories [<category>, <category>, <category, ...]
"Retrieves an alphabetical list of all the categories that have no parents.\n\n Syntax::\n\n {% get_top_level_categories [using \"app.Model\"] as categories %}\n\n Returns an list of categories [<category>, <category>, <category, ...]"
73
false
callowayproject/django-categories
get_top_level_categories
28,336
LDU_FT/crs4/hl7apy/_find_name
LDU_FT
[ "<BEGIN>\n## `check_encoding_chars`", "Validate the given encoding chars", " :type encoding_chars: ``dict``\n :param encoding_chars: the encoding chars (see :func:`hl7apy.set_default_encoding_chars`)\n :raises: :exc:`hl7apy.exceptions.InvalidEncodingChars` if the given encoding chars are not valid\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_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 extrac...
Find the reference of a child having the given name :type name: ``str`` :param name: the child name (e.g. PID) :return: the element structure (see :func:`load_reference <hl7apy.load_reference>`) or ``None`` if the element has not been found
"Find the reference of a child having the given name\n\n :type name: ``str``\n :param name: the child name (e.g. PID)\n\n :return: the element structure (see :func:`load_reference <hl7apy.load_reference>`) or ``None`` if the\n element has not been found"
289
false
crs4/hl7apy
_find_name
28,337
LDU_FT/ebu/PlugIt/setUser
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 setUser API. 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 setUser API. 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...
In standalone mode, change the current user
"In standalone mode, change the current user"
75
false
ebu/PlugIt
setUser
28,338
LDU_FT/LEMS/pylems/build_on_event
LDU_FT
[ "<BEGIN>\n## `toxml`", "Exports this object into a LEMS XML object\n<END>", "<BEGIN>\n## `toxml`", "Exports this object into a LEMS XML object\n<END>", "<BEGIN>\n## `tokenize`", "Tokenizes the string stored in the parser object into a list\n of tokens.\n<END>", "<BEGIN>\n## `parse_token_list_rec`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_on_event API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_on_event API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Build OnEvent event handler code. @param on_event: OnEvent event handler object @type on_event: lems.model.dynamics.OnEvent @return: Generated OnEvent code @rtype: list(string)
"Build OnEvent event handler code.\n\n @param on_event: OnEvent event handler object\n @type on_event: lems.model.dynamics.OnEvent\n\n @return: Generated OnEvent code\n @rtype: list(string)"
441
false
LEMS/pylems
build_on_event
28,339
LDU_FT/Kuniwak/vint/parse_string
LDU_FT
[ "<BEGIN>\n## `normalize_variable_name`", "Returns normalized variable name.\n Normalizing means that variable names get explicit visibility by\n visibility prefix such as: \"g:\", \"s:\", ...", " Returns None if the specified node is unanalyzable.\n A node is unanalyzable if:", " - the node is ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Parse vim script string and return the AST.
"Parse vim script string and return the AST."
37
false
Kuniwak/vint
parse_string
28,340
LDU_FT/CleanCut/green/ddebug
LDU_FT
[ "<BEGIN>\n## `toParallelTargets`", "Produce a list of targets which should be tested in parallel.", " For the most part this will be a list of test modules. The exception is\n when a dotted name representing something more granular than a module\n was input (like an individal test case or test method)...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ddebug API. 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 ddebug API. 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 ...
err can be an instance of sys.exc_info() -- which is the latest traceback info
"err can be an instance of sys.exc_info() -- which is the latest traceback\n info"
33
false
CleanCut/green
ddebug
28,341
LDU_FT/llazzaro/analyzerdam/readBatchTupleQuotes
LDU_FT
[ "<BEGIN>\n## `getAll`", "Get all available quote data for the given ticker symbol.\r\n Returns a dictionary.\n<END>", "<BEGIN>\n## `getQuotes`", "Get historical prices for the given ticker symbol.\r\n Date format is 'YYYY-MM-DD'\r", " Returns a nested list.\n<END>", "<BEGIN>\n## `getW...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the readBatchTupleQuotes 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 readBatchTupleQuotes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
read batch quotes as tuple to save memory
"read batch quotes as tuple to save memory"
22
false
llazzaro/analyzerdam
readBatchTupleQuotes
28,342
LDU_FT/IAMconsortium/pyam/aggregate_region
LDU_FT
[ "<BEGIN>\n## `read_ix`", "Read timeseries data from an ixmp object", " Parameters\n ----------\n ix: ixmp.TimeSeries or ixmp.Scenario\n this option requires the ixmp package as a dependency\n kwargs: arguments passed to ixmp.TimeSeries.timeseries()\n<END>", "<BEGIN>\n## `requires_package`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aggregate_region API. 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 aggregate_region API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Compute the aggregate of timeseries over a number of regions including variable components only defined at the `region` level Parameters ---------- variable: str variable for which the aggregate should be computed region: str, default 'World' dimension ...
"Compute the aggregate of timeseries over a number of regions\n including variable components only defined at the `region` level\n\n Parameters\n ----------\n variable: str\n variable for which the aggregate should be computed\n region: str, default 'World'\n dim...
256
false
IAMconsortium/pyam
aggregate_region
28,343
LDU_FT/kkroening/ffmpeg-python/_watch_progress
LDU_FT
[ "<BEGIN>\n## `get_args`", "Build command-line arguments to be passed to ffmpeg.\n<END>", "<BEGIN>\n## `compile`", "Build command-line for invoking ffmpeg.", " The :meth:`run` function uses this to build the commnad line\n arguments and should work in most cases, but calling this function\n directly...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _watch_progress API. 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 _watch_progress API. 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...
Context manager for creating a unix-domain socket and listen for ffmpeg progress events. The socket filename is yielded from the context manager and the socket is closed when the context manager is exited. Args: handler: a function to be called when progress events are received; re...
"Context manager for creating a unix-domain socket and listen for\n ffmpeg progress events.\n\n The socket filename is yielded from the context manager and the\n socket is closed when the context manager is exited.\n\n Args:\n handler: a function to be called when progress events are\n rec...
149
false
kkroening/ffmpeg-python
_watch_progress
28,344
LDU_FT/OpenGov/python_data_wrap/GetCellValue
LDU_FT
[ "<BEGIN>\n## `read`", "Loads an arbitrary file type (xlsx, xls, or csv like) and returns\n a list of 2D tables. For csv files this will be a list of one table,\n but excel formats can have many tables/worksheets.", " TODO:\n Add wrapper which can be closed/exited on each file type which cleans\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetCellValue API. 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 GetCellValue API. 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...
get a cell, return default if that cell does not exist note that column and row START AT 1 same as excel
"get a cell, return default if that cell does not exist\r\n note that column and row START AT 1 same as excel"
94
false
OpenGov/python_data_wrap
GetCellValue
28,345
LDU_FT/kushaldas/retask/length
LDU_FT
[ "<BEGIN>\n## `names`", "Returns a list of queues available, ``None`` if no such\n queues found. Remember this will only shows queues with\n at least one item enqueued.\n<END>", "<BEGIN>\n## `length`", "Gives the length of the queue. Returns ``None`` if the queue is not\n connected.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the length API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the length API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Gives the length of the queue. Returns ``None`` if the queue is not connected. If the queue is not connected then it will raise :class:`retask.ConnectionError`.
"Gives the length of the queue. Returns ``None`` if the queue is not\n connected.\n\n If the queue is not connected then it will raise\n :class:`retask.ConnectionError`."
48
false
kushaldas/retask
length
28,346
LDU_FT/chrismattmann/nutch-python/Crawl
LDU_FT
[ "<BEGIN>\n## `defaultCrawlId`", "Provide a reasonable default crawl name using the user name and date\n<END>", "<BEGIN>\n## `call`", "Call the Nutch Server, do some error checking, and return the response.", " :param verb: One of nutch.RequestVerbs\n :param servicePath: path component of URL t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Crawl API. 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 Crawl API. 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...
Launch a crawl using the given seed :param seed: Type (Seed or SeedList) - used for crawl :param seedClient: if a SeedList is given, the SeedClient to upload, if None a default will be created :param jobClient: the JobClient to be used, if None a default will be created :param rounds: th...
"Launch a crawl using the given seed\n :param seed: Type (Seed or SeedList) - used for crawl\n :param seedClient: if a SeedList is given, the SeedClient to upload, if None a default will be created\n :param jobClient: the JobClient to be used, if None a default will be created\n :param round...
46
false
chrismattmann/nutch-python
Crawl
28,347
LDU_FT/genomoncology/related/to_time_field
LDU_FT
[ "<BEGIN>\n## `init_default`", "Returns optional default if field is not required and\n default was not provided.", " :param bool required: whether the field is required in a given model.\n :param default: default provided by creator of field.\n :param optional_default: default for the data type if n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_time_field API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_time_field API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Returns a callable instance that will convert a string to a Time. :param formatter: String that represents data format for parsing. :return: instance of the TimeConverter.
"Returns a callable instance that will convert a string to a Time.\n\n :param formatter: String that represents data format for parsing.\n :return: instance of the TimeConverter."
95
false
genomoncology/related
to_time_field
28,348
LDU_FT/itamarst/eliot/_get_traceback_no_io
LDU_FT
[ "<BEGIN>\n## `stopService`", "Stop the writer thread, wait for it to finish.\n<END>", "<BEGIN>\n## `bind`", "Return a new L{Message} with this message's contents plus the\n additional given bindings.\n<END>", "<BEGIN>\n## `_freeze`", "Freeze this message for logging, registering it with C{action}."...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_traceback_no_io 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_traceback_no_io API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Return a version of L{traceback} that doesn't do I/O.
"Return a version of L{traceback} that doesn't do I/O."
282
false
itamarst/eliot
_get_traceback_no_io
28,349
LDU_FT/dragnet-org/dragnet/get_html_labels_weights
LDU_FT
[ "<BEGIN>\n## `fit`", "Fit :class`Extractor` features and model to a training dataset.", " Args:\n blocks (List[Block])\n labels (``np.ndarray``)\n weights (``np.ndarray``)", " Returns:\n :class`Extractor`\n<END>", "<BEGIN>\n## `get_html_labels_weight...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_html_labels_weights 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_html_labels_weights API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Gather the html, labels, and weights of many files' data. Primarily useful for training/testing an :class`Extractor`. Args: data: Output of :func:`dragnet.data_processing.prepare_all_data`. Returns: Tuple[List[Block], np.array(int), np.array(int)]: All blocks, all ...
"Gather the html, labels, and weights of many files' data.\n Primarily useful for training/testing an :class`Extractor`.\n\n Args:\n data: Output of :func:`dragnet.data_processing.prepare_all_data`.\n\n Returns:\n Tuple[List[Block], np.array(int), np.array(int)]: All blocks, a...
134
false
dragnet-org/dragnet
get_html_labels_weights
28,350
LDU_FT/jupyterhub/chartpress/render_build_args
LDU_FT
[ "<BEGIN>\n## `git_remote`", "Return the URL for remote git repository.", " Depending on the system setup it returns ssh or https remote.\n<END>", "<BEGIN>\n## `render_build_args`", "Get docker build args dict, rendering any templated args.", " Args:\n options (dict):\n The dictionary for a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_build_args API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_build_args API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Get docker build args dict, rendering any templated args. Args: options (dict): The dictionary for a given image from chartpress.yaml. Fields in `options['buildArgs']` will be rendered and returned, if defined. ns (dict): the namespace used when rendering templated arguments
"Get docker build args dict, rendering any templated args.\n\n Args:\n options (dict):\n The dictionary for a given image from chartpress.yaml.\n Fields in `options['buildArgs']` will be rendered and returned,\n if defined.\n ns (dict): the namespace used when rendering templated arguments...
31
false
jupyterhub/chartpress
render_build_args
28,351
LDU_FT/buzzfeed/caliendo/Facade
LDU_FT
[ "<BEGIN>\n## `increment`", "Static method used to increment the depth of a context belonging to 'method'", " :param function method: A method with a context", " :rtype: caliendo.hooks.Context\n :returns: The context instance for the method.\n<END>", "<BEGIN>\n## `skip_once`", "Indicat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Facade API. 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 Facade API. 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 ...
Top-level interface to the Facade functionality. Determines what to return when passed arbitrary objects. :param mixed some_instance: Anything. :param list exclusion_list: The list of types NOT to wrap :param class cls: The class definition for the object being mocked :param tuple args: The arguments f...
"Top-level interface to the Facade functionality. Determines what to return when passed arbitrary objects.\n\n :param mixed some_instance: Anything.\n :param list exclusion_list: The list of types NOT to wrap\n :param class cls: The class definition for the object being mocked\n :param tuple args: The argum...
177
false
buzzfeed/caliendo
Facade
28,352
LDU_FT/glenfant/openxmllib/mimeType
LDU_FT
[ "<BEGIN>\n## `mimeType`", "The official MIME type for this document, guessed from the extensions\n of the :py:attr:`openxmllib.document.Document.filename` attribute, as\n opposed to the :py:attr:`openxmllib.document.Document.mime_type`\n attribute.", " :return: ``application/xxx`` fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mimeType API. 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 mimeType API. 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...
The official MIME type for this document, guessed from the extensions of the :py:attr:`openxmllib.document.Document.filename` attribute, as opposed to the :py:attr:`openxmllib.document.Document.mime_type` attribute. :return: ``application/xxx`` for this file
"The official MIME type for this document, guessed from the extensions\n of the :py:attr:`openxmllib.document.Document.filename` attribute, as\n opposed to the :py:attr:`openxmllib.document.Document.mime_type`\n attribute.\n\n :return: ``application/xxx`` for this file"
37
false
glenfant/openxmllib
mimeType
28,353
LDU_FT/hubo1016/vlcp/getconnections
LDU_FT
[ "<BEGIN>\n## `get_connection`", "Get an exclusive connection, useful for blocked commands and transactions.", " You must call release or shutdown (not recommanded) to return the connection after use.", " :param container: routine container", " :returns: RedisClientBase object, with some...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getconnections API. 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 getconnections API. 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...
Return accepted connections, optionally filtered by vhost
"Return accepted connections, optionally filtered by vhost"
538
false
hubo1016/vlcp
getconnections
28,354
LDU_FT/slackapi/python-slackclient/chat_meMessage
LDU_FT
[ "<BEGIN>\n## `run_on`", "A decorator to store and link a callback to an event.\n<END>", "<BEGIN>\n## `on`", "Stores and links the callback(s) to the event.", " Args:\n event (str): A string that specifies a Slack or websocket event.\n e.g. 'channel_joined' or 'open'\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chat_meMessage API. 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 chat_meMessage API. 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...
Share a me message into a channel. Args: channel (str): The channel id. e.g. 'C1234567890' text (str): The message you'd like to share. e.g. 'Hello world'
"Share a me message into a channel.\n\n Args:\n channel (str): The channel id. e.g. 'C1234567890'\n text (str): The message you'd like to share. e.g. 'Hello world'"
222
false
slackapi/python-slackclient
chat_meMessage
28,355
LDU_FT/aalireza/SimpleAudioIndexer/_seconds_to_HHMMSS
LDU_FT
[ "<BEGIN>\n## `set_username_ibm`", "Parameters\n ----------\n username_ibm : str", " Raises\n ------\n Exception\n If mode is not `ibm`\n<END>", "<BEGIN>\n## `set_password_ibm`", "Parameters\n ----------\n password_ibm : str", " Raises\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _seconds_to_HHMMSS 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 _seconds_to_HHMMSS 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...
Retuns a string which is the hour, minute, second(milli) representation of the intput `seconds` Parameters ---------- seconds : float Returns ------- str Has the form <int>H<int>M<int>S.<float>
"Retuns a string which is the hour, minute, second(milli) representation\n of the intput `seconds`\n\n Parameters\n ----------\n seconds : float\n\n Returns\n -------\n str\n Has the form <int>H<int>M<int>S.<float>"
159
false
aalireza/SimpleAudioIndexer
_seconds_to_HHMMSS
28,356
LDU_FT/Karaage-Cluster/python-tldap/save_account
LDU_FT
[ "<BEGIN>\n## `check_password`", "Check a plaintext password against a hashed password.\n<END>", "<BEGIN>\n## `reset`", "Reset transaction back to original state, discarding all\n uncompleted transactions.\n<END>", "<BEGIN>\n## `_cache_get_for_dn`", "Object state is cached. When an update is require...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_account API. 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 save_account API. 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...
Modify a changes to add an automatically generated uidNumber.
"Modify a changes to add an automatically generated uidNumber."
151
false
Karaage-Cluster/python-tldap
save_account
28,357
LDU_FT/vtraag/louvain-igraph/find_partition
LDU_FT
[ "<BEGIN>\n## `optimise_partition`", "Optimise the given partition.", " Parameters\n ----------\n partition\n The :class:`~VertexPartition.MutableVertexPartition` to optimise.", " Returns\n -------\n float\n Improvement in quality function.", " Examples\n --------", " >...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_partition API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_partition API. 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...
Detect communities using the default settings. This function detects communities given the specified method in the ``partition_type``. This should be type derived from :class:`VertexPartition.MutableVertexPartition`, e.g. :class:`ModularityVertexPartition` or :class:`CPMVertexPartition`. Optionally an initia...
"Detect communities using the default settings.\n\n This function detects communities given the specified method in the\n ``partition_type``. This should be type derived from\n :class:`VertexPartition.MutableVertexPartition`, e.g.\n :class:`ModularityVertexPartition` or :class:`CPMVertexPartition`. Optionally\n an...
102
false
vtraag/louvain-igraph
find_partition
28,358
LDU_FT/robehickman/simple-http-file-sync/delete_files
LDU_FT
[ "<BEGIN>\n## `lock_access`", "Synchronise access to the user file between processes, this specifies\n which user is allowed write access at the current time\n<END>", "<BEGIN>\n## `can_aquire_user_lock`", "Allow a user to acquire the lock if no other user is currently using it, if the original\n user is ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_files API. 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 delete_files API. 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...
Delete one or more files from the server
"Delete one or more files from the server"
60
false
robehickman/simple-http-file-sync
delete_files
28,359
LDU_FT/aheadley/python-crunchyroll/get_media_stream
LDU_FT
[ "<BEGIN>\n## `return_collection`", "Change method return value from raw API output to collection of models\n<END>", "<BEGIN>\n## `_do_post_request_tasks`", "Handle actions that need to be done with every response", " I'm not sure what these session_ops are actually used for yet, seems to\n be ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_media_stream API. 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_media_stream API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Get the stream data for a given media item @param crunchyroll.models.Media media_item @param int format @param int quality @return crunchyroll.models.MediaStream
"Get the stream data for a given media item\n\n @param crunchyroll.models.Media media_item\n @param int format\n @param int quality\n @return crunchyroll.models.MediaStream"
100
false
aheadley/python-crunchyroll
get_media_stream
28,360
LDU_FT/rikrd/inspire/load_mlf
LDU_FT
[ "<BEGIN>\n## `load_parameter`", "Load HTK parameter/feature file.", " :param input_filename:\n :param only_header: only load the metadata\n :return: a named tuple representing the HTK parmeter file\n<END>", "<BEGIN>\n## `create_parameter`", "Create a HTK Parameter object from an array of samples an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_mlf API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_mlf API. 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...
Load an HTK Master Label File. :param filename: The filename of the MLF file. :param utf8_normalization: None
"Load an HTK Master Label File.\n\n :param filename: The filename of the MLF file.\n :param utf8_normalization: None"
91
false
rikrd/inspire
load_mlf
28,361
LDU_FT/ml4ai/delphi/from_fortran_file
LDU_FT
[ "<BEGIN>\n## `all_subs`", "given a list of tuples specifying the bounds of an array, all_subs()\n returns a list of all the tuples of subscripts for that array.\n<END>", "<BEGIN>\n## `idx2subs`", "Given a list idx_list of index values for each dimension of an array, \n idx2subs() returns a list of...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_fortran_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_fortran_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Builds GrFN object from a Fortran program.
"Builds GrFN object from a Fortran program."
336
false
ml4ai/delphi
from_fortran_file
28,362
LDU_FT/aiogram/aiogram/bind
LDU_FT
[ "<BEGIN>\n## `execute_filter`", "Helper for executing filter", " :param filter_:\n :param args:\n :return:\n<END>", "<BEGIN>\n## `check_filters`", "Check list of filters", " :param filters:\n :param args:\n :return:\n<END>", "<BEGIN>\n## `validate`", "Validate and parse config.", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bind API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bind API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Register filter :param callback: callable or subclass of :obj:`AbstractFilter` :param validator: custom validator. :param event_handlers: list of instances of :obj:`Handler` :param exclude_event_handlers: list of excluded event handlers (:obj:`Handler`)
"Register filter\n\n :param callback: callable or subclass of :obj:`AbstractFilter`\n :param validator: custom validator.\n :param event_handlers: list of instances of :obj:`Handler`\n :param exclude_event_handlers: list of excluded event handlers (:obj:`Handler`)"
1,040
true
aiogram/aiogram
bind
28,363
LDU_FT/minus7/asif/message
LDU_FT
[ "<BEGIN>\n## `on_message`", "Convenience wrapper of `Client.on_message` pre-bound with `channel=self.name`.\n<END>", "<BEGIN>\n## `await_message`", "Block until a message matches. See `on_message`\n<END>", "<BEGIN>\n## `on_join`", "Register a handler that's called after a channel is joined.\n The h...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the message API. 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 message API. 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...
Lower level messaging function used by User and Channel
"Lower level messaging function used by User and Channel"
19
false
minus7/asif
message
28,364
LDU_FT/lehins/python-wepay/__modify
LDU_FT
[ "<BEGIN>\n## `authorize`", "Documentation: `/oauth2/authorize\n <https://www.wepay.com/developer/reference/oauth2#authorize>`_.", " .. note::", " This is not an API call but an actual uri that you send the user to.\n<END>", "<BEGIN>\n## `__token`", "Call documentation: `/oauth2/tok...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __modify API. 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 __modify API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Call documentation: `/preapproval/modify <https://www.wepay.com/developer/reference/preapproval#modify>`_, plus extra keyword parameters: :keyword str access_token: will be used instead of instance's ``access_token``, with ``batch_mode=True`` will set `authorization` param...
"Call documentation: `/preapproval/modify\n <https://www.wepay.com/developer/reference/preapproval#modify>`_, plus\n extra keyword parameters:\n\n :keyword str access_token: will be used instead of instance's\n ``access_token``, with ``batch_mode=True`` will set `authorization`\n ...
269
false
lehins/python-wepay
__modify
28,365
LDU_FT/TylerTemp/docpie/find_flag_alias
LDU_FT
[ "<BEGIN>\n## `docpie`", "match the argv for each usages, return dict.", " if argv is None, it will use sys.argv instead.\n if argv is str, it will call argv.split() first.\n this function will check the options in self.extra and handle it first.\n Which means it may not try to match ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_flag_alias API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_flag_alias API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Return alias set of a flag; return None if flag is not defined in "Options".
"Return alias set of a flag; return None if flag is not defined in\n \"Options\"."
51
false
TylerTemp/docpie
find_flag_alias
28,366
LDU_FT/cni/MRS/fit_glx
LDU_FT
[ "<BEGIN>\n## `fetch_data`", "Downloads files to folder and checks their md5 checksums", " Parameters\n ----------\n files : dictionary\n For each file in `files` the value should be (url, md5). The file will\n be downloaded from url if the file does not already exist or if the\n fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit_glx API. 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 fit_glx API. 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...
Fit a Gaussian function to the Glu/Gln (GLX) peak at 3.75ppm, +/- 0.15ppm [Hurd2004]_. Compare this model to a model that treats the Glx signal as two gaussian peaks. Glx signal at. Select between them based on cross-validation Parameters ---------- reject_outliers : f...
"Fit a Gaussian function to the Glu/Gln (GLX) peak at 3.75ppm, +/-\n 0.15ppm [Hurd2004]_. Compare this model to a model\n that treats the Glx signal as two gaussian peaks. Glx signal\n at. Select between them based on cross-validation\n\n Parameters\n ----------\n reject_outl...
328
false
cni/MRS
fit_glx
28,367
LDU_FT/miquelo/resort/insert
LDU_FT
[ "<BEGIN>\n## `insert`", "Build the project.", "\t\t:param resort.engine.execution.Context context:\n\t\t Current execution context.\n<END>", "<BEGIN>\n## `load`", "Load the profile with the given name.", "\t\t:param str prof_name:\n\t\t Profile name.\n\t\t:rtype:\n\t\t ProfileStub\n\t\t:return:\n\t\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert API. 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 insert API. 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 ...
Wait domain to be available. :param resort.engine.execution.Context context: Current execution context. :raise Exception: Domain could not been inserted.
"Wait domain to be available.\n\t\t\n\t\t:param resort.engine.execution.Context context:\n\t\t Current execution context.\n\t\t:raise Exception:\n\t\t Domain could not been inserted."
125
false
miquelo/resort
insert
28,368
LDU_FT/davidfokkema/artist/set_xlimits_for_all
LDU_FT
[ "<BEGIN>\n## `render`", "Render the plot using a template.", " Once the plot is complete, it needs to be rendered. Artist uses\n the Jinja2 templating engine. The default template results in a\n LaTeX file which can be included in your document.", " :param template: a user-suppli...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_xlimits_for_all 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 set_xlimits_for_all 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...
Set x-axis limits of specified subplots. :param row_column_list: a list containing (row, column) tuples to specify the subplots, or None to indicate *all* subplots. :type row_column_list: list or None :param min: minimal axis value :param max: maximum axis value
"Set x-axis limits of specified subplots.\n\n :param row_column_list: a list containing (row, column) tuples to\n specify the subplots, or None to indicate *all* subplots.\n :type row_column_list: list or None\n :param min: minimal axis value\n :param max: maximum axis value"
278
false
davidfokkema/artist
set_xlimits_for_all
28,369
LDU_FT/deshima-dev/decode/cube
LDU_FT
[ "<BEGIN>\n## `xarrayfunc`", "Make a function compatible with xarray.DataArray.", " This function is intended to be used as a decorator like::", " >>> @dc.xarrayfunc\n >>> def func(array):\n ... # do something\n ... return newarray\n >>>\n >>> result = func(...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cube API. 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 cube API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Create a cube as an instance of xarray.DataArray with Decode accessor. Args: data (numpy.ndarray): 3D (x x y x channel) array. xcoords (dict, optional): Dictionary of arrays that label x axis. ycoords (dict, optional): Dictionary of arrays that label y axis. chcoords (dict, optional...
"Create a cube as an instance of xarray.DataArray with Decode accessor.\n\n Args:\n data (numpy.ndarray): 3D (x x y x channel) array.\n xcoords (dict, optional): Dictionary of arrays that label x axis.\n ycoords (dict, optional): Dictionary of arrays that label y axis.\n chcoords (dict, o...
137
false
deshima-dev/decode
cube
28,370
LDU_FT/gmdzy2010/dingtalk_sdk_gmdzy2010/get_progress
LDU_FT
[ "<BEGIN>\n## `set_logger`", "Method to build the base logging system. By default, logging level\r\n is set to INFO.\n<END>", "<BEGIN>\n## `get_json_response`", "This method aims at catching the exception of ValueError, detail:\r\n http://docs.python-requests.org/zh_CN/latest/user/quickstart.html...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_progress API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_progress API. 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...
Method to get the progress of work notice sending.
"Method to get the progress of work notice sending."
18
false
gmdzy2010/dingtalk_sdk_gmdzy2010
get_progress
28,371
LDU_FT/Guake/guake/add_matches
LDU_FT
[ "<BEGIN>\n## `mk_tab_context_menu`", "Create the context menu for a notebook tab\n<END>", "<BEGIN>\n## `mk_notebook_context_menu`", "Create the context menu for the notebook\n<END>", "<BEGIN>\n## `trayicon_toggled`", "If the gconf var use_trayicon be changed, this method will\n be called and will s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_matches API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_matches API. 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...
Adds all regular expressions declared in guake.globals.TERMINAL_MATCH_EXPRS to the terminal to make vte highlight text that matches them.
"Adds all regular expressions declared in\n guake.globals.TERMINAL_MATCH_EXPRS to the terminal to make vte\n highlight text that matches them."
184
false
Guake/guake
add_matches
28,372