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/aroberge/experimental/transform | LDU_FT | [
"<BEGIN>\n## `start_console`",
"Starts a console; modified from code.interact\n<END>",
"<BEGIN>\n## `push`",
"Transform and push a line to the interpreter.",
" The line should not have a trailing newline; it may have\n internal newlines. The line is appended to a buffer and the\n inter... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Used to convert the source code, making use of known transformers.
"transformers" are modules which must contain a function
transform_source(source)
which returns a tranformed source.
Some transformers (for example, those found in the standard library
module lib2to3) cannot cop... | "Used to convert the source code, making use of known transformers.\n\n \"transformers\" are modules which must contain a function\n\n transform_source(source)\n\n which returns a tranformed source.\n Some transformers (for example, those found in the standard library\n module lib2to3)... | 54 | false | aroberge/experimental | transform | 27,173 | |
LDU_FT/WimpyAnalytics/django-andablog/truncate_entry_titles | LDU_FT | [
"<BEGIN>\n## `_get_userinfo`",
"Get a dictionary that pulls together information about the poster\n safely for both authenticated and non-authenticated comments.",
" This dict will have ``name``, ``email``, and ``url`` fields.\n<END>",
"<BEGIN>\n## `get_as_text`",
"Return this comment as plain... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the truncate_entry_titles 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 truncate_entry_titles API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | This function will truncate the values of Entry.title so they are
255 characters or less. | "This function will truncate the values of Entry.title so they are\n 255 characters or less." | 16 | false | WimpyAnalytics/django-andablog | truncate_entry_titles | 27,174 | |
LDU_FT/pysal/spglm/fit | LDU_FT | [
"<BEGIN>\n## `fit`",
"Method that fits a model with a particular estimation routine.",
" Parameters\n ----------",
" ini_betas : array\n k*1, initial coefficient values, including constant.\n Default is None, which calculates initial value... | 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... | Method that fits a model with a particular estimation routine.
Parameters
----------
ini_betas : array
k*1, initial coefficient values, including constant.
Default is None, which calculates initial values during
estima... | "Method that fits a model with a particular estimation routine.\n\n Parameters\n ----------\n\n ini_betas : array\n k*1, initial coefficient values, including constant.\n Default is None, which calculates initial values during\n ... | 161 | false | pysal/spglm | fit | 27,175 | |
LDU_FT/pyopenapi/pyswagger/validate | 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 validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | check if this Swagger API valid or not.
:param bool strict: when in strict mode, exception would be raised if not valid.
:return: validation errors
:rtype: list of tuple(where, type, msg). | "check if this Swagger API valid or not.\n\n :param bool strict: when in strict mode, exception would be raised if not valid.\n :return: validation errors\n :rtype: list of tuple(where, type, msg)." | 162 | false | pyopenapi/pyswagger | validate | 27,176 | |
LDU_FT/NLeSC/scriptcwl/_add_step | LDU_FT | [
"<BEGIN>\n## `load_steps`",
"Return a dictionary containing Steps read from file.",
" Args:\n steps_dir (str, optional): path to directory containing CWL files.\n step_file (str, optional): path or http(s) url to a single CWL file.\n step_list (list, optional): a list of directories, url... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_step API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_step API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Add a step to the workflow.
Args:
step (Step): a step from the steps library. | "Add a step to the workflow.\n\n Args:\n step (Step): a step from the steps library." | 85 | false | NLeSC/scriptcwl | _add_step | 27,177 | |
LDU_FT/jaraco/jaraco.functools/first_invoke | LDU_FT | [
"<BEGIN>\n## `compose`",
"Compose any number of unary functions into a single unary function.",
"\t>>> import textwrap\n\t>>> from six import text_type\n\t>>> stripped = text_type.strip(textwrap.dedent(compose.__doc__))\n\t>>> compose(text_type.strip, textwrap.dedent)(compose.__doc__) == stripped\n\tTrue",
"\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the first_invoke API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the first_invoke API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return a function that when invoked will invoke func1 without
any parameters (for its side-effect) and then invoke func2
with whatever parameters were passed, returning its result. | "Return a function that when invoked will invoke func1 without\n\tany parameters (for its side-effect) and then invoke func2\n\twith whatever parameters were passed, returning its result." | 65 | false | jaraco/jaraco.functools | first_invoke | 27,178 | |
LDU_FT/runfalk/spans/startsafter | LDU_FT | [
"<BEGIN>\n## `format_sec`",
"Format seconds in a more human readable way. It supports units down to\n nanoseconds.",
" :param s: Float of seconds to format\n :return: String second representation, like 12.4 us\n<END>",
"<BEGIN>\n## `fix_timedelta_repr`",
"Account repr change for timedelta in Python... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the startsafter API.
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 startsafter API.
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... | Test if this range starts after `other`. `other` may be either range or
scalar. This only takes the lower end of the ranges into consideration.
If the scalar or the lower end of the given range is greater than or
equal to this range's lower end, ``True`` is returned.
>>> intrange(1,... | "Test if this range starts after `other`. `other` may be either range or\n scalar. This only takes the lower end of the ranges into consideration.\n If the scalar or the lower end of the given range is greater than or\n equal to this range's lower end, ``True`` is returned.\n\n >>> intra... | 137 | false | runfalk/spans | startsafter | 27,179 | |
LDU_FT/ModisWorks/modis/parse_query | LDU_FT | [
"<BEGIN>\n## `success`",
"Creates an embed UI containing a hex color message",
" Args:\n channel (discord.Channel): The Discord channel to bind the embed to\n image (str): The url of the image to add\n hex_str (str): The hex value",
" Returns:\n ui (ui_embed.UI): The embed UI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Gets either a list of videos from a query, parsing links and search queries
and playlists
Args:
query (str): The YouTube search query
ilogger (logging.logger): The logger to log API calls to
Returns:
queue (list): The items obtained from the YouTube search | "Gets either a list of videos from a query, parsing links and search queries\n and playlists\n\n Args:\n query (str): The YouTube search query\n ilogger (logging.logger): The logger to log API calls to\n\n Returns:\n queue (list): The items obtained from the YouTube search" | 278 | false | ModisWorks/modis | parse_query | 27,180 | |
LDU_FT/cdeboever3/cdpybio/manhattan_plot | LDU_FT | [
"<BEGIN>\n## `get_region_nt_counts`",
"Get counts of each nucleotide from a bam file for a given region. If R1 and\n R2 reads both overlap a position, only one count will be added. If the R1\n and R2 reads disagree at a position they both overlap, that read pair is not\n used for that position. Can opti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the manhattan_plot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the manhattan_plot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Make Manhattan plot for GWAS results. Currently only support autosomes.
Parameters
----------
res : pandas.DataFrame
GWAS results. The following columns are required - chrom (chromsome,
int), pos (genomic position, int), P (GWAS p-value, float).
ax : matplotlib.axis
... | "Make Manhattan plot for GWAS results. Currently only support autosomes.\n \n Parameters\n ----------\n res : pandas.DataFrame\n GWAS results. The following columns are required - chrom (chromsome,\n int), pos (genomic position, int), P (GWAS p-value, float).\n \n ax : matplotlib.axi... | 387 | false | cdeboever3/cdpybio | manhattan_plot | 27,181 | |
LDU_FT/The-Politico/politico-civic-election/save | LDU_FT | [
"<BEGIN>\n## `save`",
"**uid**: :code:`{office.uid}_{cycle.uid}_race`\n<END>",
"<BEGIN>\n## `save`",
"**uid**: :code:`division_cycle_ballotmeasure:{number}`\n<END>",
"<BEGIN>\n## `save`",
"**uid**: :code:`{race.uid}_election:{election_day}-{party}`\n<END>",
"<BEGIN>\n## `get_candidates`",
"Get all Can... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | **uid**: :code:`{person.uid}_candidate:{party.uid}-{cycle.ap_code}` | "**uid**: :code:`{person.uid}_candidate:{party.uid}-{cycle.ap_code}`" | 32 | false | The-Politico/politico-civic-election | save | 27,182 | |
LDU_FT/cmap/cmapPy/get_cols_to_keep | LDU_FT | [
"<BEGIN>\n## `subset_main`",
"Separate method from main() in order to make testing easier and to\n enable command-line access.\n<END>",
"<BEGIN>\n## `_read_arg`",
"If arg is a list with 1 element that corresponds to a valid file path, use\n set_io.grp to read the grp file. Otherwise, check that arg is a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cols_to_keep API.
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_cols_to_keep API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Figure out based on the possible columns inputs which columns to keep.
Args:
gctoo (GCToo object):
cid (list of strings):
col_bool (boolean array):
cidx (list of integers):
exclude_cid (list of strings):
Returns:
cols_to_keep (list of strings): col ids to be kep... | "Figure out based on the possible columns inputs which columns to keep.\n\n Args:\n gctoo (GCToo object):\n cid (list of strings):\n col_bool (boolean array):\n cidx (list of integers):\n exclude_cid (list of strings):\n\n Returns:\n cols_to_keep (list of strings): col id... | 210 | false | cmap/cmapPy | get_cols_to_keep | 27,183 | |
LDU_FT/PaulHancock/Aegean/vec2sky | LDU_FT | [
"<BEGIN>\n## `classify_catalog`",
"Look at a list of sources and split them according to their class.",
" Parameters\n ----------\n catalog : iterable\n A list or iterable object of {SimpleSource, IslandSource, OutputSource} objects, possibly mixed.\n Any other objects will be silently ig... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vec2sky API.
Each 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 vec2sky API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Convert [x,y,z] vectors into sky coordinates ra,dec
Parameters
----------
vec : numpy.array
Unit vectors as an array of (x,y,z)
degrees
Returns
-------
sky : numpy.array
Sky coordinates as an array of (ra,dec)
See Also
-... | "Convert [x,y,z] vectors into sky coordinates ra,dec\n\n Parameters\n ----------\n vec : numpy.array\n Unit vectors as an array of (x,y,z)\n\n degrees\n\n Returns\n -------\n sky : numpy.array\n Sky coordinates as an array of (ra,dec)\n\n See... | 771 | false | PaulHancock/Aegean | vec2sky | 27,184 | |
LDU_FT/Miserlou/Zappa/get_hashed_rule_name | LDU_FT | [
"<BEGIN>\n## `route_sns_task`",
"Gets SNS Message, deserialises the message,\n imports the function, calls the function with args\n<END>",
"<BEGIN>\n## `run_message`",
"Runs a function defined by a message object with keys:\n 'task_path', 'args', and 'kwargs' used by lambda routing\n and a 'command' ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_hashed_rule_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_hashed_rule_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.
... | Returns an AWS-valid CloudWatch rule name using a digest of the event name, lambda name, and function.
This allows support for rule names that may be longer than the 64 char limit. | "Returns an AWS-valid CloudWatch rule name using a digest of the event name, lambda name, and function.\n This allows support for rule names that may be longer than the 64 char limit." | 312 | false | Miserlou/Zappa | get_hashed_rule_name | 27,185 | |
LDU_FT/mdeous/fatbotslim/run_bots | LDU_FT | [
"<BEGIN>\n## `create_logger`",
"Creates a new ready-to-use logger.",
" :param name: new logger's name\n :type name: str\n :param level: default logging level.\n :type level: :class:`str` or :class:`int`\n :return: new logger.\n :rtype: :class:`logging.Logger`\n<END>",
"<BEGIN>\n## `format`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_bots API.
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 run_bots API.
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... | Run many bots in parallel.
:param bots: IRC bots to run.
:type bots: list | "Run many bots in parallel.\n\n :param bots: IRC bots to run.\n :type bots: list" | 83 | false | mdeous/fatbotslim | run_bots | 27,186 | |
LDU_FT/sprockets/sprockets/_get_controllers | LDU_FT | [
"<BEGIN>\n## `run`",
"Evaluate the command line arguments, performing the appropriate\n actions so the application can be started.\n<END>",
"<BEGIN>\n## `_add_cli_args`",
"Add the cli arguments to the argument parser.\n<END>",
"<BEGIN>\n## `_configure_logging`",
"Configure logging for the applicati... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_controllers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_controllers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Iterate through the installed controller entry points and import
the module and assign the handle to the CLI._controllers dict.
:return: dict | "Iterate through the installed controller entry points and import\n the module and assign the handle to the CLI._controllers dict.\n\n :return: dict" | 19 | false | sprockets/sprockets | _get_controllers | 27,187 | |
LDU_FT/kamikaze/webdav/parse_is_dir_response | LDU_FT | [
"<BEGIN>\n## `listdir`",
"Returns list of nested files and directories for local directory by path",
" :param directory: absolute or relative path to local directory\n :return: list nested of file or directory names\n<END>",
"<BEGIN>\n## `get_options`",
"Extract options for specified option type from ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_is_dir_response 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_is_dir_response 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 of response content XML from WebDAV server and extract an information about resource.
:param content: the XML content of HTTP response from WebDAV server.
:param path: the path to resource.
:param hostname: the server hostname.
:return: True in case the remote resource is directo... | "Parses of response content XML from WebDAV server and extract an information about resource.\n\n :param content: the XML content of HTTP response from WebDAV server.\n :param path: the path to resource.\n :param hostname: the server hostname.\n :return: True in case the remote resource is d... | 120 | false | kamikaze/webdav | parse_is_dir_response | 27,188 | |
LDU_FT/MakerReduxCorp/MARDS/check_schema_coverage | LDU_FT | [
"<BEGIN>\n## `rst`",
"Given the data and type information, generate a list of strings for\n insertion into a RST document.\n<END>",
"<BEGIN>\n## `split_number_unit`",
"takes a string and grabs the leading number and the following unit \n both the number and unit returned are simple strings\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_schema_coverage 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_schema_coverage API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | FORWARD CHECK OF DOCUMENT
This routine looks at each element in the doc, and makes sure there
is a matching 'name' in the schema at that level. | "FORWARD CHECK OF DOCUMENT\n \n This routine looks at each element in the doc, and makes sure there\n is a matching 'name' in the schema at that level." | 20 | false | MakerReduxCorp/MARDS | check_schema_coverage | 27,189 | |
LDU_FT/niklasb/webkit-server/_read_message | LDU_FT | [
"<BEGIN>\n## `xpath`",
"Finds another node by XPath originating at the current node.\n<END>",
"<BEGIN>\n## `css`",
"Finds another node by a CSS selector relative to the current node.\n<END>",
"<BEGIN>\n## `get_bool_attr`",
"Returns the value of a boolean HTML attribute like `checked` or `disabled`\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_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 ext... | Reads a single size-annotated message from the server | "Reads a single size-annotated message from the server" | 30 | false | niklasb/webkit-server | _read_message | 27,190 | |
LDU_FT/mamrhein/specification/visit_Expr | LDU_FT | [
"<BEGIN>\n## `is_satisfied_by`",
"Return True if `candidate` satisfies the specification.\n<END>",
"<BEGIN>\n## `src2ast`",
"Return ast.Expression created from source code given in `src`.\n<END>",
"<BEGIN>\n## `replace_name`",
"Replace all Name nodes named `old_name` with nodes named `new_name`.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_Expr API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_Expr API.
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... | Return representation of nested expression. | "Return representation of nested expression." | 66 | false | mamrhein/specification | visit_Expr | 27,191 | |
LDU_FT/cmheisel/basecampreporting/todo_lists | LDU_FT | [
"<BEGIN>\n## `people`",
"Dictionary of people on the project, keyed by id\n<END>",
"<BEGIN>\n## `comments`",
"Looks through the last 3 messages and returns those comments.\n<END>",
"<BEGIN>\n## `people_per_project`",
"This will return all of the people in the given company that can\n access the giv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the todo_lists API.
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 todo_lists API.
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 will return the metadata for all of the lists in a given project.
You can further constrain the query to only return those lists that
are "complete" (have no uncompleted items) or "uncomplete" (have
uncompleted items remaining). | "This will return the metadata for all of the lists in a given project.\n You can further constrain the query to only return those lists that\n are \"complete\" (have no uncompleted items) or \"uncomplete\" (have\n uncompleted items remaining)." | 44 | false | cmheisel/basecampreporting | todo_lists | 27,192 | |
LDU_FT/metachris/logzero/logfile | LDU_FT | [
"<BEGIN>\n## `setup_logger`",
"Configures and returns a fully configured logger instance, no hassles.\n If a logger with the specified name already exists, it returns the existing instance,\n else creates a new one.",
" If you set the ``logfile`` parameter with a filename, the logger will save the mess... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the logfile API.
Each 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 logfile API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Setup logging to file (using a `RotatingFileHandler <https://docs.python.org/2/library/logging.handlers.html#rotatingfilehandler>`_ internally).
By default, the file grows indefinitely (no rotation). You can use the ``maxBytes`` and
``backupCount`` values to allow the file to rollover at a predetermined size. ... | "Setup logging to file (using a `RotatingFileHandler <https://docs.python.org/2/library/logging.handlers.html#rotatingfilehandler>`_ internally).\n\n By default, the file grows indefinitely (no rotation). You can use the ``maxBytes`` and\n ``backupCount`` values to allow the file to rollover at a predetermined si... | 38 | false | metachris/logzero | logfile | 27,193 | |
LDU_FT/spyder-ide/spyder-notebook/get_focus_client | LDU_FT | [
"<BEGIN>\n## `evaluate`",
"Evaluate script in page frame.",
" :param script: The script to evaluate.\n<END>",
"<BEGIN>\n## `click`",
"Click the targeted element.",
" :param selector: A CSS3 selector to targeted element.\n :param btn: The number of mouse button.\n 0 - left b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_focus_client API.
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_focus_client API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Return current notebook with focus, if any. | "Return current notebook with focus, if any." | 45 | false | spyder-ide/spyder-notebook | get_focus_client | 27,194 | |
LDU_FT/mrname/haralyzer/get_load_times | LDU_FT | [
"<BEGIN>\n## `get_load_times`",
"Just a ``list`` of the load times of a certain asset type for each page",
" :param asset_type: ``str`` of the asset type to return load times for\n<END>",
"<BEGIN>\n## `get_stdev`",
"Returns the standard deviation for a set of a certain asset type.",
" :param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_load_times API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_load_times API.
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... | Just a ``list`` of the load times of a certain asset type for each page
:param asset_type: ``str`` of the asset type to return load times for | "Just a ``list`` of the load times of a certain asset type for each page\n\n :param asset_type: ``str`` of the asset type to return load times for" | 72 | false | mrname/haralyzer | get_load_times | 27,195 | |
LDU_FT/TorkamaniLab/metapipe/eval | LDU_FT | [
"<BEGIN>\n## `consume`",
"Converts the lexer tokens into valid statements. This process\n also checks command syntax.\n<END>",
"<BEGIN>\n## `_get`",
"Given a type and a dict of parser results, return\n the items as a list.\n<END>",
"<BEGIN>\n## `_parse`",
"Given a type and a list, parse it u... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eval API.
Each 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 eval API.
Each 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... | Evaluates the given input and returns a string containing the
actual filenames represented. If the input token represents multiple
independent files, then eval will return a list of all the input files
needed, otherwise it returns the filenames in a string. | "Evaluates the given input and returns a string containing the\n actual filenames represented. If the input token represents multiple\n independent files, then eval will return a list of all the input files\n needed, otherwise it returns the filenames in a string." | 84 | false | TorkamaniLab/metapipe | eval | 27,196 | |
LDU_FT/adamrehn/ue4cli/getEngineVersion | LDU_FT | [
"<BEGIN>\n## `findArgs`",
"Extracts the list of arguments that start with any of the specified prefix values\n<END>",
"<BEGIN>\n## `stripArgs`",
"Removes any arguments in the supplied list that are contained in the specified blacklist\n<END>",
"<BEGIN>\n## `capture`",
"Executes a child process and capture... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getEngineVersion API.
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 getEngineVersion API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Returns the version number of the latest installed version of UE4 | "Returns the version number of the latest installed version of UE4" | 120 | false | adamrehn/ue4cli | getEngineVersion | 27,197 | |
LDU_FT/KnightHawk3/Hummingbird/update_entry | LDU_FT | [
"<BEGIN>\n## `_query_`",
"Used internally for requests.",
" :param str path: The path to hit.\n :param str method: The method to use, either `'GET'` or `'POST.`\n :param dict data:\n The optional paramters to the `GET` or the data to `POST`.",
" :returns:\n Re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_entry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_entry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Creates or updates the Library entry with the provided values.
:param anime_id: The Anime ID or Slug.
:type anime_id: int or str
:param str auth_token: User authentication token.
:param str status:
Can be one of `'currently-watching'`, `'plan-to-watch'`,
`'comple... | "Creates or updates the Library entry with the provided values.\n\n :param anime_id: The Anime ID or Slug.\n :type anime_id: int or str\n :param str auth_token: User authentication token.\n :param str status:\n Can be one of `'currently-watching'`, `'plan-to-watch'`,\n ... | 35 | false | KnightHawk3/Hummingbird | update_entry | 27,198 | |
LDU_FT/halcy/Mastodon.py/conversations | LDU_FT | [
"<BEGIN>\n## `parse_version_string`",
"Parses a semver version string, stripping off \"rc\" stuff if present.\n<END>",
"<BEGIN>\n## `bigger_version`",
"Returns the bigger version of two version strings.\n<END>",
"<BEGIN>\n## `api_version`",
"Version check decorator. Currently only checks Bigger Than.\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the conversations API.
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 conversations API.
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... | Fetches a users conversations.
Returns a list of `conversation dicts`_. | "Fetches a users conversations.\n \n Returns a list of `conversation dicts`_." | 313 | false | halcy/Mastodon.py | conversations | 27,199 | |
LDU_FT/konstantint/matplotlib-venn/venn2 | LDU_FT | [
"<BEGIN>\n## `point_in_circle`",
"Returns true if a given point is located inside (or on the border) of a circle.",
" >>> point_in_circle((0, 0), (0, 0), 1)\n True\n >>> point_in_circle((1, 0), (0, 0), 1)\n True\n >>> point_in_circle((1, 1), (0, 0), 1)\n False\n<END>",
"<BEGIN>\n## `circle_i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the venn2 API.
Each 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 venn2 API.
Each 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... | Plots a 2-set area-weighted Venn diagram.
The subsets parameter can be one of the following:
- A list (or a tuple) containing two set objects.
- A dict, providing sizes of three diagram regions.
The regions are identified via two-letter binary codes ('10', '01', and '11'), hence a valid set could l... | "Plots a 2-set area-weighted Venn diagram.\n The subsets parameter can be one of the following:\n - A list (or a tuple) containing two set objects.\n - A dict, providing sizes of three diagram regions.\n The regions are identified via two-letter binary codes ('10', '01', and '11'), hence a valid set co... | 166 | false | konstantint/matplotlib-venn | venn2 | 27,200 | |
LDU_FT/hatemile/hatemile-for-python/_speak_normal | LDU_FT | [
"<BEGIN>\n## `_get_shortcut_prefix`",
"Returns the shortcut prefix of browser.",
" :param user_agent: The user agent of browser.\n :type user_agent: str\n :param standart_prefix: The default prefix.\n :type standart_prefix: str\n :return: The shortcut prefix of browser.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _speak_normal API.
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 _speak_normal API.
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... | Speak the content of element only.
:param element: The element.
:type element: hatemile.util.html.htmldomelement.HTMLDOMElement | "Speak the content of element only.\n\n :param element: The element.\n :type element: hatemile.util.html.htmldomelement.HTMLDOMElement" | 202 | false | hatemile/hatemile-for-python | _speak_normal | 27,201 | |
LDU_FT/philgyford/django-spectator/get_event_counts | LDU_FT | [
"<BEGIN>\n## `generate_slug`",
"A copy of spectator.core.models.SluggedModelMixin._generate_slug()\n<END>",
"<BEGIN>\n## `set_slug`",
"Create a slug for each Work already in the DB.\n<END>",
"<BEGIN>\n## `get_kinds_data`",
"Returns a dict of all the data about the kinds, keyed to the kind\n value. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_event_counts API.
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_event_counts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Returns a dict like:
{'counts': {
'all': 30,
'movie': 12,
'gig': 10,
}} | "Returns a dict like:\n {'counts': {\n 'all': 30,\n 'movie': 12,\n 'gig': 10,\n }}" | 169 | false | philgyford/django-spectator | get_event_counts | 27,202 | |
LDU_FT/pjanis/funtool/analysis_collection_and_parameter_measure | LDU_FT | [
"<BEGIN>\n## `_wrap_measure`",
"Creates a function on a state_collection, which creates analysis_collections for each state in the collection.",
" Optionally sorts the collection if the state_measure has a sort_by parameter (see funtool.lib.general.sort_states for details)\n<END>",
"<BEGIN>\n## `analysis_c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the analysis_collection_and_parameter_measure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indica... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the analysis_collection_and_parameter_measure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indica... | Decorator for State Measures that only require the analysis_collection and parameters
Saves return value to analysis_collection.state.measures with the State Measure's name as the key | "Decorator for State Measures that only require the analysis_collection and parameters\n\n Saves return value to analysis_collection.state.measures with the State Measure's name as the key" | 40 | false | pjanis/funtool | analysis_collection_and_parameter_measure | 27,203 | |
LDU_FT/ismms-himc/clustergrammer2/filter_threshold | LDU_FT | [
"<BEGIN>\n## `run_norm`",
"A dataframe (more accurately a dictionary of dataframes, e.g. mat,\n mat_up...) can be passed to run_norm and a normalization will be run (\n e.g. zscore) on either the rows or columns\n<END>",
"<BEGIN>\n## `qn_df`",
"do quantile normalization of a dataframe dictionary, does not w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_threshold API.
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 filter_threshold API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Filter a network's rows or cols based on num_occur values being above a
threshold (in absolute_value) | "Filter a network's rows or cols based on num_occur values being above a\n threshold (in absolute_value)" | 90 | false | ismms-himc/clustergrammer2 | filter_threshold | 27,204 | |
LDU_FT/pyapi-gitlab/pyapi-gitlab/addprojecthook | LDU_FT | [
"<BEGIN>\n## `login`",
"Logs the user in and setups the header with the private token",
" :param email: Gitlab user Email\n :param user: Gitlab username\n :param password: Gitlab user password\n :return: True if login successful\n :raise: HttpError\n :raise: ValueError\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addprojecthook API.
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 addprojecthook API.
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... | add a hook to a project
:param project_id: project id
:param url: url of the hook
:return: True if success | "add a hook to a project\n\n :param project_id: project id\n :param url: url of the hook\n :return: True if success" | 239 | false | pyapi-gitlab/pyapi-gitlab | addprojecthook | 27,205 | |
LDU_FT/adafruit/Adafruit_CircuitPython_framebuf/fill_rect | LDU_FT | [
"<BEGIN>\n## `fill`",
"completely fill/clear the buffer with a color\n<END>",
"<BEGIN>\n## `fill_rect`",
"Draw a rectangle at the given location, size and color. The ``fill_rect`` method draws\n both the outline and interior.\n<END>",
"<BEGIN>\n## `fill_rect`",
"Draw a rectangle at the given locati... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fill_rect API.
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 fill_rect API.
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... | Draw a rectangle at the given location, size and color. The ``fill_rect`` method draws
both the outline and interior. | "Draw a rectangle at the given location, size and color. The ``fill_rect`` method draws\n both the outline and interior." | 20 | false | adafruit/Adafruit_CircuitPython_framebuf | fill_rect | 27,206 | |
LDU_FT/decryptus/httpdis/init | LDU_FT | [
"<BEGIN>\n## `register`",
"Register a command\n @handler: function to execute when the command is received\n @op: http method(s)\n @safe_init: called by the safe_init() function of this module\n @at_start: called once just before the server starts\n @at_stop: called once just before the server stop... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Must be called just after registration, before anything else | "Must be called just after registration, before anything else" | 25 | false | decryptus/httpdis | init | 27,207 | |
LDU_FT/sdispater/orator/register_as | LDU_FT | [
"<BEGIN>\n## `construct`",
"Create a new factory container.",
" :param faker: A faker generator instance\n :type faker: faker.Generator",
" :param path_to_factories: The path to factories\n :type path_to_factories: str",
" :rtype: Factory\n<END>",
"<BEGIN>\n## `define`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_as API.
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 register_as API.
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... | Register a class with a function.
:param klass: The class
:type klass: class
:param callback: The callable
:type callback: callable
:param name: The short name
:type name: str | "Register a class with a function.\n\n :param klass: The class\n :type klass: class\n\n :param callback: The callable\n :type callback: callable\n\n :param name: The short name\n :type name: str" | 1,212 | true | sdispater/orator | register_as | 27,208 | |
LDU_FT/Kensuke-Mitsuzawa/JapaneseTokenizers/convert_list_object | LDU_FT | [
"<BEGIN>\n## `__check_mecab_dict_path`",
"check path to dict of Mecab in system environment\n<END>",
"<BEGIN>\n## `__feature_parser`",
"Parse the POS feature output by Mecab\n :param uni_feature unicode:\n :return ( (pos1, pos2, pos3), word_stem ):\n<END>",
"<BEGIN>\n## `__postprocess_analyzed... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_list_object 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 convert_list_object 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... | * What you can do
- You extract string object from TokenizedResult object
* Args
- is_denormalize: boolen object. True; it makes denormalize string
- func_denormalizer: callable object. de-normalization function. | "* What you can do\n - You extract string object from TokenizedResult object\n\n * Args\n - is_denormalize: boolen object. True; it makes denormalize string\n - func_denormalizer: callable object. de-normalization function." | 58 | false | Kensuke-Mitsuzawa/JapaneseTokenizers | convert_list_object | 27,209 | |
LDU_FT/Autodesk/pyccc/put | LDU_FT | [
"<BEGIN>\n## `persistent_id`",
"Tags objects with a persistent ID, but do NOT emit it\n<END>",
"<BEGIN>\n## `open`",
"Return file-like object (actually opens the file for this class)\n<END>",
"<BEGIN>\n## `_open_tmpfile`",
"Open a temporary, unique file in CACHEDIR (/tmp/cyborgcache) by default.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
Each 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 put API.
Each 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... | Write the file to the given path
Args:
filename(str): path to write this file to
Returns:
LocalFile: reference to the copy of the file stored at ``filename`` | "Write the file to the given path\n\n Args:\n filename(str): path to write this file to\n\n Returns:\n LocalFile: reference to the copy of the file stored at ``filename``" | 114 | false | Autodesk/pyccc | put | 27,210 | |
LDU_FT/hmartiniano/faz/dependencies_are_newer | LDU_FT | [
"<BEGIN>\n## `_build_graph`",
"Produce a dependency graph based on a list\n of tasks produced by the parser.\n<END>",
"<BEGIN>\n## `expand_variables`",
"Expand variables in the task code.\n Only variables who use the $[<variable name>] format are expanded.\n Variables using the $<vari... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dependencies_are_newer 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 dependencies_are_newer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | For two lists of files, check if any file in the
second list is newer than any file of the first. | "For two lists of files, check if any file in the\n second list is newer than any file of the first." | 20 | false | hmartiniano/faz | dependencies_are_newer | 27,211 | |
LDU_FT/nitely/django-hooks/register | LDU_FT | [
"<BEGIN>\n## `register`",
"Register a new hook. Not required (see :py:func:`.connect` method)",
" :param str name: The hook name\n :return: Django signal\n :rtype: :py:class:`django.dispatch.Signal`\n<END>",
"<BEGIN>\n## `connect`",
"Connects a function to a hook.\\\n Creates the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
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 register API.
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... | Register a new hook. Not required (see :py:func:`.connect` method)
:param str name: The hook name
:return: Django signal
:rtype: :py:class:`django.dispatch.Signal` | "Register a new hook. Not required (see :py:func:`.connect` method)\n\n :param str name: The hook name\n :return: Django signal\n :rtype: :py:class:`django.dispatch.Signal`" | 39 | false | nitely/django-hooks | register | 27,212 | |
LDU_FT/Fuyukai/ConfigMaster/ini_load_hook | LDU_FT | [
"<BEGIN>\n## `initial_populate`",
"Populate a newly created config object with data.",
" If it was populated, this returns True. If it wasn't, this returns False.",
" It is recommended to run a .dump() and .reload() after running this.\n<END>",
"<BEGIN>\n## `apply_defaults`",
"Applies defaul... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ini_load_hook API.
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 ini_load_hook API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | This handles automatically opening/creating the INI configuration files.
>>> import configmaster.INIConfigFile
>>> cfg = configmaster.INIConfigFile.INIConfigFile("tesr.ini") # Accepts a string for input
>>> fd = open("test.ini") # Accepts a file descriptor too
>>> cfg2 = configmaster.INIConfigFile.INI... | "This handles automatically opening/creating the INI configuration files.\n\n >>> import configmaster.INIConfigFile\n >>> cfg = configmaster.INIConfigFile.INIConfigFile(\"tesr.ini\") # Accepts a string for input\n\n >>> fd = open(\"test.ini\") # Accepts a file descriptor too\n >>> cfg2 = configmaster.INICon... | 32 | false | Fuyukai/ConfigMaster | ini_load_hook | 27,213 | |
LDU_FT/YeoLab/anchor/cross_phenotype_jsd | LDU_FT | [
"<BEGIN>\n## `plot_best_worst_fits`",
"Violinplots of the highest and lowest scoring of each modality\n<END>",
"<BEGIN>\n## `violinplot`",
"Wrapper around Seaborn's Violinplot specifically for [0, 1] ranged data",
" What's different:\n - bw = 0.2: Sets bandwidth to be small and the same between datase... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cross_phenotype_jsd 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 cross_phenotype_jsd 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... | Jensen-Shannon divergence of features across phenotypes
Parameters
----------
data : pandas.DataFrame
A (n_samples, n_features) Dataframe
groupby : mappable
A samples to phenotypes mapping
n_iter : int
Number of bootstrap resampling iterations to perform for the
with... | "Jensen-Shannon divergence of features across phenotypes\n\n Parameters\n ----------\n data : pandas.DataFrame\n A (n_samples, n_features) Dataframe\n groupby : mappable\n A samples to phenotypes mapping\n n_iter : int\n Number of bootstrap resampling iterations to perform for the\n ... | 94 | false | YeoLab/anchor | cross_phenotype_jsd | 27,214 | |
LDU_FT/MycroftAI/adapt/add_edge | LDU_FT | [
"<BEGIN>\n## `lookup`",
"TODO: Implement trie lookup with edit distance",
" Args:\n iterable(list?): key used to find what is requested this could\n be a generator.\n index(int): index of what is requested\n gather(bool): of weather to gather or not\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_edge API.
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_edge API.
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... | Used to add edges to the graph. 'a' and 'b' are vertexes and
if 'a' or 'b' doesn't exisit then the vertex is created
Args:
a (hash): is one vertex of the edge
b (hash): is another vertext of the edge | "Used to add edges to the graph. 'a' and 'b' are vertexes and\n if 'a' or 'b' doesn't exisit then the vertex is created\n\n Args:\n a (hash): is one vertex of the edge\n b (hash): is another vertext of the edge" | 178 | false | MycroftAI/adapt | add_edge | 27,215 | |
LDU_FT/avara1986/ardy/run | LDU_FT | [
"<BEGIN>\n## `run`",
"Run deploy the lambdas defined in our project.\n Steps:\n * Build Artefact\n * Read file or deploy to S3. It's defined in config[\"deploy\"][\"deploy_method\"]\n * Reload conf with deploy changes\n * check lambda if exist\n * Create Lambda\n ... | 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... | Builds the file bundle.
:param str src:
The path to your Lambda ready project (folder must contain a valid
config.yaml and handler module (e.g.: service.py).
:param str local_package:
The path to a local package with should be included in the deploy as
well... | "Builds the file bundle.\n :param str src:\n The path to your Lambda ready project (folder must contain a valid\n config.yaml and handler module (e.g.: service.py).\n :param str local_package:\n The path to a local package with should be included in the deploy as\n ... | 17 | false | avara1986/ardy | run | 27,216 | |
LDU_FT/Atomistica/atomistica/stress_invariants | LDU_FT | [
"<BEGIN>\n## `read`",
"Convenience function: Detect file extension and read via Atomistica or ASE.\n If reading a NetCDF files, frame numbers can be appended via '@'.\n e.g., a = read('traj.nc@5')\n<END>",
"<BEGIN>\n## `write`",
"Convenience function: Detect file extension and write via Atomistica or AS... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stress_invariants API.
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 stress_invariants API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Receives a list of stress tensors and returns the three invariants.
Return hydrostatic pressure, octahedral shear stress and J3 | "Receives a list of stress tensors and returns the three invariants.\n Return hydrostatic pressure, octahedral shear stress and J3" | 40 | false | Atomistica/atomistica | stress_invariants | 27,217 | |
LDU_FT/geopy/geopy/geocode | LDU_FT | [
"<BEGIN>\n## `_construct_url`",
"Construct geocoding request url. Overridden.",
" :param str base_api: Geocoding function base address - self.api\n or self.reverse_api.",
" :param dict params: Geocoding params.",
" :return: string URL.\n<END>",
"<BEGIN>\n## `geocode`",
"R... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geocode API.
Each 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 geocode API.
Each 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 a location point by address.
:param str query: The address or query you wish to geocode.
:param bool exactly_one: Return one result or a list of results, if
available.
:param int timeout: Time, in seconds, to wait for the geocoding service
to respond before rais... | "Return a location point by address.\n\n :param str query: The address or query you wish to geocode.\n\n :param bool exactly_one: Return one result or a list of results, if\n available.\n\n :param int timeout: Time, in seconds, to wait for the geocoding service\n to respond be... | 405 | false | geopy/geopy | geocode | 27,218 | |
LDU_FT/exhuma/python-cluster/_encapsulate_item_for_combinfunc | LDU_FT | [
"<BEGIN>\n## `getclusters`",
"Generates *count* clusters.",
" :param count: The amount of clusters that should be generated. count\n must be greater than ``1``.\n :raises ClusteringError: if *count* is out of bounds.\n<END>",
"<BEGIN>\n## `assign_item`",
"Assigns an item from a giv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _encapsulate_item_for_combinfunc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _encapsulate_item_for_combinfunc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | This function has been extracted in order to
make Github issue #28 easier to investigate.
It replaces the following two lines of code,
which occur twice in method genmatrix, just
before the invocation of combinfunc.
if not hasattr(item, '__iter__') or isinstance(item, tuple):
item ... | "This function has been extracted in order to \n make Github issue #28 easier to investigate.\n It replaces the following two lines of code, \n which occur twice in method genmatrix, just\n before the invocation of combinfunc.\n if not hasattr(item, '__iter__') or isinstance(item, tuple):\n ... | 76 | false | exhuma/python-cluster | _encapsulate_item_for_combinfunc | 27,219 | |
LDU_FT/Robpol86/sphinxcontrib-versioning/override_root_main_ref | LDU_FT | [
"<BEGIN>\n## `setup_logging`",
"Configure console logging. Info and below go to stdout, others go to stderr.",
" :param int verbose: Verbosity level. > 0 print debug statements. > 1 passed to sphinx-build.\n :param bool colors: Print color text in non-verbose mode.\n :param str name: Which logger name ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the override_root_main_ref 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 override_root_main_ref API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Override root_ref or banner_main_ref with tags in config if user requested.
:param sphinxcontrib.versioning.lib.Config config: Runtime configuration.
:param iter remotes: List of dicts from Versions.remotes.
:param bool banner: Evaluate banner main ref instead of root ref.
:return: If root/main ref ex... | "Override root_ref or banner_main_ref with tags in config if user requested.\n\n :param sphinxcontrib.versioning.lib.Config config: Runtime configuration.\n :param iter remotes: List of dicts from Versions.remotes.\n :param bool banner: Evaluate banner main ref instead of root ref.\n\n :return: If root/main... | 172 | false | Robpol86/sphinxcontrib-versioning | override_root_main_ref | 27,220 | |
LDU_FT/dhermes/bezier/handle_import_error | LDU_FT | [
"<BEGIN>\n## `polynomial_sign`",
"r\"\"\"Determine the \"sign\" of a polynomial on the reference triangle.",
" .. note::",
" This is used **only** by :meth:`Surface._compute_valid` (which is\n in turn used to compute / cache the :attr:`Surface.is_valid`\n property).",
" Checks if a p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_import_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_import_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Allow or re-raise an import error.
This is to distinguish between expected and unexpected import errors.
If the module is not found, it simply means the Cython / Fortran speedups
were not built with the package. If the error message is different, e.g.
``... undefined symbol: __curve_intersection_MOD_al... | "Allow or re-raise an import error.\n\n This is to distinguish between expected and unexpected import errors.\n If the module is not found, it simply means the Cython / Fortran speedups\n were not built with the package. If the error message is different, e.g.\n ``... undefined symbol: __curve_intersection_... | 1,903 | true | dhermes/bezier | handle_import_error | 27,221 | |
LDU_FT/arokem/python-matlab-bridge/run_func | LDU_FT | [
"<BEGIN>\n## `split_pulls`",
"split a list of closed issues into non-PR Issues and Pull Requests\n<END>",
"<BEGIN>\n## `issues_closed_since`",
"Get all issues closed since a particular point in time. period\n can either be a datetime object, or a timedelta object. In the\n latter case, it is used as a t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_func API.
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 run_func API.
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... | Run a function in Matlab and return the result.
Parameters
----------
func_path: str
Name of function to run or a path to an m-file.
func_args: object, optional
Function args to send to the function.
nargout: int, optional
Desired number of re... | "Run a function in Matlab and return the result.\n\n Parameters\n ----------\n func_path: str\n Name of function to run or a path to an m-file.\n func_args: object, optional\n Function args to send to the function.\n nargout: int, optional\n Desired nu... | 58 | false | arokem/python-matlab-bridge | run_func | 27,222 | |
LDU_FT/django-extensions/django-extensions/execute | LDU_FT | [
"<BEGIN>\n## `_slug_strip`",
"Clean up a slug by removing slug separator characters that occur at\n the beginning or end of a slug.",
" If an alternate separator is used, it will also replace any instances\n of the default '-' separator with the new separator.\n<END>",
"<BEGIN>\n## `to_py... | 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... | Overriden in order to send emails on unhandled exception.
If an unhandled exception in ``def handle(self, *args, **options)``
occurs and `--email-exception` is set or `self.email_exception` is
set to True send an email to ADMINS with the traceback and then
reraise the exception. | "Overriden in order to send emails on unhandled exception.\n\n If an unhandled exception in ``def handle(self, *args, **options)``\n occurs and `--email-exception` is set or `self.email_exception` is\n set to True send an email to ADMINS with the traceback and then\n reraise the exception." | 191 | false | django-extensions/django-extensions | execute | 27,223 | |
LDU_FT/i3visio/osrframework/getConfigPath | LDU_FT | [
"<BEGIN>\n## `getResults`",
"Function to obtain the Dictionarythat represents this object.",
" :param parFound: values to return.",
" :return: The output format will be like:\n [{\"type\" : \"i3visio.email\", \"value\": \"foo@bar.com\", \"attributes\": [] }, {\"type\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getConfigPath API.
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 getConfigPath API.
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... | Auxiliar function to get the configuration paths depending on the system
Args:
-----
configFileName: TODO.
Returns:
--------
A dictionary with the following keys: appPath, appPathDefaults,
appPathTransforms, appPathPlugins, appPathPatterns, appPathPatterns. | "Auxiliar function to get the configuration paths depending on the system\n\n Args:\n -----\n configFileName: TODO.\n\n Returns:\n --------\n A dictionary with the following keys: appPath, appPathDefaults,\n appPathTransforms, appPathPlugins, appPathPatterns, appPathPatterns." | 598 | false | i3visio/osrframework | getConfigPath | 27,224 | |
LDU_FT/dwkim78/upsilon/load_EROS_lc | LDU_FT | [
"<BEGIN>\n## `sigma_clipping`",
"Remove any fluctuated data points by magnitudes.",
" Parameters\n ----------\n date : array_like\n An array of dates.\n mag : array_like\n An array of magnitudes.\n err : array_like\n An array of magnitude errors.\n threshold : float, optio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_EROS_lc API.
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 load_EROS_lc API.
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... | Read an EROS light curve and return its data.
Parameters
----------
filename : str, optional
A light-curve filename.
Returns
-------
dates : numpy.ndarray
An array of dates.
magnitudes : numpy.ndarray
An array of magnitudes.
errors : numpy.ndarray
An arr... | "Read an EROS light curve and return its data.\n\n Parameters\n ----------\n filename : str, optional\n A light-curve filename.\n\n Returns\n -------\n dates : numpy.ndarray\n An array of dates.\n magnitudes : numpy.ndarray\n An array of magnitudes.\n errors : numpy.ndarray\... | 80 | false | dwkim78/upsilon | load_EROS_lc | 27,225 | |
LDU_FT/annayqho/TheCannon/_cont_norm_regions | LDU_FT | [
"<BEGIN>\n## `gen_cannon_grad_spec`",
"Generate Cannon gradient spectra",
" Parameters\n ----------\n labels: default values for [teff, logg, feh, cfe, nfe, afe, ak]\n choose: val of cfe or nfe, whatever you're varying\n low: lowest val of cfe or nfe, whatever you're varying\n high: highest va... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _cont_norm_regions 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 _cont_norm_regions 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... | Perform continuum normalization for spectra in chunks
Useful for spectra that have gaps
Parameters
---------
fluxes: numpy ndarray
pixel intensities
ivars: numpy ndarray
inverse variances, parallel to fluxes
cont: numpy ndarray
the continuum
ranges: list or np ndarr... | "Perform continuum normalization for spectra in chunks\n\n Useful for spectra that have gaps\n\n Parameters\n ---------\n fluxes: numpy ndarray\n pixel intensities\n ivars: numpy ndarray\n inverse variances, parallel to fluxes\n cont: numpy ndarray\n the continuum\n ranges: lis... | 188 | false | annayqho/TheCannon | _cont_norm_regions | 27,226 | |
LDU_FT/jordanh/neurio-python/get_appliances | LDU_FT | [
"<BEGIN>\n## `get_token`",
"Performs Neurio API token authentication using provided key and secret.",
" Note:\n This method is generally not called by hand; rather it is usually\n called as-needed by a Neurio Client object.",
" Returns:\n string: the access token\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_appliances API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_appliances API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Get the appliances added for a specified location.
Args:
location_id (string): identifiying string of appliance
Returns:
list: dictionary objects containing appliances data | "Get the appliances added for a specified location.\n\n Args:\n location_id (string): identifiying string of appliance\n\n Returns:\n list: dictionary objects containing appliances data" | 47 | false | jordanh/neurio-python | get_appliances | 27,227 | |
LDU_FT/benhoff/vexbot/get_addresses | LDU_FT | [
"<BEGIN>\n## `main`",
"`kwargs`:",
" `configuration_filepath`: filepath for the `ini` configuration\n<END>",
"<BEGIN>\n## `get_addresses`",
"parses a raw list from zmq to get back the components that are the address\n messages are broken by the addresses in the beginning and then the\n message,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_addresses API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_addresses API.
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... | parses a raw list from zmq to get back the components that are the address
messages are broken by the addresses in the beginning and then the
message, like this: ```addresses | '' | message ``` | "parses a raw list from zmq to get back the components that are the address\n messages are broken by the addresses in the beginning and then the\n message, like this: ```addresses | '' | message ```" | 68 | false | benhoff/vexbot | get_addresses | 27,228 | |
LDU_FT/jborean93/smbprotocol/write | LDU_FT | [
"<BEGIN>\n## `unpack_multiple`",
"Get's a list of SMB2NetworkInterfaceInfo messages from the byte value\n passed in. This is the raw buffer value that is set on the\n SMB2IOCTLResponse message.",
" :param data: bytes of the messages\n :return: List of SMB2NetworkInterfaceInfo message... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Writes data to an opened file.
Supports out of band send function, call this function with send=False
to return a tuple of (SMBWriteRequest, receive_func) instead of
sending the the request and waiting for the response. The receive_func
can be used to get the response from the server by... | "Writes data to an opened file.\n\n Supports out of band send function, call this function with send=False\n to return a tuple of (SMBWriteRequest, receive_func) instead of\n sending the the request and waiting for the response. The receive_func\n can be used to get the response from the ser... | 106 | false | jborean93/smbprotocol | write | 27,229 | |
LDU_FT/rhelmot/nclib/_recv_predicate | LDU_FT | [
"<BEGIN>\n## `launch`",
"A static method for launching a process that is connected to a given\n socket. Same rules from the Process constructor apply.\n<END>",
"<BEGIN>\n## `respond`",
"Send a message back to a peer.",
" :param packet: The data to send\n :param peer: The add... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _recv_predicate API.
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 _recv_predicate API.
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... | Receive until predicate returns a positive integer.
The returned number is the size to return. | "Receive until predicate returns a positive integer.\n The returned number is the size to return." | 44 | false | rhelmot/nclib | _recv_predicate | 27,230 | |
LDU_FT/atmos-python/atmos/parse_derivative_string | LDU_FT | [
"<BEGIN>\n## `assumes`",
"Stores a function's assumptions as an attribute.\n<END>",
"<BEGIN>\n## `overridden_by_assumptions`",
"Stores what assumptions a function is overridden by as an attribute.\n<END>",
"<BEGIN>\n## `equation_docstring`",
"Creates a decorator that adds a docstring to an equation functi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_derivative_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_derivative_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... | Assuming the string is of the form d(var1)d(var2), returns var1, var2.
Raises ValueError if the string is not of this form, or if the vars
are not keys in the quantity_dict, or if var2 is not a coordinate-like
variable. | "Assuming the string is of the form d(var1)d(var2), returns var1, var2.\n Raises ValueError if the string is not of this form, or if the vars\n are not keys in the quantity_dict, or if var2 is not a coordinate-like\n variable." | 126 | false | atmos-python/atmos | parse_derivative_string | 27,231 | |
LDU_FT/mcieslik-mctp/papy/load_item | LDU_FT | [
"<BEGIN>\n## `_inspect`",
"(internal) Determines the type of a given ``object``. Discriminates between \n ``Piper``, ``Worker``, ``FunctionType`` and ``Iterable`` instances. It \n returns a ``tuple`` of boolean variables i.e: (is_piper, is_worker, \n is_function, is_iterable_of_pipers, is_iterable_of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_item API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_item API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Loads data from a file. Determines the file type automatically ``"file"``,
``"fifo"``, ``"socket"``, but allows to specify the representation type
``"string"`` or ``"mmap"`` for memory mapped access to the file. Returns
the loaded item as a ``str`` or ``mmap`` object. Internally creates an item
from ... | "Loads data from a file. Determines the file type automatically ``\"file\"``,\n ``\"fifo\"``, ``\"socket\"``, but allows to specify the representation type \n ``\"string\"`` or ``\"mmap\"`` for memory mapped access to the file. Returns \n the loaded item as a ``str`` or ``mmap`` object. Internally creates an ... | 323 | false | mcieslik-mctp/papy | load_item | 27,232 | |
LDU_FT/Gorialis/jishaku/jsk_cancel | LDU_FT | [
"<BEGIN>\n## `get_var_dict_from_ctx`",
"Returns the dict to be used in REPL for a given Context.\n<END>",
"<BEGIN>\n## `background_reader`",
"Reads a stream and forwards each line to an async callback.\n<END>",
"<BEGIN>\n## `make_reader_task`",
"Create a reader executor task for a stream.\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jsk_cancel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jsk_cancel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Cancels a task with the given index.
If the index passed is -1, will cancel the last task instead. | "Cancels a task with the given index.\n\n If the index passed is -1, will cancel the last task instead." | 161 | false | Gorialis/jishaku | jsk_cancel | 27,233 | |
LDU_FT/alpha-xone/xone/trade_day | LDU_FT | [
"<BEGIN>\n## `trade_day`",
"Latest trading day w.r.t given dt",
" Args:\n dt: date of reference\n cal: trading calendar",
" Returns:\n pd.Timestamp: last trading day",
" Examples:\n >>> trade_day('2018-12-25').strftime('%Y-%m-%d')\n '2018-12-24'\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trade_day API.
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 trade_day API.
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... | Latest trading day w.r.t given dt
Args:
dt: date of reference
cal: trading calendar
Returns:
pd.Timestamp: last trading day
Examples:
>>> trade_day('2018-12-25').strftime('%Y-%m-%d')
'2018-12-24' | "Latest trading day w.r.t given dt\n\n Args:\n dt: date of reference\n cal: trading calendar\n\n Returns:\n pd.Timestamp: last trading day\n\n Examples:\n >>> trade_day('2018-12-25').strftime('%Y-%m-%d')\n '2018-12-24'" | 89 | false | alpha-xone/xone | trade_day | 27,234 | |
LDU_FT/mpapi/lazylights/run | LDU_FT | [
"<BEGIN>\n## `parse_packet`",
"Parses a Lifx data packet (as a bytestring), returning into a Header object\n for the fields that are common to all data packets, and a bytestring of\n payload data for the type-specific fields (suitable for passing to\n `parse_payload`).\n<END>",
"<BEGIN>\n## `parse_payl... | 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... | Process all callbacks, until `stop()` is called. Intended to run in
its own thread. | "Process all callbacks, until `stop()` is called. Intended to run in\n its own thread." | 63 | false | mpapi/lazylights | run | 27,235 | |
LDU_FT/greenape/mktheapidocs/enum_doc | LDU_FT | [
"<BEGIN>\n## `get_line`",
"Get the line number for something.\n Parameters\n ----------\n thing : function, class, module",
" Returns\n -------\n int\n Line number in the source file\n<END>",
"<BEGIN>\n## `_sort_modules`",
"Always sort `index` or `README` as first filename in list.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enum_doc API.
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 enum_doc API.
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... | Generate markdown for an enum
Parameters
----------
name : str
Name of the thing being documented
enum : EnumMeta
Enum to document
header_level : int
Heading level
source_location : str
URL of repo containing source code | "Generate markdown for an enum\n\n Parameters\n ----------\n name : str\n Name of the thing being documented\n enum : EnumMeta\n Enum to document\n header_level : int\n Heading level\n source_location : str\n URL of repo containing source code" | 60 | false | greenape/mktheapidocs | enum_doc | 27,236 | |
LDU_FT/sarugaku/requirementslib/profile | LDU_FT | [
"<BEGIN>\n## `pep517_subprocess_runner`",
"The default method of calling the wrapper subprocess.\n<END>",
"<BEGIN>\n## `run_setup`",
"Run a `setup.py` script with a target **egg_base** if provided.",
" :param S script_path: The path to the `setup.py` script to run\n :param Optional[S] egg_base: The me... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the profile API.
Each 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 profile API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Run and profile a given Python script.
:param str filepath: The filepath of the script to profile | "Run and profile a given Python script.\n\n :param str filepath: The filepath of the script to profile" | 26 | false | sarugaku/requirementslib | profile | 27,237 | |
LDU_FT/datascopeanalytics/scrubadub/iter_detector_clss | LDU_FT | [
"<BEGIN>\n## `iter_detector_clss`",
"Iterate over all of the detectors that are included in this sub-package.\n This is a convenience method for capturing all new Detectors that are added\n over time and it is used both by the unit tests and in the\n ``Scrubber.__init__`` method.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_detector_clss 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 iter_detector_clss 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... | Iterate over all of the detectors that are included in this sub-package.
This is a convenience method for capturing all new Detectors that are added
over time and it is used both by the unit tests and in the
``Scrubber.__init__`` method. | "Iterate over all of the detectors that are included in this sub-package.\n This is a convenience method for capturing all new Detectors that are added\n over time and it is used both by the unit tests and in the\n ``Scrubber.__init__`` method." | 16 | false | datascopeanalytics/scrubadub | iter_detector_clss | 27,238 | |
LDU_FT/Autodesk/cryptorito/has_gpg_key | LDU_FT | [
"<BEGIN>\n## `polite_string`",
"Returns a \"proper\" string that should work in both Py3/Py2\n<END>",
"<BEGIN>\n## `not_a_string`",
"It's probably not a string, in the sense\n that Python2/3 get confused about these things\n<END>",
"<BEGIN>\n## `actually_flatten`",
"Flatten iterables\n This is super... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_gpg_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_gpg_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Checks to see if we have this gpg fingerprint | "Checks to see if we have this gpg fingerprint" | 36 | false | Autodesk/cryptorito | has_gpg_key | 27,239 | |
LDU_FT/uogbuji/versa/resourcetypes | LDU_FT | [
"<BEGIN>\n## `link`",
"Action function generator to create a link based on the context's current link, or on provided parameters",
" :param origin: IRI/string, or list of same; origins for the created relationships.\n If None, the action context provides the parameter.",
" :param rel: IRI/string, or ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resourcetypes API.
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 resourcetypes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Return a list of Versa types for a resource | "Return a list of Versa types for a resource" | 146 | false | uogbuji/versa | resourcetypes | 27,240 | |
LDU_FT/EdwinvO/pyutillib/eval_conditions | LDU_FT | [
"<BEGIN>\n## `previous_weekday`",
"Returns the last weekday before date",
" Args:\n date (datetime or datetime.date)\n Returns:\n (datetime or datetime.date)\n Raises:\n -\n<END>",
"<BEGIN>\n## `next_weekday`",
"Return the first weekday after date",
" Args:\n date (... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eval_conditions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eval_conditions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Evaluates conditions and returns Boolean value.
Args:
conditions (tuple) for the format of the tuple, see below
data (dict) the keys of which can be used in conditions
Returns:
(boolea)
Raises:
ValueError if an invalid operator value is specified
TypeError if:
... | "Evaluates conditions and returns Boolean value.\n\n Args:\n conditions (tuple) for the format of the tuple, see below\n data (dict) the keys of which can be used in conditions\n Returns:\n (boolea)\n Raises:\n ValueError if an invalid operator value is specified\n TypeError ... | 49 | false | EdwinvO/pyutillib | eval_conditions | 27,241 | |
LDU_FT/quantumlib/Cirq/plot | LDU_FT | [
"<BEGIN>\n## `_absorb_z_into_w`",
"Absorbs a Z^t gate into a W(a) flip.",
" [Where W(a) is shorthand for PhasedX(phase_exponent=a).]",
" Uses the following identity:\n ───W(a)───Z^t───\n ≡ ───W(a)───────────Z^t/2──────────Z^t/2─── (split Z)\n ≡ ───W(a)───W(a)───Z^-t/2───W(a)───Z^t/2... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Plots excited state probability vs the Rabi angle (angle of rotation
around the x-axis).
Args:
**plot_kwargs: Arguments to be passed to matplotlib.pyplot.plot. | "Plots excited state probability vs the Rabi angle (angle of rotation\n around the x-axis).\n\n Args:\n **plot_kwargs: Arguments to be passed to matplotlib.pyplot.plot." | 1,764 | true | quantumlib/Cirq | plot | 27,242 | |
LDU_FT/frejanordsiek/hdf5storage/write_metadata | LDU_FT | [
"<BEGIN>\n## `update_type_lookups`",
"Update type and typestring lookup dicts.",
" Must be called once the ``types`` and ``python_type_strings``\n attributes are set so that ``type_to_typestring`` and\n ``typestring_to_type`` are constructed.",
" .. versionadded:: 0.2",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_metadata API.
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 write_metadata API.
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... | Writes an object to file.
Writes the metadata for a Python object `data` to file at `name`
in h5py.Group `grp`. Metadata is written to HDF5
Attributes. Existing Attributes that are not being used are
deleted.
.. versionchanged:: 0.2
Arguements changed.
Param... | "Writes an object to file.\n\n Writes the metadata for a Python object `data` to file at `name`\n in h5py.Group `grp`. Metadata is written to HDF5\n Attributes. Existing Attributes that are not being used are\n deleted.\n\n .. versionchanged:: 0.2\n Arguements changed.\n\n ... | 264 | false | frejanordsiek/hdf5storage | write_metadata | 27,243 | |
LDU_FT/GoogleCloudPlatform/google-cloud-datastore/get_property_dict | LDU_FT | [
"<BEGIN>\n## `get_default_connection`",
"Returns the default datastore connection.",
" Defaults endpoint to helper.get_project_endpoint_from_env() and\n credentials to helper.get_credentials_from_env().",
" Use set_options to override defaults.\n<END>",
"<BEGIN>\n## `get_all`",
"Query for all Todo item... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_property_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 get_property_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... | Convert datastore.Entity to a dict of property name -> datastore.Value.
Args:
entity_proto: datastore.Entity proto message.
Usage:
>>> get_property_dict(entity_proto)
{'foo': {string_value='a'}, 'bar': {integer_value=2}}
Returns:
dict of entity properties. | "Convert datastore.Entity to a dict of property name -> datastore.Value.\n\n Args:\n entity_proto: datastore.Entity proto message.\n\n Usage:\n >>> get_property_dict(entity_proto)\n {'foo': {string_value='a'}, 'bar': {integer_value=2}}\n\n Returns:\n dict of entity properties." | 94 | false | GoogleCloudPlatform/google-cloud-datastore | get_property_dict | 27,244 | |
LDU_FT/hobson/pug-dj/get_model | LDU_FT | [
"<BEGIN>\n## `instance`",
"Creates an EC2 instance from an Ubuntu AMI and configures it as a Django server\n with nginx + gunicorn\n<END>",
"<BEGIN>\n## `_run_task`",
"Tasks a task from tasks.py and runs through the commands on the server\n<END>",
"<BEGIN>\n## `_put_template`",
"Same as _put() but it l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Retrieve a Django model class for the indicated model name and app name (or module object)
Args:
model: A model class, queryset or string. E.g. one of:
* derivative of django.db.models.base.ModelBase
* derivative of django.db.models.query.QuerySet
* string name of a django.db.models.M... | "Retrieve a Django model class for the indicated model name and app name (or module object)\n\n Args:\n model: A model class, queryset or string. E.g. one of:\n * derivative of django.db.models.base.ModelBase\n * derivative of django.db.models.query.QuerySet\n * string name of a django.db.m... | 300 | false | hobson/pug-dj | get_model | 27,245 | |
LDU_FT/callowayproject/Calloway/send_activation_email | LDU_FT | [
"<BEGIN>\n## `get_url`",
"Returns the reversed url given a string or dict and prints errors if MENU_DEBUG is enabled\n<END>",
"<BEGIN>\n## `smart_if`",
"A smarter {% if %} tag for django templates.",
" While retaining current Django functionality, it also handles equality,\n greater than and less than... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_activation_email 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 send_activation_email API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Custom send email method to supplied the activation link and
new generated password. | "Custom send email method to supplied the activation link and \n new generated password." | 58 | false | callowayproject/Calloway | send_activation_email | 27,246 | |
LDU_FT/Valassis-Digital-Media/spylon/set_if_unset | LDU_FT | [
"<BEGIN>\n## `as_iterable`",
"Utility for converting an object to an iterable.",
" Parameters\n ----------\n iterable_or_scalar : anything",
" Returns\n -------\n l : iterable\n If `obj` was None, return the empty tuple.\n If `obj` was not iterable returns a 1-tuple containing ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_if_unset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_if_unset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Set a particular spark property by the string key name if it hasn't already been set.
This method allows chaining so that i can provide a similar feel to the standard Scala way of setting
multiple configurations
Parameters
----------
key : string
value : string
... | "Set a particular spark property by the string key name if it hasn't already been set.\n\n This method allows chaining so that i can provide a similar feel to the standard Scala way of setting\n multiple configurations\n\n Parameters\n ----------\n key : string\n value : string... | 96 | false | Valassis-Digital-Media/spylon | set_if_unset | 27,247 | |
LDU_FT/intuition-io/intuition/_normalize_dates | LDU_FT | [
"<BEGIN>\n## `update`",
"Actualizes the portfolio universe with the alog state\n<END>",
"<BEGIN>\n## `trade_signals_handler`",
"Process buy and sell signals from the simulation\n<END>",
"<BEGIN>\n## `advise`",
"General parameters or user settings\n (maw_weigth, max_assets, max_frequency, commission... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _normalize_dates API.
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 _normalize_dates API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Build a timeline from given (or not) start and end dates | "Build a timeline from given (or not) start and end dates" | 73 | false | intuition-io/intuition | _normalize_dates | 27,248 | |
LDU_FT/JensRantil/rewind/add_event | LDU_FT | [
"<BEGIN>\n## `_zmq_socket_context`",
"A ZeroMQ socket context that both constructs a socket and closes it.\n<END>",
"<BEGIN>\n## `_get_with_fallback`",
"Get a configuration value, using fallback for missing values.",
" Parameters:\n config -- the configparser to try to extract the option value from.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Add an event and its corresponding key to the store. | "Add an event and its corresponding key to the store." | 112 | false | JensRantil/rewind | add_event | 27,249 | |
LDU_FT/maceoutliner/django-fiction-outlines/validate_character_instance_valid_for_arc | LDU_FT | [
"<BEGIN>\n## `mk_dropdown_tree`",
"Override of ``treebeard`` method to enforce the same root.\n<END>",
"<BEGIN>\n## `length_estimate`",
"Calculates and estimated word count based on number of characters, locations,\n and arcs. For reference see:\n http://www.writingexcuses.com/2017/07/02/12-27-c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_character_instance_valid_for_arc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indica... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_character_instance_valid_for_arc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indica... | Evaluate attempts to assign a character instance to ensure it is from same
outline. | "Evaluate attempts to assign a character instance to ensure it is from same\n outline." | 61 | false | maceoutliner/django-fiction-outlines | validate_character_instance_valid_for_arc | 27,250 | |
LDU_FT/dlintott/gns3-converter/copy_topology_image | LDU_FT | [
"<BEGIN>\n## `setup_argparse`",
"Setup the argparse argument parser",
" :return: instance of argparse\n :rtype: ArgumentParser\n<END>",
"<BEGIN>\n## `do_conversion`",
"Convert the topology",
" :param dict topology_def: Dict containing topology file and snapshot bool.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_topology_image 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 copy_topology_image 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... | Copy any images of the topology to the converted topology
:param str source: Source topology directory
:param str target: Target Directory | "Copy any images of the topology to the converted topology\n\n :param str source: Source topology directory\n :param str target: Target Directory" | 140 | false | dlintott/gns3-converter | copy_topology_image | 27,251 | |
LDU_FT/IvanMalison/okcupyd/upload_and_confirm | LDU_FT | [
"<BEGIN>\n## `ages`",
"The age range that the user is interested in.\n<END>",
"<BEGIN>\n## `single`",
"Whether or not the user is only interested in people that are single.\n<END>",
"<BEGIN>\n## `update`",
"Update the looking for attributes of the logged in user.",
" :param ages: The ages that th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload_and_confirm 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 upload_and_confirm 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... | Upload the file to okcupid and confirm, among other things, its
thumbnail position.
:param incoming: A filepath string, :class:`.Info` object or
a file like object to upload to okcupid.com.
If an info object is provided, its thumbnail
... | "Upload the file to okcupid and confirm, among other things, its\n thumbnail position.\n\n :param incoming: A filepath string, :class:`.Info` object or\n a file like object to upload to okcupid.com.\n If an info object is provided, its thumbnail\n ... | 149 | false | IvanMalison/okcupyd | upload_and_confirm | 27,252 | |
LDU_FT/lambdalisue/maidenhair/load_plugins | LDU_FT | [
"<BEGIN>\n## `load`",
"Load data from file matched with given glob pattern.",
" Return value will be a list of data unless :attr:`unite` is `True`.\n If :attr:`unite` is `True` then all data will be united into a single data.",
" Parameters\n ----------\n pathname : string or list\n A gl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_plugins API.
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 load_plugins API.
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... | Load plugins in `sys.path` and :attr:`plugin_dirs`
Parameters
----------
plugin_dirs : list or tuple of string, optional
A list or tuple of plugin directory path
quiet : bool, optional
If True, print all error message | "Load plugins in `sys.path` and :attr:`plugin_dirs`\n\n Parameters\n ----------\n plugin_dirs : list or tuple of string, optional\n A list or tuple of plugin directory path\n quiet : bool, optional\n If True, print all error message" | 128 | false | lambdalisue/maidenhair | load_plugins | 27,253 | |
LDU_FT/PixelwarStudio/PyTree/generate_branches | LDU_FT | [
"<BEGIN>\n## `generate_branches`",
"Generates branches with alternative system.",
" Args:\n scales (tuple/array): Indicating how the branch/es length/es develop/s from age to age.\n angles (tuple/array): Holding the branch and shift angle in radians.\n shift_angle (float): Holding the ro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_branches API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_branches API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Generates branches with alternative system.
Args:
scales (tuple/array): Indicating how the branch/es length/es develop/s from age to age.
angles (tuple/array): Holding the branch and shift angle in radians.
shift_angle (float): Holding the rotation angle for all branches.
Returns:
... | "Generates branches with alternative system.\n\n Args:\n scales (tuple/array): Indicating how the branch/es length/es develop/s from age to age.\n angles (tuple/array): Holding the branch and shift angle in radians.\n shift_angle (float): Holding the rotation angle for all branches.\n\n Retur... | 63 | false | PixelwarStudio/PyTree | generate_branches | 27,254 | |
LDU_FT/AndresMWeber/Nomenclate/purge_tokens | LDU_FT | [
"<BEGIN>\n## `purge_tokens`",
"Removes all specified token_attrs that exist in instance.token_attrs",
" :param token_attrs: list(str), list of string values of tokens to remove. If None, removes all\n<END>",
"<BEGIN>\n## `combine_dicts`",
"Combines all arguments (if they are dictionaries) and kwargs... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the purge_tokens API.
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 purge_tokens API.
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... | Removes all specified token_attrs that exist in instance.token_attrs
:param token_attrs: list(str), list of string values of tokens to remove. If None, removes all | "Removes all specified token_attrs that exist in instance.token_attrs\n \n :param token_attrs: list(str), list of string values of tokens to remove. If None, removes all" | 140 | false | AndresMWeber/Nomenclate | purge_tokens | 27,255 | |
LDU_FT/b3j0f/schema/validate | LDU_FT | [
"<BEGIN>\n## `_getter`",
"Called when the parent element tries to get this property value.",
" :param obj: parent object.\n<END>",
"<BEGIN>\n## `_setter`",
"Called when the parent element tries to set this property value.",
" :param obj: parent object.\n :param value: new value to use... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Validate input data with input schema.
:param Schema schema: schema able to validate input data.
:param data: data to validate.
:param Schema owner: input schema parent schema.
:raises: Exception if the data is not validated. | "Validate input data with input schema.\n\n :param Schema schema: schema able to validate input data.\n :param data: data to validate.\n :param Schema owner: input schema parent schema.\n :raises: Exception if the data is not validated." | 101 | false | b3j0f/schema | validate | 27,256 | |
LDU_FT/ejeschke/ginga/get_viewer_names | LDU_FT | [
"<BEGIN>\n## `set_figure`",
"Call this with the matplotlib Figure() object.\n<END>",
"<BEGIN>\n## `render_image1`",
"Render the image represented by (rgbobj) at dst_x, dst_y\n in the pixel space.",
" NOTE: this version uses a Figure.FigImage to render the image.\n<END>",
"<BEGIN>\n## `render... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_viewer_names API.
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_viewer_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Returns a list of viewer names that are registered that
can view `dataobj`. | "Returns a list of viewer names that are registered that\n can view `dataobj`." | 1,455 | true | ejeschke/ginga | get_viewer_names | 27,257 | |
LDU_FT/MacHu-GWU/docfly-project/sub_article_folders | LDU_FT | [
"<BEGIN>\n## `is_valid_package_module_name`",
"Test whether it's a valid package or module name.",
" - a-z, 0-9, and underline\n - starts with underline or alpha letter",
" valid:",
" - ``a``\n - ``a.b.c``\n - ``_a``\n - ``_a._b._c``",
" invalid:",
" - ``A``\n - ``0``\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sub_article_folders 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 sub_article_folders 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 all valid ArticleFolder sitting inside of
:attr:`ArticleFolder.dir_path`. | "Returns all valid ArticleFolder sitting inside of\n :attr:`ArticleFolder.dir_path`." | 47 | false | MacHu-GWU/docfly-project | sub_article_folders | 27,258 | |
LDU_FT/openvax/isovar/from_locus_read | LDU_FT | [
"<BEGIN>\n## `initial_variant_sequences_from_reads`",
"Get all unique sequences from reads spanning a variant locus. This will\n include partial sequences due to reads starting in the middle of the\n sequence around around a variant.\n<END>",
"<BEGIN>\n## `trim_variant_sequences`",
"Trim VariantSequence... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_locus_read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_locus_read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Given a single LocusRead object, return either an AlleleRead or None
Parameters
----------
locus_read : LocusRead
Read which overlaps a variant locus but doesn't necessarily contain the
alternate nucleotides
n_ref : int
Number of reference positions ... | "Given a single LocusRead object, return either an AlleleRead or None\n\n Parameters\n ----------\n locus_read : LocusRead\n Read which overlaps a variant locus but doesn't necessarily contain the\n alternate nucleotides\n\n n_ref : int\n Number of reference ... | 333 | false | openvax/isovar | from_locus_read | 27,259 | |
LDU_FT/dslackw/slpkg/pkg_find | LDU_FT | [
"<BEGIN>\n## `repos`",
"View or enabled or disabled repositories\n<END>",
"<BEGIN>\n## `reset`",
"Reset slpkg.conf file with default values\n<END>",
"<BEGIN>\n## `case_sensitive`",
"Create dictionary from list with key in lower case\n and value with default\n<END>",
"<BEGIN>\n## `package_name`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pkg_find API.
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 pkg_find API.
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... | Find packages from all enabled repositories | "Find packages from all enabled repositories" | 168 | false | dslackw/slpkg | pkg_find | 27,260 | |
LDU_FT/Feneric/doxypypy/visit_Call | LDU_FT | [
"<BEGIN>\n## `coroutine`",
"Basic decorator to implement the coroutine pattern.\n<END>",
"<BEGIN>\n## `main`",
"Starts the parser on the file given by the filename as the first\n argument on the command line.\n<END>",
"<BEGIN>\n## `_endCodeIfNeeded`",
"Simple routine to append end code marker if needed... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_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 extrac... | Handles function calls within code.
Function calls in Python are used to represent interface implementations
in addition to their normal use. If a call appears to mark an
implementation, it gets labeled as such for Doxygen. | "Handles function calls within code.\n\n Function calls in Python are used to represent interface implementations\n in addition to their normal use. If a call appears to mark an\n implementation, it gets labeled as such for Doxygen." | 46 | false | Feneric/doxypypy | visit_Call | 27,261 | |
LDU_FT/seyriz/taiga-contrib-google-auth/google_register | LDU_FT | [
"<BEGIN>\n## `login`",
"Get access_token fron an user authorized code, the client id and the client secret key.\n (See https://developer.google.com/v3/oauth/#web-application-flow).\n<END>",
"<BEGIN>\n## `get_user_profile`",
"Get authenticated user info.\n (See https://developer.google.com/v3/users/#get-... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the google_register API.
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 google_register API.
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... | Register a new user from google.
This can raise `exc.IntegrityError` exceptions in
case of conflics found.
:returns: User | "Register a new user from google.\n This can raise `exc.IntegrityError` exceptions in\n case of conflics found.\n :returns: User" | 10 | false | seyriz/taiga-contrib-google-auth | google_register | 27,262 | |
LDU_FT/Yelp/venv-update/fresh_working_set | LDU_FT | [
"<BEGIN>\n## `parseargs`",
"handle --help, --version and our double-equal ==options\n<END>",
"<BEGIN>\n## `timid_relpath`",
"convert an argument to a relative path, carefully\n<END>",
"<BEGIN>\n## `exec_`",
"Wrapper to os.execv which shows the command and runs any atexit handlers (for coverage's sake).\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fresh_working_set API.
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 fresh_working_set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | return a pkg_resources "working set", representing the *currently* installed packages | "return a pkg_resources \"working set\", representing the *currently* installed packages" | 36 | false | Yelp/venv-update | fresh_working_set | 27,263 | |
LDU_FT/flask-restful/flask-restful/_complete_url | LDU_FT | [
"<BEGIN>\n## `unpack`",
"Return a three tuple of data, code, and headers\n<END>",
"<BEGIN>\n## `output_xml`",
"Makes a Flask response with a XML encoded body\n<END>",
"<BEGIN>\n## `output_json`",
"Makes a Flask response with a JSON encoded body\n<END>",
"<BEGIN>\n## `abort`",
"Raise a HTTPException fo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _complete_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _complete_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | This method is used to defer the construction of the final url in
the case that the Api is created with a Blueprint.
:param url_part: The part of the url the endpoint is registered with
:param registration_prefix: The part of the url contributed by the
blueprint. Generally speaking... | "This method is used to defer the construction of the final url in\n the case that the Api is created with a Blueprint.\n\n :param url_part: The part of the url the endpoint is registered with\n :param registration_prefix: The part of the url contributed by the\n blueprint. Generally sp... | 123 | false | flask-restful/flask-restful | _complete_url | 27,264 | |
LDU_FT/fake-name/ChromeController/Network_setUserAgentOverride | LDU_FT | [
"<BEGIN>\n## `close_chromium`",
"Close the remote chromium instance.",
"\t\tThis command is normally executed as part of the class destructor.\n\t\tIt can be called early without issue, but calling ANY class functions\n\t\tafter the remote chromium instance is shut down will have unknown effects.",
"\t\tNote ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Network_setUserAgentOverride 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 Network_setUserAgentOverride API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Function path: Network.setUserAgentOverride
Domain: Network
Method name: setUserAgentOverride
Parameters:
Required arguments:
'userAgent' (type: string) -> User agent to use.
No return value.
Description: Allows overriding user agent with the given string. | "Function path: Network.setUserAgentOverride\n\t\t\tDomain: Network\n\t\t\tMethod name: setUserAgentOverride\n\t\t\n\t\t\tParameters:\n\t\t\t\tRequired arguments:\n\t\t\t\t\t'userAgent' (type: string) -> User agent to use.\n\t\t\tNo return value.\n\t\t\n\t\t\tDescription: Allows overriding user agent with the given str... | 709 | false | fake-name/ChromeController | Network_setUserAgentOverride | 27,265 | |
LDU_FT/usc-isi-i2/etk/classes_in_module | LDU_FT | [
"<BEGIN>\n## `decode_unicode`",
"Process of parsing:\n -> Convert unicode into standard form\n -> Convert each character of the unicode symbol to its numerical equivalent\n -> Mapping Process:\n - First check in pattern dictionary to map suffix/prefix\n - Check Emoticon Dictionary \n - Replace valu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the classes_in_module API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the classes_in_module API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Return all classes with super class ExtractionModule
Args:
module:
Returns: List of classes | "Return all classes with super class ExtractionModule\n\n Args:\n module:\n\n Returns: List of classes" | 427 | false | usc-isi-i2/etk | classes_in_module | 27,266 | |
LDU_FT/adamrehn/ue4cli/getEngineChangelist | LDU_FT | [
"<BEGIN>\n## `findArgs`",
"Extracts the list of arguments that start with any of the specified prefix values\n<END>",
"<BEGIN>\n## `stripArgs`",
"Removes any arguments in the supplied list that are contained in the specified blacklist\n<END>",
"<BEGIN>\n## `capture`",
"Executes a child process and capture... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getEngineChangelist 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 getEngineChangelist 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 the compatible Perforce changelist identifier for the latest installed version of UE4 | "Returns the compatible Perforce changelist identifier for the latest installed version of UE4" | 120 | false | adamrehn/ue4cli | getEngineChangelist | 27,267 | |
LDU_FT/dustin/twitty-twister/_toState | LDU_FT | [
"<BEGIN>\n## `__downloadPage`",
"Start a HTTP download, returning a HTTPDownloader object\n<END>",
"<BEGIN>\n## `__encodeMultipart`",
"fields is a sequence of (name, value) elements for regular form fields.\n files is a sequence of (name, filename, value) elements for data to be uploaded as files\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _toState API.
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 _toState API.
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... | Transition to the next state.
@param state: Name of the next state. | "Transition to the next state.\n\n @param state: Name of the next state." | 93 | false | dustin/twitty-twister | _toState | 27,268 | |
LDU_FT/Microsoft/nni/parse_ids | LDU_FT | [
"<BEGIN>\n## `get_pre_compute`",
":param s: [src_sequence, batch_size, src_dim]\n :return: [src_sequence, batch_size. hidden_dim]\n<END>",
"<BEGIN>\n## `get_prob`",
":param s: [src_sequence_length, batch_size, src_dim]\n :param h: [batch_size, tgt_dim] or [tgt_sequence_length, batch_size, tgt_di... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_ids API.
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 parse_ids API.
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... | Parse the arguments for nnictl stop
1.If there is an id specified, return the corresponding id
2.If there is no id specified, and there is an experiment running, return the id, or return Error
3.If the id matches an experiment, nnictl will return the id.
4.If the id ends with *, nnictl will match all id... | "Parse the arguments for nnictl stop\n 1.If there is an id specified, return the corresponding id\n 2.If there is no id specified, and there is an experiment running, return the id, or return Error\n 3.If the id matches an experiment, nnictl will return the id.\n 4.If the id ends with *, nnictl will match a... | 587 | false | Microsoft/nni | parse_ids | 27,269 | |
LDU_FT/c0ntrol-x/p4rr0t007/xor | LDU_FT | [
"<BEGIN>\n## `json_response`",
"Useful for restful APIs\n :param data: a native python object, must be json serialiable, otherwise will be handled by :py:meth:`Application.json_handle_weird`\n :param code: the http status code\n :param indent: how many characters to indent when generating the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the xor API.
Each 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 xor API.
Each 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... | xor 2 strings. They can be shorter than each other, in which case
the shortest will be padded with null bytes at its right.
:param left: a string to be the left side of the xor
:param right: a string to be the left side of the xor | "xor 2 strings. They can be shorter than each other, in which case\n the shortest will be padded with null bytes at its right.\n\n :param left: a string to be the left side of the xor\n :param right: a string to be the left side of the xor" | 31 | false | c0ntrol-x/p4rr0t007 | xor | 27,270 | |
LDU_FT/reiinakano/scikit-plot/plot_feature_importances | LDU_FT | [
"<BEGIN>\n## `plot_pca_component_variance`",
"Plots PCA components' explained variance ratios. (new in v0.2.2)",
" Args:\n clf: PCA instance that has the ``explained_variance_ratio_`` attribute.",
" title (string, optional): Title of the generated plot. Defaults to\n \"PCA Componen... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_feature_importances 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 plot_feature_importances API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Generates a plot of a classifier's feature importances.
Args:
clf: Classifier instance that implements ``fit`` and ``predict_proba``
methods. The classifier must also have a ``feature_importances_``
attribute.
title (string, optional): Title of the generated plot. Defaults ... | "Generates a plot of a classifier's feature importances.\n\n Args:\n clf: Classifier instance that implements ``fit`` and ``predict_proba``\n methods. The classifier must also have a ``feature_importances_``\n attribute.\n\n title (string, optional): Title of the generated plot. D... | 328 | false | reiinakano/scikit-plot | plot_feature_importances | 27,271 | |
LDU_FT/tuomas2/automate/set_object_status | LDU_FT | [
"<BEGIN>\n## `call_eval`",
"Value might be either name registered in System namespace, or object, either\n StatusObject or Callable. If Callable, evaluate :meth:`.call` method. If StatusObject,\n return status.\n<END>",
"<BEGIN>\n## `setup_callable_system`",
"This function basically sets... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_object_status API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_object_status API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Set statuses from a dictionary of format ``{name: status}`` | "Set statuses from a dictionary of format ``{name: status}``" | 91 | false | tuomas2/automate | set_object_status | 27,272 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.