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/TUT-ARG/sed_eval/result_report_class_wise_average | LDU_FT | [
"<BEGIN>\n## `result_report_overall`",
"Report overall results",
" Returns\n -------\n str\n result report in string format\n<END>",
"<BEGIN>\n## `result_report_class_wise_average`",
"Report class-wise averages",
" Returns\n -------\n str\n r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the result_report_class_wise_average 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 result_report_class_wise_average API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | Report class-wise averages
Returns
-------
str
result report in string format | "Report class-wise averages\n\n Returns\n -------\n str\n result report in string format" | 268 | false | TUT-ARG/sed_eval | result_report_class_wise_average | 4,373 | |
LDU_FT/DataKitchen/DKCloudCommand/add_file | LDU_FT | [
"<BEGIN>\n## `is_same`",
"Compare two directory trees content.\n Return False if they differ, True is they are the same.\n :param dir2:\n :param dir1:\n<END>",
"<BEGIN>\n## `phase3`",
"Find out differences between common files.\n Ensure we are using content comparison with shallow=False.\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_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 extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_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 extracte... | returns True for success or False for failure
'/v2/recipe/create/<string:kitchenname>/<string:recipename>', methods=['PUT']
:param self: DKCloudAPI
:param kitchen: basestring
:param recipe: basestring -- kitchen name, basestring
:param message: basestring message -- commit messa... | "returns True for success or False for failure\n '/v2/recipe/create/<string:kitchenname>/<string:recipename>', methods=['PUT']\n :param self: DKCloudAPI\n :param kitchen: basestring\n :param recipe: basestring -- kitchen name, basestring\n :param message: basestring message -- commit... | 70 | false | DataKitchen/DKCloudCommand | add_file | 4,374 | |
LDU_FT/AndresMWeber/Nomenclate/_generic_search | LDU_FT | [
"<BEGIN>\n## `purge_tokens`",
"Removes all specified token_attrs that exist in instance.token_attrs",
" :param token_attrs: list(str), list of string values of tokens to remove. If None, removes all\n<END>",
"<BEGIN>\n## `combine_dicts`",
"Combines all arguments (if they are dictionaries) and kwargs... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generic_search API.
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 _generic_search API.
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... | Searches for a specific string given three types of regex search types. Also auto-checks for camel casing.
:param name: str, name of object in question
:param search_string: str, string to find and insert into the search regexes
:param metadata: dict, metadata to add to the result if we find a... | "Searches for a specific string given three types of regex search types. Also auto-checks for camel casing.\n\n :param name: str, name of object in question\n :param search_string: str, string to find and insert into the search regexes\n :param metadata: dict, metadata to add to the result if we f... | 140 | false | AndresMWeber/Nomenclate | _generic_search | 4,375 | |
LDU_FT/mswart/pyopenmensa/clearDay | LDU_FT | [
"<BEGIN>\n## `extractDate`",
"Tries to extract a date from a given :obj:`str`.",
" :param str text: Input date. A :obj:`datetime.date` object is passed\n thought without modification.\n :rtype: :obj:`datetime.date`\n<END>",
"<BEGIN>\n## `convertPrice`",
"Helper function to convert ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clearDay API.
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 clearDay API.
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... | Remove all stored information about this date (meals or closed
information).
:param date: Date of the day
:type date: datetime.date | "Remove all stored information about this date (meals or closed\n information).\n\n :param date: Date of the day\n :type date: datetime.date" | 43 | false | mswart/pyopenmensa | clearDay | 4,376 | |
LDU_FT/mbodenhamer/syn/rand_str | LDU_FT | [
"<BEGIN>\n## `assign`",
"Assigns B to A.attr, yields, and then assigns A.attr back to its\n original value.\n<END>",
"<BEGIN>\n## `nearest_base`",
"Returns the closest ancestor to cls in bases.\n<END>",
"<BEGIN>\n## `get_typename`",
"Returns the name of the type of x, if x is an object. Otherwise, ret... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rand_str API.
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 rand_str API.
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... | For values in the (extended) ASCII range, regardless of Python version. | "For values in the (extended) ASCII range, regardless of Python version." | 71 | false | mbodenhamer/syn | rand_str | 4,377 | |
LDU_FT/linnarsson-lab/loompy/connect | LDU_FT | [
"<BEGIN>\n## `create_append`",
"**DEPRECATED** - Use `new` instead; see https://github.com/linnarsson-lab/loompy/issues/42\n<END>",
"<BEGIN>\n## `new`",
"Create an empty Loom file, and return it as a context manager.\n<END>",
"<BEGIN>\n## `create`",
"Create a new Loom file from the given data.",
"\tArgs... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
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 connect API.
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... | Establish a connection to a .loom file.
Args:
filename: Path to the Loom file to open
mode: Read/write mode, 'r+' (read/write) or 'r' (read-only), defaults to 'r+'
validate: Validate the file structure against the Loom file format specification
spec_version: The loom file spec version to validate against ... | "Establish a connection to a .loom file.\n\n\tArgs:\n\t\tfilename:\t\tPath to the Loom file to open\n\t\tmode:\t\t\tRead/write mode, 'r+' (read/write) or 'r' (read-only), defaults to 'r+'\n\t\tvalidate:\t\tValidate the file structure against the Loom file format specification\n\t\tspec_version:\tThe loom file spec vers... | 170 | false | linnarsson-lab/loompy | connect | 4,378 | |
LDU_FT/Sanji-IO/sanji/create | LDU_FT | [
"<BEGIN>\n## `add`",
"Add a object\n Args:\n Object: Object will be added\n Returns:\n Object: Object with id\n Raises:\n TypeError: If add object is not a dict\n MultipleInvalid: If input object is invaild\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | create session
force if you pass `force = False`, it may raise SessionError
due to duplicate message id | "create session\n force if you pass `force = False`, it may raise SessionError\n due to duplicate message id" | 45 | false | Sanji-IO/sanji | create | 4,379 | |
LDU_FT/staugur/Flask-PluginKit/get_all_yep | LDU_FT | [
"<BEGIN>\n## `push_dcp`",
"Push a callable for :class:`~flask_pluginkit.PluginManager`, :func:`push_dcp`.",
" Example usage::",
" push_dcp('demo', lambda:'Hello dcp')",
" .. versionadded:: 2.1.0\n<END>",
"<BEGIN>\n## `__scanPlugins`",
"Scanning local plugin directories and third-party plugi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_yep API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_yep API.
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... | Cascading style sheet (CSS) extension points.
:returns: dict: {yep: [css...], ...} | "Cascading style sheet (CSS) extension points.\n\n :returns: dict: {yep: [css...], ...}" | 128 | false | staugur/Flask-PluginKit | get_all_yep | 4,380 | |
LDU_FT/OpenGov/carpenter/validate_block | LDU_FT | [
"<BEGIN>\n## `get_cell_type`",
"Returns a type to be used in table cell analysis. This is either\n 'basestring' or '(int, float)'.\n<END>",
"<BEGIN>\n## `check_cell_type`",
"Checks the cell type to see if it represents the cell_type passed in.",
" Args:\n cell_type: The type id for a cell match... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_block API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_block API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | This method is a multi-stage process which repairs row titles, then repairs column titles,
then checks for invalid rows, and finally for invalid columns.
This maybe should have been written via state machines... Also suggested as being possibly
written with code-injection. | "This method is a multi-stage process which repairs row titles, then repairs column titles,\n then checks for invalid rows, and finally for invalid columns.\n\n This maybe should have been written via state machines... Also suggested as being possibly\n written with code-injection." | 123 | false | OpenGov/carpenter | validate_block | 4,381 | |
LDU_FT/chaoss/grimoirelab-manuscripts/__get_query_agg_percentiles | LDU_FT | [
"<BEGIN>\n## `overview`",
"Compute metrics in the overview section for enriched github issues\n indexes.\n Returns a dictionary. Each key in the dictionary is the name of\n a metric, the value is the value of that metric. Value can be\n a complex object (eg, a time series).",
" :param index: inde... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __get_query_agg_percentiles API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __get_query_agg_percentiles API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Create an es_dsl aggregation object for getting the percentiles value of a field.
In general this is used to get the median (0.5) percentile.
:param field: field from which the get the percentiles values
:return: a tuple with the aggregation id and es_dsl aggregation object. Ex:
... | "Create an es_dsl aggregation object for getting the percentiles value of a field.\n In general this is used to get the median (0.5) percentile.\n\n :param field: field from which the get the percentiles values\n :return: a tuple with the aggregation id and es_dsl aggregation object. Ex:\n ... | 271 | false | chaoss/grimoirelab-manuscripts | __get_query_agg_percentiles | 4,382 | |
LDU_FT/google/python-atfork/os_forkpty_wrapper | LDU_FT | [
"<BEGIN>\n## `monkeypatch_os_fork_functions`",
"Replace os.fork* with wrappers that use ForkSafeLock to acquire\n all locks before forking and release them afterwards.\n<END>",
"<BEGIN>\n## `atfork`",
"A Python work-a-like of pthread_atfork.",
" Any time a fork() is called from Python, all 'prepare' c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the os_forkpty_wrapper 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 os_forkpty_wrapper 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... | Wraps os.forkpty() to run atfork handlers. | "Wraps os.forkpty() to run atfork handlers." | 15 | false | google/python-atfork | os_forkpty_wrapper | 4,383 | |
LDU_FT/NORDUnet/python-norduniclient/get_relationship_bundle | LDU_FT | [
"<BEGIN>\n## `get_db_driver`",
":param uri: Bolt uri\n :type uri: str\n :param username: Neo4j username\n :type username: str\n :param password: Neo4j password\n :type password: str\n :param encrypted: Use TLS\n :type encrypted: Boolean\n :param max_pool_size: Maximum number of idle sessio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_relationship_bundle 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_relationship_bundle API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | :param manager: Neo4jDBSessionManager
:param relationship_id: Internal Neo4j id
:param legacy: Backwards compatibility
:type relationship_id: int
:type legacy: bool
:rtype: dictionary | ":param manager: Neo4jDBSessionManager\n :param relationship_id: Internal Neo4j id\n :param legacy: Backwards compatibility\n\n :type relationship_id: int\n :type legacy: bool\n\n :rtype: dictionary" | 71 | false | NORDUnet/python-norduniclient | get_relationship_bundle | 4,384 | |
LDU_FT/05bit/peewee-async/_swap_database | LDU_FT | [
"<BEGIN>\n## `execute`",
"Execute *SELECT*, *INSERT*, *UPDATE* or *DELETE* query asyncronously.",
" :param query: peewee query instance created with ``Model.select()``,\n ``Model.update()`` etc.\n :return: result depends on query type, it's the same as for sync\n ``query.execute()`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _swap_database API.
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 _swap_database API.
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... | Swap database for query if swappable. Return **new query**
with swapped database.
This is experimental feature which allows us to have multiple
managers configured against different databases for single model
definition.
The essential limitation though is that database backend ... | "Swap database for query if swappable. Return **new query**\n with swapped database.\n\n This is experimental feature which allows us to have multiple\n managers configured against different databases for single model\n definition.\n\n The essential limitation though is that database ... | 92 | false | 05bit/peewee-async | _swap_database | 4,385 | |
LDU_FT/thetarkus/django-semanticui-forms/render_iconchoicefield | LDU_FT | [
"<BEGIN>\n## `render_form`",
"Render an entire form with Semantic UI wrappers for each field\r",
"\tArgs:\r\n\t\tform (form): Django Form\r\n\t\texclude (string): exclude fields by name, separated by commas\r\n\t\tkwargs (dict): other attributes will be passed to fields\r",
"\tReturns:\r\n\t\tstring: HTML of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_iconchoicefield 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 render_iconchoicefield API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Render a ChoiceField with icon support; where the value is split by a pipe
(|): first element being the value, last element is the icon. | "Render a ChoiceField with icon support; where the value is split by a pipe\n\t(|): first element being the value, last element is the icon." | 28 | false | thetarkus/django-semanticui-forms | render_iconchoicefield | 4,386 | |
LDU_FT/dariusbakunas/rawdisk/mft_mirror_offset | LDU_FT | [
"<BEGIN>\n## `get_entry`",
"Get mft entry by index. If entry is not already loaded it will load \\\n it from file specified during :class:`MftTable` initialization.",
" Returns:\n MftEntry: initialized :class:`~.mft_entry.MftEntry`.\n<END>",
"<BEGIN>\n## `do_list`",
"Enumerate resou... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mft_mirror_offset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mft_mirror_offset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Returns:
int: Mirror MFT Table offset from the beginning of the partition \
in bytes | "Returns:\n int: Mirror MFT Table offset from the beginning of the partition \\\n in bytes" | 75 | false | dariusbakunas/rawdisk | mft_mirror_offset | 4,387 | |
LDU_FT/stephenmcd/gnotty/timesince | LDU_FT | [
"<BEGIN>\n## `messages`",
"Show messages for the given query or day.\n<END>",
"<BEGIN>\n## `calendar`",
"Show calendar months for the given year/month.\n<END>",
"<BEGIN>\n## `_dispatcher`",
"This is the method in ``SimpleIRCClient`` that all IRC events\n get passed through. Here we map events to ou... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timesince API.
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 timesince API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns human friendly version of the timespan between now
and the given datetime. | "Returns human friendly version of the timespan between now\n and the given datetime." | 76 | false | stephenmcd/gnotty | timesince | 4,388 | |
LDU_FT/onecodex/onecodex/collapse_user | LDU_FT | [
"<BEGIN>\n## `plot_heatmap`",
"Plot heatmap of taxa abundance/count data for several samples.",
" Parameters\n ----------\n rank : {'auto', 'kingdom', 'phylum', 'class', 'order', 'family', 'genus', 'species'}, optional\n Analysis will be restricted to abundances of taxa at the sp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collapse_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collapse_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Converts a path back to ~/ from expanduser() | "Converts a path back to ~/ from expanduser()" | 304 | false | onecodex/onecodex | collapse_user | 4,389 | |
LDU_FT/inveniosoftware-attic/invenio-knowledge/load | LDU_FT | [
"<BEGIN>\n## `load`",
"Load given file into knowledge base.",
" Simply load data into an existing knowledge base:",
" .. code-block:: console",
" $ inveniomanage knowledge load mykb /path/to/file.kb",
" The file is expected to have a mapping with values: ``foo<seperator>bar``\n (per lin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Load given file into knowledge base.
Simply load data into an existing knowledge base:
.. code-block:: console
$ inveniomanage knowledge load mykb /path/to/file.kb
The file is expected to have a mapping with values: ``foo<seperator>bar``
(per line).
``<separator>`` is by default set to ... | "Load given file into knowledge base.\n\n Simply load data into an existing knowledge base:\n\n .. code-block:: console\n\n $ inveniomanage knowledge load mykb /path/to/file.kb\n\n The file is expected to have a mapping with values: ``foo<seperator>bar``\n (per line).\n\n ``<separator>`` is by def... | 111 | false | inveniosoftware-attic/invenio-knowledge | load | 4,390 | |
LDU_FT/flatangle/flatlib/getObjectsAspecting | LDU_FT | [
"<BEGIN>\n## `_roundSlist`",
"Rounds a signed list over the last element and removes it.\n<END>",
"<BEGIN>\n## `toFloat`",
"Converts string or signed list to float.\n<END>",
"<BEGIN>\n## `inDignities`",
"Returns the dignities of A which belong to B.\n<END>",
"<BEGIN>\n## `receives`",
"Returns the dign... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getObjectsAspecting 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 getObjectsAspecting API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Returns a list of objects aspecting a point
considering a list of possible aspects. | "Returns a list of objects aspecting a point \n considering a list of possible aspects." | 248 | false | flatangle/flatlib | getObjectsAspecting | 4,391 | |
LDU_FT/tensorpack/tensorpack/timed_operation | LDU_FT | [
"<BEGIN>\n## `CaffeLMDB`",
"Read a Caffe LMDB file where each value contains a ``caffe.Datum`` protobuf.\n Produces datapoints of the format: [HWC image, label].",
" Note that Caffe LMDB format is not efficient: it stores serialized raw\n arrays rather than JPEG images.",
" Args:\n lmdb_pat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timed_operation API.
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 timed_operation API.
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... | Surround a context with a timer.
Args:
msg(str): the log to print.
log_start(bool): whether to print also at the beginning.
Example:
.. code-block:: python
with timed_operation('Good Stuff'):
time.sleep(1)
Will print:
.. code-block:: pytho... | "Surround a context with a timer.\n\n Args:\n msg(str): the log to print.\n log_start(bool): whether to print also at the beginning.\n\n Example:\n .. code-block:: python\n\n with timed_operation('Good Stuff'):\n time.sleep(1)\n\n Will print:\n\n .. cod... | 1,105 | true | tensorpack/tensorpack | timed_operation | 4,392 | |
LDU_FT/rushter/heamy/weight | LDU_FT | [
"<BEGIN>\n## `concat`",
"Concatenate a sequence of pandas or numpy objects into one entity.\n<END>",
"<BEGIN>\n## `reshape_1d`",
"If parameter is 1D row vector then convert it into 2D matrix.\n<END>",
"<BEGIN>\n## `idx`",
"Universal indexing for numpy and pandas objects.\n<END>",
"<BEGIN>\n## `xgb_progr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the weight API.
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 weight API.
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 ... | Applies weighted mean to models.
Parameters
----------
weights : list
Returns
-------
np.ndarray
Examples
----------
>>> pipeline = ModelsPipeline(model_rf,model_lr)
>>> pipeline.weight([0.8,0.2]) | "Applies weighted mean to models.\n\n Parameters\n ----------\n weights : list\n\n Returns\n -------\n np.ndarray\n\n Examples\n ----------\n >>> pipeline = ModelsPipeline(model_rf,model_lr)\n >>> pipeline.weight([0.8,0.2])" | 91 | false | rushter/heamy | weight | 4,393 | |
LDU_FT/cronofy/pycronofy/create_notification_channel | LDU_FT | [
"<BEGIN>\n## `format_event_time`",
"Accepts either an ISO 8601 string, a dict with a time and tzid OR a datetime object.\n Must be in UTC format:",
" 2016-01-31T12:33:00Z\n 2016-01-31T12:33:00UTC\n 2016-01-31T12:33:00+00:00",
" https://en.wikipedia.org/wiki/ISO_8601",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_notification_channel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_notification_channel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Create a new channel for receiving push notifications.
:param string callback_url: The url that will receive push notifications.
Must not be longer than 128 characters and should be HTTPS.
:param tuple calendar_ids: List of calendar ids to create notification channels for. (Optional. Default em... | "Create a new channel for receiving push notifications.\n\n :param string callback_url: The url that will receive push notifications.\n Must not be longer than 128 characters and should be HTTPS.\n :param tuple calendar_ids: List of calendar ids to create notification channels for. (Optional. Defau... | 111 | false | cronofy/pycronofy | create_notification_channel | 4,394 | |
LDU_FT/shidenggui/easytrader/market_buy | LDU_FT | [
"<BEGIN>\n## `prepare`",
"登录的统一接口\n :param config_file 登录数据文件,若无则选择参数登录模式\n :param user: 各家券商的账号或者雪球的用户名\n :param password: 密码, 券商为加密后的密码,雪球为明文密码\n :param account: [雪球登录需要]雪球手机号(邮箱手机二选一)\n :param portfolio_code: [雪球登录需要]组合代码\n :param portfolio_market: [雪球登录需要]交易市场,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the market_buy API.
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 market_buy API.
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... | 市价买入
:param security: 六位证券代码
:param amount: 交易数量
:param ttype: 市价委托类型,默认客户端默认选择,
深市可选 ['对手方最优价格', '本方最优价格', '即时成交剩余撤销', '最优五档即时成交剩余 '全额成交或撤销']
沪市可选 ['最优五档成交剩余撤销', '最优五档成交剩余转限价']
:return: {'entrust_no': '委托单号'} | "市价买入\n :param security: 六位证券代码\n :param amount: 交易数量\n :param ttype: 市价委托类型,默认客户端默认选择,\n 深市可选 ['对手方最优价格', '本方最优价格', '即时成交剩余撤销', '最优五档即时成交剩余 '全额成交或撤销']\n 沪市可选 ['最优五档成交剩余撤销', '最优五档成交剩余转限价']\n\n :return: {'entrust_no': '委托单号'}" | 93 | false | shidenggui/easytrader | market_buy | 4,395 | |
LDU_FT/heronotears/lazyxml/safedata | LDU_FT | [
"<BEGIN>\n## `set_options`",
"r\"\"\"Set Parser options.",
" .. seealso::\n ``kw`` argument have the same meaning as in :func:`lazyxml.loads`\n<END>",
"<BEGIN>\n## `xml2object`",
"r\"\"\"Convert xml content to python object.",
" :param content: xml content\n :rtype: dict",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the safedata API.
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 safedata API.
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"""Convert xml special chars to entities.
:param data: the data will be converted safe.
:param cdata: whether to use cdata. Default:``True``. If not, use :func:`cgi.escape` to convert data.
:type cdata: bool
:rtype: str | "r\"\"\"Convert xml special chars to entities.\n\n :param data: the data will be converted safe.\n :param cdata: whether to use cdata. Default:``True``. If not, use :func:`cgi.escape` to convert data.\n :type cdata: bool\n :rtype: str" | 60 | false | heronotears/lazyxml | safedata | 4,396 | |
LDU_FT/LasLabs/python-helpscout/validate_signature | LDU_FT | [
"<BEGIN>\n## `create`",
"Create an object on HelpScout.",
" Args:\n session (requests.sessions.Session): Authenticated session.\n record (helpscout.BaseModel): The record to be created.\n endpoint_override (str, optional): Override the default\n endpoint us... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_signature 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_signature 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 signature for the provided data.
Args:
signature (str or bytes or bytearray): Signature that was provided
for the request.
data (str or bytes or bytearray): Data string to validate against
the signature.
encoding (str, optional): ... | "Validate the signature for the provided data.\n\n Args:\n signature (str or bytes or bytearray): Signature that was provided\n for the request.\n data (str or bytes or bytearray): Data string to validate against\n the signature.\n encoding (str, opt... | 178 | false | LasLabs/python-helpscout | validate_signature | 4,397 | |
LDU_FT/raamana/hiwenet/identify_groups | LDU_FT | [
"<BEGIN>\n## `diff_medians`",
"Computes the difference in medians between two arrays of values.",
" Given arrays will be flattened (to 1D array) regardless of dimension,\n and any non-finite/NaN values will be ignored.",
" Parameters\n ----------\n array_one, array_two : iterable\n T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the identify_groups API.
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 identify_groups API.
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... | To compute number of unique elements in a given membership specification.
Parameters
----------
groups : numpy 1d array of length p, each value specifying which group that particular node belongs to.
For examlpe, if you have a cortical thickness values for 1000 vertices belonging to 100 patches,
... | "To compute number of unique elements in a given membership specification.\n\n Parameters\n ----------\n groups : numpy 1d array of length p, each value specifying which group that particular node belongs to.\n For examlpe, if you have a cortical thickness values for 1000 vertices belonging to 100 patch... | 115 | false | raamana/hiwenet | identify_groups | 4,398 | |
LDU_FT/fprimex/zdesk/help_center_incremental_articles_list | LDU_FT | [
"<BEGIN>\n## `batch`",
"Helper to setup batch requests.",
" There are endpoints which support updating multiple resources at once,\n but they are often limited to 100 updates per request.\n This function helps with splitting bigger requests into sequence of\n smaller ones.",
" Example:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the help_center_incremental_articles_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the help_center_incremental_articles_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | https://developer.zendesk.com/rest_api/docs/help_center/articles#list-articles | "https://developer.zendesk.com/rest_api/docs/help_center/articles#list-articles" | 803 | false | fprimex/zdesk | help_center_incremental_articles_list | 4,399 | |
LDU_FT/koordinates/python-client/start_update | LDU_FT | [
"<BEGIN>\n## `create`",
"Create single permission for the given object.",
" :param Permission permission: A single Permission object to be set.\n<END>",
"<BEGIN>\n## `set`",
"Set the object permissions. If the parent object already has permissions, they will be overwritten.",
" :param [] per... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | A shortcut to create a new version and start importing it.
Effectively the same as :py:meth:`koordinates.layers.LayerManager.create_draft` followed by :py:meth:`koordinates.layers.LayerManager.start_import`. | "A shortcut to create a new version and start importing it.\n Effectively the same as :py:meth:`koordinates.layers.LayerManager.create_draft` followed by :py:meth:`koordinates.layers.LayerManager.start_import`." | 178 | false | koordinates/python-client | start_update | 4,400 | |
LDU_FT/frostming/marko/next_line | LDU_FT | [
"<BEGIN>\n## `camel_to_snake_case`",
"Takes a camelCased string and converts to snake_case.\n<END>",
"<BEGIN>\n## `is_paired`",
"Check if the text only contains:\n 1. blackslash escaped parentheses, or\n 2. parentheses paired.\n<END>",
"<BEGIN>\n## `match_prefix`",
"Check if the line starts with giv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return the next line in the source.
:param require_prefix: if False, the whole line will be returned.
otherwise, return the line with prefix stripped or None if the prefix
is not matched. | "Return the next line in the source.\n\n :param require_prefix: if False, the whole line will be returned.\n otherwise, return the line with prefix stripped or None if the prefix\n is not matched." | 49 | false | frostming/marko | next_line | 4,401 | |
LDU_FT/jupyterhub/kubespawner/load_user_options | LDU_FT | [
"<BEGIN>\n## `make_pod`",
"Make a k8s pod specification for running a user notebook.",
" Parameters\n ----------\n name:\n Name of pod. Must be unique within the namespace the object is\n going to be created in. Must be a valid DNS label.\n image:\n Image specification - usually... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_user_options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_user_options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Load user options from self.user_options dict
This can be set via POST to the API or via options_from_form
Only supported argument by default is 'profile'.
Override in subclasses to support other options. | "Load user options from self.user_options dict\n\n This can be set via POST to the API or via options_from_form\n\n Only supported argument by default is 'profile'.\n Override in subclasses to support other options." | 98 | false | jupyterhub/kubespawner | load_user_options | 4,402 | |
LDU_FT/mogproject/mog-commons-python/unicode_left | LDU_FT | [
"<BEGIN>\n## `_detect_encoding`",
"Detect the default encoding for the terminal's output.\n :return: string: encoding string\n<END>",
"<BEGIN>\n## `_get_restore_function`",
"Return the binary function for restoring terminal attributes.\n :return: function (signal, frame) => None:\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unicode_left API.
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 unicode_left API.
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... | Cut unicode string from left to fit a given width. | "Cut unicode string from left to fit a given width." | 49 | false | mogproject/mog-commons-python | unicode_left | 4,403 | |
LDU_FT/christian-oudard/htmltreediff/get_location | LDU_FT | [
"<BEGIN>\n## `diff`",
"Show the differences between the old and new html document, as html.",
" Return the document html with extra tags added to show changes. Add <ins>\n tags around newly added sections, and <del> tags to show sections that have\n been deleted.\n<END>",
"<BEGIN>\n## `adjusted_ops`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_location API.
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_location API.
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 the node at the specified location in the dom.
Location is a sequence of child indices, starting at the children of the
root element. If there is no node at this location, raise a ValueError. | "Get the node at the specified location in the dom.\n Location is a sequence of child indices, starting at the children of the\n root element. If there is no node at this location, raise a ValueError." | 69 | false | christian-oudard/htmltreediff | get_location | 4,404 | |
LDU_FT/anomaly/prestans/login_required | LDU_FT | [
"<BEGIN>\n## `_setup_serializers`",
"Auto set the return serializer based on Accept headers\n http://docs.webob.org/en/latest/reference.html#header-getters",
" Intersection of requested types and supported types tells us if we\n can in fact respond in one of the request formats\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login_required API.
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 login_required API.
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... | provides a decorator for RESTRequestHandler methods to check for authenticated users
RESTRequestHandler subclass must have a auth_context instance, refer to prestans.auth
for the parent class definition.
If decorator is used and no auth_context is provided the client will be denied access.
Handler wi... | "provides a decorator for RESTRequestHandler methods to check for authenticated users\n\n RESTRequestHandler subclass must have a auth_context instance, refer to prestans.auth\n for the parent class definition.\n\n If decorator is used and no auth_context is provided the client will be denied access.\n\n Ha... | 99 | false | anomaly/prestans | login_required | 4,405 | |
LDU_FT/log2timeline/dfwinreg/GetKeyByPath | LDU_FT | [
"<BEGIN>\n## `_CheckKeyPath`",
"Checks the key path find specification.",
" Args:\n registry_key (WinRegistryKey): Windows Registry key.\n search_depth (int): number of key path segments to compare.",
" Returns:\n bool: True if the Windows Registry key matches the find specification,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetKeyByPath API.
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 GetKeyByPath API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Retrieves the key for a specific path.
Args:
key_path (str): Windows Registry key path.
Returns:
WinRegistryKey: Registry key or None if not available. | "Retrieves the key for a specific path.\n\n Args:\n key_path (str): Windows Registry key path.\n\n Returns:\n WinRegistryKey: Registry key or None if not available." | 199 | false | log2timeline/dfwinreg | GetKeyByPath | 4,406 | |
LDU_FT/paylogic/halogen/amount_object_to_dict | LDU_FT | [
"<BEGIN>\n## `to_dict`",
"Return a dictionary representation of the error.",
" :return: A dict with the keys:\n - attr: Attribute which contains the error, or \"<root>\" if it refers to the schema root.\n - errors: A list of dictionary representations of the errors.\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the amount_object_to_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the amount_object_to_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Return the dictionary representation of an Amount object.
Amount object must have amount and currency properties and as_tuple method which will return (currency, amount)
and as_quantized method to quantize amount property.
:param amount: instance of Amount object
:return: dict with am... | "Return the dictionary representation of an Amount object.\n\n Amount object must have amount and currency properties and as_tuple method which will return (currency, amount)\n and as_quantized method to quantize amount property.\n\n :param amount: instance of Amount object\n\n :return: dict... | 51 | false | paylogic/halogen | amount_object_to_dict | 4,407 | |
LDU_FT/klmitch/cli_tools/usage | LDU_FT | [
"<BEGIN>\n## `_clean_text`",
"Clean up a multiple-line, potentially multiple-paragraph text\n string. This is used to extract the first paragraph of a string\n and eliminate line breaks and indentation. Lines will be joined\n together by a single space.",
" :param text: The text string to clean up... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the usage API.
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 usage API.
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... | Decorator used to specify a usage string for the console script
help message.
:param text: The text to use for the usage. | "Decorator used to specify a usage string for the console script\n help message.\n\n :param text: The text to use for the usage." | 30 | false | klmitch/cli_tools | usage | 4,408 | |
LDU_FT/release-engineering/productmd/modules | LDU_FT | [
"<BEGIN>\n## `parse_nvra`",
"Parse RPM N-E:V-R.A string to a dict.",
" :param nvra: N-E:V-R.A string. This can be a file name or a file path including the '.rpm' suffix.\n :type nvra: str\n :rtype: dict, with \"name\", \"epoch\", \"version\", \"release\", and \"arch\" elements.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the modules API.
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 modules API.
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... | (:class:`productmd.modules.Modules`) -- Compose Modules metadata | "(:class:`productmd.modules.Modules`) -- Compose Modules metadata" | 61 | false | release-engineering/productmd | modules | 4,409 | |
LDU_FT/cltk/cltk/get_corpus_reader | LDU_FT | [
"<BEGIN>\n## `transcribe`",
"Accepts a word and returns a string of an approximate pronounciation (IPA)\n<END>",
"<BEGIN>\n## `syllabify`",
"Syllabifier module for Middle High German",
" The algorithm works by applying the MOP(Maximal Onset Principle)\n on open syllables. For closed syllables,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_corpus_reader API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_corpus_reader API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Corpus reader factory method
:param corpus_name: the name of the supported corpus, available as: [package].SUPPORTED_CORPORA
:param langugage: the language for search in
:return: NLTK compatible corpus reader | "Corpus reader factory method\n :param corpus_name: the name of the supported corpus, available as: [package].SUPPORTED_CORPORA\n :param langugage: the language for search in\n :return: NLTK compatible corpus reader" | 1,301 | true | cltk/cltk | get_corpus_reader | 4,410 | |
LDU_FT/djtaylor/python-lsbinit/ps | LDU_FT | [
"<BEGIN>\n## `_ps_extract_pid`",
"Extract PID and parent PID from an output line from the PS command\n<END>",
"<BEGIN>\n## `ps`",
"Get the process information from the system PS command.\n<END>",
"<BEGIN>\n## `birthday`",
"Return a string representing the age of the process.\n<END>",
"<BEGIN>\n## `make`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ps API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ps API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | Get the process information from the system PS command. | "Get the process information from the system PS command." | 14 | false | djtaylor/python-lsbinit | ps | 4,411 | |
LDU_FT/markovmodel/PyEMMA/models_descriptive | LDU_FT | [
"<BEGIN>\n## `filenames`",
"list of file names the data is originally being read from.",
" Returns\n -------\n names : list of str\n list of file names at the beginning of the input chain.\n<END>",
"<BEGIN>\n## `_data_flow_chain`",
"Get a list of all elements in the data flow... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the models_descriptive 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 models_descriptive 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... | list all stored models in given file.
Returns
-------
dict: {model_name: {'repr' : 'string representation, 'created': 'human readable date', ...} | "list all stored models in given file.\n\n Returns\n -------\n dict: {model_name: {'repr' : 'string representation, 'created': 'human readable date', ...}" | 1,924 | true | markovmodel/PyEMMA | models_descriptive | 4,412 | |
LDU_FT/vilmibm/done/interp | LDU_FT | [
"<BEGIN>\n## `interp`",
"This method takes a list of SQL snippets and returns a SQL statement and\n a list of bind variables to be passed to the DB API's execute method.\n<END>",
"<BEGIN>\n## `esc`",
"Returns the given object in the appropriate wrapper class from esc_types.py.",
" In most case... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interp API.
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 interp API.
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 ... | This method takes a list of SQL snippets and returns a SQL statement and
a list of bind variables to be passed to the DB API's execute method. | "This method takes a list of SQL snippets and returns a SQL statement and\n a list of bind variables to be passed to the DB API's execute method." | 80 | false | vilmibm/done | interp | 4,413 | |
LDU_FT/ColtonProvias/sqlalchemy-jsonapi/delete_relationship | LDU_FT | [
"<BEGIN>\n## `user_error`",
"Create and return a general user error response that is jsonapi compliant.",
" Required args:\n status_code: The HTTP status code associated with the problem.\n title: A short summary of the problem.\n detail: An explanation specific to the occurence of the p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_relationship 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 delete_relationship API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Delete a resource or multiple resources from a to-many relationship.
:param session: SQLAlchemy session
:param data: JSON data provided with the request
:param api_type: Type of the resource
:param obj_id: ID of the resource
:param rel_key: Key of the relationship to fetch | "Delete a resource or multiple resources from a to-many relationship.\n\n :param session: SQLAlchemy session\n :param data: JSON data provided with the request\n :param api_type: Type of the resource\n :param obj_id: ID of the resource\n :param rel_key: Key of the relationship to fetc... | 95 | false | ColtonProvias/sqlalchemy-jsonapi | delete_relationship | 4,414 | |
LDU_FT/BD2KOnFHIR/i2b2model/_delete_upload_id | LDU_FT | [
"<BEGIN>\n## `change_column_length`",
"Change the column length in the supplied table\n<END>",
"<BEGIN>\n## `_db_urls`",
"Return the crc and ontology db urls\n :param opts: options\n :return: Tuple w/ crc and ontology url\n<END>",
"<BEGIN>\n## `_tables`",
"Return a list of all known tables a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _delete_upload_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _delete_upload_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Remove all table records with the supplied upload_id
:param conn: sql connection
:param table: table to modify
:param upload_id: target upload_id
:return: number of records removed | "Remove all table records with the supplied upload_id\n\n :param conn: sql connection\n :param table: table to modify\n :param upload_id: target upload_id\n :return: number of records removed" | 64 | false | BD2KOnFHIR/i2b2model | _delete_upload_id | 4,415 | |
LDU_FT/RedisJSON/rejson-py/setEncoder | LDU_FT | [
"<BEGIN>\n## `bulk_of_jsons`",
"Replace serialized JSON values with objects in a bulk array response (list)\n<END>",
"<BEGIN>\n## `setEncoder`",
"Sets the client's encoder\n ``encoder`` should be an instance of a ``json.JSONEncoder`` class\n<END>",
"<BEGIN>\n## `setDecoder`",
"Sets the client's dec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setEncoder API.
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 setEncoder API.
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... | Sets the client's encoder
``encoder`` should be an instance of a ``json.JSONEncoder`` class | "Sets the client's encoder\n ``encoder`` should be an instance of a ``json.JSONEncoder`` class" | 43 | false | RedisJSON/rejson-py | setEncoder | 4,416 | |
LDU_FT/bfontaine/trigrams/_get | LDU_FT | [
"<BEGIN>\n## `save`",
"Save the database to a file. If ``output`` is not given, the ``dbfile``\n given in the constructor is used.\n<END>",
"<BEGIN>\n## `feed`",
"Feed some text to the database, either from a string (``text``) or a\n file (``source``).",
" >>> db = TrigramsDB()\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Return a possible next word after ``word1`` and ``word2``, or ``None``
if there's no possibility. | "Return a possible next word after ``word1`` and ``word2``, or ``None``\n if there's no possibility." | 13 | false | bfontaine/trigrams | _get | 4,417 | |
LDU_FT/juju/python-libjuju/RunOnAllMachines | 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 RunOnAllMachines API.
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 RunOnAllMachines API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | applications : typing.Sequence[str]
commands : str
machines : typing.Sequence[str]
timeout : int
units : typing.Sequence[str]
Returns -> typing.Sequence[~ActionResult] | "applications : typing.Sequence[str]\n commands : str\n machines : typing.Sequence[str]\n timeout : int\n units : typing.Sequence[str]\n Returns -> typing.Sequence[~ActionResult]" | 672 | false | juju/python-libjuju | RunOnAllMachines | 4,418 | |
LDU_FT/RusticiSoftware/TinCanPython/delete_state | LDU_FT | [
"<BEGIN>\n## `_make_cls`",
"If value is not instance of self._cls, converts and returns\n it. Otherwise, returns value.",
" :param value: the thing to make a self._cls from\n :rtype self._cls\n<END>",
"<BEGIN>\n## `_send_request`",
"Establishes connection and returns http response based... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_state API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_state API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Delete a specified state from the LRS
:param state: State document to be deleted
:type state: :class:`tincan.documents.state_document.StateDocument`
:return: LRS Response object
:rtype: :class:`tincan.lrs_response.LRSResponse` | "Delete a specified state from the LRS\n\n :param state: State document to be deleted\n :type state: :class:`tincan.documents.state_document.StateDocument`\n :return: LRS Response object\n :rtype: :class:`tincan.lrs_response.LRSResponse`" | 121 | false | RusticiSoftware/TinCanPython | delete_state | 4,419 | |
LDU_FT/SpotlightData/preprocessing/lowercase | LDU_FT | [
"<BEGIN>\n## `correct_word`",
"Finds all valid one and two letter corrections for word_string, returning the word\n with the highest relative probability as type str.\n<END>",
"<BEGIN>\n## `find_candidates`",
"Finds all potential words word_string could have intended to mean. If a word is not incorrectly\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lowercase API.
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 lowercase API.
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... | Converts text_string into lowercase and returns the converted string as type str.
Keyword argument:
- text_string: string instance
Exceptions raised:
- InputError: occurs should a non-string argument be passed | "Converts text_string into lowercase and returns the converted string as type str.\n\n Keyword argument:\n\n - text_string: string instance\n\n Exceptions raised:\n\n - InputError: occurs should a non-string argument be passed" | 106 | false | SpotlightData/preprocessing | lowercase | 4,420 | |
LDU_FT/cortical-io/retina-sdk.py/getTerms | LDU_FT | [
"<BEGIN>\n## `getTerms`",
"Get term objects\n Args:\n term, str: A term in the retina (optional)\n getFingerprint, bool: Configure if the fingerprint should be returned as part of the results (optional)\n startIndex, int: The start-index for pagination (optional)\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getTerms API.
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 getTerms API.
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... | Get term objects
Args:
term, str: A term in the retina (optional)
getFingerprint, bool: Configure if the fingerprint should be returned as part of the results (optional)
startIndex, int: The start-index for pagination (optional)
maxResults, int: Max results per pa... | "Get term objects\n Args:\n term, str: A term in the retina (optional)\n getFingerprint, bool: Configure if the fingerprint should be returned as part of the results (optional)\n startIndex, int: The start-index for pagination (optional)\n maxResults, int: Max results ... | 64 | false | cortical-io/retina-sdk.py | getTerms | 4,421 | |
LDU_FT/productml/blurr/_get_range_timestamp_key | LDU_FT | [
"<BEGIN>\n## `run_evaluate`",
"Overrides the base evaluation to set the value to the evaluation result of the value\n expression in the schema\n<END>",
"<BEGIN>\n## `set`",
"Sets the value of a key to a supplied value\n<END>",
"<BEGIN>\n## `increment`",
"Increments the value set against a key. If ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_range_timestamp_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_range_timestamp_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Returns the list of items from the store based on the given time range or count.
This is used when the key being used is a TIMESTAMP key. | "Returns the list of items from the store based on the given time range or count.\n\n This is used when the key being used is a TIMESTAMP key." | 119 | false | productml/blurr | _get_range_timestamp_key | 4,422 | |
LDU_FT/mcash/merchant-api-python-sdk/shortlink_scanned | LDU_FT | [
"<BEGIN>\n## `do_req`",
"Used internally to send a request to the API, left public\n so it can be used to talk to the API more directly.\n<END>",
"<BEGIN>\n## `_depaginate_all`",
"GETs the url provided and traverses the 'next' url that's\n returned while storing the data in a list. Returns a sin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shortlink_scanned API.
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 shortlink_scanned API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Called when a shortlink_scanned event is received | "Called when a shortlink_scanned event is received" | 76 | false | mcash/merchant-api-python-sdk | shortlink_scanned | 4,423 | |
LDU_FT/openstack/monasca-common/fmtd_sub_expr_str | LDU_FT | [
"<BEGIN>\n## `fmtd_sub_expr_str`",
"Get the entire sub expressions as a string with spaces.\n<END>",
"<BEGIN>\n## `normalized_operator`",
"Get the operator as one of LT, GT, LTE, or GTE.\n<END>",
"<BEGIN>\n## `_get_conn`",
"Get or create a connection to a broker using host and port\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fmtd_sub_expr_str API.
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 fmtd_sub_expr_str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Get the entire sub expressions as a string with spaces. | "Get the entire sub expressions as a string with spaces." | 227 | false | openstack/monasca-common | fmtd_sub_expr_str | 4,424 | |
LDU_FT/python-xlib/python-xlib/get_screen_info | LDU_FT | [
"<BEGIN>\n## `query_int_attribute`",
"Return the value of an integer attribute\n<END>",
"<BEGIN>\n## `create_resource_object`",
"Create a resource object of type for the integer id. type\n should be one of the following strings:",
" resource\n drawable\n window\n pixmap\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_screen_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_screen_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Retrieve information about the current and available configurations for
the screen associated with this window. | "Retrieve information about the current and available configurations for\n the screen associated with this window." | 232 | false | python-xlib/python-xlib | get_screen_info | 4,425 | |
LDU_FT/NICTA/revrand/dp | LDU_FT | [
"<BEGIN>\n## `fit`",
"r\"\"\"\n Learn the parameters of a Bayesian generalized linear model (GLM).",
" Parameters\n ----------\n X : ndarray\n (N, d) array input dataset (N samples, d dimensions).\n y : ndarray\n (N,) array targets (N samples)\n li... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | r"""
Derivative of Gaussian log likelihood w.r.t.\ the variance
:math:`\sigma^2`.
Parameters
----------
y: ndarray
array of 0, 1 valued integers of targets
f: ndarray
latent function from the GLM prior (:math:`\mathbf{f} =
\boldsymbol\... | "r\"\"\"\n Derivative of Gaussian log likelihood w.r.t.\\ the variance\n :math:`\\sigma^2`.\n\n Parameters\n ----------\n y: ndarray\n array of 0, 1 valued integers of targets\n f: ndarray\n latent function from the GLM prior (:math:`\\mathbf{f} =\n ... | 535 | false | NICTA/revrand | dp | 4,426 | |
LDU_FT/FactoryBoy/factory_boy/simple_generate_batch | LDU_FT | [
"<BEGIN>\n## `set_random_state`",
"Force-set the state of factory.fuzzy's random generator.\n<END>",
"<BEGIN>\n## `reseed_random`",
"Reseed factory.fuzzy's random generator.\n<END>",
"<BEGIN>\n## `_lazy_load_get_model`",
"Lazy loading of get_model.",
" get_model loads django.conf.settings, which may ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simple_generate_batch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simple_generate_batch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Create a factory for the given class, and simple_generate instances. | "Create a factory for the given class, and simple_generate instances." | 120 | false | FactoryBoy/factory_boy | simple_generate_batch | 4,427 | |
LDU_FT/sliem/barrett/plot_oneD | LDU_FT | [
"<BEGIN>\n## `main`",
"We here demostrate the basic functionality of barrett. We use a global scan\n of scalar dark matter as an example. The details aren't really important.\n<END>",
"<BEGIN>\n## `pairplot`",
"Plot a matrix of the specified variables with all the 2D pdfs and 1D pdfs.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_oneD API.
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 plot_oneD API.
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... | Plot 1D marginalised posteriors for the 'vars' of interest. | "Plot 1D marginalised posteriors for the 'vars' of interest." | 18 | false | sliem/barrett | plot_oneD | 4,428 | |
LDU_FT/taddeus/wspy/conflicts | LDU_FT | [
"<BEGIN>\n## `conflicts`",
"Check if the extension conflicts with an already accepted extension.\n This may be the case when the two extensions use the same reserved\n bits, or have the same name (when the same extension is negotiated\n multiple times with different parameters).\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the conflicts API.
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 conflicts API.
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 the extension conflicts with an already accepted extension.
This may be the case when the two extensions use the same reserved
bits, or have the same name (when the same extension is negotiated
multiple times with different parameters). | "Check if the extension conflicts with an already accepted extension.\n This may be the case when the two extensions use the same reserved\n bits, or have the same name (when the same extension is negotiated\n multiple times with different parameters)." | 72 | false | taddeus/wspy | conflicts | 4,429 | |
LDU_FT/smarie/python-valid8/_get_final_none_policy_for_validator | LDU_FT | [
"<BEGIN>\n## `instance_of`",
"This type validation function can be used in two modes:\n * providing two arguments (x, ref_type), it returns `True` if isinstance(x, ref_type) and raises a HasWrongType\n error if not. If ref_type is a set of types, any match with one of the included types will do\n * pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_final_none_policy_for_validator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_final_none_policy_for_validator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | Depending on none_policy and of the fact that the target parameter is nonable or not, returns a corresponding
NonePolicy
:param is_nonable:
:param none_policy:
:return: | "Depending on none_policy and of the fact that the target parameter is nonable or not, returns a corresponding\n NonePolicy\n\n :param is_nonable:\n :param none_policy:\n :return:" | 229 | false | smarie/python-valid8 | _get_final_none_policy_for_validator | 4,430 | |
LDU_FT/Overboard/discoverhue/parse_description_xml | LDU_FT | [
"<BEGIN>\n## `from_url`",
"HTTP request for page at location returned as string",
" malformed url returns ValueError\n nonexistant IP returns URLError\n wrong subnet IP return URLError\n reachable IP, no HTTP server returns URLError\n reachable IP, HTTP, wrong page returns HTTPError\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_description_xml API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_description_xml API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Extract serial number, base ip, and img url from description.xml
missing data from XML returns AttributeError
malformed XML returns ParseError
Refer to included example for URLBase and serialNumber elements | "Extract serial number, base ip, and img url from description.xml\n\n missing data from XML returns AttributeError\n malformed XML returns ParseError\n\n Refer to included example for URLBase and serialNumber elements" | 17 | false | Overboard/discoverhue | parse_description_xml | 4,431 | |
LDU_FT/salesking/salesking_python_sdk/save | LDU_FT | [
"<BEGIN>\n## `get_model_class`",
"Generates the Model Class based on the klass \n loads automatically the corresponding json schema file form schemes folder\n :param klass: json schema filename\n :param use_request_api: if True autoinitializes request class if api is None\n :param api: the transportat... | 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... | saves creates or updates current resource
returns new resource | "saves creates or updates current resource\n returns new resource" | 69 | false | salesking/salesking_python_sdk | save | 4,432 | |
LDU_FT/aburrell/apexpy/toYearFraction | LDU_FT | [
"<BEGIN>\n## `checklat`",
"Makes sure the latitude is inside [-90, 90], clipping close values\n (tolerance 1e-4).",
" Parameters\n ==========\n lat : array_like\n latitude\n name : str, optional\n parameter name to use in the exception message",
" Returns\n =======\n lat ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the toYearFraction API.
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 toYearFraction API.
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... | Converts :class:`datetime.date` or :class:`datetime.datetime` to decimal
year.
Parameters
==========
date : :class:`datetime.date` or :class:`datetime.datetime`
Returns
=======
year : float
Decimal year
Notes
=====
The algorithm is taken from http://stackoverflow.com/a... | "Converts :class:`datetime.date` or :class:`datetime.datetime` to decimal\n year.\n\n Parameters\n ==========\n date : :class:`datetime.date` or :class:`datetime.datetime`\n\n Returns\n =======\n year : float\n Decimal year\n\n Notes\n =====\n The algorithm is taken from http://stac... | 120 | false | aburrell/apexpy | toYearFraction | 4,433 | |
LDU_FT/rtfd/sphinxcontrib-dotnetdomain/run | LDU_FT | [
"<BEGIN>\n## `parse_signature`",
"Parse signature declartion string",
" Uses :py:attr:`signature_pattern` to parse out pieces of constraint\n signatures. Pattern should provide the following named groups:",
" prefix\n Object prefix, such as a namespace",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | If element is considered hidden, drop the desc_signature node
The default handling of signatures by :py:cls:`ObjectDescription`
returns a list of nodes with the signature nodes. We are going to remove
them if this is a hidden declaration. | "If element is considered hidden, drop the desc_signature node\n\n The default handling of signatures by :py:cls:`ObjectDescription`\n returns a list of nodes with the signature nodes. We are going to remove\n them if this is a hidden declaration." | 37 | false | rtfd/sphinxcontrib-dotnetdomain | run | 4,434 | |
LDU_FT/ljcooke/see/match | LDU_FT | [
"<BEGIN>\n## `column_width`",
"Return a suitable column width to display one or more strings.\n<END>",
"<BEGIN>\n## `justify_token`",
"Justify a string to fill one or more columns.\n<END>",
"<BEGIN>\n## `display_name`",
"Get the display name of an object.",
" Keyword arguments (all required):",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API.
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 match API.
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... | Only match if the object contains a non-empty docstring. | "Only match if the object contains a non-empty docstring." | 43 | false | ljcooke/see | match | 4,435 | |
LDU_FT/fabioz/PyDev.Debugger/get_characteristic_subpattern | LDU_FT | [
"<BEGIN>\n## `convert`",
"Note:",
" If the shellcode starts with '66' controls, it needs to be changed to add [BITS 32] or\n [BITS 64] to the start.",
" To use:",
" convert(\"\"\"\n 55\n 53\n 50\n BDE97F071E\n FFD5\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_characteristic_subpattern API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_characteristic_subpattern API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Picks the most characteristic from a list of linear patterns
Current order used is:
names > common_names > common_chars | "Picks the most characteristic from a list of linear patterns\n Current order used is:\n names > common_names > common_chars" | 3,640 | true | fabioz/PyDev.Debugger | get_characteristic_subpattern | 4,436 | |
LDU_FT/kgaughan/dbkit/query_proc | LDU_FT | [
"<BEGIN>\n## `strip_accents`",
"Strip accents to prepare for slugification.\n<END>",
"<BEGIN>\n## `slugify`",
"Converts the given string to a URL slug.\n<END>",
"<BEGIN>\n## `_make_connect`",
"Returns a function capable of making connections with a particular\n driver given the supplied credentials.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query_proc API.
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 query_proc API.
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... | Execute a stored procedure. This returns an iterator of the result set. | "Execute a stored procedure. This returns an iterator of the result set." | 55 | false | kgaughan/dbkit | query_proc | 4,437 | |
LDU_FT/cbclab/MOT/multiprocess_mapping | LDU_FT | [
"<BEGIN>\n## `get_historical_data`",
"Get the historical tank data.",
" Args:\n nmr_problems (int): the number of problems",
" Returns:\n tuple: (observations, nmr_tanks_ground_truth)\n<END>",
"<BEGIN>\n## `get_simulated_data`",
"Simulate some data.",
" This returns the simulated ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multiprocess_mapping 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 multiprocess_mapping API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Multiprocess mapping the given function on the given iterable.
This only works in Linux and Mac systems since Windows has no forking capability. On Windows we fall back on
single processing. Also, if we reach memory limits we fall back on single cpu processing.
Args:
func (func): the function to a... | "Multiprocess mapping the given function on the given iterable.\n\n This only works in Linux and Mac systems since Windows has no forking capability. On Windows we fall back on\n single processing. Also, if we reach memory limits we fall back on single cpu processing.\n\n Args:\n func (func): the functi... | 445 | false | cbclab/MOT | multiprocess_mapping | 4,438 | |
LDU_FT/peepall/FancyLogger/set_configuration | LDU_FT | [
"<BEGIN>\n## `set_configuration`",
"Defines the current configuration of the logger. Can be used at any moment during runtime to modify the logger\n behavior.\n :param command: The command object that holds all the necessary information from the remote process.\n<END>",
"<BEGIN>\n## `run`",
"The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_configuration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_configuration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Defines the current configuration of the logger. Can be used at any moment during runtime to modify the logger
behavior.
:param message_number: [Optional] Number of simultaneously displayed messages below progress bars.
:param exception_number: [Optional] Number of simult... | "Defines the current configuration of the logger. Can be used at any moment during runtime to modify the logger\n behavior.\n :param message_number: [Optional] Number of simultaneously displayed messages below progress bars.\n :param exception_number: [Optional] Number of si... | 61 | false | peepall/FancyLogger | set_configuration | 4,439 | |
LDU_FT/SmartDeveloperHub/agora-client/get_fragment_generator | LDU_FT | [
"<BEGIN>\n## `__extend_uri`",
"Extend a prefixed uri with the help of a specific dictionary of prefixes\n :param prefixes: Dictionary of prefixes\n :param short: Prefixed uri to be extended\n :return:\n<END>",
"<BEGIN>\n## `__extract_patterns_and_spaces`",
"Analyses the search plan graph in order to ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fragment_generator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fragment_generator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Return a fragment generator for a given gp.
:param gp:
:param kwargs:
:return: | "Return a fragment generator for a given gp.\n :param gp:\n :param kwargs:\n :return:" | 15 | false | SmartDeveloperHub/agora-client | get_fragment_generator | 4,440 | |
LDU_FT/CameronLonsdale/lantern/crack | LDU_FT | [
"<BEGIN>\n## `frequency_to_probability`",
"Transform a ``frequency_map`` into a map of probability using the sum of all frequencies as the total.",
" Example:\n >>> frequency_to_probability({'a': 2, 'b': 2})\n {'a': 0.5, 'b': 0.5}",
" Args:\n frequency_map (dict): The dictionary to ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the crack API.
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 crack API.
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... | Break ``ciphertext`` using hill climbing.
Note:
Currently ntrails and nswaps default to magic numbers.
Generally the trend is, the longer the text, the lower the number of trials
you need to run, because the hill climbing will lead to the best answer faster.
Because randomness is in... | "Break ``ciphertext`` using hill climbing.\n\n Note:\n Currently ntrails and nswaps default to magic numbers.\n Generally the trend is, the longer the text, the lower the number of trials\n you need to run, because the hill climbing will lead to the best answer faster.\n Because randomnes... | 131 | false | CameronLonsdale/lantern | crack | 4,441 | |
LDU_FT/RJT1990/pyflux/predict_is | LDU_FT | [
"<BEGIN>\n## `_get_scale_and_shape`",
"Obtains model scale, shape and skewness latent variables",
" Parameters\n ----------\n transformed_lvs : np.array\n Transformed latent variable vector",
" Returns\n ----------\n - Tuple of model scale, model shape, mod... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict_is API.
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 predict_is API.
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... | Makes dynamic in-sample predictions with the estimated model
Parameters
----------
h : int (default : 5)
How many steps would you like to forecast?
Returns
----------
- pd.DataFrame with predicted values | "Makes dynamic in-sample predictions with the estimated model\n\n Parameters\n ----------\n h : int (default : 5)\n How many steps would you like to forecast?\n\n Returns\n ----------\n - pd.DataFrame with predicted values" | 1,462 | true | RJT1990/pyflux | predict_is | 4,442 | |
LDU_FT/biocore/mustached-octo-ironman/_support_directory | LDU_FT | [
"<BEGIN>\n## `on_message`",
"Accept a message that was published, process and forward",
" Parameters\n ----------\n msg : str\n The message sent over the line",
" Notes\n -----\n This method only handles messages where `message_type` is \"message\".\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _support_directory 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 _support_directory 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... | Get the path of the support_files directory | "Get the path of the support_files directory" | 68 | false | biocore/mustached-octo-ironman | _support_directory | 4,443 | |
LDU_FT/rduplain/jeni-python/register | LDU_FT | [
"<BEGIN>\n## `see_doc`",
"Copy docstring from existing object to the decorated callable.\n<END>",
"<BEGIN>\n## `class_in_progress`",
"True if currently inside a class definition, else False.\n<END>",
"<BEGIN>\n## `get`",
"Get initial yield value, or result of send(name) if name given.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Implementation to register provider via `provider` & `factory`. | "Implementation to register provider via `provider` & `factory`." | 91 | false | rduplain/jeni-python | register | 4,444 | |
LDU_FT/ianclegg/winrmlib/_determine_auth_mechanism | LDU_FT | [
"<BEGIN>\n## `_get_rsa_public_key`",
"PyOpenSSL does not provide a public method to export the public key from a certificate as a properly formatted\n ASN.1 RSAPublicKey structure. There are 'hacks' which use dump_privatekey(crypto.FILETYPE_ASN1, <public_key>),\n but this dumps the public key within... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _determine_auth_mechanism 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 _determine_auth_mechanism API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | if the username contains at '@' sign we will use kerberos
if the username contains a '/ we will use ntlm
either NTLM or Kerberos. In fact its basically always Negotiate. | "if the username contains at '@' sign we will use kerberos\n if the username contains a '/ we will use ntlm\n either NTLM or Kerberos. In fact its basically always Negotiate." | 33 | false | ianclegg/winrmlib | _determine_auth_mechanism | 4,445 | |
LDU_FT/paylogic/halogen/deserialize | LDU_FT | [
"<BEGIN>\n## `to_dict`",
"Return a dictionary representation of the error.",
" :return: A dict with the keys:\n - attr: Attribute which contains the error, or \"<root>\" if it refers to the schema root.\n - errors: A list of dictionary representations of the errors.\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deserialize API.
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 deserialize API.
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... | Deserialize the HAL structure into the output value.
:param value: Dict of already loaded json which will be deserialized by schema attributes.
:param output: If present, the output object will be updated instead of returning the deserialized data.
:returns: Dict of deserialized value for attr... | "Deserialize the HAL structure into the output value.\n\n :param value: Dict of already loaded json which will be deserialized by schema attributes.\n :param output: If present, the output object will be updated instead of returning the deserialized data.\n\n :returns: Dict of deserialized value fo... | 51 | false | paylogic/halogen | deserialize | 4,446 | |
LDU_FT/opentok/Opentok-Python-SDK/generate_token | LDU_FT | [
"<BEGIN>\n## `get_stream_url`",
"this method returns the url to get streams information\n<END>",
"<BEGIN>\n## `force_disconnect_url`",
"this method returns the force disconnect url endpoint\n<END>",
"<BEGIN>\n## `set_archive_layout_url`",
"this method returns the url to set the archive layout\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_token API.
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 generate_token API.
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... | Generates a token for a given session.
:param String session_id: The session ID of the session to be accessed by the client using
the token.
:param String role: The role for the token. Valid values are defined in the Role
class:
* `Roles.subscriber` -- A subscriber can o... | "Generates a token for a given session.\n\n :param String session_id: The session ID of the session to be accessed by the client using\n the token.\n\n :param String role: The role for the token. Valid values are defined in the Role\n class:\n\n * `Roles.subscriber` -- A subscri... | 128 | false | opentok/Opentok-Python-SDK | generate_token | 4,447 | |
LDU_FT/miguelgrinberg/python-engineio/_upgrades | LDU_FT | [
"<BEGIN>\n## `signal_handler`",
"SIGINT handler.",
" Disconnect all active clients and then invoke the original signal handler.\n<END>",
"<BEGIN>\n## `on`",
"Register an event handler.",
" :param event: The event name. Can be ``'connect'``, ``'message'`` or\n ``'disconnect'`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _upgrades API.
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 _upgrades API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return the list of possible upgrades for a client connection. | "Return the list of possible upgrades for a client connection." | 128 | false | miguelgrinberg/python-engineio | _upgrades | 4,448 | |
LDU_FT/dbader/schedule/at | LDU_FT | [
"<BEGIN>\n## `run_pending`",
"Run all jobs that are scheduled to run.",
" Please note that it is *intended behavior that run_pending()\n does not run missed jobs*. For example, if you've registered a job\n that should run every minute and you only call run_pending()\n in one hour inc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the at API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the at API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | Specify a particular time that the job should be run at.
:param time_str: A string in one of the following formats: `HH:MM:SS`,
`HH:MM`,`:MM`, `:SS`. The format must make sense given how often
the job is repeating; for example, a job that repeats every minute
should not be g... | "Specify a particular time that the job should be run at.\n\n :param time_str: A string in one of the following formats: `HH:MM:SS`,\n `HH:MM`,`:MM`, `:SS`. The format must make sense given how often\n the job is repeating; for example, a job that repeats every minute\n should no... | 26 | false | dbader/schedule | at | 4,449 | |
LDU_FT/byt3bl33d3r/CrackMapExec/options | LDU_FT | [
"<BEGIN>\n## `add_computer`",
"Check if this host has already been added to the database, if not add it in.\n<END>",
"<BEGIN>\n## `remove_credentials`",
"Removes a credential ID from the database\n<END>",
"<BEGIN>\n## `options`",
"SERVER IP of the SMB server\n NAME LNK file name\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | TIMEOUT Specifies the interval in minutes to capture keystrokes.
STREAM Specifies whether to stream the keys over the network (default: False)
POLL Specifies the interval in seconds to poll the log file (default: 20) | "TIMEOUT Specifies the interval in minutes to capture keystrokes.\n STREAM Specifies whether to stream the keys over the network (default: False)\n POLL Specifies the interval in seconds to poll the log file (default: 20)" | 77 | false | byt3bl33d3r/CrackMapExec | options | 4,450 | |
LDU_FT/rapidpro/expressions/fixed | LDU_FT | [
"<BEGIN>\n## `_read_requirements`",
"Returns a list of package requirements read from the file.\n<END>",
"<BEGIN>\n## `field`",
"Reference a field in string separated by a delimiter\n<END>",
"<BEGIN>\n## `epoch`",
"Converts the given date to the number of seconds since January 1st, 1970 UTC\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fixed API.
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 fixed API.
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... | Formats the given number in decimal format using a period and commas | "Formats the given number in decimal format using a period and commas" | 124 | false | rapidpro/expressions | fixed | 4,451 | |
LDU_FT/brutasse/rache/schedule_job | LDU_FT | [
"<BEGIN>\n## `job_details`",
"Returns the job data with its scheduled timestamp.",
" :param job_id: the ID of the job to retrieve.\n<END>",
"<BEGIN>\n## `schedule_job`",
"Schedules a job.",
" :param job_id: unique identifier for this job\n :param schedule_in: number of seconds from now in which t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the schedule_job API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the schedule_job API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Schedules a job.
:param job_id: unique identifier for this job
:param schedule_in: number of seconds from now in which to schedule the
job or timedelta object.
:param **kwargs: parameters to attach to the job, key-value structure.
>>> schedule_job('http://example.com/test', schedule_in=10, num_re... | "Schedules a job.\n\n :param job_id: unique identifier for this job\n :param schedule_in: number of seconds from now in which to schedule the\n job or timedelta object.\n\n :param **kwargs: parameters to attach to the job, key-value structure.\n\n >>> schedule_job('http://example.com/test', schedule_in=1... | 18 | false | brutasse/rache | schedule_job | 4,452 | |
LDU_FT/seleniumbase/SeleniumBase/download_file | LDU_FT | [
"<BEGIN>\n## `generate_application_string`",
"Generate an application string based on some of the given information\n that can be pulled from the test object: app_env, start_time.\n<END>",
"<BEGIN>\n## `_filter_xpath_grouping`",
"This method removes the outer parentheses for xpath grouping.\n Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Downloads the file from the url to the destination folder.
If no destination folder is specified, the default one is used.
(The default downloads folder = "./downloaded_files") | "Downloads the file from the url to the destination folder.\n If no destination folder is specified, the default one is used.\n (The default downloads folder = \"./downloaded_files\")" | 362 | false | seleniumbase/SeleniumBase | download_file | 4,453 | |
LDU_FT/jakebasile/reap/create_client | LDU_FT | [
"<BEGIN>\n## `create_person`",
"Creates a Person with the given information.\n<END>",
"<BEGIN>\n## `create_project`",
"Creates a Project with the given information.\n<END>",
"<BEGIN>\n## `create_client`",
"Creates a Client with the given information.\n<END>",
"<BEGIN>\n## `entries`",
"Retrieves entrie... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_client API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_client API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Creates a Client with the given information. | "Creates a Client with the given information." | 14 | false | jakebasile/reap | create_client | 4,454 | |
LDU_FT/mlavin/argyle/detect_version | LDU_FT | [
"<BEGIN>\n## `upload_nginx_site_conf`",
"Upload Nginx site configuration from a template.\n<END>",
"<BEGIN>\n## `add_ppas_from_file`",
"Add personal package archive from a file list.\n<END>",
"<BEGIN>\n## `add_apt_source`",
"Adds source url to apt sources.list. Optional to pass the key url.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detect_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detect_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Parse the output of psql to detect Postgres version. | "Parse the output of psql to detect Postgres version." | 30 | false | mlavin/argyle | detect_version | 4,455 | |
LDU_FT/sentinelsat/sentinelsat/_parse_odata_timestamp | LDU_FT | [
"<BEGIN>\n## `cli`",
"Search for Sentinel products and, optionally, download all the results\n and/or create a geojson file with the search result footprints.\n Beyond your Copernicus Open Access Hub user and password, you must pass a geojson file\n containing the geometry of the area you want to search ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_odata_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.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_odata_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.... | Convert the timestamp received from OData JSON API to a datetime object. | "Convert the timestamp received from OData JSON API to a datetime object." | 90 | false | sentinelsat/sentinelsat | _parse_odata_timestamp | 4,456 | |
LDU_FT/ssato/python-anyconfig/find_by_type_or_id | LDU_FT | [
"<BEGIN>\n## `_load_plugins_itr`",
".. seealso:: the doc of :func:`load_plugins`\n<END>",
"<BEGIN>\n## `select_by_key`",
":param items: A list of tuples of keys and values, [([key], val)]\n :return: A list of tuples of key and values, [(key, [val])]",
" >>> select_by_key([([\"a\", \"aaa\"], 1), ([\"b\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_by_type_or_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_by_type_or_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | :param type_or_id: Type of the data to process or ID of the processor class
:param prs: A list of :class:`anyconfig.models.processor.Processor` classes
:return:
A list of processor classes to process files of given data type or
processor 'type_or_id' found by its ID
:raises: UnknownProcessor... | ":param type_or_id: Type of the data to process or ID of the processor class\n :param prs: A list of :class:`anyconfig.models.processor.Processor` classes\n :return:\n A list of processor classes to process files of given data type or\n processor 'type_or_id' found by its ID\n :raises: UnknownPro... | 534 | false | ssato/python-anyconfig | find_by_type_or_id | 4,457 | |
LDU_FT/flowersteam/explauto/infer_x | LDU_FT | [
"<BEGIN>\n## `predict_y`",
"Provide an prediction of xq in the output space",
" @param xq an array of float of length dim_x\n @return predicted y as np.array of float\n<END>",
"<BEGIN>\n## `predict_given_context`",
"Provide a prediction of x with context c on dimensions c_dims in the outpu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the infer_x API.
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 infer_x API.
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... | Infer probable x from input y
@param y the desired output for infered x. | "Infer probable x from input y\n\n @param y the desired output for infered x." | 685 | false | flowersteam/explauto | infer_x | 4,458 | |
LDU_FT/pandas-dev/pandas/transpose | LDU_FT | [
"<BEGIN>\n## `to_offset`",
"Return DateOffset object from string or tuple representation\n or datetime.timedelta object",
" Parameters\n ----------\n freq : str, tuple, datetime.timedelta, DateOffset or None",
" Returns\n -------\n DateOffset\n None if freq is None.",
" Raises... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transpose API.
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 transpose API.
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... | Permute the dimensions of the %(klass)s
Parameters
----------
args : %(args_transpose)s
copy : boolean, default False
Make a copy of the underlying data. Mixed-dtype data will
always result in a copy
**kwargs
Additional keyword arguments will ... | "Permute the dimensions of the %(klass)s\n\n Parameters\n ----------\n args : %(args_transpose)s\n copy : boolean, default False\n Make a copy of the underlying data. Mixed-dtype data will\n always result in a copy\n **kwargs\n Additional keyword argum... | 8,110 | true | pandas-dev/pandas | transpose | 4,459 | |
LDU_FT/edx/edx-val/create_or_update_video_transcript | LDU_FT | [
"<BEGIN>\n## `generate_sjson_from_srt`",
"Generate transcripts from sjson to SubRip (*.srt).",
" Arguments:\n srt_subs(SubRip): \"SRT\" subs object",
" Returns:\n Subs converted to \"SJSON\" format.\n<END>",
"<BEGIN>\n## `generate_srt_from_sjson`",
"Generate transcripts... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_or_update_video_transcript API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_or_update_video_transcript API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | Create or Update video transcript for an existing video.
Arguments:
video_id: it can be an edx_video_id or an external_id extracted from external sources in a video component.
language_code: language code of a video transcript
metadata (dict): A dict containing (to be overwritten) propertie... | "Create or Update video transcript for an existing video.\n\n Arguments:\n video_id: it can be an edx_video_id or an external_id extracted from external sources in a video component.\n language_code: language code of a video transcript\n metadata (dict): A dict containing (to be overwritten) pro... | 197 | false | edx/edx-val | create_or_update_video_transcript | 4,460 | |
LDU_FT/lucasmaystre/choix/compare | LDU_FT | [
"<BEGIN>\n## `_init_lsr`",
"Initialize the LSR Markov chain and the weights.\n<END>",
"<BEGIN>\n## `_ilsr`",
"Iteratively refine LSR estimates until convergence.",
" Raises\n ------\n RuntimeError\n If the algorithm does not converge after ``max_iter`` iterations.\n<END>",
"<BEGIN>\n## `ls... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compare API.
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 compare API.
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... | Generate a comparison outcome that follows Luce's axiom.
This function samples an outcome for the comparison of a subset of items,
from a model parametrized by ``params``. If ``rank`` is True, it returns a
ranking over the items, otherwise it returns a single item.
Parameters
----------
items ... | "Generate a comparison outcome that follows Luce's axiom.\n\n This function samples an outcome for the comparison of a subset of items,\n from a model parametrized by ``params``. If ``rank`` is True, it returns a\n ranking over the items, otherwise it returns a single item.\n\n Parameters\n ----------\n ... | 211 | false | lucasmaystre/choix | compare | 4,461 | |
LDU_FT/thomasantony/simplepipe/run_task | LDU_FT | [
"<BEGIN>\n## `validate_task`",
"Validates task and adds default values for missing options using the\n following steps.",
" 1. If there is no input list specified or if it is None, the input spec is\n assumed to be ['*'].",
" 2. If there are not outputs specified, or if the output spec is None ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_task API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_task API.
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... | Runs the task and updates the workspace with results.
Parameters
----------
task - dict
Task Description
Examples:
{'task': task_func, 'inputs': ['a', 'b'], 'outputs': 'c'}
{'task': task_func, 'inputs': '*', 'outputs': '*'}
{'task': task_func, 'inputs': ['*','a'], 'outputs': 'b'}
... | "Runs the task and updates the workspace with results.\n\n Parameters\n ----------\n task - dict\n Task Description\n\n Examples:\n {'task': task_func, 'inputs': ['a', 'b'], 'outputs': 'c'}\n {'task': task_func, 'inputs': '*', 'outputs': '*'}\n {'task': task_func, 'inputs': ['*','a'], 'outpu... | 26 | false | thomasantony/simplepipe | run_task | 4,462 | |
LDU_FT/contains-io/typet/is_file | LDU_FT | [
"<BEGIN>\n## `_get_bases`",
"Get the base and meta classes to use in creating a subclass.",
" Args:\n type_: The type to subclass.",
" Returns:\n A tuple containing two values: a base class, and a metaclass.\n<END>",
"<BEGIN>\n## `_instantiate`",
"Instantiate the object... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_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 extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_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 extracted... | Determine if a Path or string is a file on the file system. | "Determine if a Path or string is a file on the file system." | 78 | false | contains-io/typet | is_file | 4,463 | |
LDU_FT/OpenGov/carpenter/get_cell_type | LDU_FT | [
"<BEGIN>\n## `get_cell_type`",
"Returns a type to be used in table cell analysis. This is either\n 'basestring' or '(int, float)'.\n<END>",
"<BEGIN>\n## `check_cell_type`",
"Checks the cell type to see if it represents the cell_type passed in.",
" Args:\n cell_type: The type id for a cell match... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cell_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cell_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 ext... | Returns a type to be used in table cell analysis. This is either
'basestring' or '(int, float)'. | "Returns a type to be used in table cell analysis. This is either\n 'basestring' or '(int, float)'." | 123 | false | OpenGov/carpenter | get_cell_type | 4,464 | |
LDU_FT/nkavaldj/myhdl_lib/fifo_async | LDU_FT | [
"<BEGIN>\n## `convert_ram_sp_ar`",
"Convert RAM: Single-Port, Asynchronous Read\n<END>",
"<BEGIN>\n## `convert_ram_sdp_rf`",
"Convert RAM: Simple-Dual-Port, Read-First\n<END>",
"<BEGIN>\n## `convert_ram_sdp_wf`",
"Convert RAM: Simple-Dual-Port, Write-First\n<END>",
"<BEGIN>\n## `convert_ram_sdp_ar`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fifo_async API.
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 fifo_async API.
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... | Asynchronous FIFO
Implements the design described in:
Clifford E. Cummings, "Simulation and Synthesis Techniques for Asynchronous FIFO Design," SNUG 2002 (Synopsys
Users Group Conference, San Jose, CA, 2002) User Papers, March 2002, Section TB2, 2nd paper. Also available at
... | "Asynchronous FIFO\n\n Implements the design described in:\n Clifford E. Cummings, \"Simulation and Synthesis Techniques for Asynchronous FIFO Design,\" SNUG 2002 (Synopsys\n Users Group Conference, San Jose, CA, 2002) User Papers, March 2002, Section TB2, 2nd paper. Also available at\n ... | 111 | false | nkavaldj/myhdl_lib | fifo_async | 4,465 | |
LDU_FT/baliame/http-hmac-python/get_response_signer | LDU_FT | [
"<BEGIN>\n## `signable`",
"Creates the signable string for a request and returns it.",
" Keyword arguments:\n request -- A request object which can be consumed by this API.\n authheaders -- A string-indexable object which contains the headers appropriate for this signature version.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_response_signer 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_response_signer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Returns the response signer for this version of the signature. | "Returns the response signer for this version of the signature." | 81 | false | baliame/http-hmac-python | get_response_signer | 4,466 | |
LDU_FT/mwshinn/paranoidscientist/TypeFactory | LDU_FT | [
"<BEGIN>\n## `accepts`",
"A function decorator to specify argument types of the function.",
" Types may be specified either in the order that they appear in the\n function or via keyword arguments (just as if you were calling the\n function).",
" Example usage:",
" | @accepts(Positive0)\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the TypeFactory API.
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 TypeFactory API.
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... | Ensure `v` is a valid Type.
This function is used to convert user-specified types into
internal types for the verification engine. It allows Type
subclasses, Type subclass instances, Python type, and user-defined
classes to be passed. Returns an instance of the type of `v`.
Users should never ac... | "Ensure `v` is a valid Type.\n\n This function is used to convert user-specified types into\n internal types for the verification engine. It allows Type\n subclasses, Type subclass instances, Python type, and user-defined\n classes to be passed. Returns an instance of the type of `v`.\n\n Users should ... | 68 | false | mwshinn/paranoidscientist | TypeFactory | 4,467 | |
LDU_FT/OCA/vertical-hotel/on_change_check_out | LDU_FT | [
"<BEGIN>\n## `_offset_format_timestamp1`",
"Convert a source timeStamp string into a destination timeStamp string,\n attempting to apply the correct offset if both the server and local\n timeZone are recognized,or no offset at all if they aren't or if\n tz_offset is false (i.e. assuming they are both in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_change_check_out 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 on_change_check_out 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... | When you change checkout or checkin it will check whether
Checkout date should be greater than Checkin date
and update dummy field
-----------------------------------------------------------
@param self: object pointer
@return: raise warning depending on the validation | "When you change checkout or checkin it will check whether\n Checkout date should be greater than Checkin date\n and update dummy field\n -----------------------------------------------------------\n @param self: object pointer\n @return: raise warning depending on the validation" | 71 | false | OCA/vertical-hotel | on_change_check_out | 4,468 | |
LDU_FT/mapmyfitness/jtime/log | LDU_FT | [
"<BEGIN>\n## `get_input`",
"Get input from the user given an input function and an input string\n<END>",
"<BEGIN>\n## `working_cycletime`",
"Get the working time between a beginning and an end point subtracting out non-office time\n<END>",
"<BEGIN>\n## `status`",
"Gets the worklog status for the current b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log API.
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 log API.
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... | Log time against the current active issue | "Log time against the current active issue" | 36 | false | mapmyfitness/jtime | log | 4,469 | |
LDU_FT/bioidiap/bob.ip.facedetect/load | LDU_FT | [
"<BEGIN>\n## `add`",
"Adds a new strong classifier with the given threshold to the cascade.",
" **Parameters:**",
" classifier : :py:class:`bob.learn.boosting.BoostedMachine`\n A strong classifier to add",
" ``threshold`` : float\n The classification threshold for this cascade step",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Loads this cascade from the given HDF5 file.
**Parameters:**
``hdf5`` : :py:class:`bob.io.base.HDF5File`
An HDF5 file open for reading | "Loads this cascade from the given HDF5 file.\n\n **Parameters:**\n\n ``hdf5`` : :py:class:`bob.io.base.HDF5File`\n An HDF5 file open for reading" | 246 | false | bioidiap/bob.ip.facedetect | load | 4,470 | |
LDU_FT/glomex/gcdt/cfn_viz | LDU_FT | [
"<BEGIN>\n## `list_functions`",
"List the deployed lambda functions and print configuration.",
" :return: exit_code\n<END>",
"<BEGIN>\n## `deploy_lambda`",
"Create or update a lambda function.",
" :param awsclient:\n :param function_name:\n :param role:\n :param handler_filename:\n :para... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cfn_viz API.
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 cfn_viz API.
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... | Render dot output for cloudformation.template in json format. | "Render dot output for cloudformation.template in json format." | 301 | false | glomex/gcdt | cfn_viz | 4,471 | |
LDU_FT/gtalarico/airtable-python-wrapper/insert | LDU_FT | [
"<BEGIN>\n## `to_param_dict`",
"Sorts to ensure Order is consistent for Testing\n<END>",
"<BEGIN>\n## `_discover_params`",
"Returns a dict where filter keyword is key, and class is value.\r\n To handle param alias (maxRecords or max_records), both versions are\r\n added.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert API.
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 insert API.
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 ... | Inserts a record
>>> record = {'Name': 'John'}
>>> airtable.insert(record)
Args:
fields(``dict``): Fields to insert.
Must be dictionary with Column names as Key.
typecast(``boolean``): Automatic data conversion from string values.
Retu... | "Inserts a record\r\n\r\n >>> record = {'Name': 'John'}\r\n >>> airtable.insert(record)\r\n\r\n Args:\r\n fields(``dict``): Fields to insert.\r\n Must be dictionary with Column names as Key.\r\n typecast(``boolean``): Automatic data conversion from string values... | 90 | false | gtalarico/airtable-python-wrapper | insert | 4,472 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.