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/thiagopbueno/pyrddl/p_state_invariant_list | LDU_FT | [
"<BEGIN>\n## `rename_next_state_fluent`",
"Returns next state fluent canonical name.",
" Args:\n name (str): The current state fluent name.",
" Returns:\n str: The next state fluent name.\n<END>",
"<BEGIN>\n## `rename_state_fluent`",
"Returns current state fluent canonical name.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_state_invariant_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_state_invariant_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | state_invariant_list : state_invariant_list state_invariant_def
| state_invariant_def | "state_invariant_list : state_invariant_list state_invariant_def\n | state_invariant_def" | 158 | false | thiagopbueno/pyrddl | p_state_invariant_list | 29,273 | |
LDU_FT/agile-geoscience/welly/add_curves_from_las | LDU_FT | [
"<BEGIN>\n## `sharey`",
"Shared axes limits without shared locators, ticks, etc.",
" By Joe Kington\n<END>",
"<BEGIN>\n## `fix_ticks`",
"Center ticklabels and hide any outside axes limits.",
" By Joe Kington\n<END>",
"<BEGIN>\n## `flatten_list`",
"Unpacks lists in a list:",
" [1, 2, [3,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_curves_from_las API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_curves_from_las 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... | Given a LAS file, add curves from it to the current well instance.
Essentially just wraps ``add_curves_from_lasio()``.
Args:
fname (str): The path of the LAS file to read curves from.
remap (dict): Optional. A dict of 'old': 'new' LAS field names.
funcs (dict): Optio... | "Given a LAS file, add curves from it to the current well instance.\n Essentially just wraps ``add_curves_from_lasio()``.\n\n Args:\n fname (str): The path of the LAS file to read curves from.\n remap (dict): Optional. A dict of 'old': 'new' LAS field names.\n funcs (dict)... | 325 | false | agile-geoscience/welly | add_curves_from_las | 29,274 | |
LDU_FT/pymoca/pymoca/modify_symbol | LDU_FT | [
"<BEGIN>\n## `call`",
"Convenience method for calling methods with walker.\n<END>",
"<BEGIN>\n## `der`",
"Get the derivative of the variable, create it if it doesn't exist.\n<END>",
"<BEGIN>\n## `log`",
"Convenience function for printing indenting debug output.\n<END>",
"<BEGIN>\n## `flatten_component_r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the modify_symbol API.
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 modify_symbol API.
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... | Apply a modification to a symbol if the scope matches (or is None)
:param sym: symbol to apply modifications for
:param scope: scope of modification | "Apply a modification to a symbol if the scope matches (or is None)\n :param sym: symbol to apply modifications for\n :param scope: scope of modification" | 61 | false | pymoca/pymoca | modify_symbol | 29,275 | |
LDU_FT/nocarryr/python-dispatch/iter_methods | LDU_FT | [
"<BEGIN>\n## `register_event`",
"Registers new events after instance creation",
" Args:\n *names (str): Name or names of the events to register\n<END>",
"<BEGIN>\n## `bind`",
"Subscribes to events or to :class:`~pydispatch.properties.Property` updates",
" Keyword arguments are use... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_methods API.
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 iter_methods API.
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... | Iterate over stored functions and instance methods
Yields:
Instance methods or function objects | "Iterate over stored functions and instance methods\n\n Yields:\n Instance methods or function objects" | 89 | false | nocarryr/python-dispatch | iter_methods | 29,276 | |
LDU_FT/nerdynick/PySQLPool/commit | LDU_FT | [
"<BEGIN>\n## `getNewConnection`",
"Quickly Create a new PySQLConnection class",
"\t@param host: Hostname for your database\n\t@param username: Username to use to connect to database\n\t@param password: Password to use to connect to database \n\t@param schema: Schema to use\n\t@param port: Port to connect on\n\t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the commit API.
Each 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 commit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Commit MySQL Transaction to database.
MySQLDB: If the database and the tables support transactions,
this commits the current transaction; otherwise
this method successfully does nothing.
@author: Nick Verbeck
@since: 5/12/2008 | "Commit MySQL Transaction to database.\n\t\tMySQLDB: If the database and the tables support transactions, \n\t\tthis commits the current transaction; otherwise \n\t\tthis method successfully does nothing.\n\t\t\n\t\t@author: Nick Verbeck\n\t\t@since: 5/12/2008" | 59 | false | nerdynick/PySQLPool | commit | 29,277 | |
LDU_FT/Datary/scrapbag/get_dates_in_period | LDU_FT | [
"<BEGIN>\n## `parse_spss_headerfile`",
"Parse spss header file",
" Arguments:\n path {str} -- path al fichero de cabecera.\n leyend_position -- posicion del la leyenda en el header.\n<END>",
"<BEGIN>\n## `parse_spss_datafile`",
"Parse spss data file",
" Arguments:\n path {str} -... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dates_in_period API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dates_in_period 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... | Return a list of dates from the `start` to `top`. | "Return a list of dates from the `start` to `top`." | 119 | false | Datary/scrapbag | get_dates_in_period | 29,278 | |
LDU_FT/sastrarobotics/pyHerkulex/set_servo_angle | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect to the Herkulex bus",
" Connect to serial port to which Herkulex Servos are attatched",
" Args:\n portname (str): The serial port name\n baudrate (int): The serial port baudrate\n Raises:\n SerialException: Error occured while opening serial port... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_servo_angle API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_servo_angle API.
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... | Sets the servo angle (in degrees)
Enable torque using torque_on function before calling this
Args:
goalangle (int): The desired angle in degrees, range -150 to 150
goaltime (int): the time taken to move from present
position to goalposition
led (int): t... | "Sets the servo angle (in degrees)\n\n Enable torque using torque_on function before calling this\n\n Args:\n goalangle (int): The desired angle in degrees, range -150 to 150\n goaltime (int): the time taken to move from present\n position to goalposition\n led... | 102 | false | sastrarobotics/pyHerkulex | set_servo_angle | 29,279 | |
LDU_FT/mbakker7/timml/disvecalongline | LDU_FT | [
"<BEGIN>\n## `plot`",
"Plot layout",
" Parameters\n ----------",
" win : list or tuple\n [x1, x2, y1, y2]\n<END>",
"<BEGIN>\n## `contour`",
"Contour plot",
" Parameters\n ----------",
" win : list or tuple\n [x1, x2, y1, y2]\n ngr ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disvecalongline API.
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 disvecalongline API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Returns Qx[Nlayers,len(x)], Qy[Nlayers,len(x)]
Assumes same number of layers for each x and y
layers may be None or list of layers for which head is computed | "Returns Qx[Nlayers,len(x)], Qy[Nlayers,len(x)]\n Assumes same number of layers for each x and y\n layers may be None or list of layers for which head is computed" | 82 | false | mbakker7/timml | disvecalongline | 29,280 | |
LDU_FT/hfaran/Tornado-JSON/get | LDU_FT | [
"<BEGIN>\n## `_validate_example`",
"Validates example against schema",
" :returns: Formatted example if example exists and validates, otherwise None\n :raises ValidationError: If example does not validate against the schema\n<END>",
"<BEGIN>\n## `_get_rh_methods`",
"Yield all HTTP methods in ``rh`` th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Shouts hello to the world (asynchronously)! | "Shouts hello to the world (asynchronously)!" | 61 | false | hfaran/Tornado-JSON | get | 29,281 | |
LDU_FT/cjhutto/vaderSentiment/_words_plus_punc | LDU_FT | [
"<BEGIN>\n## `negated`",
"Determine if input contains negation words\n<END>",
"<BEGIN>\n## `normalize`",
"Normalize the score to be between -1 and 1 using an alpha that\n approximates the max expected value\n<END>",
"<BEGIN>\n## `allcap_differential`",
"Check whether just some words in the input are AL... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _words_plus_punc API.
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 _words_plus_punc API.
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 mapping of form:
{
'cat,': 'cat',
',cat': 'cat',
} | "Returns mapping of form:\n {\n 'cat,': 'cat',\n ',cat': 'cat',\n }" | 18 | false | cjhutto/vaderSentiment | _words_plus_punc | 29,282 | |
LDU_FT/cloud9ers/pylxc/info | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new container\r\n raises ContainerAlreadyExists exception if the container name is reserved already.\r",
" :param template_options: Options passed to the specified template\r\n :type template_options: list or None\n<END>",
"<BEGIN>\n## `all_as_dict`",
"returns a di... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | returns info dict about the specified container | "returns info dict about the specified container" | 20 | false | cloud9ers/pylxc | info | 29,283 | |
LDU_FT/defunkt/pystache/_render_string | LDU_FT | [
"<BEGIN>\n## `render`",
"Return the given template string rendered using the given context.\n<END>",
"<BEGIN>\n## `_get_value`",
"Retrieve a key's value from a context item.",
" Returns _NOT_FOUND if the key does not exist.",
" The ContextStack.get() docstring documents this function's intended beha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _render_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _render_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Render the given template string using the given context. | "Render the given template string using the given context." | 177 | false | defunkt/pystache | _render_string | 29,284 | |
LDU_FT/prechelt/typecheck-decorator/check | LDU_FT | [
"<BEGIN>\n## `_is_possible_subclass`",
"Like issubclass(subtype, supertype) except that TypeVars\n are not taken into account.\n<END>",
"<BEGIN>\n## `check`",
"See whether the TypeVar is bound for the first time\n or is met with _exactly_ the same type as previously.\n That type must also... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check API.
Each 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 check API.
Each 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... | See whether the TypeVar is bound for the first time
or is met with _exactly_ the same type as previously.
That type must also obey the TypeVar's bound, if any.
Everything else is a type error. | "See whether the TypeVar is bound for the first time\n or is met with _exactly_ the same type as previously.\n That type must also obey the TypeVar's bound, if any.\n Everything else is a type error." | 18 | false | prechelt/typecheck-decorator | check | 29,285 | |
LDU_FT/camptocamp/marabunta/_perform_version | LDU_FT | [
"<BEGIN>\n## `perform`",
"Perform the version upgrade on the database.\n<END>",
"<BEGIN>\n## `_perform_version`",
"Inner method for version upgrade.",
" Not intended for standalone use. This method performs the actual\n version upgrade with all the pre, post operations and addons upgrades.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _perform_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _perform_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Inner method for version upgrade.
Not intended for standalone use. This method performs the actual
version upgrade with all the pre, post operations and addons upgrades.
:param version: The migration version to upgrade to
:type version: Instance of Version class | "Inner method for version upgrade.\n\n Not intended for standalone use. This method performs the actual\n version upgrade with all the pre, post operations and addons upgrades.\n\n :param version: The migration version to upgrade to\n :type version: Instance of Version class" | 48 | false | camptocamp/marabunta | _perform_version | 29,286 | |
LDU_FT/WojciechMula/pyahocorasick/add_word | LDU_FT | [
"<BEGIN>\n## `__get_node`",
"Private function retrieving a final node of trie\n\t\tfor given word",
"\t\tReturns node or None, if the trie doesn't contain the word.\n<END>",
"<BEGIN>\n## `get`",
"Retrieves output value associated with word.",
"\t\tIf there is no word returns default value,\n\t\tand if def... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_word API.
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_word API.
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... | Adds word and associated value.
If word already exists, its value is replaced. | "Adds word and associated value.\n\n\t\tIf word already exists, its value is replaced." | 23 | false | WojciechMula/pyahocorasick | add_word | 29,287 | |
LDU_FT/Rambatino/CHAID/name_columns | LDU_FT | [
"<BEGIN>\n## `chisquare`",
"Calculates the chisquare for a matrix of ind_v x dep_v\n for the unweighted and SPSS weighted case\n<END>",
"<BEGIN>\n## `best_split`",
"determine which splitting function to apply\n<END>",
"<BEGIN>\n## `best_cat_heuristic_split`",
"determine best categorical variable split ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the name_columns API.
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 name_columns API.
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... | Substitutes the split column index with a human readable string | "Substitutes the split column index with a human readable string" | 34 | false | Rambatino/CHAID | name_columns | 29,288 | |
LDU_FT/michaelaye/pyciss/which_epi_janus_resonance | LDU_FT | [
"<BEGIN>\n## `get_config`",
"Read the configfile and return config dict.",
" Returns\n -------\n dict\n Dictionary with the content of the configpath file.\n<END>",
"<BEGIN>\n## `set_database_path`",
"Use to write the database path into the config.",
" Parameters\n ----------\n db... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the which_epi_janus_resonance 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 which_epi_janus_resonance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Find which swap situtation we are in by time.
Starting from 2006-01-21 where a Janus-Epimetheus swap occured, and
defining the next 4 years until the next swap as `scenario1, and the 4
years after that `scenario2`.
Calculate in units of 4 years, in which scenario the given time falls.
Parameters
... | "Find which swap situtation we are in by time.\n\n Starting from 2006-01-21 where a Janus-Epimetheus swap occured, and\n defining the next 4 years until the next swap as `scenario1, and the 4\n years after that `scenario2`.\n Calculate in units of 4 years, in which scenario the given time falls.\n\n Para... | 83 | false | michaelaye/pyciss | which_epi_janus_resonance | 29,289 | |
LDU_FT/danilobellini/dose/get_shared | LDU_FT | [
"<BEGIN>\n## `about_box`",
"A simple about dialog box using the distribution data files.\n<END>",
"<BEGIN>\n## `call_after`",
"Parametrized decorator for calling a function after a time ``lag`` given\n in milliseconds. This cancels simultaneous calls.\n<END>",
"<BEGIN>\n## `on_timer`",
"Keep watching the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_shared API.
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_shared API.
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... | Loads the string data from a text file that was packaged as a
data file in the distribution.
Uses the setuptools ``pkg_resources.resource_string`` function as
a fallback, as installing Dose with it directly instead of using
wheel/pip would store the setup.py ``data_files`` otherwhere. For
more info... | "Loads the string data from a text file that was packaged as a\n data file in the distribution.\n\n Uses the setuptools ``pkg_resources.resource_string`` function as\n a fallback, as installing Dose with it directly instead of using\n wheel/pip would store the setup.py ``data_files`` otherwhere. For\n mo... | 79 | false | danilobellini/dose | get_shared | 29,290 | |
LDU_FT/marshmallow-code/apispec/get_ref_dict | LDU_FT | [
"<BEGIN>\n## `load_operations_from_docstring`",
"Return a dictionary of OpenAPI operations parsed from a\n a docstring.\n<END>",
"<BEGIN>\n## `resolve_schema_instance`",
"Return schema instance for given schema (instance or class)",
" :param type|Schema|str schema: instance, class or class name of mar... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ref_dict API.
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_ref_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Method to create a dictionary containing a JSON reference to the
schema in the spec | "Method to create a dictionary containing a JSON reference to the\n schema in the spec" | 149 | false | marshmallow-code/apispec | get_ref_dict | 29,291 | |
LDU_FT/hayd/ctox/ctox | LDU_FT | [
"<BEGIN>\n## `expand_curlys`",
"Takes string and returns list of options:",
" Example\n -------\n >>> expand_curlys(\"py{26, 27}\")\n [\"py26\", \"py27\"]\n<END>",
"<BEGIN>\n## `_split_out_of_braces`",
"Generator to split comma seperated string, but not split commas inside\n curly braces.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ctox API.
Each 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 ctox API.
Each 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... | Main method for the environment.
Parse the tox.ini config, install the dependancies and run the
commands. The output of the commands is printed.
Returns 0 if they ran successfully, 1 if there was an error
(either in setup or whilst running the commands), 2 if the build
was skip... | "Main method for the environment.\n\n Parse the tox.ini config, install the dependancies and run the\n commands. The output of the commands is printed.\n\n Returns 0 if they ran successfully, 1 if there was an error\n (either in setup or whilst running the commands), 2 if the build\n ... | 40 | false | hayd/ctox | ctox | 29,292 | |
LDU_FT/onnx/onnxmltools/calculate_split_output_shapes | LDU_FT | [
"<BEGIN>\n## `apply_cast`",
":param to: enum defined in ONNX TensorProto.DataType, for example, TensorProto.FLOAT and TensorProto.INT64.\n<END>",
"<BEGIN>\n## `apply_gemm`",
"Applies operator `gemm <https://github.com/onnx/onnx/blob/master/docs/Operators.md#gemm>`.\n<END>",
"<BEGIN>\n## `apply_upsample`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_split_output_shapes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_split_output_shapes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Allowed input/output patterns are
1. [N, C] ---> [N', C]
2. [N, C, H, W] ---> [N', C, H, W] | "Allowed input/output patterns are\n 1. [N, C] ---> [N', C]\n 2. [N, C, H, W] ---> [N', C, H, W]" | 300 | false | onnx/onnxmltools | calculate_split_output_shapes | 29,293 | |
LDU_FT/mila-iqia/fuel/read_devkit | LDU_FT | [
"<BEGIN>\n## `convert_mnist`",
"Converts the MNIST dataset to HDF5.",
" Converts the MNIST dataset to an HDF5 dataset compatible with\n :class:`fuel.datasets.MNIST`. The converted dataset is\n saved as 'mnist.hdf5'.",
" This method assumes the existence of the following files:\n `train-images-i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_devkit API.
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 read_devkit API.
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... | Read relevant information from the development kit archive.
Parameters
----------
f : str or file-like object
The filename or file-handle for the gzipped TAR archive
containing the ILSVRC2010 development kit.
Returns
-------
synsets : ndarray, 1-dimensional, compound dtype
... | "Read relevant information from the development kit archive.\n\n Parameters\n ----------\n f : str or file-like object\n The filename or file-handle for the gzipped TAR archive\n containing the ILSVRC2010 development kit.\n\n Returns\n -------\n synsets : ndarray, 1-dimensional, compound... | 358 | false | mila-iqia/fuel | read_devkit | 29,294 | |
LDU_FT/koehlma/pygrooveshark/songs | LDU_FT | [
"<BEGIN>\n## `artist`",
":class:`Artist` object of album's artist\n<END>",
"<BEGIN>\n## `export`",
"Returns a dictionary with all album information.\n Use the :meth:`from_export` method to recreate the\n :class:`Album` object.\n<END>",
"<BEGIN>\n## `export`",
"Returns a dictionary with all s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the songs API.
Each 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 songs API.
Each 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... | iterator over artist's songs as :class:`Song` objects | "iterator over artist's songs as :class:`Song` objects" | 52 | false | koehlma/pygrooveshark | songs | 29,295 | |
LDU_FT/kennydo/nyaalib/view_torrent | LDU_FT | [
"<BEGIN>\n## `extract_url_query_parameter`",
"Given a URL (ex: \"http://www.test.com/path?query=3\") and a parameter\n (ex: \"query\"), return the value as a list\n :param url: a `str` URL\n :param parameter: the URL query we went to extract\n :return: a `list` of values for the given query name in th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the view_torrent API.
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 view_torrent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Retrieves and parses the torrent page for a given `torrent_id`.
:param torrent_id: the ID of the torrent to view
:raises TorrentNotFoundError: if the torrent does not exist
:returns: a :class:`TorrentPage` with a snapshot view of the torrent
detail page | "Retrieves and parses the torrent page for a given `torrent_id`.\n\n :param torrent_id: the ID of the torrent to view\n :raises TorrentNotFoundError: if the torrent does not exist\n :returns: a :class:`TorrentPage` with a snapshot view of the torrent\n detail page" | 14 | false | kennydo/nyaalib | view_torrent | 29,296 | |
LDU_FT/ladybug-tools/ladybug/_check_aligned_header | LDU_FT | [
"<BEGIN>\n## `project`",
"Return one vector projected on the vector other\n<END>",
"<BEGIN>\n## `rotate_around`",
"Return the vector rotated around axis through angle theta.",
" Right hand rule applies.\n<END>",
"<BEGIN>\n## `to_ip`",
"Return values in IP and the units to which the values have be... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_aligned_header 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 _check_aligned_header API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Check the header inputs whenever get_aligned_collection is called. | "Check the header inputs whenever get_aligned_collection is called." | 743 | false | ladybug-tools/ladybug | _check_aligned_header | 29,297 | |
LDU_FT/robertpeteuil/multi-cloud-control/make_node_dict | LDU_FT | [
"<BEGIN>\n## `get_conns`",
"Collect node data asynchronously using gevent lib.\n<END>",
"<BEGIN>\n## `get_data`",
"Refresh node data using existing connection-objects.\n<END>",
"<BEGIN>\n## `busy_disp_off`",
"Turn OFF busy_display to indicate completion.\n<END>",
"<BEGIN>\n## `conn_ali`",
"Establish c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_node_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_node_dict API.
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... | Convert node data from nested-list to sorted dict. | "Convert node data from nested-list to sorted dict." | 36 | false | robertpeteuil/multi-cloud-control | make_node_dict | 29,298 | |
LDU_FT/rande/python-simple-ioc/send_file | LDU_FT | [
"<BEGIN>\n## `post_build`",
"Register filter and global in jinja environment instance",
" IoC tags are:\n - jinja2.filter to register filter, the tag must contain\n a name and a method options\n - jinja2.global to add new global, here globals are functions. \n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Send a file to the client, it is a convenient method to avoid duplicated code | "Send a file to the client, it is a convenient method to avoid duplicated code" | 14 | false | rande/python-simple-ioc | send_file | 29,299 | |
LDU_FT/Delgan/loguru/stop | LDU_FT | [
"<BEGIN>\n## `add`",
"r\"\"\"Add a handler sending log messages to a sink adequately configured.",
" Parameters\n ----------\n sink : |file-like object|_, |str|, |Path|, |function|_, |Handler| or |class|_\n An object in charge of receiving formatted logging messages and propagati... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API.
Each 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 stop API.
Each 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... | Deprecated function to |remove| an existing handler.
Warnings
--------
.. deprecated:: 0.2.2
``stop()`` will be removed in Loguru 1.0.0, it is replaced by ``remove()`` which is a less
confusing name. | "Deprecated function to |remove| an existing handler.\n\n Warnings\n --------\n .. deprecated:: 0.2.2\n ``stop()`` will be removed in Loguru 1.0.0, it is replaced by ``remove()`` which is a less\n confusing name." | 141 | false | Delgan/loguru | stop | 29,300 | |
LDU_FT/mvantellingen/wsgi-basic-auth/_include_paths_from_environ | LDU_FT | [
"<BEGIN>\n## `_users_from_environ`",
"Environment value via `user:password|user2:password2`\n<END>",
"<BEGIN>\n## `_exclude_paths_from_environ`",
"Environment value via `/login;/register`\n<END>",
"<BEGIN>\n## `_include_paths_from_environ`",
"Environment value via `/login;/register`\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _include_paths_from_environ API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _include_paths_from_environ API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Environment value via `/login;/register` | "Environment value via `/login;/register`" | 16 | false | mvantellingen/wsgi-basic-auth | _include_paths_from_environ | 29,301 | |
LDU_FT/pyopenapi/pyswagger/request | LDU_FT | [
"<BEGIN>\n## `swagger`",
"some preparation before returning Swagger object\n<END>",
"<BEGIN>\n## `apply_with`",
"constructor",
" :param str v: accept six.string_types, six.binary_type\n<END>",
"<BEGIN>\n## `scope_compose`",
"compose a new scope",
" :param str scope: current scope\n :param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | preprocess before performing a request, usually some patching.
authorization also applied here.
:param req_and_resp: tuple of Request and Response
:type req_and_resp: (Request, Response)
:param opt: customized options
:type opt: dict
:param headers: customized headers
... | "preprocess before performing a request, usually some patching.\n authorization also applied here.\n\n :param req_and_resp: tuple of Request and Response\n :type req_and_resp: (Request, Response)\n :param opt: customized options\n :type opt: dict\n :param headers: customized he... | 162 | false | pyopenapi/pyswagger | request | 29,302 | |
LDU_FT/jtambasco/modesolverpy/_add_material | LDU_FT | [
"<BEGIN>\n## `solve_sweep_structure`",
"Find the modes of many structures.",
" Args:\n structures (list): A list of `Structures` to find the modes\n of.\n sweep_param_list (list): A list of the parameter-sweep sweep\n that was used. This is for plottin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_material API.
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 _add_material API.
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... | A low-level function that allows writing a rectangle refractive
index profile to a `Structure`.
Args:
x_bot_left (float): The bottom-left x-coordinate of the
rectangle.
y_bot_left (float): The bottom-left y-coordinate of the
rectangle.
... | "A low-level function that allows writing a rectangle refractive\n index profile to a `Structure`.\n\n Args:\n x_bot_left (float): The bottom-left x-coordinate of the\n rectangle.\n y_bot_left (float): The bottom-left y-coordinate of the\n rectangle.\n ... | 70 | false | jtambasco/modesolverpy | _add_material | 29,303 | |
LDU_FT/dronekit/dronekit-python/set_roi | LDU_FT | [
"<BEGIN>\n## `condition_yaw`",
"Send MAV_CMD_CONDITION_YAW message to point vehicle at a specified heading (in degrees).",
" This method sets an absolute heading by default, but you can set the `relative` parameter\n to `True` to set yaw relative to the current yaw heading.",
" By default the yaw of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_roi API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_roi API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Send MAV_CMD_DO_SET_ROI message to point camera gimbal at a
specified region of interest (LocationGlobal).
The vehicle may also turn to face the ROI.
For more information see:
http://copter.ardupilot.com/common-mavlink-mission-command-messages-mav_cmd/#mav_cmd_do_set_roi | "Send MAV_CMD_DO_SET_ROI message to point camera gimbal at a \n specified region of interest (LocationGlobal).\n The vehicle may also turn to face the ROI.\n\n For more information see: \n http://copter.ardupilot.com/common-mavlink-mission-command-messages-mav_cmd/#mav_cmd_do_set_roi" | 290 | false | dronekit/dronekit-python | set_roi | 29,304 | |
LDU_FT/SuperCowPowers/bat/readlines | LDU_FT | [
"<BEGIN>\n## `readlines`",
"Open the file for reading and yield lines as they are added\n<END>",
"<BEGIN>\n## `readrows`",
"The readrows method reads simply 'combines' the rows of\n multiple files OR gunzips the file and then reads the rows\n<END>",
"<BEGIN>\n## `most_recent`",
"Recursively insp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the readlines API.
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 readlines API.
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... | Open the file for reading and yield lines as they are added | "Open the file for reading and yield lines as they are added" | 79 | false | SuperCowPowers/bat | readlines | 29,305 | |
LDU_FT/riga/tfdeploy/get | LDU_FT | [
"<BEGIN>\n## `setup`",
"Sets up global variables (currently only the tensorflow version) to adapt to peculiarities of\n different tensorflow versions. This function should only be called before :py:class:`Model`\n creation, not for evaluation. Therefore, the tensorflow module *tf* must be passed:",
" .... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | get(*names, key=None)
Returns one or more :py:class:`TensorEnsemble` instances given by *names* using a deep
lookup within all read models. Each returned tensor ensemble will have ``len(models)``
tensors. If a model does not contain a specific tensor defined by a specific *name*, the
ass... | "get(*names, key=None)\n Returns one or more :py:class:`TensorEnsemble` instances given by *names* using a deep\n lookup within all read models. Each returned tensor ensemble will have ``len(models)``\n tensors. If a model does not contain a specific tensor defined by a specific *name*, the\n ... | 43 | false | riga/tfdeploy | get | 29,306 | |
LDU_FT/KimiNewt/pyshark/get_multiple_layers | LDU_FT | [
"<BEGIN>\n## `get_field`",
"Gets the XML field object of the given name.\n<END>",
"<BEGIN>\n## `get_field_value`",
"Tries getting the value of the given field.\n Tries it in the following order: show (standard nice display), value (raw value), showname (extended nice display).",
" :param name:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_multiple_layers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_multiple_layers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Returns a list of all the layers in the packet that are of the layer type (an incase-sensitive string).
This is in order to retrieve layers which appear multiple times in the same packet (i.e. double VLAN) which cannot be
retrieved by easier means. | "Returns a list of all the layers in the packet that are of the layer type (an incase-sensitive string).\n This is in order to retrieve layers which appear multiple times in the same packet (i.e. double VLAN) which cannot be\n retrieved by easier means." | 91 | false | KimiNewt/pyshark | get_multiple_layers | 29,307 | |
LDU_FT/Galarzaa90/tibia.py/_parse_application_info | LDU_FT | [
"<BEGIN>\n## `ranks`",
":class:`list` of :class:`str`: Ranks in their hierarchical order.\n<END>",
"<BEGIN>\n## `from_content`",
"Creates an instance of the class from the HTML content of the guild's page.",
" Parameters\n -----------\n content: :class:`str`\n The HTML conten... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_application_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_application_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Parses the guild's application info.
Parameters
----------
info_container: :class:`bs4.Tag`
The parsed content of the information container. | "Parses the guild's application info.\n\n Parameters\n ----------\n info_container: :class:`bs4.Tag`\n The parsed content of the information container." | 254 | false | Galarzaa90/tibia.py | _parse_application_info | 29,308 | |
LDU_FT/willhardy/django-seo/_resolve | LDU_FT | [
"<BEGIN>\n## `_populate`",
"Populate this list by calling populate(), but only once.\n<END>",
"<BEGIN>\n## `_register_admin`",
"Register model in the admin, ignoring any previously registered models.\n Alternatively it could be used in the future to replace a previously \n registered model.\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _resolve API.
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 _resolve API.
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... | Resolves any template references in the given value. | "Resolves any template references in the given value." | 36 | false | willhardy/django-seo | _resolve | 29,309 | |
LDU_FT/expfactory/expfactory/finish_experiment | LDU_FT | [
"<BEGIN>\n## `get_experiments`",
"get_experiments will return loaded json for all valid experiments from an experiment folder\n :param base: full path to the base folder with experiments inside\n :param load: if True, returns a list of loaded config.json objects. If False (default) returns the paths to the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finish_experiment API.
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 finish_experiment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | remove an experiment from the list after completion. | "remove an experiment from the list after completion." | 128 | false | expfactory/expfactory | finish_experiment | 29,310 | |
LDU_FT/psss/fmf/climb | LDU_FT | [
"<BEGIN>\n## `_initialize`",
"Find metadata tree root, detect format version\n<END>",
"<BEGIN>\n## `update`",
"Update metadata, handle virtual hierarchy\n<END>",
"<BEGIN>\n## `get`",
"Get attribute value or return default",
" Whole data dictionary is returned when no attribute provided.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the climb API.
Each 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 climb API.
Each 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... | Climb through the tree (iterate leaf/all nodes) | "Climb through the tree (iterate leaf/all nodes)" | 28 | false | psss/fmf | climb | 29,311 | |
LDU_FT/tariqdaouda/rabaDB/execute | LDU_FT | [
"<BEGIN>\n## `removeFromRegistery`",
"Removes an object/rabalist from registery. This is useful if you want to allow the garbage collector to free the memory\n\ttaken by the objects you've already loaded. Be careful might cause some discrepenties in your scripts. For objects,\n\tcascades to free the registeries o... | 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... | executes an sql command for you or appends it to the current transacations. returns a cursor | "executes an sql command for you or appends it to the current transacations. returns a cursor" | 55 | false | tariqdaouda/rabaDB | execute | 29,312 | |
LDU_FT/mesbahamin/chronophore/apply | LDU_FT | [
"<BEGIN>\n## `migrate_050_to_051`",
"Set time_out field of all flagged\n timesheet entries to Null.\n<END>",
"<BEGIN>\n## `set_up_logging`",
"Configure logging settings and return a logger object.\n<END>",
"<BEGIN>\n## `main`",
"Run Chronophore based on the command line arguments.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Inherited from tkinter.simpledialog.Dialog | "Inherited from tkinter.simpledialog.Dialog" | 60 | false | mesbahamin/chronophore | apply | 29,313 | |
LDU_FT/bennyrowland/suspect/complex_to_real | LDU_FT | [
"<BEGIN>\n## `write_all_files`",
"Creates an LCModel control file for processing the supplied MRSData, and\n optional water reference data, updating the default parameters with any\n values supplied through params.",
" :param filename: the location where the control file should be saved.\n :param da... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the complex_to_real API.
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 complex_to_real API.
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... | Standard optimization routines as used in lmfit require real data. This
function takes a complex FID and constructs a real version by concatenating
the imaginary part to the complex part. The imaginary part is also reversed
to keep the maxima at each end of the FID and avoid discontinuities in the
cente... | "Standard optimization routines as used in lmfit require real data. This\n function takes a complex FID and constructs a real version by concatenating\n the imaginary part to the complex part. The imaginary part is also reversed\n to keep the maxima at each end of the FID and avoid discontinuities in the\n ... | 71 | false | bennyrowland/suspect | complex_to_real | 29,314 | |
LDU_FT/datacats/datacats/deploy | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new environment",
"Usage:\n datacats create [-bin] [--interactive] [-s NAME] [--address=IP] [--syslog]\n [--ckan=CKAN_VERSION] [--no-datapusher] [--site-url SITE_URL]\n [--no-init-db] ENVIRONMENT_DIR [PORT]",
"Options:\n --address=IP ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deploy API.
Each 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 deploy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Return True if deployment was successful | "Return True if deployment was successful" | 256 | false | datacats/datacats | deploy | 29,315 | |
LDU_FT/lins05/slackbot/websocket_safe_read | LDU_FT | [
"<BEGIN>\n## `to_utf8`",
"Convert a string to utf8. If the argument is an iterable\n (list/tuple/set), then each element of it would be converted instead.",
" >>> to_utf8('a')\n 'a'\n >>> to_utf8(u'a')\n 'a'\n >>> to_utf8([u'a', u'b', u'\\u4f60'])\n ['a', 'b', '\\\\xe4\\\\xbd\\\\xa0']\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the websocket_safe_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the websocket_safe_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.
T... | Returns data if available, otherwise ''. Newlines indicate multiple messages | "Returns data if available, otherwise ''. Newlines indicate multiple messages" | 26 | false | lins05/slackbot | websocket_safe_read | 29,316 | |
LDU_FT/zeroSteiner/AdvancedHTTPServer/guess_mime_type | LDU_FT | [
"<BEGIN>\n## `resolve_ssl_protocol_version`",
"Look up an SSL protocol version by name. If *version* is not specified, then\n\tthe strongest protocol available will be returned.",
"\t:param str version: The name of the version to look up.\n\t:return: A protocol constant from the :py:mod:`ssl` module.\n\t:rtype:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the guess_mime_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the guess_mime_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Guess an appropriate MIME type based on the extension of the
provided path.
:param str path: The of the file to analyze.
:return: The guessed MIME type of the default if non are found.
:rtype: str | "Guess an appropriate MIME type based on the extension of the\n\t\tprovided path.\n\n\t\t:param str path: The of the file to analyze.\n\t\t:return: The guessed MIME type of the default if non are found.\n\t\t:rtype: str" | 102 | false | zeroSteiner/AdvancedHTTPServer | guess_mime_type | 29,317 | |
LDU_FT/robmarkcole/HASS-data-detective/fetch_data_by_list | LDU_FT | [
"<BEGIN>\n## `default_hass_config_dir`",
"Put together the default configuration directory based on the OS.\n<END>",
"<BEGIN>\n## `_secret_yaml`",
"Load secrets and embed it into the configuration YAML.\n<END>",
"<BEGIN>\n## `_include_yaml`",
"Load another YAML file and embeds it using the !include tag.",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_data_by_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_data_by_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Basic query from list of entities. Must be from same domain.
Attempts to unpack lists up to 2 deep.
Parameters
----------
entities : a list of entities
returns a df | "Basic query from list of entities. Must be from same domain.\n Attempts to unpack lists up to 2 deep.\n\n Parameters\n ----------\n entities : a list of entities\n\n returns a df" | 30 | false | robmarkcole/HASS-data-detective | fetch_data_by_list | 29,318 | |
LDU_FT/SpriteLink/NIPAP/extract_pool_attr | LDU_FT | [
"<BEGIN>\n## `_serve_file`",
"Call Paste's FileApp (a WSGI application) to serve the file\n at the specified path\n<END>",
"<BEGIN>\n## `extract_prefix_attr`",
"Extract prefix attributes from arbitary dict.\n<END>",
"<BEGIN>\n## `extract_pool_attr`",
"Extract pool attributes from arbitary dict.\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_pool_attr API.
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 extract_pool_attr API.
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 pool attributes from arbitary dict. | "Extract pool attributes from arbitary dict." | 454 | false | SpriteLink/NIPAP | extract_pool_attr | 29,319 | |
LDU_FT/MAVENSDC/PyTplot/zlim | LDU_FT | [
"<BEGIN>\n## `del_data`",
"This function will delete tplot variables that are already stored in memory. ",
" Parameters:\n name : str \n Name of the tplot variable to be deleted. If no name is provided, then \n all tplot variables will be deleted. ",
" Returns:\n N... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the zlim API.
Each 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 zlim API.
Each 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... | This function will set the z axis range displayed for a specific tplot variable.
This is only used for spec plots, where the z axis represents the magnitude of the values
in each bin.
Parameters:
name : str
The name of the tplot variable that you wish to set z limits for.
... | "This function will set the z axis range displayed for a specific tplot variable.\n This is only used for spec plots, where the z axis represents the magnitude of the values\n in each bin. \n \n Parameters:\n name : str\n The name of the tplot variable that you wish to set z limits for. ... | 155 | false | MAVENSDC/PyTplot | zlim | 29,320 | |
LDU_FT/jaraco/path.py/write_lines | LDU_FT | [
"<BEGIN>\n## `load`",
"If the supplied parameter is a string, assum it's a simple\n pattern.\n<END>",
"<BEGIN>\n## `simple_cache`",
"Save results for the :meth:'path.using_module' classmethod.\n When Python 3.2 is available, use functools.lru_cache instead.\n<END>",
"<BEGIN>\n## `only_newer`",
"Wrap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_lines API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_lines API.
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... | r""" Write the given lines of text to this file.
By default this overwrites any existing file at this path.
This puts a platform-specific newline sequence on every line.
See `linesep` below.
`lines` - A list of strings.
`encoding` - A Unicode encoding to use. This ap... | "r\"\"\" Write the given lines of text to this file.\n\n By default this overwrites any existing file at this path.\n\n This puts a platform-specific newline sequence on every line.\n See `linesep` below.\n\n `lines` - A list of strings.\n\n `encoding` - A Unicode encoding to ... | 158 | false | jaraco/path.py | write_lines | 29,321 | |
LDU_FT/ratcave/ratcave/draw | LDU_FT | [
"<BEGIN>\n## `add_child`",
"Adds an object as a child in the scene graph.\n<END>",
"<BEGIN>\n## `add_children`",
"Conveniience function: Adds objects as children in the scene graph.\n<END>",
"<BEGIN>\n## `match_aspect_to_viewport`",
"Updates Camera.aspect to match the viewport's aspect ratio.\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw API.
Each 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 draw API.
Each 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... | Draw each visible mesh in the scene from the perspective of the scene's camera and lit by its light. | "Draw each visible mesh in the scene from the perspective of the scene's camera and lit by its light." | 79 | false | ratcave/ratcave | draw | 29,322 | |
LDU_FT/edwards-lab/libGWAS/check_inclusions | LDU_FT | [
"<BEGIN>\n## `load_genotypes`",
"This really just intializes the file by opening it up.\n<END>",
"<BEGIN>\n## `process_genotypes`",
"Parse pedigree line and remove excluded individuals from geno",
" Translates alleles into numerical genotypes (0, 1, 2) counting\n number of minor alleles.",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_inclusions API.
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 check_inclusions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Everything passes if both are empty, otherwise, we have to check if \
empty or is present. | "Everything passes if both are empty, otherwise, we have to check if \\\n empty or is present." | 142 | false | edwards-lab/libGWAS | check_inclusions | 29,323 | |
LDU_FT/KelSolaar/Umbra/key_exists | LDU_FT | [
"<BEGIN>\n## `restore_geometry_on_layout_change`",
"Setter for **self.__restore_geometry_on_layout_change** attribute.",
" :param value: Attribute value.\n :type value: bool\n<END>",
"<BEGIN>\n## `get`",
"Returns given layout value.",
" :param layout: Layout name.\n :type layou... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the key_exists API.
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 key_exists API.
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... | Checks if given key exists.
:param section: Current section to check key in.
:type section: unicode
:param key: Current key to check.
:type key: unicode
:return: Key existence.
:rtype: bool | "Checks if given key exists.\n\n :param section: Current section to check key in.\n :type section: unicode\n :param key: Current key to check.\n :type key: unicode\n :return: Key existence.\n :rtype: bool" | 1,432 | true | KelSolaar/Umbra | key_exists | 29,324 | |
LDU_FT/jbm950/pygame_toolbox/set_offset | LDU_FT | [
"<BEGIN>\n## `initialize_shade`",
"This method will create semi-transparent surfaces with a specified\n color. The surface can be toggled on and off.\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n Inputs:\n Shade_name - String of the name that you want... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_offset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_offset API.
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... | This method will allow the menu to be placed anywhere in the open
window instead of just the upper left corner.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Inputs:
offset - This is the x,y tuple of the position that you want to
move the... | "This method will allow the menu to be placed anywhere in the open\n window instead of just the upper left corner.\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n Inputs:\n offset - This is the x,y tuple of the position that you want to\n mo... | 35 | false | jbm950/pygame_toolbox | set_offset | 29,325 | |
LDU_FT/idlesign/steampak/clear | LDU_FT | [
"<BEGIN>\n## `get_filter_cardborder`",
"Returns game cards URL filter for a given cardborder\n type (TAG_CARDBORDER_NORMAL / TAG_CARDBORDER_FOIL).",
" To be used in URL_GAMECARDS.",
" :param str|unicode cardborder_type:\n :rtype: str|unicode\n<END>",
"<BEGIN>\n## `install_dir`",
"Returns appli... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clear API.
Each 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 clear API.
Each 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... | Clears (locks) the achievement.
:rtype: bool | "Clears (locks) the achievement.\n\n :rtype: bool" | 72 | false | idlesign/steampak | clear | 29,326 | |
LDU_FT/wheerd/multiset/intersection_update | LDU_FT | [
"<BEGIN>\n## `isdisjoint`",
"r\"\"\"Return True if the set has no elements in common with other.",
" Sets are disjoint iff their intersection is the empty set.",
" >>> ms = Multiset('aab')\n >>> ms.isdisjoint('bc')\n False\n >>> ms.isdisjoint(Multiset('ccd'))\n True",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the intersection_update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the intersection_update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | r"""Update the multiset, keeping only elements found in it and all others.
>>> ms = Multiset('aab')
>>> ms.intersection_update('bc')
>>> sorted(ms)
['b']
You can also use the ``&=`` operator for the same effect. However, the operator version
will only accept a set as ot... | "r\"\"\"Update the multiset, keeping only elements found in it and all others.\n\n >>> ms = Multiset('aab')\n >>> ms.intersection_update('bc')\n >>> sorted(ms)\n ['b']\n\n You can also use the ``&=`` operator for the same effect. However, the operator version\n will only accept... | 117 | false | wheerd/multiset | intersection_update | 29,327 | |
LDU_FT/pyros-dev/pyzmp/call | LDU_FT | [
"<BEGIN>\n## `discover`",
"discovers a service. If timeout is specified, waits for at least minimum_providers service instance to be available.\n Note : we do not want to make the discovery block undefinitely since we never know for sure if a service is running or not\n TODO : improve with future...... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the call API.
Each 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 call API.
Each 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... | Calls a service on a node with req as arguments. if node is None, a node is chosen by zmq.
if zmq_ctx is passed, it will use the existing context
Uses a REQ socket. Ref : http://api.zeromq.org/2-1:zmq-socket
:param node : the node name | "Calls a service on a node with req as arguments. if node is None, a node is chosen by zmq.\n if zmq_ctx is passed, it will use the existing context\n Uses a REQ socket. Ref : http://api.zeromq.org/2-1:zmq-socket\n :param node : the node name" | 19 | false | pyros-dev/pyzmp | call | 29,328 | |
LDU_FT/marcomusy/vtkplotter/distanceToMesh | LDU_FT | [
"<BEGIN>\n## `add_particle`",
"Adds a new particle with specified properties (in SI units)\n<END>",
"<BEGIN>\n## `simulate`",
"Runs the particle simulation. Simulates one time step, dt, of the particle motion.\n Calculates the force between each pair of particles and updates particles' motion accor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the distanceToMesh API.
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 distanceToMesh API.
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... | Computes the (signed) distance from one mesh to another.
.. hint:: |distance2mesh| |distance2mesh.py|_ | "Computes the (signed) distance from one mesh to another.\n \n .. hint:: |distance2mesh| |distance2mesh.py|_" | 801 | false | marcomusy/vtkplotter | distanceToMesh | 29,329 | |
LDU_FT/serhatbolsu/robotframework-appiumlibrary/close_application | LDU_FT | [
"<BEGIN>\n## `zoom`",
"Zooms in on an element a certain amount.\n<END>",
"<BEGIN>\n## `swipe`",
"Swipe from one point to another point, for an optional duration.\r",
" Args:\r\n - start_x - x-coordinate at which to start\r\n - start_y - y-coordinate at which to start\r\n - off... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close_application API.
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 close_application API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Closes the current application and also close webdriver session. | "Closes the current application and also close webdriver session." | 217 | false | serhatbolsu/robotframework-appiumlibrary | close_application | 29,330 | |
LDU_FT/diamondman/proteusisc/init_chain | LDU_FT | [
"<BEGIN>\n## `_get_adv_trans_stats`",
"Utility function to fetch the transfer statistics for the last\n advanced transfer. Checking the stats appears to sync the\n controller. For details on the advanced transfer please refer\n to the documentation at\n http://diamondman.github.io/Adap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_chain API.
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_chain API.
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... | Autodetect the devices attached to the Controller, and initialize a JTAGDevice for each.
This is a required call before device specific Primitives can
be used. | "Autodetect the devices attached to the Controller, and initialize a JTAGDevice for each.\n\n This is a required call before device specific Primitives can\n be used." | 114 | false | diamondman/proteusisc | init_chain | 29,331 | |
LDU_FT/underworldcode/stripy/edge_refine_triangulation_by_vertices | LDU_FT | [
"<BEGIN>\n## `install_documentation`",
"Install the example notebooks for litho1pt0 in the given location",
" WARNING: If the path exists, the Notebook files will be written into the path\n and will overwrite any existing files with which they collide. The default\n path (\"./Litho1pt0-Notebooks\") is ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edge_refine_triangulation_by_vertices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edge_refine_triangulation_by_vertices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | return points defining a refined triangulation obtained by bisection of all edges
in the triangulation connected to any of the vertices in the list provided | "return points defining a refined triangulation obtained by bisection of all edges\n in the triangulation connected to any of the vertices in the list provided" | 224 | false | underworldcode/stripy | edge_refine_triangulation_by_vertices | 29,332 | |
LDU_FT/MouseLand/rastermap/fit | LDU_FT | [
"<BEGIN>\n## `fit_transform`",
"Fit X into an embedded space and return that transformed\n output.\n Inputs\n ----------\n X : array, shape (n_samples, n_features). X contains a sample per row.",
" Returns\n -------\n embedding : array, shape (n_samples, n_compon... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API.
Each 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 fit API.
Each 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... | Fit X into an embedded space.
Parameters
----------
X : array, shape (n_samples, n_features)
y : Ignored | "Fit X into an embedded space.\n Parameters\n ----------\n X : array, shape (n_samples, n_features)\n y : Ignored" | 27 | false | MouseLand/rastermap | fit | 29,333 | |
LDU_FT/bloomberg/bqplot/figure | LDU_FT | [
"<BEGIN>\n## `register_mark`",
"Returns a decorator registering a mark class in the mark type registry.",
" If no key is provided, the class name is used as a key. A key is provided\n for each core bqplot mark so that the frontend can use\n this key regardless of the kernel language.\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the figure API.
Each 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 figure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Creates figures and switches between figures.
If a ``bqplot.Figure`` object is provided via the fig optional argument,
this figure becomes the current context figure.
Otherwise:
- If no key is provided, a new empty context figure is created.
- If a key is provided for which a context already exis... | "Creates figures and switches between figures.\n\n If a ``bqplot.Figure`` object is provided via the fig optional argument,\n this figure becomes the current context figure.\n\n Otherwise:\n\n - If no key is provided, a new empty context figure is created.\n - If a key is provided for which a context alr... | 142 | false | bloomberg/bqplot | figure | 29,334 | |
LDU_FT/wdm0006/sklearn-extensions/fit | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit the model",
" Parameters\n ----------\n X : array-like of shape = [n_samples, n_features]\n The training input samples.",
" y : array-like, shape = [n_samples]\n The target values",
" Returns\n -------\n self : ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API.
Each 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 fit API.
Each 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... | Fit the model
Parameters
----------
X : array-like of shape = [n_samples, n_features]
The training input samples.
y : array-like, shape = [n_samples]
The target values
Returns
-------
self : object
Returns self. | "Fit the model\n\n Parameters\n ----------\n X : array-like of shape = [n_samples, n_features]\n The training input samples.\n\n y : array-like, shape = [n_samples]\n The target values\n\n Returns\n -------\n self : object\n Returns self.... | 60 | false | wdm0006/sklearn-extensions | fit | 29,335 | |
LDU_FT/MartinThoma/hwrt/_get_symbol_index | LDU_FT | [
"<BEGIN>\n## `classify_segmented_recording`",
"Use this function if you are sure you have a single symbol.",
" Parameters\n ----------\n recording : string\n The recording in JSON format",
" Returns\n -------\n list of dictionaries\n Each dictionary contains the keys 'symbol' a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_symbol_index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_symbol_index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Parameters
----------
stroke_id_needle : int
Identifier for the stroke of which the symbol should get found.
segmentation : list of lists of integers
An ordered segmentation of strokes to symbols.
Returns
-------
The symbol index in which stroke_id_needle occurs
Examples
... | "Parameters\n ----------\n stroke_id_needle : int\n Identifier for the stroke of which the symbol should get found.\n segmentation : list of lists of integers\n An ordered segmentation of strokes to symbols.\n\n Returns\n -------\n The symbol index in which stroke_id_needle occurs\n\n ... | 558 | false | MartinThoma/hwrt | _get_symbol_index | 29,336 | |
LDU_FT/cdumay/kser/_onsuccess | LDU_FT | [
"<BEGIN>\n## `check_required_params`",
"Check if all required parameters are set\n<END>",
"<BEGIN>\n## `_onsuccess`",
"To execute on execution success",
" :param kser.result.Result result: Execution result\n :return: Execution result\n :rtype: kser.result.Result\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _onsuccess API.
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 _onsuccess API.
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... | To execute on execution success
:param kser.result.Result result: Execution result
:return: Execution result
:rtype: kser.result.Result | "To execute on execution success\n\n :param kser.result.Result result: Execution result\n :return: Execution result\n :rtype: kser.result.Result" | 94 | false | cdumay/kser | _onsuccess | 29,337 | |
LDU_FT/mlenzen/collections-extended/start | LDU_FT | [
"<BEGIN>\n## `get`",
"Return value with given key or index.",
"\t\tIf no value is found, return d (None by default).\n<END>",
"<BEGIN>\n## `pop`",
"Remove and return value with given key or index (last item by default).",
"\t\tIf key is not found, returns d if given,\n\t\totherwise raises KeyError or Inde... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API.
Each 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 start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Get the start key of the first range.
None if RangeMap is empty or unbounded to the left. | "Get the start key of the first range.\n\n\t\tNone if RangeMap is empty or unbounded to the left." | 104 | false | mlenzen/collections-extended | start | 29,338 | |
LDU_FT/jupyter-widgets/ipywidgets/dependency_state | LDU_FT | [
"<BEGIN>\n## `_cells`",
"Yield all cells in an nbformat-insensitive manner\n<END>",
"<BEGIN>\n## `strip_output`",
"strip the outputs from a notebook object\n<END>",
"<BEGIN>\n## `show_inline_matplotlib_plots`",
"Show matplotlib plots immediately if using the inline backend.",
" With ipywidgets 6.0, m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dependency_state API.
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 dependency_state API.
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 state of all widgets specified, and their dependencies.
This uses a simple dependency finder, including:
- any widget directly referenced in the state of an included widget
- any widget in a list/tuple attribute in the state of an included widget
- any widget in a dict attribute in the state... | "Get the state of all widgets specified, and their dependencies.\n\n This uses a simple dependency finder, including:\n - any widget directly referenced in the state of an included widget\n - any widget in a list/tuple attribute in the state of an included widget\n - any widget in a dict attribute in the... | 159 | false | jupyter-widgets/ipywidgets | dependency_state | 29,339 | |
LDU_FT/ckoepp/TwitterSearch/search_tweets | LDU_FT | [
"<BEGIN>\n## `set_source_filter`",
"Only search for tweets entered via given source",
" :param source: String. Name of the source to search for. An example \\\n would be ``source=twitterfeed`` for tweets submitted via TwitterFeed\n :raises: TwitterSearchException\n<END>",
"<BEGIN>\n## `ad... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_tweets API.
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 search_tweets API.
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... | Creates an query string through a given TwitterSearchOrder \
instance and takes care that it is send to the Twitter API. \
This method queries the Twitter API **without** iterating or \
reloading of further results and returns response. \
See `Advanced usage <advanced_usage.html>`_ for e... | "Creates an query string through a given TwitterSearchOrder \\\n instance and takes care that it is send to the Twitter API. \\\n This method queries the Twitter API **without** iterating or \\\n reloading of further results and returns response. \\\n See `Advanced usage <advanced_usage.html... | 91 | false | ckoepp/TwitterSearch | search_tweets | 29,340 | |
LDU_FT/ynop/audiomate/split_by_number_of_utterances | LDU_FT | [
"<BEGIN>\n## `load`",
"Load and return the corpus from the given path.",
" Args:\n path (str): Path to the data set to load.",
" Returns:\n Corpus: The loaded corpus",
" Raises:\n IOError: When the data set is invalid, for example because required files ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_by_number_of_utterances API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_by_number_of_utterances API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Split the corpus into subsets with the given number of utterances.
The corpus gets splitted into len(proportions) parts, so the number of utterances are
distributed according to the proportions.
Args:
proportions (dict): A dictionary containing the relative size of the target subset... | "Split the corpus into subsets with the given number of utterances.\n The corpus gets splitted into len(proportions) parts, so the number of utterances are\n distributed according to the proportions.\n\n Args:\n proportions (dict): A dictionary containing the relative size of the target ... | 619 | false | ynop/audiomate | split_by_number_of_utterances | 29,341 | |
LDU_FT/invoice-x/invoice2data/extract_data | LDU_FT | [
"<BEGIN>\n## `to_text`",
"Wraps Tesseract 4 OCR with custom language model.",
" Parameters\n ----------\n path : str\n path of electronic invoice in JPG or PNG format",
" Returns\n -------\n extracted_str : str\n returns extracted text from image in JPG or PNG format\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Extracts structured data from PDF/image invoices.
This function uses the text extracted from a PDF file or image and
pre-defined regex templates to find structured data.
Reads template if no template assigned
Required fields are matches from templates
Parameters
----------
invoicefile : s... | "Extracts structured data from PDF/image invoices.\n\n This function uses the text extracted from a PDF file or image and\n pre-defined regex templates to find structured data.\n\n Reads template if no template assigned\n Required fields are matches from templates\n\n Parameters\n ----------\n invo... | 69 | false | invoice-x/invoice2data | extract_data | 29,342 | |
LDU_FT/swimlane/swimlane-python/_validate_user | LDU_FT | [
"<BEGIN>\n## `add_record_references`",
"Bulk operation to directly add record references without making any additional requests",
" Warnings:\n Does not perform any app, record, or target app/record validation",
" Args:\n app_id (str): Full App ID string\n record... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Validate a User instance against allowed user IDs or membership in a group | "Validate a User instance against allowed user IDs or membership in a group" | 273 | false | swimlane/swimlane-python | _validate_user | 29,343 | |
LDU_FT/ggravlingen/pytradfri/set_dimmer | LDU_FT | [
"<BEGIN>\n## `combine_data`",
"Combines the data for this command with another.\n<END>",
"<BEGIN>\n## `load_json`",
"Load JSON data from a file and return as dict or list.",
" Defaults to returning empty dict if file is not found.\n<END>",
"<BEGIN>\n## `save_json`",
"Save JSON data to a file.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_dimmer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_dimmer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Set dimmer value of a light.
transition_time: Integer representing tenth of a second (default None) | "Set dimmer value of a light.\n transition_time: Integer representing tenth of a second (default None)" | 79 | false | ggravlingen/pytradfri | set_dimmer | 29,344 | |
LDU_FT/kytos/kytos-utils/create_napp | LDU_FT | [
"<BEGIN>\n## `get_napp`",
"Return napp metadata or None if not found.\n<END>",
"<BEGIN>\n## `reload_napps`",
"Reload a specific NApp or all Napps.",
" Args:\n napp (list): NApp list to be reload.\n Raises:\n requests.HTTPError: When there's a server error.\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_napp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_napp API.
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... | Bootstrap a basic NApp structure for you to develop your NApp.
This will create, on the current folder, a clean structure of a NAPP,
filling some contents on this structure. | "Bootstrap a basic NApp structure for you to develop your NApp.\n\n This will create, on the current folder, a clean structure of a NAPP,\n filling some contents on this structure." | 128 | false | kytos/kytos-utils | create_napp | 29,345 | |
LDU_FT/tilezen/tilequeue/unpack_rawr_zip_payload | LDU_FT | [
"<BEGIN>\n## `merge`",
"Retrieve a list of OSciMap4 tile responses and merge them into one.",
" get_tiles() retrieves data and performs basic integrity checks.\n<END>",
"<BEGIN>\n## `_make_valid_if_necessary`",
"attempt to correct invalid shapes if necessary",
" After simplification, even when p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unpack_rawr_zip_payload 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 unpack_rawr_zip_payload API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | unpack a zipfile and turn it into a callable "tables" object. | "unpack a zipfile and turn it into a callable \"tables\" object." | 135 | false | tilezen/tilequeue | unpack_rawr_zip_payload | 29,346 | |
LDU_FT/beetbox/pylastfp/formdata_encode | LDU_FT | [
"<BEGIN>\n## `_query_wrap`",
"Wait until at least QUERY_WAIT_TIME seconds have passed\n since the last invocation of this function, then call the given\n function with the given arguments.\n<END>",
"<BEGIN>\n## `formdata_encode`",
"Encode fields (a dict) as a multipart/form-data HTTP request\n payloa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the formdata_encode API.
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 formdata_encode API.
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... | Encode fields (a dict) as a multipart/form-data HTTP request
payload. Returns a (content type, request body) pair. | "Encode fields (a dict) as a multipart/form-data HTTP request\n payload. Returns a (content type, request body) pair." | 18 | false | beetbox/pylastfp | formdata_encode | 29,347 | |
LDU_FT/fishtown-analytics/dbt/add_link | LDU_FT | [
"<BEGIN>\n## `patch`",
"Given a ParsedNodePatch, add the new information to the node.\n<END>",
"<BEGIN>\n## `build_edges`",
"Build the forward and backward edges on the given list of ParsedNodes\n and return them as two separate dictionaries, each mapping unique IDs to\n lists of edges.\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_link API.
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_link API.
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... | Add a link between two relations to the database. Both the old and
new entries must already exist in the database.
The dependent model refers _to_ the referenced model. So, given
arguments of (jake_test, bar, jake_test, foo):
both values are in the schema jake_test and foo is a view tha... | "Add a link between two relations to the database. Both the old and\n new entries must already exist in the database.\n\n The dependent model refers _to_ the referenced model. So, given\n arguments of (jake_test, bar, jake_test, foo):\n both values are in the schema jake_test and foo is a vi... | 419 | false | fishtown-analytics/dbt | add_link | 29,348 | |
LDU_FT/ntucllab/libact/append | LDU_FT | [
"<BEGIN>\n## `report_entry_label`",
"Return the best label of the asked entry.",
" Parameters\n ----------\n entry_id : int\n The index of the sample to ask.",
" Returns\n -------\n label: object\n The best label of the given sample.\n<END>",
"... | 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 ... | Add a (feature, label) entry into the dataset.
A None label indicates an unlabeled entry.
Parameters
----------
feature : {array-like}, shape = (n_features)
Feature of the sample to append to dataset.
label : {int, None}
Label of the sample to append to ... | "Add a (feature, label) entry into the dataset.\n A None label indicates an unlabeled entry.\n\n Parameters\n ----------\n feature : {array-like}, shape = (n_features)\n Feature of the sample to append to dataset.\n\n label : {int, None}\n Label of the sample to ... | 128 | false | ntucllab/libact | append | 29,349 | |
LDU_FT/creare-com/pydem/_slopes_directions | LDU_FT | [
"<BEGIN>\n## `_get_flat_ids`",
"This is a helper function to recover the coordinates of regions that have\n been labeled within an image. This function efficiently computes the\n coordinate of all regions and returns the information in a memory-efficient\n manner.",
" Parameters\n -----------\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _slopes_directions 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 _slopes_directions 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... | Wrapper to pick between various algorithms | "Wrapper to pick between various algorithms" | 201 | false | creare-com/pydem | _slopes_directions | 29,350 | |
LDU_FT/singularityhub/singularity-cli/mount | LDU_FT | [
"<BEGIN>\n## `run`",
"run is a wrapper to create, start, attach, and delete a container.",
" Equivalent command line example: \n singularity oci run -b ~/bundle mycontainer",
" Parameters\n ==========\n bundle: the full path to the bundle folder\n container_id:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mount API.
Each 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 mount API.
Each 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... | create an OCI bundle from SIF image
Parameters
==========
image: the container (sif) to mount | "create an OCI bundle from SIF image\n\n Parameters\n ==========\n image: the container (sif) to mount" | 336 | false | singularityhub/singularity-cli | mount | 29,351 | |
LDU_FT/lionheart/django-pyodbc/quote_name | LDU_FT | [
"<BEGIN>\n## `_get_sql_server_ver`",
"Returns the version of the SQL Server in use:\n<END>",
"<BEGIN>\n## `_switch_tz_offset_sql`",
"Returns the SQL that will convert field_name to UTC from tzname.\n<END>",
"<BEGIN>\n## `datetime_trunc_sql`",
"Given a lookup_type of 'year', 'month', 'day', 'hour', 'minute... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quote_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quote_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Returns a quoted version of the given table, index or column name. Does
not quote the given name if it's already been quoted. | "Returns a quoted version of the given table, index or column name. Does\n not quote the given name if it's already been quoted." | 51 | false | lionheart/django-pyodbc | quote_name | 29,352 | |
LDU_FT/BlueBrain/nat/get_reference_template | LDU_FT | [
"<BEGIN>\n## `check_ocrmypdf`",
"Run ocrmypdf and confirmed that a valid file was created\n<END>",
"<BEGIN>\n## `run_ocrmypdf`",
"Run ocrmypdf and let caller deal with results\n<END>",
"<BEGIN>\n## `getParamValues`",
"Return the rows of sampleDF that are associated to the parameter\n specified in p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_reference_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.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_reference_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.... | Return the reference template for the type as an ordered dictionary.
Zotero.item_template() caches data after the first API call. | "Return the reference template for the type as an ordered dictionary.\n\n Zotero.item_template() caches data after the first API call." | 56 | false | BlueBrain/nat | get_reference_template | 29,353 | |
LDU_FT/datamachine/twx/send_message | LDU_FT | [
"<BEGIN>\n## `_ige`",
"Given a key, given an iv, and message\n do whatever operation asked in the operation field.\n Operation will be checked for: \"decrypt\" and \"encrypt\" strings.\n Returns the message encrypted/decrypted.\n message must be a multiple by 16 bytes (for division in 16 byte bloc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Send message to peer.
:param peer: Peer to send message to.
:param text: Text to send.
:param reply: Message object or message_id to reply to.
:param link_preview: Whether or not to show the link preview for this message
:param on_success: Callback to call when call is complete.
... | "Send message to peer.\n :param peer: Peer to send message to.\n :param text: Text to send.\n :param reply: Message object or message_id to reply to.\n :param link_preview: Whether or not to show the link preview for this message\n :param on_success: Callback to call when call is comp... | 94 | false | datamachine/twx | send_message | 29,354 | |
LDU_FT/aio-libs/aiohttp-security/permits | LDU_FT | [
"<BEGIN>\n## `permits`",
"Check user permissions.\n Return True if the identity is allowed the permission in the\n current context, else return False.\n<END>",
"<BEGIN>\n## `remember`",
"Remember identity into response.",
" The action is performed by identity_policy.remember()",
" Usua... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the permits API.
Each 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 permits API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Check user permissions.
Return True if the identity is allowed the permission in the
current context, else return False. | "Check user permissions.\n Return True if the identity is allowed the permission in the\n current context, else return False." | 21 | false | aio-libs/aiohttp-security | permits | 29,355 | |
LDU_FT/ScottDuckworth/python-anyvcs/clone | LDU_FT | [
"<BEGIN>\n## `clone`",
"Clone an existing repository to a new bare repository.\n<END>",
"<BEGIN>\n## `parse_isodate`",
"Parse a string that loosely fits ISO 8601 formatted date-time string\n<END>",
"<BEGIN>\n## `ls`",
"List directory or file",
" :param rev: The revision to use.\n :param pa... | 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... | Clone an existing repository to a new bare repository. | "Clone an existing repository to a new bare repository." | 45 | false | ScottDuckworth/python-anyvcs | clone | 29,356 | |
LDU_FT/artefactual-labs/agentarchives/find_parent_id_for_component | LDU_FT | [
"<BEGIN>\n## `edit_record`",
"Update a record in Archivist's Toolkit using the provided new_record.",
" The format of new_record is identical to the format returned by get_resource_component_and_children and related methods.\n This means it's possible, for example, to request a record, modify the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_parent_id_for_component API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_parent_id_for_component API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Given the ID of a component, returns the parent component's ID.
:param string component_id: The ID of the component.
:return: A tuple containing:
* The type of the parent record; valid values are ArchivesSpaceClient.RESOURCE and ArchivesSpaceClient.RESOURCE_COMPONENT.
* The ID o... | "Given the ID of a component, returns the parent component's ID.\n\n :param string component_id: The ID of the component.\n :return: A tuple containing:\n * The type of the parent record; valid values are ArchivesSpaceClient.RESOURCE and ArchivesSpaceClient.RESOURCE_COMPONENT.\n * Th... | 122 | false | artefactual-labs/agentarchives | find_parent_id_for_component | 29,357 | |
LDU_FT/spotify/gordon/run | LDU_FT | [
"<BEGIN>\n## `run`",
"Entrypoint to route messages between plugins.\n<END>",
"<BEGIN>\n## `shutdown`",
"Gracefully cancel current tasks when app receives a shutdown signal.\n<END>",
"<BEGIN>\n## `_deep_merge_dict`",
"Additively merge right side dict into left side dict.\n<END>",
"<BEGIN>\n## `load_plugi... | 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... | Entrypoint to route messages between plugins. | "Entrypoint to route messages between plugins." | 28 | false | spotify/gordon | run | 29,358 | |
LDU_FT/tanghaibao/goatools/__init_go2nt_w_usr | LDU_FT | [
"<BEGIN>\n## `run`",
"Compare two or more sets of GO IDs. Best done using sections.\n<END>",
"<BEGIN>\n## `get_nts_sorted`",
"Return a flat list of grouped and sorted GO terms.\n<END>",
"<BEGIN>\n## `get_sorted_hdrgo2usrgos`",
"Return GO IDs sorting using go2nt's namedtuple.\n<END>",
"<BEGIN>\n## `plot_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __init_go2nt_w_usr 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 __init_go2nt_w_usr 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... | Combine GO object fields and format_txt. | "Combine GO object fields and format_txt." | 996 | false | tanghaibao/goatools | __init_go2nt_w_usr | 29,359 | |
LDU_FT/Phylliade/ikpy/_get_motor_parameters | LDU_FT | [
"<BEGIN>\n## `plot_basis`",
"Plot le repère adapté à la taille du robot\n<END>",
"<BEGIN>\n## `plot_target_trajectory`",
"Ajoute la trajectoire (liste des targets) au plot\n<END>",
"<BEGIN>\n## `symbolic_Rz_matrix`",
"Matrice symbolique de rotation autour de l'axe Z\n<END>",
"<BEGIN>\n## `rotation_matri... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_motor_parameters 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_motor_parameters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns a dictionary with joints as keys, and a description (dict) of each joint as value | "Returns a dictionary with joints as keys, and a description (dict) of each joint as value" | 88 | false | Phylliade/ikpy | _get_motor_parameters | 29,360 | |
LDU_FT/MartinThoma/hwrt/get_project_root | LDU_FT | [
"<BEGIN>\n## `classify_segmented_recording`",
"Use this function if you are sure you have a single symbol.",
" Parameters\n ----------\n recording : string\n The recording in JSON format",
" Returns\n -------\n list of dictionaries\n Each dictionary contains the keys 'symbol' a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_project_root API.
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_project_root API.
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 project root folder as a string. | "Get the project root folder as a string." | 558 | false | MartinThoma/hwrt | get_project_root | 29,361 | |
LDU_FT/adaptive-learning/proso-apps/session | LDU_FT | [
"<BEGIN>\n## `process_answer`",
"This method is used during the answer streaming and is called after the\n predictive model for each answer.",
" Args:\n user (int):\n identifier of ther user answering the question\n asked (int):\n identifier of t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the session API.
Each 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 session API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Get the information about the current session or modify the current session.
GET parameters:
html
turn on the HTML version of the API
POST parameters:
locale:
client's locale
time_zone:
client's time zone
display_width:
width of the client's display
... | "Get the information about the current session or modify the current session.\n\n GET parameters:\n html\n turn on the HTML version of the API\n\n POST parameters:\n locale:\n client's locale\n time_zone:\n client's time zone\n display_width:\n width of the client's... | 276 | false | adaptive-learning/proso-apps | session | 29,362 | |
LDU_FT/upsight/doctor/define_example_values | LDU_FT | [
"<BEGIN>\n## `_parse_array`",
"Coerce value into an list.",
" :param str value: Value to parse.\n :returns: list or None if the value is not a JSON array\n :raises: TypeError or ValueError if value appears to be an array but can't\n be parsed as JSON.\n<END>",
"<BEGIN>\n## `_parse_boolean`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the define_example_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the define_example_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Define example values for a given request.
By default, example values are determined from the example properties
in the schema. But if you want to change the example used in the
documentation for a specific route, and this method lets you do that.
:param str http_method: An HTTP method... | "Define example values for a given request.\n\n By default, example values are determined from the example properties\n in the schema. But if you want to change the example used in the\n documentation for a specific route, and this method lets you do that.\n\n :param str http_method: An HTTP... | 236 | false | upsight/doctor | define_example_values | 29,363 | |
LDU_FT/aitjcize/cppman/html2groff | LDU_FT | [
"<BEGIN>\n## `_find_links`",
"The link follow by the span.t-mark-rev will contained c++xx information.\n Consider the below case\n <a href=\"LinkA\">LinkA</a>\n <a href=\"LinkB\">LinkB</a>\n <span class=\"t-mark-rev\">(C++11)</span>\n We're reversing the body so it is easi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the html2groff API.
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 html2groff API.
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 HTML text from cplusplus.com to Groff-formatted text. | "Convert HTML text from cplusplus.com to Groff-formatted text." | 18 | false | aitjcize/cppman | html2groff | 29,364 | |
LDU_FT/sdispater/poetry/format_python_constraint | LDU_FT | [
"<BEGIN>\n## `path_to_url`",
"Convert a path to a file: URL. The path will be made absolute and have\n quoted path parts.\n<END>",
"<BEGIN>\n## `is_installable_dir`",
"Return True if `path` is a directory containing a setup.py file.\n<END>",
"<BEGIN>\n## `get_requires_for_build_wheel`",
"Returns a lis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_python_constraint 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 format_python_constraint API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | This helper will help in transforming
disjunctive constraint into proper constraint. | "This helper will help in transforming\n disjunctive constraint into proper constraint." | 107 | false | sdispater/poetry | format_python_constraint | 29,365 | |
LDU_FT/B2W-BIT/aiologger/do_rollover | LDU_FT | [
"<BEGIN>\n## `format`",
"Formats a record and serializes it as a JSON str. If record message isnt\n already a dict, initializes a new dict and uses `default_msg_fieldname`\n as a key as the record msg as the value.\n<END>",
"<BEGIN>\n## `formatter_fields_for_record`",
":type record: aiologger.lo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_rollover API.
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_rollover API.
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... | do a rollover; in this case, a date/time stamp is appended to the filename
when the rollover happens. However, you want the file to be named for the
start of the interval, not the current time. If there is a backup count,
then we have to get a list of matching filenames, sort them and remove
... | "do a rollover; in this case, a date/time stamp is appended to the filename\n when the rollover happens. However, you want the file to be named for the\n start of the interval, not the current time. If there is a backup count,\n then we have to get a list of matching filenames, sort them and remo... | 69 | false | B2W-BIT/aiologger | do_rollover | 29,366 | |
LDU_FT/BYU-PCCL/holodeck/add_string_parameters | LDU_FT | [
"<BEGIN>\n## `malloc`",
"Allocates a block of shared memory, and returns a numpy array whose data corresponds with that block.",
" Args:\n key (str): The key to identify the block.\n shape (list of int): The shape of the numpy array to allocate.\n dtype (type): The numpy ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_string_parameters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_string_parameters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Add given string parameters to the internal list.
Args:
string (list of str or str): A string or list of strings to add to the parameters. | "Add given string parameters to the internal list.\n\n Args:\n string (list of str or str): A string or list of strings to add to the parameters." | 111 | false | BYU-PCCL/holodeck | add_string_parameters | 29,367 | |
LDU_FT/sprockets/sprockets.mixins.metrics/make_application | LDU_FT | [
"<BEGIN>\n## `make_application`",
"Create a application configured to send metrics.",
" Metrics will be sent to localhost:8125 namespaced with\n ``webapps``. Run netcat or a similar listener then run this\n example. HTTP GETs will result in a metric like::",
" webapps.SimpleHandler.GET.204:255... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_application API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_application API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Create a application configured to send metrics.
Metrics will be sent to localhost:8125 namespaced with
``webapps``. Run netcat or a similar listener then run this
example. HTTP GETs will result in a metric like::
webapps.SimpleHandler.GET.204:255.24497032165527|ms | "Create a application configured to send metrics.\n\n Metrics will be sent to localhost:8125 namespaced with\n ``webapps``. Run netcat or a similar listener then run this\n example. HTTP GETs will result in a metric like::\n\n webapps.SimpleHandler.GET.204:255.24497032165527|ms" | 35 | false | sprockets/sprockets.mixins.metrics | make_application | 29,368 | |
LDU_FT/bintoro/overloading.py/overload | LDU_FT | [
"<BEGIN>\n## `overload`",
"May be used as a shortcut for ``overloaded`` and ``overloads(f)``\n when the overloaded function `f` can be automatically identified.\n<END>",
"<BEGIN>\n## `overloaded`",
"Introduces a new overloaded function and registers its first implementation.\n<END>",
"<BEGIN>\n## `regist... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overload API.
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 overload API.
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... | May be used as a shortcut for ``overloaded`` and ``overloads(f)``
when the overloaded function `f` can be automatically identified. | "May be used as a shortcut for ``overloaded`` and ``overloads(f)``\n when the overloaded function `f` can be automatically identified." | 29 | false | bintoro/overloading.py | overload | 29,369 | |
LDU_FT/developmentseed/sentinel-s3/metadata_to_dict | LDU_FT | [
"<BEGIN>\n## `convert_coordinates`",
"Convert coordinates from one crs to another\n<END>",
"<BEGIN>\n## `to_latlon`",
"Convert a given geojson to wgs84. The original epsg must be included insde the crs\n tag of geojson\n<END>",
"<BEGIN>\n## `get_tiles_list`",
"Returns the list of all tile names from Pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the metadata_to_dict API.
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 metadata_to_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Looks at metadata.xml file of sentinel product and extract useful keys
Returns a python dict | "Looks at metadata.xml file of sentinel product and extract useful keys\n Returns a python dict" | 17 | false | developmentseed/sentinel-s3 | metadata_to_dict | 29,370 | |
LDU_FT/hfaran/Tornado-JSON/_add_indent | LDU_FT | [
"<BEGIN>\n## `_validate_example`",
"Validates example against schema",
" :returns: Formatted example if example exists and validates, otherwise None\n :raises ValidationError: If example does not validate against the schema\n<END>",
"<BEGIN>\n## `_get_rh_methods`",
"Yield all HTTP methods in ``rh`` th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_indent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_indent API.
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... | Add indent of ``indent`` spaces to ``string.split("\n")[1:]``
Useful for formatting in strings to already indented blocks | "Add indent of ``indent`` spaces to ``string.split(\"\\n\")[1:]``\n\n Useful for formatting in strings to already indented blocks" | 61 | false | hfaran/Tornado-JSON | _add_indent | 29,371 | |
LDU_FT/useblocks/groundwork/_store_documentation | LDU_FT | [
"<BEGIN>\n## `set`",
"Sets a new value for a given configuration parameter.",
" If it already exists, an Exception is thrown.\n To overwrite an existing value, set overwrite to True.",
" :param name: Unique name of the parameter\n :param value: Value of the configuration parameter\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _store_documentation 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 _store_documentation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Stores all documents on the file system.
Target location is **path**. File name is the lowercase name of the document + .rst. | "Stores all documents on the file system.\n\n Target location is **path**. File name is the lowercase name of the document + .rst." | 198 | false | useblocks/groundwork | _store_documentation | 29,372 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.