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/getfleety/coralillo/get_or_exception | LDU_FT | [
"<BEGIN>\n## `snake_case`",
"Takes a string that represents for example a class name and returns\n the snake case version of it. It is used for model-to-key conversion\n<END>",
"<BEGIN>\n## `value_or_default`",
"Returns the given value or the specified default value for this\n field\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_or_exception API.
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_or_exception API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Tries to retrieve an instance of this model from the database or
raises an exception in case of failure | "Tries to retrieve an instance of this model from the database or\n raises an exception in case of failure" | 62 | false | getfleety/coralillo | get_or_exception | 18,873 | |
LDU_FT/hatemile/hatemile-for-python/_get_skippers | LDU_FT | [
"<BEGIN>\n## `_get_shortcut_prefix`",
"Returns the shortcut prefix of browser.",
" :param user_agent: The user agent of browser.\n :type user_agent: str\n :param standart_prefix: The default prefix.\n :type standart_prefix: str\n :return: The shortcut prefix of browser.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_skippers API.
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_skippers API.
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 the skippers of configuration.
:param configure: The configuration of HaTeMiLe.
:type configure: hatemile.util.configure.Configure
:param file_name: The file path of skippers configuration.
:type file_name: str
:return: The skippers of configuration.
:rtype: list... | "Returns the skippers of configuration.\n\n :param configure: The configuration of HaTeMiLe.\n :type configure: hatemile.util.configure.Configure\n :param file_name: The file path of skippers configuration.\n :type file_name: str\n :return: The skippers of configuration.\n :rty... | 202 | false | hatemile/hatemile-for-python | _get_skippers | 18,874 | |
LDU_FT/kervi/kervi-devices/read_sealevel_pressure | LDU_FT | [
"<BEGIN>\n## `read_raw_temp`",
"Reads the raw (uncompensated) temperature from the sensor.\n<END>",
"<BEGIN>\n## `read_raw_pressure`",
"Reads the raw (uncompensated) pressure level from the sensor.\n<END>",
"<BEGIN>\n## `read_temperature`",
"Gets the compensated temperature in degrees celsius.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_sealevel_pressure 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 read_sealevel_pressure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Calculates the pressure at sealevel when given a known altitude in
meters. Returns a value in Pascals. | "Calculates the pressure at sealevel when given a known altitude in\n meters. Returns a value in Pascals." | 58 | false | kervi/kervi-devices | read_sealevel_pressure | 18,875 | |
LDU_FT/minorg/pastpy/read | LDU_FT | [
"<BEGIN>\n## `read`",
"Read a new object from the given input protocol and return the object.",
" :type iprot: thryft.protocol._input_protocol._InputProtocol\n :rtype: pastpy.gen.database.impl.dbf.objects_dbf_record.ObjectsDbfRecord\n<END>",
"<BEGIN>\n## `write`",
"Write this object to the giv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Read a new object from the given input protocol and return the object.
:type iprot: thryft.protocol._input_protocol._InputProtocol
:rtype: pastpy.gen.database.impl.online.online_database_object_detail_image.OnlineDatabaseObjectDetailImage | "Read a new object from the given input protocol and return the object.\n\n :type iprot: thryft.protocol._input_protocol._InputProtocol\n :rtype: pastpy.gen.database.impl.online.online_database_object_detail_image.OnlineDatabaseObjectDetailImage" | 42 | false | minorg/pastpy | read | 18,876 | |
LDU_FT/pytroll/satpy/save_dataset | LDU_FT | [
"<BEGIN>\n## `_get_coarse_dataset`",
"Get the coarse dataset refered to by `key` from the XML data.\n<END>",
"<BEGIN>\n## `get_dataset`",
"Get output data and metadata of specified dataset.\n<END>",
"<BEGIN>\n## `find_coefficient_index`",
"Return index in to coefficient arrays for this band's wavelength."... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_dataset API.
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 save_dataset API.
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... | Save the *dataset_id* to file using *writer* (default: geotiff). | "Save the *dataset_id* to file using *writer* (default: geotiff)." | 924 | false | pytroll/satpy | save_dataset | 18,877 | |
LDU_FT/Kozea/pygal/split_title | LDU_FT | [
"<BEGIN>\n## `erfinv`",
"Approximation of the inverse error function\n https://en.wikipedia.org/wiki/Error_function\n #Approximation_with_elementary_functions\n<END>",
"<BEGIN>\n## `confidence_interval_continuous`",
"Continuous confidence interval from sample size and standard error\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_title API.
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 split_title API.
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... | Split a string for a specified width and font size | "Split a string for a specified width and font size" | 147 | false | Kozea/pygal | split_title | 18,878 | |
LDU_FT/dfunckt/django-connections/get_model | LDU_FT | [
"<BEGIN>\n## `get_connection_distance`",
"Calculates the distance between the two given objects for the given\n relationship. See `connections.models.Relationship` for more info.",
" {% get_connection_distance 'relationship_name' obj1 obj2 as distance %}\n {% get_connection_distance 'relationsh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Given a model name as ``app_label.ModelName``, returns the Django model. | "Given a model name as ``app_label.ModelName``, returns the Django model." | 25 | false | dfunckt/django-connections | get_model | 18,879 | |
LDU_FT/tweekmonster/moult/ast_value | LDU_FT | [
"<BEGIN>\n## `load_stdlib`",
"Scans sys.path for standard library modules.\n<END>",
"<BEGIN>\n## `import_path_from_file`",
"Returns a tuple of the import path and root module directory for the\n supplied file.\n<END>",
"<BEGIN>\n## `file_containing_import`",
"Finds the file that might contain the impor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ast_value API.
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 ast_value API.
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... | Recursively parse out an AST value. This makes no attempt to load
modules or reconstruct functions on purpose. We do not want to
inadvertently call destructive code. | "Recursively parse out an AST value. This makes no attempt to load\n modules or reconstruct functions on purpose. We do not want to\n inadvertently call destructive code." | 34 | false | tweekmonster/moult | ast_value | 18,880 | |
LDU_FT/zerok/zs.bibtex/parse_file | LDU_FT | [
"<BEGIN>\n## `register`",
"Register a new type for an entry-type. The 2nd argument has to be a\n subclass of structures.Entry.\n<END>",
"<BEGIN>\n## `validate`",
"Validates each entry (passing the provided arguments down to them and\n also tries to resolve all cross-references between the entrie... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extrac... | Tries to parse a given filepath or fileobj into a Bibliography instance. If
``validate`` is passed as keyword argument and set to ``True``, the
Bibliography will be validated using the standard rules. | "Tries to parse a given filepath or fileobj into a Bibliography instance. If\n ``validate`` is passed as keyword argument and set to ``True``, the\n Bibliography will be validated using the standard rules." | 21 | false | zerok/zs.bibtex | parse_file | 18,881 | |
LDU_FT/tobami/littlechef/get_cookbook_path | LDU_FT | [
"<BEGIN>\n## `save_config`",
"Saves node configuration\n if no nodes/hostname.json exists, or force=True, it creates one\n it also saves to tmp_node.json\n<END>",
"<BEGIN>\n## `_get_ipaddress`",
"Adds the ipaddress attribute to the given node object if not already\n present and it is correctly given ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cookbook_path API.
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_cookbook_path API.
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 path to the cookbook for the given cookbook name | "Returns path to the cookbook for the given cookbook name" | 96 | false | tobami/littlechef | get_cookbook_path | 18,882 | |
LDU_FT/donovan-duplessis/pwnurl/timestamp | LDU_FT | [
"<BEGIN>\n## `timestamp`",
"Return current datetime with timezone applied\n [all timezones] print sorted(pytz.all_timezones)\n<END>",
"<BEGIN>\n## `module_functions`",
"Return ordered dictionary of all functions declared in module\n<END>",
"<BEGIN>\n## `saveform`",
"Create and save form model data ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timestamp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timestamp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return current datetime with timezone applied
[all timezones] print sorted(pytz.all_timezones) | "Return current datetime with timezone applied\n [all timezones] print sorted(pytz.all_timezones)" | 12 | false | donovan-duplessis/pwnurl | timestamp | 18,883 | |
LDU_FT/globocom/GloboNetworkAPI-client-python/find_ip6_by_network | LDU_FT | [
"<BEGIN>\n## `deploy`",
"Deploy network in equipments and set column 'active = 1' in tables redeipv4",
" :param id_networkv4: ID for NetworkIPv4",
" :return: Equipments configuration output\n<END>",
"<BEGIN>\n## `get_by_id`",
"Get IPv4 network",
" :param id_networkv4: ID for Network... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_ip6_by_network 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 find_ip6_by_network 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... | List IPv6 from network.
:param id_network: Network ipv6 identifier. Integer value and greater than zero.
:return: Dictionary with the following structure:
::
{'ip': {'id': < id >,
'id_vlan': < id_vlan >,
'block1': <block1>,
'block2': <block2>,
... | "List IPv6 from network.\n\n :param id_network: Network ipv6 identifier. Integer value and greater than zero.\n\n :return: Dictionary with the following structure:\n\n ::\n\n {'ip': {'id': < id >,\n 'id_vlan': < id_vlan >,\n 'block1': <block1>,\n 'block2'... | 1,966 | true | globocom/GloboNetworkAPI-client-python | find_ip6_by_network | 18,884 | |
LDU_FT/semiversus/python-broqer/cast | LDU_FT | [
"<BEGIN>\n## `build_sink`",
"Decorator to wrap a function to return a Sink subscriber.",
" :param function: function to be wrapped\n :param unpack: value from emits will be unpacked (*value)\n<END>",
"<BEGIN>\n## `build_map`",
"Decorator to wrap a function to return a Map operator.",
" :param fun... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cast API.
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 cast API.
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... | Cast a string to the value based on the datatype | "Cast a string to the value based on the datatype" | 65 | false | semiversus/python-broqer | cast | 18,885 | |
LDU_FT/PyAr/fades/_get_normalized_args | LDU_FT | [
"<BEGIN>\n## `consolidate_dependencies`",
"Parse files, get deps and merge them. Deps read later overwrite those read earlier.\n<END>",
"<BEGIN>\n## `decide_child_program`",
"Decide which the child program really is (if any).\n<END>",
"<BEGIN>\n## `detect_inside_virtualenv`",
"Tell if fades is running ins... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_normalized_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_normalized_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Return the parsed command line arguments.
Support the case when executed from a shebang, where all the
parameters come in sys.argv[1] in a single string separated
by spaces (in this case, the third parameter is what is being
executed) | "Return the parsed command line arguments.\n\n Support the case when executed from a shebang, where all the\n parameters come in sys.argv[1] in a single string separated\n by spaces (in this case, the third parameter is what is being\n executed)" | 85 | false | PyAr/fades | _get_normalized_args | 18,886 | |
LDU_FT/volafiled/python-volapi/reraise | LDU_FT | [
"<BEGIN>\n## `register_callback`",
"Register callback that we will have to wait for\n<END>",
"<BEGIN>\n## `_handle_callback`",
"Handle lain's callback. Only used with getFileinfo so far\n<END>",
"<BEGIN>\n## `_handle_config`",
"Handle initial config push and config changes\n<END>",
"<BEGIN>\n## `find_ve... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reraise API.
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 reraise API.
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... | Reraise an exception passed by the event thread | "Reraise an exception passed by the event thread" | 78 | false | volafiled/python-volapi | reraise | 18,887 | |
LDU_FT/quantmind/dynts/register | LDU_FT | [
"<BEGIN>\n## `jstimestamp_slow`",
"Convert a date or datetime object into a javsacript timestamp\n<END>",
"<BEGIN>\n## `jstimestamp`",
"Convert a date or datetime object into a javsacript timestamp.\n<END>",
"<BEGIN>\n## `rolling`",
"Fast rolling operation with O(log n) updates where n is the\n win... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Register a new data provider. *provider* must be an instance of
DataProvider. If provider name is already available, it will be replaced. | "Register a new data provider. *provider* must be an instance of\r\n DataProvider. If provider name is already available, it will be replaced." | 159 | false | quantmind/dynts | register | 18,888 | |
LDU_FT/elkan1788/ppytools/timemeter | LDU_FT | [
"<BEGIN>\n## `zipFile`",
"Compress file under zip mode\n when compress failed with return source path\n :param source: source file path\n :return: zip file path\n<END>",
"<BEGIN>\n## `tarFile`",
"Compress file under tar mode\n which type more popular use in Unix operating system\n w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timemeter API.
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 timemeter API.
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... | Timer meter
Use this annotation method can calculate the execute time.
:param msg: custom message output
:return: fn values | "Timer meter\n\n Use this annotation method can calculate the execute time.\n :param msg: custom message output\n :return: fn values" | 23 | false | elkan1788/ppytools | timemeter | 18,889 | |
LDU_FT/tariqdaouda/pyGeno/findAll | LDU_FT | [
"<BEGIN>\n## `getGenomeList`",
"Return the names of all imported genomes\n<END>",
"<BEGIN>\n## `removeDuplicates`",
"removes duplicated lines from a 'inFileName' CSV file, the results are witten in 'outFileName\n<END>",
"<BEGIN>\n## `catCSVs`",
"Concatenates all csv in 'folder' and wites the results in 'o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the findAll API.
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 findAll API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Same as find but returns a list of all occurences | "Same as find but returns a list of all occurences" | 167 | false | tariqdaouda/pyGeno | findAll | 18,890 | |
LDU_FT/datadesk/slackdown/_remove_pre_formatting | LDU_FT | [
"<BEGIN>\n## `render`",
"Accepts Slack formatted text and returns HTML.\n<END>",
"<BEGIN>\n## `_open_list`",
"Add an open list tag corresponding to the specification in the\n parser's LIST_TYPES.\n<END>",
"<BEGIN>\n## `_close_list`",
"Add an close list tag corresponding to the currently open\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _remove_pre_formatting API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _remove_pre_formatting API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Removes formatting tags added to pre elements. | "Removes formatting tags added to pre elements." | 24 | false | datadesk/slackdown | _remove_pre_formatting | 18,891 | |
LDU_FT/fabioz/PyDev.Debugger/do_be | 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 do_be API.
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 do_be API.
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... | [~process] be <address> - enable a code breakpoint
[~thread] be <address> - enable a hardware breakpoint
[~process] be <address-address> - enable a memory breakpoint
[~process] be <address> <size> - enable a memory breakpoint | "[~process] be <address> - enable a code breakpoint\n [~thread] be <address> - enable a hardware breakpoint\n [~process] be <address-address> - enable a memory breakpoint\n [~process] be <address> <size> - enable a memory breakpoint" | 3,640 | true | fabioz/PyDev.Debugger | do_be | 18,892 | |
LDU_FT/ga4gh/ga4gh-server/addExpression | LDU_FT | [
"<BEGIN>\n## `VerifierMiddleware`",
"Common wrapper for the authentication modules.\n * Parses the request before passing it on to the authentication module.\n * Sets 'pyoidc' cookie if authentication succeeds.\n * Redirects the user to complete the authentication.\n * Allows the user ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addExpression API.
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 addExpression API.
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... | Adds an Expression to the db. Datafields is a tuple in the order:
id, rna_quantification_id, name, expression,
is_normalized, raw_read_count, score, units, conf_low, conf_hi | "Adds an Expression to the db. Datafields is a tuple in the order:\n id, rna_quantification_id, name, expression,\n is_normalized, raw_read_count, score, units, conf_low, conf_hi" | 768 | false | ga4gh/ga4gh-server | addExpression | 18,893 | |
LDU_FT/kdeldycke/maildir-deduplicate/long_description | LDU_FT | [
"<BEGIN>\n## `check_differences`",
"In-depth check of mail differences.",
" Compare all mails of the duplicate set with each other, both in size\n and content. Raise an error if we're not within the limits imposed by\n the threshold setting.\n<END>",
"<BEGIN>\n## `diff`",
"Return differ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the long_description API.
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 long_description API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Collates project README and latest changes. | "Collates project README and latest changes." | 68 | false | kdeldycke/maildir-deduplicate | long_description | 18,894 | |
LDU_FT/brentpayne/phrase/_add_phrase | LDU_FT | [
"<BEGIN>\n## `add`",
"Adds a new word to the WordList and assigns it an id. If id is set,\n :param word: The word token\n :param id: (Optional) The token id can be set, but bypasses the automatic id assignment. Only specify the id\n if you plan to specify it on all add calls.\n :re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_phrase API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_phrase API.
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... | Adds a phrase to a phrase dictionary.
:param phrase: list of tokens
:param phrase_id: phrase id
:param dictionary: phrase dictionary
:return: new phrase dictionary | "Adds a phrase to a phrase dictionary.\n :param phrase: list of tokens\n :param phrase_id: phrase id\n :param dictionary: phrase dictionary\n :return: new phrase dictionary" | 21 | false | brentpayne/phrase | _add_phrase | 18,895 | |
LDU_FT/twisted/epsilon/asRFC2822 | LDU_FT | [
"<BEGIN>\n## `main`",
"Create a private key and a certificate and write them to a file.\n<END>",
"<BEGIN>\n## `setTimeout`",
"Change the timeout period",
" @type period: C{int} or C{NoneType}\n @param period: The period, in seconds, to change the timeout to, or\n C{None} to disable the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the asRFC2822 API.
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 asRFC2822 API.
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 this Time formatted as specified in RFC 2822.
RFC 2822 specifies the format of email messages.
RFC 2822 says times in email addresses should reflect the local
timezone. If tzinfo is a datetime.tzinfo instance, the returned
formatted string will reflect that timezone. Otherwise, ... | "Return this Time formatted as specified in RFC 2822.\n\n RFC 2822 specifies the format of email messages.\n\n RFC 2822 says times in email addresses should reflect the local\n timezone. If tzinfo is a datetime.tzinfo instance, the returned\n formatted string will reflect that timezone. Othe... | 217 | false | twisted/epsilon | asRFC2822 | 18,896 | |
LDU_FT/berkeley-cocosci/Wallace/mutate | LDU_FT | [
"<BEGIN>\n## `submission_successful`",
"Run when a participant submits successfully.\n<END>",
"<BEGIN>\n## `summary`",
"Summarize the participants' status codes.\n<END>",
"<BEGIN>\n## `experiment_property`",
"Get a property of the experiment by name.\n<END>",
"<BEGIN>\n## `ad_address`",
"Get the addre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mutate API.
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 mutate API.
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 ... | Replicate an info + mutation.
To mutate an info, that info must have a method called
``_mutated_contents``. | "Replicate an info + mutation.\n\n To mutate an info, that info must have a method called\n ``_mutated_contents``." | 118 | false | berkeley-cocosci/Wallace | mutate | 18,897 | |
LDU_FT/EelcoHoogendoorn/Numpy_arraysetops_EP/mean | LDU_FT | [
"<BEGIN>\n## `group_by`",
"construct a grouping object on the given keys, optionally performing the given reduction on the given values",
" Parameters\n ----------\n keys : indexable object\n keys to group by\n values : array_like, optional\n sequence of values, of the same length as k... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mean API.
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 mean API.
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... | compute the mean over each group
Parameters
----------
values : array_like, [keys, ...]
values to take average of per group
axis : int, optional
alternative reduction axis for values
weights : ndarray, [keys, ...], optional
weight to use for e... | "compute the mean over each group\n\n Parameters\n ----------\n values : array_like, [keys, ...]\n values to take average of per group\n axis : int, optional\n alternative reduction axis for values\n weights : ndarray, [keys, ...], optional\n weight to... | 198 | false | EelcoHoogendoorn/Numpy_arraysetops_EP | mean | 18,898 | |
LDU_FT/wheerd/multiset/difference_update | LDU_FT | [
"<BEGIN>\n## `isdisjoint`",
"r\"\"\"Return True if the set has no elements in common with other.",
" Sets are disjoint iff their intersection is the empty set.",
" >>> ms = Multiset('aab')\n >>> ms.isdisjoint('bc')\n False\n >>> ms.isdisjoint(Multiset('ccd'))\n True",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the difference_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the difference_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... | r"""Remove all elements contained the others from this multiset.
>>> ms = Multiset('aab')
>>> ms.difference_update('abc')
>>> sorted(ms)
['a']
You can also use the ``-=`` operator for the same effect. However, the operator version
will only accept a set as other operato... | "r\"\"\"Remove all elements contained the others from this multiset.\n\n >>> ms = Multiset('aab')\n >>> ms.difference_update('abc')\n >>> sorted(ms)\n ['a']\n\n You can also use the ``-=`` operator for the same effect. However, the operator version\n will only accept a set as o... | 117 | false | wheerd/multiset | difference_update | 18,899 | |
LDU_FT/welbornprod/colr/from_str | LDU_FT | [
"<BEGIN>\n## `main`",
"Main entry point, expects doctopt arg dict as argd.\n<END>",
"<BEGIN>\n## `print_err`",
"A wrapper for print() that uses stderr by default.\n<END>",
"<BEGIN>\n## `walk_dir_animated`",
"Walk a directory, printing status updates along the way.\n<END>",
"<BEGIN>\n## `walk_dir_progres... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_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 from_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... | Create progress bar frames from a single string.
The frames simulate growth, from an empty string to the final
string (`s`).
Arguments:
s : Final string for a complete progress bar.
name : Name for the new BarSet.
fill_c... | "Create progress bar frames from a single string.\n The frames simulate growth, from an empty string to the final\n string (`s`).\n\n Arguments:\n s : Final string for a complete progress bar.\n name : Name for the new BarSet.\n ... | 316 | false | welbornprod/colr | from_str | 18,900 | |
LDU_FT/Azure/azure-cli-extensions/ads_remove_dev_spaces | LDU_FT | [
"<BEGIN>\n## `_retry`",
"A function which determines whether and how to retry.",
" :param ~azure.storage.models.RetryContext context: \n The retry context. This contains the request, response, and other data \n which can be used to determine whether or not to retry.\n :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ads_remove_dev_spaces 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 ads_remove_dev_spaces API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Remove Azure Dev Spaces from a managed Kubernetes cluster.
:param cluster_name: Name of the managed cluster.
:type cluster_name: String
:param resource_group_name: Name of resource group. You can configure the default group. \
Using 'az configure --defaults group=<name>'.
:type resource_group_name:... | "Remove Azure Dev Spaces from a managed Kubernetes cluster.\n\n :param cluster_name: Name of the managed cluster.\n :type cluster_name: String\n :param resource_group_name: Name of resource group. You can configure the default group. \\\n Using 'az configure --defaults group=<name>'.\n :type resource_gro... | 472 | false | Azure/azure-cli-extensions | ads_remove_dev_spaces | 18,901 | |
LDU_FT/etcher-be/elib_miz/error | LDU_FT | [
"<BEGIN>\n## `reorder`",
"Re-orders a miz file into a folder (flattened)",
" Args:\n miz_file_path: source miz file\n target_dir: folder to flatten the content into\n skip_options_file: do not re-order option file\n<END>",
"<BEGIN>\n## `decode`",
"Decodes the mission ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Outputs error message on own logger. Also raises exceptions if need be.
Args:
error_msg: message to output | "Outputs error message on own logger. Also raises exceptions if need be.\n\n Args:\n error_msg: message to output" | 100 | false | etcher-be/elib_miz | error | 18,902 | |
LDU_FT/ThreatResponse/aws_ir_plugins/_locate_file | LDU_FT | [
"<BEGIN>\n## `setup`",
"Method runs the plugin attaching policies to the user in question\n<END>",
"<BEGIN>\n## `_get_policies`",
"Returns all the policy names for a given user\n<END>",
"<BEGIN>\n## `_locate_file`",
"Locate all files matching supplied filename pattern in and below",
" supplied ro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _locate_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _locate_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Locate all files matching supplied filename pattern in and below
supplied root directory. | "Locate all files matching supplied filename pattern in and below\n\n supplied root directory." | 12 | false | ThreatResponse/aws_ir_plugins | _locate_file | 18,903 | |
LDU_FT/classam/silly/city | LDU_FT | [
"<BEGIN>\n## `_slugify`",
"This is not as good as a proper slugification function, but the input space is limited",
" >>> _slugify(\"beets\")\n 'beets'\n >>> _slugify(\"Toaster Strudel\")\n 'toaster-strudel'",
" Here's why: It handles very little. It doesn't handle esoteric whitespace or symbol... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the city API.
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 city API.
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... | Produce a city name
>>> mock_random.seed(0)
>>> city(random=mock_random)
'east mysteryhall'
>>> city(random=mock_random, capitalize=True)
'Birmingchimp'
>>> city(random=mock_random, slugify=True)
'wonderfulsecretsound' | "Produce a city name\n\n >>> mock_random.seed(0)\n >>> city(random=mock_random)\n 'east mysteryhall'\n >>> city(random=mock_random, capitalize=True)\n 'Birmingchimp'\n >>> city(random=mock_random, slugify=True)\n 'wonderfulsecretsound'" | 80 | false | classam/silly | city | 18,904 | |
LDU_FT/glitchassassin/lackey/setLocation | LDU_FT | [
"<BEGIN>\n## `_check_count`",
"Private function to return ctypes errors cleanly\n<END>",
"<BEGIN>\n## `getScreenBounds`",
"Returns the screen size of the specified monitor (0 being the main monitor).\n<END>",
"<BEGIN>\n## `getScreenDetails`",
"Return list of attached monitors",
" For each monitor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setLocation API.
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 setLocation API.
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... | Change the upper left-hand corner to a new ``Location``
Doesn't change width or height | "Change the upper left-hand corner to a new ``Location``\n\n Doesn't change width or height" | 378 | false | glitchassassin/lackey | setLocation | 18,905 | |
LDU_FT/daknuett/py_register_machine2/getvalue | LDU_FT | [
"<BEGIN>\n## `int_to_bytes`",
".. _int_to_bytes:",
"\tConverts the ``int`` ``int_`` to a ``bytes`` object.\n\t``len(result) == width``.",
"\tIf ``width`` is None, a number of bytes that is able to hold the\n\tnumber is choosen, depending on ``int_.bit_length()``.",
"\tSee also: bytes_to_int_\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getvalue API.
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 getvalue API.
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... | .. _getvalue:
Get the signed value of the Integer, truncate it and handle Overflows. | ".. _getvalue:\n\n\t\tGet the signed value of the Integer, truncate it and handle Overflows." | 154 | false | daknuett/py_register_machine2 | getvalue | 18,906 | |
LDU_FT/insomnia-lab/libreant/_load_preset | LDU_FT | [
"<BEGIN>\n## `get_def_conf`",
"return default configurations as simple dict\n<END>",
"<BEGIN>\n## `_load_paths`",
"Goes recursevly through the given list of paths\n in order to find and pass all preset files to ```_load_preset()```\n<END>",
"<BEGIN>\n## `_load_preset`",
"load, validate and store a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_preset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_preset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | load, validate and store a single preset file | "load, validate and store a single preset file" | 150 | false | insomnia-lab/libreant | _load_preset | 18,907 | |
LDU_FT/zerok/zs.bibtex/validate | LDU_FT | [
"<BEGIN>\n## `register`",
"Register a new type for an entry-type. The 2nd argument has to be a\n subclass of structures.Entry.\n<END>",
"<BEGIN>\n## `validate`",
"Validates each entry (passing the provided arguments down to them and\n also tries to resolve all cross-references between the entrie... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Validates each entry (passing the provided arguments down to them and
also tries to resolve all cross-references between the entries. | "Validates each entry (passing the provided arguments down to them and\n also tries to resolve all cross-references between the entries." | 21 | false | zerok/zs.bibtex | validate | 18,908 | |
LDU_FT/wglass/lighthouse/validate_config | LDU_FT | [
"<BEGIN>\n## `get_installed_classes`",
"Iterates over installed plugins associated with the `entry_point` and\n returns a dictionary of viable ones keyed off of their names.",
" A viable installed plugin is one that is both loadable *and* a subclass\n of the Pluggable subclass in question.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_config API.
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 validate_config API.
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... | Validates a config dictionary parsed from a cluster config file.
Checks that a discovery method is defined and that at least one of
the balancers in the config are installed and available. | "Validates a config dictionary parsed from a cluster config file.\n\n Checks that a discovery method is defined and that at least one of\n the balancers in the config are installed and available." | 231 | false | wglass/lighthouse | validate_config | 18,909 | |
LDU_FT/mediawiki-utilities/python-mwtypes/from_string | LDU_FT | [
"<BEGIN>\n## `initialize`",
"Contributing user's identifier : int | None\n<END>",
"<BEGIN>\n## `reader`",
"Turns a path to a dump file into a file-like object of (decompressed)\n XML data assuming that '7z' is installed and will know what to do.",
" :Parameters:\n path : `str`\n the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Constructs a :class:`mw.Timestamp` from a MediaWiki formatted string.
This method is provides a convenient way to construct from common
MediaWiki timestamp formats. E.g., ``%Y%m%d%H%M%S`` and
``%Y-%m-%dT%H:%M:%SZ``.
:Parameters:
string : str
A formatted times... | "Constructs a :class:`mw.Timestamp` from a MediaWiki formatted string.\n This method is provides a convenient way to construct from common\n MediaWiki timestamp formats. E.g., ``%Y%m%d%H%M%S`` and\n ``%Y-%m-%dT%H:%M:%SZ``.\n\n :Parameters:\n string : str\n A formatt... | 41 | false | mediawiki-utilities/python-mwtypes | from_string | 18,910 | |
LDU_FT/avanwyk/cipy/update_fitness | LDU_FT | [
"<BEGIN>\n## `dictionary_based_metrics`",
"Higher order function creating a result type and collection function from\n the given metrics.",
" Args:\n metrics (iterable): Sequence of callable metrics, each\n accepting the algorithm state as parameter and returning the\n measure... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_fitness API.
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 update_fitness API.
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... | Calculates and updates the fitness and best_fitness of a particle.
Fitness is calculated using the 'problem.fitness' function.
Args:
problem: The optimization problem encapsulating the fitness function
and optimization type.
particle: cipy.algorithms.pso.Particle: Particle to updat... | "Calculates and updates the fitness and best_fitness of a particle.\n\n Fitness is calculated using the 'problem.fitness' function.\n\n Args:\n problem: The optimization problem encapsulating the fitness function\n and optimization type.\n particle: cipy.algorithms.pso.Particle: Particle ... | 54 | false | avanwyk/cipy | update_fitness | 18,911 | |
LDU_FT/chriso/gauged/clear_key_before | LDU_FT | [
"<BEGIN>\n## `insert_keys`",
"Insert keys into a table which assigns an ID\n<END>",
"<BEGIN>\n## `replace_blocks`",
"Replace multiple blocks. blocks must be a list of tuples where\n each tuple consists of (namespace, offset, key, data)\n<END>",
"<BEGIN>\n## `remove_namespace`",
"Remove all data ass... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clear_key_before API.
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 clear_key_before API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Clear all data before `timestamp` for a given key. Note that the
timestamp is rounded down to the nearest block boundary | "Clear all data before `timestamp` for a given key. Note that the\n timestamp is rounded down to the nearest block boundary" | 62 | false | chriso/gauged | clear_key_before | 18,912 | |
LDU_FT/pyokagan/pyglreg/get_requires | LDU_FT | [
"<BEGIN>\n## `import_type`",
"Import Type `name` and its dependencies from Registry `src`\n to Registry `dest`.",
" :param Registry dest: Destination Registry\n :param Registry src: Source Registry\n :param str name: Name of type to import\n :param str api: Prefer to import Types with api Name `a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_requires API.
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_requires API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return filtered list of Require objects in this Extension
:param str api: Return Require objects with this api name or None to
return all Require objects.
:param str profile: Return Require objects with this profile or None
to return all Require objec... | "Return filtered list of Require objects in this Extension\n\n :param str api: Return Require objects with this api name or None to\n return all Require objects.\n :param str profile: Return Require objects with this profile or None\n to return all Require... | 84 | false | pyokagan/pyglreg | get_requires | 18,913 | |
LDU_FT/tonioo/sievelib/_plain_authentication | LDU_FT | [
"<BEGIN>\n## `authentication_required`",
"Simple class method decorator.",
" Checks if the client is currently connected.",
" :param meth: the original called method\n<END>",
"<BEGIN>\n## `__read_block`",
"Read a block of 'size' bytes from the server.",
" An internal buffer is used to read ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _plain_authentication 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 _plain_authentication API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | SASL PLAIN authentication
:param login: username
:param password: clear password
:return: True on success, False otherwise. | "SASL PLAIN authentication\n\n :param login: username\n :param password: clear password\n :return: True on success, False otherwise." | 191 | false | tonioo/sievelib | _plain_authentication | 18,914 | |
LDU_FT/havardgulldahl/jottalib/request | LDU_FT | [
"<BEGIN>\n## `get_auth_info`",
"Get authentication details to jottacloud.",
" Will first check environment variables, then the .netrc file.\n<END>",
"<BEGIN>\n## `calculate_md5`",
"Utility function to calculate md5 hashes while being light on memory usage.",
" By reading the fileobject piece by piec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Make a GET request for url, with or without caching | "Make a GET request for url, with or without caching" | 111 | false | havardgulldahl/jottalib | request | 18,915 | |
LDU_FT/internetarchive/brozzler/thread_exception_gate | LDU_FT | [
"<BEGIN>\n## `elapsed`",
"Returns elapsed crawl time as a float in seconds.",
" This metric includes all the time that a site was in active rotation,\n including any time it spent waiting for its turn to be brozzled.",
" In contrast `Site.active_brozzling_time` only counts time when a\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the thread_exception_gate 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 thread_exception_gate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns a `ThreadExceptionGate` for `thread` (current thread by default).
`ThreadExceptionGate` is a context manager which allows exceptions to be
raised from threads other than the current one, by way of `thread_raise`.
Example:
try:
with thread_exception_gate():
# do... | "Returns a `ThreadExceptionGate` for `thread` (current thread by default).\n\n `ThreadExceptionGate` is a context manager which allows exceptions to be\n raised from threads other than the current one, by way of `thread_raise`.\n\n Example:\n\n try:\n with thread_exception_gate():\n ... | 110 | false | internetarchive/brozzler | thread_exception_gate | 18,916 | |
LDU_FT/cedricbonhomme/Stegano/composite | LDU_FT | [
"<BEGIN>\n## `a2bits`",
"Converts a string to its bits representation as a string of 0's and 1's.",
" >>> a2bits(\"Hello World!\")\n '010010000110010101101100011011000110111100100000010101110110111101110010011011000110010000100001'\n<END>",
"<BEGIN>\n## `a2bits_list`",
"Convert a string to its bits re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the composite API.
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 composite API.
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... | Generate the composite numbers using the sieve of Eratosthenes.
https://oeis.org/A002808 | "Generate the composite numbers using the sieve of Eratosthenes.\n https://oeis.org/A002808" | 38 | false | cedricbonhomme/Stegano | composite | 18,917 | |
LDU_FT/sckott/habanero/random_dois | LDU_FT | [
"<BEGIN>\n## `works`",
"Search Crossref works",
" :param ids: [Array] DOIs (digital object identifier) or other identifiers\n :param query: [String] A query string\n :param filter: [Hash] Filter options. See examples for usage.\n Accepts a dict, with filter names and their values... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_dois API.
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 random_dois API.
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... | Get a random set of DOIs
:param sample: [Fixnum] Number of random DOIs to return. Default: 10. Max: 100
:param kwargs: additional named arguments passed on to `requests.get`, e.g., field
queries (see examples)
:return: [Array] of DOIs
Usage::
from habanero imp... | "Get a random set of DOIs\n\n :param sample: [Fixnum] Number of random DOIs to return. Default: 10. Max: 100\n :param kwargs: additional named arguments passed on to `requests.get`, e.g., field\n queries (see examples)\n\n :return: [Array] of DOIs\n\n Usage::\n\n from h... | 84 | false | sckott/habanero | random_dois | 18,918 | |
LDU_FT/pudo-attic/scrapekit/run | LDU_FT | [
"<BEGIN>\n## `log_path`",
"Determine the file name for the JSON log.\n<END>",
"<BEGIN>\n## `make_logger`",
"Create two log handlers, one to output info-level ouput to the\n console, the other to store all logging in a JSON file which will\n later be used to generate reports.\n<END>",
"<BEGIN>\n## `_ge... | 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... | Queue a first item to execute, then wait for the queue to
be empty before returning. This should be the default way of
starting any scraper. | "Queue a first item to execute, then wait for the queue to\n be empty before returning. This should be the default way of\n starting any scraper." | 33 | false | pudo-attic/scrapekit | run | 18,919 | |
LDU_FT/cqlengine/cqlengine/_validate_select_where | LDU_FT | [
"<BEGIN>\n## `create_keyspace`",
"creates a keyspace",
" :param name: name of keyspace to create\n :param strategy_class: keyspace replication strategy class\n :param replication_factor: keyspace replication factor\n :param durable_writes: 1.2 only, write log is bypassed if set to False\n :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_select_where API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_select_where API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Checks that a filterset will not create invalid select statement | "Checks that a filterset will not create invalid select statement" | 65 | false | cqlengine/cqlengine | _validate_select_where | 18,920 | |
LDU_FT/kronenthaler/mod-pbxproj/add_header_search_paths | LDU_FT | [
"<BEGIN>\n## `has_child`",
"Checks if the given child id\n :param child: The id to check if it's a child of the group\n :return: True if the given id it's a child of this group, False otherwise\n<END>",
"<BEGIN>\n## `add_file`",
"Adds a file to the project, taking care of the type of the file an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_header_search_paths API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_header_search_paths API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Adds paths to the HEADER_SEARCH_PATHS configuration.
:param paths: A string or array of strings
:param recursive: Add the paths as recursive ones
:param escape: Escape the path in case it contains spaces
:param target_name: Target name or list of target names to add the flag to or None f... | "Adds paths to the HEADER_SEARCH_PATHS configuration.\n :param paths: A string or array of strings\n :param recursive: Add the paths as recursive ones\n :param escape: Escape the path in case it contains spaces\n :param target_name: Target name or list of target names to add the flag to or N... | 71 | false | kronenthaler/mod-pbxproj | add_header_search_paths | 18,921 | |
LDU_FT/port-zero/mite/start_tracker | LDU_FT | [
"<BEGIN>\n## `request`",
"Low-level request interface to mite. Takes a HTTP request scheme (lower\n case!), a URL to request (relative), and optionally data to add to the\n request. Either returns the JSON body of the request or raises a \n HttpException.\n<END>",
"<BEGIN>\n## `get`",
"Lo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_tracker API.
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 start_tracker API.
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... | Starts a tracker for the time entry identified by `id_`. | "Starts a tracker for the time entry identified by `id_`." | 32 | false | port-zero/mite | start_tracker | 18,922 | |
LDU_FT/Kortemme-Lab/klab/_get_pdb_id | LDU_FT | [
"<BEGIN>\n## `retrieve`",
"Creates a PDBML object by using a cached copy of the files if they exists or by retrieving the files from the RCSB.\n<END>",
"<BEGIN>\n## `parse_deprecation`",
"Checks to see if the PDB file has been deprecated and, if so, what the new ID is.\n<END>",
"<BEGIN>\n## `parse_atoms`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_pdb_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_pdb_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 extra... | If self.restrict_to_transmembrane_proteins is False then this adds all ids to self.ids. Otherwise, only transmembrane protein ids are added. | "If self.restrict_to_transmembrane_proteins is False then this adds all ids to self.ids. Otherwise, only transmembrane protein ids are added." | 725 | false | Kortemme-Lab/klab | _get_pdb_id | 18,923 | |
LDU_FT/stain/forgetSQL/delete | LDU_FT | [
"<BEGIN>\n## `prepareClasses`",
"Fix _userClasses and some stuff in classes.",
" Traverses locals, which is a locals() dictionary from\n the namespace where Forgetter subclasses have been\n defined, and resolves names in _userClasses to real\n class-references.",
" Normally you would call forge... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Mark this object for deletion in the database.
The object will then be reset and ready for use
again with a new id. | "Mark this object for deletion in the database.\n\n The object will then be reset and ready for use\n again with a new id." | 66 | false | stain/forgetSQL | delete | 18,924 | |
LDU_FT/trac-hacks/trac-github/github_api | LDU_FT | [
"<BEGIN>\n## `update`",
"Connect to GitHub API endpoint specified by `_apicall_parameters()`,\n postprocess the result using `_apiresult_postprocess()` and trigger\n a cache update if the API call was successful.",
" If an error occurs, cache the empty result generated by\n `_apiresu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the github_api API.
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 github_api API.
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... | Connect to the given GitHub API URL template by replacing all
placeholders with the given parameters and return the decoded JSON
result on success. On error, return `None`.
:param url: The path to request from the GitHub API. Contains format
string placeholders that will be ... | "Connect to the given GitHub API URL template by replacing all\n placeholders with the given parameters and return the decoded JSON\n result on success. On error, return `None`.\n\n :param url: The path to request from the GitHub API. Contains format\n string placeholders that wi... | 30 | false | trac-hacks/trac-github | github_api | 18,925 | |
LDU_FT/danpoland/pyramid-restful-framework/as_view | LDU_FT | [
"<BEGIN>\n## `parse_requested_expands`",
"Extracts the value of the expand query string parameter from a request.\n Supports comma separated lists.",
" :param query_key: The name query string parameter.\n :param request: Request instance.\n :return: List of strings representing the values of the exp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_view API.
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 as_view API.
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... | Allows custom request to method routing based on given ``action_map`` kwarg. | "Allows custom request to method routing based on given ``action_map`` kwarg." | 70 | false | danpoland/pyramid-restful-framework | as_view | 18,926 | |
LDU_FT/aliyun/aliyun-log-python-sdk/list_shards | LDU_FT | [
"<BEGIN>\n## `set`",
"override base to handle escape case: replace \\\" to \"\n<END>",
"<BEGIN>\n## `copy_project`",
"copy project, logstore, machine group and logtail config to target project,\n will create the target project if it doesn't exist",
" :type from_client: LogClient\n :param from_clien... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_shards API.
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 list_shards API.
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... | list the shard meta of a logstore
Unsuccessful opertaion will cause an LogException.
:type project_name: string
:param project_name: the Project name
:type logstore_name: string
:param logstore_name: the logstore name
:return: ListShardResponse
... | "list the shard meta of a logstore\r\n Unsuccessful opertaion will cause an LogException.\r\n\r\n :type project_name: string\r\n :param project_name: the Project name \r\n\r\n :type logstore_name: string\r\n :param logstore_name: the logstore name\r\n\r\n :return: ListShardResp... | 600 | false | aliyun/aliyun-log-python-sdk | list_shards | 18,927 | |
LDU_FT/dacut/python-aws-sig/verify | LDU_FT | [
"<BEGIN>\n## `normalize_uri_path_component`",
"normalize_uri_path_component(path_component) -> str",
" Normalize the path component according to RFC 3986. This performs the\n following operations:\n * Alpha, digit, and the symbols '-', '.', '_', and '~' (unreserved\n characters) are left alone.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify API.
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 verify API.
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 ... | Verifies that the request timestamp is not beyond our allowable
timestamp mismatch and that the request signature matches our
expectations. | "Verifies that the request timestamp is not beyond our allowable\n timestamp mismatch and that the request signature matches our\n expectations." | 37 | false | dacut/python-aws-sig | verify | 18,928 | |
LDU_FT/yougov/mongo-connector/_add_namespace | LDU_FT | [
"<BEGIN>\n## `retry_until_ok`",
"Retry code block until it succeeds.",
" If it does not succeed in 120 attempts, the function re-raises any\n error the function raised on its last attempt.\n<END>",
"<BEGIN>\n## `apply_update`",
"Apply an update operation to a document.\n<END>",
"<BEGIN>\n## `bulk_up... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_namespace API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_namespace API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Add an included and possibly renamed Namespace. | "Add an included and possibly renamed Namespace." | 115 | false | yougov/mongo-connector | _add_namespace | 18,929 | |
LDU_FT/openfisca/openfisca-survey-manager/quantile | LDU_FT | [
"<BEGIN>\n## `read_dbf`",
"Read a dbf file as a pandas.DataFrame, optionally selecting the index\n variable and which columns are to be loaded.",
" __author__ = \"Dani Arribas-Bel <darribas@asu.edu> \"\n ...",
" Arguments\n ---------\n dbf_path : str\n Path to the DBF fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quantile API.
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 quantile API.
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... | Return quantile of a variable with weight provided by a specific wieght variable potentially filtered | "Return quantile of a variable with weight provided by a specific wieght variable potentially filtered" | 80 | false | openfisca/openfisca-survey-manager | quantile | 18,930 | |
LDU_FT/Opentrons/opentrons/_attempt_command_recovery | LDU_FT | [
"<BEGIN>\n## `get_attached_instruments`",
"Find the instruments attached to our mounts.",
" :param expected: A dict that may contain a mapping from mount to\n strings that should prefix instrument model names.\n When instruments are scanned, they are matche... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _attempt_command_recovery 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 _attempt_command_recovery API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Recovery after following a failed write_and_return() atempt | "Recovery after following a failed write_and_return() atempt" | 1,359 | true | Opentrons/opentrons | _attempt_command_recovery | 18,931 | |
LDU_FT/clld/clldutils/strip_brackets | LDU_FT | [
"<BEGIN>\n## `parse`",
"Convert iso formatted timestamps found as values in the dict d to datetime objects.",
" :return: A shallow copy of d with converted timestamps.\n<END>",
"<BEGIN>\n## `dump`",
"Python 2 + 3 compatible version of json.dump.",
" :param obj: The object to be dumped.\n :param p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the strip_brackets API.
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 strip_brackets API.
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... | Strip brackets and what is inside brackets from text.
.. note::
If the text contains only one opening bracket, the rest of the text
will be ignored. This is a feature, not a bug, as we want to avoid that
this function raises errors too easily. | "Strip brackets and what is inside brackets from text.\n\n .. note::\n If the text contains only one opening bracket, the rest of the text\n will be ignored. This is a feature, not a bug, as we want to avoid that\n this function raises errors too easily." | 70 | false | clld/clldutils | strip_brackets | 18,932 | |
LDU_FT/opengridcc/opengrid/_do_analysis_cross_validation | LDU_FT | [
"<BEGIN>\n## `add`",
"Add the path of a data set to the list of available sets",
" NOTE: a data set is assumed to be a pickled\n and gzip compressed Pandas DataFrame",
" Parameters\n ----------\n path : str\n<END>",
"<BEGIN>\n## `unpack`",
"Unpacks a data set to a Pandas... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _do_analysis_cross_validation 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 _do_analysis_cross_validation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Find the best model (fit) based on cross-valiation (leave one out) | "Find the best model (fit) based on cross-valiation (leave one out)" | 84 | false | opengridcc/opengrid | _do_analysis_cross_validation | 18,933 | |
LDU_FT/BerkeleyAutomation/perception/t | LDU_FT | [
"<BEGIN>\n## `frames`",
"Retrieve a new frame from the PhoXi and convert it to a ColorImage,\n a DepthImage, and an IrImage.",
" Returns\n -------\n :obj:`tuple` of :obj:`ColorImage`, :obj:`DepthImage`, :obj:`IrImage`, :obj:`numpy.ndarray`\n The ColorImage, DepthImage, and... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the t API.
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 docum... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the t API.
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 docum... | :obj:`numpy.ndarray` : The 3x1 translation matrix for this projection | ":obj:`numpy.ndarray` : The 3x1 translation matrix for this projection" | 657 | false | BerkeleyAutomation/perception | t | 18,934 | |
LDU_FT/mushkevych/scheduler/build_db_query | LDU_FT | [
"<BEGIN>\n## `_process_state_embryo`",
"method that takes care of processing job records in STATE_EMBRYO state\n<END>",
"<BEGIN>\n## `_process_state_in_progress`",
"method that takes care of processing job records in STATE_IN_PROGRESS state\n<END>",
"<BEGIN>\n## `__process_non_finalizable_job`",
"method h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_db_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_db_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | method builds query dictionary by zipping together DB field names with the field values | "method builds query dictionary by zipping together DB field names with the field values" | 335 | false | mushkevych/scheduler | build_db_query | 18,935 | |
LDU_FT/hkff/FodtlMon/main | LDU_FT | [
"<BEGIN>\n## `eval`",
"This method should be always called by subclasses\n :param valuation\n :param trace\n :return: Arguments evaluation\n<END>",
"<BEGIN>\n## `eval`",
"This method should be override to return some value\n :param valuation\n :param trace\n :return:\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Main mon
:param argv: console arguments
:return: | "Main mon\n :param argv: console arguments\n :return:" | 51 | false | hkff/FodtlMon | main | 18,936 | |
LDU_FT/evetrivia/thanatos/get_all_regions | LDU_FT | [
"<BEGIN>\n## `get_all_regions`",
"Gets a list of all regions.",
" :return: A list of all regions. Results have regionID and regionName.\n :rtype: list\n<END>",
"<BEGIN>\n## `get_all_not_wh_regions`",
"Gets a list of all regions that are not WH regions.",
" :return: A list of all regions not inclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_regions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_regions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Gets a list of all regions.
:return: A list of all regions. Results have regionID and regionName.
:rtype: list | "Gets a list of all regions.\n\n :return: A list of all regions. Results have regionID and regionName.\n :rtype: list" | 35 | false | evetrivia/thanatos | get_all_regions | 18,937 | |
LDU_FT/SHDShim/pytheos/bm3_v_single | LDU_FT | [
"<BEGIN>\n## `constq_grun`",
"calculate Gruneisen parameter for constant q",
" :param v: unit-cell volume in A^3\n :param v0: unit-cell volume in A^3 at 1 bar\n :param gamma0: Gruneisen parameter at 1 bar\n :param q: logarithmic derivative of Grunseinen parameter\n :return: Gruneisen parameter at... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bm3_v_single API.
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 bm3_v_single API.
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... | find volume at given pressure using brenth in scipy.optimize
this is for single p value, not vectorized
this cannot handle uncertainties
:param p: pressure
:param v0: volume at reference conditions
:param k0: bulk modulus at reference conditions
:param k0p: pressure derivative of bulk modulus a... | "find volume at given pressure using brenth in scipy.optimize\n this is for single p value, not vectorized\n this cannot handle uncertainties\n\n :param p: pressure\n :param v0: volume at reference conditions\n :param k0: bulk modulus at reference conditions\n :param k0p: pressure derivative of bulk m... | 234 | false | SHDShim/pytheos | bm3_v_single | 18,938 | |
LDU_FT/vinci1it2000/schedula/add_data | LDU_FT | [
"<BEGIN>\n## `register`",
"Creates a :class:`Blueprint.cls` and calls each deferred operation.",
" :param obj:\n The initialized object with which to call all deferred operations.\n :type obj: object",
" :param memo:\n A dictionary to cache registered Blueprints.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Add a single data node to the dispatcher.
:param data_id:
Data node id. If None will be assigned automatically ('unknown<%d>')
not in dmap.
:type data_id: str, optional
:param default_value:
Data node default value. This will be used as input if it is not
... | "Add a single data node to the dispatcher.\n\n :param data_id:\n Data node id. If None will be assigned automatically ('unknown<%d>')\n not in dmap.\n :type data_id: str, optional\n\n :param default_value:\n Data node default value. This will be used as input if it ... | 765 | false | vinci1it2000/schedula | add_data | 18,939 | |
LDU_FT/RedHatQE/python-stitches/exec_command | LDU_FT | [
"<BEGIN>\n## `exec_command`",
"Execute a command in the connection",
" @param command: command to execute\n @type command: str",
" @param bufsize: buffer size\n @type bufsize: int",
" @param get_pty: get pty\n @type get_pty: bool",
" @return: the stdin, std... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exec_command API.
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 exec_command API.
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... | Execute a command in the connection
@param command: command to execute
@type command: str
@param bufsize: buffer size
@type bufsize: int
@param get_pty: get pty
@type get_pty: bool
@return: the stdin, stdout, and stderr of the executing command
@rtype:... | "Execute a command in the connection\n\n @param command: command to execute\n @type command: str\n\n @param bufsize: buffer size\n @type bufsize: int\n\n @param get_pty: get pty\n @type get_pty: bool\n\n @return: the stdin, stdout, and stderr of the executing command\n ... | 64 | false | RedHatQE/python-stitches | exec_command | 18,940 | |
LDU_FT/phaethon/kamene/defragment6 | LDU_FT | [
"<BEGIN>\n## `post_build`",
"Called implicitly before a packet is sent.\n<END>",
"<BEGIN>\n## `float_encode`",
"Convert the integer value to its IGMPv3 encoded time value if needed.",
" If value < 128, return the value specified. If >= 128, encode as a floating \n point value. Value can be 0 - 31744.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the defragment6 API.
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 defragment6 API.
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... | Performs defragmentation of a list of IPv6 packets. Packets are reordered.
Crap is dropped. What lacks is completed by 'X' characters. | "Performs defragmentation of a list of IPv6 packets. Packets are reordered.\n Crap is dropped. What lacks is completed by 'X' characters." | 477 | false | phaethon/kamene | defragment6 | 18,941 | |
LDU_FT/thefab/tornadis/stack_call | LDU_FT | [
"<BEGIN>\n## `pubsub_pop_message`",
"Pops a message for a subscribed client.",
" Args:\n deadline (int): max number of seconds to wait (None => no timeout)",
" Returns:\n Future with the popped message as result (or None if timeout\n or ConnectionError object... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stack_call API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stack_call API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Stacks a redis command inside the object.
The syntax is the same than the call() method a Client class.
Args:
*args: full redis command as variable length argument list.
Examples:
>>> pipeline = Pipeline()
>>> pipeline.stack_call("HSET", "key", "field", "va... | "Stacks a redis command inside the object.\n\n The syntax is the same than the call() method a Client class.\n\n Args:\n *args: full redis command as variable length argument list.\n\n Examples:\n >>> pipeline = Pipeline()\n >>> pipeline.stack_call(\"HSET\", \"key\"... | 89 | false | thefab/tornadis | stack_call | 18,942 | |
LDU_FT/hamperbot/hamper/describe_additive | LDU_FT | [
"<BEGIN>\n## `signedOn`",
"Called after successfully signing on to the server.\n<END>",
"<BEGIN>\n## `process_action`",
"Called when a message is received from a channel or user.\n<END>",
"<BEGIN>\n## `connectionLost`",
"Called when the connection is lost to the server.\n<END>",
"<BEGIN>\n## `userKicked... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the describe_additive API.
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 describe_additive API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | vinegar. spicy vinegar. a spicy vinegar. | "vinegar. spicy vinegar. a spicy vinegar." | 35 | false | hamperbot/hamper | describe_additive | 18,943 | |
LDU_FT/refinery29/chassis/_fetch_arguments | LDU_FT | [
"<BEGIN>\n## `detect_circle`",
"Wrapper for recursive _detect_circle function\n<END>",
"<BEGIN>\n## `_detect_circle`",
"Recursively iterate over nodes checking\n if we've traveled to that node before.\n<END>",
"<BEGIN>\n## `_do`",
"Recursive method to instantiate services\n<END>",
"<BEGIN>\n## `_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fetch_arguments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fetch_arguments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Get the arguments depending on the type of HTTP method. | "Get the arguments depending on the type of HTTP method." | 75 | false | refinery29/chassis | _fetch_arguments | 18,944 | |
LDU_FT/noxdafox/pebble/schedule | LDU_FT | [
"<BEGIN>\n## `waitforqueues`",
"Waits for one or more *Queue* to be ready or until *timeout* expires.",
" *queues* is a list containing one or more *Queue.Queue* objects.\n If *timeout* is not None the function will block\n for the specified amount of seconds.",
" The function returns a list conta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the schedule API.
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 schedule API.
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... | Schedules a new Task in the PoolManager. | "Schedules a new Task in the PoolManager." | 83 | false | noxdafox/pebble | schedule | 18,945 | |
LDU_FT/AtteqCom/zsl/_configure | LDU_FT | [
"<BEGIN>\n## `_nested_transactional`",
"In a transactional method create a nested transaction.\n<END>",
"<BEGIN>\n## `exec_task`",
"Execute task.",
" :param task_path: task path\n :type task_path: str|Callable\n :param data: task's data\n :type data: Any\n :return:\n<END>",
"<BEGIN>\n## `ap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _configure API.
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 _configure API.
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... | Read the configuration from config files.
Loads the default settings and the profile settings if available.
Check :func:`.set_profile`.
:param config_object:
This parameter is the configuration decscription may be a dict or
string describing the module from which the con... | "Read the configuration from config files.\n Loads the default settings and the profile settings if available.\n Check :func:`.set_profile`.\n\n :param config_object:\n This parameter is the configuration decscription may be a dict or\n string describing the module from which ... | 292 | false | AtteqCom/zsl | _configure | 18,946 | |
LDU_FT/sparknetworks/pgpm/_emit_no_set_found | LDU_FT | [
"<BEGIN>\n## `deploy_schema_to_db`",
"Deploys schema\n :param files_deployment: if specific script to be deployed, only find them\n :param mode:\n :param vcs_ref:\n :param vcs_link:\n :param issue_ref:\n :param issue_link:\n :param compare_table_scripts_as_int:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _emit_no_set_found 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 _emit_no_set_found 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... | writes to std out and logs if no connection string is found for deployment
:param environment_name:
:param product_name:
:return: | "writes to std out and logs if no connection string is found for deployment\n :param environment_name:\n :param product_name:\n :return:" | 39 | false | sparknetworks/pgpm | _emit_no_set_found | 18,947 | |
LDU_FT/mozillazg/baidu-pcs-python-sdk/list_recycle_bin | LDU_FT | [
"<BEGIN>\n## `upload`",
"上传单个文件(<2G).",
" | 百度PCS服务目前支持最大2G的单个文件上传。\n | 如需支持超大文件(>2G)的断点续传,请参考下面的“分片文件上传”方法。",
" :param remote_path: 网盘中文件的保存路径(包含文件名)。\n 必须以 /apps/ 开头。",
" .. warning::\n * 路径长度限制为1000;... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_recycle_bin API.
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 list_recycle_bin API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | 获取回收站中的文件及目录列表.
:param start: 返回条目的起始值,缺省值为0
:param limit: 返回条目的长度,缺省值为1000
:return: Response 对象 | "获取回收站中的文件及目录列表.\n\n :param start: 返回条目的起始值,缺省值为0\n :param limit: 返回条目的长度,缺省值为1000\n :return: Response 对象" | 126 | false | mozillazg/baidu-pcs-python-sdk | list_recycle_bin | 18,948 | |
LDU_FT/rueckstiess/mtools/run | LDU_FT | [
"<BEGIN>\n## `wait_for_host`",
"Ping server and wait for response.",
" Ping a mongod or mongos every `interval` seconds until it responds, or\n `timeout` seconds have passed. If `to_start` is set to False, will wait for\n the node to shut down instead. This function can be called as a separate\n thr... | 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... | Init point to execute the script.
If `arguments` string is given, will evaluate the arguments, else
evaluates sys.argv. Any inheriting class should extend the run method
(but first calling BaseCmdLineTool.run(self)). | "Init point to execute the script.\n\n If `arguments` string is given, will evaluate the arguments, else\n evaluates sys.argv. Any inheriting class should extend the run method\n (but first calling BaseCmdLineTool.run(self))." | 260 | false | rueckstiess/mtools | run | 18,949 | |
LDU_FT/vertexproject/synapse/listen | LDU_FT | [
"<BEGIN>\n## `openDatFile`",
"Open a file-like object using a pkg relative path.",
" Example:",
" fd = openDatFile('foopkg.barpkg/wootwoot.bin')\n<END>",
"<BEGIN>\n## `scrape`",
"Scrape types from a blob of text and return node tuples.",
" Args:\n text (str): Text to scrape.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listen API.
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 listen API.
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 ... | Bind and listen on the given host/port with possible SSL.
Args:
host (str): A hostname or IP address.
port (int): The TCP port to bind. | "Bind and listen on the given host/port with possible SSL.\n\n Args:\n host (str): A hostname or IP address.\n port (int): The TCP port to bind." | 1,135 | true | vertexproject/synapse | listen | 18,950 | |
LDU_FT/klahnakoski/mo-logs/stop | LDU_FT | [
"<BEGIN>\n## `_deep_json_to_string`",
":param value: SOME STRUCTURE\n :param depth: THE MAX DEPTH OF PROPERTIES, DEEPER WILL BE STRING-IFIED\n :return: FLATTER STRUCTURE\n<END>",
"<BEGIN>\n## `read_settings`",
":param filename: Force load a file\n :param defs: arguments you want to accept\n :param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | DECONSTRUCTS ANY LOGGING, AND RETURNS TO DIRECT-TO-stdout LOGGING
EXECUTING MULUTIPLE TIMES IN A ROW IS SAFE, IT HAS NO NET EFFECT, IT STILL LOGS TO stdout
:return: NOTHING | "DECONSTRUCTS ANY LOGGING, AND RETURNS TO DIRECT-TO-stdout LOGGING\n EXECUTING MULUTIPLE TIMES IN A ROW IS SAFE, IT HAS NO NET EFFECT, IT STILL LOGS TO stdout\n :return: NOTHING" | 74 | false | klahnakoski/mo-logs | stop | 18,951 | |
LDU_FT/jmurty/xml4h/attribute_node | LDU_FT | [
"<BEGIN>\n## `ignore_whitespace_text_nodes`",
"Find and delete any text nodes containing nothing but whitespace in\n in the given node and its descendents.",
" This is useful for cleaning up excess low-value text nodes in a\n document DOM after parsing a pretty-printed XML document.\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attribute_node API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attribute_node API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | :param string name: the name of the attribute to return.
:param ns_uri: a URI defining a namespace constraint on the attribute.
:type ns_uri: string or None
:return: this element's attributes that match ``ns_uri`` as
:class:`Attribute` nodes. | ":param string name: the name of the attribute to return.\n :param ns_uri: a URI defining a namespace constraint on the attribute.\n :type ns_uri: string or None\n\n :return: this element's attributes that match ``ns_uri`` as\n :class:`Attribute` nodes." | 155 | false | jmurty/xml4h | attribute_node | 18,952 | |
LDU_FT/GeoPyTool/GeoPyTool/Fill | LDU_FT | [
"<BEGIN>\n## `lines`",
"read the Excel, then draw the wulf net and Plot points, job done~\n<END>",
"<BEGIN>\n## `add_edge`",
"Add a line between the i-th and j-th points,\n if not in the list already\n<END>",
"<BEGIN>\n## `alpha_shape`",
"Compute the alpha shape (concave hull) of a set\n of points.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Fill API.
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 Fill API.
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... | Fill a region in planimetric rectangular coord.
:param P: the peak points of the region in planimetric rectangular coord
:type P: a list consist of at least three tuples, which are the points in planimetric rectangular coord
:param Color: the color used to fill the region
:type Color: a ... | "Fill a region in planimetric rectangular coord.\n :param P: the peak points of the region in planimetric rectangular coord\n :type P: a list consist of at least three tuples, which are the points in planimetric rectangular coord\n :param Color: the color used to fill the region\n :type Colo... | 53 | false | GeoPyTool/GeoPyTool | Fill | 18,953 | |
LDU_FT/orweis/winpcapy/send_packet | LDU_FT | [
"<BEGIN>\n## `run`",
"Start pcap's loop over the interface, calling the given callback for each packet\n :param callback: a function receiving (win_pcap, param, header, pkt_data) for each packet intercepted\n :param limit: how many packets to capture (A value of -1 or 0 is equivalent to infinity)\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_packet API.
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 send_packet API.
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... | Send a buffer as a packet to a network interface and optionally capture a response
:param pattern: a wildcard pattern to match the description of a network interface to capture packets on
:param packet_buffer: a buffer to send (length shouldn't exceed MAX_INT)
:param callback: If not None, a fun... | "Send a buffer as a packet to a network interface and optionally capture a response\n :param pattern: a wildcard pattern to match the description of a network interface to capture packets on\n :param packet_buffer: a buffer to send (length shouldn't exceed MAX_INT)\n :param callback: If not None, a... | 10 | false | orweis/winpcapy | send_packet | 18,954 | |
LDU_FT/romanvm/python-web-pdb/compress | LDU_FT | [
"<BEGIN>\n## `compress`",
"Compress route return data with gzip compression\n<END>",
"<BEGIN>\n## `set_trace`",
"Start the debugger",
" This method suspends execution of the current script\n and starts a PDB debugging session. The web-interface is opened\n on the specified port (default: ``5555``).... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compress API.
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 compress API.
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... | Compress route return data with gzip compression | "Compress route return data with gzip compression" | 38 | false | romanvm/python-web-pdb | compress | 18,955 | |
LDU_FT/emin63/eyap/validate_attachment_location | LDU_FT | [
"<BEGIN>\n## `make_anchor_id`",
"Return string to use as URL anchor for this comment.\n<END>",
"<BEGIN>\n## `make_url`",
"Make URL to this comment.",
" :arg my_request: The request object where this comment is seen from.",
" :arg anchor_id=None: Optional anchor id. If None, we use\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_attachment_location API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_attachment_location API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Validate a proposed attachment location.
:arg location: String representing location to put attachment.
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
PURPOSE: Raises an exception if attachment location is bad.
By default, this just forces reasonable character... | "Validate a proposed attachment location.\n\n :arg location: String representing location to put attachment.\n\n ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-\n\n PURPOSE: Raises an exception if attachment location is bad.\n By default, this just forces reasonable c... | 126 | false | emin63/eyap | validate_attachment_location | 18,956 | |
LDU_FT/shmir/PyIxNetwork/wait_for_states | LDU_FT | [
"<BEGIN>\n## `reserve`",
"Reserve port and optionally wait for port to come up.",
" :param location: port location as 'ip/module/port'. If None, the location will be taken from the configuration.\n :param force: whether to revoke existing reservation (True) or not (False).\n :param wait_for... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_states API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_states API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Wait until port reaches one of the requested states.
:param timeout: max time to wait for requested port states. | "Wait until port reaches one of the requested states.\n\n :param timeout: max time to wait for requested port states." | 64 | false | shmir/PyIxNetwork | wait_for_states | 18,957 | |
LDU_FT/mkorpela/pabot/run_only_once | LDU_FT | [
"<BEGIN>\n## `run_only_once`",
"Runs a keyword only once in one of the parallel processes.\n As the keyword will be called\n only in one process and the return value could basically be anything.\n The \"Run Only Once\" can't return the actual return value.\n If the keyword fails, \"Run... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_only_once API.
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 run_only_once API.
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... | Runs a keyword only once in one of the parallel processes.
As the keyword will be called
only in one process and the return value could basically be anything.
The "Run Only Once" can't return the actual return value.
If the keyword fails, "Run Only Once" fails.
Others executing "... | "Runs a keyword only once in one of the parallel processes.\n As the keyword will be called\n only in one process and the return value could basically be anything.\n The \"Run Only Once\" can't return the actual return value.\n If the keyword fails, \"Run Only Once\" fails.\n Others e... | 17 | false | mkorpela/pabot | run_only_once | 18,958 | |
LDU_FT/nschloe/meshio/read | LDU_FT | [
"<BEGIN>\n## `read`",
"Reads a (compressed) PERMAS dato or post file.\n<END>",
"<BEGIN>\n## `write`",
"Writes PERMAS dat files, cf.\n http://www.intes.de # PERMAS-ASCII-file-format\n<END>",
"<BEGIN>\n## `_write_families`",
"Write point/cell tag information under FAS/[mesh_name]\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Reads H5M files, cf.
https://trac.mcs.anl.gov/projects/ITAPS/wiki/MOAB/h5m. | "Reads H5M files, cf.\n https://trac.mcs.anl.gov/projects/ITAPS/wiki/MOAB/h5m." | 33 | false | nschloe/meshio | read | 18,959 | |
LDU_FT/selectel/pyte/before_event | LDU_FT | [
"<BEGIN>\n## `default_char`",
"An empty character with default foreground and background colors.\n<END>",
"<BEGIN>\n## `display`",
"A :func:`list` of screen lines as unicode strings.\n<END>",
"<BEGIN>\n## `reset`",
"Reset the terminal to its initial state.",
" * Scrolling margins are reset to scr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the before_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the before_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Ensure a screen is at the bottom of the history buffer.
:param str event: event name, for example ``"linefeed"``. | "Ensure a screen is at the bottom of the history buffer.\n\n :param str event: event name, for example ``\"linefeed\"``." | 127 | false | selectel/pyte | before_event | 18,960 | |
LDU_FT/cds-astro/mocpy/from_polygon | LDU_FT | [
"<BEGIN>\n## `max_order`",
"Depth of the smallest HEALPix cells found in the MOC instance.\n<END>",
"<BEGIN>\n## `intersection`",
"Intersection between the MOC instance and other MOCs.",
" Parameters\n ----------\n another_moc : `~mocpy.moc.MOC`\n The MOC used for performing ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_polygon API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_polygon API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Creates a MOC from a polygon
The polygon is given as lon and lat `astropy.units.Quantity` that define the
vertices of the polygon. Concave and convex polygons are accepted but
self-intersecting ones are currently not properly handled.
Parameters
----------
lon : `astro... | "Creates a MOC from a polygon\n\n The polygon is given as lon and lat `astropy.units.Quantity` that define the \n vertices of the polygon. Concave and convex polygons are accepted but\n self-intersecting ones are currently not properly handled.\n\n Parameters\n ----------\n lon... | 210 | false | cds-astro/mocpy | from_polygon | 18,961 | |
LDU_FT/biosustain/optlang/clone | LDU_FT | [
"<BEGIN>\n## `_constraint_lb_and_ub_to_gurobi_sense_rhs_and_range_value`",
"Helper function used by Constraint and Model\n<END>",
"<BEGIN>\n## `_evolve_kwargs`",
"Filter None keyword arguments. Intended to be passed on to algorithm.evolve(...)\n<END>",
"<BEGIN>\n## `parse_optimization_expression`",
"Funct... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clone API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clone API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Make a copy of another variable. The variable being copied can be of the same type or belong to
a different solver interface.
Example
----------
>>> var_copy = Variable.clone(old_var) | "Make a copy of another variable. The variable being copied can be of the same type or belong to\n a different solver interface.\n\n Example\n ----------\n >>> var_copy = Variable.clone(old_var)" | 106 | false | biosustain/optlang | clone | 18,962 | |
LDU_FT/lucasmaystre/choix/_init_lsr | 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 _init_lsr API.
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 _init_lsr API.
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... | Initialize the LSR Markov chain and the weights. | "Initialize the LSR Markov chain and the weights." | 211 | false | lucasmaystre/choix | _init_lsr | 18,963 | |
LDU_FT/JoeVirtual/KonFoo/save | LDU_FT | [
"<BEGIN>\n## `to_json`",
"Returns the selected field *attributes* for each :class:`Field` *nested*\n in the `Container` as a JSON formatted string.",
" The *attributes* of each :class:`Field` for containers *nested* in the\n `Container` are viewed as well (chained method call).",
" ... | 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 the selected field *attributes* for each :class:`Field` *nested*
in the `Container` to an ``.ini`` *file*.
:param str file: name and location of the ``.ini`` *file*.
:param str attributes: selected :class:`Field` attributes.
Fallback is the field :attr:`~Field.value`.
... | "Saves the selected field *attributes* for each :class:`Field` *nested*\n in the `Container` to an ``.ini`` *file*.\n\n :param str file: name and location of the ``.ini`` *file*.\n :param str attributes: selected :class:`Field` attributes.\n Fallback is the field :attr:`~Field.value`.\n ... | 233 | false | JoeVirtual/KonFoo | save | 18,964 | |
LDU_FT/CalebBell/ht/Knott | LDU_FT | [
"<BEGIN>\n## `blackbody_spectral_radiance`",
"r'''Returns the spectral radiance, in units of W/m^2/sr/µm.",
" .. math::\n I_{\\lambda,blackbody,e}(\\lambda,T)=\\frac{2hc_o^2}\n {\\lambda^5[\\exp(hc_o/\\lambda k T)-1]}",
" Parameters\n ----------\n T : float\n Temperature of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Knott API.
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 Knott API.
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... | r'''Calculates the two-phase non-boiling heat transfer coefficient of a
liquid and gas flowing inside a tube of any inclination, as in [1]_ and
reviewed in [2]_.
Either a specified `hl` is required, or `Cpl`, `kl`, `mu_b`, `mu_w` and
`L` are required to calculate `hl`.
.. math::
\frac{h... | "r'''Calculates the two-phase non-boiling heat transfer coefficient of a \n liquid and gas flowing inside a tube of any inclination, as in [1]_ and \n reviewed in [2]_.\n\n Either a specified `hl` is required, or `Cpl`, `kl`, `mu_b`, `mu_w` and \n `L` are required to calculate `hl`.\n\n .. math::\n ... | 2,013 | true | CalebBell/ht | Knott | 18,965 | |
LDU_FT/frictionlessdata/tableschema-sql-py/delete | LDU_FT | [
"<BEGIN>\n## `buckets`",
"https://github.com/frictionlessdata/tableschema-sql-py#storage\n<END>",
"<BEGIN>\n## `create`",
"https://github.com/frictionlessdata/tableschema-sql-py#storage\n<END>",
"<BEGIN>\n## `delete`",
"https://github.com/frictionlessdata/tableschema-sql-py#storage\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | https://github.com/frictionlessdata/tableschema-sql-py#storage | "https://github.com/frictionlessdata/tableschema-sql-py#storage" | 16 | false | frictionlessdata/tableschema-sql-py | delete | 18,966 | |
LDU_FT/sys-git/certifiable/certify_time | LDU_FT | [
"<BEGIN>\n## `load_value_from_schema`",
"Load a value from a schema defined string.\n<END>",
"<BEGIN>\n## `parse_value`",
"Convert a string received on the command-line into\n a value or None.",
" :param str v:\n The value to parse.\n :param parser:\n The fallback callable to load the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the certify_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the certify_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Certifier for datetime.time values.
:param value:
The value to be certified.
:param bool required:
Whether the value can be `None` Defaults to True.
:raises CertifierTypeError:
The type is invalid | "Certifier for datetime.time values.\n\n :param value:\n The value to be certified.\n :param bool required:\n Whether the value can be `None` Defaults to True.\n :raises CertifierTypeError:\n The type is invalid" | 100 | false | sys-git/certifiable | certify_time | 18,967 | |
LDU_FT/iterative/dvc/_generate_version | LDU_FT | [
"<BEGIN>\n## `_get_remote`",
"The config file is stored in a way that allows you to have a\n cache for each remote.",
" This is needed when specifying external outputs\n (as they require you to have an external cache location).",
" Imagine a config file like the following:",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_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... | Generate a version with information about the git repository | "Generate a version with information about the git repository" | 269 | false | iterative/dvc | _generate_version | 18,968 | |
LDU_FT/inveniosoftware/invenio-oaiserver/validate | LDU_FT | [
"<BEGIN>\n## `_schema_from_verb`",
"Return an instance of schema for given verb.\n<END>",
"<BEGIN>\n## `load`",
"Deserialize a data structure to an object.\n<END>",
"<BEGIN>\n## `make_request_validator`",
"Validate arguments in incomming request.\n<END>",
"<BEGIN>\n## `from_iso_permissive`",
"Parse an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Check range between dates under keys ``from_`` and ``until``. | "Check range between dates under keys ``from_`` and ``until``." | 78 | false | inveniosoftware/invenio-oaiserver | validate | 18,969 | |
LDU_FT/HewlettPackard/python-hpOneView/create | LDU_FT | [
"<BEGIN>\n## `get_visual_content`",
"Gets a list of visual content objects describing each rack within the data center. The response aggregates data\n center and rack data with a specified metric (peak24HourTemp) to provide simplified access to display data for\n the data center.",
" Args:\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 ... | Makes a POST request to create a resource when a request body is required.
Args:
data: Additional fields can be passed to create the resource.
uri: Resouce uri
timeout: Timeout in seconds. Wait for task completion by default. The timeout does not abort the operation
... | "Makes a POST request to create a resource when a request body is required.\n\n Args:\n data: Additional fields can be passed to create the resource.\n uri: Resouce uri\n timeout: Timeout in seconds. Wait for task completion by default. The timeout does not abort the operation\n ... | 1,297 | true | HewlettPackard/python-hpOneView | create | 18,970 | |
LDU_FT/bfarr/kombine/generate | LDU_FT | [
"<BEGIN>\n## `generate`",
"Returns (ts, rvs), where ts is a list of arrays of\n observation times (one array for each observatory), and rvs is\n a corresponding list of total radial velocity measurements.\n<END>",
"<BEGIN>\n## `lnlike`",
"Use a softened version of the interpolant as a likelihood... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate API.
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 generate API.
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 (ts, rvs), where ts is a list of arrays of
observation times (one array for each observatory), and rvs is
a corresponding list of total radial velocity measurements. | "Returns (ts, rvs), where ts is a list of arrays of\n observation times (one array for each observatory), and rvs is\n a corresponding list of total radial velocity measurements." | 16 | false | bfarr/kombine | generate | 18,971 | |
LDU_FT/wbond/certbuilder/build | LDU_FT | [
"<BEGIN>\n## `self_signed`",
"A bool - if the certificate should be self-signed.\n<END>",
"<BEGIN>\n## `serial_number`",
"An int representable in 160 bits or less - must uniquely identify\n this certificate when combined with the issuer name.\n<END>",
"<BEGIN>\n## `issuer`",
"An asn1crypto.x509.Cer... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Validates the certificate information, constructs the ASN.1 structure
and then signs it
:param signing_private_key:
An asn1crypto.keys.PrivateKeyInfo or oscrypto.asymmetric.PrivateKey
object for the private key to sign the certificate with. If the key
is self-signed,... | "Validates the certificate information, constructs the ASN.1 structure\n and then signs it\n\n :param signing_private_key:\n An asn1crypto.keys.PrivateKeyInfo or oscrypto.asymmetric.PrivateKey\n object for the private key to sign the certificate with. If the key\n is self-... | 28 | false | wbond/certbuilder | build | 18,972 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.