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/gebn/nibble/log_level_from_vebosity | LDU_FT | [
"<BEGIN>\n## `_read_file`",
"Read the contents of a file.",
" :param name: The name of the file in the current directory.\n :param encoding: The encoding of the file; defaults to utf-8.\n :return: The contents of the file.\n<END>",
"<BEGIN>\n## `_parse_args`",
"Interpret command line arguments.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_level_from_vebosity 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 log_level_from_vebosity API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Get the `logging` module log level from a verbosity.
:param verbosity: The number of times the `-v` option was specified.
:return: The corresponding log level. | "Get the `logging` module log level from a verbosity.\n\n :param verbosity: The number of times the `-v` option was specified.\n :return: The corresponding log level." | 45 | false | gebn/nibble | log_level_from_vebosity | 29,673 | |
LDU_FT/threeML/astromodels/get_ra | LDU_FT | [
"<BEGIN>\n## `angular_distance_fast`",
"Compute angular distance using the Haversine formula. Use this one when you know you will never ask for points at\n their antipodes. If this is not the case, use the angular_distance function which is slower, but works also for\n antipodes.",
" :param lon1:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ra API.
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 get_ra API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Get R.A. corresponding to the current position (ICRS, J2000)
:return: Right Ascension | "Get R.A. corresponding to the current position (ICRS, J2000)\n\n :return: Right Ascension" | 240 | false | threeML/astromodels | get_ra | 29,674 | |
LDU_FT/jessevdk/cldoc/disable_option | LDU_FT | [
"<BEGIN>\n## `disable_option`",
"The command-line option that disables this diagnostic.\n<END>",
"<BEGIN>\n## `format`",
"Format this diagnostic for display. The options argument takes\n Diagnostic.Display* flags, which can be combined using bitwise OR. If\n the options argument is not provided,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disable_option API.
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 disable_option API.
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... | The command-line option that disables this diagnostic. | "The command-line option that disables this diagnostic." | 35 | false | jessevdk/cldoc | disable_option | 29,675 | |
LDU_FT/commandprompt/Simpycity/merge_base_attrs | LDU_FT | [
"<BEGIN>\n## `dsn`",
"Return a libpq connection string using the variables defined in this file.\n<END>",
"<BEGIN>\n## `form_query`",
":param str columns: literal sql string for list of columns\n :param dict options: dict supporting a single key \"direct\" as in the constructor\n :return: sql st... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_base_attrs API.
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 merge_base_attrs API.
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 dict attrs: If one of the attrs is named "base\_", assume that attribute is an instance of SimpleModel mapped on a Postgresql composite type, and that the base\_ instance is of a superclass of this class. Expand the attributes of the base\_ type and assign to class attributes.
psycopg2's type casting us... | ":param dict attrs: If one of the attrs is named \"base\\_\", assume that attribute is an instance of SimpleModel mapped on a Postgresql composite type, and that the base\\_ instance is of a superclass of this class. Expand the attributes of the base\\_ type and assign to class attributes.\n\n psycopg2's type ca... | 19 | false | commandprompt/Simpycity | merge_base_attrs | 29,676 | |
LDU_FT/twisted/mantissa/expose | LDU_FT | [
"<BEGIN>\n## `createUser`",
"Create a new, blank user account with the given name and domain and, if\n specified, with the given password.",
" @type localpart: C{unicode}\n @param localpart: The local portion of the username. ie, the\n C{'alice'} in C{'alice@example.com'}.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expose API.
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 expose API.
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 ... | Expose a function for processing a given AMP error. | "Expose a function for processing a given AMP error." | 1,120 | true | twisted/mantissa | expose | 29,677 | |
LDU_FT/docker/docker-py/import_image_from_url | LDU_FT | [
"<BEGIN>\n## `compare_version`",
"Compare docker versions",
" >>> v1 = '1.9'\n >>> v2 = '1.10'\n >>> compare_version(v1, v2)\n 1\n >>> compare_version(v2, v1)\n -1\n >>> compare_version(v2, v2)\n 0\n<END>",
"<BEGIN>\n## `datetime_to_timestamp`",
"Convert a UTC datetime to a Unix time... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_image_from_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_image_from_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Like :py:meth:`~docker.api.image.ImageApiMixin.import_image`, but only
supports importing from a URL.
Args:
url (str): A URL pointing to a tar file.
repository (str): The repository to create
tag (str): The tag to apply | "Like :py:meth:`~docker.api.image.ImageApiMixin.import_image`, but only\n supports importing from a URL.\n\n Args:\n url (str): A URL pointing to a tar file.\n repository (str): The repository to create\n tag (str): The tag to apply" | 998 | false | docker/docker-py | import_image_from_url | 29,678 | |
LDU_FT/kiwiz/gkeepapi/add | LDU_FT | [
"<BEGIN>\n## `login`",
"Authenticate to Google with the provided credentials.",
" Args:\n email (str): The account to use.\n password (str): The account password.\n android_id (str): An identifier for this client.",
" Raises:\n LoginException: If there... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
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 add API.
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... | Add a collaborator.
Args:
str : Collaborator email address. | "Add a collaborator.\n\n Args:\n str : Collaborator email address." | 164 | false | kiwiz/gkeepapi | add | 29,679 | |
LDU_FT/crunchyroll/ef-open/get_autoscaling_group_properties | LDU_FT | [
"<BEGIN>\n## `services`",
"Args:\n service_group: optional name of service group\n Returns:\n if service_group is omitted or None, flattened dict of all service records in the service registry\n if service_group is present, dict of service records in that group\n<END>",
"<BEGIN>\n## `iter_serv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_autoscaling_group_properties API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_autoscaling_group_properties API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | Gets the autoscaling group properties based on the service name that is provided. This function will attempt the find
the autoscaling group base on the following logic:
1. If the service name provided matches the autoscaling group name
2. If the service name provided matches the Name tag of the autoscaling gr... | "Gets the autoscaling group properties based on the service name that is provided. This function will attempt the find\n the autoscaling group base on the following logic:\n 1. If the service name provided matches the autoscaling group name\n 2. If the service name provided matches the Name tag of the autoscalin... | 231 | false | crunchyroll/ef-open | get_autoscaling_group_properties | 29,680 | |
LDU_FT/capless/warrant/get_user_obj | LDU_FT | [
"<BEGIN>\n## `dict_to_cognito`",
":param attributes: Dictionary of User Pool attribute names/values\n :return: list of User Pool attribute formatted dicts: {'Name': <attr_name>, 'Value': <attr_value>}\n<END>",
"<BEGIN>\n## `snake_to_camel`",
":param snake_str: string\n :return: string converted from a s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_user_obj API.
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_user_obj API.
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... | Returns the specified
:param username: Username of the user
:param attribute_list: List of tuples that represent the user's
attributes as returned by the admin_get_user or get_user boto3 methods
:param metadata: Metadata about the user
:param attr_map: Dictionary that maps th... | "Returns the specified\n :param username: Username of the user\n :param attribute_list: List of tuples that represent the user's\n attributes as returned by the admin_get_user or get_user boto3 methods\n :param metadata: Metadata about the user\n :param attr_map: Dictionary that m... | 61 | false | capless/warrant | get_user_obj | 29,681 | |
LDU_FT/binux/pyspider/get_encoding | LDU_FT | [
"<BEGIN>\n## `get_encoding`",
"Get encoding from request headers or page head.\n<END>",
"<BEGIN>\n## `encoding`",
"encoding of Response.content.",
" if Response.encoding is None, encoding will be guessed\n by header or content or chardet if available.\n<END>",
"<BEGIN>\n## `text`",
"Conten... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_encoding API.
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_encoding API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Get encoding from request headers or page head. | "Get encoding from request headers or page head." | 126 | false | binux/pyspider | get_encoding | 29,682 | |
LDU_FT/awslabs/serverless-application-model/_get_resolved_dictionary | LDU_FT | [
"<BEGIN>\n## `deaggregate_record`",
"Given a Kinesis record data that is decoded, deaggregate if it was packed using the\n Kinesis Producer Library into individual records. This method will be a no-op for any\n records that are not aggregated (but will still return them).",
" decoded_data - the base64... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_resolved_dictionary API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_resolved_dictionary API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Resolves the function and returns the updated dictionary
:param input_dict: Dictionary to be resolved
:param key: Name of this intrinsic.
:param resolved_value: Resolved or updated value for this action.
:param remaining: Remaining sections for the GetAtt action. | "Resolves the function and returns the updated dictionary\n\n :param input_dict: Dictionary to be resolved\n :param key: Name of this intrinsic.\n :param resolved_value: Resolved or updated value for this action.\n :param remaining: Remaining sections for the GetAtt action." | 672 | false | awslabs/serverless-application-model | _get_resolved_dictionary | 29,683 | |
LDU_FT/shaypal5/strct/reverse_dict | LDU_FT | [
"<BEGIN>\n## `find_point_in_section_list`",
"Returns the start of the section the given point belongs to.",
" The given list is assumed to contain start points of consecutive\n sections, except for the final point, assumed to be the end point of the\n last section. For example, the list [5, 8, 30, 31] ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reverse_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reverse_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Reverse a dict, so each value in it maps to a sorted list of its keys.
Parameters
----------
dict_obj : dict
A key-value dict.
Returns
-------
dict
A dict where each value maps to a sorted list of all the unique keys
that mapped to it.
Example
-------
>>> d... | "Reverse a dict, so each value in it maps to a sorted list of its keys.\n\n Parameters\n ----------\n dict_obj : dict\n A key-value dict.\n\n Returns\n -------\n dict\n A dict where each value maps to a sorted list of all the unique keys\n that mapped to it.\n\n Example\n --... | 140 | false | shaypal5/strct | reverse_dict | 29,684 | |
LDU_FT/nuSTORM/gnomon/commit | LDU_FT | [
"<BEGIN>\n## `objwalk`",
"Traverse a dictionary recursively and save path",
" Taken from:\n http://code.activestate.com/recipes/577982-recursively-walk-python-objects/\n<END>",
"<BEGIN>\n## `lookup_cc_partner`",
"Lookup the charge current partner",
" Takes as an input neutrino nu_pid is a PDG c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the commit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the commit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Commit data to couchdb
Compared to threshold (unless forced) then sends data to couch | "Commit data to couchdb\n\n Compared to threshold (unless forced) then sends data to couch" | 43 | false | nuSTORM/gnomon | commit | 29,685 | |
LDU_FT/hammerlab/cohorts/plot_benefit | LDU_FT | [
"<BEGIN>\n## `download_to_path`",
"This method is analogous to \"gsutil cp gsuri localpath\", but in a\n programatically accesible way. The only difference is that we\n have to make a guess about the encoding of the file to not upset\n downstream file operations. If you are downloading a VCF,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_benefit API.
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 plot_benefit API.
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... | Plot a comparison of benefit/response in the cohort on a given variable | "Plot a comparison of benefit/response in the cohort on a given variable" | 230 | false | hammerlab/cohorts | plot_benefit | 29,686 | |
LDU_FT/ValvePython/steam/cli_login | LDU_FT | [
"<BEGIN>\n## `generate_twofactor_code_for_time`",
"Generate Steam 2FA code for timestamp",
" :param shared_secret: authenticator shared secret\n :type shared_secret: bytes\n :param timestamp: timestamp to use, if left out uses current time\n :type timestamp: int\n :return: steam two factor code\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli_login API.
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 cli_login API.
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... | Generates CLI prompts to complete the login process
:param username: optionally provide username
:type username: :class:`str`
:param password: optionally provide password
:type password: :class:`str`
:return: logon result, see `CMsgClientLogonResponse.eresult <https://github.c... | "Generates CLI prompts to complete the login process\n\n :param username: optionally provide username\n :type username: :class:`str`\n :param password: optionally provide password\n :type password: :class:`str`\n :return: logon result, see `CMsgClientLogonResponse.eresult <https://g... | 385 | false | ValvePython/steam | cli_login | 29,687 | |
LDU_FT/veeti/decent/Length | LDU_FT | [
"<BEGIN>\n## `as_dict`",
"Returns the error as a path to message dictionary. Paths are joined\n with the ``join`` string.\n<END>",
"<BEGIN>\n## `as_dict`",
"Returns all the errors in this collection as a path to message\n dictionary. Paths are joined with the ``join`` string.\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Length API.
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 Length API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Creates a validator that checks if the given value's length is in the
specified range, inclusive. (Returns the original value.)
See :func:`.Range`. | "Creates a validator that checks if the given value's length is in the\n specified range, inclusive. (Returns the original value.)\n\n See :func:`.Range`." | 47 | false | veeti/decent | Length | 29,688 | |
LDU_FT/ltworf/typedload/attrload | LDU_FT | [
"<BEGIN>\n## `uniontypes`",
"Returns the types of a Union.",
" Raises ValueError if the argument is not a Union\n and AttributeError when running on an unsupported\n Python version.\n<END>",
"<BEGIN>\n## `index`",
"Returns the index in the handlers list\n that matches the given value.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attrload API.
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 attrload API.
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... | Quick function call to load data supporting the "attr" module
in addition to the default ones. | "Quick function call to load data supporting the \"attr\" module\n in addition to the default ones." | 55 | false | ltworf/typedload | attrload | 29,689 | |
LDU_FT/hannes-brt/cudnn-python-wrappers/cudnnGetTensor4dDescriptor | LDU_FT | [
"<BEGIN>\n## `cudnnCreate`",
"Initialize cuDNN.",
" Initializes cuDNN and returns a handle to the cuDNN context.",
" Returns\n -------",
" handle : cudnnHandle\n cuDNN context\n<END>",
"<BEGIN>\n## `cudnnDestroy`",
"Release cuDNN resources.",
" Release hardware resources used by ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cudnnGetTensor4dDescriptor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cudnnGetTensor4dDescriptor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Get parameters of a Tensor descriptor object.
This function queries the parameters of the previouly initialized Tensor4D descriptor
object.
Parameters
----------
tensorDesc : cudnnTensorDescriptor
Handle to a previously initialized tensor descriptor.
Returns
-------
dataType :... | "Get parameters of a Tensor descriptor object.\n\n This function queries the parameters of the previouly initialized Tensor4D descriptor\n object.\n\n Parameters\n ----------\n tensorDesc : cudnnTensorDescriptor\n Handle to a previously initialized tensor descriptor.\n\n Returns\n -------\n ... | 108 | false | hannes-brt/cudnn-python-wrappers | cudnnGetTensor4dDescriptor | 29,690 | |
LDU_FT/treethought/flask-assistant/action | LDU_FT | [
"<BEGIN>\n## `build_item`",
"Builds an item that may be added to List or Carousel\n<END>",
"<BEGIN>\n## `suggest`",
"Use suggestion chips to hint at responses to continue or pivot the conversation\n<END>",
"<BEGIN>\n## `link_out`",
"Presents a chip similar to suggestion, but instead links to a url\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the action API.
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 action API.
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 ... | Decorates an intent_name's Action view function.
The wrapped function is called when a request with the
given intent_name is recieved along with all required parameters. | "Decorates an intent_name's Action view function.\n\n The wrapped function is called when a request with the\n given intent_name is recieved along with all required parameters." | 65 | false | treethought/flask-assistant | action | 29,691 | |
LDU_FT/MonashBI/arcana/load | LDU_FT | [
"<BEGIN>\n## `satisfy`",
"Checks whether the given requirements are satisfiable within the given\n execution context",
" Parameter\n ---------\n requirements : list(Requirement)\n List of requirements to check whether they are satisfiable\n<END>",
"<BEGIN>\n## `connect`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Loads a saved provenance object from a JSON file
Parameters
----------
path : str
Path to the provenance file
frequency : str
The frequency of the record
subject_id : str | None
The subject ID of the provenance record
visit_id : str | ... | "Loads a saved provenance object from a JSON file\n\n Parameters\n ----------\n path : str\n Path to the provenance file\n frequency : str\n The frequency of the record\n subject_id : str | None\n The subject ID of the provenance record\n visit_... | 275 | false | MonashBI/arcana | load | 29,692 | |
LDU_FT/mediawiki-utilities/python-mwoauth/complete | LDU_FT | [
"<BEGIN>\n## `authorized`",
"Wrap a flask route. Ensure that the user has authorized via OAuth or\n redirect the user to the authorization endpoint with a delayed redirect\n back to the originating endpoint.\n<END>",
"<BEGIN>\n## `mwapi_session`",
"Create :class:`mwapi.Session` that is authorized for th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the complete API.
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 complete API.
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... | Complete an OAuth handshake with MediaWiki by exchanging an
:Parameters:
request_token : `RequestToken`
A temporary token representing the user. Returned by
`initiate()`.
response_qs : `bytes`
The query string of the URL that MediaWiki fo... | "Complete an OAuth handshake with MediaWiki by exchanging an\n\n :Parameters:\n request_token : `RequestToken`\n A temporary token representing the user. Returned by\n `initiate()`.\n response_qs : `bytes`\n The query string of the URL that Medi... | 34 | false | mediawiki-utilities/python-mwoauth | complete | 29,693 | |
LDU_FT/adafruit/Adafruit_Python_PN532/mifare_classic_write_block | LDU_FT | [
"<BEGIN>\n## `create_block`",
"Build a block with the specified id and subtype under the player in the\n Minecraft world. Subtype is optional and can be specified as None to use\n the default subtype for the block.\n<END>",
"<BEGIN>\n## `_busy_wait_ms`",
"Busy wait for the specified number of milliseco... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mifare_classic_write_block API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mifare_classic_write_block API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Write a block of data to the card. Block number should be the block
to write and data should be a byte array of length 16 with the data to
write. If the data is successfully written then True is returned,
otherwise False is returned. | "Write a block of data to the card. Block number should be the block\n to write and data should be a byte array of length 16 with the data to\n write. If the data is successfully written then True is returned,\n otherwise False is returned." | 26 | false | adafruit/Adafruit_Python_PN532 | mifare_classic_write_block | 29,694 | |
LDU_FT/Projectplace/basepage/click | LDU_FT | [
"<BEGIN>\n## `click`",
"Click web element.",
" :param locator: locator tuple or WebElement instance\n :param params: (optional) locator parameters\n :param timeout: (optional) time to wait for element\n :return: None\n<END>",
"<BEGIN>\n## `alt_click`",
"Alt-click web element.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the click API.
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 click API.
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... | Click web element.
:param locator: locator tuple or WebElement instance
:param params: (optional) locator parameters
:param timeout: (optional) time to wait for element
:return: None | "Click web element.\n\n :param locator: locator tuple or WebElement instance\n :param params: (optional) locator parameters\n :param timeout: (optional) time to wait for element\n :return: None" | 138 | false | Projectplace/basepage | click | 29,695 | |
LDU_FT/etal/biofrills/aa_counts | LDU_FT | [
"<BEGIN>\n## `read_logodata`",
"Get weblogo data for a sequence alignment.",
" Returns a list of tuples: (posn, letter_counts, entropy, weight)\n<END>",
"<BEGIN>\n## `aln2logodata`",
"Get weblogo data for an alignment object.",
" Returns a list of tuples: (posn, letter_counts, entropy, weight)\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aa_counts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aa_counts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Calculate the amino acid frequencies in a set of SeqRecords.
Weights for each sequence in the alignment can be given as a list/tuple,
usually calculated with the sequence_weights function. For convenience, you
can also pass "weights=True" and the weights will be calculated with
sequence_weights here. | "Calculate the amino acid frequencies in a set of SeqRecords.\n\n Weights for each sequence in the alignment can be given as a list/tuple,\n usually calculated with the sequence_weights function. For convenience, you\n can also pass \"weights=True\" and the weights will be calculated with\n sequence_weights... | 81 | false | etal/biofrills | aa_counts | 29,696 | |
LDU_FT/Celeo/Pycord/get_all_guild_roles | LDU_FT | [
"<BEGIN>\n## `parse`",
"Gets the enum for the op code",
" Args:\n op: value of the op code (will be casted to int)",
" Returns:\n The enum that matches the op code\n<END>",
"<BEGIN>\n## `run`",
"Runs the thread",
" This method handles sending the heartbeat to t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_guild_roles API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_guild_roles 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... | Gets all the roles for the specified guild
Args:
guild_id: snowflake id of the guild
Returns:
List of dictionary objects of roles in the guild.
Example:
[
{
"id": "41771983423143936",
... | "Gets all the roles for the specified guild\n\n Args:\n guild_id: snowflake id of the guild\n\n Returns:\n List of dictionary objects of roles in the guild.\n\n Example:\n [\n {\n \"id\": \"41771983423143936\",\n ... | 108 | false | Celeo/Pycord | get_all_guild_roles | 29,697 | |
LDU_FT/limix/numpy-sugar/kron_dot | LDU_FT | [
"<BEGIN>\n## `dotd`",
"r\"\"\"Diagonal of :math:`\\mathrm A\\mathrm B^\\intercal`.",
" If ``A`` is :math:`n\\times p` and ``B`` is :math:`p\\times n`, it is done in\n :math:`O(pn)`.",
" Args:\n A (array_like): Left matrix.\n B (array_like): Right matrix.\n out (:class:`numpy.ndar... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the kron_dot API.
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 kron_dot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | r""" Kronecker product followed by dot product.
Let :math:`\mathrm A`, :math:`\mathrm B`, and :math:`\mathrm C` be matrices of
dimensions :math:`p\times p`, :math:`n\times d`, and :math:`d\times p`.
It computes
.. math::
\text{unvec}((\mathrm A\otimes\mathrm B)\text{vec}(\mathrm C))
... | "r\"\"\" Kronecker product followed by dot product.\n\n Let :math:`\\mathrm A`, :math:`\\mathrm B`, and :math:`\\mathrm C` be matrices of\n dimensions :math:`p\\times p`, :math:`n\\times d`, and :math:`d\\times p`.\n\n It computes\n\n .. math::\n\n \\text{unvec}((\\mathrm A\\otimes\\mathrm B)\\text{v... | 124 | false | limix/numpy-sugar | kron_dot | 29,698 | |
LDU_FT/Karaage-Cluster/karaage/_send_invitation | LDU_FT | [
"<BEGIN>\n## `_gen_project_trend_graph`",
"Generates a bar graph for a project",
" Keyword arguments:\n project -- Project\n start -- start date\n end -- end date\n<END>",
"<BEGIN>\n## `synchronise`",
"If task already queued, running, or finished, don't restart.\n<END>",
"<BEGIN>\n## `send_bou... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _send_invitation API.
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 _send_invitation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | The logged in project leader OR administrator wants to invite somebody. | "The logged in project leader OR administrator wants to invite somebody." | 214 | false | Karaage-Cluster/karaage | _send_invitation | 29,699 | |
LDU_FT/Venti-/pubcode/width | LDU_FT | [
"<BEGIN>\n## `width`",
"Return the barcodes width in modules for a given data and character set combination.",
" :param add_quiet_zone: Whether quiet zone should be included in the width.",
" :return: Width of barcode in modules, which for images translates to pixels.\n<END>",
"<BEGIN>\n## `_v... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the width API.
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 width API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Return the barcodes width in modules for a given data and character set combination.
:param add_quiet_zone: Whether quiet zone should be included in the width.
:return: Width of barcode in modules, which for images translates to pixels. | "Return the barcodes width in modules for a given data and character set combination.\n\n :param add_quiet_zone: Whether quiet zone should be included in the width.\n\n :return: Width of barcode in modules, which for images translates to pixels." | 30 | false | Venti-/pubcode | width | 29,700 | |
LDU_FT/sirfoga/pyhal/get_mime_message | LDU_FT | [
"<BEGIN>\n## `write_dicts_to_csv`",
"Saves .csv file with posts data",
" :param dicts: Dictionaries with same values\n<END>",
"<BEGIN>\n## `write_matrix_to_csv`",
"Saves .csv file with data",
" :param headers: column names\n :param data: Data\n<END>",
"<BEGIN>\n## `write_dicts_to_js... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mime_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mime_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Gets email MIME message
:return: Email formatted as HTML ready to be sent | "Gets email MIME message\n\n :return: Email formatted as HTML ready to be sent" | 543 | false | sirfoga/pyhal | get_mime_message | 29,701 | |
LDU_FT/jay-johnson/network-pipeline/process_pad_frame | LDU_FT | [
"<BEGIN>\n## `publish_processed_network_packets`",
"# Redis/RabbitMQ/SQS messaging endpoints for pub-sub\n routing_key = ev(\"PUBLISH_EXCHANGE\",\n \"reporting.accounts\")\n queue_name = ev(\"PUBLISH_QUEUE\",\n \"reporting.accounts\")\n auth_url = ev(\"PUB_BROKER_UR... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_pad_frame API.
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 process_pad_frame API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | process_pad_frame
Convert a complex nested json dictionary
to a flattened dictionary and capture
all unique keys for table construction
:param id: key for this msg
:param msg: pad frame for packet | "process_pad_frame\n\n Convert a complex nested json dictionary\n to a flattened dictionary and capture\n all unique keys for table construction\n\n :param id: key for this msg\n :param msg: pad frame for packet" | 140 | false | jay-johnson/network-pipeline | process_pad_frame | 29,702 | |
LDU_FT/Pelagicore/qface/get_template | LDU_FT | [
"<BEGIN>\n## `open_ns`",
"generates a open namespace from symbol namespace x { y { z {\n<END>",
"<BEGIN>\n## `close_ns`",
"generates a closing names statement from a symbol\n<END>",
"<BEGIN>\n## `ns`",
"generates a namespace x::y::z statement from a symbol\n<END>",
"<BEGIN>\n## `app`",
"Takes several ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_template API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_template API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Retrieves a single template file from the template loader | "Retrieves a single template file from the template loader" | 56 | false | Pelagicore/qface | get_template | 29,703 | |
LDU_FT/inveniosoftware-attic/invenio-utils/guess_extension | LDU_FT | [
"<BEGIN>\n## `get_callable_signature_as_string`",
"Return a string representing a callable.",
" It is executed as if it would have been declared on the prompt.",
" >>> def foo(arg1, arg2, arg3='val1', arg4='val2', *args, **argd):\n ... pass\n >>> get_callable_signature_as_string(foo)\n def ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the guess_extension API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the guess_extension API.
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... | Tries to guess extension for a mimetype.
@param amimetype: name of a mimetype
@time amimetype: string
@return: the extension
@rtype: string | "Tries to guess extension for a mimetype.\n\n @param amimetype: name of a mimetype\n @time amimetype: string\n @return: the extension\n @rtype: string" | 424 | false | inveniosoftware-attic/invenio-utils | guess_extension | 29,704 | |
LDU_FT/thespacedoctor/astrocalc/get_mjd | LDU_FT | [
"<BEGIN>\n## `luminosity_to_flux`",
"*Convert luminosity to a flux*",
" **Key Arguments:**\n - ``lumErg_S`` -- luminosity in ergs/sec\n - ``dist_Mpc`` -- distance in Mpc",
" **Return:**\n - ``fluxErg_cm2_S`` -- flux in ergs/cm2/s\n<END>",
"<BEGIN>\n## `get_mjd`",
"*Get the curre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mjd API.
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 get_mjd API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | *Get the current time as an MJD*
**Return:**
- ``mjd`` -- the current MJD as a float
**Usage:**
.. todo::
- add clutil
- remove `getCurrentMJD` from all other code
.. code-block:: python
from astrocalc.times import now
mjd... | "*Get the current time as an MJD*\n\n **Return:**\n - ``mjd`` -- the current MJD as a float\n\n **Usage:**\n .. todo::\n\n - add clutil\n - remove `getCurrentMJD` from all other code\n\n .. code-block:: python \n\n from astrocalc.times import now\n... | 160 | false | thespacedoctor/astrocalc | get_mjd | 29,705 | |
LDU_FT/odlgroup/odl/det_point_position | LDU_FT | [
"<BEGIN>\n## `is_valid_input_array`",
"Test if ``x`` is a correctly shaped point array in R^d.\n<END>",
"<BEGIN>\n## `is_valid_input_meshgrid`",
"Test if ``x`` is a `meshgrid` sequence for points in R^d.\n<END>",
"<BEGIN>\n## `out_shape_from_meshgrid`",
"Get the broadcast output shape from a `meshgrid`.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the det_point_position 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 det_point_position 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... | Return the detector point at ``(mparam, dparam)``.
The position is computed as follows::
pos = refpoint(mparam) +
rotation_matrix(mparam).dot(detector.surface(dparam))
In other words, the motion parameter ``mparam`` is used to move the
detector reference point, a... | "Return the detector point at ``(mparam, dparam)``.\n\n The position is computed as follows::\n\n pos = refpoint(mparam) +\n rotation_matrix(mparam).dot(detector.surface(dparam))\n\n In other words, the motion parameter ``mparam`` is used to move the\n detector reference... | 4,047 | true | odlgroup/odl | det_point_position | 29,706 | |
LDU_FT/inveniosoftware/invenio-access/load_permissions_on_identity_loaded | LDU_FT | [
"<BEGIN>\n## `removed_or_inserted_action`",
"Remove the action from cache when an item is inserted or deleted.\n<END>",
"<BEGIN>\n## `changed_action`",
"Remove the action from cache when an item is updated.\n<END>",
"<BEGIN>\n## `create`",
"Create new database row using the provided action need.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_permissions_on_identity_loaded API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_permissions_on_identity_loaded API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | Add system roles "Needs" to users' identities.
Every user gets the **any_user** Need.
Authenticated users get in addition the **authenticated_user** Need. | "Add system roles \"Needs\" to users' identities.\n\n Every user gets the **any_user** Need.\n Authenticated users get in addition the **authenticated_user** Need." | 64 | false | inveniosoftware/invenio-access | load_permissions_on_identity_loaded | 29,707 | |
LDU_FT/cgearhart/Resound/main | LDU_FT | [
"<BEGIN>\n## `main`",
"Calculate the fingerprint hashses of the referenced audio file and save\n to disk as a pickle file\n<END>",
"<BEGIN>\n## `hashes`",
"Generator function for successive hashes calculated from a mono-channel\n time-domain audio signal as a set of tuples, (<long>, <int>). The <long>\n... | 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... | Calculate the fingerprint hashses of the referenced audio file and save
to disk as a pickle file | "Calculate the fingerprint hashses of the referenced audio file and save\n to disk as a pickle file" | 15 | false | cgearhart/Resound | main | 29,708 | |
LDU_FT/kennethreitz/clint/append | LDU_FT | [
"<BEGIN>\n## `_indent`",
"Indent util function, compute new indent_string\n<END>",
"<BEGIN>\n## `open`",
"Returns file object from given filename.\n<END>",
"<BEGIN>\n## `append`",
"Appends given content to given filename.\n<END>",
"<BEGIN>\n## `delete`",
"Deletes given file or directory. If no filenam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Appends given content to given filename. | "Appends given content to given filename." | 66 | false | kennethreitz/clint | append | 29,709 | |
LDU_FT/tripzero/python-photons/setSeries | LDU_FT | [
"<BEGIN>\n## `wavelengthToRGB`",
"Taken from Earl F. Glynn's web page:\n\t* <a href=\"http://www.efg2.com/Lab/ScienceAndEngineering/Spectra.htm\">Spectra Lab Report</a>\n<END>",
"<BEGIN>\n## `writeHeader`",
"write header:\n\t\t[8bit][16bit]\n\t\t[protocol_version][msg_length]\n<END>",
"<BEGIN>\n## `setColor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setSeries API.
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 setSeries API.
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... | Command 0x07
sets all lights in the series starting from "startId" to "endId" to "color"
Data:
[0x07][startId][length][r][g][b] | "Command 0x07\n\t\tsets all lights in the series starting from \"startId\" to \"endId\" to \"color\"\n\n\t\tData:\n\t\t[0x07][startId][length][r][g][b]" | 19 | false | tripzero/python-photons | setSeries | 29,710 | |
LDU_FT/kervi/kervi-devices/_output_pins | 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 _output_pins API.
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 _output_pins API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Set multiple pins high or low at once. Pins should be a dict of pin
name to pin value (HIGH/True for 1, LOW/False for 0). All provided pins
will be set to the given values. | "Set multiple pins high or low at once. Pins should be a dict of pin\n name to pin value (HIGH/True for 1, LOW/False for 0). All provided pins\n will be set to the given values." | 58 | false | kervi/kervi-devices | _output_pins | 29,711 | |
LDU_FT/UniversalDevicesInc/polyglot-v2-python-interface/removeNotice | LDU_FT | [
"<BEGIN>\n## `init_interface`",
"Grab the ~/.polyglot/.env file for variables\n If you are running Polyglot v2 on this same machine\n then it should already exist. If not create it.\n<END>",
"<BEGIN>\n## `_connect`",
"The callback for when the client receives a CONNACK response from the server.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the removeNotice API.
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 removeNotice API.
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... | Add custom notice to front-end for this NodeServers
:param data: Index of notices list to remove. | "Add custom notice to front-end for this NodeServers\n\n :param data: Index of notices list to remove." | 42 | false | UniversalDevicesInc/polyglot-v2-python-interface | removeNotice | 29,712 | |
LDU_FT/PonteIneptique/collatinus-python/atone | LDU_FT | [
"<BEGIN>\n## `assims`",
"Cherche si la chaîne a peut subir une assimilation, renvoie cette chaîne éventuellement assimilée.",
" :param mot: Mot pour lequel on doit vérifier des assimilations\n :type mot: str\n :return: Mot assimilé\n :rtype: str\n<END>",
"<BEGIN>\n## `morpho`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the atone API.
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 atone API.
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... | Supprimer les diacritiques de la forme donnée
:param string: Chaîne à transformer
:type string: str
:param caps: Transforme les majuscules
:type caps: bool
:return: Chaîne nettoyée
:rtype: str | "Supprimer les diacritiques de la forme donnée\n\n :param string: Chaîne à transformer\n :type string: str\n :param caps: Transforme les majuscules\n :type caps: bool\n :return: Chaîne nettoyée\n :rtype: str" | 109 | false | PonteIneptique/collatinus-python | atone | 29,713 | |
LDU_FT/pipermerriam/flex/find_parameter | LDU_FT | [
"<BEGIN>\n## `main`",
"For a given command line supplied argument, negotiate the content, parse\n the schema and then return any issues to stdout or if no schema issues,\n return success exit code.\n<END>",
"<BEGIN>\n## `host_validator`",
"From: http://stackoverflow.com/questions/2532053/validate-a-host... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_parameter API.
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 find_parameter API.
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... | Given a list of parameters, find the one with the given name. | "Given a list of parameters, find the one with the given name." | 112 | false | pipermerriam/flex | find_parameter | 29,714 | |
LDU_FT/ksbg/sparklanes/Task | LDU_FT | [
"<BEGIN>\n## `build_lane_from_yaml`",
"Builds a `sparklanes.Lane` object from a YAML definition file.",
" Parameters\n ----------\n path: str\n Path to the YAML definition file",
" Returns\n -------\n Lane\n Lane, built according to definition in YAML file\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Task API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Task API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Decorator with which classes, who act as tasks in a `Lane`, must be decorated. When a class is
being decorated, it becomes a child of `LaneTask`.
Parameters
----------
entry: The name of the task's "main" method, i.e. the method which is executed when task is run
Returns
-------
wrapper (f... | "Decorator with which classes, who act as tasks in a `Lane`, must be decorated. When a class is\n being decorated, it becomes a child of `LaneTask`.\n\n Parameters\n ----------\n entry: The name of the task's \"main\" method, i.e. the method which is executed when task is run\n\n Returns\n -------\n ... | 62 | false | ksbg/sparklanes | Task | 29,715 | |
LDU_FT/dtmilano/AndroidViewClient/__hammingDistance | LDU_FT | [
"<BEGIN>\n## `takeScreenshotAndShowItOnWindow`",
"Takes the current screenshot and shows it on the main window.\n It also:\n - sizes the window\n - create the canvas\n - set the focus\n - enable the events\n - create widgets\n - finds the targets (as explaine... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __hammingDistance API.
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 __hammingDistance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Finds the Hamming distance between two strings.
@param s1: string
@param s2: string
@return: the distance
@raise ValueError: if the lenght of the strings differ | "Finds the Hamming distance between two strings.\n\n @param s1: string\n @param s2: string\n @return: the distance\n @raise ValueError: if the lenght of the strings differ" | 197 | false | dtmilano/AndroidViewClient | __hammingDistance | 29,716 | |
LDU_FT/cggh/scikit-allel/vcf_to_csv | LDU_FT | [
"<BEGIN>\n## `mean_pairwise_difference`",
"Calculate for each variant the mean number of pairwise differences\n between chromosomes sampled from within a single population.",
" Parameters\n ----------",
" ac : array_like, int, shape (n_variants, n_alleles)\n Allele counts array.\n an : a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vcf_to_csv API.
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 vcf_to_csv API.
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... | r"""Read data from a VCF file and write out to a comma-separated values (CSV) file.
Parameters
----------
input : string
{input}
output : string
{output}
fields : list of strings, optional
{fields}
exclude_fields : list of strings, optional
{exclude_fields}
t... | "r\"\"\"Read data from a VCF file and write out to a comma-separated values (CSV) file.\n\n Parameters\n ----------\n input : string\n {input}\n output : string\n {output}\n fields : list of strings, optional\n {fields}\n exclude_fields : list of strings, optional\n {exclud... | 1,142 | true | cggh/scikit-allel | vcf_to_csv | 29,717 | |
LDU_FT/jstitch/MambuPy/connectDb | LDU_FT | [
"<BEGIN>\n## `convertDict2Attrs`",
"The trick for iterable Mambu Objects comes here:",
" You iterate over each element of the responded List from Mambu,\n and create a Mambu Activity object for each one, initializing\n them one at a time, and changing the attrs attribute (which just\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connectDb API.
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 connectDb API.
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... | Connect to database utility function.
Uses SQLAlchemy ORM library.
Useful when using schema modules in MambuPy | "Connect to database utility function.\n\n Uses SQLAlchemy ORM library.\n\n Useful when using schema modules in MambuPy" | 357 | false | jstitch/MambuPy | connectDb | 29,718 | |
LDU_FT/openstack/swauth/handle_get_account | LDU_FT | [
"<BEGIN>\n## `filter_factory`",
"Returns a WSGI filter app for use with paste.deploy.\n<END>",
"<BEGIN>\n## `make_pre_authed_request`",
"Nearly the same as swift.common.wsgi.make_pre_authed_request\n except that this also always sets the 'swift.source' and user\n agent.",
" Newer Swift ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_get_account 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 handle_get_account 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... | Handles the GET v2/<account> call for getting account information.
Can only be called by an account .admin.
On success, a JSON dictionary will be returned containing the keys
`account_id`, `services`, and `users`. The `account_id` is the value
used when creating service accounts. The `s... | "Handles the GET v2/<account> call for getting account information.\n Can only be called by an account .admin.\n\n On success, a JSON dictionary will be returned containing the keys\n `account_id`, `services`, and `users`. The `account_id` is the value\n used when creating service accounts. ... | 133 | false | openstack/swauth | handle_get_account | 29,719 | |
LDU_FT/liamw9534/bt-manager/_acquire_media_transport | LDU_FT | [
"<BEGIN>\n## `translate_to_dbus_type`",
"Helper function to map values from their native Python types\n to Dbus types.",
" :param type typeof: Target for type conversion e.g., 'dbus.Dictionary'\n :param value: Value to assign using type 'typeof'\n :return: 'value' converted to type 'typeof'\n :rt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _acquire_media_transport API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _acquire_media_transport API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Should be called by subclass when it is ready
to acquire the media transport file descriptor | "Should be called by subclass when it is ready\n to acquire the media transport file descriptor" | 66 | false | liamw9534/bt-manager | _acquire_media_transport | 29,720 | |
LDU_FT/ly0/baidupcsapi/get_streaming | LDU_FT | [
"<BEGIN>\n## `__err_handler`",
"百度网盘下载错误控制\n :param act: 出错时的行为, 有 download\n :param errno: 出错时的errno,这个要配合act才有实际意义\n :param callback: 返回时的调用函数, 为空时返回None\n :param args: 给callback函数的参数tuple\n :param kwargs: 给callback函数的带名参数字典",
" 在本函数调用后一定可以解决提交过来的问题, 在外部不需要重复检查是否存在原问题... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_streaming API.
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_streaming API.
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... | 获得视频的m3u8列表
:param path: 视频文件路径
:param stype: 返回stream类型, 已知有``M3U8_AUTO_240``/``M3U8_AUTO_480``/``M3U8_AUTO_720``
.. warning::
M3U8_AUTO_240会有问题, 目前480P是最稳定的, 也是百度网盘默认的
:return: str 播放(列表)需要的信息 | "获得视频的m3u8列表\n\n :param path: 视频文件路径\n :param stype: 返回stream类型, 已知有``M3U8_AUTO_240``/``M3U8_AUTO_480``/``M3U8_AUTO_720``\n\n .. warning::\n M3U8_AUTO_240会有问题, 目前480P是最稳定的, 也是百度网盘默认的\n :return: str 播放(列表)需要的信息" | 222 | false | ly0/baidupcsapi | get_streaming | 29,721 | |
LDU_FT/rosshamish/catan-py/get | LDU_FT | [
"<BEGIN>\n## `do`",
"Does the command using the undo_manager's stack\n :param command: Command\n<END>",
"<BEGIN>\n## `restore`",
"Restore this Game object to match the properties and state of the given Game object\n :param game: properties to restore to the current (self) Game\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Add a certain number of resources to the trade from getter->giver
:param terrain: resource type, models.Terrain
:param num: number to add, int
:return: None | "Add a certain number of resources to the trade from getter->giver\n :param terrain: resource type, models.Terrain\n :param num: number to add, int\n :return: None" | 52 | false | rosshamish/catan-py | get | 29,722 | |
LDU_FT/dailymuse/oz/set_cache_buster | LDU_FT | [
"<BEGIN>\n## `db`",
"Gets the SQLALchemy session for this request\n<END>",
"<BEGIN>\n## `_sqlalchemy_on_finish`",
"Closes the sqlalchemy transaction. Rolls back if an error occurred.\n<END>",
"<BEGIN>\n## `_sqlalchemy_on_connection_close`",
"Rollsback and closes the active session, since the client discon... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_cache_buster API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_cache_buster API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Sets the cache buster value for a given file path | "Sets the cache buster value for a given file path" | 58 | false | dailymuse/oz | set_cache_buster | 29,723 | |
LDU_FT/HttpRunner/HttpRunner/run | LDU_FT | [
"<BEGIN>\n## `setup_logger`",
"setup root logger with ColoredFormatter.\n<END>",
"<BEGIN>\n## `_handle_skip_feature`",
"handle skip feature for test\n - skip: skip current test unconditionally\n - skipIf: skip current test if condition is true\n - skipUnless: skip current test... | 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... | main interface.
Args:
path_or_tests:
str: testcase/testsuite file/foler path
dict: valid testcase/testsuite data | "main interface.\n\n Args:\n path_or_tests:\n str: testcase/testsuite file/foler path\n dict: valid testcase/testsuite data" | 267 | false | HttpRunner/HttpRunner | run | 29,724 | |
LDU_FT/thautwarm/Redy/filter_by | LDU_FT | [
"<BEGIN>\n## `map_by`",
"when pycharm supports type hinting for any implementation of currying,\n map_with and map_on would be deprecated.\n >>> from Redy.Collections import Traversal, Flow\n >>> def double(x: int) -> int: return x * 2\n >>> lst: Iterable[int] = [1, 2, 3]\n >>> x = Flow(lst)[Traver... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_by API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_by API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | >>> from Redy.Collections import Traversal, Flow
>>> def even(a: int) -> bool: return a % 2 == 0
>>> lst: Iterable[int] = [1, 2, 3]
>>> x = Flow(lst)[Traversal.filter_by(even)].unbox
>>> assert list(x) == [2] | ">>> from Redy.Collections import Traversal, Flow\n >>> def even(a: int) -> bool: return a % 2 == 0\n >>> lst: Iterable[int] = [1, 2, 3]\n >>> x = Flow(lst)[Traversal.filter_by(even)].unbox\n >>> assert list(x) == [2]" | 83 | false | thautwarm/Redy | filter_by | 29,725 | |
LDU_FT/ORCID/python-orcid/read_record_member | LDU_FT | [
"<BEGIN>\n## `get_login_url`",
"Return a URL for a user to login/register with ORCID.",
" Parameters\n ----------\n :param scope: string or iterable of strings\n The scope(s) of the authorization request.\n For example '/authenticate'\n :param redirect_uri: stri... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_record_member API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_record_member API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Get the member info about the researcher.
Parameters
----------
:param orcid_id: string
Id of the queried author.
:param request_type: string
For example: 'record'.
See https://members.orcid.org/api/tutorial/read-orcid-records
for possible... | "Get the member info about the researcher.\n\n Parameters\n ----------\n :param orcid_id: string\n Id of the queried author.\n :param request_type: string\n For example: 'record'.\n See https://members.orcid.org/api/tutorial/read-orcid-records\n fo... | 54 | false | ORCID/python-orcid | read_record_member | 29,726 | |
LDU_FT/shmir/PyIxNetwork/get_children | 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 get_children API.
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_children API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Read (getList) children from IXN.
Use this method to align with current IXN configuration.
:param types: list of requested children.
:return: list of all children objects of the requested types. | "Read (getList) children from IXN.\n\n Use this method to align with current IXN configuration.\n\n :param types: list of requested children.\n :return: list of all children objects of the requested types." | 64 | false | shmir/PyIxNetwork | get_children | 29,727 | |
LDU_FT/jasonrbriggs/stomp.py/unsubscribe | LDU_FT | [
"<BEGIN>\n## `attempt_connection`",
"Establish a multicast connection - uses 2 sockets (one for sending, the other for receiving)\n<END>",
"<BEGIN>\n## `process_frame`",
":param Frame f: Frame object\n :param bytes frame_str: Raw frame content\n<END>",
"<BEGIN>\n## `connect`",
":param str username:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unsubscribe API.
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 unsubscribe API.
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... | Unsubscribe from a destination by either id or the destination name.
:param str destination: the name of the topic or queue to unsubscribe from
:param str id: the unique identifier of the topic or queue to unsubscribe from
:param dict headers: a map of any additional headers the broker requires... | "Unsubscribe from a destination by either id or the destination name.\n\n :param str destination: the name of the topic or queue to unsubscribe from\n :param str id: the unique identifier of the topic or queue to unsubscribe from\n :param dict headers: a map of any additional headers the broker req... | 154 | false | jasonrbriggs/stomp.py | unsubscribe | 29,728 | |
LDU_FT/bitesofcode/xqt/getSaveFileName | LDU_FT | [
"<BEGIN>\n## `init`",
"Initialize the xqt system with the PySide wrapper for the Qt system.\r",
" :param scope | <dict>\n<END>",
"<BEGIN>\n## `createAction`",
"Overloads teh create action method to handle the proper base\r\n instance information, similar to the PyQt4 loading system.\r",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getSaveFileName API.
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 getSaveFileName API.
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... | Normalizes the getSaveFileName method between the different Qt
wrappers.
:return (<str> filename, <bool> accepted) | "Normalizes the getSaveFileName method between the different Qt\r\n wrappers.\r\n \r\n :return (<str> filename, <bool> accepted)" | 35 | false | bitesofcode/xqt | getSaveFileName | 29,729 | |
LDU_FT/unt-libraries/pyuntl/get_publication_date | LDU_FT | [
"<BEGIN>\n## `normalize_LCSH`",
"Normalize a LCSH subject heading prior to indexing.\n<END>",
"<BEGIN>\n## `normalize_UNTL`",
"Normalize a UNTL subject heading for consistency.\n<END>",
"<BEGIN>\n## `UNTL_to_encodedUNTL`",
"Normalize a UNTL subject heading to be used in SOLR.\n<END>",
"<BEGIN>\n## `untl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_publication_date 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_publication_date API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Determine the creation date for the publication date. | "Determine the creation date for the publication date." | 144 | false | unt-libraries/pyuntl | get_publication_date | 29,730 | |
LDU_FT/commonwealth-of-puerto-rico/libre/copy_data | LDU_FT | [
"<BEGIN>\n## `copy_data`",
"Copy the data from the it's point of origin, serializing it,\n storing it serialized as well as in it's raw form and calculate\n a running hash of the serialized representation\n<END>",
"<BEGIN>\n## `get_binary_iterator`",
"Generator to stream the remote file piece by... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_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 extract... | Copy the data from the it's point of origin, serializing it,
storing it serialized as well as in it's raw form and calculate
a running hash of the serialized representation | "Copy the data from the it's point of origin, serializing it,\n storing it serialized as well as in it's raw form and calculate\n a running hash of the serialized representation" | 28 | false | commonwealth-of-puerto-rico/libre | copy_data | 29,731 | |
LDU_FT/olivier-m/rafter/resource | LDU_FT | [
"<BEGIN>\n## `model_node`",
"Decorates a ``schematics.Model`` class to add it as a field\n of type ``schematic.types.ModelType``.",
" Keyword arguments are passed to ``schematic.types.ModelType``.",
" Example:",
" .. code-block:: python\n :emphasize-lines: 8,13",
" from schematic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resource API.
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 resource API.
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 a blueprint resource route from a decorated function.
:param uri: endpoint at which the route will be accessible.
:param methods: list of acceptable HTTP methods.
:param host:
:param strict_slashes:
:param version:
:param name: user defined route name for url_for
... | "Create a blueprint resource route from a decorated function.\n\n :param uri: endpoint at which the route will be accessible.\n :param methods: list of acceptable HTTP methods.\n :param host:\n :param strict_slashes:\n :param version:\n :param name: user defined route name for ... | 41 | false | olivier-m/rafter | resource | 29,732 | |
LDU_FT/altair-viz/pdvega/import_obj | LDU_FT | [
"<BEGIN>\n## `infer_vegalite_type`",
"From an array-like input, infer the correct vega typecode\n ('ordinal', 'nominal', 'quantitative', or 'temporal')",
" Parameters\n ----------\n data: Numpy array or Pandas Series\n data for which the type will be inferred\n ordinal_threshold: integer (... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_obj API.
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 import_obj API.
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... | Import the object given by clsname.
If default_module is specified, import from this module. | "Import the object given by clsname.\n If default_module is specified, import from this module." | 48 | false | altair-viz/pdvega | import_obj | 29,733 | |
LDU_FT/klmitch/bark/pop_state | LDU_FT | [
"<BEGIN>\n## `pop_state`",
"Pops off the most recent state.",
" :param idx: If provided, specifies the index at which the next\n string begins.\n<END>",
"<BEGIN>\n## `add_text`",
"Adds the text from string beginning to the specified ending\n index to the format.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pop_state API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pop_state API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Pops off the most recent state.
:param idx: If provided, specifies the index at which the next
string begins. | "Pops off the most recent state.\n\n :param idx: If provided, specifies the index at which the next\n string begins." | 160 | false | klmitch/bark | pop_state | 29,734 | |
LDU_FT/budacom/trading-bots/fetch_deposits | LDU_FT | [
"<BEGIN>\n## `fetch_deposits`",
"Fetch latest deposits, must provide a limit.\n<END>",
"<BEGIN>\n## `fetch_deposits_since`",
"Fetch all deposits since the given timestamp.\n<END>",
"<BEGIN>\n## `fetch_withdrawals`",
"Fetch latest withdrawals, must provide a limit.\n<END>",
"<BEGIN>\n## `fetch_withdrawal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_deposits API.
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 fetch_deposits API.
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... | Fetch latest deposits, must provide a limit. | "Fetch latest deposits, must provide a limit." | 62 | false | budacom/trading-bots | fetch_deposits | 29,735 | |
LDU_FT/kivy/python-for-android/compile_dir | LDU_FT | [
"<BEGIN>\n## `dist_dir`",
"The dist dir at which to place the finished distribution.\n<END>",
"<BEGIN>\n## `check_recipe_choices`",
"Checks what recipes are being built to see which of the alternative\n and optional dependencies are being used,\n and returns a list of these.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile_dir API.
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 compile_dir API.
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... | Compile *.py in directory `dfn` to *.pyo | "Compile *.py in directory `dfn` to *.pyo" | 404 | false | kivy/python-for-android | compile_dir | 29,736 | |
LDU_FT/ttroy50/pyirishrail/get_train_stops | LDU_FT | [
"<BEGIN>\n## `get_all_stations`",
"Returns information of all stations.\n @param<optional> station_type: ['mainline', 'suburban', 'dart']\n<END>",
"<BEGIN>\n## `get_all_current_trains`",
"Returns all trains that are due to start in the next 10 minutes\n @param train_type: ['mainline', 'suburban'... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_train_stops API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_train_stops API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Get details for a train.
@param train_code code for the trian
@param date Date in format "15 oct 2017". If none use today | "Get details for a train.\n @param train_code code for the trian\n @param date Date in format \"15 oct 2017\". If none use today" | 10 | false | ttroy50/pyirishrail | get_train_stops | 29,737 | |
LDU_FT/etingof/pysnmpcrypto/_cryptography_encrypt | LDU_FT | [
"<BEGIN>\n## `_cryptodome_encrypt`",
"Use a Pycryptodome cipher factory to encrypt data.",
" :param cipher_factory: Factory callable that builds a Pycryptodome Cipher\n instance based on the key and IV\n :type cipher_factory: callable\n :param bytes plaintext: Plaintext data to encrypt\n :par... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _cryptography_encrypt 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 _cryptography_encrypt API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Use a cryptography cipher factory to encrypt data.
:param cipher_factory: Factory callable that builds a cryptography Cipher
instance based on the key and IV
:type cipher_factory: callable
:param bytes plaintext: Plaintext data to encrypt
:param bytes key: Encryption key
:param bytes IV: In... | "Use a cryptography cipher factory to encrypt data.\n\n :param cipher_factory: Factory callable that builds a cryptography Cipher\n instance based on the key and IV\n :type cipher_factory: callable\n :param bytes plaintext: Plaintext data to encrypt\n :param bytes key: Encryption key\n :param byte... | 27 | false | etingof/pysnmpcrypto | _cryptography_encrypt | 29,738 | |
LDU_FT/openeventdata/mordecai/_feature_country_mentions | LDU_FT | [
"<BEGIN>\n## `country_list_maker`",
"Helper function to return dictionary of countries in {\"country\" : \"iso\"} form.\n<END>",
"<BEGIN>\n## `make_skip_list`",
"Return hand-defined list of place names to skip and not attempt to geolocate. If users would like to exclude\n country names, this would be the f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _feature_country_mentions 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 _feature_country_mentions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Given a document, count how many times different country names and adjectives are mentioned.
These are features used in the country picking phase.
Parameters
---------
doc: a spaCy nlp'ed piece of text
Returns
-------
countries: dict
the top two coun... | "Given a document, count how many times different country names and adjectives are mentioned.\n These are features used in the country picking phase.\n\n Parameters\n ---------\n doc: a spaCy nlp'ed piece of text\n\n Returns\n -------\n countries: dict\n the t... | 110 | false | openeventdata/mordecai | _feature_country_mentions | 29,739 | |
LDU_FT/romana/vpc-router/_update_route | LDU_FT | [
"<BEGIN>\n## `_do_tcp_check`",
"Attempt to establish a TCP connection.",
" If not successful, record the IP in the results dict.",
" Always closes the connection at the end.\n<END>",
"<BEGIN>\n## `do_health_checks`",
"Perform a health check on a list of IP addresses.",
" Each check ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_route API.
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 _update_route API.
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... | Update an existing route entry in the route table. | "Update an existing route entry in the route table." | 207 | false | romana/vpc-router | _update_route | 29,740 | |
LDU_FT/sentinel-hub/sentinelhub-py/is_downloaded | LDU_FT | [
"<BEGIN>\n## `_get_utm_code`",
"Get UTM code given a zone and direction",
" Direction is encoded as NORTH=6, SOUTH=7, while zone is the UTM zone number zero-padded.\n For instance, the code 32604 is returned for zone number 4, north direction.",
" :param zone: UTM zone number\n :type zone: int\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_downloaded API.
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 is_downloaded API.
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... | Checks if data for this request has already been downloaded and is saved to disk.
:return: returns ``True`` if data for this request has already been downloaded and is saved to disk.
:rtype: bool | "Checks if data for this request has already been downloaded and is saved to disk.\n\n :return: returns ``True`` if data for this request has already been downloaded and is saved to disk.\n :rtype: bool" | 559 | false | sentinel-hub/sentinelhub-py | is_downloaded | 29,741 | |
LDU_FT/pepkit/peppy/suggest_implied_attributes | LDU_FT | [
"<BEGIN>\n## `merge_sample`",
"Use merge table (subannotation) data to augment/modify Sample.",
" :param Sample sample: sample to modify via merge table data\n :param sample_subann: data with which to alter Sample\n :param Mapping data_sources: collection of named paths to data locations,\n opti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the suggest_implied_attributes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the suggest_implied_attributes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | If given project contains what could be implied attributes, suggest that.
:param Iterable prj: Intent is a Project, but this could be any iterable
of strings to check for suitability of declaration as implied attr
:return list[str]: (likely empty) list of warning messages about project
config k... | "If given project contains what could be implied attributes, suggest that.\n\n :param Iterable prj: Intent is a Project, but this could be any iterable\n of strings to check for suitability of declaration as implied attr\n :return list[str]: (likely empty) list of warning messages about project\n co... | 53 | false | pepkit/peppy | suggest_implied_attributes | 29,742 | |
LDU_FT/rpcope1/PythonConfluenceAPI/get_content_properties | LDU_FT | [
"<BEGIN>\n## `request_patch`",
"Maintains the existing api for Session.request.\n Used by all of the higher level methods, e.g. Session.get.\n The background_callback param allows you to do some processing on the\n response in the background, e.g. call resp.json() so that json parsing\n happens in the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_content_properties 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_content_properties 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 paginated list of content properties.
Content properties are a key / value store of properties attached to a piece of Content.
The key is a string, and the value is a JSON-serializable object.
:param content_id (string): A string containing the id of the property content container.
... | "Returns a paginated list of content properties.\n\n Content properties are a key / value store of properties attached to a piece of Content.\n The key is a string, and the value is a JSON-serializable object.\n :param content_id (string): A string containing the id of the property content containe... | 140 | false | rpcope1/PythonConfluenceAPI | get_content_properties | 29,743 | |
LDU_FT/cisco-sas/kitty/decode_string | LDU_FT | [
"<BEGIN>\n## `update`",
"update db entry",
" :param field_dict: dictionary of fields and values\n :param where_clause: where clause for the update\n<END>",
"<BEGIN>\n## `insert`",
"insert new db entry",
" :param fields: list of fields to insert\n :param values: list of values t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_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 ext... | Decode string
:param data: string to decode
:param encoding: encoding to use (default: 'hex')
:return: decoded string | "Decode string\n\n :param data: string to decode\n :param encoding: encoding to use (default: 'hex')\n :return: decoded string" | 331 | false | cisco-sas/kitty | decode_string | 29,744 | |
LDU_FT/haikuginger/beekeeper/from_file | LDU_FT | [
"<BEGIN>\n## `merge`",
"Take two copies of a variable and reconcile them. var1 is assumed\n to be the higher-level variable, and so will be overridden by var2\n where such becomes necessary.\n<END>",
"<BEGIN>\n## `has_value_of_type`",
"Does the variable both have the given type and\n have a varia... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Create a Hive object based on JSON located in a local file. | "Create a Hive object based on JSON located in a local file." | 66 | false | haikuginger/beekeeper | from_file | 29,745 | |
LDU_FT/openstack/networking-arista/create_router_on_eos | LDU_FT | [
"<BEGIN>\n## `synchronize`",
"Synchronizes Router DB from Neturon DB with EOS.",
" Walks through the Neturon Db and ensures that all the routers\n created in Netuton DB match with EOS. After creating appropriate\n routers, it ensures to add interfaces as well.\n Uses idempotent prope... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_router_on_eos 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 create_router_on_eos API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Creates a router on Arista HW Device.
:param router_name: globally unique identifier for router/VRF
:param rdm: A value generated by hashing router name
:param server: Server endpoint on the Arista switch to be configured | "Creates a router on Arista HW Device.\n\n :param router_name: globally unique identifier for router/VRF\n :param rdm: A value generated by hashing router name\n :param server: Server endpoint on the Arista switch to be configured" | 213 | false | openstack/networking-arista | create_router_on_eos | 29,746 | |
LDU_FT/nornir-automation/nornir/sftp | LDU_FT | [
"<BEGIN>\n## `start`",
"Run the task for the given host.",
" Arguments:\n host (:obj:`nornir.core.inventory.Host`): Host we are operating with. Populated right\n before calling the ``task``\n nornir(:obj:`nornir.core.Nornir`): Populated right before calling\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sftp API.
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 sftp API.
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... | Transfer files from/to the device using sftp protocol
Example::
nornir.run(files.sftp,
action="put",
src="README.md",
dst="/tmp/README.md")
Arguments:
dry_run: Whether to apply changes or not
src: source file
dst: des... | "Transfer files from/to the device using sftp protocol\n\n Example::\n\n nornir.run(files.sftp,\n action=\"put\",\n src=\"README.md\",\n dst=\"/tmp/README.md\")\n\n Arguments:\n dry_run: Whether to apply changes or not\n src: source fil... | 175 | false | nornir-automation/nornir | sftp | 29,747 | |
LDU_FT/tanghaibao/goatools/get_id2gos_all | LDU_FT | [
"<BEGIN>\n## `run`",
"Compare two or more sets of GO IDs. Best done using sections.\n<END>",
"<BEGIN>\n## `get_nts_sorted`",
"Return a flat list of grouped and sorted GO terms.\n<END>",
"<BEGIN>\n## `get_sorted_hdrgo2usrgos`",
"Return GO IDs sorting using go2nt's namedtuple.\n<END>",
"<BEGIN>\n## `plot_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_id2gos_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_id2gos_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Get associations for all stored species taxid2asscs[taxid][ID2GOs|GO2IDs]. | "Get associations for all stored species taxid2asscs[taxid][ID2GOs|GO2IDs]." | 996 | false | tanghaibao/goatools | get_id2gos_all | 29,748 | |
LDU_FT/ClearcodeHQ/matchbox/extract_traits | LDU_FT | [
"<BEGIN>\n## `add_mismatch`",
"Add a mismatching entity to the index.",
" We do this by simply adding the mismatch to the index.",
" :param collections.Hashable entity: an object to be mismatching the values of `traits_indexed_by`\n :param list traits: a list of hashable traits to index t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_traits API.
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 extract_traits API.
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... | Extract data required to classify entity.
:param object entity:
:return: namedtuple consisting of characteristic traits and match flag
:rtype: matchbox.box.Trait | "Extract data required to classify entity.\n\n :param object entity:\n :return: namedtuple consisting of characteristic traits and match flag\n :rtype: matchbox.box.Trait" | 18 | false | ClearcodeHQ/matchbox | extract_traits | 29,749 | |
LDU_FT/ehansis/ozelot/clear | LDU_FT | [
"<BEGIN>\n## `_query`",
"Base query for an url and xpath",
" Args:\n url (str): URL to search\n xpath (str): xpath to search (may be ``None``)\n<END>",
"<BEGIN>\n## `get`",
"Get a URL via the cache.",
" If the URL exists in the cache, return the cached value. Otherwise ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clear API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clear API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Clear task output: remove value ``budget_inflation_adjusted`` from all :class:`Movie` objects. | "Clear task output: remove value ``budget_inflation_adjusted`` from all :class:`Movie` objects." | 203 | false | ehansis/ozelot | clear | 29,750 | |
LDU_FT/thombashi/SimpleSQLite/validate_attr_name | LDU_FT | [
"<BEGIN>\n## `set_log_level`",
"Set logging level of this module. Using\n `logbook <https://logbook.readthedocs.io/en/stable/>`__ module for logging.",
" :param int log_level:\n One of the log level of\n `logbook <https://logbook.readthedocs.io/en/stable/api/base.html>`__.\n Disabled ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_attr_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_attr_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | :param str name: Name to validate.
:raises NameValidationError: |raises_validate_attr_name| | ":param str name: Name to validate.\n :raises NameValidationError: |raises_validate_attr_name|" | 185 | false | thombashi/SimpleSQLite | validate_attr_name | 29,751 | |
LDU_FT/evansde77/dockerstache/main | LDU_FT | [
"<BEGIN>\n## `run`",
"_run_",
" Run the dockerstache process to render templates\n based on the options provided",
" If extend_context is passed as options it will be used to\n extend the context with the contents of the dictionary provided\n via context.update(extend_context)\n<END>",
"<BEGI... | 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_
Create a CLI parser and use that to run
the template rendering process | "_main_\n\n Create a CLI parser and use that to run\n the template rendering process" | 45 | false | evansde77/dockerstache | main | 29,752 | |
LDU_FT/dev-pipeline/dev-pipeline-configure/update_cache | LDU_FT | [
"<BEGIN>\n## `read_config`",
"Read a configuration from disk.",
" Arguments\n path -- the loation to deserialize\n<END>",
"<BEGIN>\n## `find_config`",
"Find a build cache somewhere in a parent directory.\n<END>",
"<BEGIN>\n## `update_cache`",
"Load a build cache, updating it if necessary.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_cache API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_cache API.
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 a build cache, updating it if necessary.
A cache is considered outdated if any of its inputs have changed.
Arguments
force -- Consider a cache outdated regardless of whether its inputs have
been modified. | "Load a build cache, updating it if necessary.\n\n A cache is considered outdated if any of its inputs have changed.\n\n Arguments\n force -- Consider a cache outdated regardless of whether its inputs have\n been modified." | 25 | false | dev-pipeline/dev-pipeline-configure | update_cache | 29,753 | |
LDU_FT/OCHA-DAP/hdx-python-utilities/dict_diff | LDU_FT | [
"<BEGIN>\n## `raisefrom`",
"Call Python 3 raise from or emulate it for Python 2",
" Args:\n exc_type (Any): Type of Exception\n message (str): Error message to display\n exc (BaseException): original exception",
" Returns:\n None\n<END>",
"<BEGIN>\n## `get_session`",
"Set... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dict_diff API.
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 dict_diff API.
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... | Compares two dictionaries
Args:
d1 (DictUpperBound): First dictionary to compare
d2 (DictUpperBound): Second dictionary to compare
no_key (str): What value to use if key is not found Defaults to '<KEYNOTFOUND>'.
Returns:
Dict: Comparison dictionary | "Compares two dictionaries\n\n Args:\n d1 (DictUpperBound): First dictionary to compare\n d2 (DictUpperBound): Second dictionary to compare\n no_key (str): What value to use if key is not found Defaults to '<KEYNOTFOUND>'.\n\n Returns:\n Dict: Comparison dictionary" | 232 | false | OCHA-DAP/hdx-python-utilities | dict_diff | 29,754 | |
LDU_FT/scrapinghub/exporters/flush | LDU_FT | [
"<BEGIN>\n## `formatted_prefix`",
"Gets a dict with format info, and formats a prefix template with that info. For example:\n if our prefix template is:\n 'some_file_{groups[0]}_{file_number}'",
" And we have this method called with:",
" formatted_prefix(groups=[US], file_number=0)... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flush API.
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 flush API.
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... | Ensure all remaining buffers are written. | "Ensure all remaining buffers are written." | 90 | false | scrapinghub/exporters | flush | 29,755 | |
LDU_FT/jtpaasch/simplygithub/get_tree | LDU_FT | [
"<BEGIN>\n## `get_url`",
"Get the URL for a resource.",
" Args:",
" profile\n A profile generated from ``simplygithub.authentication.profile``.\n Such profiles tell this module (i) the ``repo`` to connect to,\n and (ii) the ``token`` to connect with.",
" res... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tree API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tree API.
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... | Fetch a tree.
Args:
profile
A profile generated from ``simplygithub.authentication.profile``.
Such profiles tell this module (i) the ``repo`` to connect to,
and (ii) the ``token`` to connect with.
sha
The SHA of the tree to fetch.
recursive... | "Fetch a tree.\n\n Args:\n\n profile\n A profile generated from ``simplygithub.authentication.profile``.\n Such profiles tell this module (i) the ``repo`` to connect to,\n and (ii) the ``token`` to connect with.\n\n sha\n The SHA of the tree to fetch.\n\n ... | 224 | false | jtpaasch/simplygithub | get_tree | 29,756 | |
LDU_FT/davidmogar/cucco/replace_symbols | LDU_FT | [
"<BEGIN>\n## `_load_from_file`",
"Load a config file from the given path.",
" Load all normalizations from the config file received as\n argument. It expects to find a YAML file with a list of\n normalizations and arguments under the key 'normalizations'.",
" Args:\n pat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_symbols API.
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 replace_symbols API.
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... | Replace symbols in text.
Removes symbols from input text or replaces them with a
string if specified.
Args:
text: The text to be processed.
form: Unicode form.
excluded: Set of unicode characters to exclude.
replacement: New text that will replac... | "Replace symbols in text.\n\n Removes symbols from input text or replaces them with a\n string if specified.\n\n Args:\n text: The text to be processed.\n form: Unicode form.\n excluded: Set of unicode characters to exclude.\n replacement: New text that w... | 103 | false | davidmogar/cucco | replace_symbols | 29,757 | |
LDU_FT/openfisca/openfisca-survey-manager/_set_role_variable_by_entity_key | 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 _set_role_variable_by_entity_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_role_variable_by_entity_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | Identify and set the good roles for the different entities | "Identify and set the good roles for the different entities" | 80 | false | openfisca/openfisca-survey-manager | _set_role_variable_by_entity_key | 29,758 | |
LDU_FT/BerkeleyAutomation/perception/crop | 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 crop API.
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 crop API.
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... | Convert to new camera intrinsics for crop of image from original camera.
Parameters
----------
height : int
height of crop window
width : int
width of crop window
crop_ci : int
row of crop window center
crop_cj : int
col of... | "Convert to new camera intrinsics for crop of image from original camera.\n\n Parameters\n ----------\n height : int\n height of crop window\n width : int\n width of crop window\n crop_ci : int\n row of crop window center\n crop_cj : int\n ... | 657 | false | BerkeleyAutomation/perception | crop | 29,759 | |
LDU_FT/PyCQA/pydocstyle/check_imperative_mood | LDU_FT | [
"<BEGIN>\n## `error_lineno`",
"Get the line number with which to report violations.\n<END>",
"<BEGIN>\n## `source`",
"Return the source code for the definition.\n<END>",
"<BEGIN>\n## `is_public`",
"Return True iff this function should be considered public.\n<END>",
"<BEGIN>\n## `is_magic`",
"Return Tr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_imperative_mood API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_imperative_mood API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | D401: First line should be in imperative mood: 'Do', not 'Does'.
[Docstring] prescribes the function or method's effect as a command:
("Do this", "Return that"), not as a description; e.g. don't write
"Returns the pathname ...". | "D401: First line should be in imperative mood: 'Do', not 'Does'.\n\n [Docstring] prescribes the function or method's effect as a command:\n (\"Do this\", \"Return that\"), not as a description; e.g. don't write\n \"Returns the pathname ...\"." | 183 | false | PyCQA/pydocstyle | check_imperative_mood | 29,760 | |
LDU_FT/smdabdoub/phylotoast/raw_abundance | LDU_FT | [
"<BEGIN>\n## `sample_group`",
"Iterate through all categories in an OrderedDict and return category name if SampleID\n present in that category.",
" :type sid: str\n :param sid: SampleID from dataset.",
" :type groups: OrderedDict\n :param groups: Returned dict from phylotoast.util.gather_categ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raw_abundance API.
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 raw_abundance API.
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... | Calculate the total number of sequences in each OTU or SampleID.
:type biomf: A BIOM file.
:param biomf: OTU table format.
:type sampleIDs: List
:param sampleIDs: A list of column id's from BIOM format OTU table. By default, the
list has been set to None.
:type sample_abd: B... | "Calculate the total number of sequences in each OTU or SampleID.\n\n :type biomf: A BIOM file.\n :param biomf: OTU table format.\n\n :type sampleIDs: List\n :param sampleIDs: A list of column id's from BIOM format OTU table. By default, the\n list has been set to None.\n\n :type sam... | 200 | false | smdabdoub/phylotoast | raw_abundance | 29,761 | |
LDU_FT/ltworf/typedload/_dictload | LDU_FT | [
"<BEGIN>\n## `uniontypes`",
"Returns the types of a Union.",
" Raises ValueError if the argument is not a Union\n and AttributeError when running on an unsupported\n Python version.\n<END>",
"<BEGIN>\n## `index`",
"Returns the index in the handlers list\n that matches the given value.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dictload API.
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 _dictload API.
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... | This loads into something like Dict[str,str]
Recursively loads both keys and values. | "This loads into something like Dict[str,str]\n\n Recursively loads both keys and values." | 55 | false | ltworf/typedload | _dictload | 29,762 | |
LDU_FT/iblancasa/GitHubCity/__getContributions | LDU_FT | [
"<BEGIN>\n## `export`",
"Export all attributes of the user to a dict.",
" :return: attributes of the user.\n :rtype: dict.\n<END>",
"<BEGIN>\n## `__getContributions`",
"Scrap the contributions from a GitHub profile.",
" :param web: parsed web.\n :type web: BeautifulSoup node.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __getContributions 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 __getContributions 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... | Scrap the contributions from a GitHub profile.
:param web: parsed web.
:type web: BeautifulSoup node. | "Scrap the contributions from a GitHub profile.\n\n :param web: parsed web.\n :type web: BeautifulSoup node." | 97 | false | iblancasa/GitHubCity | __getContributions | 29,763 | |
LDU_FT/python-wink/python-wink/color_xy | LDU_FT | [
"<BEGIN>\n## `set_mode`",
":param mode: a str, one of [home, away, night]\n :return: nothing\n<END>",
"<BEGIN>\n## `set_privacy`",
":param state: True or False\n :return: nothing\n<END>",
"<BEGIN>\n## `_update_state_from_response`",
":param response_json: the json obj returned from query\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the color_xy API.
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 color_xy API.
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... | XY colour value: [float, float] or None
:rtype: list float | "XY colour value: [float, float] or None\n :rtype: list float" | 133 | false | python-wink/python-wink | color_xy | 29,764 | |
LDU_FT/uchicago-cs/deepdish/load | LDU_FT | [
"<BEGIN>\n## `load`",
"Loads an instance of the class from a file.",
" Parameters\n ----------\n path : str\n Path to an HDF5 file.",
" Examples\n --------\n This is an abstract data type, but let us say that ``Foo`` inherits\n from ``Saveable``. To ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Loads an instance of the class from a file.
Parameters
----------
path : str
Path to an HDF5 file.
Examples
--------
This is an abstract data type, but let us say that ``Foo`` inherits
from ``Saveable``. To construct an object of this class from a fi... | "Loads an instance of the class from a file.\n\n Parameters\n ----------\n path : str\n Path to an HDF5 file.\n\n Examples\n --------\n This is an abstract data type, but let us say that ``Foo`` inherits\n from ``Saveable``. To construct an object of this clas... | 138 | false | uchicago-cs/deepdish | load | 29,765 | |
LDU_FT/VisTrails/tej/get_client | LDU_FT | [
"<BEGIN>\n## `escape_queue`",
"Escapes the path to a queue, e.g. preserves ~ at the begining.\n<END>",
"<BEGIN>\n## `get_client`",
"Gets the SSH client.",
" This will check that the connection is still alive first, and reconnect\n if necessary.\n<END>",
"<BEGIN>\n## `_call`",
"Calls a comm... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_client API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_client API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Gets the SSH client.
This will check that the connection is still alive first, and reconnect
if necessary. | "Gets the SSH client.\n\n This will check that the connection is still alive first, and reconnect\n if necessary." | 26 | false | VisTrails/tej | get_client | 29,766 | |
LDU_FT/Alignak-monitoring/alignak/setup_new_conf | LDU_FT | [
"<BEGIN>\n## `is_active`",
"Know if this result modulation is active now",
" :return: True is we are in the period, otherwise False\n :rtype: bool\n<END>",
"<BEGIN>\n## `module_return`",
"Module the exit code if necessary ::",
" * modulation_period is legit\n * exit_code_modula... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_new_conf API.
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 setup_new_conf API.
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... | Setup the new configuration received from Arbiter
This function calls the base satellite treatment and manages the configuration needed
for a simple satellite daemon that executes some actions (eg. poller or reactionner):
- configure the passive mode
- configure the workers
- co... | "Setup the new configuration received from Arbiter\n\n This function calls the base satellite treatment and manages the configuration needed\n for a simple satellite daemon that executes some actions (eg. poller or reactionner):\n - configure the passive mode\n - configure the workers\n ... | 3,377 | true | Alignak-monitoring/alignak | setup_new_conf | 29,767 | |
LDU_FT/bxlab/bx-python/find | LDU_FT | [
"<BEGIN>\n## `abut`",
"Like the |Stat abut command. It concatenates two lists side-by-side\nand returns the result. '2D' lists are also accomodated for either argument\n(source or addon). CAUTION: If one list is shorter, it will be repeated\nuntil it is as long as the longest list. If this behavior is not de... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | find the intersecting elements
:param chrom: chromosome
:param start: start
:param end: end
:return: a list of intersecting elements | "find the intersecting elements\n\n :param chrom: chromosome\n :param start: start\n :param end: end\n :return: a list of intersecting elements" | 417 | false | bxlab/bx-python | find | 29,768 | |
LDU_FT/toomore/goristock/goback | LDU_FT | [
"<BEGIN>\n## `output`",
"re = \"\"\"<table>\n <tr><td>%(name)s</td><td>%(c)s</td><td>%(range)+.2f(%(pp)+.2f%%)</td></tr>\n <tr><td>%(stock_no)s</td><td>%(value)s</td><td>%(time)s</td></tr></table>\"\"\" % {\n<END>",
"<BEGIN>\n## `Rt_display`",
"For real time stock display\n 即時盤用,顯示目... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the goback API.
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 goback API.
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 ... | Go back days
刪除最新天數資料數據
days 代表刪除多少天數(倒退幾天) | "Go back days\n 刪除最新天數資料數據\n days 代表刪除多少天數(倒退幾天)" | 62 | false | toomore/goristock | goback | 29,769 | |
LDU_FT/inveniosoftware/invenio-access/register_system_role | LDU_FT | [
"<BEGIN>\n## `removed_or_inserted_action`",
"Remove the action from cache when an item is inserted or deleted.\n<END>",
"<BEGIN>\n## `changed_action`",
"Remove the action from cache when an item is updated.\n<END>",
"<BEGIN>\n## `create`",
"Create new database row using the provided action need.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_system_role 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 register_system_role API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Register a system role.
.. note:: A system role can't be registered two times. If it happens,
then an assert exception will be raised.
:param system_role: The system role to be registered. | "Register a system role.\n\n .. note:: A system role can't be registered two times. If it happens,\n then an assert exception will be raised.\n\n :param system_role: The system role to be registered." | 64 | false | inveniosoftware/invenio-access | register_system_role | 29,770 | |
LDU_FT/pymoca/pymoca/sim | LDU_FT | [
"<BEGIN>\n## `call`",
"Convenience method for calling methods with walker.\n<END>",
"<BEGIN>\n## `der`",
"Get the derivative of the variable, create it if it doesn't exist.\n<END>",
"<BEGIN>\n## `log`",
"Convenience function for printing indenting debug output.\n<END>",
"<BEGIN>\n## `flatten_component_r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sim API.
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 sim API.
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... | Simulates a Dae model.
:model: The model to simulate
:options: See opt dict below
:user_callback: A routine to call after each integration step,
f(t, x, y, m, p, c) -> ret (ret < 0 means abort) | "Simulates a Dae model.\n\n :model: The model to simulate\n :options: See opt dict below\n :user_callback: A routine to call after each integration step,\n f(t, x, y, m, p, c) -> ret (ret < 0 means abort)" | 61 | false | pymoca/pymoca | sim | 29,771 | |
LDU_FT/twitterdev/search-tweets-python/parse_version | LDU_FT | [
"<BEGIN>\n## `parse_version`",
"Parses the program's version from a python variable declaration.\n<END>",
"<BEGIN>\n## `make_session`",
"Creates a Requests Session for use. Accepts a bearer token\n for premiums users and will override username and password information if\n present.",
" Args:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 ext... | Parses the program's version from a python variable declaration. | "Parses the program's version from a python variable declaration." | 88 | false | twitterdev/search-tweets-python | parse_version | 29,772 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.