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/miyakogi/wdom/on_event_pre
LDU_FT
[ "<BEGIN>\n## `get_class_list`", "Get class-level class list, including all super class's.\n<END>", "<BEGIN>\n## `removeClass`", "[Not Standard] Remove classes from this node.\n<END>", "<BEGIN>\n## `appendChild`", "Append child node at the last of child nodes.", " If this instance is connected to ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_event_pre API. 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 on_event_pre API. 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...
Set values set on browser before calling event listeners.
"Set values set on browser before calling event listeners."
233
false
miyakogi/wdom
on_event_pre
26,173
LDU_FT/thoth-station/solver/get_ecosystem_solver
LDU_FT
[ "<BEGIN>\n## `compare_version`", "Compare two version strings.", " :param a: str\n :param b: str\n :return: -1 / 0 / 1\n<END>", "<BEGIN>\n## `get_ecosystem_solver`", "Get Solver subclass instance for particular ecosystem.", " :param ecosystem_name: name of ecosystem for which solver should be ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ecosystem_solver 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_ecosystem_solver API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Get Solver subclass instance for particular ecosystem. :param ecosystem_name: name of ecosystem for which solver should be get :param parser_kwargs: parser key-value arguments for constructor :param fetcher_kwargs: fetcher key-value arguments for constructor :return: Solver
"Get Solver subclass instance for particular ecosystem.\n\n :param ecosystem_name: name of ecosystem for which solver should be get\n :param parser_kwargs: parser key-value arguments for constructor\n :param fetcher_kwargs: fetcher key-value arguments for constructor\n :return: Solver"
41
false
thoth-station/solver
get_ecosystem_solver
26,174
LDU_FT/pkkid/python-plexapi/deleteMediaPreviews
LDU_FT
[ "<BEGIN>\n## `registerPlexObject`", "Registry of library types we may come across when parsing XML. This allows us to\n define a few helper functions to dynamically convery the XML into objects. See\n buildItem() below for an example.\n<END>", "<BEGIN>\n## `cast`", "Cast the specified value to t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deleteMediaPreviews 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 deleteMediaPreviews 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...
Delete the preview thumbnails for items in this library. This cannot be undone. Recreating media preview files can take hours or even days.
"Delete the preview thumbnails for items in this library. This cannot\n be undone. Recreating media preview files can take hours or even days."
372
false
pkkid/python-plexapi
deleteMediaPreviews
26,175
LDU_FT/kobejohn/PQHelper/_summarize_action
LDU_FT
[ "<BEGIN>\n## `_create_board_image_cv`", "Return a cv image of the board or empty board if not provided.\n<END>", "<BEGIN>\n## `_draw_swap_cv`", "Add a white tile border to indicate the swap.\n<END>", "<BEGIN>\n## `_convert_cv_to_tk`", "Convert an OpenCV image to a tkinter PhotoImage\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _summarize_action API. 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 _summarize_action API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Return a dictionary with various information about this root_action. Note: Scoring assumes that each actor makes the "best" choices in their turn based on the simulation available.
"Return a dictionary with various information about this root_action.\n\n Note:\n Scoring assumes that each actor makes the \"best\" choices in their turn\n based on the simulation available."
114
false
kobejohn/PQHelper
_summarize_action
26,176
LDU_FT/barrust/pyspellchecker/correction
LDU_FT
[ "<BEGIN>\n## `export`", "Export the word frequency list for import in the future", " Args:\n filepath (str): The filepath to the exported dictionary\n encoding (str): The encoding of the resulting output\n gzipped (bool): Whether to gzip the dictionary or...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the correction API. 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 correction API. 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...
The most probable correct spelling for the word Args: word (str): The word to correct Returns: str: The most likely candidate
"The most probable correct spelling for the word\n\n Args:\n word (str): The word to correct\n Returns:\n str: The most likely candidate"
57
false
barrust/pyspellchecker
correction
26,177
LDU_FT/dddomodossola/remi/rhombus_polygon
LDU_FT
[ "<BEGIN>\n## `add_coord`", "Adds a coord to the polyline and creates another circle\n<END>", "<BEGIN>\n## `set_stroke`", "Sets the stroke properties.\r", " Args:\r\n width (int): stroke width\r\n color (str): stroke color\n<END>", "<BEGIN>\n## `add_arrow_coord`", "Determine ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rhombus_polygon API. 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 rhombus_polygon API. 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...
Draw a rhombus polygon. Horizontal size (-hor_size, +hor_size) and vertical size (-vert_size, +vert_size). with its center on position X,Y and with its str_id as text in the middle.
"Draw a rhombus polygon.\r\n Horizontal size (-hor_size, +hor_size) and\r\n vertical size (-vert_size, +vert_size).\r\n with its center on position X,Y\r\n and with its str_id as text in the middle."
195
false
dddomodossola/remi
rhombus_polygon
26,178
LDU_FT/bitshares/uptick/print_table
LDU_FT
[ "<BEGIN>\n## `orderbook`", "Show the orderbook of a particular market\n<END>", "<BEGIN>\n## `buy`", "Buy a specific asset at a certain rate against a base asset\n<END>", "<BEGIN>\n## `cancelall`", "Cancel all orders of an account in a market\n<END>", "<BEGIN>\n## `spread`", "Place multiple orders", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_table API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_table API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
if csv: import csv t = csv.writer(sys.stdout, delimiter=";") t.writerow(header) else: t = PrettyTable(header) t.align = "r" t.align["details"] = "l"
"if csv:\n import csv\n t = csv.writer(sys.stdout, delimiter=\";\")\n t.writerow(header)\n else:\n t = PrettyTable(header)\n t.align = \"r\"\n t.align[\"details\"] = \"l\""
50
false
bitshares/uptick
print_table
26,179
LDU_FT/cathalgarvey/deadlock/round_to_x_digits
LDU_FT
[ "<BEGIN>\n## `get_slanted_adjacent_coords`", "returns the six adjacent coordinates on a standard keyboard, where each row is slanted to the right from the last.\n adjacencies are clockwise, starting with key to the left, then two keys above, then right key, then two keys below.\n (that is, only near-diagona...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the round_to_x_digits API. 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 round_to_x_digits API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Returns 'number' rounded to 'digits' digits.
"Returns 'number' rounded to 'digits' digits."
73
false
cathalgarvey/deadlock
round_to_x_digits
26,180
LDU_FT/AlpacaDB/selectivesearch/_sim_texture
LDU_FT
[ "<BEGIN>\n## `_generate_segments`", "segment smallest regions by the algorithm of Felzenswalb and\n Huttenlocher\n<END>", "<BEGIN>\n## `_sim_colour`", "calculate the sum of histogram intersection of colour\n<END>", "<BEGIN>\n## `_sim_texture`", "calculate the sum of histogram intersection of textur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sim_texture API. 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 _sim_texture API. 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...
calculate the sum of histogram intersection of texture
"calculate the sum of histogram intersection of texture"
23
false
AlpacaDB/selectivesearch
_sim_texture
26,181
LDU_FT/utiasSTARS/pykitti/_load_calib
LDU_FT
[ "<BEGIN>\n## `to_array_list`", "Converts a dataframe to a list of arrays, with one array for every unique index entry.\n Index is assumed to be 0-based contiguous. If there is a missing index entry, an empty\n numpy array is returned for it.\n Elements in the arrays are sorted by their id.\n :param df...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_calib API. 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 _load_calib API. 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...
Load and compute intrinsic and extrinsic calibration parameters.
"Load and compute intrinsic and extrinsic calibration parameters."
25
false
utiasSTARS/pykitti
_load_calib
26,182
LDU_FT/cknoll/ipydex/_get_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 _get_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_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 extrac...
Convenience function to extract multiple attributes at once :param names: string of names separated by comma or space :return:
"Convenience function to extract multiple attributes at once\n\n :param names: string of names separated by comma or space\n :return:"
45
false
cknoll/ipydex
_get_attrs
26,183
LDU_FT/chriso/gauged/get_block
LDU_FT
[ "<BEGIN>\n## `insert_keys`", "Insert keys into a table which assigns an ID\n<END>", "<BEGIN>\n## `replace_blocks`", "Replace multiple blocks. blocks must be a list of tuples where\n each tuple consists of (namespace, offset, key, data)\n<END>", "<BEGIN>\n## `remove_namespace`", "Remove all data ass...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extract...
Get the block identified by namespace, offset, key and value
"Get the block identified by namespace, offset, key and\n value"
62
false
chriso/gauged
get_block
26,184
LDU_FT/duguyue100/minesweeper/init_board
LDU_FT
[ "<BEGIN>\n## `ms_game_main`", "Main function for Mine Sweeper Game.", " Parameters\n ----------\n board_width : int\n the width of the board (> 0)\n board_height : int\n the height of the board (> 0)\n num_mines : int\n the number of mines, cannot be larger than\n (boa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_board API. 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 init_board API. 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...
Init a valid board by given settings. Parameters ---------- mine_map : numpy.ndarray the map that defines the mine 0 is empty, 1 is mine info_map : numpy.ndarray the map that presents to gamer 0-8 is number of mines in srrounding. ...
"Init a valid board by given settings.\n\n Parameters\n ----------\n mine_map : numpy.ndarray\n the map that defines the mine\n 0 is empty, 1 is mine\n info_map : numpy.ndarray\n the map that presents to gamer\n 0-8 is number of mines in srrounding...
34
false
duguyue100/minesweeper
init_board
26,185
LDU_FT/mikedh/trimesh/all_coplanar
LDU_FT
[ "<BEGIN>\n## `face_adjacency`", "Returns an (n,2) list of face indices.\n Each pair of faces in the list shares an edge, making them adjacent.", " Parameters\n ----------\n faces : (n, 3) int, or None\n List of vertex indices representing triangles\n mesh : Trimesh object\n If passe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all_coplanar API. 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 all_coplanar API. 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...
Check to see if a list of triangles are all coplanar Parameters ---------------- triangles: (n, 3, 3) float Vertices of triangles Returns --------------- all_coplanar : bool True if all triangles are coplanar
"Check to see if a list of triangles are all coplanar\n\n Parameters\n ----------------\n triangles: (n, 3, 3) float\n Vertices of triangles\n\n Returns\n ---------------\n all_coplanar : bool\n True if all triangles are coplanar"
2,650
true
mikedh/trimesh
all_coplanar
26,186
LDU_FT/HazyResearch/metal/rargmax
LDU_FT
[ "<BEGIN>\n## `plot_probabilities_histogram`", "Plot a histogram from a numpy array of probabilities", " Args:\n Y_p: An [n] or [n, 1] np.ndarray of probabilities (floats in [0,1])\n<END>", "<BEGIN>\n## `plot_predictions_histogram`", "Plot a histogram comparing int predictions vs true labels by cla...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rargmax API. Each 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 rargmax API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Argmax with random tie-breaking Args: x: a 1-dim numpy array Returns: the argmax index
"Argmax with random tie-breaking\n\n Args:\n x: a 1-dim numpy array\n Returns:\n the argmax index"
326
false
HazyResearch/metal
rargmax
26,187
LDU_FT/RowleyGroup/pyqueue/strfdelta
LDU_FT
[ "<BEGIN>\n## `get_dependency_type`", "Get the dependency type string for SlurmPrinter", " :rtype: str\n<END>", "<BEGIN>\n## `get_header`", "Makes the header section for the scripts", " :rtype: str\n<END>", "<BEGIN>\n## `generate`", "Generates a job submission script from a job object", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the strfdelta API. 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 strfdelta API. 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...
Used to format `datetime.timedelta` objects. Works just like `strftime` >>> strfdelta(duration, '%H:%M:%S') param tdelta: Time duration which is an instance of datetime.timedelta param fmt: The pattern to format the timedelta with rtype: str
"Used to format `datetime.timedelta` objects. Works just like `strftime`\n\n >>> strfdelta(duration, '%H:%M:%S')\n\n param tdelta: Time duration which is an instance of datetime.timedelta\n param fmt: The pattern to format the timedelta with\n rtype: str"
26
false
RowleyGroup/pyqueue
strfdelta
26,188
LDU_FT/alexanderlukanin13/coolname/_check_not_hanging
LDU_FT
[ "<BEGIN>\n## `load_config`", "Loads configuration from a path.", " Path can be a json file, or a directory containing config.json\n and zero or more *.txt files with word lists or phrase lists.", " Returns config dict.", " Raises InitializationError when something is wrong.\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_not_hanging 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 _check_not_hanging 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...
Rough check that generate() will not hang or be very slow. Raises ConfigurationError if generate() spends too much time in retry loop. Issues a warning.warn() if there is a risk of slowdown.
"Rough check that generate() will not hang or be very slow.\n\n Raises ConfigurationError if generate() spends too much time in retry loop.\n Issues a warning.warn() if there is a risk of slowdown."
21
false
alexanderlukanin13/coolname
_check_not_hanging
26,189
LDU_FT/ralphbean/taskw/_serialize
LDU_FT
[ "<BEGIN>\n## `_stub_task`", "Given a description, stub out a task dict.\n<END>", "<BEGIN>\n## `_extract_annotations_from_task`", "Removes annotations from a task and returns a list of annotations\n<END>", "<BEGIN>\n## `task_add`", "Add a new task.", " Takes any of the keywords allowed by taskwarr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _serialize API. 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 _serialize API. 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...
Marshal outgoing data into Taskwarrior's JSON format.
"Marshal outgoing data into Taskwarrior's JSON format."
62
false
ralphbean/taskw
_serialize
26,190
LDU_FT/stevepeak/tornpsql/execute
LDU_FT
[ "<BEGIN>\n## `_reconnect`", "Closes the existing database connection and re-opens it.\n<END>", "<BEGIN>\n## `_reregister_types`", "Registers existing types for a new connection\n<END>", "<BEGIN>\n## `register_type`", "Callback to register data types when reconnect\n<END>", "<BEGIN>\n## `mogrify`", "Fr...
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...
Same as query, but do not process results. Always returns `None`.
"Same as query, but do not process results. Always returns `None`."
22
false
stevepeak/tornpsql
execute
26,191
LDU_FT/PlaidWeb/Publ/get_rendition_fit_size
LDU_FT
[ "<BEGIN>\n## `load_metafile`", "Load a metadata file from the filesystem\n<END>", "<BEGIN>\n## `description`", "Get the textual description of the category\n<END>", "<BEGIN>\n## `breadcrumb`", "Get the category hierarchy leading up to this category, including\n root and self.", " For examp...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_rendition_fit_size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_rendition_fit_size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Determine the scaled size based on the provided spec
"Determine the scaled size based on the provided spec"
285
false
PlaidWeb/Publ
get_rendition_fit_size
26,192
LDU_FT/FNNDSC/pfurl/storage_resolveBasedOnKey
LDU_FT
[ "<BEGIN>\n## `zipdir`", "Zip up a directory.", " :param path:\n :param ziph:\n :param kwargs:\n :return:\n<END>", "<BEGIN>\n## `zip_process`", "Process zip operations.", " :param kwargs:\n :return:\n<END>", "<BEGIN>\n## `storage_resolveBasedOnKey`", "Call the remote service and ask f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the storage_resolveBasedOnKey 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 storage_resolveBasedOnKey API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Call the remote service and ask for the storage location based on the key. :param args: :param kwargs: :return:
"Call the remote service and ask for the storage location based on the key.\n\n :param args:\n :param kwargs:\n :return:"
29
false
FNNDSC/pfurl
storage_resolveBasedOnKey
26,193
LDU_FT/ohenrik/tabs/dependencies
LDU_FT
[ "<BEGIN>\n## `post_process`", "Applies the list of post processing methods if any\n<END>", "<BEGIN>\n## `describe`", "Prints a description of the table based on the provided\n documentation and post processors\n<END>", "<BEGIN>\n## `describe_processors`", "List all postprocessors and their description\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dependencies API. 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 dependencies API. 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...
Returns a list of all dependent tables, in the order they are defined. Add new dependencies for source and every post proecssor like this:: source.dependencies = [PersonalData] some_post_processor.dependencies = [SomeOtherTable, AnotherTable] `some_post_processor.depen...
"Returns a list of all dependent tables,\n in the order they are defined.\n\n Add new dependencies for source and every post proecssor like this::\n\n source.dependencies = [PersonalData]\n some_post_processor.dependencies = [SomeOtherTable, AnotherTable]\n\n `some_post_proces...
30
false
ohenrik/tabs
dependencies
26,194
LDU_FT/sveetch/boussole/match_conditions
LDU_FT
[ "<BEGIN>\n## `clean`", "Filter given settings to keep only key names available in\n ``DEFAULT_SETTINGS``.", " Args:\n settings (dict): Loaded settings.", " Returns:\n dict: Settings object filtered.\n<END>", "<BEGIN>\n## `set_settings`", "Set every given settings...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_conditions API. 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 match_conditions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Find if a filepath match all required conditions. Available conditions are (in order): * Is allowed file extension; * Is a partial source; * Is from an excluded directory; * Is matching an exclude pattern; Args: filepath (str): Absolute filepath to match ag...
"Find if a filepath match all required conditions.\n\n Available conditions are (in order):\n\n * Is allowed file extension;\n * Is a partial source;\n * Is from an excluded directory;\n * Is matching an exclude pattern;\n\n Args:\n filepath (str): Absolute filepath ...
289
false
sveetch/boussole
match_conditions
26,195
LDU_FT/emlazzarin/acrylic/append
LDU_FT
[ "<BEGIN>\n## `change_sheet`", "Calling this method changes the sheet in anticipation for the\n next time you create an iterator.", " If you change the active sheet while iterating on a UnicodeReader\n instance, it will continue to iterate correctly until completion.\n The next time y...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Takes a dict, a list/tuple/generator, or a DataRow/namedtuple, and appends it to the "bottom" or "end" of the DataTable. dicts must share the same keys as the DataTable's columns. lists/tuples/generators are simply trusted to be in the correct order and of the correct type (if relevant...
"Takes a dict, a list/tuple/generator, or a DataRow/namedtuple,\n and appends it to the \"bottom\" or \"end\" of the DataTable.\n\n dicts must share the same keys as the DataTable's columns.\n\n lists/tuples/generators are simply trusted to be in the correct order\n and of the correct type (...
94
false
emlazzarin/acrylic
append
26,196
LDU_FT/mhe/pynrrd/parse_optional_matrix
LDU_FT
[ "<BEGIN>\n## `format_number`", "Format number to string", " Function converts a number to string. For numbers of class :class:`float`, up to 17 digits will be used to print\n the entire floating point number. Any padding zeros will be removed at the end of the number.", " See :ref:`user-guide:int` an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_optional_matrix API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_optional_matrix API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Parse optional NRRD matrix from string into (M,N) :class:`numpy.ndarray` of :class:`float`. Function parses optional NRRD matrix from string into an (M,N) :class:`numpy.ndarray` of :class:`float`. This function works the same as :meth:`parse_matrix` except if a row vector in the matrix is none, the resulting r...
"Parse optional NRRD matrix from string into (M,N) :class:`numpy.ndarray` of :class:`float`.\n\n Function parses optional NRRD matrix from string into an (M,N) :class:`numpy.ndarray` of :class:`float`. This\n function works the same as :meth:`parse_matrix` except if a row vector in the matrix is none, the resulti...
77
false
mhe/pynrrd
parse_optional_matrix
26,197
LDU_FT/fitnr/convertdate/delay_1
LDU_FT
[ "<BEGIN>\n## `to_jd`", "Return Julian day count of given ISO year, week, and day\n<END>", "<BEGIN>\n## `from_jd`", "Return tuple of ISO (year, week, day) for Julian day\n<END>", "<BEGIN>\n## `legal_date`", "Check if this is a legal date in the Julian calendar\n<END>", "<BEGIN>\n## `from_jd`", "Calcula...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delay_1 API. Each 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 delay_1 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Test for delay of start of new year and to avoid
"Test for delay of start of new year and to avoid"
85
false
fitnr/convertdate
delay_1
26,198
LDU_FT/jmurty/xml4h/add_instruction
LDU_FT
[ "<BEGIN>\n## `ignore_whitespace_text_nodes`", "Find and delete any text nodes containing nothing but whitespace in\n in the given node and its descendents.", " This is useful for cleaning up excess low-value text nodes in a\n document DOM after parsing a pretty-printed XML document.\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_instruction API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_instruction API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Add an instruction node to this element. :param string text: text content to add as an instruction.
"Add an instruction node to this element.\n\n :param string text: text content to add as an instruction."
155
false
jmurty/xml4h
add_instruction
26,199
LDU_FT/log2timeline/dfdatetime/CopyFromDateTimeString
LDU_FT
[ "<BEGIN>\n## `_GetNormalizedTimestamp`", "Retrieves the normalized timestamp.", " Returns:\n decimal.Decimal: normalized timestamp, which contains the number of\n seconds since January 1, 1970 00:00:00 and a fraction of second used\n for increased precision, or None if the normalized t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the CopyFromDateTimeString API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the CopyFromDateTimeString API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Copies a Delphi TDateTime timestamp from a string. Args: time_string (str): date and time value formatted as: YYYY-MM-DD hh:mm:ss.######[+-]##:## Where # are numeric digits ranging from 0 to 9 and the seconds fraction can be either 3 or 6 digits. The time of day, seconds ...
"Copies a Delphi TDateTime timestamp from a string.\n\n Args:\n time_string (str): date and time value formatted as:\n YYYY-MM-DD hh:mm:ss.######[+-]##:##\n\n Where # are numeric digits ranging from 0 to 9 and the seconds\n fraction can be either 3 or 6 digits. The time of day, second...
244
false
log2timeline/dfdatetime
CopyFromDateTimeString
26,200
LDU_FT/rq/django-rq/filter_connection_params
LDU_FT
[ "<BEGIN>\n## `handle`", "Queues the function given with the first argument with the\n parameters given with the rest of the argument list.\n<END>", "<BEGIN>\n## `get_worker_class`", "Return worker class from RQ settings, otherwise return Worker.\n If `worker_class` is not None, it is used as an over...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_connection_params 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 filter_connection_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Filters the queue params to keep only the connection related params.
"Filters the queue params to keep only the connection related params."
33
false
rq/django-rq
filter_connection_params
26,201
LDU_FT/remram44/rpaths/_to_backend
LDU_FT
[ "<BEGIN>\n## `pattern2re`", "Makes a unicode regular expression from a pattern.", " Returns ``(start, full_re, int_re)`` where:", " * `start` is either empty or the subdirectory in which to start searching,\n * `full_re` is a regular expression object that matches the requested\n files, i.e. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_backend API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_backend API. 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...
Converts something to the correct path representation. If given a Path, this will simply unpack it, if it's the correct type. If given the correct backend, it will return that. If given bytes for unicode of unicode for bytes, it will encode/decode with a reasonable encoding. Note that t...
"Converts something to the correct path representation.\n\n If given a Path, this will simply unpack it, if it's the correct type.\n If given the correct backend, it will return that.\n If given bytes for unicode of unicode for bytes, it will encode/decode\n with a reasonable encoding. Note ...
95
false
remram44/rpaths
_to_backend
26,202
LDU_FT/unfoldingWord-dev/python-gogs-client/get_repo_hooks
LDU_FT
[ "<BEGIN>\n## `json_get`", "Retrieves the key from a parsed_json dictionary, or raises an exception if the\n key is not present\n<END>", "<BEGIN>\n## `append_url`", "Append path to base_url in a sensible way.\n<END>", "<BEGIN>\n## `authenticated_user`", "Returns the user authenticated by ``auth``", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_repo_hooks API. 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_repo_hooks API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Returns all hooks of repository with name ``repo_name`` owned by the user with username ``username``. :param auth.Authentication auth: authentication object :param str username: username of owner of repository :param str repo_name: name of repository :return: a list of hooks for...
"Returns all hooks of repository with name ``repo_name`` owned by\n the user with username ``username``.\n\n :param auth.Authentication auth: authentication object\n :param str username: username of owner of repository\n :param str repo_name: name of repository\n :return: a list of ho...
123
false
unfoldingWord-dev/python-gogs-client
get_repo_hooks
26,203
LDU_FT/gmichaeljaison/cv-utils/extract_feature
LDU_FT
[ "<BEGIN>\n## `match_one`", "Match template and find exactly one match in the Image using specified features.", " :param template: Template Image\n :param image: Search Image\n :param options: Options include\n - features: List of options for each feature\n :return: (Box, Score) Bounding box o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_feature API. 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 extract_feature API. 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...
Passes image to a deepnet and extracts from the specified layer :param image: opencv image :param layer: network layer name :return: extracted features
"Passes image to a deepnet and extracts from the specified layer\n \n :param image: opencv image\n :param layer: network layer name\n :return: extracted features"
91
false
gmichaeljaison/cv-utils
extract_feature
26,204
LDU_FT/pymacaron/pymacaron/get_token_issuer
LDU_FT
[ "<BEGIN>\n## `load_clients`", "Generate client libraries for the given apis, without starting an\n api server\n<END>", "<BEGIN>\n## `load_apis`", "Load all swagger files found at the given path, except those whose\n names are in the 'ignore' list\n<END>", "<BEGIN>\n## `publish_apis`", "Publi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_token_issuer API. 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_token_issuer API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Return the issuer in which this user's token was created
"Return the issuer in which this user's token was created"
47
false
pymacaron/pymacaron
get_token_issuer
26,205
LDU_FT/callowayproject/Calloway/partition_horizontal
LDU_FT
[ "<BEGIN>\n## `get_url`", "Returns the reversed url given a string or dict and prints errors if MENU_DEBUG is enabled\n<END>", "<BEGIN>\n## `smart_if`", "A smarter {% if %} tag for django templates.", " While retaining current Django functionality, it also handles equality,\n greater than and less than...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the partition_horizontal 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 partition_horizontal API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Break a list into ``n`` peices, but "horizontally." That is, ``partition_horizontal(range(10), 3)`` gives:: [[1, 2, 3], [4, 5, 6], [7, 8, 9], [10]] Clear as mud?
"Break a list into ``n`` peices, but \"horizontally.\" That is, \n ``partition_horizontal(range(10), 3)`` gives::\n \n [[1, 2, 3],\n [4, 5, 6],\n [7, 8, 9],\n [10]]\n \n Clear as mud?"
58
false
callowayproject/Calloway
partition_horizontal
26,206
LDU_FT/msiedlarek/wiring/get_dependencies
LDU_FT
[ "<BEGIN>\n## `get_implemented_interfaces`", "Returns a set of :term:`interfaces <interface>` declared as implemented by\n class `cls`.\n<END>", "<BEGIN>\n## `set_implemented_interfaces`", "Declares :term:`interfaces <interface>` as implemented by class `cls`.\n Those already declared are overriden.\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dependencies API. 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_dependencies API. 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 inspects a function to find its arguments marked for injection, either with :py:func:`inject()` decorator, :py:class:`UnrealizedInjection` class of through Python 3 function annotations. If `factory` is a class, then its constructor is inspected. Returned dictionary is a mapping of:: ...
"This function inspects a function to find its arguments marked for\n injection, either with :py:func:`inject()` decorator,\n :py:class:`UnrealizedInjection` class of through Python 3 function\n annotations. If `factory` is a class, then its constructor is inspected.\n\n Returned dictionary is a mapping of...
69
false
msiedlarek/wiring
get_dependencies
26,207
LDU_FT/trehn/termdown/parse_timestr
LDU_FT
[ "<BEGIN>\n## `format_seconds`", "Returns a human-readable string representation of the given amount\n of seconds.\n<END>", "<BEGIN>\n## `graceful_ctrlc`", "Makes the decorated function exit with code 1 on CTRL+C.\n<END>", "<BEGIN>\n## `pad_to_size`", "Adds whitespace to text to center it within a frame...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_timestr API. 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 parse_timestr API. 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...
Parse a string describing a point in time.
"Parse a string describing a point in time."
12
false
trehn/termdown
parse_timestr
26,208
LDU_FT/Stewori/pytypes/_calc_traceback_limit
LDU_FT
[ "<BEGIN>\n## `_outter_split`", "Splits only at delims that are at outter-most level regarding\n openers/closers pairs.\n Unchecked requirements:\n Only supports length-1 delim, openers and closers.\n delim must not be member of openers or closers.\n len(openers) == len(closers) or closers == None\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _calc_traceback_limit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _calc_traceback_limit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Calculates limit-parameter to strip away pytypes' internals when used with API from traceback module.
"Calculates limit-parameter to strip away pytypes' internals when used\n with API from traceback module."
187
false
Stewori/pytypes
_calc_traceback_limit
26,209
LDU_FT/googledatalab/pydatalab/ProtoFromTfRecordFiles
LDU_FT
[ "<BEGIN>\n## `ml`", "Implements the datalab cell magic for MLWorkbench operations.", " Args:\n line: the contents of the ml command line.\n Returns:\n The results of executing the cell.\n<END>", "<BEGIN>\n## `from_csv`", "Create a Metrics instance from csv file pattern.", " Args:\n input_c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ProtoFromTfRecordFiles 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 ProtoFromTfRecordFiles API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Creates a feature statistics proto from a set of TFRecord files. Args: files: A list of dicts describing files for each dataset for the proto. Each entry contains a 'path' field with the path to the TFRecord file on disk and a 'name' field to identify the dataset in the proto. ...
"Creates a feature statistics proto from a set of TFRecord files.\n\n Args:\n files: A list of dicts describing files for each dataset for the proto.\n Each\n entry contains a 'path' field with the path to the TFRecord file on\n disk\n and a 'name' field to identify the dataset in the pr...
1,652
true
googledatalab/pydatalab
ProtoFromTfRecordFiles
26,210
LDU_FT/AltSchool/dynamic-rest/to_representation
LDU_FT
[ "<BEGIN>\n## `merge_link_object`", "Add a 'links' attribute to the data that maps field names to URLs.", " NOTE: This is the format that Ember Data supports, but alternative\n implementations are possible to support other formats.\n<END>", "<BEGIN>\n## `register_post_processor`", "Register a pos...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_representation API. 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_representation API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Modified to_representation method. Optionally may cache objects. Arguments: instance: A model instance or data object. Returns: Instance ID if the serializer is meant to represent its ID. Otherwise, a tagged data dict representation.
"Modified to_representation method. Optionally may cache objects.\n\n Arguments:\n instance: A model instance or data object.\n Returns:\n Instance ID if the serializer is meant to represent its ID.\n Otherwise, a tagged data dict representation."
213
false
AltSchool/dynamic-rest
to_representation
26,211
LDU_FT/leovt/constructible/fsqrt
LDU_FT
[ "<BEGIN>\n## `isqrt`", "given a non-negative integer n, return a pair (a,b) such that n = a * a * b\n where b is a square-free integer.", " If n is a perfect square, then a is its square root and b is one.\n<END>", "<BEGIN>\n## `fsqrt`", "given a non-negative fraction q, return a pair (a,b) su...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fsqrt API. Each 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 fsqrt API. Each 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...
given a non-negative fraction q, return a pair (a,b) such that q = a * a * b where b is a square-free integer. if q is a perfect square, a is its square root and b is one.
"given a non-negative fraction q, return a pair (a,b) such that q = a * a * b\n where b is a square-free integer.\n\n if q is a perfect square, a is its square root and b is one."
13
false
leovt/constructible
fsqrt
26,212
LDU_FT/crocs-muni/roca/process_jks
LDU_FT
[ "<BEGIN>\n## `error_message`", "Formats exception message + cause\n :param e:\n :param message:\n :param cause:\n :return: formatted message, includes cause if any is set\n<END>", "<BEGIN>\n## `format_pgp_key`", "Formats PGP key in 16hex digits\n :param key:\n :return:\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_jks API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_jks API. 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...
Processes Java Key Store file :param data: :param name: :return:
"Processes Java Key Store file\n :param data:\n :param name:\n :return:"
133
false
crocs-muni/roca
process_jks
26,213
LDU_FT/berkeley-cocosci/Wallace/add_node
LDU_FT
[ "<BEGIN>\n## `submission_successful`", "Run when a participant submits successfully.\n<END>", "<BEGIN>\n## `summary`", "Summarize the participants' status codes.\n<END>", "<BEGIN>\n## `experiment_property`", "Get a property of the experiment by name.\n<END>", "<BEGIN>\n## `ad_address`", "Get the addre...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_node API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_node API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Link the agent to a random member of the previous generation.
"Link the agent to a random member of the previous generation."
118
false
berkeley-cocosci/Wallace
add_node
26,214
LDU_FT/spacetelescope/acstools/find_line
LDU_FT
[ "<BEGIN>\n## `extract_dark`", "Extract superdark data from ``DARKFILE`` or ``DRKCFILE``.", " Parameters\n ----------\n prihdr : obj\n FITS primary header HDU.", " scihdu : obj\n Extension HDU of the science image.\n This is only used to extract subarray data.", " Returns\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_line API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_line API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Obtain bin factors and corner location to extract and bin the appropriate subset of a reference image to match a science image. If the science image has zero offset and is the same size and binning as the reference image, ``same_size`` will be set to `True`. Otherwise, the values of ``rx``, ``ry``,...
"Obtain bin factors and corner location to extract\n and bin the appropriate subset of a reference image to\n match a science image.\n\n If the science image has zero offset and is the same size and\n binning as the reference image, ``same_size`` will be set to\n `True`. Otherwise, the values of ``rx``, ...
319
false
spacetelescope/acstools
find_line
26,215
LDU_FT/fridex/json2sql/load_input
LDU_FT
[ "<BEGIN>\n## `json2sql`", "Convert raw dictionary, JSON/YAML to SQL statement.", " :param raw_json: raw JSON/YAML or file to convert to SQL statement\n :type raw_json: str or file\n :return: raw SQL statement\n :rtype: str\n<END>", "<BEGIN>\n## `load_input`", "Load and parse input if needed.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_input API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_input API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Load and parse input if needed. :param definition: definition to use as an input (file, serialized JSON/YAML or dict) :return: loaded input :raises json2sql.ParsingInputError: when parsing fails
"Load and parse input if needed.\n\n :param definition: definition to use as an input (file, serialized JSON/YAML or dict)\n :return: loaded input\n :raises json2sql.ParsingInputError: when parsing fails"
15
false
fridex/json2sql
load_input
26,216
LDU_FT/TrafficSenseMSD/SumoTools/toFloat
LDU_FT
[ "<BEGIN>\n## `getDistance2D`", "getDistance2D(double, double, double, double, boolean, boolean) -> double", " Returns the distance between the two coordinate pairs (x1,y1) and (x2,y2)", " If isGeo=True, coordinates are interpreted as longitude and latitude rather\n than cartesian coordina...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the toFloat API. Each 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 toFloat API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Converts the given value (0-255) into its hexadecimal representation
"Converts the given value (0-255) into its hexadecimal representation"
475
false
TrafficSenseMSD/SumoTools
toFloat
26,217
LDU_FT/shaypal5/barn/dataset_filepath
LDU_FT
[ "<BEGIN>\n## `data_dirpath`", "Get the path of the corresponding data directory.", " Parameters\n ----------\n task : str, optional\n The task for which datasets in the desired directory are used for. If\n not given, a path for the corresponding task-agnostic directory is\n returne...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dataset_filepath API. 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 dataset_filepath API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Get the path of the corresponding dataset file. Parameters ---------- filename : str The name of the file. dataset_name : str, optional The name of the dataset. Used to define a sub-directory to contain all instances of the dataset. If not given, a dataset-specific directory is ...
"Get the path of the corresponding dataset file.\n\n Parameters\n ----------\n filename : str\n The name of the file.\n dataset_name : str, optional\n The name of the dataset. Used to define a sub-directory to contain all\n instances of the dataset. If not given, a dataset-specific dire...
51
false
shaypal5/barn
dataset_filepath
26,218
LDU_FT/danpoland/pyramid-restful-framework/parse_query_string
LDU_FT
[ "<BEGIN>\n## `parse_requested_expands`", "Extracts the value of the expand query string parameter from a request.\n Supports comma separated lists.", " :param query_key: The name query string parameter.\n :param request: Request instance.\n :return: List of strings representing the values of the exp...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_query_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_query_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Override this method if you need to support query string filter keys other than those in the format of ``key[field_name]=val``. Maps query string values == 'null' to ``None``. :param params: The query string parameters from ``request.params``. :return: Dictionary.
"Override this method if you need to support query string filter keys other than those in the\n format of ``key[field_name]=val``. Maps query string values == 'null' to ``None``.\n\n :param params: The query string parameters from ``request.params``.\n :return: Dictionary."
70
false
danpoland/pyramid-restful-framework
parse_query_string
26,219
LDU_FT/fedelemantuano/tika-app-python/extract_only_content
LDU_FT
[ "<BEGIN>\n## `_command_template`", "Template for Tika app commands", " Args:\n switches (list): list of switches to Tika app Jar\n objectInput (object): file object/standard input to analyze", " Return:\n Standard output data (unicode Python 2, str Python 3)\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_only_content 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 extract_only_content API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Return only the text content of passed file. These parameters are in OR. Only one of them can be analyzed. Args: path (string): Path of file to analyze payload (string): Payload base64 to analyze objectInput (object): file object/standard input to analyze Re...
"Return only the text content of passed file.\n These parameters are in OR. Only one of them can be analyzed.\n\n Args:\n path (string): Path of file to analyze\n payload (string): Payload base64 to analyze\n objectInput (object): file object/standard input to analyze\n\n ...
27
false
fedelemantuano/tika-app-python
extract_only_content
26,220
LDU_FT/jcrist/skein/scale
LDU_FT
[ "<BEGIN>\n## `add_page`", "Add a new proxied page to the Web UI.", " Parameters\n ----------\n route : str\n The route for the proxied page. Must be a valid path *segment* in a\n url (e.g. ``foo`` in ``/foo/bar/baz``). Routes must be unique\n across the appl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scale API. Each 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 scale API. Each 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...
Scale a service to a requested number of instances. Adds or removes containers to match the requested number of instances. The number of instances for the service can be specified either as a total count or a delta in that count. When choosing which containers to remove, containers are...
"Scale a service to a requested number of instances.\n\n Adds or removes containers to match the requested number of instances.\n The number of instances for the service can be specified either as a\n total count or a delta in that count.\n\n When choosing which containers to remove, contain...
153
false
jcrist/skein
scale
26,221
LDU_FT/agoragames/leaderboard-python/ranked_in_list_in
LDU_FT
[ "<BEGIN>\n## `pool`", "Fetch a redis conenction pool for the unique combination of host\n and port. Will create a new one if there isn't one already.\n<END>", "<BEGIN>\n## `rank_member`", "Rank a member in the leaderboard.", " @param member [String] Member name.\n @param score [float] M...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ranked_in_list_in API. 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 ranked_in_list_in API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Retrieve a page of leaders from the named leaderboard for a given list of members. @param leaderboard_name [String] Name of the leaderboard. @param members [Array] Member names. @param options [Hash] Options to be used when retrieving the page from the named leaderboard. @return a page ...
"Retrieve a page of leaders from the named leaderboard for a given list of members.\n\n @param leaderboard_name [String] Name of the leaderboard.\n @param members [Array] Member names.\n @param options [Hash] Options to be used when retrieving the page from the named leaderboard.\n @return a...
180
false
agoragames/leaderboard-python
ranked_in_list_in
26,222
LDU_FT/lsst-sqre/documenteer/discover_package_doc_dir
LDU_FT
[ "<BEGIN>\n## `run`", "Main entrypoint method.", " Returns\n -------\n new_nodes : `list`\n Nodes to add to the doctree.\n<END>", "<BEGIN>\n## `main`", "stack-docs is a CLI for building LSST Stack documentation, such as\n pipelines.lsst.io.", " This command should be r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the discover_package_doc_dir 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 discover_package_doc_dir API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Discover the ``doc/`` dir of a package given an initial directory. Parameters ---------- initial_dir : `str` The inititial directory to search from. In practice, this is often the directory that the user is running the package-docs CLI from. This directory needs to be somewhere insi...
"Discover the ``doc/`` dir of a package given an initial directory.\n\n Parameters\n ----------\n initial_dir : `str`\n The inititial directory to search from. In practice, this is often the\n directory that the user is running the package-docs CLI from. This\n directory needs to be somewh...
430
false
lsst-sqre/documenteer
discover_package_doc_dir
26,223
LDU_FT/KrishnaswamyLab/graphtools/transform
LDU_FT
[ "<BEGIN>\n## `set_params`", "Set parameters on this object", " Safe setter method - attributes should not be modified directly as some\n changes are not valid.\n Valid parameters:\n - n_jobs\n - random_state\n - verbose\n Invalid parameters: (these would require ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API. 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 transform API. 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...
Transform input data `Y` to reduced data space defined by `self.data` Takes data in the same ambient space as `self.data` and transforms it to be in the same reduced space as `self.data_nu`. Parameters ---------- Y : array-like, shape=[n_samples_y, n_features] n_fea...
"Transform input data `Y` to reduced data space defined by `self.data`\n\n Takes data in the same ambient space as `self.data` and transforms it\n to be in the same reduced space as `self.data_nu`.\n\n Parameters\n ----------\n Y : array-like, shape=[n_samples_y, n_features]\n ...
207
false
KrishnaswamyLab/graphtools
transform
26,224
LDU_FT/basho/riak-python-client/print_report
LDU_FT
[ "<BEGIN>\n## `mkpath`", "Constructs the path & query portion of a URI from path segments\n and a dict.\n<END>", "<BEGIN>\n## `search_index_path`", "Builds a Yokozuna search index URL.", " :param index: optional name of a yz index\n :type index: string\n :param options: optional list ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_report API. 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 print_report API. 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...
Prints the report of one step of a benchmark.
"Prints the report of one step of a benchmark."
620
false
basho/riak-python-client
print_report
26,225
LDU_FT/xapple/fasta/length_by_id
LDU_FT
[ "<BEGIN>\n## `parse_primers`", "This functions starts with self because it's \n meant as an extension to the FASTA class.\n<END>", "<BEGIN>\n## `guess_phred_format`", "Guess the PHRED score format. The gold standard is the first one, aka\n the one called \"Sanger\". Sanger encoding is exactly equiva...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the length_by_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the length_by_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
In some usecases you just need the sequence lengths in an indexed fashion. If you access this attribute, we will make a hash map in memory.
"In some usecases you just need the sequence lengths in an indexed\n fashion. If you access this attribute, we will make a hash map in memory."
48
false
xapple/fasta
length_by_id
26,226
LDU_FT/andrewramsay/sk8-drivers/get_service
LDU_FT
[ "<BEGIN>\n## `update`", "Update the device name and/or RSSI.", " During an ongoing scan, multiple records from the same device can be \n received during the scan. Each time that happens this method is \n called to update the :attr:`name` and/or :attr:`rssi` attributes.\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_service API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_service API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Lookup information about a given GATT service. Args: uuid (str): a string containing the hex-encoded service UUID Returns: None if an error occurs, otherwise a :class:`Service` object.
"Lookup information about a given GATT service.\n\n Args:\n uuid (str): a string containing the hex-encoded service UUID\n\n Returns:\n None if an error occurs, otherwise a :class:`Service` object."
193
false
andrewramsay/sk8-drivers
get_service
26,227
LDU_FT/django-userena-ce/django-userena-ce/message_remove
LDU_FT
[ "<BEGIN>\n## `activate`", "Activate a user with an activation key.", " The key is a SHA1 string. When the SHA1 is found with an\n :class:`UserenaSignup`, the :class:`User` of that account will be\n activated. After a successful activation the view will redirect to\n ``success_url``. If the SHA1 is...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the message_remove API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the message_remove API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
A ``POST`` to remove messages. :param undo: A Boolean that if ``True`` unremoves messages. POST can have the following keys: ``message_pks`` List of message id's that should be deleted. ``next`` String containing the URI which to redirect to after the keys are...
"A ``POST`` to remove messages.\n\n :param undo:\n A Boolean that if ``True`` unremoves messages.\n\n POST can have the following keys:\n\n ``message_pks``\n List of message id's that should be deleted.\n\n ``next``\n String containing the URI which to redirect to after ...
241
false
django-userena-ce/django-userena-ce
message_remove
26,228
LDU_FT/hobson/pug-dj/meta_to_indexes
LDU_FT
[ "<BEGIN>\n## `instance`", "Creates an EC2 instance from an Ubuntu AMI and configures it as a Django server\n with nginx + gunicorn\n<END>", "<BEGIN>\n## `_run_task`", "Tasks a task from tasks.py and runs through the commands on the server\n<END>", "<BEGIN>\n## `_put_template`", "Same as _put() but it l...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the meta_to_indexes API. 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 meta_to_indexes API. 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...
Find all the indexes (primary keys) based on the meta data
"Find all the indexes (primary keys) based on the meta data"
300
false
hobson/pug-dj
meta_to_indexes
26,229
LDU_FT/bihealth/vcfpy/run
LDU_FT
[ "<BEGIN>\n## `make_virtual_offset`", "Compute a BGZF virtual offset from block start and within block offsets.\n The BAM indexing scheme records read positions using a 64 bit\n 'virtual offset', comprising in C terms:\n block_start_offset << 16 | within_block_offset\n Here block_start_offset is the fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Split string ``s`` at delimiter, correctly interpreting quotes Further, interprets arrays wrapped in one level of ``[]``. No recursive brackets are interpreted (as this would make the grammar non-regular and currently this complexity is not needed). Currently, quoting inside of braces...
"Split string ``s`` at delimiter, correctly interpreting quotes\n\n Further, interprets arrays wrapped in one level of ``[]``. No\n recursive brackets are interpreted (as this would make the grammar\n non-regular and currently this complexity is not needed). Currently,\n quoting inside of ...
127
false
bihealth/vcfpy
run
26,230
LDU_FT/psphere-project/psphere/create
LDU_FT
[ "<BEGIN>\n## `get_options`", "Get the options that have been set.", " Called after the user has added all their own options\n and is ready to use the variables.\n<END>", "<BEGIN>\n## `_get_dataobject`", "This function only gets called if the decorated property\n doesn't have a value in ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Create a SOAP object of the requested type. >>> client.create('VirtualE1000') :param type_: The type of SOAP object to create. :type type_: str :param kwargs: TODO :type kwargs: TODO
"Create a SOAP object of the requested type.\n\n >>> client.create('VirtualE1000')\n\n :param type_: The type of SOAP object to create.\n :type type_: str\n :param kwargs: TODO\n :type kwargs: TODO"
82
false
psphere-project/psphere
create
26,231
LDU_FT/cloudendpoints/endpoints-management-python/_as_log_entry
LDU_FT
[ "<BEGIN>\n## `convert_response`", "Computes a http status code and message `CheckResponse`", " The return value a tuple (code, message, api_key_is_bad) where", " code: is the http status code\n message: is the message to return\n api_key_is_bad: indicates that a given api_key is bad", " Args:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _as_log_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 ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _as_log_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 ext...
Makes a `LogEntry` from this instance for the given log_name. Args: rules (:class:`ReportingRules`): determines what labels, metrics and logs to include in the report request. now (:class:`datetime.DateTime`): the current time Return: a ``LogEntry`` generated ...
"Makes a `LogEntry` from this instance for the given log_name.\n\n Args:\n rules (:class:`ReportingRules`): determines what labels, metrics and\n logs to include in the report request.\n now (:class:`datetime.DateTime`): the current time\n\n Return:\n a ``LogEntry`` g...
308
false
cloudendpoints/endpoints-management-python
_as_log_entry
26,232
LDU_FT/robmcmullen/atrcopy/get_comment_restore_data
LDU_FT
[ "<BEGIN>\n## `text_to_int`", "Convert text to int, raising exeception on invalid input\n<END>", "<BEGIN>\n## `assign_sector_numbers`", "Map out the sectors and link the sectors together", " raises NotEnoughSpaceOnDisk if the whole file won't fit. It will not\n allow partial writes.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_comment_restore_data 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_comment_restore_data 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 a chunk of data (designed to be opaque) containing comments, styles & locations that can be used to recreate the comments on an undo
"Get a chunk of data (designed to be opaque) containing comments,\n styles & locations that can be used to recreate the comments on an undo"
73
false
robmcmullen/atrcopy
get_comment_restore_data
26,233
LDU_FT/dsoprea/PySecure/get_key_auth_cb
LDU_FT
[ "<BEGIN>\n## `recurse`", "Recursively iterate a directory. Invoke callbacks for directories \n and entries (both are optional, but it doesn't make sense unless one is \n provided). \"max_listing_size\" will allow for the file-listing to be \n chunked into manageable pieces. \"max_depth\" limi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_key_auth_cb API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_key_auth_cb API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
This is just a convenience function for key-based login.
"This is just a convenience function for key-based login."
35
false
dsoprea/PySecure
get_key_auth_cb
26,234
LDU_FT/cronofy/pycronofy/read_free_busy
LDU_FT
[ "<BEGIN>\n## `format_event_time`", "Accepts either an ISO 8601 string, a dict with a time and tzid OR a datetime object.\n Must be in UTC format:", " 2016-01-31T12:33:00Z\n 2016-01-31T12:33:00UTC\n 2016-01-31T12:33:00+00:00", " https://en.wikipedia.org/wiki/ISO_8601", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_free_busy API. 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 read_free_busy API. 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...
Read free/busy blocks for linked account (optionally for the specified calendars). :param tuple calendar_ids: Tuple or list of calendar ids to pass to cronofy. (Optional). :param datetime.date from_date: Start datetime (or ISO8601 string) for query. (Optional). :param datetime.date to_date: End...
"Read free/busy blocks for linked account (optionally for the specified calendars).\n\n :param tuple calendar_ids: Tuple or list of calendar ids to pass to cronofy. (Optional).\n :param datetime.date from_date: Start datetime (or ISO8601 string) for query. (Optional).\n :param datetime.date to_date...
111
false
cronofy/pycronofy
read_free_busy
26,235
LDU_FT/galactics/beyond/_m_to_e
LDU_FT
[ "<BEGIN>\n## `create_station`", "Create a ground station instance", " Args:\n name (str): Name of the station", " latlonalt (tuple of float): coordinates of the station, as follow:", " * Latitude in degrees\n * Longitude in degrees\n * Altitude to sea level ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _m_to_e API. Each 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 _m_to_e API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Conversion from Mean Anomaly to Eccentric anomaly Procedures for solving Kepler's Equation, A. W. Odell and R. H. Gooding, Celestial Mechanics 38 (1986) 307-334
"Conversion from Mean Anomaly to Eccentric anomaly\n\n Procedures for solving Kepler's Equation, A. W. Odell and R. H. Gooding,\n Celestial Mechanics 38 (1986) 307-334"
297
false
galactics/beyond
_m_to_e
26,236
LDU_FT/praekeltfoundation/seed-auth-api/destroy
LDU_FT
[ "<BEGIN>\n## `get_true_false_both`", "Tries to get and return a valid of true, false, or both from the field\n name in the query string, raises a ValidationError for invalid values.\n<END>", "<BEGIN>\n## `get_queryset`", "We want to still be able to modify archived organizations, but they\n shouldn'...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the destroy API. Each 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 destroy API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
For DELETE actions, actually deactivate the user, don't delete.
"For DELETE actions, actually deactivate the user, don't delete."
34
false
praekeltfoundation/seed-auth-api
destroy
26,237
LDU_FT/tgsmith61591/pmdarima/approx
LDU_FT
[ "<BEGIN>\n## `nsdiffs`", "Estimate the seasonal differencing term, ``D``.", " Perform a test of seasonality for different levels of ``D`` to\n estimate the number of seasonal differences required to make a given time\n series stationary. Will select the maximum value of ``D`` for which\n the time se...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the approx API. Each 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 approx API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Linearly interpolate points. Return a list of points which (linearly) interpolate given data points, or a function performing the linear (or constant) interpolation. Parameters ---------- x : array-like, shape=(n_samples,) Numeric vector giving the coordinates of the points to be i...
"Linearly interpolate points.\n\n Return a list of points which (linearly) interpolate given data points,\n or a function performing the linear (or constant) interpolation.\n\n Parameters\n ----------\n x : array-like, shape=(n_samples,)\n Numeric vector giving the coordinates of the points\n ...
356
false
tgsmith61591/pmdarima
approx
26,238
LDU_FT/bram85/topydo/_history_move
LDU_FT
[ "<BEGIN>\n## `_process_flags`", "Override to add an additional check after processing the flags: when\n there are no flags left after argument parsing, then it means we'll be\n editing the whole todo.txt file as a whole and therefore we're not in\n multi mode.\n<END>", "<BEGIN>\n## `get_tod...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _history_move API. 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 _history_move API. 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...
Changes current value of the command-line to the value obtained from history_tmp list with index calculated by addition of p_step to the current position in the command history (history_pos attribute). Also saves value of the command-line (before changing it) to history_tmp for potentia...
"Changes current value of the command-line to the value obtained from\n history_tmp list with index calculated by addition of p_step to the\n current position in the command history (history_pos attribute).\n\n Also saves value of the command-line (before changing it) to history_tmp\n for po...
331
false
bram85/topydo
_history_move
26,239
LDU_FT/kvesteri/validators/ipv6
LDU_FT
[ "<BEGIN>\n## `email`", "Validate an email address.", " This validator is based on `Django's email validator`_. Returns\n ``True`` on success and :class:`~validators.utils.ValidationFailure`\n when validation fails.", " Examples::", " >>> email('someone@example.com')\n True", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ipv6 API. Each 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 ipv6 API. Each 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...
Return whether or not given value is a valid IP version 6 address (including IPv4-mapped IPv6 addresses). This validator is based on `WTForms IPAddress validator`_. .. _WTForms IPAddress validator: https://github.com/wtforms/wtforms/blob/master/wtforms/validators.py Examples:: >>> ipv...
"Return whether or not given value is a valid IP version 6 address\n (including IPv4-mapped IPv6 addresses).\n\n This validator is based on `WTForms IPAddress validator`_.\n\n .. _WTForms IPAddress validator:\n https://github.com/wtforms/wtforms/blob/master/wtforms/validators.py\n\n Examples::\n\n ...
102
false
kvesteri/validators
ipv6
26,240
LDU_FT/planetlabs/planet-client-python/create
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 create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Create a Downloader with the provided client. :param mosaic bool: If True, the Downloader will fetch mosaic quads. :returns: :py:Class:`planet.api.downloader.Downloader`
"Create a Downloader with the provided client.\n\n :param mosaic bool: If True, the Downloader will fetch mosaic quads.\n :returns: :py:Class:`planet.api.downloader.Downloader`"
129
false
planetlabs/planet-client-python
create
26,241
LDU_FT/HewlettPackard/python-hpOneView/get_by_name
LDU_FT
[ "<BEGIN>\n## `get_visual_content`", "Gets a list of visual content objects describing each rack within the data center. The response aggregates data\n center and rack data with a specified metric (peak24HourTemp) to provide simplified access to display data for\n the data center.", " Args:\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_by_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_by_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Retrieves a resource by its name. Args: name: Resource name. Returns: Resource object or None if resource does not exist.
"Retrieves a resource by its name.\n\n Args:\n name: Resource name.\n\n Returns:\n Resource object or None if resource does not exist."
1,297
true
HewlettPackard/python-hpOneView
get_by_name
26,242
LDU_FT/serge-sans-paille/pythran/visit_loop
LDU_FT
[ "<BEGIN>\n## `check_specs`", "Does nothing but raising PythranSyntaxError if specs\n are incompatible with the actual code\n<END>", "<BEGIN>\n## `check_exports`", "Does nothing but raising PythranSyntaxError if specs\n references an undefined global\n<END>", "<BEGIN>\n## `visit_Import`", "Check if i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_loop API. 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 visit_loop API. 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...
Handle incremented variables in loop body. >>> import gast as ast >>> from pythran import passmanager, backend >>> node = ast.parse(''' ... def foo(): ... a = b = c = 2 ... while a > 0: ... a -= 1 ... b += 1''') >>> pm = pa...
"Handle incremented variables in loop body.\n\n >>> import gast as ast\n >>> from pythran import passmanager, backend\n >>> node = ast.parse('''\n ... def foo():\n ... a = b = c = 2\n ... while a > 0:\n ... a -= 1\n ... b += 1''')\n ...
547
false
serge-sans-paille/pythran
visit_loop
26,243
LDU_FT/barrust/pyspellchecker/export
LDU_FT
[ "<BEGIN>\n## `export`", "Export the word frequency list for import in the future", " Args:\n filepath (str): The filepath to the exported dictionary\n encoding (str): The encoding of the resulting output\n gzipped (bool): Whether to gzip the dictionary or...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export API. Each 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 export API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Export the word frequency list for import in the future Args: filepath (str): The filepath to the exported dictionary encoding (str): The encoding of the resulting output gzipped (bool): Whether to gzip the dictionary or not
"Export the word frequency list for import in the future\n\n Args:\n filepath (str): The filepath to the exported dictionary\n encoding (str): The encoding of the resulting output\n gzipped (bool): Whether to gzip the dictionary or not"
57
false
barrust/pyspellchecker
export
26,244
LDU_FT/skyfielders/python-skyfield/signed_dms
LDU_FT
[ "<BEGIN>\n## `add_deflection`", "Update `position` for how solar system masses will deflect its light.", " Given the ICRS `position` [x,y,z] of an object (au) that is being\n viewed from the `observer` also expressed as [x,y,z], and given an\n ephemeris that can be used to determine solar system body p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the signed_dms API. 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 signed_dms API. 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...
Convert to a tuple (degrees, hours, minutes, seconds). The ``sign`` will be either +1 or -1, and the other quantities will all be positive.
"Convert to a tuple (degrees, hours, minutes, seconds).\n\n The ``sign`` will be either +1 or -1, and the other quantities\n will all be positive."
392
false
skyfielders/python-skyfield
signed_dms
26,245
LDU_FT/NicolasLM/spinach/inspect_periodic_tasks
LDU_FT
[ "<BEGIN>\n## `_reset`", "Initialization that must happen before the arbiter is (re)started\n<END>", "<BEGIN>\n## `attach_tasks`", "Attach a set of tasks.", " A task cannot be scheduled or executed before it is attached to an\n Engine.", " >>> tasks = Tasks()\n >>> spin.attach_t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inspect_periodic_tasks 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 inspect_periodic_tasks API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Get the next periodic task schedule. Used only for debugging and during tests.
"Get the next periodic task schedule.\n\n Used only for debugging and during tests."
93
false
NicolasLM/spinach
inspect_periodic_tasks
26,246
LDU_FT/simoninireland/epyc/resultsFor
LDU_FT
[ "<BEGIN>\n## `_parametersAsIndex`", "Private method to turn a parameter dict into a string suitable for\n keying a dict.", " ps: the parameters as a hash\n returns: a string key\n<END>", "<BEGIN>\n## `addResult`", "Add a result. This should be :term:`results dict` as returned from\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resultsFor API. 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 resultsFor API. 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...
Retrieve a list of all results associated with the given parameters. :param ps: the parameters :returns: a list of results, which may be empty
"Retrieve a list of all results associated with the given parameters.\n\n :param ps: the parameters\n :returns: a list of results, which may be empty"
116
false
simoninireland/epyc
resultsFor
26,247
LDU_FT/fitnr/convertdate/to_jd
LDU_FT
[ "<BEGIN>\n## `to_jd`", "Return Julian day count of given ISO year, week, and day\n<END>", "<BEGIN>\n## `from_jd`", "Return tuple of ISO (year, week, day) for Julian day\n<END>", "<BEGIN>\n## `legal_date`", "Check if this is a legal date in the Julian calendar\n<END>", "<BEGIN>\n## `from_jd`", "Calcula...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_jd API. Each 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 to_jd API. Each 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...
Determine Julian day from Mayan long count
"Determine Julian day from Mayan long count"
85
false
fitnr/convertdate
to_jd
26,248
LDU_FT/Rockhopper-Technologies/enlighten/load
LDU_FT
[ "<BEGIN>\n## `_check_bool`", "Used as an error handler for Windows calls\n Gets last error if call is not successful\n<END>", "<BEGIN>\n## `get_csbi`", "Returns a CONSOLE_SCREEN_BUFFER_INFO structure for the given console or stdout\n<END>", "<BEGIN>\n## `enable_vt_mode`", "Enables virtual terminal proc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Simulate loading services from a remote node States are connecting (red), loading(yellow), and loaded (green)
"Simulate loading services from a remote node\n States are connecting (red), loading(yellow), and loaded (green)"
104
false
Rockhopper-Technologies/enlighten
load
26,249
LDU_FT/pseudonym117/Riot-Watcher/by_name
LDU_FT
[ "<BEGIN>\n## `matchlist_by_account`", "Get matchlist for ranked games played on given account ID and platform ID\n and filtered using given filter parameters, if any", " A number of optional parameters are provided for filtering. It is up to the caller to\n ensure that the combination of fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the by_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the by_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Get a summoner by summoner name :param string region: The region to execute this request on :param string summoner_name: Summoner Name :returns: SummonerDTO: represents a summoner
"Get a summoner by summoner name\n\n :param string region: The region to execute this request on\n :param string summoner_name: Summoner Name\n\n :returns: SummonerDTO: represents a summoner"
80
false
pseudonym117/Riot-Watcher
by_name
26,250
LDU_FT/predicador37/pyjstat/read
LDU_FT
[ "<BEGIN>\n## `check_version_2`", "Checks if json-stat version attribute exists and is equal or greater \\\n than 2.0 for a given dataset.", " Args:\n dataset (OrderedDict): data in JSON-stat format, previously \\\n deserialized to a python object by \\\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. Each 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 read API. Each 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...
Reads data from URL, Dataframe, JSON string, JSON file or OrderedDict. Args: data: can be a Pandas Dataframe, a JSON string, a JSON file, an OrderedDict or a URL pointing to a JSONstat file. Returns: An object of class Dimension populated with data.
"Reads data from URL, Dataframe, JSON string, JSON file\n or OrderedDict.\n Args:\n data: can be a Pandas Dataframe, a JSON string, a JSON file,\n an OrderedDict or a URL pointing to a JSONstat file.\n\n Returns:\n An object of class Dimension populated wit...
81
false
predicador37/pyjstat
read
26,251
LDU_FT/gregreen/dustmaps/serialize_dtype
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 serialize_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 e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize_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 e...
Serializes a :obj:`numpy.dtype`. Args: o (:obj:`numpy.dtype`): :obj:`dtype` to be serialized. Returns: A dictionary that can be passed to :obj:`json.dumps`.
"Serializes a :obj:`numpy.dtype`.\n\n Args:\n o (:obj:`numpy.dtype`): :obj:`dtype` to be serialized.\n\n Returns:\n A dictionary that can be passed to :obj:`json.dumps`."
220
false
gregreen/dustmaps
serialize_dtype
26,252
LDU_FT/sods/ods/download
LDU_FT
[ "<BEGIN>\n## `display_url`", "Displaying URL in an IPython notebook to allow the user to click and check on information. With thanks to Fernando Perez for putting together the implementation!\n :param target: the url to display.\n :type target: string.\n<END>", "<BEGIN>\n## `iframe_url`", "Produce an if...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API. 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 download API. 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...
Download a lab class from the relevant course :param course: the course short name to download the class from. :type course: string :param reference: reference to the course for downloading the class. :type reference: string :param github: github repo for downloading the course from. :type strin...
"Download a lab class from the relevant course\n :param course: the course short name to download the class from.\n :type course: string\n :param reference: reference to the course for downloading the class.\n :type reference: string\n :param github: github repo for downloading the course from.\n :typ...
67
false
sods/ods
download
26,253
LDU_FT/radzak/rtv-downloader/parse_options
LDU_FT
[ "<BEGIN>\n## `suppress_stdout`", "Context manager that suppresses stdout.", " Examples:\n >>> with suppress_stdout():\n ... print('Test print')", " >>> print('test')\n test\n<END>", "<BEGIN>\n## `get_domain_name`", "Extract a domain name from the url (without subdomain)....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_options API. 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 parse_options API. 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...
Parse command line arguments. Returns: options, args
"Parse command line arguments.\n\n Returns:\n options, args"
59
false
radzak/rtv-downloader
parse_options
26,254
LDU_FT/chriskiehl/Gooey/buildNavigation
LDU_FT
[ "<BEGIN>\n## `applyStyleRules`", "Conditionally disabled/enables form fields based on the current\r\n section in the radio group\n<END>", "<BEGIN>\n## `handleImplicitCheck`", "Checkboxes are hidden when inside of a RadioGroup as a selection of\r\n the Radio button is an implicit selection of the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the buildNavigation API. 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 buildNavigation API. 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...
Chooses the appropriate layout navigation component based on user prefs
"Chooses the appropriate layout navigation component based on user prefs"
60
false
chriskiehl/Gooey
buildNavigation
26,255
LDU_FT/pyslackers/slack-sansio/discard_event
LDU_FT
[ "<BEGIN>\n## `register`", "Register a new handler for a specific :class:`slack.actions.Action` `callback_id`.\n Optional routing based on the action name too.", " The name argument is useful for actions of type `interactive_message` to provide\n a different handler for each individual actio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the discard_event API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the discard_event API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Check if the incoming event needs to be discarded Args: event: Incoming :class:`slack.events.Event` bot_id: Id of connected bot Returns: boolean
"Check if the incoming event needs to be discarded\n\n Args:\n event: Incoming :class:`slack.events.Event`\n bot_id: Id of connected bot\n\n Returns:\n boolean"
113
false
pyslackers/slack-sansio
discard_event
26,256
LDU_FT/finklabs/banana/_get_generator
LDU_FT
[ "<BEGIN>\n## `handle`", "if (globalConfigHasContent()) {\n defaultChoices.splice(defaultChoices.length - 1, 0, {\n name: 'Clear global config',\n value: 'clearConfig'\n });\n }", " var generatorList = _.chain(app.generators).map(function (generator) {\n if (!generator.appGenerator) {\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_generator API. 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_generator API. 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...
Load the generator plugin and execute its lifecycle. :param dist: distribution
"Load the generator plugin and execute its lifecycle.\n\n :param dist: distribution"
32
false
finklabs/banana
_get_generator
26,257
LDU_FT/EndurantDevs/webargs-sanic/parse_view_args
LDU_FT
[ "<BEGIN>\n## `handle_404`", "Handle 404 Not Found\n This handler should be used to handle error http 404 not found for all\n endpoints or if resource not available.\n<END>", "<BEGIN>\n## `format_error`", "Formatting JSON API Error Object\n Constructing an error object based on JSON API standard\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_view_args API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_view_args API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Pull a value from the request's ``view_args``.
"Pull a value from the request's ``view_args``."
15
false
EndurantDevs/webargs-sanic
parse_view_args
26,258
LDU_FT/markchil/gptools/params
LDU_FT
[ "<BEGIN>\n## `matern_function`", "r\"\"\"Matern covariance function of arbitrary dimension, for use with :py:class:`ArbitraryKernel`.", " The Matern kernel has the following hyperparameters, always referenced in\n the order listed:", " = ===== ====================================\n 0 sigma prefact...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted ...
Combined hyperparameters for the kernel, noise kernel and (if present) mean function.
"Combined hyperparameters for the kernel, noise kernel and (if present) mean function."
496
false
markchil/gptools
params
26,259
LDU_FT/Fizzadar/pyinfra/get_template
LDU_FT
[ "<BEGIN>\n## `agent`", "Run puppet agent", " + server: master server URL\n + port: puppet master port\n<END>", "<BEGIN>\n## `load_deploy_config`", "Loads any local config overrides in the deploy file.\n<END>", "<BEGIN>\n## `_parse_mode`", "Converts ls mode output (rwxrwxrwx) -> integer (755).\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_template API. 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_template API. 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...
Gets a jinja2 ``Template`` object for the input filename or string, with caching based on the filename of the template, or the SHA1 of the input string.
"Gets a jinja2 ``Template`` object for the input filename or string, with caching\n based on the filename of the template, or the SHA1 of the input string."
336
false
Fizzadar/pyinfra
get_template
26,260
LDU_FT/manahl/arctic/to_pandas_closed_closed
LDU_FT
[ "<BEGIN>\n## `delete`", "Delete all chunks for a symbol.", " Which are, for the moment, fully contained in the passed in\n date_range.", " Parameters\n ----------\n symbol : `str`\n symbol name for the item\n date_range : `date.DateRange`\n DateR...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_pandas_closed_closed API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_pandas_closed_closed API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Pandas DateRange slicing is CLOSED-CLOSED inclusive at both ends. Parameters ---------- date_range : `DateRange` object converted to CLOSED_CLOSED form for Pandas slicing add_tz : `bool` Adds a TimeZone to the daterange start and end if it doesn't have one. Returns ---...
"Pandas DateRange slicing is CLOSED-CLOSED inclusive at both ends.\n\n Parameters\n ----------\n date_range : `DateRange` object\n converted to CLOSED_CLOSED form for Pandas slicing\n\n add_tz : `bool`\n Adds a TimeZone to the daterange start and end if it doesn't\n have one.\n\n Ret...
429
false
manahl/arctic
to_pandas_closed_closed
26,261
LDU_FT/projecthamster/hamster-lib/_close
LDU_FT
[ "<BEGIN>\n## `_fact_to_tuple`", "Convert a ``Fact`` to its normalized tuple.", " This is where all type conversion for ``Fact`` attributes to strings as\n well as any normalization happens.", " Note:\n Because different writers may require different types, we need to\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _close API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _close API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Append the xml fact list to the main document write file and cleanup. ``toxml`` should take care of encoding everything with UTF-8.
"Append the xml fact list to the main document write file and cleanup.\n\n ``toxml`` should take care of encoding everything with UTF-8."
82
false
projecthamster/hamster-lib
_close
26,262
LDU_FT/asmodehn/filefinder2/load_module
LDU_FT
[ "<BEGIN>\n## `strip_encoding_cookie`", "Generator to pull lines from a text-mode file, skipping the encoding\n cookie if it is found in the first two lines.\n<END>", "<BEGIN>\n## `source_to_unicode`", "Converts a bytes string with python source code to unicode.\n Unicode strings are passed through uncha...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_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 load_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...
Load a namespace module as if coming from an empty file.
"Load a namespace module as if coming from an empty file."
64
false
asmodehn/filefinder2
load_module
26,263
LDU_FT/mikedh/trimesh/shared_edges
LDU_FT
[ "<BEGIN>\n## `face_adjacency`", "Returns an (n,2) list of face indices.\n Each pair of faces in the list shares an edge, making them adjacent.", " Parameters\n ----------\n faces : (n, 3) int, or None\n List of vertex indices representing triangles\n mesh : Trimesh object\n If passe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shared_edges API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shared_edges API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Given two sets of faces, find the edges which are in both sets. Parameters --------- faces_a: (n,3) int, set of faces faces_b: (m,3) int, set of faces Returns --------- shared: (p, 2) int, set of edges
"Given two sets of faces, find the edges which are in both sets.\n\n Parameters\n ---------\n faces_a: (n,3) int, set of faces\n faces_b: (m,3) int, set of faces\n\n Returns\n ---------\n shared: (p, 2) int, set of edges"
2,650
true
mikedh/trimesh
shared_edges
26,264
LDU_FT/earlye/nephele/do_resource
LDU_FT
[ "<BEGIN>\n## `do_mfa`", "Enter a 6-digit MFA token. Nephele will execute the appropriate\n `aws` command line to authenticate that token. ", " mfa -h for more details\n<END>", "<BEGIN>\n## `do_up`", "Navigate up by one level.", " For example, if you are in `(aws)/stack:.../asg:.../`, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_resource API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_resource API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Go to the specified resource. resource -h for detailed help
"Go to the specified resource. resource -h for detailed help"
52
false
earlye/nephele
do_resource
26,265
LDU_FT/alefnula/tea/configure_logging
LDU_FT
[ "<BEGIN>\n## `smart_text`", "Return a unicode object representing 's'.\r", " Treats bytes using the 'encoding' codec.\r", " If strings_only is True, don't convert (some) non-string-like objects.\n<END>", "<BEGIN>\n## `smart_bytes`", "Return a bytes version of 's' encoded as specified in 'encoding'.\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure_logging API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure_logging API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Configure logging module. Args: filename (str): Specifies a filename to log to. filemode (str): Specifies the mode to open the log file. Values: ``'a'``, ``'w'``. *Default:* ``a``. datefmt (str): Use the specified date/time format. fmt (str): Format string for the file h...
"Configure logging module.\n\n Args:\n filename (str): Specifies a filename to log to.\n filemode (str): Specifies the mode to open the log file.\n Values: ``'a'``, ``'w'``. *Default:* ``a``.\n datefmt (str): Use the specified date/time format.\n fmt (str): Format string for th...
240
false
alefnula/tea
configure_logging
26,266
LDU_FT/milesrichardson/ParsePy/remove
LDU_FT
[ "<BEGIN>\n## `master_key_required`", "decorator describing methods that require the master key\n<END>", "<BEGIN>\n## `execute`", "if batch == False, execute a command with the given parameters and\n return the response JSON.\n If batch == True, return the dictionary that would be used in a batch...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Clear a column value in the object. Note that this happens immediately: it does not wait for save() to be called.
"Clear a column value in the object. Note that this happens immediately:\n it does not wait for save() to be called."
22
false
milesrichardson/ParsePy
remove
26,267
LDU_FT/gsi-upm/soil/befriend
LDU_FT
[ "<BEGIN>\n## `save_record`", "Save a collection of records to the database.\n Database writes are cached.\n<END>", "<BEGIN>\n## `convert`", "Get the serialized value for a given key.\n<END>", "<BEGIN>\n## `recover`", "Get the deserialized value for a given key, and the serialized version.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the befriend API. 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 befriend API. 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...
Try to become friends with another agent. The chances of success depend on both agents' openness.
"Try to become friends with another agent. The chances of\n success depend on both agents' openness."
63
false
gsi-upm/soil
befriend
26,268
LDU_FT/jorisroovers/gitlint/clone
LDU_FT
[ "<BEGIN>\n## `find_rule_classes`", "Searches a given directory or python module for rule classes. This is done by\n adding the directory path to the python path, importing the modules and then finding\n any Rule class in those modules.", " :param extra_path: absolute directory or file path to search fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clone API. Each 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 clone API. Each 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...
Creates an exact copy of a LintConfigBuilder.
"Creates an exact copy of a LintConfigBuilder."
58
false
jorisroovers/gitlint
clone
26,269
LDU_FT/rkargon/pixelsorter/sort_image_tiles
LDU_FT
[ "<BEGIN>\n## `hue`", "Returns the saturation of a pixel.\n Gray pixels have saturation 0.\n :param p: A tuple of (R,G,B) values\n :return: A saturation value between 0 and 360\n<END>", "<BEGIN>\n## `saturation`", "Returns the saturation of a pixel, defined as the ratio of chroma to value.\n :param...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort_image_tiles API. 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 sort_image_tiles API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Sorts an image by taking various tiles and sorting them individually. :param image: The image to be modified :param size: The size of the image, as (width, height) :param sorting_args: Arguments that would be passed to sort_pixels for each tile :param tile_size: The size of each tile as (width, height) ...
"Sorts an image by taking various tiles and sorting them individually.\n :param image: The image to be modified\n :param size: The size of the image, as (width, height)\n :param sorting_args: Arguments that would be passed to sort_pixels for each tile\n :param tile_size: The size of each tile as (width, hei...
79
false
rkargon/pixelsorter
sort_image_tiles
26,270
LDU_FT/hsolbrig/PyShEx/satisfiesShapeNot
LDU_FT
[ "<BEGIN>\n## `conforms`", "`5.6.1 Schema Validation Requirement <http://shex.io/shex-semantics/#validation-requirement>`_", " A graph G is said to conform with a schema S with a ShapeMap m when:", " Every, SemAct in the startActs of S has a successful evaluation of semActsSatisfied.\n Every node n in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the satisfiesShapeNot API. 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 satisfiesShapeNot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Se is a ShapeNot and for the shape expression se2 at shapeExpr, notSatisfies(n, se2, G, m)
"Se is a ShapeNot and for the shape expression se2 at shapeExpr, notSatisfies(n, se2, G, m)"
234
false
hsolbrig/PyShEx
satisfiesShapeNot
26,271
LDU_FT/gregmuellegger/django-autofixture/opendocs
LDU_FT
[ "<BEGIN>\n## `register`", "Register a model with the registry.", " Arguments:", " *model* can be either a model class or a string that contains the model's\n app label and class name seperated by a dot, e.g. ``\"app.ModelClass\"``.", " *autofixture* is the :mod:`AutoFixture` subclass...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the opendocs API. 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 opendocs API. 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...
Rebuild documentation and opens it in your browser. Use the first argument to specify how it should be opened: `d` or `default`: Open in new tab or new window, using the default method of your browser. `t` or `tab`: Open documentation in new tab. `n`, `w` or `window`: Open docume...
"Rebuild documentation and opens it in your browser.\n\n Use the first argument to specify how it should be opened:\n\n `d` or `default`: Open in new tab or new window, using the default\n method of your browser.\n\n `t` or `tab`: Open documentation in new tab.\n\n `n`, `w` or `window`: O...
46
false
gregmuellegger/django-autofixture
opendocs
26,272