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/frostming/marko/_build_block_element_list
LDU_FT
[ "<BEGIN>\n## `camel_to_snake_case`", "Takes a camelCased string and converts to snake_case.\n<END>", "<BEGIN>\n## `is_paired`", "Check if the text only contains:\n 1. blackslash escaped parentheses, or\n 2. parentheses paired.\n<END>", "<BEGIN>\n## `match_prefix`", "Check if the line starts with giv...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_block_element_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_block_element_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Return a list of block elements, ordered from highest priority to lowest.
"Return a list of block elements, ordered from highest priority to lowest."
49
false
frostming/marko
_build_block_element_list
26,773
LDU_FT/jbaiter/hidapi-cffi/get_serial_number_string
LDU_FT
[ "<BEGIN>\n## `enumerate`", "Enumerate the HID Devices.", " Returns a generator that yields all of the HID devices attached to the\n system.", " :param vendor_id: Only return devices which match this vendor id\n :type vendor_id: int\n :param product_id: Only return devices which match this...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_serial_number_string 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_serial_number_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Get the Serial Number String from the HID device. :return: The Serial Number String :rtype: unicode
"Get the Serial Number String from the HID device.\n\n :return: The Serial Number String\n :rtype: unicode"
34
false
jbaiter/hidapi-cffi
get_serial_number_string
26,774
LDU_FT/metachris/RPIO/add_interrupt_callback
LDU_FT
[ "<BEGIN>\n## `add_tcp_callback`", "Adds a unix socket server callback, which will be invoked when values\n arrive from a connected socket client. The callback must accept two\n parameters, eg. ``def callback(socket, msg)``.\n<END>", "<BEGIN>\n## `add_interrupt_callback`", "Add a callback to be executed ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_interrupt_callback API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_interrupt_callback API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Add a callback to be executed when the value on 'gpio_id' changes to the edge specified via the 'edge' parameter (default='both'). `pull_up_down` can be set to `RPIO.PUD_UP`, `RPIO.PUD_DOWN`, and `RPIO.PUD_OFF`. If `threaded_callback` is True, the callback will be started inside a Thread. If ...
"Add a callback to be executed when the value on 'gpio_id' changes to\n the edge specified via the 'edge' parameter (default='both').\n\n `pull_up_down` can be set to `RPIO.PUD_UP`, `RPIO.PUD_DOWN`, and\n `RPIO.PUD_OFF`.\n\n If `threaded_callback` is True, the callback will be started\n inside a Thread.\...
38
false
metachris/RPIO
add_interrupt_callback
26,775
LDU_FT/dantezhu/melon/make_proc_name
LDU_FT
[ "<BEGIN>\n## `write`", "接收消息\n :param msg:\n :return:\n<END>", "<BEGIN>\n## `_handle_signals`", "因为主进程的reactor重新处理了SIGINT,会导致子进程也会响应,改为SIG_IGN之后,就可以保证父进程先退出,之后再由父进程term所有的子进程\n :return:\n<END>", "<BEGIN>\n## `dataReceived`", "当数据接受到时\n :param data:\n :return:\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_proc_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 ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_proc_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 ex...
获取进程名称 :param subtitle: :return:
"获取进程名称\n :param subtitle:\n :return:"
10
false
dantezhu/melon
make_proc_name
26,776
LDU_FT/flask-restful/flask-restful/remove_argument
LDU_FT
[ "<BEGIN>\n## `unpack`", "Return a three tuple of data, code, and headers\n<END>", "<BEGIN>\n## `output_xml`", "Makes a Flask response with a XML encoded body\n<END>", "<BEGIN>\n## `output_json`", "Makes a Flask response with a JSON encoded body\n<END>", "<BEGIN>\n## `abort`", "Raise a HTTPException fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_argument API. 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 remove_argument API. 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...
Remove the argument matching the given name.
"Remove the argument matching the given name."
123
false
flask-restful/flask-restful
remove_argument
26,777
LDU_FT/xoolive/traffic/stats
LDU_FT
[ "<BEGIN>\n## `closest_point_of_approach`", "Computes a CPA dataframe for all pairs of trajectories candidates for\n being separated by less than lateral_separation in vertical_separation.", " In order to be computed efficiently, the method needs the following\n parameters:", " - projection: a firs...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stats API. Each 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 stats API. Each 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...
Statistics about flights contained in the structure. Useful for a meaningful representation.
"Statistics about flights contained in the structure.\n Useful for a meaningful representation."
147
false
xoolive/traffic
stats
26,778
LDU_FT/kylewm/flask-micropub/_start_indieauth
LDU_FT
[ "<BEGIN>\n## `init_app`", "Initialize the Micropub extension if it was not given app\n in the constructor.", " Args:\n app (flask.Flask): the flask application to extend.\n client_id (string, optional): the IndieAuth client id, will be\n displayed when the user is aske...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _start_indieauth API. 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 _start_indieauth API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Helper for both authentication and authorization. Kicks off IndieAuth by fetching the authorization endpoint from the user's homepage and redirecting to it. Args: me (string): the authing user's URL. if it does not begin with https?://, http:// will be prepended. ...
"Helper for both authentication and authorization. Kicks off\n IndieAuth by fetching the authorization endpoint from the user's\n homepage and redirecting to it.\n\n Args:\n me (string): the authing user's URL. if it does not begin with\n https?://, http:// will be prepended.\n ...
19
false
kylewm/flask-micropub
_start_indieauth
26,779
LDU_FT/openvax/topiary/transcript_sort_key
LDU_FT
[ "<BEGIN>\n## `transcript_sort_key`", "Key function used to sort transcripts. Taking the negative of\n protein sequence length and nucleotide sequence length so that\n the transcripts with longest sequences come first in the list. This couldn't\n be accomplished with `reverse=True` since we're also sortin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transcript_sort_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transcript_sort_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Key function used to sort transcripts. Taking the negative of protein sequence length and nucleotide sequence length so that the transcripts with longest sequences come first in the list. This couldn't be accomplished with `reverse=True` since we're also sorting by transcript name (which places TP53-001...
"Key function used to sort transcripts. Taking the negative of\n protein sequence length and nucleotide sequence length so that\n the transcripts with longest sequences come first in the list. This couldn't\n be accomplished with `reverse=True` since we're also sorting by\n transcript name (which places TP5...
91
false
openvax/topiary
transcript_sort_key
26,780
LDU_FT/PolyJIT/benchbuild/env
LDU_FT
[ "<BEGIN>\n## `write_makeconfig`", "Write a valid gentoo make.conf file to :path:.", " Args:\n path - The output path of the make.conf\n<END>", "<BEGIN>\n## `write_bashrc`", "Write a valid gentoo bashrc file to :path:.", " Args:\n path - The output path of the make.conf\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the env API. Each 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 env API. Each 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...
Compute the environment of the change root for the user. Args: mounts: The mountpoints of the current user. Return: paths ld_libs
"Compute the environment of the change root for the user.\n\n Args:\n mounts: The mountpoints of the current user.\n Return:\n paths\n ld_libs"
401
false
PolyJIT/benchbuild
env
26,781
LDU_FT/Vagrants/blackbird/is_user
LDU_FT
[ "<BEGIN>\n## `helper_import`", "Return class or module object.\n if the argument is only a module name and return a module object.\n if the argument is a module and class name, and return a class object.\n<END>", "<BEGIN>\n## `global_import`", "This function search sys.path[1:], return specified module....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_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 extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_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 extracted...
Check whether username or uid as argument exists. if this function recieved username, convert uid and exec validation.
"Check whether username or uid as argument exists.\n if this function recieved username, convert uid and exec validation."
106
false
Vagrants/blackbird
is_user
26,782
LDU_FT/santosjorge/cufflinks/get_annotations
LDU_FT
[ "<BEGIN>\n## `to_df`", "Extracts the data from a Plotly Figure", " Parameters\n ----------\n figure : plotly_figure\n Figure from which data will be \n extracted", " Returns a DataFrame or list of DataFrame\n<END>", "<BEGIN>\n## `to_rgba`", "Converts from hex|rgb ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_annotations API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_annotations API. 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...
Generates an annotations object Parameters: ----------- df : DataFrame Original DataFrame of values annotations : dict or list Dictionary of annotations {x_point : text} or List of Plotly annotations
"Generates an annotations object\n\n\tParameters:\n\t-----------\n\t\tdf : DataFrame\n\t\t\tOriginal DataFrame of values\n\t\tannotations : dict or list\n\t\t\tDictionary of annotations\n\t\t\t{x_point : text}\n\t\t\tor\n\t\t\tList of Plotly annotations"
328
false
santosjorge/cufflinks
get_annotations
26,783
LDU_FT/koszullab/instaGRAAL/linkage_group_ordering
LDU_FT
[ "<BEGIN>\n## `estimate_parameters_rippe`", "estimation by least square optimization of Rippe parameters on the\n experimental data\n :param max_dist_kb:\n :param size_bin_kb:\n<END>", "<BEGIN>\n## `estimate_parameters`", "estimation by least square optimization of Rippe parameters on the\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the linkage_group_ordering 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 linkage_group_ordering API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Convert degenerate linkage records into ordered info_frags-like records for comparison purposes. Simple example: >>> linkage_records = [ ... ['linkage_group_1', 31842, 94039, 'sctg_207'], ... ['linkage_group_1', 95303, 95303, 'sctg_207'], ... ['linkage_group_2', 15892, 25865, '...
"Convert degenerate linkage records into ordered info_frags-like records\n for comparison purposes.\n\n Simple example:\n\n >>> linkage_records = [\n ... ['linkage_group_1', 31842, 94039, 'sctg_207'],\n ... ['linkage_group_1', 95303, 95303, 'sctg_207'],\n ... ['linkage_group_2', 15892,...
116
false
koszullab/instaGRAAL
linkage_group_ordering
26,784
LDU_FT/jurismarches/chopper/__add
LDU_FT
[ "<BEGIN>\n## `parse`", "Parses the CSS contents and returns the cleaned CSS as a string", " :returns: The cleaned CSS\n :rtype: str\n<END>", "<BEGIN>\n## `rel_to_abs`", "Converts relative links from css contents to absolute links", " :param base_url: The base page url to use for build...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __add API. Each 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 __add API. Each 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...
Adds a Xpath expression to the dest list :param dest: The destination list to add the Xpath :type dest: list :param xpath: The Xpath expression to add :type xpath: str
"Adds a Xpath expression to the dest list\n\n :param dest: The destination list to add the Xpath\n :type dest: list\n :param xpath: The Xpath expression to add\n :type xpath: str"
47
false
jurismarches/chopper
__add
26,785
LDU_FT/mnooner256/pyqrcode/make_error_block
LDU_FT
[ "<BEGIN>\n## `create`", "When creating a QR code only the content to be encoded is required,\n all the other properties of the code will be guessed based on the\n contents given. This function will return a :class:`QRCode` object.", " Unless you are familiar with QR code's inner workings\n it is rec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_error_block API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_error_block API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
This function constructs the error correction block of the given data block. This is *very complicated* process. To understand the code you need to read: * http://www.thonky.com/qr-code-tutorial/part-2-error-correction/ * http://www.matchadesign.com/blog/qr-code-demystified-part-4/
"This function constructs the error correction block of the\n given data block. This is *very complicated* process. To\n understand the code you need to read:\n\n * http://www.thonky.com/qr-code-tutorial/part-2-error-correction/\n * http://www.matchadesign.com/blog/qr-code-demystified-part-4...
143
false
mnooner256/pyqrcode
make_error_block
26,786
LDU_FT/madjar/pyramid_persona/js
LDU_FT
[ "<BEGIN>\n## `verify_login`", "Verifies the assertion and the csrf token in the given request.", " Returns the email of the user if everything is valid, otherwise raises\n a HTTPBadRequest\n<END>", "<BEGIN>\n## `login`", "View to check the persona assertion and remember the user\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the js API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted docu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the js API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted docu...
Returns the javascript needed to run persona
"Returns the javascript needed to run persona"
13
false
madjar/pyramid_persona
js
26,787
LDU_FT/theno/fabsetup/is_os
LDU_FT
[ "<BEGIN>\n## `create_readme_with_long_description`", "Try to convert content of README.md into rst format using pypandoc,\n write it into README and return it.", " If pypandoc cannot be imported write content of README.md unchanged into\n README and return it.\n<END>", "<BEGIN>\n## `openssl`", "Ins...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_os API. Each 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 is_os API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Return True if OS name in /etc/lsb-release of host given by fabric param `-H` is the same as given by argument, False else. If arg version_id is not None only return True if it is the same as in /etc/lsb-release, too. Args: name: 'Debian GNU/Linux', 'Ubuntu' version_id(None or str): No...
"Return True if OS name in /etc/lsb-release of host given by fabric param\n `-H` is the same as given by argument, False else.\n\n If arg version_id is not None only return True if it is the same as in\n /etc/lsb-release, too.\n\n Args:\n name: 'Debian GNU/Linux', 'Ubuntu'\n version_id(None or...
226
false
theno/fabsetup
is_os
26,788
LDU_FT/getsentry/libsourcemap/dump_memdb
LDU_FT
[ "<BEGIN>\n## `from_json`", "Parses a JSON string into either a view or an index. If auto flatten\n is enabled a sourcemap index that does not contain external references is\n automatically flattened into a view. By default if an index would be\n returned an `IndexedSourceMap` error is raised instead wh...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_memdb API. 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 dump_memdb API. 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...
Dumps a sourcemap in MemDB format into bytes.
"Dumps a sourcemap in MemDB format into bytes."
22
false
getsentry/libsourcemap
dump_memdb
26,789
LDU_FT/rosenbrockc/fortpy/save_module
LDU_FT
[ "<BEGIN>\n## `setup_regex`", "Sets up the patterns and compiled regex objects for parsing types.\n<END>", "<BEGIN>\n## `parse_signature`", "Parses the specified line as a new version of the signature for 'element'.", " :arg statement: the string that has the new signature.\n :arg element: the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_module API. 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 save_module API. 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...
Saves the specified module and its contents to the file system so that it doesn't have to be parsed again unless it has changed.
"Saves the specified module and its contents to the file system\n so that it doesn't have to be parsed again unless it has changed."
929
false
rosenbrockc/fortpy
save_module
26,790
LDU_FT/wikimedia/ores/requirements
LDU_FT
[ "<BEGIN>\n## `redis_from_url`", "Converts a redis URL used by celery into a `redis.Redis` object.\n<END>", "<BEGIN>\n## `process_model_scores`", "Generates a score map for a set of models based on a `root_cache`.\n This method performs no substantial IO, but may incur substantial CPU\n usage.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the requirements API. 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 requirements API. 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...
Generator to parse requirements.txt file Supports bits of extended pip format (git urls)
"Generator to parse requirements.txt file\n\n Supports bits of extended pip format (git urls)"
52
false
wikimedia/ores
requirements
26,791
LDU_FT/invoice-x/invoice2data/write_to_file
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 write_to_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 ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_to_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 ext...
Export extracted fields to csv Appends .csv to path if missing and generates csv file in specified directory, if not then in root Parameters ---------- data : dict Dictionary of extracted fields path : str directory to save generated csv file Notes ---- Do give file na...
"Export extracted fields to csv\n\n Appends .csv to path if missing and generates csv file in specified directory, if not then in root\n\n Parameters\n ----------\n data : dict\n Dictionary of extracted fields\n path : str\n directory to save generated csv file\n\n Notes\n ----\n D...
69
false
invoice-x/invoice2data
write_to_file
26,792
LDU_FT/NoneGG/aredis/execute
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 execute API. Each 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 execute API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Execute all the commands in the current pipeline
"Execute all the commands in the current pipeline"
421
false
NoneGG/aredis
execute
26,793
LDU_FT/lincolnloop/salmon/replace_variable
LDU_FT
[ "<BEGIN>\n## `generate_settings`", "This command is run when ``default_path`` doesn't exist, or ``init`` is\n run and returns a string representing the default data to put into their\n settings file.\n<END>", "<BEGIN>\n## `configure_app`", "Builds up the settings using the same method as logan\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_variable API. 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 replace_variable API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Substitute variables with numeric values
"Substitute variables with numeric values"
29
false
lincolnloop/salmon
replace_variable
26,794
LDU_FT/gak/pygooglechart/set_legend_position
LDU_FT
[ "<BEGIN>\n## `set_legend`", "legend needs to be a list, tuple or None\n<END>", "<BEGIN>\n## `set_legend_position`", "Sets legend position. Default is 'r'.", " b - At the bottom of the chart, legend entries in a horizontal row.\n bv - At the bottom of the chart, legend entries in a vertical col...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_legend_position API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_legend_position API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Sets legend position. Default is 'r'. b - At the bottom of the chart, legend entries in a horizontal row. bv - At the bottom of the chart, legend entries in a vertical column. t - At the top of the chart, legend entries in a horizontal row. tv - At the top of the chart, legend entries i...
"Sets legend position. Default is 'r'.\n\n b - At the bottom of the chart, legend entries in a horizontal row.\n bv - At the bottom of the chart, legend entries in a vertical column.\n t - At the top of the chart, legend entries in a horizontal row.\n tv - At the top of the chart, legend ent...
28
false
gak/pygooglechart
set_legend_position
26,795
LDU_FT/mikeboers/Flask-ACL/get_object_context
LDU_FT
[ "<BEGIN>\n## `parse_state`", "Convert a bool, or string, into a bool.", " The string pairs we respond to (case insensitively) are:", " - ALLOW & DENY\n - GRANT & REJECT", " :returns bool: ``True`` or ``False``.\n :raises ValueError: when not a ``bool`` or one of the above strings.", " E....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object_context API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object_context API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Depth-first discovery of authentication context for an object. Walks the ACL graph via ``__acl_bases__`` and merges the ``__acl_context__`` attributes.
"Depth-first discovery of authentication context for an object.\n\n Walks the ACL graph via ``__acl_bases__`` and merges the ``__acl_context__``\n attributes."
44
false
mikeboers/Flask-ACL
get_object_context
26,796
LDU_FT/spotify/pyfg/set_parent
LDU_FT
[ "<BEGIN>\n## `compare_config`", "This method will return all the necessary commands to get from the config we are in to the target\n config.", " Args:\n * **target** (:class:`~pyFG.forticonfig.FortiConfig`) - Target config.\n * **init** (bool) - This tells to the method if th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_parent API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_parent API. 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...
Args: - **parent** ((:class:`~pyFG.forticonfig.FortiConfig`): FortiConfig object you want to set as parent.
"Args:\n - **parent** ((:class:`~pyFG.forticonfig.FortiConfig`): FortiConfig object you want to set as parent."
37
false
spotify/pyfg
set_parent
26,797
LDU_FT/cknoll/ipydex/publish_attrs
LDU_FT
[ "<BEGIN>\n## `format_frameinfo`", "Takes a frameinfo object (from the inspect module)", " returns a properly formated string\n<END>", "<BEGIN>\n## `IPS`", "Starts IPython embedded shell. This is similar to IPython.embed() but with some\n additional features:", " 1. Print a list of the calling fra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the publish_attrs API. 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 publish_attrs API. 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...
Magic function which inject all attrs into the callers namespace :param upcount int, how many stack levels we go up :return:
"Magic function which inject all attrs into the callers namespace\n :param upcount int, how many stack levels we go up\n :return:"
45
false
cknoll/ipydex
publish_attrs
26,798
LDU_FT/dmlc/gluon-nlp/step
LDU_FT
[ "<BEGIN>\n## `train`", "Train textCNN model for sentiment analysis.\n<END>", "<BEGIN>\n## `embedding`", "Get tokens, tokens embedding", " Parameters\n ----------\n sentences : List[str]\n sentences for encoding.\n oov_way : str, default avg.\n use **avg**, *...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the step API. Each 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 step API. Each 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...
Makes one step of parameter update. Should be called after `fp16_optimizer.backward()`, and outside of `record()` scope. Parameters ---------- batch_size : int Batch size of data processed. Gradient will be normalized by `1/batch_size`. Set this to 1 if you norma...
"Makes one step of parameter update. Should be called after\n `fp16_optimizer.backward()`, and outside of `record()` scope.\n\n Parameters\n ----------\n batch_size : int\n Batch size of data processed. Gradient will be normalized by `1/batch_size`.\n Set this to 1 if y...
801
false
dmlc/gluon-nlp
step
26,799
LDU_FT/joshspeagle/dynesty/kl_divergence
LDU_FT
[ "<BEGIN>\n## `runplot`", "Plot live points, ln(likelihood), ln(weight), and ln(evidence)\n as a function of ln(prior volume).", " Parameters\n ----------\n results : :class:`~dynesty.results.Results` instance\n A :class:`~dynesty.results.Results` instance from a nested\n sampling run."...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the kl_divergence API. 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 kl_divergence API. 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...
Computes the `Kullback-Leibler (KL) divergence <https://en.wikipedia.org/wiki/Kullback-Leibler_divergence>`_ *from* the discrete probability distribution defined by `res2` *to* the discrete probability distribution defined by `res1`. Parameters ---------- res1 : :class:`~dynesty.results.Results...
"Computes the `Kullback-Leibler (KL) divergence\n <https://en.wikipedia.org/wiki/Kullback-Leibler_divergence>`_ *from* the\n discrete probability distribution defined by `res2` *to* the discrete\n probability distribution defined by `res1`.\n\n Parameters\n ----------\n res1 : :class:`~dynesty.results...
709
false
joshspeagle/dynesty
kl_divergence
26,800
LDU_FT/ValvePython/steam/webapi_request
LDU_FT
[ "<BEGIN>\n## `generate_twofactor_code_for_time`", "Generate Steam 2FA code for timestamp", " :param shared_secret: authenticator shared secret\n :type shared_secret: bytes\n :param timestamp: timestamp to use, if left out uses current time\n :type timestamp: int\n :return: steam two factor code\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the webapi_request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the webapi_request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Low level function for calling Steam's WebAPI .. versionchanged:: 0.8.3 :param url: request url (e.g. ``https://api.steampowered.com/A/B/v001/``) :type url: :class:`str` :param method: HTTP method (GET or POST) :type method: :class:`str` :param caller: caller reference, caller.last_response is...
"Low level function for calling Steam's WebAPI\n\n .. versionchanged:: 0.8.3\n\n :param url: request url (e.g. ``https://api.steampowered.com/A/B/v001/``)\n :type url: :class:`str`\n :param method: HTTP method (GET or POST)\n :type method: :class:`str`\n :param caller: caller reference, caller.last_re...
385
false
ValvePython/steam
webapi_request
26,801
LDU_FT/cni/MRS/two_lorentzian
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 two_lorentzian API. 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 two_lorentzian API. 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...
A two-Lorentzian model. This is simply the sum of two lorentzian functions in some part of the spectrum. Each individual Lorentzian has its own peak frequency, area, hwhm and phase, but they share common offset and drift parameters.
"A two-Lorentzian model.\n\n This is simply the sum of two lorentzian functions in some part of the\n spectrum. Each individual Lorentzian has its own peak frequency, area, hwhm\n and phase, but they share common offset and drift parameters."
328
false
cni/MRS
two_lorentzian
26,802
LDU_FT/myusuf3/delorean/shift
LDU_FT
[ "<BEGIN>\n## `parse`", "Parses a datetime string and returns a `Delorean` object.", " :param datetime_str: The string to be interpreted into a `Delorean` object.\n :param timezone: Pass this parameter and the returned Delorean object will be normalized to this timezone. Any\n offsets passed as part...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shift API. Each 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 shift API. Each 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...
Shifts the timezone from the current timezone to the specified timezone associated with the Delorean object, modifying the Delorean object and returning the modified object. .. testsetup:: from datetime import datetime from delorean import Delorean .. doctest:: ...
"Shifts the timezone from the current timezone to the specified timezone associated with the Delorean object,\n modifying the Delorean object and returning the modified object.\n\n .. testsetup::\n\n from datetime import datetime\n from delorean import Delorean\n\n .. doctest:...
85
false
myusuf3/delorean
shift
26,803
LDU_FT/geophysics-ubonn/reda/_add_rhoa
LDU_FT
[ "<BEGIN>\n## `import_syscal_bin`", "Syscal import", " timestep: int or :class:`datetime.datetime`\n if provided use this value to set the 'timestep' column of the\n produced dataframe. Default: 0\n<END>", "<BEGIN>\n## `to_ip`", "Return of copy of the data inside a TDIP container...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_rhoa API. 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 _add_rhoa API. 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...
a simple wrapper to compute K factors and add rhoa
"a simple wrapper to compute K factors and add rhoa"
486
false
geophysics-ubonn/reda
_add_rhoa
26,804
LDU_FT/spulec/moto/get_next_entry
LDU_FT
[ "<BEGIN>\n## `get_parameters_by_path`", "Implement the get-parameters-by-path-API in the backend.\n<END>", "<BEGIN>\n## `_match_filters`", "Return True if the given parameter matches all the filters\n<END>", "<BEGIN>\n## `list_commands`", "https://docs.aws.amazon.com/systems-manager/latest/APIReference/AP...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_next_entry API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_next_entry API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Cycle through available responses, but only once. Any subsequent requests will receive the last response
"Cycle through available responses, but only once.\n Any subsequent requests will receive the last response"
217
false
spulec/moto
get_next_entry
26,805
LDU_FT/uw-it-aca/uw-restclients-pws/get_entity_by_regid
LDU_FT
[ "<BEGIN>\n## `get_person_by_regid`", "Returns a restclients.Person object for the given regid. If the\n regid isn't found, or if there is an error communicating with the PWS,\n a DataFailureException will be thrown.\n<END>", "<BEGIN>\n## `get_person_by_netid`", "Returns a restclients.Person obj...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_entity_by_regid API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_entity_by_regid API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Returns a restclients.Entity object for the given regid. If the regid isn't found, or if there is an error communicating with the PWS, a DataFailureException will be thrown.
"Returns a restclients.Entity object for the given regid. If the\n regid isn't found, or if there is an error communicating with the PWS,\n a DataFailureException will be thrown."
16
false
uw-it-aca/uw-restclients-pws
get_entity_by_regid
26,806
LDU_FT/enricobacis/wos/query
LDU_FT
[ "<BEGIN>\n## `_api`", "API decorator for common tests (sessions open, etc.) and throttle\n limitation (calls per second).\n<END>", "<BEGIN>\n## `_premium`", "Premium decorator for APIs that require premium access level.\n<END>", "<BEGIN>\n## `make_retrieveParameters`", "Create retrieve parameters d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query API. Each 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 query API. Each 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...
Query Web of Science and XML query results with multiple requests.
"Query Web of Science and XML query results with multiple requests."
53
false
enricobacis/wos
query
26,807
LDU_FT/Fizzadar/pydocs/_write_docs
LDU_FT
[ "<BEGIN>\n## `parse_module`", "Parse a module's attributes and generate a markdown document.\n<END>", "<BEGIN>\n## `_parse_module_list`", "Loop through all the modules and parse them.\n<END>", "<BEGIN>\n## `_build_module_list`", "Builds a list of python modules in the current directory.\n<END>", "<BEGIN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write_docs API. 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 _write_docs API. 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...
Write the document meta to our output location.
"Write the document meta to our output location."
13
false
Fizzadar/pydocs
_write_docs
26,808
LDU_FT/PBR/MQ2/read_input_file
LDU_FT
[ "<BEGIN>\n## `add_qtl_to_marker`", "Add the number of QTLs found for a given marker.", " :arg marker, the marker we are looking for the QTL's.\n :arg qtls, the list of all QTLs found.\n<END>", "<BEGIN>\n## `add_qtl_to_map`", "This function adds to a genetic map for each marker the number\n of signi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_input_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 e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_input_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 e...
Reads a given inputfile (tab delimited) and returns a matrix (list of list). arg: filename, the complete path to the inputfile to read
"Reads a given inputfile (tab delimited) and returns a matrix\n (list of list).\n arg: filename, the complete path to the inputfile to read"
98
false
PBR/MQ2
read_input_file
26,809
LDU_FT/RockFeng0/rtsf-web/DyJsonData
LDU_FT
[ "<BEGIN>\n## `get_remote_executors`", "Get remote hosts from Selenium Grid Hub Console\r\n @param hub_ip: hub ip of selenium grid hub\r\n @param port: hub port of selenium grid hub\n<END>", "<BEGIN>\n## `gen_remote_driver`", "Generate remote drivers with desired capabilities(self.__caps) and com...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the DyJsonData API. 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 DyJsonData API. 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...
set dynamic value from the json data of response @note: 获取innerHTML json的数据 如, <html><body>{ "code": 1,"desc": "成功"}</body></html> @param name: glob parameter name @param sequence: sequence for the json e.g. result={"a":1, "b":[1,2,3,4], ...
"set dynamic value from the json data of response\r\n @note: 获取innerHTML json的数据 如, <html><body>{ \"code\": 1,\"desc\": \"成功\"}</body></html>\r\n @param name: glob parameter name\r\n @param sequence: sequence for the json\r\n e.g.\r\n result={\"a\":1,\r\n \"b\...
37
false
RockFeng0/rtsf-web
DyJsonData
26,810
LDU_FT/remram44/usagestats/write_config
LDU_FT
[ "<BEGIN>\n## `OPERATING_SYSTEM`", "General information about the operating system.", " This is a flag you can pass to `Stats.submit()`.\n<END>", "<BEGIN>\n## `SESSION_TIME`", "Total time of this session.", " Reports the time elapsed from the construction of the `Stats` object to\n this `submit()`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_config API. 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...
Writes the configuration. This method can be overloaded to integrate with your application's own configuration mechanism. By default, a single 'status' file is written in the reports' directory, containing either ``ENABLED`` or ``DISABLED``; if the file doesn't exist, `UNSET` is assumed...
"Writes the configuration.\n\n This method can be overloaded to integrate with your application's own\n configuration mechanism. By default, a single 'status' file is written\n in the reports' directory, containing either ``ENABLED`` or\n ``DISABLED``; if the file doesn't exist, `UNSET` is a...
32
false
remram44/usagestats
write_config
26,811
LDU_FT/TomasTomecek/sen/net
LDU_FT
[ "<BEGIN>\n## `quit`", "This could be called from another thread, so let's do this via alarm\n<END>", "<BEGIN>\n## `_set_main_widget`", "add provided widget to widget list and display it", " :param widget:\n :return:\n<END>", "<BEGIN>\n## `display_buffer`", "display provided buffer", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the net API. Each 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 net API. Each 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...
get ACTIVE port mappings of a container :return: dict: { "host_port": "container_port" }
"get ACTIVE port mappings of a container\n\n :return: dict:\n {\n \"host_port\": \"container_port\"\n }"
85
false
TomasTomecek/sen
net
26,812
LDU_FT/dustinmm80/healthy/find_files
LDU_FT
[ "<BEGIN>\n## `score`", "Runs pylint on a package and returns a score\n Lower score is better", " :param package_path: path of the package to score\n :return: number of score\n<END>", "<BEGIN>\n## `parse_pylint_output`", "Parses pylint output, counting number of errors, conventions, etc\n :param ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_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 extrac...
Recusively finds files in a directory re :param directory: base directory :param pattern: wildcard pattern :return: generator with filenames matching pattern
"Recusively finds files in a directory re\n :param directory: base directory\n :param pattern: wildcard pattern\n :return: generator with filenames matching pattern"
37
false
dustinmm80/healthy
find_files
26,813
LDU_FT/indico/indico-plugins/get_json_from_remote_server
LDU_FT
[ "<BEGIN>\n## `available_backends`", "Lists the currently available backend types\n<END>", "<BEGIN>\n## `initial_export`", "Performs the initial data export for an agent\n<END>", "<BEGIN>\n## `get_result`", "Perform the call and return the graph data", " :return: Encoded PNG graph data string to b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_json_from_remote_server API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_json_from_remote_server API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Safely manage calls to the remote server by encapsulating JSON creation from Piwik data.
"Safely manage calls to the remote server by encapsulating JSON creation\n from Piwik data."
173
false
indico/indico-plugins
get_json_from_remote_server
26,814
LDU_FT/noxdafox/vminspect/compare_values
LDU_FT
[ "<BEGIN>\n## `keys`", "Iterates over the hive's keys.", " Yields WinRegKey namedtuples containing:", " path: path of the key \"RootKey\\\\Key\\\\...\"\n timestamp: date and time of last modification\n values: list of values ((\"ValueKey\", \"ValueType\", ValueValue), .....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compare_values API. 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 compare_values API. 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...
Compares all the values of a single registry key.
"Compares all the values of a single registry key."
123
false
noxdafox/vminspect
compare_values
26,815
LDU_FT/raphaelm/python-sepaxml/_add_non_batch
LDU_FT
[ "<BEGIN>\n## `check_payment`", "Check the payment for required fields and validity.\n @param payment: The payment dict\n @return: True if valid, error string if invalid paramaters where\n encountered.\n<END>", "<BEGIN>\n## `add_payment`", "Function to add payments\n @param payment:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_non_batch API. 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 _add_non_batch API. 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...
Method to add a transaction as non batch, will fold the transaction together with the payment info node and append to the main xml.
"Method to add a transaction as non batch, will fold the transaction\n together with the payment info node and append to the main xml."
45
false
raphaelm/python-sepaxml
_add_non_batch
26,816
LDU_FT/pletzer/pnumpy/extract
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 extract API. Each 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 extract API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Extraction operation @param displacement vector in index space @return the part of the domain that is exposed by the shift
"Extraction operation\n @param displacement vector in index space\n @return the part of the domain that is exposed by the shift"
54
false
pletzer/pnumpy
extract
26,817
LDU_FT/prechelt/typecheck-decorator/_is_possible_subclass
LDU_FT
[ "<BEGIN>\n## `_is_possible_subclass`", "Like issubclass(subtype, supertype) except that TypeVars\n are not taken into account.\n<END>", "<BEGIN>\n## `check`", "See whether the TypeVar is bound for the first time\n or is met with _exactly_ the same type as previously.\n That type must also...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_possible_subclass 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 _is_possible_subclass API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Like issubclass(subtype, supertype) except that TypeVars are not taken into account.
"Like issubclass(subtype, supertype) except that TypeVars\n are not taken into account."
18
false
prechelt/typecheck-decorator
_is_possible_subclass
26,818
LDU_FT/Fantomas42/mots-vides/_get_stop_words
LDU_FT
[ "<BEGIN>\n## `cmdline`", "Script for merging different collections of stop words.\n<END>", "<BEGIN>\n## `get_stop_words`", "Returns a StopWord object initialized with the stop words collection\n requested by ``language``.\n If the requested language is not available a StopWordError is raised.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_stop_words API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_stop_words API. 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...
Internal method for getting the stop words collections and raising errors.
"Internal method for getting the stop words collections\n and raising errors."
14
false
Fantomas42/mots-vides
_get_stop_words
26,819
LDU_FT/Frojd/Fabrik/sync_local_to_remote
LDU_FT
[ "<BEGIN>\n## `backup_db`", "Backup database and associate it with current release\n<END>", "<BEGIN>\n## `restore_db`", "Restores backup back to version, uses current version by default.\n<END>", "<BEGIN>\n## `init_tasks`", "Performs basic setup before any of the tasks are run. All tasks needs to\n run ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sync_local_to_remote 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 sync_local_to_remote API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Sync your local postgres database with remote Example: fabrik prod sync_local_to_remote:force=yes
"Sync your local postgres database with remote\n\n Example:\n fabrik prod sync_local_to_remote:force=yes"
23
false
Frojd/Fabrik
sync_local_to_remote
26,820
LDU_FT/DEIB-GECO/PyGMQL/to_dataset_files
LDU_FT
[ "<BEGIN>\n## `preprocess_path`", "Given a dataset path, the following structure is to be expected:\n - path/\n - files/\n - S_00000.gdm\n - S_00000.gdm.meta\n - S_00001.gdm\n - S_00001.gdm.meta\n - ...\n - ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_dataset_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 ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_dataset_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 ...
Save the GDataframe to a local or remote location :param local_path: a local path to the folder in which the data must be saved :param remote_path: a remote dataset name that wants to be used for these data :return: None
"Save the GDataframe to a local or remote location\n\n :param local_path: a local path to the folder in which the data must be saved\n :param remote_path: a remote dataset name that wants to be used for these data\n :return: None"
422
false
DEIB-GECO/PyGMQL
to_dataset_files
26,821
LDU_FT/shtalinberg/django-actions-logger/action_log_update
LDU_FT
[ "<BEGIN>\n## `create_log_action`", "Helper method to create a new log entry.\n This method automatically populates some fields when no explicit value is given.\n :param instance: The model instance to log a change for.\n :type instance: Model\n :param kwargs: Field overrides for the :p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the action_log_update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the action_log_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...
Signal receiver that creates a log entry when a model instance is changed and saved to the database. Direct use is discouraged, connect your model through :py:func:`actionslog.registry.register` instead.
"Signal receiver that creates a log entry when a model instance is changed and saved to the database.\n\n Direct use is discouraged, connect your model through :py:func:`actionslog.registry.register` instead."
31
false
shtalinberg/django-actions-logger
action_log_update
26,822
LDU_FT/maxpumperla/elephas/get_nd4j_dtype
LDU_FT
[ "<BEGIN>\n## `add_params`", "Add two lists of parameters one by one", " :param param_list_left: list of numpy arrays\n :param param_list_right: list of numpy arrays\n :return: list of numpy arrays\n<END>", "<BEGIN>\n## `subtract_params`", "Subtract two lists of parameters", " :param param_list...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_nd4j_dtype API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_nd4j_dtype API. 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...
Gets the equivalent nd4j data type for a given numpy data type. # Arguments np_dtype: Numpy data type. One of ['float64', 'float32', 'float16']
"Gets the equivalent nd4j data type\n for a given numpy data type.\n # Arguments\n np_dtype: Numpy data type. One of\n ['float64', 'float32', 'float16']"
87
false
maxpumperla/elephas
get_nd4j_dtype
26,823
LDU_FT/Kortemme-Lab/klab/get_events
LDU_FT
[ "<BEGIN>\n## `retrieve`", "Creates a PDBML object by using a cached copy of the files if they exists or by retrieving the files from the RCSB.\n<END>", "<BEGIN>\n## `parse_deprecation`", "Checks to see if the PDB file has been deprecated and, if so, what the new ID is.\n<END>", "<BEGIN>\n## `parse_atoms`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_events API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_events API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
A wrapper for events().list. Returns the events from the calendar within the specified times. Some of the interesting fields are: description, end, htmlLink, location, organizer, start, summary Note: "Cancelled instances of recurring events (but not the underlying recurring event) will ...
"A wrapper for events().list. Returns the events from the calendar within the specified times. Some of the interesting fields are:\n description, end, htmlLink, location, organizer, start, summary\n\n Note: \"Cancelled instances of recurring events (but not the underlying recurring event) ...
725
false
Kortemme-Lab/klab
get_events
26,824
LDU_FT/KelSolaar/Umbra/checked
LDU_FT
[ "<BEGIN>\n## `restore_geometry_on_layout_change`", "Setter for **self.__restore_geometry_on_layout_change** attribute.", " :param value: Attribute value.\n :type value: bool\n<END>", "<BEGIN>\n## `get`", "Returns given layout value.", " :param layout: Layout name.\n :type layou...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the checked API. Each 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 checked API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Setter for **self.__checked** attribute. :param value: Attribute value. :type value: bool
"Setter for **self.__checked** attribute.\n\n :param value: Attribute value.\n :type value: bool"
1,432
true
KelSolaar/Umbra
checked
26,825
LDU_FT/bashu/django-watermark/generate_filename
LDU_FT
[ "<BEGIN>\n## `watermark`", "Returns the URL to a watermarked copy of the image specified.\n<END>", "<BEGIN>\n## `_get_filesystem_path`", "Makes a filesystem path from the specified URL path\n<END>", "<BEGIN>\n## `generate_filename`", "Comes up with a good filename for the watermarked image\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_filename API. 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 generate_filename API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Comes up with a good filename for the watermarked image
"Comes up with a good filename for the watermarked image"
18
false
bashu/django-watermark
generate_filename
26,826
LDU_FT/Carreau/warn/warn
LDU_FT
[ "<BEGIN>\n## `warn_explicit`", "Low level implementation of the warning functionality.\n Duplicate of the standard library `warnings.warn_explicit`,\n except it accepts the following arguments:", " `emit_module`: regular expression that should match the module the warnings\n are emitt...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the warn API. Each 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 warn API. Each 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...
Issue a warning, or maybe ignore it or raise an exception. Duplicate of the standard library warn function except it takes the following argument: `emitstacklevel` : default to 1, number of stackframe to consider when matching the module that emits this warning.
"Issue a warning, or maybe ignore it or raise an exception.\n\n Duplicate of the standard library warn function except it takes the\n following argument:\n\n `emitstacklevel` : default to 1, number of stackframe to consider when\n matching the module that emits this warning."
14
false
Carreau/warn
warn
26,827
LDU_FT/cablehead/vanilla/consume
LDU_FT
[ "<BEGIN>\n## `Queue`", "::", " +----------+\n send --> | Queue |\n | (buffer) | --> recv\n +----------+", " A Queue may also only have exactly one sender and recver. A Queue however\n has a fifo buffer of a custom size. Sends to the Queue won't b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the consume API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the consume API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Creates a sink which consumes all values for this Recver. *f* is a callable which takes a single argument. All values sent on this Recver's Sender will be passed to *f* for processing. Unlike *map* however consume terminates this chain:: sender, recver = h.pipe @recver....
"Creates a sink which consumes all values for this Recver. *f* is a\n callable which takes a single argument. All values sent on this\n Recver's Sender will be passed to *f* for processing. Unlike *map*\n however consume terminates this chain::\n\n sender, recver = h.pipe\n\n ...
81
false
cablehead/vanilla
consume
26,828
LDU_FT/hanguokai/youku/my_info
LDU_FT
[ "<BEGIN>\n## `check_error`", "Youku error should return in json form, like:\n HTTP 400\n {\n \"error\":{\n \"code\":120010223,\n \"type\":\"UploadsException\",\n \"description\":\"Expired upload token\"\n }\n }", " But error also maybe in response url p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the my_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the my_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
doc: http://open.youku.com/docs/doc?id=23
"doc: http://open.youku.com/docs/doc?id=23"
120
false
hanguokai/youku
my_info
26,829
LDU_FT/tylertreat/BigQuery-Python/check_job
LDU_FT
[ "<BEGIN>\n## `get_client`", "Return a singleton instance of BigQueryClient. Either\n AssertionCredentials or a service account and private key combination need\n to be provided in order to authenticate requests to BigQuery.", " Parameters\n ----------\n project_id : str, optional\n The Big...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_job API. 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 check_job API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Return the state and number of results of a query by job id. Parameters ---------- job_id : str The job id of the query to check. Returns ------- tuple (``bool``, ``int``) Whether or not the query has completed and the total number of...
"Return the state and number of results of a query by job id.\n\n Parameters\n ----------\n job_id : str\n The job id of the query to check.\n\n Returns\n -------\n tuple\n (``bool``, ``int``) Whether or not the query has completed and the\n tot...
227
false
tylertreat/BigQuery-Python
check_job
26,830
LDU_FT/m32/endesive/split_multicell
LDU_FT
[ "<BEGIN>\n## `load_elements`", "Initialize the internal element structures\n<END>", "<BEGIN>\n## `parse_csv`", "Parse template format csv file and create elements dict\n<END>", "<BEGIN>\n## `split_multicell`", "Divide (\\n) a string using a given element width\n<END>", "<BEGIN>\n## `set_auto_page_break`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_multicell API. 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 split_multicell API. 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...
Divide (\n) a string using a given element width
"Divide (\\n) a string using a given element width"
23
false
m32/endesive
split_multicell
26,831
LDU_FT/Godley/MuseParse/GetID
LDU_FT
[ "<BEGIN>\n## `get`", "method to fetch all contents as a list", " :return: list\n<END>", "<BEGIN>\n## `toLily`", "Method which converts the object instance and its attributes to a string of lilypond code", " :return: str of lilypond code\n<END>", "<BEGIN>\n## `Find`", "method for finding ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetID API. Each 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 GetID API. Each 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...
handy method which pulls out a nested id: attrs refers to a dictionary holding the id tag refers to the tag we're looking at (e.g measure, part etc) val refers to the exact index of the tag we're looking for (e.g number, id etc) example case: attrs = self.attribs, tag=measure and val=number would return...
"handy method which pulls out a nested id: attrs refers to a dictionary holding the id\n tag refers to the tag we're looking at (e.g measure, part etc)\n val refers to the exact index of the tag we're looking for (e.g number, id etc)\n example case: attrs = self.attribs, tag=measure and val=number would\n r...
113
false
Godley/MuseParse
GetID
26,832
LDU_FT/openclimatedata/pymagicc/write
LDU_FT
[ "<BEGIN>\n## `get_magicc_region_to_openscm_region_mapping`", "Get the mappings from MAGICC to OpenSCM regions.", " This is not a pure inverse of the other way around. For example, we never provide\n \"GLOBAL\" as a MAGICC return value because it's unnecesarily confusing when we also\n have \"World\". F...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each 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 write API. Each 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...
Write a MAGICC input file from df and metadata Parameters ---------- magicc_input : :obj:`pymagicc.io.MAGICCData` MAGICCData object which holds the data to write filepath : str Filepath of the file to write to.
"Write a MAGICC input file from df and metadata\n\n Parameters\n ----------\n magicc_input : :obj:`pymagicc.io.MAGICCData`\n MAGICCData object which holds the data to write\n\n filepath : str\n Filepath of the file to write to."
245
false
openclimatedata/pymagicc
write
26,833
LDU_FT/Skype4Py/Skype4Py/get_skype
LDU_FT
[ "<BEGIN>\n## `AsyncSearchUsers`", "Asynchronously searches for Skype users.", " :Parameters:\n Target : unicode\n Search target (name or email address).", " :return: A search identifier. It will be passed along with the results to the\n `SkypeEvents.AsyncSearc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_skype API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_skype API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Returns Skype window ID or None if Skype not running.
"Returns Skype window ID or None if Skype not running."
213
false
Skype4Py/Skype4Py
get_skype
26,834
LDU_FT/planetlabs/planet-client-python/probably_wkt
LDU_FT
[ "<BEGIN>\n## `get_body`", "Get the response Body", " :returns Body: A Body object containing the response.\n<END>", "<BEGIN>\n## `last_modified`", "Read the last-modified header as a datetime, if present.\n<END>", "<BEGIN>\n## `write`", "Write the contents of the body to the optionally provided f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the probably_wkt API. 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 probably_wkt API. 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...
Quick check to determine if the provided text looks like WKT
"Quick check to determine if the provided text looks like WKT"
129
false
planetlabs/planet-client-python
probably_wkt
26,835
LDU_FT/JensAstrup/pyOutlook/get_messages
LDU_FT
[ "<BEGIN>\n## `auto_reply_message`", "The account's Internal auto reply message. Setting the value will change the auto reply message of the\n account, automatically setting the status to enabled (but not altering the schedule).\n<END>", "<BEGIN>\n## `set_auto_reply`", "Set an automatic reply for the a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_messages API. 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_messages API. 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 first 10 messages in account, across all folders. Keyword Args: page (int): Integer representing the 'page' of results to fetch Returns: List[:class:`Message <pyOutlook.core.message.Message>`]
"Get first 10 messages in account, across all folders.\n\n Keyword Args:\n page (int): Integer representing the 'page' of results to fetch\n\n Returns:\n List[:class:`Message <pyOutlook.core.message.Message>`]"
99
false
JensAstrup/pyOutlook
get_messages
26,836
LDU_FT/gregreen/dustmaps/fetch
LDU_FT
[ "<BEGIN>\n## `ascii2h5`", "Converts from the original ASCII format of the Chen+ (2014) 3D dust map to\n the HDF5 format.", " Args:\n dat_fname (:obj:`str`): Filename of the original ASCII .dat file.\n h5_fname (:obj:`str`): Output filename to write the resulting HDF5 file to.\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch API. Each 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 fetch API. Each 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...
Downloads the Chen et al. (2014) dust map. Args: clobber (Optional[:obj:`bool`]): If ``True``, any existing file will be overwritten, even if it appears to match. If ``False`` (the default), :obj:`fetch()` will attempt to determine if the dataset already exists. This det...
"Downloads the Chen et al. (2014) dust map.\n\n Args:\n clobber (Optional[:obj:`bool`]): If ``True``, any existing file will be\n overwritten, even if it appears to match. If ``False`` (the\n default), :obj:`fetch()` will attempt to determine if the dataset\n already exists. T...
220
false
gregreen/dustmaps
fetch
26,837
LDU_FT/antiboredom/videogrep/frames_to_tc
LDU_FT
[ "<BEGIN>\n## `parse_auto_sub`", "Parses webvtt and returns timestamps for words and lines\n Tested on automatically generated subtitles from YouTube\n<END>", "<BEGIN>\n## `framerate`", "setter for the framerate attribute\n :param framerate:\n :return:\n<END>", "<BEGIN>\n## `frames_to_tc`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the frames_to_tc API. 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 frames_to_tc API. 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...
Converts frames back to timecode :returns str: the string representation of the current time code
"Converts frames back to timecode\n\n :returns str: the string representation of the current time code"
37
false
antiboredom/videogrep
frames_to_tc
26,838
LDU_FT/GeospatialPython/pyshp/iterRecords
LDU_FT
[ "<BEGIN>\n## `signed_area`", "Return the signed area enclosed by a ring using the linear time\r\n algorithm. A value >= 0 indicates a counter-clockwise oriented ring.\n<END>", "<BEGIN>\n## `as_dict`", "Returns this Record as a dictionary using the field names as keys\r\n :return: dict\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iterRecords API. 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 iterRecords API. 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...
Serves up records in a dbf file as an iterator. Useful for large shapefiles or dbf files.
"Serves up records in a dbf file as an iterator.\r\n Useful for large shapefiles or dbf files."
82
false
GeospatialPython/pyshp
iterRecords
26,839
LDU_FT/Robpol86/sphinxcontrib-versioning/get_params
LDU_FT
[ "<BEGIN>\n## `setup_logging`", "Configure console logging. Info and below go to stdout, others go to stderr.", " :param int verbose: Verbosity level. > 0 print debug statements. > 1 passed to sphinx-build.\n :param bool colors: Print color text in non-verbose mode.\n :param str name: Which logger name ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_params API. 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_params API. 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...
Sort order of options before displaying. :param click.core.Context ctx: Click context. :return: super() return value.
"Sort order of options before displaying.\n\n :param click.core.Context ctx: Click context.\n\n :return: super() return value."
172
false
Robpol86/sphinxcontrib-versioning
get_params
26,840
LDU_FT/cqlengine/cqlengine/_parse_filter_arg
LDU_FT
[ "<BEGIN>\n## `create_keyspace`", "creates a keyspace", " :param name: name of keyspace to create\n :param strategy_class: keyspace replication strategy class\n :param replication_factor: keyspace replication factor\n :param durable_writes: 1.2 only, write log is bypassed if set to False\n :param ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_filter_arg API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_filter_arg API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Parses a filter arg in the format: <colname>__<op> :returns: colname, op tuple
"Parses a filter arg in the format:\n <colname>__<op>\n :returns: colname, op tuple"
65
false
cqlengine/cqlengine
_parse_filter_arg
26,841
LDU_FT/ltalirz/aiida-phtools/main
LDU_FT
[ "<BEGIN>\n## `get_pore_surface_parameters`", "Get input parameters for pore surface binary.", " Get input parameters for pore_surface binary from zeo++ output,\n while keeping data provenance.\n<END>", "<BEGIN>\n## `main`", "Command line interface for testing and submitting calculations.", " Usag...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Command line interface for testing and submitting calculations. Usage: ./cli.py CODENAME COMPUTER_NAME CODENAME from "verdi code setup" COMPUTER_NAME from "verdi computer setup" This script extends submit.py, adding flexibility in the selected code/computer.
"Command line interface for testing and submitting calculations.\n\n Usage: ./cli.py CODENAME COMPUTER_NAME\n \n CODENAME from \"verdi code setup\"\n\n COMPUTER_NAME from \"verdi computer setup\"\n\n This script extends submit.py, adding flexibility in the selected code/computer."
29
false
ltalirz/aiida-phtools
main
26,842
LDU_FT/openxc/openxc-python/out_endpoint
LDU_FT
[ "<BEGIN>\n## `get`", "Return the latest measurement for the given class or None if nothing\n has been received from the vehicle.\n<END>", "<BEGIN>\n## `add_source`", "Add a vehicle data source to the instance.", " The Vehicle instance will be set as the callback of the source, and the\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the out_endpoint API. 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 out_endpoint API. 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...
Open a reference to the USB device's only OUT endpoint. This method assumes that the USB device configuration has already been set.
"Open a reference to the USB device's only OUT endpoint. This method\n assumes that the USB device configuration has already been set."
94
false
openxc/openxc-python
out_endpoint
26,843
LDU_FT/e-dard/postcodes/_lookup
LDU_FT
[ "<BEGIN>\n## `get`", "Request data associated with `postcode`.", " :param postcode: the postcode to search for. The postcode may \n contain spaces (they will be removed).", " :returns: a dict of the nearest postcode's data or None if no \n postcode data is found.\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _lookup API. Each 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 _lookup API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Checks for cached responses, before requesting from web-service
"Checks for cached responses, before requesting from \n web-service"
31
false
e-dard/postcodes
_lookup
26,844
LDU_FT/Robpol86/colorclass/bgblue
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 bgblue API. Each 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 bgblue API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Color-code entire string. :param str string: String to colorize. :param bool auto: Enable auto-color (dark/light terminal). :return: Class instance for colorized string. :rtype: Color
"Color-code entire string.\n\n :param str string: String to colorize.\n :param bool auto: Enable auto-color (dark/light terminal).\n\n :return: Class instance for colorized string.\n :rtype: Color"
191
false
Robpol86/colorclass
bgblue
26,845
LDU_FT/addisonlynch/iexfinance/get_balance_sheet
LDU_FT
[ "<BEGIN>\n## `_sanitize_dates`", "Return (datetime_start, datetime_end) tuple\r\n if start is None - default is 2015/01/01\r\n if end is None - default is today\n<END>", "<BEGIN>\n## `get_social_sentiment`", "Social Sentiment", " .. warning:: Unstable endpoint. May return unexpected results.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_balance_sheet API. 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_balance_sheet API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Balance Sheet Pulls balance sheet data. Available quarterly (4 quarters) and annually (4 years) Reference: https://iexcloud.io/docs/api/#balance-sheet Data Weighting: ``3000`` per symbol per period .. warning:: This endpoint is only available using IEX Cloud. See ...
"Balance Sheet\r\n\r\n Pulls balance sheet data. Available quarterly (4 quarters) and annually\r\n (4 years)\r\n\r\n Reference: https://iexcloud.io/docs/api/#balance-sheet\r\n\r\n Data Weighting: ``3000`` per symbol per period\r\n\r\n .. warning:: This endpoint is only available using...
129
false
addisonlynch/iexfinance
get_balance_sheet
26,846
LDU_FT/darothen/xbpch/open_bpchdataset
LDU_FT
[ "<BEGIN>\n## `from_model`", "Define a grid using the specifications of a given model.", " Parameters\n ----------\n model_name : string\n Name the model (see :func:`get_supported_models` for available\n model names).\n Supports multiple formats (e.g., 'GEOS5...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open_bpchdataset API. 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 open_bpchdataset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Open a GEOS-Chem BPCH file output as an xarray Dataset. Parameters ---------- filename : string Path to the output file to read in. {tracerinfo,diaginfo}_file : string, optional Path to the metadata "info" .dat files which are used to decipher the metadata corresponding to each ...
"Open a GEOS-Chem BPCH file output as an xarray Dataset.\n\n Parameters\n ----------\n filename : string\n Path to the output file to read in.\n {tracerinfo,diaginfo}_file : string, optional\n Path to the metadata \"info\" .dat files which are used to decipher\n the metadata correspondi...
122
false
darothen/xbpch
open_bpchdataset
26,847
LDU_FT/modlinltd/django-advanced-filters/get_fields_from_model
LDU_FT
[ "<BEGIN>\n## `changelist_view`", "Add advanced_filters form to changelist context\n<END>", "<BEGIN>\n## `filter_by_user`", "All filters that should be displayed to a user (by users/group)\n<END>", "<BEGIN>\n## `query`", "De-serialize, decode and return an ORM query stored in b64_query.\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fields_from_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fields_from_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Iterate over given <field> names (in "orm query" notation) and find the actual field given the initial <model>. If <field> is a tuple of the format ('field_name', 'Verbose name'), overwrite the field's verbose name with the given name for display purposes.
"Iterate over given <field> names (in \"orm query\" notation) and find\n the actual field given the initial <model>.\n\n If <field> is a tuple of the format ('field_name', 'Verbose name'),\n overwrite the field's verbose name with the given name for display\n purposes."
37
false
modlinltd/django-advanced-filters
get_fields_from_model
26,848
LDU_FT/marrow/util/partial
LDU_FT
[ "<BEGIN>\n## `pcwd`", "A decorator to provide the functionality of the\n PreserveWorkingDirectory context manager for functions and methods.\n<END>", "<BEGIN>\n## `cd`", "Change the current working directory within this context.", " Preserves the previous working directory and can be applied to remote...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the partial API. Each 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 partial API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Strip a prefix from the keys of another dictionary, returning a Bunch containing only valid key, value pairs.
"Strip a prefix from the keys of another dictionary, returning a Bunch containing only valid key, value pairs."
73
false
marrow/util
partial
26,849
LDU_FT/goerz/clusterjob/wait
LDU_FT
[ "<BEGIN>\n## `resource_headers`", "Given a :class:`~clusterjob.JobScript` instance, return a list of\n lines that encode the resource requirements, to be added at the top of\n the rendered job script\n<END>", "<BEGIN>\n## `replace_body_vars`", "Given a multiline string that is the body of the jo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Wait until the result is available or until roughly timeout seconds pass.
"Wait until the result is available or until roughly timeout seconds\n pass."
69
false
goerz/clusterjob
wait
26,850
LDU_FT/estnltk/estnltk/delete_right
LDU_FT
[ "<BEGIN>\n## `templatesCollector`", "leaves related articles and wikitables in place\n<END>", "<BEGIN>\n## `assert_legal_arguments`", "Assert that PrettyPrinter arguments are correct.", " Raises\n ------\n ValueError\n In case there are unknown arguments or a single layer is mapped to more t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_right API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_right API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
xxxxx yyyyy --------- xxxxx yyy
"xxxxx\n yyyyy\n ---------\n xxxxx\n yyy"
1,003
false
estnltk/estnltk
delete_right
26,851
LDU_FT/quasipedia/swaggery/operations
LDU_FT
[ "<BEGIN>\n## `operations`", "Decorator for marking Resource methods as HTTP operations.", " This decorator does a number of different things:\n - It transfer onto itself docstring and annotations from the decorated\n method, so as to be \"transparent\" with regards to introspection.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the operations API. 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 operations API. 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...
Decorator for marking Resource methods as HTTP operations. This decorator does a number of different things: - It transfer onto itself docstring and annotations from the decorated method, so as to be "transparent" with regards to introspection. - It tranform the method so as to make it a ...
"Decorator for marking Resource methods as HTTP operations.\n\n This decorator does a number of different things:\n - It transfer onto itself docstring and annotations from the decorated\n method, so as to be \"transparent\" with regards to introspection.\n - It tranform the method so as to ma...
67
false
quasipedia/swaggery
operations
26,852
LDU_FT/jbarlow83/OCRmyPDF/baseline
LDU_FT
[ "<BEGIN>\n## `re_symlink`", "Helper function: relinks soft symbolic link if necessary\n<END>", "<BEGIN>\n## `is_file_writable`", "Intentionally racy test if target is writable.", " We intend to write to the output file if and only if we succeed and\n can replace it atomically. Before doing the OCR wor...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the baseline API. 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 baseline API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns a tuple containing the baseline slope and intercept.
"Returns a tuple containing the baseline slope and intercept."
195
false
jbarlow83/OCRmyPDF
baseline
26,853
LDU_FT/zerok/zs.bibtex/validate
LDU_FT
[ "<BEGIN>\n## `register`", "Register a new type for an entry-type. The 2nd argument has to be a\n subclass of structures.Entry.\n<END>", "<BEGIN>\n## `validate`", "Validates each entry (passing the provided arguments down to them and\n also tries to resolve all cross-references between the entrie...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Checks if the Entry instance includes all the required fields of its type. If ``raise_unsupported`` is set to ``True`` it will also check for potentially unsupported types. If a problem is found, an InvalidStructure exception is raised.
"Checks if the Entry instance includes all the required fields of its\n type. If ``raise_unsupported`` is set to ``True`` it will also check\n for potentially unsupported types.\n\n If a problem is found, an InvalidStructure exception is raised."
21
false
zerok/zs.bibtex
validate
26,854
LDU_FT/shmir/PyTrafficGenerator/py_list_to_tcl_list
LDU_FT
[ "<BEGIN>\n## `new_log_file`", "Create new logger and log file from existing logger.", " The new logger will be create in the same directory as the existing logger file and will be named\n as the existing log file with the requested suffix.", " :param logger: existing logger\n :param suffix: string...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the py_list_to_tcl_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the py_list_to_tcl_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Convert Python list to Tcl list using Tcl interpreter. :param py_list: Python list. :type py_list: list :return: string representing the Tcl string equivalent to the Python list.
"Convert Python list to Tcl list using Tcl interpreter.\n\n :param py_list: Python list.\n :type py_list: list\n :return: string representing the Tcl string equivalent to the Python list."
50
false
shmir/PyTrafficGenerator
py_list_to_tcl_list
26,855
LDU_FT/fakedrake/overlay_parse/fit_overlays
LDU_FT
[ "<BEGIN>\n## `rx_int_extra`", "We didn't just match an int but the int is what we need.\n<END>", "<BEGIN>\n## `offset_overlays`", "Generate overlays after offset.\n :param text: The text to be searched.\n :param offset: Match starting that index. If none just search.\n :returns: An overla...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit_overlays API. 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 fit_overlays API. 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 an overlay thet fits the range [start, end).
"Get an overlay thet fits the range [start, end)."
35
false
fakedrake/overlay_parse
fit_overlays
26,856
LDU_FT/riga/scinum/split_value
LDU_FT
[ "<BEGIN>\n## `log`", "log(x, base=e)\n Logarithmic function.\n<END>", "<BEGIN>\n## `asin`", "asin(x)\n Trigonometric arc sin function.\n<END>", "<BEGIN>\n## `acos`", "acos(x)\n Trigonometric arc cos function.\n<END>", "<BEGIN>\n## `atan`", "tan(x)\n Trigonometric arc tan function.\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Splits a value *val* into its significand and decimal exponent (magnitude) and returns them in a 2-tuple. *val* might also be a numpy array. Example: .. code-block:: python split_value(1) # -> (1.0, 0) split_value(0.123) # -> (1.23, -1) split_value(-42.5) # -> (-4.25, 1) a...
"Splits a value *val* into its significand and decimal exponent (magnitude) and returns them in a\n 2-tuple. *val* might also be a numpy array. Example:\n\n .. code-block:: python\n\n split_value(1) # -> (1.0, 0)\n split_value(0.123) # -> (1.23, -1)\n split_value(-42.5) # -> (-4.25, 1)\n\...
90
false
riga/scinum
split_value
26,857
LDU_FT/mozilla/funfactory/create_virtualenv
LDU_FT
[ "<BEGIN>\n## `clone_repo`", "Clone the Playdoh repo into a custom path.\n<END>", "<BEGIN>\n## `init_pkg`", "Initializes a custom named package module.", " This works by replacing all instances of 'project' with a custom module\n name.\n<END>", "<BEGIN>\n## `create_settings`", "Creates a local sett...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_virtualenv API. 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 create_virtualenv API. 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 virtualenv within which to install your new application.
"Creates a virtualenv within which to install your new application."
52
false
mozilla/funfactory
create_virtualenv
26,858
LDU_FT/codelv/enaml-native-cli/find_packages
LDU_FT
[ "<BEGIN>\n## `find_commands`", "Finds commands by finding the subclasses of Command\n<END>", "<BEGIN>\n## `link`", "Link the package in the current directory.\n<END>", "<BEGIN>\n## `is_settings_linked`", "Returns true if the \"include ':<project>'\" line exists in the file\n<END>", "<BEGIN>\n## `is_buil...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_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 ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_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 ext...
Find all java files matching the "*Package.java" pattern within the given enaml package directory relative to the java source path.
"Find all java files matching the \"*Package.java\" pattern within\n the given enaml package directory relative to the java source path."
36
false
codelv/enaml-native-cli
find_packages
26,859
LDU_FT/daler/metaseq/cmap_center_adjust
LDU_FT
[ "<BEGIN>\n## `requirements_check`", "Ensure we have programs needed to download/manipulate the data\n<END>", "<BEGIN>\n## `_up_to_date`", "Make sure md5sum(fn) == md5, and if not, delete `fn`.\n<END>", "<BEGIN>\n## `logged_command`", "helper function to log a command and then run it\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cmap_center_adjust 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 cmap_center_adjust 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 a new colormap based on the one given but adjusted so that the old center point higher (>0.5) or lower (<0.5) :param cmap: colormap instance (e.g., cm.jet) :param center_ratio:
"Returns a new colormap based on the one given\n but adjusted so that the old center point higher\n (>0.5) or lower (<0.5)\n\n :param cmap: colormap instance (e.g., cm.jet)\n :param center_ratio:"
400
false
daler/metaseq
cmap_center_adjust
26,860
LDU_FT/onelogin/python-saml/get_slo_url
LDU_FT
[ "<BEGIN>\n## `is_valid`", "Validates the response object.", " :param request_data: Request Data\n :type request_data: dict", " :param request_id: Optional argument. The ID of the AuthNRequest sent by this SP to the IdP\n :type request_id: string", " :param raise_exceptions...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_slo_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_slo_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 extra...
Gets the SLO URL. :returns: An URL, the SLO endpoint of the IdP :rtype: string
"Gets the SLO URL.\n\n :returns: An URL, the SLO endpoint of the IdP\n :rtype: string"
229
false
onelogin/python-saml
get_slo_url
26,861
LDU_FT/konstantinstadler/country_converter/EU27as
LDU_FT
[ "<BEGIN>\n## `agg_conc`", "Builds an aggregation concordance dict, vec or matrix", " Parameters\n ----------", " original_countries: list or str\n List of countries to aggregated, also accepts and valid column name of\n CountryConverter.data", " aggregates: list of dict or str\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the EU27as API. Each 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 EU27as API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Return EU27 countries in the specified classification Parameters ---------- to : str, optional Output classification (valid str for an index of country_data file), default: name_short Returns ------- Pandas DataFrame
"Return EU27 countries in the specified classification\n\n Parameters\n ----------\n to : str, optional\n Output classification (valid str for an index of\n country_data file), default: name_short\n\n Returns\n -------\n Pandas DataFrame"
99
false
konstantinstadler/country_converter
EU27as
26,862
LDU_FT/oasis-open/cti-stix-validator/relationships_strict
LDU_FT
[ "<BEGIN>\n## `pretty_error`", "Return an error message that is easier to read and more useful.\n May require updating if the schemas change significantly.\n<END>", "<BEGIN>\n## `_iter_errors_custom`", "Perform additional validation not possible merely with JSON schemas.", " Args:\n instance: Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the relationships_strict 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 relationships_strict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Ensure that only the relationship types defined in the specification are used.
"Ensure that only the relationship types defined in the specification are\n used."
220
false
oasis-open/cti-stix-validator
relationships_strict
26,863
LDU_FT/locuslab/qpth/forward
LDU_FT
[ "<BEGIN>\n## `forward`", "Solve a batch of QPs.", " This function solves a batch of QPs, each optimizing over\n `nz` variables and having `nineq` inequality constraints\n and `neq` equality constraints.\n The optimization problem for each instance in the batch\n (dropping inde...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the forward API. Each 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 forward API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Solve a batch of QPs. This function solves a batch of QPs, each optimizing over `nz` variables and having `nineq` inequality constraints and `neq` equality constraints. The optimization problem for each instance in the batch (dropping indexing from the notation) is of the form ...
"Solve a batch of QPs.\n\n This function solves a batch of QPs, each optimizing over\n `nz` variables and having `nineq` inequality constraints\n and `neq` equality constraints.\n The optimization problem for each instance in the batch\n (dropping indexing from the notation) is of the...
22
false
locuslab/qpth
forward
26,864
LDU_FT/Alexis-benoist/eralchemy/intermediary_to_dot
LDU_FT
[ "<BEGIN>\n## `filter_lines_from_comments`", "Filter the lines from comments and non code lines.\n<END>", "<BEGIN>\n## `_check_no_current_table`", "Raises exception if we try to add a relation or a column\n with no current table.\n<END>", "<BEGIN>\n## `markdown_file_to_intermediary`", "Parse a file and ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the intermediary_to_dot 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 intermediary_to_dot 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...
Save the intermediary representation to dot format.
"Save the intermediary representation to dot format."
39
false
Alexis-benoist/eralchemy
intermediary_to_dot
26,865
LDU_FT/arokem/python-matlab-bridge/encode_multipart_formdata
LDU_FT
[ "<BEGIN>\n## `split_pulls`", "split a list of closed issues into non-PR Issues and Pull Requests\n<END>", "<BEGIN>\n## `issues_closed_since`", "Get all issues closed since a particular point in time. period\n can either be a datetime object, or a timedelta object. In the\n latter case, it is used as a t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode_multipart_formdata API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode_multipart_formdata API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Encode a dictionary of ``fields`` using the multipart/form-data mime format. :param fields: Dictionary of fields or list of (key, value) field tuples. The key is treated as the field name, and the value as the body of the form-data bytes. If the value is a tuple of two elements, then the f...
"Encode a dictionary of ``fields`` using the multipart/form-data mime format.\n\n :param fields:\n Dictionary of fields or list of (key, value) field tuples. The key is\n treated as the field name, and the value as the body of the form-data\n bytes. If the value is a tuple of two elements, then...
58
false
arokem/python-matlab-bridge
encode_multipart_formdata
26,866
LDU_FT/allenai/allennlp/_check_state_denotations
LDU_FT
[ "<BEGIN>\n## `forward`", "Parameters\n ----------\n inputs : ``PackedSequence``, required.\n A batch first ``PackedSequence`` to run the stacked LSTM over.\n initial_state : Tuple[torch.Tensor, torch.Tensor], optional, (default = None)\n A tuple (state, memory) represent...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_state_denotations 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 _check_state_denotations API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Returns whether action history in the state evaluates to the correct denotations over all worlds. Only defined when the state is finished.
"Returns whether action history in the state evaluates to the correct denotations over all\n worlds. Only defined when the state is finished."
1,296
true
allenai/allennlp
_check_state_denotations
26,867
LDU_FT/Groundworkstech/pybfd/start_smart_disassemble
LDU_FT
[ "<BEGIN>\n## `generate_source_files`", "Genertate source files to be used during the compile process of the\n extension module.\n This is better than just hardcoding the values on python files because\n header definitions might change along differente Binutils versions and\n we'll be a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_smart_disassemble 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 start_smart_disassemble API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Invok the callback function for every instruction disassembled at the previously initialized smart session with the given offset from the start address supplied (also in the initialization).
"Invok the callback function for every instruction disassembled at the\n previously initialized smart session with the given offset from the\n start address supplied (also in the initialization)."
96
false
Groundworkstech/pybfd
start_smart_disassemble
26,868
LDU_FT/swistakm/graceful/max_validator
LDU_FT
[ "<BEGIN>\n## `authentication_required`", "Ensure that user is authenticated otherwise return ``401 Unauthorized``.", " If request fails to authenticate this authorization hook will also\n include list of ``WWW-Athenticate`` challenges.", " Args:\n req (falcon.Request): the request object.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the max_validator API. 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 max_validator API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Return validator function that ensures upper bound of a number. Result validation function will validate the internal value of resource instance field with the ``value >= min_value`` check. Args: max_value: maximum value for new validator
"Return validator function that ensures upper bound of a number.\n\n Result validation function will validate the internal value of resource\n instance field with the ``value >= min_value`` check.\n\n Args:\n max_value: maximum value for new validator"
209
false
swistakm/graceful
max_validator
26,869
LDU_FT/quantmind/pulsar/resume_writing
LDU_FT
[ "<BEGIN>\n## `slugify`", "Normalizes string, removes non-alpha characters,\n and converts spaces to ``separator`` character\n<END>", "<BEGIN>\n## `multi_bulk`", "Multi bulk encoding for list/tuple ``args``\n<END>", "<BEGIN>\n## `is_mainthread`", "Check if thread is the main thread.", " If ``thread...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resume_writing API. 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 resume_writing API. 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...
Resume writing. Successive calls to this method will fails unless :meth:`pause_writing` is called first.
"Resume writing.\n\n Successive calls to this method will fails unless\n :meth:`pause_writing` is called first."
643
false
quantmind/pulsar
resume_writing
26,870
LDU_FT/theno/fabsetup/pyenv
LDU_FT
[ "<BEGIN>\n## `create_readme_with_long_description`", "Try to convert content of README.md into rst format using pypandoc,\n write it into README and return it.", " If pypandoc cannot be imported write content of README.md unchanged into\n README and return it.\n<END>", "<BEGIN>\n## `openssl`", "Ins...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pyenv API. Each 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 pyenv API. Each 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...
Install or update the pyenv python environment. Checkout or update the pyenv repo at ~/.pyenv and enable the pyenv. Pyenv wird also als Github-Repo "installiert" unter ~/.pyenv More info: * https://github.com/yyuu/pyenv * https://github.com/yyuu/pyenv/wiki/Common-build-problems#requirements ...
"Install or update the pyenv python environment.\n\n Checkout or update the pyenv repo at ~/.pyenv and enable the pyenv.\n Pyenv wird also als Github-Repo \"installiert\" unter ~/.pyenv\n\n More info:\n * https://github.com/yyuu/pyenv\n * https://github.com/yyuu/pyenv/wiki/Common-build-problems#require...
226
false
theno/fabsetup
pyenv
26,871
LDU_FT/biolink/biolink-model/gen_multivalued_slot
LDU_FT
[ "<BEGIN>\n## `cli`", "Generate JSON Schema representation of a biolink model\n<END>", "<BEGIN>\n## `root_representer`", "YAML callback -- used to filter out empty values (None, {}, [] and false)", " @param dumper: data dumper\n @param data: data to be dumped\n @return:\n<END>", "<BEGIN>\n## `cli`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_multivalued_slot 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 gen_multivalued_slot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Generate a shape that represents an RDF list of target_type @param target_name_base: @param target_type: @return:
"Generate a shape that represents an RDF list of target_type\n\n @param target_name_base:\n @param target_type:\n @return:"
119
false
biolink/biolink-model
gen_multivalued_slot
26,872