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/riptano/ccm/wait_for_binary_interface | LDU_FT | [
"<BEGIN>\n## `actively_watch_logs_for_error`",
"Begins a thread that repeatedly scans system.log for new errors, every interval seconds.\n (The first pass covers the entire log contents written at that point,\n subsequent scans cover newly appended log messages).",
" Reports new errors, by ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_binary_interface API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_binary_interface API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Waits for the Binary CQL interface to be listening. If > 1.2 will check
log for 'Starting listening for CQL clients' before checking for the
interface to be listening.
Emits a warning if not listening after 30 seconds. | "Waits for the Binary CQL interface to be listening. If > 1.2 will check\n log for 'Starting listening for CQL clients' before checking for the\n interface to be listening.\n\n Emits a warning if not listening after 30 seconds." | 108 | false | riptano/ccm | wait_for_binary_interface | 142,773 | |
LDU_FT/numberoverzero/bloop/iter_columns | LDU_FT | [
"<BEGIN>\n## `ordered`",
"Return sorted version of nested dicts/lists for comparing.",
" Modified from:\n http://stackoverflow.com/a/25851972\n<END>",
"<BEGIN>\n## `dump_key`",
"dump the hash (and range, if there is one) key(s) of an object into\n a dynamo-friendly format.",
" returns {dynamo_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Yield all columns in the condition or its inner conditions.
Unwraps proxies when the condition's column (or any of its values) include paths. | "Yield all columns in the condition or its inner conditions.\n\n Unwraps proxies when the condition's column (or any of its values) include paths." | 288 | false | numberoverzero/bloop | iter_columns | 142,774 | |
LDU_FT/systemd/python-systemd/get_next | LDU_FT | [
"<BEGIN>\n## `get_catalog`",
"Return catalog entry for the specified ID.",
" `mid` should be either a UUID or a 32 digit hex number.\n<END>",
"<BEGIN>\n## `stream`",
"r\"\"\"Return a file object wrapping a stream to journal.",
" Log messages written to this file as simple newline sepearted text stri... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_next API.
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 get_next API.
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... | r"""Return the next log entry as a dictionary.
Entries will be processed with converters specified during Reader
creation.
Optional `skip` value will return the `skip`-th log entry.
Currently a standard dictionary of fields is returned, but in the
future this might be changed ... | "r\"\"\"Return the next log entry as a dictionary.\n\n Entries will be processed with converters specified during Reader\n creation.\n\n Optional `skip` value will return the `skip`-th log entry.\n\n Currently a standard dictionary of fields is returned, but in the\n future this might... | 70 | false | systemd/python-systemd | get_next | 142,775 | |
LDU_FT/arkottke/pysra/stress_vert | LDU_FT | [
"<BEGIN>\n## `_calc_strain_ref`",
"Compute the reference strain using Equation (6).\n<END>",
"<BEGIN>\n## `_calc_mod_reduc`",
"Compute the shear modulus reduction using Equation (1).\n<END>",
"<BEGIN>\n## `_calc_damping`",
"Compute the damping ratio using Equation (16).\n<END>",
"<BEGIN>\n## `relative_e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stress_vert API.
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 stress_vert API.
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... | Vertical stress from the top of the layer [kN//m²]. | "Vertical stress from the top of the layer [kN//m²]." | 111 | false | arkottke/pysra | stress_vert | 142,776 | |
LDU_FT/micha030201/aionationstates/census | LDU_FT | [
"<BEGIN>\n## `tgcanrecruit`",
"Whether the nation will receive a recruitment telegram.",
" Useful in conjunction with the Telegrams API.",
" Parameters\n ----------\n region : str\n Name of the region you are recruiting for.",
" Returns\n -------\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the census API.
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 census API.
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 ... | Current World Census data.
By default returns data on today's featured World Census
scale, use arguments to get results on specific scales. In
order to request data on all scales at once you can do
``x.census(*range(81))``.
Parameters
----------
scales : int
... | "Current World Census data.\n\n By default returns data on today's featured World Census\n scale, use arguments to get results on specific scales. In\n order to request data on all scales at once you can do\n ``x.census(*range(81))``.\n\n Parameters\n ----------\n scale... | 156 | false | micha030201/aionationstates | census | 142,777 | |
LDU_FT/kennethreitz/clint/read | LDU_FT | [
"<BEGIN>\n## `_indent`",
"Indent util function, compute new indent_string\n<END>",
"<BEGIN>\n## `open`",
"Returns file object from given filename.\n<END>",
"<BEGIN>\n## `append`",
"Appends given content to given filename.\n<END>",
"<BEGIN>\n## `delete`",
"Deletes given file or directory. If no filenam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Returns contents of given file with AppDir.
If file doesn't exist, returns None. | "Returns contents of given file with AppDir.\n If file doesn't exist, returns None." | 66 | false | kennethreitz/clint | read | 142,778 | |
LDU_FT/artefactual-labs/agentarchives/edit_record | LDU_FT | [
"<BEGIN>\n## `edit_record`",
"Update a record in Archivist's Toolkit using the provided new_record.",
" The format of new_record is identical to the format returned by get_resource_component_and_children and related methods.\n This means it's possible, for example, to request a record, modify the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edit_record API.
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 edit_record API.
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... | Update a record in ArchivesSpace using the provided new_record.
The format of new_record is identical to the format returned by get_resource_component_and_children and related methods; consult the documentation for that method in ArchivistsToolkitClient to see the format.
This means it's possible, for ... | "Update a record in ArchivesSpace using the provided new_record.\n\n The format of new_record is identical to the format returned by get_resource_component_and_children and related methods; consult the documentation for that method in ArchivistsToolkitClient to see the format.\n This means it's possible, ... | 122 | false | artefactual-labs/agentarchives | edit_record | 142,779 | |
LDU_FT/common-workflow-language/schema_salad/replace_type | LDU_FT | [
"<BEGIN>\n## `declare_type`",
"Add this type to our collection, if needed.\n<END>",
"<BEGIN>\n## `add_namespaces`",
"Collect the provided namespaces, checking for conflicts.\n<END>",
"<BEGIN>\n## `collect_namespaces`",
"Walk through the metadata object, collecting namespace declarations.\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Go through and replace types in the 'spec' mapping | "Go through and replace types in the 'spec' mapping" | 53 | false | common-workflow-language/schema_salad | replace_type | 142,780 | |
LDU_FT/prompt-toolkit/pymux/_process_stdin | LDU_FT | [
"<BEGIN>\n## `read_message_from_pipe`",
"(coroutine)\n Read message from this pipe. Return text.\n<END>",
"<BEGIN>\n## `read_message_bytes_from_pipe`",
"(coroutine)\n Read message from this pipe. Return bytes.\n<END>",
"<BEGIN>\n## `wait_for_event`",
"Wraps a win32 event into a `Future` and wait for... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_stdin API.
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 _process_stdin API.
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... | Received data on stdin. Read and send to server. | "Received data on stdin. Read and send to server." | 147 | false | prompt-toolkit/pymux | _process_stdin | 142,781 | |
LDU_FT/jpscaletti/authcode/setup_for_bottle | LDU_FT | [
"<BEGIN>\n## `set_hasher`",
"Updates the has algorithm and, optionally, the number of rounds\n to use.",
" Raises:\n `~WrongHashAlgorithm` if new algorithm isn't one of the three\n recomended options.\n<END>",
"<BEGIN>\n## `render_template`",
"Search for a setting named `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_for_bottle API.
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 setup_for_bottle API.
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 the session **before** calling ``setup_for_bottle`` like this:
@hook('before_request')
def setup_request():
request.session = request.environ['beaker.session'] | "Set the session **before** calling ``setup_for_bottle`` like this:\n\n @hook('before_request')\n def setup_request():\n request.session = request.environ['beaker.session']" | 48 | false | jpscaletti/authcode | setup_for_bottle | 142,782 | |
LDU_FT/rainwoodman/kdcount/find | LDU_FT | [
"<BEGIN>\n## `compute_sum_values`",
"Return the sum1_ij and sum2_ij values given\n the input indices and data instances.",
" Notes\n -----\n This is called in `Binning.update_sums` to compute\n the `sum1` and `sum2` contributions for indices `(i,j)`",
" Parameters\n ----------\n i,j : ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | return all of the indices of particles of groupid | "return all of the indices of particles of groupid" | 69 | false | rainwoodman/kdcount | find | 142,783 | |
LDU_FT/saeschdivara/ArangoPy/all | LDU_FT | [
"<BEGIN>\n## `all`",
"Returns all documents of the collection",
" :param collection Collection instance\n :param skip The number of documents to skip in the query\n :param limit The maximal amount of documents to return. The skip is applied before the limit restriction.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Returns a list of all configured endpoints the server is listening on. For each endpoint,
the list of allowed databases is returned too if set.
The result is a JSON hash which has the endpoints as keys, and the list of
mapped database names as values for each endpoint.
... | "Returns a list of all configured endpoints the server is listening on. For each endpoint,\n the list of allowed databases is returned too if set.\n\n The result is a JSON hash which has the endpoints as keys, and the list of\n mapped database names as values for each endpoint.\n\n ... | 115 | false | saeschdivara/ArangoPy | all | 142,784 | |
LDU_FT/nickmckay/LiPD-utilities/is_ensemble | LDU_FT | [
"<BEGIN>\n## `update_dois`",
"Get DOI publication info for a batch of DOIs. This is LiPD-independent and only requires a CSV file with all DOIs\n listed in a single column. The output is LiPD-formatted publication data for each entry.",
" :param str csv_source: Local path to CSV file\n :param bool writ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_ensemble API.
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 is_ensemble API.
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... | Check if a table of data is an ensemble table. Is the first values index a list? ensemble. Int/float? not ensemble.
:param dict d: Table data
:return bool: Ensemble or not ensemble | "Check if a table of data is an ensemble table. Is the first values index a list? ensemble. Int/float? not ensemble.\n\n :param dict d: Table data\n :return bool: Ensemble or not ensemble" | 796 | false | nickmckay/LiPD-utilities | is_ensemble | 142,785 | |
LDU_FT/mattlong/hermes/is_member | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect to the chatroom's server, sets up handlers, invites members as needed.\n<END>",
"<BEGIN>\n## `is_member`",
"Check if a user is a member of the chatroom\n<END>",
"<BEGIN>\n## `kick_user`",
"Kicks a member from the chatroom. Kicked user will receive no more messages.\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_member API.
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 is_member API.
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... | Check if a user is a member of the chatroom | "Check if a user is a member of the chatroom" | 19 | false | mattlong/hermes | is_member | 142,786 | |
LDU_FT/hamperbot/hamper/replace_env_vars | LDU_FT | [
"<BEGIN>\n## `signedOn`",
"Called after successfully signing on to the server.\n<END>",
"<BEGIN>\n## `process_action`",
"Called when a message is received from a channel or user.\n<END>",
"<BEGIN>\n## `connectionLost`",
"Called when the connection is lost to the server.\n<END>",
"<BEGIN>\n## `userKicked... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_env_vars API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_env_vars API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Fill `conf` with environment variables, where appropriate.
Any value of the from $VAR will be replaced with the environment variable
VAR. If there are sub dictionaries, this function will recurse.
This will preserve the original dictionary, and return a copy. | "Fill `conf` with environment variables, where appropriate.\n\n Any value of the from $VAR will be replaced with the environment variable\n VAR. If there are sub dictionaries, this function will recurse.\n\n This will preserve the original dictionary, and return a copy." | 35 | false | hamperbot/hamper | replace_env_vars | 142,787 | |
LDU_FT/ResidentMario/geoplot/_paint_colorbar_legend | LDU_FT | [
"<BEGIN>\n## `load`",
"A moderately mind-bendy meta-method which abstracts the internals of individual projections' load procedures.",
" Parameters\n ----------\n proj : geoplot.crs object instance\n A disguised reference to ``self``.\n df : GeoDataFrame\n The G... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _paint_colorbar_legend 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 _paint_colorbar_legend API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Creates a legend and attaches it to the axis. Meant to be used when a ``legend=True`` parameter is passed.
Parameters
----------
ax : matplotlib.Axes instance
The ``matplotlib.Axes`` instance on which a legend is being painted.
values : list
A list of values being plotted. May be either... | "Creates a legend and attaches it to the axis. Meant to be used when a ``legend=True`` parameter is passed.\n\n Parameters\n ----------\n ax : matplotlib.Axes instance\n The ``matplotlib.Axes`` instance on which a legend is being painted.\n values : list\n A list of values being plotted. May b... | 404 | false | ResidentMario/geoplot | _paint_colorbar_legend | 142,788 | |
LDU_FT/awslabs/aws-shell/style_factory | LDU_FT | [
"<BEGIN>\n## `_create_key_manager`",
"Create and initialize the keybinding manager.",
" :type get_fuzzy_match: callable\n :param get_fuzzy_match: Gets the fuzzy matching config.",
" :type set_fuzzy_match: callable\n :param set_fuzzy_match: Sets the fuzzy matching config.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the style_factory API.
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 style_factory API.
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... | Retrieve the specified pygments style.
If the specified style is not found, the vim style is returned.
:type style_name: str
:param style_name: The pygments style name.
:rtype: :class:`pygments.style.StyleMeta`
:return: Pygments style info. | "Retrieve the specified pygments style.\n\n If the specified style is not found, the vim style is returned.\n\n :type style_name: str\n :param style_name: The pygments style name.\n\n :rtype: :class:`pygments.style.StyleMeta`\n :return: Pygments style info." | 109 | false | awslabs/aws-shell | style_factory | 142,789 | |
LDU_FT/gmr/helper/_load_config_file | LDU_FT | [
"<BEGIN>\n## `operating_system`",
"Return a string identifying the operating system the application\n is running on.",
" :rtype: str\n<END>",
"<BEGIN>\n## `start`",
"Daemonize if the process is not already running.\n<END>",
"<BEGIN>\n## `gid`",
"Return the group id that the daemon will run with",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_config_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_config_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Load the configuration file into memory, returning the content. | "Load the configuration file into memory, returning the content." | 77 | false | gmr/helper | _load_config_file | 142,790 | |
LDU_FT/gasparka/pyhacores/main | LDU_FT | [
"<BEGIN>\n## `main`",
":param symbol: Bit to modulate\n :return: Modulated signal in baseband\n :rtype: Complex\n<END>",
"<BEGIN>\n## `main`",
":type input: Complex\n :rtype: Sfix\n<END>",
"<BEGIN>\n## `main`",
":param din: bit in\n :return: True if 100% correlation\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | This works by keeping a history of 'window_len' elements and the sum of them.
Every clock last element will be subtracted and new added to the sum.
More good infos: https://www.dsprelated.com/showarticle/58.php
:param x: input to average
:return: averaged output
:rtype: Sfix | "This works by keeping a history of 'window_len' elements and the sum of them.\n Every clock last element will be subtracted and new added to the sum.\n More good infos: https://www.dsprelated.com/showarticle/58.php\n\n :param x: input to average\n :return: averaged output\n :rtype: S... | 23 | false | gasparka/pyhacores | main | 142,791 | |
LDU_FT/asphalt-framework/asphalt/start | LDU_FT | [
"<BEGIN>\n## `run_application`",
"Configure logging and start the given root component in the default asyncio event loop.",
" Assuming the root component was started successfully, the event loop will continue running\n until the process is terminated.",
" Initializes the logging system first based on... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Create child components that have been configured but not yet created and then calls their
:meth:`~Component.start` methods in separate tasks and waits until they have completed. | "Create child components that have been configured but not yet created and then calls their\n :meth:`~Component.start` methods in separate tasks and waits until they have completed." | 143 | false | asphalt-framework/asphalt | start | 142,792 | |
LDU_FT/1flow/python-ftr/reset | LDU_FT | [
"<BEGIN>\n## `reset`",
"(re)set all instance attributes to default.",
" Every attribute is set to ``None``, except :attr:`author`\n and :attr:`failures` which are set to ``[]``.\n<END>",
"<BEGIN>\n## `_process_replacements`",
"Do raw string replacements on :param:`html`.\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset API.
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 reset API.
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... | (re)set all attributes to defaults (eg. empty sets or ``None``). | "(re)set all attributes to defaults (eg. empty sets or ``None``)." | 65 | false | 1flow/python-ftr | reset | 142,793 | |
LDU_FT/ybrs/pydisque/show | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect to one of the Disque nodes.",
" You can get current connection with connected_node property",
" :returns: nothing\n<END>",
"<BEGIN>\n## `execute_command`",
"Execute a command on the connected server.\n<END>",
"<BEGIN>\n## `add_job`",
"Add a job to a queu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show API.
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 show API.
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... | Describe the job.
:param job_id: | "Describe the job.\n\n :param job_id:" | 36 | false | ybrs/pydisque | show | 142,794 | |
LDU_FT/saltstack/salt-pylint/process_non_raw_string_token | LDU_FT | [
"<BEGIN>\n## `_parse_requirements_file`",
"Parse requirements.txt and return list suitable for\n passing to ``install_requires`` parameter in ``setup()``.\n<END>",
"<BEGIN>\n## `visit_functiondef`",
"Verifies no logger statements inside __virtual__\n<END>",
"<BEGIN>\n## `process_module`",
"process a mo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_non_raw_string_token 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 process_non_raw_string_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | check for bad escapes in a non-raw string.
prefix: lowercase string of eg 'ur' string prefix markers.
string_body: the un-parsed body of the string, not including the quote
marks.
start_row: integer line number in the source. | "check for bad escapes in a non-raw string.\n\n prefix: lowercase string of eg 'ur' string prefix markers.\n string_body: the un-parsed body of the string, not including the quote\n marks.\n start_row: integer line number in the source." | 26 | false | saltstack/salt-pylint | process_non_raw_string_token | 142,795 | |
LDU_FT/balabit/typesafety/validate_arguments | LDU_FT | [
"<BEGIN>\n## `decorate`",
"Decorate a function so the function call is checked whenever\n a call is made. The calls that do not need any checks are skipped.",
" The `function` argument is the function to be decorated.",
" The return value will be either",
" * the function itself,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_arguments 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 validate_arguments 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... | Validate the arguments passed to a function. If an error occurred,
the function will throw a TypesafetyError.
The `locals_dict` argument should be the local value dictionary of
the function. An example call would be like: | "Validate the arguments passed to a function. If an error occurred,\n the function will throw a TypesafetyError.\n\n The `locals_dict` argument should be the local value dictionary of\n the function. An example call would be like:" | 23 | false | balabit/typesafety | validate_arguments | 142,796 | |
LDU_FT/go-macaroon-bakery/py-macaroon-bakery/discharge_all | LDU_FT | [
"<BEGIN>\n## `encode_caveat`",
"Encrypt a third-party caveat.",
" The third_party_info key holds information about the\n third party we're encrypting the caveat for; the key is the\n public/private key pair of the party that's adding the caveat.",
" The caveat will be encoded according to the vers... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the discharge_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the discharge_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Gathers discharge macaroons for all the third party caveats in m
(and any subsequent caveats required by those) using get_discharge to
acquire each discharge macaroon.
The local_key parameter may optionally hold the key of the client, in
which case it will be used to discharge any third party caveats wi... | "Gathers discharge macaroons for all the third party caveats in m\n (and any subsequent caveats required by those) using get_discharge to\n acquire each discharge macaroon.\n The local_key parameter may optionally hold the key of the client, in\n which case it will be used to discharge any third party cavea... | 223 | false | go-macaroon-bakery/py-macaroon-bakery | discharge_all | 142,797 | |
LDU_FT/jazzband/django-pipeline/_get_css_files | LDU_FT | [
"<BEGIN>\n## `serve_static`",
"Collect and serve static files.",
" This view serves up static files, much like Django's\n :py:func:`~django.views.static.serve` view, with the addition that it\n collects static files first (if enabled). This allows images, fonts, and\n other assets to be served up wi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_css_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_css_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Return all CSS files from the Media class.
Args:
extra_files (dict):
The contents of the Media class's original :py:attr:`css`
attribute, if one was provided.
Returns:
dict:
The CSS media types and files to return for the :py:attr:`cs... | "Return all CSS files from the Media class.\n\n Args:\n extra_files (dict):\n The contents of the Media class's original :py:attr:`css`\n attribute, if one was provided.\n\n Returns:\n dict:\n The CSS media types and files to return for the :p... | 54 | false | jazzband/django-pipeline | _get_css_files | 142,798 | |
LDU_FT/zhammer/faaspact-verifier/_use_provider_states | LDU_FT | [
"<BEGIN>\n## `_pluck_provider_state`",
">>> _pluck_provider_state({'name': 'there is an egg'})\n ProviderState(descriptor='there is an egg', params=None)",
" >>> _pluck_provider_state({'name': 'there is an egg called', 'params': {'name': 'humpty'}})\n ProviderState(descriptor='there is an egg called', ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _use_provider_states 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 _use_provider_states API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Run all given provider states as a contextmanager. | "Run all given provider states as a contextmanager." | 30 | false | zhammer/faaspact-verifier | _use_provider_states | 142,799 | |
LDU_FT/transitland/mapzen-gtfs/stops | LDU_FT | [
"<BEGIN>\n## `convex_hull`",
"Returns points on convex hull of an array of points in CCW order.\n<END>",
"<BEGIN>\n## `filtany`",
"Filter a set of entities based on method return. Use keyword arguments.",
" Example:\n filtmeth(entities, id='123')\n filtmeth(entities, name='bart')",
" Multiple filt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stops API.
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 stops API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Return all stops visited by trips for this agency. | "Return all stops visited by trips for this agency." | 26 | false | transitland/mapzen-gtfs | stops | 142,800 | |
LDU_FT/JnyJny/Geometry/_convert | LDU_FT | [
"<BEGIN>\n## `nearly_eq`",
"implementation based on:",
" http://floating-point-gui.de/errors/comparison/\n<END>",
"<BEGIN>\n## `_convert`",
":other: Point or point equivalent\n :ignorescalars: optional boolean\n :return: Point",
" Class private method for converting 'other' into a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _convert API.
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 _convert API.
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... | :other: Point or point equivalent
:ignorescalars: optional boolean
:return: Point
Class private method for converting 'other' into a Point
subclasss. If 'other' already is a Point subclass, nothing
is done. If ignoreScalars is True and other is a float or int
type, a Typ... | ":other: Point or point equivalent\n :ignorescalars: optional boolean\n :return: Point\n\n Class private method for converting 'other' into a Point\n subclasss. If 'other' already is a Point subclass, nothing\n is done. If ignoreScalars is True and other is a float or int\n typ... | 184 | false | JnyJny/Geometry | _convert | 142,801 | |
LDU_FT/earwig/mwparserfromhell/remove | LDU_FT | [
"<BEGIN>\n## `normalize`",
"Return the unicode character represented by the HTML entity.\n<END>",
"<BEGIN>\n## `inheritdoc`",
"Set __doc__ of *method* to __doc__ of *method* in its parent class.",
" Since this is used on :class:`.SmartList`, the \"parent class\" used is\n ``list``. This function can b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Remove all attributes with the given *name*.
Raises :exc:`ValueError` if none were found. | "Remove all attributes with the given *name*.\n\n Raises :exc:`ValueError` if none were found." | 291 | false | earwig/mwparserfromhell | remove | 142,802 | |
LDU_FT/openspending/ckanext-budgets/_get_specification | LDU_FT | [
"<BEGIN>\n## `configure`",
"Initialize the plugin. This creates a data object which holds a\n BudgetDataPackage parser which operates based on a specification\n which is either provided in the config via:\n ``ckan.budgets.specification`` or the included version.\n<END>",
"<BEGIN>\n## `in_re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_specification API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_specification 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... | Read the specification provided. It can either be a url or a file
location. | "Read the specification provided. It can either be a url or a file\n location." | 19 | false | openspending/ckanext-budgets | _get_specification | 142,803 | |
LDU_FT/wesyoung/pyzyre/getx | LDU_FT | [
"<BEGIN>\n## `set_header`",
"Set node header; these are provided to other nodes during discovery\nand come in each ENTER message.\n<END>",
"<BEGIN>\n## `set_endpoint`",
"By default, Zyre binds to an ephemeral TCP port and broadcasts the local\nhost name using UDP beaconing. When you call this method, Zyre wil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getx API.
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 getx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Return value of one of parameter(s) or NULL is it has no value (or was not specified) | "Return value of one of parameter(s) or NULL is it has no value (or was not specified)" | 192 | false | wesyoung/pyzyre | getx | 142,804 | |
LDU_FT/Yipit/ejson/deserialize_time | LDU_FT | [
"<BEGIN>\n## `deserialize_time`",
"Return a time instance based on the values of the data param\n<END>",
"<BEGIN>\n## `dumps`",
"A wrapper around `json.dumps` that can handle objects that json\n module is not aware.",
" This function is aware of a list of custom serializers that can be\n registered... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deserialize_time API.
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 deserialize_time API.
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 time instance based on the values of the data param | "Return a time instance based on the values of the data param" | 13 | false | Yipit/ejson | deserialize_time | 142,805 | |
LDU_FT/pudo/dataset/create_column_by_example | LDU_FT | [
"<BEGIN>\n## `normalize_column_name`",
"Check if a string is a reasonable thing to use as a column name.\n<END>",
"<BEGIN>\n## `normalize_table_name`",
"Check if the table name is obviously invalid.\n<END>",
"<BEGIN>\n## `safe_url`",
"Remove password from printed connection URLs.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_column_by_example 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 create_column_by_example API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Explicitly create a new column ``name`` with a type that is appropriate
to store the given example ``value``. The type is guessed in the same
way as for the insert method with ``ensure=True``.
::
table.create_column_by_example('length', 4.2)
If a column of the same name al... | "Explicitly create a new column ``name`` with a type that is appropriate\n to store the given example ``value``. The type is guessed in the same\n way as for the insert method with ``ensure=True``.\n ::\n\n table.create_column_by_example('length', 4.2)\n\n If a column of the same... | 128 | false | pudo/dataset | create_column_by_example | 142,806 | |
LDU_FT/hayd/pep8radius/using_git | LDU_FT | [
"<BEGIN>\n## `fix_file`",
"Calls fix_code on the source code from the passed in file over the given\n line_ranges.",
" - If diff then this returns the udiff for the changes, otherwise\n returns the fixed code.\n - If in_place the changes are written to the file.\n<END>",
"<BEGIN>\n## `fix_code`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the using_git API.
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 using_git API.
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... | Test whether the directory cwd is contained in a git repository. | "Test whether the directory cwd is contained in a git repository." | 57 | false | hayd/pep8radius | using_git | 142,807 | |
LDU_FT/svinota/mdns/remove_service_listener | LDU_FT | [
"<BEGIN>\n## `to_string`",
"String representation with additional information\n<END>",
"<BEGIN>\n## `answered_by`",
"Returns true if the question is answered by the record\n<END>",
"<BEGIN>\n## `reset_ttl`",
"Sets this record's TTL and created time to that of\n another record.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_service_listener 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 remove_service_listener API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Removes a listener from the set that is currently listening. | "Removes a listener from the set that is currently listening." | 67 | false | svinota/mdns | remove_service_listener | 142,808 | |
LDU_FT/apple/turicreate/_toolkits_select_columns | LDU_FT | [
"<BEGIN>\n## `ReadTag`",
"Read a tag from the buffer, and return a (tag_bytes, new_pos) tuple.",
" We return the raw bytes of the tag rather than decoding them. The raw\n bytes can then be used to look up the proper decoder. This effectively allows\n us to trade some work that would be done in pure-python ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _toolkits_select_columns 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 _toolkits_select_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Same as select columns but redirect runtime error to ToolkitError. | "Same as select columns but redirect runtime error to ToolkitError." | 7,340 | true | apple/turicreate | _toolkits_select_columns | 142,809 | |
LDU_FT/Skype4Py/Skype4Py/Join | LDU_FT | [
"<BEGIN>\n## `AsyncSearchUsers`",
"Asynchronously searches for Skype users.",
" :Parameters:\n Target : unicode\n Search target (name or email address).",
" :return: A search identifier. It will be passed along with the results to the\n `SkypeEvents.AsyncSearc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Join API.
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 Join API.
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... | Joins with another call to form a conference.
:Parameters:
Id : int
Call Id of the other call to join to the conference.
:return: Conference object.
:rtype: `Conference` | "Joins with another call to form a conference.\n\n :Parameters:\n Id : int\n Call Id of the other call to join to the conference.\n\n :return: Conference object.\n :rtype: `Conference`" | 213 | false | Skype4Py/Skype4Py | Join | 142,810 | |
LDU_FT/CyberReboot/vent/_startup | LDU_FT | [
"<BEGIN>\n## `gpu_queue`",
"Queued up containers waiting for GPU resources\n<END>",
"<BEGIN>\n## `file_queue`",
"Processes files that have been added from the rq-worker, starts plugins\n that match the mime type for the new file.\n<END>",
"<BEGIN>\n## `inventory`",
"Return a dictionary of the inventory... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _startup API.
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 _startup API.
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... | Automatically detect if a startup file is specified and stand up a vent
host with all necessary tools based on the specifications in that file | "Automatically detect if a startup file is specified and stand up a vent\n host with all necessary tools based on the specifications in that file" | 141 | false | CyberReboot/vent | _startup | 142,811 | |
LDU_FT/sci-bots/mpm/_dump_list | LDU_FT | [
"<BEGIN>\n## `update_plugin_dialog`",
"Launch dialog to track status of update of specified plugin package.",
" .. versionadded:: 0.19",
" .. versionchanged:: 0.20\n Add support for updating multiple packages (update all **installed**\n plugins by default).",
" Add :data:`update_a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dump_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dump_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Dump list to output stream, optionally encoded as JSON.
Parameters
----------
list_data : list
jsonify : bool
stream : file-like | "Dump list to output stream, optionally encoded as JSON.\n\n Parameters\n ----------\n list_data : list\n jsonify : bool\n stream : file-like" | 181 | false | sci-bots/mpm | _dump_list | 142,812 | |
LDU_FT/danielfrg/s3contents/_notebook_model_from_path | LDU_FT | [
"<BEGIN>\n## `_notebook_model_from_path`",
"Build a notebook model from database record.\n<END>",
"<BEGIN>\n## `_file_model_from_path`",
"Build a file model from database record.\n<END>",
"<BEGIN>\n## `_convert_file_records`",
"Applies _notebook_model_from_s3_path or _file_model_from_s3_path to each entry... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _notebook_model_from_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _notebook_model_from_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Build a notebook model from database record. | "Build a notebook model from database record." | 13 | false | danielfrg/s3contents | _notebook_model_from_path | 142,813 | |
LDU_FT/raamana/pyradigm/check_compatibility | LDU_FT | [
"<BEGIN>\n## `check_compatibility`",
"Checks whether the given MLdataset instances are compatible",
" i.e. with same set of subjects, each beloning to the same class in all instances.",
" Checks the first dataset in the list against the rest, and returns a boolean array.",
" Parameters\n -------... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_compatibility 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 check_compatibility 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... | Checks whether the given MLdataset instances are compatible
i.e. with same set of subjects, each beloning to the same class in all instances.
Checks the first dataset in the list against the rest, and returns a boolean array.
Parameters
----------
datasets : Iterable
A list of n datasets
... | "Checks whether the given MLdataset instances are compatible\n\n i.e. with same set of subjects, each beloning to the same class in all instances.\n\n Checks the first dataset in the list against the rest, and returns a boolean array.\n\n Parameters\n ----------\n datasets : Iterable\n A list of n... | 140 | false | raamana/pyradigm | check_compatibility | 142,814 | |
LDU_FT/tsroten/pynlpir/load_library | LDU_FT | [
"<BEGIN>\n## `open`",
"Initializes the NLPIR API.",
" This calls the function :func:`~pynlpir.nlpir.Init`.",
" :param str data_dir: The absolute path to the directory that has NLPIR's\n `Data` directory (defaults to :data:`pynlpir.nlpir.PACKAGE_DIR`).\n :param str encoding: The encoding that t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_library API.
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_library API.
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... | Loads the NLPIR library appropriate for the user's system.
This function is called automatically when this module is loaded.
:param str platform: The platform identifier for the user's system.
:param bool is_64bit: Whether or not the user's system is 64-bit.
:param str lib_dir: The directory that cont... | "Loads the NLPIR library appropriate for the user's system.\n\n This function is called automatically when this module is loaded.\n\n :param str platform: The platform identifier for the user's system.\n :param bool is_64bit: Whether or not the user's system is 64-bit.\n :param str lib_dir: The directory th... | 40 | false | tsroten/pynlpir | load_library | 142,815 | |
LDU_FT/zhebrak/raftos/validate_commit_index | LDU_FT | [
"<BEGIN>\n## `validate_term`",
"Compares current term and request term:\n if current term is stale:\n update current term & become follower\n if received term is stale:\n respond with False\n<END>",
"<BEGIN>\n## `validate_commit_index`",
"Apply to State Machine everything u... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_commit_index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_commit_index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Apply to State Machine everything up to commit index | "Apply to State Machine everything up to commit index" | 28 | false | zhebrak/raftos | validate_commit_index | 142,816 | |
LDU_FT/ramrod-project/database-brain/special_typechecking | LDU_FT | [
"<BEGIN>\n## `deprecated_function`",
"decorator to annotate deprecated functions",
" usage @decorator(replacement=\"brain.whatever.new_function\")",
" :param func_: <callable>\n :param replacement: <str>\n :param args: positional arguments\n :param kwargs:\n :return: <func_'s return value>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the special_typechecking 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 special_typechecking API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Special Typechecking not available via protocol itself
:param value: <dict>
:param msg: <proto object>
:return: <bool> | "Special Typechecking not available via protocol itself\n :param value: <dict>\n :param msg: <proto object>\n :return: <bool>" | 165 | false | ramrod-project/database-brain | special_typechecking | 142,817 | |
LDU_FT/hawkular/hawkular-client-python/delete_tenant | LDU_FT | [
"<BEGIN>\n## `create_datapoint`",
"Creates a single datapoint dict with a value, timestamp and tags.",
" :param value: Value of the datapoint. Type depends on the id's MetricType\n :param timestamp: Optional timestamp of the datapoint. Uses client current time if not set. Millisecond accuracy. Can be date... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_tenant API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_tenant API.
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... | Asynchronously deletes a tenant and all the data associated with the tenant.
:param tenant_id: Tenant id to be sent for deletion process | "Asynchronously deletes a tenant and all the data associated with the tenant.\n :param tenant_id: Tenant id to be sent for deletion process" | 116 | false | hawkular/hawkular-client-python | delete_tenant | 142,818 | |
LDU_FT/pip-services3-python/pip-services3-components-python/timestamp | LDU_FT | [
"<BEGIN>\n## `configure`",
"Configures component by passing configuration parameters.",
" :param config: configuration parameters to be set.\n<END>",
"<BEGIN>\n## `can_create`",
"Checks if this factory is able to create component by given locator.",
" This method searches for all registered ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timestamp API.
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 timestamp API.
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... | Records the given timestamp.
:param name: a counter name of Timestamp type.
:param value: a timestamp to record. | "Records the given timestamp.\n\n :param name: a counter name of Timestamp type.\n\n :param value: a timestamp to record." | 272 | false | pip-services3-python/pip-services3-components-python | timestamp | 142,819 | |
LDU_FT/mschwager/cohesion/get_instance_variables | LDU_FT | [
"<BEGIN>\n## `is_class_method_bound`",
"Return whether a class method is bound to the class\n<END>",
"<BEGIN>\n## `get_class_methods`",
"Return methods associated with a given class\n<END>",
"<BEGIN>\n## `get_class_variables`",
"Return class variables associated with a given class\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_instance_variables 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_instance_variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Return instance variables used in an AST node | "Return instance variables used in an AST node" | 12 | false | mschwager/cohesion | get_instance_variables | 142,820 | |
LDU_FT/stanfordnlp/stanza/get_embeddings | LDU_FT | [
"<BEGIN>\n## `validate`",
"Evaluate this model on `validation_instances` during training and\n output a report.",
" :param validation_instances: The data to use to validate the model.\n :type validation_instances: list(instance.Instance)",
" :param metrics: Functions like those fou... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_embeddings API.
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_embeddings API.
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... | Retrieves the embeddings for the vocabulary.
:param rand: Random initialization function for out-of-vocabulary words. Defaults to `np.random.uniform(-0.1, 0.1, size=shape)`.
:param dtype: Type of the matrix.
:param corpus: Corpus to use. Please see `GloveVocab.settings` for available corpus.
... | "Retrieves the embeddings for the vocabulary.\n\n :param rand: Random initialization function for out-of-vocabulary words. Defaults to `np.random.uniform(-0.1, 0.1, size=shape)`.\n :param dtype: Type of the matrix.\n :param corpus: Corpus to use. Please see `GloveVocab.settings` for available corpu... | 309 | false | stanfordnlp/stanza | get_embeddings | 142,821 | |
LDU_FT/awslabs/aws-sam-cli/function_name | LDU_FT | [
"<BEGIN>\n## `invoke_common_options`",
"Common CLI options shared by \"local invoke\" and \"local start-api\" commands",
" :param f: Callback passed by Click\n<END>",
"<BEGIN>\n## `get_or_default_template_file_name`",
"Default value for the template file name option is more complex than what Click can ha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the function_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the function_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns name of the function to invoke. If no function identifier is provided, this method will return name of
the only function from the template
:return string: Name of the function
:raises InvokeContextException: If function identifier is not provided | "Returns name of the function to invoke. If no function identifier is provided, this method will return name of\n the only function from the template\n\n :return string: Name of the function\n :raises InvokeContextException: If function identifier is not provided" | 708 | false | awslabs/aws-sam-cli | function_name | 142,822 | |
LDU_FT/biocommons/bioutils/get_cytoband_names | LDU_FT | [
"<BEGIN>\n## `fetch_seq`",
"Fetches sequences and subsequences from NCBI eutils and Ensembl\n REST interfaces.",
" :param string ac: accession of sequence to fetch\n :param int start_i: start position of *interbase* interval\n :param int end_i: end position of *interbase* interval",
" **IMPORTA... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cytoband_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cytoband_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.
Th... | Returns the names of available cytoband data files
>> get_cytoband_names()
['ucsc-hg38', 'ucsc-hg19'] | "Returns the names of available cytoband data files\n\n >> get_cytoband_names()\n ['ucsc-hg38', 'ucsc-hg19']" | 172 | false | biocommons/bioutils | get_cytoband_names | 142,823 | |
LDU_FT/mangalam-research/selenic/send_keys | LDU_FT | [
"<BEGIN>\n## `sanitize_capabilities`",
"Sanitize the capabilities we pass to Selenic so that they can\n be consumed by Browserstack.",
" :param caps: The capabilities passed to Selenic. This dictionary\n is modified.",
" :returns: The sanitized capabilities.\n<END>",
"<BEGIN>\n## `locations_with... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_keys API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_keys API.
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... | Sends keys to the element. This method takes care of handling
modifiers keys. To press and release a modifier key you must
include it twice: once to press, once to release. | "Sends keys to the element. This method takes care of handling\n modifiers keys. To press and release a modifier key you must\n include it twice: once to press, once to release." | 50 | false | mangalam-research/selenic | send_keys | 142,824 | |
LDU_FT/Microsoft/nni/add_experiment | 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 add_experiment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_experiment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | set {key:value} paris to self.experiment | "set {key:value} paris to self.experiment" | 587 | false | Microsoft/nni | add_experiment | 142,825 | |
LDU_FT/F5Networks/f5-common-python/_delete | LDU_FT | [
"<BEGIN>\n## `update`",
"Update the object, removing device group if inherited",
" If inheritedDevicegroup is the string \"true\" we need to remove\n deviceGroup from the args before we update or we get the\n following error:",
" The floating traffic-group: /Common/traffic-group-1 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _delete API.
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 _delete API.
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... | Wrapped with delete, override that in a subclass to customize | "Wrapped with delete, override that in a subclass to customize" | 559 | false | F5Networks/f5-common-python | _delete | 142,826 | |
LDU_FT/Capitains/Nautilus/FlaskNautilusManager | LDU_FT | [
"<BEGIN>\n## `r_cts`",
"Actual main route of CTS APIs. Transfer typical requests through the ?request=REQUESTNAME route",
" :return: Response\n<END>",
"<BEGIN>\n## `cts_error`",
"Create a CTS Error reply",
" :param error_name: Name of the error\n :param message: Message of the Error\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the FlaskNautilusManager 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 FlaskNautilusManager API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Provides a manager for flask scripts to perform specific maintenance operations
:param resolver: Nautilus Extension Instance
:type resolver: NautilusCtsResolver
:param flask_nautilus: Flask Application
:type flask_nautilus: FlaskNautilus
:return: CLI
:rtype: click.group
Import with
..... | "Provides a manager for flask scripts to perform specific maintenance operations\n\n :param resolver: Nautilus Extension Instance\n :type resolver: NautilusCtsResolver\n :param flask_nautilus: Flask Application\n :type flask_nautilus: FlaskNautilus\n :return: CLI\n :rtype: click.group\n\n Import wi... | 110 | false | Capitains/Nautilus | FlaskNautilusManager | 142,827 | |
LDU_FT/mesowx/MesoPy/climatology | LDU_FT | [
"<BEGIN>\n## `_checkresponse`",
"r\"\"\" Returns the data requested by the other methods assuming the response from the API is ok. If not, provides\n error handling for all possible API errors. HTTP errors are handled in the get_response() function.",
" Arguments:\n ----------\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the climatology API.
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 climatology API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | r""" Returns a climatology of observations at a user specified location for a specified time. Users must specify
at least one geographic search parameter ('stid', 'state', 'country', 'county', 'radius', 'bbox', 'cwa',
'nwsfirezone', 'gacc', or 'subgacc') to obtain observation data. Other parameters may ... | "r\"\"\" Returns a climatology of observations at a user specified location for a specified time. Users must specify\n at least one geographic search parameter ('stid', 'state', 'country', 'county', 'radius', 'bbox', 'cwa',\n 'nwsfirezone', 'gacc', or 'subgacc') to obtain observation data. Other parameter... | 84 | false | mesowx/MesoPy | climatology | 142,828 | |
LDU_FT/Yubico/python-yubico/write_ndef | LDU_FT | [
"<BEGIN>\n## `req_string`",
"Return string describing model and version requirement.\n<END>",
"<BEGIN>\n## `is_compatible`",
"Check if this flag is compatible with a YubiKey of version 'ver'.\n<END>",
"<BEGIN>\n## `get_set`",
"Return the boolean value of 'flag'. If 'new' is set,\n the flag is updat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_ndef API.
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 write_ndef API.
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... | Write an NDEF tag configuration to the YubiKey NEO. | "Write an NDEF tag configuration to the YubiKey NEO." | 141 | false | Yubico/python-yubico | write_ndef | 142,829 | |
LDU_FT/SteveMcGrath/pySecurityCenter/report_import | LDU_FT | [
"<BEGIN>\n## `gen_csv`",
"csv SecurityCenterObj, AssetListName, CSVFields, EmailAddress\n<END>",
"<BEGIN>\n## `login`",
"Logs the user into SecurityCenter and stores the needed token and cookies.\n<END>",
"<BEGIN>\n## `analysis`",
"Analysis\n A thin wrapper to handle vuln/event/mobile/log analysis ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the report_import API.
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 report_import API.
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... | report_import Report_Name, filename
Uploads a report template to the current user's reports
UN-DOCUMENTED CALL: This function is not considered stable. | "report_import Report_Name, filename\n Uploads a report template to the current user's reports\n\n UN-DOCUMENTED CALL: This function is not considered stable." | 120 | false | SteveMcGrath/pySecurityCenter | report_import | 142,830 | |
LDU_FT/ardydedase/pycouchbase/_add_err | LDU_FT | [
"<BEGIN>\n## `_add_err`",
"Sets the error on this MultiResult. Will be ignored if an error is\n already set.\n :param exinfo: Return value from ``sys.exc_info()``\n<END>",
"<BEGIN>\n## `_add_bad_rc`",
"Sets an error with a bad return code. Handles 'quiet' logic\n :param rc: The error code... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_err API.
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_err API.
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... | Sets the error on this MultiResult. Will be ignored if an error is
already set.
:param exinfo: Return value from ``sys.exc_info()`` | "Sets the error on this MultiResult. Will be ignored if an error is\n already set.\n :param exinfo: Return value from ``sys.exc_info()``" | 76 | false | ardydedase/pycouchbase | _add_err | 142,831 | |
LDU_FT/shazow/unstdlib.py/deprecated | LDU_FT | [
"<BEGIN>\n## `convert_exception`",
"Decorator: Catch exception ``from_exception`` and instead raise ``to_exception(*to_args, **to_kw)``.",
" Useful when modules you're using in a method throw their own errors that you want to\n convert to your own exceptions that you handle higher in the stack.",
" E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deprecated API.
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 deprecated API.
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... | Throw a warning when a function/method will be soon deprecated
Supports passing a ``message`` and an ``exception`` class
(uses ``PendingDeprecationWarning`` by default). This is useful if you
want to alternatively pass a ``DeprecationWarning`` exception for already
deprecated functions/methods.
Ex... | "Throw a warning when a function/method will be soon deprecated\n\n Supports passing a ``message`` and an ``exception`` class\n (uses ``PendingDeprecationWarning`` by default). This is useful if you\n want to alternatively pass a ``DeprecationWarning`` exception for already\n deprecated functions/methods.\n... | 187 | false | shazow/unstdlib.py | deprecated | 142,832 | |
LDU_FT/portfoliome/foil/count_by | LDU_FT | [
"<BEGIN>\n## `_`",
"ISO 8601 format. Interprets naive datetime as UTC with zulu suffix.\n<END>",
"<BEGIN>\n## `create_key_filter`",
"Generate combinations of key, value pairs for each key in properties.",
" Examples\n --------\n properties = {'ent': ['geo_rev', 'supply_chain'], 'own', 'fi'}\n >>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count_by API.
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 count_by API.
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... | Frequency each value occurs in a record sequence for a given field name. | "Frequency each value occurs in a record sequence for a given field name." | 89 | false | portfoliome/foil | count_by | 142,833 | |
LDU_FT/unfoldingWord-dev/python-gogs-client/delete_deploy_key | LDU_FT | [
"<BEGIN>\n## `json_get`",
"Retrieves the key from a parsed_json dictionary, or raises an exception if the\n key is not present\n<END>",
"<BEGIN>\n## `append_url`",
"Append path to base_url in a sensible way.\n<END>",
"<BEGIN>\n## `authenticated_user`",
"Returns the user authenticated by ``auth``",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_deploy_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_deploy_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... | Remove deploy key for the specified repo.
:param auth.Authentication auth: authentication object
:param str username: username of owner of repository
:param str repo_name: the name of the repo
:param int key_id: the id of the key
:raises NetworkFailure: if there is an error comm... | "Remove deploy key for the specified repo.\n\n :param auth.Authentication auth: authentication object\n :param str username: username of owner of repository\n :param str repo_name: the name of the repo\n :param int key_id: the id of the key\n :raises NetworkFailure: if there is an err... | 123 | false | unfoldingWord-dev/python-gogs-client | delete_deploy_key | 142,834 | |
LDU_FT/lambdalisue/notify/console_input | LDU_FT | [
"<BEGIN>\n## `create_message`",
"Create message object for sending email",
" Parameters\n ----------\n from_addr : string\n An email address used for 'From' attribute\n to_addr : string\n An email address used for 'To' attribute\n subject : string\n An email subject string\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the console_input API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the console_input API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Get user input value from stdin
Parameters
----------
default : string
A default value. It will be used when user input nothing.
validation : callable
A validation function. The validation function must raise an error
when validation has failed.
Returns
-------
stri... | "Get user input value from stdin\n\n Parameters\n ----------\n default : string\n A default value. It will be used when user input nothing.\n validation : callable\n A validation function. The validation function must raise an error\n when validation has failed.\n\n Returns\n ----... | 40 | false | lambdalisue/notify | console_input | 142,835 | |
LDU_FT/monim67/django-bootstrap-datepicker-plus/_link_to | LDU_FT | [
"<BEGIN>\n## `format_value`",
"Return a value as it should appear when rendered in a template.",
" Missing method of django.forms.widgets.Widget class\n<END>",
"<BEGIN>\n## `get_context`",
"Missing method of django.forms.widgets.Widget class.\n<END>",
"<BEGIN>\n## `render`",
"Render the widget as... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _link_to API.
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 _link_to API.
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... | Customize the options when linked with other date-time input | "Customize the options when linked with other date-time input" | 24 | false | monim67/django-bootstrap-datepicker-plus | _link_to | 142,836 | |
LDU_FT/openatx/facebook-wda/set_alert_callback | LDU_FT | [
"<BEGIN>\n## `urljoin`",
"The default urlparse.urljoin behavior look strange\n Standard urlparse.urljoin('http://a.com/foo', '/bar')\n Expect: http://a.com/foo/bar\n Actually: http://a.com/bar",
" This function fix that.\n<END>",
"<BEGIN>\n## `wait_ready`",
"wait until WDA back to normal",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_alert_callback API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_alert_callback API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Args:
callback (func): called when alert popup
Example of callback:
def callback(session):
session.alert.accept() | "Args:\n callback (func): called when alert popup\n \n Example of callback:\n\n def callback(session):\n session.alert.accept()" | 68 | false | openatx/facebook-wda | set_alert_callback | 142,837 | |
LDU_FT/CleanCut/green/findDottedModuleAndParentDir | LDU_FT | [
"<BEGIN>\n## `toParallelTargets`",
"Produce a list of targets which should be tested in parallel.",
" For the most part this will be a list of test modules. The exception is\n when a dotted name representing something more granular than a module\n was input (like an individal test case or test method)... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the findDottedModuleAndParentDir 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 findDottedModuleAndParentDir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | I return a tuple (dotted_module, parent_dir) where dotted_module is the
full dotted name of the module with respect to the package it is in, and
parent_dir is the absolute path to the parent directory of the package.
If the python file is not part of a package, I return (None, None).
For for filepath ... | "I return a tuple (dotted_module, parent_dir) where dotted_module is the\n full dotted name of the module with respect to the package it is in, and\n parent_dir is the absolute path to the parent directory of the package.\n\n If the python file is not part of a package, I return (None, None).\n\n For for fi... | 33 | false | CleanCut/green | findDottedModuleAndParentDir | 142,838 | |
LDU_FT/mozilla/python_moztelemetry/select | LDU_FT | [
"<BEGIN>\n## `add_expiration_postfix`",
"Formats the expiration version and adds a version postfix if needed.",
" :param expiration: the expiration version string.\n :return: the modified expiration string.\n<END>",
"<BEGIN>\n## `load_yaml_file`",
"Load a YAML file from disk, throw a ParserError on fa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select API.
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 select API.
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 ... | Specify which properties of the dataset must be returned
Property extraction is based on `JMESPath <http://jmespath.org>`_ expressions.
This method returns a new Dataset narrowed down by the given selection.
:param properties: JMESPath to use for the property extraction.
... | "Specify which properties of the dataset must be returned\n\n Property extraction is based on `JMESPath <http://jmespath.org>`_ expressions.\n This method returns a new Dataset narrowed down by the given selection.\n\n :param properties: JMESPath to use for the property extraction.\n ... | 122 | false | mozilla/python_moztelemetry | select | 142,839 | |
LDU_FT/koreyou/word_embedding_loader/save | LDU_FT | [
"<BEGIN>\n## `save`",
"Save word embedding file.",
" Args:\n f (File): File to write the vectors. File should be open for writing\n ascii.\n arr (numpy.array): Numpy array with ``float`` dtype.\n vocab (iterable): Each element is pair of a word (``bytes``) and ``arr``\n ... | 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... | Save word embedding file.
Args:
f (File): File to write the vectors. File should be open for writing
ascii.
arr (numpy.array): Numpy array with ``float`` dtype.
vocab (iterable): Each element is pair of a word (``bytes``) and ``arr``
index (``int``). Word should be e... | "Save word embedding file.\n\n Args:\n f (File): File to write the vectors. File should be open for writing\n ascii.\n arr (numpy.array): Numpy array with ``float`` dtype.\n vocab (iterable): Each element is pair of a word (``bytes``) and ``arr``\n index (``int``). Word sho... | 45 | false | koreyou/word_embedding_loader | save | 142,840 | |
LDU_FT/tensorflow/hub/add_input_distortions | LDU_FT | [
"<BEGIN>\n## `export`",
"Exports a ModuleSpec with weights taken from a checkpoint.",
" This is an helper to export modules directly from a ModuleSpec\n without having to create a session and set the variables to the\n intended values.",
" Example usage:",
" ```python\n spec = hub.create_m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_input_distortions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_input_distortions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Creates the operations to apply the specified distortions.
During training it can help to improve the results if we run the images
through simple distortions like crops, scales, and flips. These reflect the
kind of variations we expect in the real world, and so can help train the
model to cope with natural dat... | "Creates the operations to apply the specified distortions.\n\n During training it can help to improve the results if we run the images\n through simple distortions like crops, scales, and flips. These reflect the\n kind of variations we expect in the real world, and so can help train the\n model to cope with natur... | 488 | false | tensorflow/hub | add_input_distortions | 142,841 | |
LDU_FT/rbit/pydtls/set_ecdh_curve | LDU_FT | [
"<BEGIN>\n## `decode_cert`",
"Convert an X509 certificate into a Python dictionary",
" This function converts the given X509 certificate into a Python dictionary\n in the manner established by the Python standard library's ssl module.\n<END>",
"<BEGIN>\n## `_get_server_certificate`",
"Retrieve a serve... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_ecdh_curve API.
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 set_ecdh_curve API.
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... | u''' Select a curve to use for ECDH(E) key exchange or set it to auto mode
Used for server only!
s.a. openssl.exe ecparam -list_curves
:param None | str curve_name: None = Auto-mode, "secp256k1", "secp384r1", ...
:return: 1 for success and 0 for failure | "u''' Select a curve to use for ECDH(E) key exchange or set it to auto mode\n\n Used for server only!\n\n s.a. openssl.exe ecparam -list_curves\n\n :param None | str curve_name: None = Auto-mode, \"secp256k1\", \"secp384r1\", ...\n :return: 1 for success and 0 for failure" | 83 | false | rbit/pydtls | set_ecdh_curve | 142,842 | |
LDU_FT/Genida/django-meerkat/content | LDU_FT | [
"<BEGIN>\n## `ip_geoloc`",
"Get IP geolocation.",
" Args:\n ip (str): IP address to use if no data provided.\n hit_api (bool): whether to hit api if info not found.",
" Returns:\n str: latitude and longitude, comma-separated.\n<END>",
"<BEGIN>\n## `google_maps_geoloc_link`",
"Ge... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the content API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the content API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return parsed data. Parse it if not already parsed.
Returns:
list: list of dictionaries (one for each parsed line). | "Return parsed data. Parse it if not already parsed.\n\n Returns:\n list: list of dictionaries (one for each parsed line)." | 71 | false | Genida/django-meerkat | content | 142,843 | |
LDU_FT/google/importlab/build | LDU_FT | [
"<BEGIN>\n## `convert_to_path`",
"Converts \".module\" to \"./module\", \"..module\" to \"../module\", etc.\n<END>",
"<BEGIN>\n## `infer_module_name`",
"Convert a python filename to a module relative to pythonpath.\n<END>",
"<BEGIN>\n## `get_absolute_name`",
"Joins a package name and a relative name.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API.
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 build API.
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... | Finalise the graph, after adding all input files to it. | "Finalise the graph, after adding all input files to it." | 65 | false | google/importlab | build | 142,844 | |
LDU_FT/michaelaye/pyciss/print_db_stats | LDU_FT | [
"<BEGIN>\n## `get_config`",
"Read the configfile and return config dict.",
" Returns\n -------\n dict\n Dictionary with the content of the configpath file.\n<END>",
"<BEGIN>\n## `set_database_path`",
"Use to write the database path into the config.",
" Parameters\n ----------\n db... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_db_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_db_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Print database stats.
Returns
-------
pd.DataFrame
Table with the found data items per type. | "Print database stats.\n\n Returns\n -------\n pd.DataFrame\n Table with the found data items per type." | 83 | false | michaelaye/pyciss | print_db_stats | 142,845 | |
LDU_FT/varlink/python/open | LDU_FT | [
"<BEGIN>\n## `parameters`",
"returns the exception varlink error parameters\n<END>",
"<BEGIN>\n## `GetInfo`",
"The standardized org.varlink.service.GetInfo() varlink method.\n<END>",
"<BEGIN>\n## `GetInterfaceDescription`",
"The standardized org.varlink.service.GetInterfaceDescription() varlink method.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open API.
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 open API.
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... | Open a new connection and get a client interface handle with the varlink methods installed.
:param interface_name: an interface name, which the service this client object is
connected to, provides.
:param namespaced: If arguments and return values are instances of SimpleN... | "Open a new connection and get a client interface handle with the varlink methods installed.\n\n :param interface_name: an interface name, which the service this client object is\n connected to, provides.\n :param namespaced: If arguments and return values are instances of Si... | 26 | false | varlink/python | open | 142,846 | |
LDU_FT/Skype4Py/Skype4Py/CreateApplication | LDU_FT | [
"<BEGIN>\n## `AsyncSearchUsers`",
"Asynchronously searches for Skype users.",
" :Parameters:\n Target : unicode\n Search target (name or email address).",
" :return: A search identifier. It will be passed along with the results to the\n `SkypeEvents.AsyncSearc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the CreateApplication API.
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 CreateApplication API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Creates an APP2APP application context. The application is automatically created using
`application.Application.Create` method.
:Parameters:
ApplicationName : unicode
Application name. Initial name, when the manager is created, is ``u'CallChannelManager'``. | "Creates an APP2APP application context. The application is automatically created using\n `application.Application.Create` method.\n \n :Parameters:\n ApplicationName : unicode\n Application name. Initial name, when the manager is created, is ``u'CallChannelManager'``." | 213 | false | Skype4Py/Skype4Py | CreateApplication | 142,847 | |
LDU_FT/jhuapl-boss/intern/datatype | LDU_FT | [
"<BEGIN>\n## `list_groups`",
"Get the groups the logged in user is a member of.",
" Optionally filter by 'member' or 'maintainer'.",
" Args:\n filtr (string|None): ['member'|'maintainer'] or defaults to None.\n url_prefix (string): Protocol + host such as https://api.thebos... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the datatype API.
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 datatype API.
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... | Args:
value (string): 'uint8', 'uint16', 'uint64'
Raises:
ValueError | "Args:\n value (string): 'uint8', 'uint16', 'uint64'\n Raises:\n ValueError" | 451 | false | jhuapl-boss/intern | datatype | 142,848 | |
LDU_FT/rm-hull/luma.core/get_library_version | LDU_FT | [
"<BEGIN>\n## `animate`",
"Returns a generator which \"executes\" an animation sequence for the given\n ``seq_name``, inasmuch as the next frame for the given animation is\n yielded when requested.",
" :param seq_name: The name of a previously defined animation sequence.\n :type seq_n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_library_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_library_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Get version number from ``module_name``'s ``__version__`` attribute.
.. versionadded:: 1.2.0
:param module_name: The module name, e.g. ``luma.oled``.
:type module_name: str
:rtype: str | "Get version number from ``module_name``'s ``__version__`` attribute.\n\n .. versionadded:: 1.2.0\n\n :param module_name: The module name, e.g. ``luma.oled``.\n :type module_name: str\n :rtype: str" | 126 | false | rm-hull/luma.core | get_library_version | 142,849 | |
LDU_FT/jazzband/django-authority/_prime_user_perm_caches | LDU_FT | [
"<BEGIN>\n## `permission_required`",
"Decorator for views that checks whether a user has a particular permission\n enabled, redirecting to the log-in page if necessary.\n<END>",
"<BEGIN>\n## `permission_required_or_403`",
"Decorator that wraps the permission_required decorator and returns a\n permission... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prime_user_perm_caches 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 _prime_user_perm_caches API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Prime both the user and group caches and put them on the ``self.user``.
In addition add a cache filled flag on ``self.user``. | "Prime both the user and group caches and put them on the ``self.user``.\n In addition add a cache filled flag on ``self.user``." | 67 | false | jazzband/django-authority | _prime_user_perm_caches | 142,850 | |
LDU_FT/jeffrimko/Qprompt/show | LDU_FT | [
"<BEGIN>\n## `_format_kwargs`",
"Decorator to handle formatting kwargs to the proper names expected by\n the associated function. The formats dictionary string keys will be used as\n expected function kwargs and the value list of strings will be renamed to\n the associated key string.\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show API.
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 show API.
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... | Shows the menu. Any `kwargs` supplied will be passed to
`show_menu()`. | "Shows the menu. Any `kwargs` supplied will be passed to\n `show_menu()`." | 46 | false | jeffrimko/Qprompt | show | 142,851 | |
LDU_FT/optimizely/python-sdk/substring_evaluator | LDU_FT | [
"<BEGIN>\n## `is_datafile_valid`",
"Given a datafile determine if it is valid or not.",
" Args:\n datafile: JSON string representing the project.",
" Returns:\n Boolean depending upon whether datafile is valid or not.\n<END>",
"<BEGIN>\n## `is_user_profile_valid`",
"Determine if provided user prof... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the substring_evaluator 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 substring_evaluator 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... | Evaluate the given substring match condition for the given user attributes.
Args:
index: Index of the condition to be evaluated.
Returns:
Boolean:
- True if the condition value is a substring of the user attribute value.
- False if the condition value is not a substring of the user... | "Evaluate the given substring match condition for the given user attributes.\n\n Args:\n index: Index of the condition to be evaluated.\n\n Returns:\n Boolean:\n - True if the condition value is a substring of the user attribute value.\n - False if the condition value is not a substring of... | 302 | false | optimizely/python-sdk | substring_evaluator | 142,852 | |
LDU_FT/natea/django-deployer/clone_git_repo | LDU_FT | [
"<BEGIN>\n## `clone_git_repo`",
"input: repo_url\n output: path of the cloned repository\n steps:\n 1. clone the repo\n 2. parse 'site' into for templating",
" assumptions:\n repo_url = \"git@github.com:littleq0903/django-deployer-template-openshift-experiment.git\"\n repo_l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clone_git_repo API.
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 clone_git_repo API.
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... | input: repo_url
output: path of the cloned repository
steps:
1. clone the repo
2. parse 'site' into for templating
assumptions:
repo_url = "git@github.com:littleq0903/django-deployer-template-openshift-experiment.git"
repo_local_location = "/tmp/djangodeployer-cache-xxxx" # ... | "input: repo_url\n output: path of the cloned repository\n steps:\n 1. clone the repo\n 2. parse 'site' into for templating\n\n assumptions:\n repo_url = \"git@github.com:littleq0903/django-deployer-template-openshift-experiment.git\"\n repo_local_location = \"/tmp/djangodeployer-ca... | 20 | false | natea/django-deployer | clone_git_repo | 142,853 | |
LDU_FT/novopl/peltak/project_dev_requirements | LDU_FT | [
"<BEGIN>\n## `start`",
"Create a new release branch.",
" Args:\n component (str):\n Version component to bump when creating the release. Can be *major*,\n *minor* or *patch*.\n exact (str):\n The exact version to set for the release. Overrides the component\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the project_dev_requirements 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 project_dev_requirements API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | List requirements for peltak commands configured for the project.
This list is dynamic and depends on the commands you have configured in
your project's pelconf.yaml. This will be the combined list of packages
needed to be installed in order for all the configured commands to work. | "List requirements for peltak commands configured for the project.\n\n This list is dynamic and depends on the commands you have configured in\n your project's pelconf.yaml. This will be the combined list of packages\n needed to be installed in order for all the configured commands to work." | 367 | false | novopl/peltak | project_dev_requirements | 142,854 | |
LDU_FT/krukas/Trionyx/get_queryset | LDU_FT | [
"<BEGIN>\n## `auto_load_model_menu`",
"Auto load model menu entries, can be configured in `trionyx.config.ModelConfig`:",
" - menu_name\n - menu_icon\n - menu_order\n<END>",
"<BEGIN>\n## `add_item`",
"Add new menu item to menu",
" :param path: Path of menu\n :param name:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_queryset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_queryset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Get queryset based on url params(<app>, <mode>) if model is not set on class | "Get queryset based on url params(<app>, <mode>) if model is not set on class" | 88 | false | krukas/Trionyx | get_queryset | 142,855 | |
LDU_FT/zhmcclient/python-zhmcclient/get_energy_management_properties | LDU_FT | [
"<BEGIN>\n## `_metric_value`",
"Return a Python-typed metric value from a metric value string.\n<END>",
"<BEGIN>\n## `_metric_unit_from_name`",
"Return a metric unit string for human consumption, that is inferred from\n the metric name.",
" If a unit cannot be inferred, `None` is returned.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_energy_management_properties 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 get_energy_management_properties API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | Return the energy management properties of the CPC.
The returned energy management properties are a subset of the
properties of the CPC resource, and are also available as normal
properties of the CPC resource. In so far, there is no new data
provided by this method. However, because on... | "Return the energy management properties of the CPC.\n\n The returned energy management properties are a subset of the\n properties of the CPC resource, and are also available as normal\n properties of the CPC resource. In so far, there is no new data\n provided by this method. However, beca... | 1,599 | true | zhmcclient/python-zhmcclient | get_energy_management_properties | 142,856 | |
LDU_FT/mk-fg/feedjack/parse_timestamp | LDU_FT | [
"<BEGIN>\n## `getsteps`",
"Returns a list with the max number of posts per \"tagcloud level\"\n<END>",
"<BEGIN>\n## `build`",
"Returns the tag cloud for a list of tags.\n<END>",
"<BEGIN>\n## `cloudata`",
"Returns a dictionary with all the tag clouds related to a site.\n<END>",
"<BEGIN>\n## `getcloud`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_timestamp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_timestamp API.
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... | Match time either in human-readable format (as accepted by dateutil),
or same time-offset format, as used in the table (e.g. "NdMh ago", or just "NdMh"). | "Match time either in human-readable format (as accepted by dateutil),\n\t\tor same time-offset format, as used in the table (e.g. \"NdMh ago\", or just \"NdMh\")." | 62 | false | mk-fg/feedjack | parse_timestamp | 142,857 | |
LDU_FT/tanwanirahul/django-batch-requests/_executor | LDU_FT | [
"<BEGIN>\n## `import_class`",
"Imports the class for the given class name.\n<END>",
"<BEGIN>\n## `_executor`",
"Creating an ExecutorPool is a costly operation. Executor needs to be instantiated only once.\n<END>",
"<BEGIN>\n## `pre_process_method_headers`",
"Returns the lowered method.\n Capitalize... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _executor API.
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 _executor API.
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... | Creating an ExecutorPool is a costly operation. Executor needs to be instantiated only once. | "Creating an ExecutorPool is a costly operation. Executor needs to be instantiated only once." | 22 | false | tanwanirahul/django-batch-requests | _executor | 142,858 | |
LDU_FT/juju/python-libjuju/SetSLALevel | LDU_FT | [
"<BEGIN>\n## `get_charm_series`",
"Inspects the charm directory at ``path`` and returns a default\n series from its metadata.yaml (the first item in the 'series' list).",
" Returns None if no series can be determined.\n<END>",
"<BEGIN>\n## `cares_about`",
"Return True if this observer \"cares about\" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the SetSLALevel API.
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 SetSLALevel API.
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... | creds : typing.Sequence[int]
level : str
Returns -> None | "creds : typing.Sequence[int]\n level : str\n Returns -> None" | 672 | false | juju/python-libjuju | SetSLALevel | 142,859 | |
LDU_FT/erigones/zabbix-api/check_auth | LDU_FT | [
"<BEGIN>\n## `init`",
"Prepare the HTTP handler, URL, and HTTP headers for all subsequent requests\n<END>",
"<BEGIN>\n## `timestamp_to_datetime`",
"Convert unix timestamp to human readable date/time string\n<END>",
"<BEGIN>\n## `get_age`",
"Calculate delta between current time and datetime and return a hu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_auth API.
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 check_auth API.
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... | Perform a re-login if not signed in or raise an exception | "Perform a re-login if not signed in or raise an exception" | 12 | false | erigones/zabbix-api | check_auth | 142,860 | |
LDU_FT/jvarho/pylibscrypt/scrypt_mcf_check | LDU_FT | [
"<BEGIN>\n## `salsa20_8`",
"Salsa20/8 http://en.wikipedia.org/wiki/Salsa20\n<END>",
"<BEGIN>\n## `smix`",
"SMix; a specific case of ROMix based on Salsa20/8\n<END>",
"<BEGIN>\n## `scrypt`",
"Returns a key derived using the scrypt key-derivarion function",
" N must be a power of two larger than 1 but ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scrypt_mcf_check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scrypt_mcf_check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Returns True if the password matches the given MCF hash
Supports both the libscrypt $s1$ format and the $7$ format. | "Returns True if the password matches the given MCF hash\n\n Supports both the libscrypt $s1$ format and the $7$ format." | 59 | false | jvarho/pylibscrypt | scrypt_mcf_check | 142,861 | |
LDU_FT/bitshares/python-bitshares/fund_fee_pool | LDU_FT | [
"<BEGIN>\n## `decodeRPCErrorMsg`",
"Helper function to decode the raised Exception and give it a\n python Exception class\n<END>",
"<BEGIN>\n## `transfer`",
"Transfer an asset to another account.",
" :param str to: Recipient\n :param float amount: Amount to transfer\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fund_fee_pool API.
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 fund_fee_pool API.
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... | Fund the fee pool of an asset
:param str symbol: The symbol to fund the fee pool of
:param float amount: The amount to be burned.
:param str account: (optional) the account to allow access
to (defaults to ``default_account``) | "Fund the fee pool of an asset\n\n :param str symbol: The symbol to fund the fee pool of\n :param float amount: The amount to be burned.\n :param str account: (optional) the account to allow access\n to (defaults to ``default_account``)" | 116 | false | bitshares/python-bitshares | fund_fee_pool | 142,862 | |
LDU_FT/MoseleyBioinformaticsLab/mwtab/_validate_samples_factors | LDU_FT | [
"<BEGIN>\n## `read`",
"Read data into a :class:`~mwtab.mwtab.MWTabFile` instance.",
" :param filehandle: file-like object.\n :type filehandle: :py:class:`io.TextIOWrapper`, :py:class:`gzip.GzipFile`,\n :py:class:`bz2.BZ2File`, :py:class:`zipfile.ZipFile`\n :return: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_samples_factors API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_samples_factors API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Validate ``Samples`` and ``Factors`` identifiers across the file.
:param mwtabfile: Instance of :class:`~mwtab.mwtab.MWTabFile`.
:type mwtabfile: :class:`~mwtab.mwtab.MWTabFile`
:return: None
:rtype: :py:obj:`None` | "Validate ``Samples`` and ``Factors`` identifiers across the file.\n\n :param mwtabfile: Instance of :class:`~mwtab.mwtab.MWTabFile`.\n :type mwtabfile: :class:`~mwtab.mwtab.MWTabFile`\n :return: None\n :rtype: :py:obj:`None`" | 74 | false | MoseleyBioinformaticsLab/mwtab | _validate_samples_factors | 142,863 | |
LDU_FT/i3visio/osrframework/do_searchfy | 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 do_searchfy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_searchfy API.
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... | Verifying a searchfy query in this platform.
This might be redefined in any class inheriting from Platform.
Performing additional procesing may be possible by iterating the requested profiles
to extract more entities from the URI would be slow. Sample code may be:
if kwargs["proce... | "Verifying a searchfy query in this platform.\n\n This might be redefined in any class inheriting from Platform.\n\n Performing additional procesing may be possible by iterating the requested profiles\n to extract more entities from the URI would be slow. Sample code may be:\n\n if kwarg... | 598 | false | i3visio/osrframework | do_searchfy | 142,864 | |
LDU_FT/Varkal/chuda/kill | LDU_FT | [
"<BEGIN>\n## `enrich_app`",
"Add a new property to the app (with setattr)",
" Args:\n name (str): the name of the new property\n value (any): the value of the new property\n<END>",
"<BEGIN>\n## `autorun`",
"Call the run method of the decorated class if the current file is the ma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the kill API.
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 kill API.
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... | Kill the current non blocking command
Raises:
TypeError: If command is blocking | "Kill the current non blocking command\n\n Raises:\n TypeError: If command is blocking" | 44 | false | Varkal/chuda | kill | 142,865 | |
LDU_FT/ligyxy/DictMySQL/_by_columns | LDU_FT | [
"<BEGIN>\n## `_value_parser`",
"Input: {'c1': 'v', 'c2': None, '#c3': 'uuid()'}\n Output:\n ('%s, %s, uuid()', [None, 'v']) # insert; columnname=False\n ('`c2` = %s, `c1` = %s, `c3` = uuid()', [None, 'v']) # update; columnname=True\n No need to transf... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _by_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _by_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Allow select.group and select.order accepting string and list | "Allow select.group and select.order accepting string and list" | 20 | false | ligyxy/DictMySQL | _by_columns | 142,866 | |
LDU_FT/andrewsnowden/dota2py/debug_dump | LDU_FT | [
"<BEGIN>\n## `load_heroes`",
"Load hero details from JSON file into memoy\n<END>",
"<BEGIN>\n## `load_items`",
"Load item details fom JSON file into memory\n<END>",
"<BEGIN>\n## `debug_dump`",
"Utility while developing to dump message data to play with in the\n interpreter\n<END>",
"<BEGIN>\n## `get_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the debug_dump API.
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 debug_dump API.
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... | Utility while developing to dump message data to play with in the
interpreter | "Utility while developing to dump message data to play with in the\n interpreter" | 45 | false | andrewsnowden/dota2py | debug_dump | 142,867 | |
LDU_FT/ethereum/pyethereum/compile_file | LDU_FT | [
"<BEGIN>\n## `_canonical_type`",
"Replace aliases to the corresponding type to compute the ids.\n<END>",
"<BEGIN>\n## `method_id`",
"Return the unique method id.",
" The signature is defined as the canonical expression of the basic\n prototype, i.e. the function name with the parenthesised list of par... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return the compile contract code.
Args:
filepath (str): The path to the contract source code.
libraries (dict): A dictionary mapping library name to it's address.
combined (str): The argument for solc's --combined-json.
optimize (bool): Enable/disables compiler optimization.
Re... | "Return the compile contract code.\n\n Args:\n filepath (str): The path to the contract source code.\n libraries (dict): A dictionary mapping library name to it's address.\n combined (str): The argument for solc's --combined-json.\n optimize (bool): Enable/disables compiler optimization.\... | 138 | false | ethereum/pyethereum | compile_file | 142,868 | |
LDU_FT/gamechanger/mongothon/cursor | LDU_FT | [
"<BEGIN>\n## `register`",
"Registers the given function as a handler to be applied\n in response to the the given event.\n<END>",
"<BEGIN>\n## `apply`",
"Applies all middleware functions registered against the given\n event in order to the given document.\n<END>",
"<BEGIN>\n## `deregister`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cursor API.
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 cursor API.
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 ... | Returns a cursor for the currently assembled query, creating it if
it doesn't already exist. | "Returns a cursor for the currently assembled query, creating it if\n it doesn't already exist." | 59 | false | gamechanger/mongothon | cursor | 142,869 | |
LDU_FT/diamondman/proteusisc/jtag_disable | LDU_FT | [
"<BEGIN>\n## `_get_adv_trans_stats`",
"Utility function to fetch the transfer statistics for the last\n advanced transfer. Checking the stats appears to sync the\n controller. For details on the advanced transfer please refer\n to the documentation at\n http://diamondman.github.io/Adap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jtag_disable API.
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 jtag_disable API.
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... | Disables JTAG output on the controller. JTAG operations executed
immediately after this function will return useless data or fail.
Usage:
>>> from proteusisc import getAttachedControllers, bitarray
>>> c = getAttachedControllers()[0]
>>> c.jtag_enable()
>... | "Disables JTAG output on the controller. JTAG operations executed\n immediately after this function will return useless data or fail.\n\n Usage:\n >>> from proteusisc import getAttachedControllers, bitarray\n >>> c = getAttachedControllers()[0]\n >>> c.jtag_enable()\n ... | 114 | false | diamondman/proteusisc | jtag_disable | 142,870 | |
LDU_FT/jjgomera/iapws/_ThCond | LDU_FT | [
"<BEGIN>\n## `_Tb`",
"Procedure to calculate the boiling temperature of seawater",
" Parameters\n ----------\n P : float\n Pressure, [MPa]\n S : float\n Salinity, [kg/kg]",
" Returns\n -------\n Tb : float\n Boiling temperature, [K]",
" References\n ----------... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ThCond API.
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 _ThCond API.
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... | Equation for the thermal conductivity
Parameters
----------
rho : float
Density, [kg/m³]
T : float
Temperature, [K]
fase: dict, optional for calculate critical enhancement
phase properties
drho: float, optional for calculate critical enhancement
[∂ρ/∂P]T at refer... | "Equation for the thermal conductivity\n\n Parameters\n ----------\n rho : float\n Density, [kg/m³]\n T : float\n Temperature, [K]\n fase: dict, optional for calculate critical enhancement\n phase properties\n drho: float, optional for calculate critical enhancement\n [∂ρ/∂... | 574 | false | jjgomera/iapws | _ThCond | 142,871 | |
LDU_FT/commonsense/metanl/string_pieces | LDU_FT | [
"<BEGIN>\n## `unicode_is_punctuation`",
"Test if a token is made entirely of Unicode characters of the following\n classes:",
" - P: punctuation\n - S: symbols\n - Z: separators\n - M: combining marks\n - C: control characters",
" >>> unicode_is_punctuation('word')\n False\n >>> uni... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the string_pieces API.
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 string_pieces API.
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... | Takes a (unicode) string and yields pieces of it that are at most `maxlen`
characters, trying to break it at punctuation/whitespace. This is an
important step before using a tokenizer with a maximum buffer size. | "Takes a (unicode) string and yields pieces of it that are at most `maxlen`\n characters, trying to break it at punctuation/whitespace. This is an\n important step before using a tokenizer with a maximum buffer size." | 70 | false | commonsense/metanl | string_pieces | 142,872 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.