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/pyca/pynacl/crypto_secretstream_xchacha20poly1305_pull | LDU_FT | [
"<BEGIN>\n## `ensure`",
"Return if a condition is true, otherwise raise a caller-configurable\n :py:class:`Exception`\n :param bool cond: the condition to be checked\n :param sequence args: the arguments to be passed to the exception's\n constructor\n The only accepted named p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the crypto_secretstream_xchacha20poly1305_pull API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the crypto_secretstream_xchacha20poly1305_pull API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indic... | Read a decrypted message from the secret stream.
:param state: a secretstream state object
:type state: crypto_secretstream_xchacha20poly1305_state
:param c: the ciphertext to decrypt, the maximum length of an individual
ciphertext is
:data:`.crypto_secretstream_xchacha20poly130... | "Read a decrypted message from the secret stream.\n\n :param state: a secretstream state object\n :type state: crypto_secretstream_xchacha20poly1305_state\n :param c: the ciphertext to decrypt, the maximum length of an individual\n ciphertext is\n :data:`.crypto_secretstream_xchacha20... | 266 | false | pyca/pynacl | crypto_secretstream_xchacha20poly1305_pull | 11,673 | |
LDU_FT/F5Networks/f5-common-python/_check_load_parameters | LDU_FT | [
"<BEGIN>\n## `update`",
"Update the object, removing device group if inherited",
" If inheritedDevicegroup is the string \"true\" we need to remove\n deviceGroup from the args before we update or we get the\n following error:",
" The floating traffic-group: /Common/traffic-group-1 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_load_parameters 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_load_parameters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Params given to load should at least satisfy required params.
:params: kwargs
:raises: MissingRequiredReadParameter | "Params given to load should at least satisfy required params.\n\n :params: kwargs\n :raises: MissingRequiredReadParameter" | 559 | false | F5Networks/f5-common-python | _check_load_parameters | 11,674 | |
LDU_FT/aganezov/bg/__get_edges_by_vertex | LDU_FT | [
"<BEGIN>\n## `add_edge`",
"Adds a new edge to the current tree with specified characteristics",
" Forbids addition of an edge, if a parent node is not present\n Forbids addition of an edge, if a child node already exists",
" :param node1_name: name of the parent node, to which an edge sha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __get_edges_by_vertex 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_edges_by_vertex API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Iterates over edges that are incident to supplied vertex argument in current :class:`BreakpointGraph`
Checks that the supplied vertex argument exists in underlying MultiGraph object as a vertex, then iterates over all edges that are incident to it. Wraps each yielded object into :class:`bg.edge.BGEdge` object.... | "Iterates over edges that are incident to supplied vertex argument in current :class:`BreakpointGraph`\n\n Checks that the supplied vertex argument exists in underlying MultiGraph object as a vertex, then iterates over all edges that are incident to it. Wraps each yielded object into :class:`bg.edge.BGEdge` obje... | 226 | false | aganezov/bg | __get_edges_by_vertex | 11,675 | |
LDU_FT/linkedin/pyexchange/update_item | LDU_FT | [
"<BEGIN>\n## `add_attendees`",
"Adds new attendees to the event.",
" *attendees* can be a list of email addresses or :class:`ExchangeEventAttendee` objects.\n<END>",
"<BEGIN>\n## `remove_attendees`",
"Removes attendees from the event.",
" *attendees* can be a list of email addresses or :class:`Excha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_item API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_item API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Saves updates to an event in the store. Only request changes for attributes that have actually changed. | "Saves updates to an event in the store. Only request changes for attributes that have actually changed." | 102 | false | linkedin/pyexchange | update_item | 11,676 | |
LDU_FT/abseil/abseil-py/disclaim_key_flags | LDU_FT | [
"<BEGIN>\n## `_register_bounds_validator_if_needed`",
"Enforces lower and upper bounds for numeric flags.",
" Args:\n parser: NumericParser (either FloatParser or IntegerParser), provides lower\n and upper bounds, and help text to display.\n name: str, name of the flag\n flag_values: FlagValues... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disclaim_key_flags 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 disclaim_key_flags 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... | Declares that the current module will not define any more key flags.
Normally, the module that calls the DEFINE_xxx functions claims the
flag to be its key flag. This is undesirable for modules that
define additional DEFINE_yyy functions with its own flag parsers and
serializers, since that module will accide... | "Declares that the current module will not define any more key flags.\n\n Normally, the module that calls the DEFINE_xxx functions claims the\n flag to be its key flag. This is undesirable for modules that\n define additional DEFINE_yyy functions with its own flag parsers and\n serializers, since that module will ... | 432 | false | abseil/abseil-py | disclaim_key_flags | 11,677 | |
LDU_FT/materials-data-facility/toolbox/format_gmeta | LDU_FT | [
"<BEGIN>\n## `login`",
"Log in to Globus services",
" Arguments:\n credentials (str or dict): A string filename, string JSON, or dictionary\n with credential and config information.\n By default, looks in ``~/mdf/credentials/globus_login.json``.\n Contains ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_gmeta API.
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 format_gmeta API.
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... | Format input into GMeta format, suitable for ingesting into Globus Search.
Formats a dictionary into a GMetaEntry.
Formats a list of GMetaEntry into a GMetaList inside a GMetaIngest.
**Example usage**::
glist = []
for document in all_my_documents:
gmeta_entry = format_gmeta(doc... | "Format input into GMeta format, suitable for ingesting into Globus Search.\n Formats a dictionary into a GMetaEntry.\n Formats a list of GMetaEntry into a GMetaList inside a GMetaIngest.\n\n **Example usage**::\n\n glist = []\n for document in all_my_documents:\n gmeta_entry = format_... | 173 | false | materials-data-facility/toolbox | format_gmeta | 11,678 | |
LDU_FT/cbclab/MOT/monte_carlo_standard_error | LDU_FT | [
"<BEGIN>\n## `get_historical_data`",
"Get the historical tank data.",
" Args:\n nmr_problems (int): the number of problems",
" Returns:\n tuple: (observations, nmr_tanks_ground_truth)\n<END>",
"<BEGIN>\n## `get_simulated_data`",
"Simulate some data.",
" This returns the simulated ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the monte_carlo_standard_error 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 monte_carlo_standard_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Compute Monte Carlo standard errors for the expectations
This is a convenience function that calls the compute method for each batch size and returns the lowest ESS
over the used batch sizes.
Args:
chain (ndarray): the Markov chain
batch_size_generator (UniVariateESSBatchSizeGenerator): th... | "Compute Monte Carlo standard errors for the expectations\n\n This is a convenience function that calls the compute method for each batch size and returns the lowest ESS\n over the used batch sizes.\n\n Args:\n chain (ndarray): the Markov chain\n batch_size_generator (UniVariateESSBatchSizeGenera... | 445 | false | cbclab/MOT | monte_carlo_standard_error | 11,679 | |
LDU_FT/rapidpro/dash/if_url | LDU_FT | [
"<BEGIN>\n## `intersection`",
"Return the intersection of lists, using the first list to determine item order\n<END>",
"<BEGIN>\n## `union`",
"Return the union of lists, ordering by first seen in any list\n<END>",
"<BEGIN>\n## `filter_dict`",
"Creates a new dict from an existing dict that only has the giv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the if_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the if_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Example:
%li{ class:"{% if_url 'contacts.contact_read' 'active' '' %}" } | "Example:\n %li{ class:\"{% if_url 'contacts.contact_read' 'active' '' %}\" }" | 55 | false | rapidpro/dash | if_url | 11,680 | |
LDU_FT/hcpl/xkbgroup/groups_names | LDU_FT | [
"<BEGIN>\n## `open_display`",
"Establishes connection with X server and prepares objects\n necessary to retrieve and send data.\n<END>",
"<BEGIN>\n## `close_display`",
"Closes connection with X server and cleans up objects\n created on open_display().\n<END>",
"<BEGIN>\n## `groups_data`",
"A... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the groups_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the groups_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Names of all groups (get-only).
:getter: Returns names of all groups
:type: list of str | "Names of all groups (get-only).\n\n :getter: Returns names of all groups\n :type: list of str" | 30 | false | hcpl/xkbgroup | groups_names | 11,681 | |
LDU_FT/clinicedc/edc-notification/manage_mailists_on_userprofile_m2m_changed | LDU_FT | [
"<BEGIN>\n## `notify`",
"Overridden to only call `notify` if model matches.\n<END>",
"<BEGIN>\n## `notification_on_post_create_historical_record`",
"Checks and processes any notifications for this model.",
" Processes if `label_lower` is in site_notifications.models.",
" Note, this is the post_creat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the manage_mailists_on_userprofile_m2m_changed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the manage_mailists_on_userprofile_m2m_changed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indic... | Updates the mail server mailing lists based on the
selections in the UserProfile model. | "Updates the mail server mailing lists based on the\n selections in the UserProfile model." | 54 | false | clinicedc/edc-notification | manage_mailists_on_userprofile_m2m_changed | 11,682 | |
LDU_FT/happyleavesaoc/python-limitlessled/send | LDU_FT | [
"<BEGIN>\n## `command_set_factory`",
"Create command set for controlling a specific led group.\n :param bridge: The bridge the leds are connected to.\n :param group_number: The group number.\n :param led_type: The type of the leds.\n :return: The created command set.\n<END>",
"<BEGIN>\n## `rate`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API.
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 send API.
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... | Send a command to the bridge.
:param cmd: List of command bytes. | "Send a command to the bridge.\n\n :param cmd: List of command bytes." | 164 | false | happyleavesaoc/python-limitlessled | send | 11,683 | |
LDU_FT/cloudify-cosmo/wagon/install | LDU_FT | [
"<BEGIN>\n## `install_package`",
"Install a Python package.",
" Can specify a specific version.\n Can specify a prerelease.\n Can specify a venv to install in.\n Can specify a list of paths or urls to requirement txt files.\n Can specify a local wheels_path to use for offline installation.\n C... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install API.
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 install API.
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... | Install a Wagon archive.
This can install in a provided `venv` or in the current
virtualenv in case one is currently active.
`upgrade` is merely pip's upgrade.
`ignore_platform` will allow to ignore the platform check, meaning
that if an archive was created for a specific platform (e.g. win32),
... | "Install a Wagon archive.\n\n This can install in a provided `venv` or in the current\n virtualenv in case one is currently active.\n\n `upgrade` is merely pip's upgrade.\n\n `ignore_platform` will allow to ignore the platform check, meaning\n that if an archive was created for a specific platform (e.g. ... | 51 | false | cloudify-cosmo/wagon | install | 11,684 | |
LDU_FT/alorence/django-modern-rpc/get_all_method_names | LDU_FT | [
"<BEGIN>\n## `_generic_convert_string`",
"Generic method to convert any argument type (string type, list, set, tuple, dict) to an equivalent,\n with string values converted to given 'to_type' (str or unicode).\n This method must be used with Python 2 interpreter only.",
" :param v: The value to convert... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_method_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_method_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Return the names of all RPC methods registered supported by the given entry_point / protocol pair | "Return the names of all RPC methods registered supported by the given entry_point / protocol pair" | 86 | false | alorence/django-modern-rpc | get_all_method_names | 11,685 | |
LDU_FT/brettcannon/gidgethub/register | LDU_FT | [
"<BEGIN>\n## `_parse_content_type`",
"Tease out the content-type and character encoding.",
" A default character encoding of UTF-8 is used, so the content-type\n must be used to determine if any decoding is necessary to begin\n with.\n<END>",
"<BEGIN>\n## `_decode_body`",
"Decode an HTTP body based... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Decorator to apply the add() method to a function. | "Decorator to apply the add() method to a function." | 49 | false | brettcannon/gidgethub | register | 11,686 | |
LDU_FT/ericsuh/dirichlet/_contour | LDU_FT | [
"<BEGIN>\n## `meanprecision`",
"Mean and precision of Dirichlet distribution.",
" Parameters\n ----------\n a : array\n Parameters of Dirichlet distribution.",
" Returns\n -------\n mean : array\n Numbers [0,1] of the means of the Dirichlet distribution.\n precision : float\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _contour API.
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 _contour API.
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... | Workhorse function for the above, where ``contourfunc`` is the contour
plotting function to use for actual plotting. | "Workhorse function for the above, where ``contourfunc`` is the contour\n plotting function to use for actual plotting." | 39 | false | ericsuh/dirichlet | _contour | 11,687 | |
LDU_FT/CI-WATER/gsshapy/getFileKeys | LDU_FT | [
"<BEGIN>\n## `_read`",
"Generic Time Series Read from File Method\n<END>",
"<BEGIN>\n## `_write`",
"Generic Time Series Write to File Method\n<END>",
"<BEGIN>\n## `_createTimeSeriesObjects`",
"Create GSSHAPY TimeSeries and TimeSeriesValue Objects Method\n<END>",
"<BEGIN>\n## `_read`",
"Generic Output ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getFileKeys API.
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 getFileKeys API.
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... | Retrieve a list of file keys that have been read into the database.
This is a utility method that can be used to programmatically access the GsshaPy file objects. Use these keys
in conjunction with the dictionary returned by the getFileObjects method.
Returns:
list: List of keys re... | "Retrieve a list of file keys that have been read into the database.\n\n This is a utility method that can be used to programmatically access the GsshaPy file objects. Use these keys\n in conjunction with the dictionary returned by the getFileObjects method.\n\n Returns:\n list: List of ... | 537 | false | CI-WATER/gsshapy | getFileKeys | 11,688 | |
LDU_FT/iopipe/iopipe-python/upload_profiler_report | LDU_FT | [
"<BEGIN>\n## `upload_profiler_report`",
"Uploads a profiler report to IOpipe",
" :param url: The signed URL\n :param filename: The profiler report file\n :param config: The IOpipe config\n<END>",
"<BEGIN>\n## `read_pid_stat`",
"Mocks read_pid_stat as this is a Linux-specific operation.\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload_profiler_report 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 upload_profiler_report API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Uploads a profiler report to IOpipe
:param url: The signed URL
:param filename: The profiler report file
:param config: The IOpipe config | "Uploads a profiler report to IOpipe\n\n :param url: The signed URL\n :param filename: The profiler report file\n :param config: The IOpipe config" | 93 | false | iopipe/iopipe-python | upload_profiler_report | 11,689 | |
LDU_FT/olsoneric/pedemath/ave_list_v3 | LDU_FT | [
"<BEGIN>\n## `add_v3`",
"Return a new Vec3 containing the sum of our x, y, z, and arg.",
" If argument is a float or vec, addt it to our x, y, and z.\n Otherwise, treat it as a Vec3 and add arg.x, arg.y, and arg.z from\n our own x, y, and z.\n<END>",
"<BEGIN>\n## `translate_v3`",
"Return a new Vec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ave_list_v3 API.
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 ave_list_v3 API.
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... | Return the average vector of a list of vectors. | "Return the average vector of a list of vectors." | 74 | false | olsoneric/pedemath | ave_list_v3 | 11,690 | |
LDU_FT/CalebBell/fluids/derivative | LDU_FT | [
"<BEGIN>\n## `ccor`",
"/* CHEMISTRY/DISSOCIATION CORRECTION FOR MSIS MODELS\n * ALT - altitude\n * R - target ratio\n * H1 - transition scale length\n * ZH - altitude of 1/2 R\n */\n<END>",
"<BEGIN>\n## `ccor2`",
"/* CHEMISTRY/DISSOCIATION CORRECTION FOR MSIS MODE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the derivative API.
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 derivative API.
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... | Reimplementation of SciPy's derivative function, with more cached
coefficients and without using numpy. If new coefficients not cached are
needed, they are only calculated once and are remembered. | "Reimplementation of SciPy's derivative function, with more cached\n coefficients and without using numpy. If new coefficients not cached are\n needed, they are only calculated once and are remembered." | 3,613 | true | CalebBell/fluids | derivative | 11,691 | |
LDU_FT/raiden-network/raiden/get_system_spec | LDU_FT | [
"<BEGIN>\n## `events_for_onchain_secretreveal`",
"Emits the event for revealing the secret on-chain if the transfer\n can not be settled off-chain.\n<END>",
"<BEGIN>\n## `handle_inittarget`",
"Handles an ActionInitTarget state change.\n<END>",
"<BEGIN>\n## `handle_offchain_secretreveal`",
"Validates an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_system_spec API.
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_system_spec API.
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... | Collect information about the system and installation. | "Collect information about the system and installation." | 1,120 | true | raiden-network/raiden | get_system_spec | 11,692 | |
LDU_FT/BD2KGenomics/protect/run_cutadapt | LDU_FT | [
"<BEGIN>\n## `generate_unique_key`",
"This module will take a master key and a url, and then make a new key specific to the url, based\n off the master.\n :param str master_key: Path to the master key used for encryption.\n :param str url: Full URL to the potential file location in S3.\n :returns new_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_cutadapt API.
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 run_cutadapt API.
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... | This module runs cutadapt on the input RNA fastq files and then calls the RNA aligners.
ARGUMENTS
1. fastqs: Dict of list of input RNA-Seq fastqs
fastqs
+- 'tumor_rna': [<JSid for 1.fastq> , <JSid for 2.fastq>]
2. univ_options: Dict of universal arguments used by almost all tools
... | "This module runs cutadapt on the input RNA fastq files and then calls the RNA aligners.\n\n ARGUMENTS\n 1. fastqs: Dict of list of input RNA-Seq fastqs\n fastqs\n +- 'tumor_rna': [<JSid for 1.fastq> , <JSid for 2.fastq>]\n 2. univ_options: Dict of universal arguments used by almost all tool... | 510 | false | BD2KGenomics/protect | run_cutadapt | 11,693 | |
LDU_FT/singingwolfboy/flask-dance/make_facebook_blueprint | LDU_FT | [
"<BEGIN>\n## `make_discord_blueprint`",
"Make a blueprint for authenticating with Discord using OAuth 2. This requires\n a client ID and client secret from Discord. You should either pass them to\n this constructor, or make sure that your Flask application config defines\n them, using the variables :envv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_facebook_blueprint 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 make_facebook_blueprint API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Make a blueprint for authenticating with Facebook using OAuth 2. This requires
a client ID and client secret from Facebook. You should either pass them to
this constructor, or make sure that your Flask application config defines
them, using the variables :envvar:`FACEBOOK_OAUTH_CLIENT_ID` and
:envvar:`F... | "Make a blueprint for authenticating with Facebook using OAuth 2. This requires\n a client ID and client secret from Facebook. You should either pass them to\n this constructor, or make sure that your Flask application config defines\n them, using the variables :envvar:`FACEBOOK_OAUTH_CLIENT_ID` and\n :envv... | 123 | false | singingwolfboy/flask-dance | make_facebook_blueprint | 11,694 | |
LDU_FT/6809/dragonlib/_parse_string | LDU_FT | [
"<BEGIN>\n## `bin2hexline`",
"Format binary data to a Hex-Editor like format...",
" >>> data = bytearray([i for i in range(256)])\n >>> print('\\\\n'.join(bin2hexline(data, width=16)))\n 0000 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f ................\n 0016 10 11 12 13 14 15 16 17 18 19 1a 1b ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_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 _parse_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... | Consume the complete string until next " or \n | "Consume the complete string until next \" or \\n" | 63 | false | 6809/dragonlib | _parse_string | 11,695 | |
LDU_FT/flyte/upnpclient/find_action | LDU_FT | [
"<BEGIN>\n## `parse_time`",
"Parse a time to a `datetime.time` value.\n Can't just use `dateutil.parse.parser(val).time()` because that doesn't preserve tzinfo.\n<END>",
"<BEGIN>\n## `marshal_value`",
"Marshal a given string into a relevant Python type given the uPnP datatype.\n Assumes that the value h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_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 extra... | Find an action by name.
Convenience method that searches through all the services offered by
the Server for an action and returns an Action instance. If the action
is not found, returns None. If multiple actions with the same name are
found it returns the first one. | "Find an action by name.\n Convenience method that searches through all the services offered by\n the Server for an action and returns an Action instance. If the action\n is not found, returns None. If multiple actions with the same name are\n found it returns the first one." | 24 | false | flyte/upnpclient | find_action | 11,696 | |
LDU_FT/lyst/lightfm/reciprocal_rank | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit the user/item id and feature name mappings.",
" Calling fit the second time will reset existing mappings.",
" Parameters\n ----------",
" users: iterable of user ids\n items: iterable of item ids\n user_features: iterable of user features, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reciprocal_rank API.
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 reciprocal_rank API.
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... | Measure the reciprocal rank metric for a model: 1 / the rank of the highest
ranked positive example. A perfect score is 1.0.
Parameters
----------
model: LightFM instance
the fitted model to be evaluated
test_interactions: np.float32 csr_matrix of shape [n_users, n_items]
Non-zer... | "Measure the reciprocal rank metric for a model: 1 / the rank of the highest\n ranked positive example. A perfect score is 1.0.\n\n Parameters\n ----------\n\n model: LightFM instance\n the fitted model to be evaluated\n test_interactions: np.float32 csr_matrix of shape [n_users, n_items]\n ... | 151 | false | lyst/lightfm | reciprocal_rank | 11,697 | |
LDU_FT/jleinonen/pytmatrix/get_SZ | LDU_FT | [
"<BEGIN>\n## `get_SZ`",
"Compute the scattering matrices for the given PSD and geometries.",
" Returns:\n The new amplitude (S) and phase (Z) matrices.\n<END>",
"<BEGIN>\n## `init_scatter_table`",
"Initialize the scattering lookup tables.",
" Initialize the scattering lookup table... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_SZ API.
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_SZ API.
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 S and Z matrices using the current parameters. | "Get the S and Z matrices using the current parameters." | 115 | false | jleinonen/pytmatrix | get_SZ | 11,698 | |
LDU_FT/yyuu/botornado/get_table | LDU_FT | [
"<BEGIN>\n## `save`",
"Saves this item to SDB.",
" :param bool replace: If ``True``, delete any attributes on the remote\n SDB item that have a ``None`` value on this object.\n<END>",
"<BEGIN>\n## `add_value`",
"Helps set or add to attributes on this item. If you are adding a new\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Retrieve the Table object for an existing table.
:type name: str
:param name: The name of the desired table.
:rtype: :class:`boto.dynamodb.table.Table`
:return: A Table object representing the table. | "Retrieve the Table object for an existing table.\n\n :type name: str\n :param name: The name of the desired table.\n\n :rtype: :class:`boto.dynamodb.table.Table`\n :return: A Table object representing the table." | 2,931 | true | yyuu/botornado | get_table | 11,699 | |
LDU_FT/dropbox/stone/_generate_struct_class | LDU_FT | [
"<BEGIN>\n## `generic_type_name`",
"Return a descriptive type name that isn't Python specific. For example, an\n int type will return 'integer' rather than 'int'.\n<END>",
"<BEGIN>\n## `doc_unwrap`",
"Applies two transformations to raw_doc:\n 1. N consecutive newlines are converted into N-1 newlines.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_struct_class 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 _generate_struct_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Defines a Python class that represents a struct in Stone. | "Defines a Python class that represents a struct in Stone." | 613 | false | dropbox/stone | _generate_struct_class | 11,700 | |
LDU_FT/thomasvandoren/bugzscout-py/_defaults | LDU_FT | [
"<BEGIN>\n## `_defaults`",
"Returns a dict of default args from the environment, which can be\n overridden by command line args.\n<END>",
"<BEGIN>\n## `_from_args`",
"Factory method to create a new instance from command line args.",
" :param args: instance of :class:`argparse.Namespace`\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _defaults API.
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 _defaults API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns a dict of default args from the environment, which can be
overridden by command line args. | "Returns a dict of default args from the environment, which can be\n overridden by command line args." | 29 | false | thomasvandoren/bugzscout-py | _defaults | 11,701 | |
LDU_FT/seznam/shelter/sigusr1_handler | LDU_FT | [
"<BEGIN>\n## `exitcode`",
"Process exit code. :const:`0` when process exited successfully,\n positive number when exception was occurred, negative number when\n process was signaled and :data:`None` when process has not exited\n yet.\n<END>",
"<BEGIN>\n## `run`",
"Tornado worker which han... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sigusr1_handler API.
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 sigusr1_handler API.
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... | Handle SIGUSR1 signal. Call function which is defined in the
**settings.SIGUSR1_HANDLER**. If main process, forward the
signal to all child processes. | "Handle SIGUSR1 signal. Call function which is defined in the\n **settings.SIGUSR1_HANDLER**. If main process, forward the\n signal to all child processes." | 61 | false | seznam/shelter | sigusr1_handler | 11,702 | |
LDU_FT/pyGrowler/Growler/send_file | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new prototype object with the argument as the source\n prototype.",
" .. Note:",
" This does not `initialize` the newly created object any\n more than setting its prototype.\n Calling the __init__ method is usually unnecessary as... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_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 send_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... | Reads in the file 'filename' and sends bytes to client
Parameters
----------
filename : str
Filename of the file to read
status : int, optional
The HTTP status code, defaults to 200 (OK) | "Reads in the file 'filename' and sends bytes to client\n\n Parameters\n ----------\n filename : str\n Filename of the file to read\n status : int, optional\n The HTTP status code, defaults to 200 (OK)" | 203 | false | pyGrowler/Growler | send_file | 11,703 | |
LDU_FT/kdeldycke/chessboard/nqueen_graph | LDU_FT | [
"<BEGIN>\n## `increment`",
"Increment the last permutation we returned to the next.\n<END>",
"<BEGIN>\n## `skip_branch`",
"Abandon the branch at the provided level and skip to the next.",
" When we call out to skip to the next branch of the search space, we\n push sublevel pieces to the maximu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nqueen_graph API.
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 nqueen_graph API.
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... | Graph n-queens problem for the current version and context. | "Graph n-queens problem for the current version and context." | 53 | false | kdeldycke/chessboard | nqueen_graph | 11,704 | |
LDU_FT/cmbruns/pyopenvr/getScreenshotPropertyType | LDU_FT | [
"<BEGIN>\n## `key_press`",
"Close the application when the player presses ESCAPE\n<END>",
"<BEGIN>\n## `scale`",
"Uniform scale, if only sx argument is specified\n<END>",
"<BEGIN>\n## `bInit`",
"Purpose: Allocates and populates the GL resources for a render model\n<END>",
"<BEGIN>\n## `cleanup`",
"Pur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getScreenshotPropertyType 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 getScreenshotPropertyType API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | When your application receives a
VREvent_RequestScreenshot event, call these functions to get
the details of the screenshot request. | "When your application receives a\n VREvent_RequestScreenshot event, call these functions to get\n the details of the screenshot request." | 475 | false | cmbruns/pyopenvr | getScreenshotPropertyType | 11,705 | |
LDU_FT/memphis-iis/GLUDB/set_db_application_prefix | LDU_FT | [
"<BEGIN>\n## `read_rec`",
"Generator that yields keyed recs from store.\n<END>",
"<BEGIN>\n## `set_db_application_prefix`",
"Set the global app prefix and separator.\n<END>",
"<BEGIN>\n## `find_by_index`",
"Find records matching index query - defer to backend.\n<END>",
"<BEGIN>\n## `_auto_init`",
"Our... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_db_application_prefix 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 set_db_application_prefix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Set the global app prefix and separator. | "Set the global app prefix and separator." | 57 | false | memphis-iis/GLUDB | set_db_application_prefix | 11,706 | |
LDU_FT/dossier/dossier.fc/add | LDU_FT | [
"<BEGIN>\n## `uni`",
"as a crutch, we allow str-type keys, but they really should be\n unicode.\n<END>",
"<BEGIN>\n## `loads`",
"Create a feature collection from a CBOR byte string.\n<END>",
"<BEGIN>\n## `dumps`",
"Create a CBOR byte string from a feature collection.\n<END>",
"<BEGIN>\n## `from_dict`... | 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... | Register a new feature serializer.
The feature type should be one of the fixed set of feature
representations, and `name` should be one of ``StringCounter``,
``SparseVector``, or ``DenseVector``. `obj` is a describing
object with three fields: `constructor` is a callable that
c... | "Register a new feature serializer.\n\n The feature type should be one of the fixed set of feature\n representations, and `name` should be one of ``StringCounter``,\n ``SparseVector``, or ``DenseVector``. `obj` is a describing\n object with three fields: `constructor` is a callable that\n ... | 44 | false | dossier/dossier.fc | add | 11,707 | |
LDU_FT/fabric-bolt/fabric-bolt/add_output | LDU_FT | [
"<BEGIN>\n## `form_valid`",
"After the form is valid lets let people know\n<END>",
"<BEGIN>\n## `form_valid`",
"First call the parent's form valid then let the user know it worked.\n<END>",
"<BEGIN>\n## `post`",
"Create the SSH file & then return the normal get method...\n<END>",
"<BEGIN>\n## `web_hooks... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_output API.
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 add_output API.
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... | Appends {line} of output to the output instantly. (directly hits the database)
:param line: the line of text to append
:return: None | "Appends {line} of output to the output instantly. (directly hits the database)\n :param line: the line of text to append\n :return: None" | 65 | false | fabric-bolt/fabric-bolt | add_output | 11,708 | |
LDU_FT/jwass/geojsonio.py/make_geojson | LDU_FT | [
"<BEGIN>\n## `display`",
"Open a web browser pointing to geojson.io with the specified content.",
" If the content is large, an anonymous gist will be created on github and\n the URL will instruct geojson.io to download the gist data and then\n display. If the content is small, this step is not needed ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_geojson API.
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 make_geojson API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return a GeoJSON string from a variety of inputs.
See the documentation for make_url for the possible contents
input.
Returns
-------
GeoJSON string | "Return a GeoJSON string from a variety of inputs.\n See the documentation for make_url for the possible contents\n input.\n\n Returns\n -------\n GeoJSON string" | 21 | false | jwass/geojsonio.py | make_geojson | 11,709 | |
LDU_FT/gtaylor/django-athumb/_colorspace | LDU_FT | [
"<BEGIN>\n## `create_thumbnail`",
"This serves as a really basic example of a thumbnailing method. You\n may want to implement your own logic, but this will work for\n simple cases.",
" :param Image image: This is your engine's ``Image`` object. For\n PIL it's PIL.Image.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _colorspace API.
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 _colorspace API.
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... | Sets the image's colorspace. This is typical 'RGB' or 'GRAY', but
may be other things, depending on your choice of Engine.
:param PIL.Image image: The image whose colorspace to adjust.
:param str colorspace: One of either 'RGB' or 'GRAY'.
:rtype: PIL.Image
:returns: The colorspa... | "Sets the image's colorspace. This is typical 'RGB' or 'GRAY', but\n may be other things, depending on your choice of Engine.\n\n :param PIL.Image image: The image whose colorspace to adjust.\n :param str colorspace: One of either 'RGB' or 'GRAY'.\n :rtype: PIL.Image\n :returns: The c... | 76 | false | gtaylor/django-athumb | _colorspace | 11,710 | |
LDU_FT/HubSpot/hapipy/retrieve_lead | LDU_FT | [
"<BEGIN>\n## `process_queue`",
"Processes all API calls since last invocation, returning a list of data\n in the order the API calls were created\n<END>",
"<BEGIN>\n## `camelcase_search_options`",
"change all underscored variants back to what the API is expecting\n<END>",
"<BEGIN>\n## `get_leads`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the retrieve_lead API.
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 retrieve_lead API.
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... | Set guid to -1 as default for not finding a user | "Set guid to -1 as default for not finding a user" | 22 | false | HubSpot/hapipy | retrieve_lead | 11,711 | |
LDU_FT/Parquery/sphinx-icontract/_preconditions_snapshots_postconditions | LDU_FT | [
"<BEGIN>\n## `_negate_compare_text`",
"Generate the text representing the negation of the comparison node.",
" :param atok:\n parsing obtained with ``asttokens`` so that we can access the last tokens of a node.",
" The standard ``ast`` module provides only the first token of an AST node. In l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _preconditions_snapshots_postconditions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicate... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _preconditions_snapshots_postconditions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicate... | Collect the preconditions, snapshots and postconditions from a contract checker of a function. | "Collect the preconditions, snapshots and postconditions from a contract checker of a function." | 29 | false | Parquery/sphinx-icontract | _preconditions_snapshots_postconditions | 11,712 | |
LDU_FT/SoCo/SoCo/get_playlists | LDU_FT | [
"<BEGIN>\n## `_post`",
"Try 3 times to request the content.",
" :param headers: The HTTP headers\n :type headers: dict\n :param body: The body of the HTTP post\n :type body: str\n :param retries: The number of times to retry before giving up\n :type retries: int\n :param timeout: The time t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_playlists API.
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_playlists API.
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... | Search for playlists.
See get_music_service_information for details on the arguments.
Note:
Un-intuitively this method returns MSAlbumList items. See
note in class doc string for details. | "Search for playlists.\n\n See get_music_service_information for details on the arguments.\n\n Note:\n\n Un-intuitively this method returns MSAlbumList items. See\n note in class doc string for details." | 663 | false | SoCo/SoCo | get_playlists | 11,713 | |
LDU_FT/pytorch/ignite/create_supervised_evaluator | LDU_FT | [
"<BEGIN>\n## `add_event_handler`",
"Add an event handler to be executed when the specified event is fired.",
" Args:\n event_name: An event to attach the handler to. Valid events are from :class:`~ignite.engine.Events`\n or any `event_name` added by :meth:`~ignite.engine.Engine.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_supervised_evaluator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_supervised_evaluator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Factory function for creating an evaluator for supervised models.
Args:
model (`torch.nn.Module`): the model to train.
metrics (dict of str - :class:`~ignite.metrics.Metric`): a map of metric names to Metrics.
device (str, optional): device type specification (default: None).
Ap... | "Factory function for creating an evaluator for supervised models.\n\n Args:\n model (`torch.nn.Module`): the model to train.\n metrics (dict of str - :class:`~ignite.metrics.Metric`): a map of metric names to Metrics.\n device (str, optional): device type specification (default: None).\n ... | 110 | false | pytorch/ignite | create_supervised_evaluator | 11,714 | |
LDU_FT/jtpaasch/simplygithub/update_ref | 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 update_ref API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_ref API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Point a ref to a new SHA.
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.
ref
The ref to update, e.g., ``heads/my-... | "Point a ref to a new SHA.\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 ref\n The ref to update, e.g., ... | 224 | false | jtpaasch/simplygithub | update_ref | 11,715 | |
LDU_FT/tensorflow/cleverhans/run_without_time_limit | LDU_FT | [
"<BEGIN>\n## `model_loss`",
"Define loss of TF graph\n :param y: correct labels\n :param model: output of the model\n :param mean: boolean indicating whether should return mean of loss\n or vector of losses for each input of the batch\n :return: return mean of loss if True, otherwise return vect... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_without_time_limit 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 run_without_time_limit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Runs docker command without time limit.
Args:
cmd: list with the command line arguments which are passed to docker
binary
Returns:
how long it took to run submission in seconds
Raises:
WorkerError: if error occurred during execution of the submission | "Runs docker command without time limit.\n\n Args:\n cmd: list with the command line arguments which are passed to docker\n binary\n\n Returns:\n how long it took to run submission in seconds\n\n Raises:\n WorkerError: if error occurred during execution of the submission" | 1,050 | true | tensorflow/cleverhans | run_without_time_limit | 11,716 | |
LDU_FT/ardydedase/pycouchbase/submit_single | LDU_FT | [
"<BEGIN>\n## `_add_err`",
"Sets the error on this MultiResult. Will be ignored if an error is\n already set.\n :param exinfo: Return value from ``sys.exc_info()``\n<END>",
"<BEGIN>\n## `_add_bad_rc`",
"Sets an error with a bad return code. Handles 'quiet' logic\n :param rc: The error code... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the submit_single API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the submit_single API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Submit a single item
:param c_key: The pointer to the key
:param c_len: The length of the key
:param value: The value object. May be None
:param item: The Item. May be None
:param key_options: Key-specific options (may be None)
:param global_options: Global options for th... | "Submit a single item\n :param c_key: The pointer to the key\n :param c_len: The length of the key\n :param value: The value object. May be None\n :param item: The Item. May be None\n :param key_options: Key-specific options (may be None)\n :param global_options: Global options... | 76 | false | ardydedase/pycouchbase | submit_single | 11,717 | |
LDU_FT/rshk/python-libxdo/get_mouse_location2 | LDU_FT | [
"<BEGIN>\n## `_errcheck`",
"Error checker for functions returning an integer indicating\n success (0) / failure (1).",
" Raises a XdoException in case of error, otherwise just\n returns ``None`` (returning the original code, 0, would be\n useless anyways..)\n<END>",
"<BEGIN>\n## `move_mouse`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mouse_location2 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_mouse_location2 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Get all mouse location-related data.
:return: a namedtuple with ``x``, ``y``, ``screen_num``
and ``window`` fields | "Get all mouse location-related data.\n\n :return: a namedtuple with ``x``, ``y``, ``screen_num``\n and ``window`` fields" | 125 | false | rshk/python-libxdo | get_mouse_location2 | 11,718 | |
LDU_FT/aburrell/apexpy/subsol | LDU_FT | [
"<BEGIN>\n## `checklat`",
"Makes sure the latitude is inside [-90, 90], clipping close values\n (tolerance 1e-4).",
" Parameters\n ==========\n lat : array_like\n latitude\n name : str, optional\n parameter name to use in the exception message",
" Returns\n =======\n lat ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subsol API.
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 subsol API.
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 ... | Finds subsolar geocentric latitude and longitude.
Parameters
==========
datetime : :class:`datetime.datetime`
Returns
=======
sbsllat : float
Latitude of subsolar point
sbsllon : float
Longitude of subsolar point
Notes
=====
Based on formulas in Astronomical Al... | "Finds subsolar geocentric latitude and longitude.\n\n Parameters\n ==========\n datetime : :class:`datetime.datetime`\n\n Returns\n =======\n sbsllat : float\n Latitude of subsolar point\n sbsllon : float\n Longitude of subsolar point\n\n Notes\n =====\n Based on formulas in... | 120 | false | aburrell/apexpy | subsol | 11,719 | |
LDU_FT/instaloader/instaloader/get_highlights | LDU_FT | [
"<BEGIN>\n## `save_structure_to_file`",
"Saves a :class:`Post`, :class:`Profile` or :class:`StoryItem` to a '.json' or '.json.xz' file such that it can\n later be loaded by :func:`load_structure_from_file`.",
" If the specified filename ends in '.xz', the file will be LZMA compressed. Otherwise, a pretty-... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_highlights API.
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_highlights API.
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 all highlights from a user.
To use this, one needs to be logged in.
.. versionadded:: 4.1
:param user: ID or Profile of the user whose highlights should get fetched. | "Get all highlights from a user.\n To use this, one needs to be logged in.\n\n .. versionadded:: 4.1\n\n :param user: ID or Profile of the user whose highlights should get fetched." | 227 | false | instaloader/instaloader | get_highlights | 11,720 | |
LDU_FT/OpenAssets/openassets/_get_uncolored_output | LDU_FT | [
"<BEGIN>\n## `issue`",
"Creates a transaction for issuing an asset.",
" :param TransferParameters issuance_spec: The parameters of the issuance.\n :param bytes metadata: The metadata to be embedded in the transaction.\n :param int fees: The fees to include in the transaction.\n :retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_uncolored_output 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_uncolored_output 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 an uncolored output.
:param bytes script: The output script.
:param int value: The satoshi value of the output.
:return: An object representing the uncolored output.
:rtype: TransactionOutput | "Creates an uncolored output.\n\n :param bytes script: The output script.\n :param int value: The satoshi value of the output.\n :return: An object representing the uncolored output.\n :rtype: TransactionOutput" | 60 | false | OpenAssets/openassets | _get_uncolored_output | 11,721 | |
LDU_FT/mdeous/fatbotslim/u | LDU_FT | [
"<BEGIN>\n## `create_logger`",
"Creates a new ready-to-use logger.",
" :param name: new logger's name\n :type name: str\n :param level: default logging level.\n :type level: :class:`str` or :class:`int`\n :return: new logger.\n :rtype: :class:`logging.Logger`\n<END>",
"<BEGIN>\n## `format`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the u API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docum... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the u API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docum... | Automatically detects given string's encoding and returns its unicode form.
Decoding errors are handled according to the `errors` argument, see `unicode()`
documentation for more details.
:param s: string to decode.
:type s: str
:param errors: decoding error handling behaviour.
:type errors: st... | "Automatically detects given string's encoding and returns its unicode form.\n Decoding errors are handled according to the `errors` argument, see `unicode()`\n documentation for more details.\n\n :param s: string to decode.\n :type s: str\n :param errors: decoding error handling behaviour.\n :type er... | 83 | false | mdeous/fatbotslim | u | 11,722 | |
LDU_FT/carljm/django-adminfiles/editMeta | LDU_FT | [
"<BEGIN>\n## `get_uploads`",
"Return a generator yielding uploads referenced in the given text.\n<END>",
"<BEGIN>\n## `parse_match`",
"Accept an re match object resulting from an ``UPLOAD_RE`` match\n and return a two-tuple where the first element is the\n corresponding ``FileUpload`` and the second is ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the editMeta API.
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 editMeta API.
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... | Set metadata for photo. (flickr.photos.setMeta) | "Set metadata for photo. (flickr.photos.setMeta)" | 67 | false | carljm/django-adminfiles | editMeta | 11,723 | |
LDU_FT/totalgood/nlpia/optimize_feature_power | LDU_FT | [
"<BEGIN>\n## `main`",
"Train an LSTM encoder-decoder squence-to-sequence model on Anki flashcards for international translation",
" >>> model = main('spa', n=400, epochs=3, batch_size=128, num_neurons=32)\n Train on 360 samples, validate on 40 samples\n Epoch 1/3\n ...\n >>> len(model.get_weights... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the optimize_feature_power 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 optimize_feature_power API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Plot the correlation coefficient for various exponential scalings of input features
>>> np.random.seed(314159)
>>> df = pd.DataFrame()
>>> df['output'] = np.random.randn(1000)
>>> df['x10'] = df.output * 10
>>> df['sq'] = df.output ** 2
>>> df['sqrt'] = df.output ** .5
>>> optimize_feature_... | "Plot the correlation coefficient for various exponential scalings of input features\n\n >>> np.random.seed(314159)\n >>> df = pd.DataFrame()\n >>> df['output'] = np.random.randn(1000)\n >>> df['x10'] = df.output * 10\n >>> df['sq'] = df.output ** 2\n >>> df['sqrt'] = df.output ** .5\n >>> optimize... | 471 | false | totalgood/nlpia | optimize_feature_power | 11,724 | |
LDU_FT/neuropsychology/NeuroKit.py/bio_process | LDU_FT | [
"<BEGIN>\n## `complexity`",
"Computes several chaos/complexity indices of a signal (including entropy, fractal dimensions, Hurst and Lyapunov exponent etc.).",
" Parameters\n ----------\n signal : list or array\n List or array of values.\n sampling_rate : int\n Sampling rate (samples/s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bio_process API.
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 bio_process API.
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... | Automated processing of bio signals. Wrapper for other bio processing functions.
Parameters
----------
ecg : list or array
ECG signal array.
rsp : list or array
Respiratory signal array.
eda : list or array
EDA signal array.
emg : list, array or DataFrame
EMG s... | "Automated processing of bio signals. Wrapper for other bio processing functions.\n\n Parameters\n ----------\n ecg : list or array\n ECG signal array.\n rsp : list or array\n Respiratory signal array.\n eda : list or array\n EDA signal array.\n emg : list, array or DataFrame\n ... | 778 | false | neuropsychology/NeuroKit.py | bio_process | 11,725 | |
LDU_FT/Azure/azure-uamqp-python/accept | LDU_FT | [
"<BEGIN>\n## `_close_received`",
"Callback called when a connection CLOSE frame is received.\n This callback will process the received CLOSE error to determine if\n the connection is recoverable or whether it should be shutdown.\n :param error: The error information from the close\n f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the accept API.
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 accept API.
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 ... | Send a response disposition to the service to indicate that
a received message has been accepted. If the client is running in PeekLock
mode, the service will wait on this disposition. Otherwise it will
be ignored. Returns `True` is message was accepted, or `False` if the message
was alre... | "Send a response disposition to the service to indicate that\n a received message has been accepted. If the client is running in PeekLock\n mode, the service will wait on this disposition. Otherwise it will\n be ignored. Returns `True` is message was accepted, or `False` if the message\n was... | 299 | false | Azure/azure-uamqp-python | accept | 11,726 | |
LDU_FT/deifyed/vault/removeTarget | LDU_FT | [
"<BEGIN>\n## `getTarget`",
"Returns a dictionary containing information about a certain target\n<END>",
"<BEGIN>\n## `insertTarget`",
"Inserts a new target into the vault database\n Returns the id of the created target\n<END>",
"<BEGIN>\n## `removeTarget`",
"Removes target information from vaul... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the removeTarget API.
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 removeTarget API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Removes target information from vault database | "Removes target information from vault database" | 27 | false | deifyed/vault | removeTarget | 11,727 | |
LDU_FT/vlukes/dicom2fem/try_imports | LDU_FT | [
"<BEGIN>\n## `find_map`",
"Find a mapping between common coordinates in x1 and x2, such that\n x1[cmap[:,0]] == x2[cmap[:,1]]\n<END>",
"<BEGIN>\n## `merge_mesh`",
"Merge two meshes in common coordinates found in x1, x2.\n<END>",
"<BEGIN>\n## `fix_double_nodes`",
"Detect and attempt fixing double nodes ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the try_imports API.
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 try_imports API.
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... | Try import statements until one succeeds.
Parameters
----------
imports : list
The list of import statements.
fail_msg : str
If not None and no statement succeeds, a `ValueError` is raised with
the given message, appended to all failed messages.
Returns
-------
loca... | "Try import statements until one succeeds.\n\n Parameters\n ----------\n imports : list\n The list of import statements.\n fail_msg : str\n If not None and no statement succeeds, a `ValueError` is raised with\n the given message, appended to all failed messages.\n\n Returns\n ----... | 142 | false | vlukes/dicom2fem | try_imports | 11,728 | |
LDU_FT/eugene-eeo/mailthon/email | LDU_FT | [
"<BEGIN>\n## `guess`",
"Using the mimetypes library, guess the mimetype and\n encoding for a given *filename*. If the mimetype\n cannot be guessed, *fallback* is assumed instead.",
" :param filename: Filename- can be absolute path.\n :param fallback: A fallback mimetype.\n<END>",
"<BEGIN>\n## `for... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the email API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the email API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Creates a Collection object with a HTML *content*,
and *attachments*.
:param content: HTML content.
:param encoding: Encoding of the email.
:param attachments: List of filenames to
attach to the email. | "Creates a Collection object with a HTML *content*,\n and *attachments*.\n\n :param content: HTML content.\n :param encoding: Encoding of the email.\n :param attachments: List of filenames to\n attach to the email." | 31 | false | eugene-eeo/mailthon | email | 11,729 | |
LDU_FT/erinxocon/spotify-local/get_current_status | LDU_FT | [
"<BEGIN>\n## `_request`",
"Makes a request using the currently open session.",
" :param url: A url fragment to use in the creation of the master url\n<END>",
"<BEGIN>\n## `emit`",
"Send out an event and call it's associated functions",
" :param event: Name of the event to trigger\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_current_status API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_current_status API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Returns the current state of the local spotify client | "Returns the current state of the local spotify client" | 27 | false | erinxocon/spotify-local | get_current_status | 11,730 | |
LDU_FT/juju/python-libjuju/SetMetricCredentials | LDU_FT | [
"<BEGIN>\n## `get_charm_series`",
"Inspects the charm directory at ``path`` and returns a default\n series from its metadata.yaml (the first item in the 'series' list).",
" Returns None if no series can be determined.\n<END>",
"<BEGIN>\n## `cares_about`",
"Return True if this observer \"cares about\" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the SetMetricCredentials 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 SetMetricCredentials API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | creds : typing.Sequence[~ApplicationMetricCredential]
Returns -> typing.Sequence[~ErrorResult] | "creds : typing.Sequence[~ApplicationMetricCredential]\n Returns -> typing.Sequence[~ErrorResult]" | 672 | false | juju/python-libjuju | SetMetricCredentials | 11,731 | |
LDU_FT/sunlightlabs/name-cleaver/extract_suffix | LDU_FT | [
"<BEGIN>\n## `extract_suffix`",
"Returns a tuple of (name, suffix), or (name, None) if no suffix could be found.\n As the method name indicates, the name is returned without the suffix.",
" Suffixes deemed to be degrees are discarded.\n<END>",
"<BEGIN>\n## `reverse_last_first`",
"Takes a name ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_suffix API.
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_suffix API.
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... | Returns a tuple of (name, suffix), or (name, None) if no suffix could be found.
As the method name indicates, the name is returned without the suffix.
Suffixes deemed to be degrees are discarded. | "Returns a tuple of (name, suffix), or (name, None) if no suffix could be found.\n As the method name indicates, the name is returned without the suffix.\n\n Suffixes deemed to be degrees are discarded." | 18 | false | sunlightlabs/name-cleaver | extract_suffix | 11,732 | |
LDU_FT/h2oai/datatable/_collapse_ranges | LDU_FT | [
"<BEGIN>\n## `_parse_row`",
"Scan a single row from an Excel file, and return the list of ranges\n corresponding to each consecutive span of non-empty cells in this row.\n If all cells are empty, return an empty list. Each \"range\" in the list\n is a tuple of the form `(startcol, endcol)`.",
" For ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _collapse_ranges API.
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 _collapse_ranges API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Within the `ranges` list find those 2d-ranges that overlap with `ranges[ja]`
and merge them into `ranges[ja]`. Finally, return the new index of the
ja-th range within the `ranges` list. | "Within the `ranges` list find those 2d-ranges that overlap with `ranges[ja]`\n and merge them into `ranges[ja]`. Finally, return the new index of the\n ja-th range within the `ranges` list." | 49 | false | h2oai/datatable | _collapse_ranges | 11,733 | |
LDU_FT/adamalton/django-csp-reports/collect | LDU_FT | [
"<BEGIN>\n## `get_root_uri`",
"Return root URI - strip query and fragment.\n<END>",
"<BEGIN>\n## `collect`",
"Collect the CSP report.",
" @returntype: CspReportSummary\n<END>",
"<BEGIN>\n## `nice_report`",
"Return a nicely formatted original report.\n<END>",
"<BEGIN>\n## `from_message`",
"Creates... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect API.
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 collect API.
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... | Collect the CSP report.
@returntype: CspReportSummary | "Collect the CSP report.\n\n @returntype: CspReportSummary" | 25 | false | adamalton/django-csp-reports | collect | 11,734 | |
LDU_FT/polyaxon/rhea/_get_typed_value | LDU_FT | [
"<BEGIN>\n## `read`",
"Reads an ordered list of configuration values and deep merge the values in reverse order.\n<END>",
"<BEGIN>\n## `get_int`",
"Get a the value corresponding to the key and converts it to `int`/`list(int)`.",
" Args:\n key: the dict key.\n is_list: If this is... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_typed_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_typed_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Return the value corresponding to the key converted to the given type.
Args:
key: the dict key.
target_type: The type we expect the variable or key to be in.
type_convert: A lambda expression that converts the key to the desired type.
is_optional: To raise an err... | "Return the value corresponding to the key converted to the given type.\n\n Args:\n key: the dict key.\n target_type: The type we expect the variable or key to be in.\n type_convert: A lambda expression that converts the key to the desired type.\n is_optional: To raise... | 46 | false | polyaxon/rhea | _get_typed_value | 11,735 | |
LDU_FT/neithere/django-navigation/get_navigation | LDU_FT | [
"<BEGIN>\n## `breadcrumb`",
"Usage::",
" from navigation.decorators import breadcrumb",
" @breadcrumb('greeting')\n def some_view(request):\n return 'Hello world!'",
" @breadcrumb(lambda request: u'greeting for %s' % request.user.username)\n def some_view(reques... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_navigation API.
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_navigation API.
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... | Returns the rendered navigation block. Requires that the
`navigation.html` template exists. Two context variables are passed to it:
* sections (see :func:`get_breadcrumb_sections`)
* trail (see :func:`get_breadcrumb_trail`) | "Returns the rendered navigation block. Requires that the\n `navigation.html` template exists. Two context variables are passed to it:\n\n * sections (see :func:`get_breadcrumb_sections`)\n * trail (see :func:`get_breadcrumb_trail`)" | 31 | false | neithere/django-navigation | get_navigation | 11,736 | |
LDU_FT/trevisanj/f311/get_suitable_vis_classes | LDU_FT | [
"<BEGIN>\n## `save_as`",
"Dumps object contents into file on disk.",
" Args:\n filename (optional): defaults to self.filename. If passed, self.filename\n will be updated to filename.\n<END>",
"<BEGIN>\n## `load`",
"Loads file and registers filename as attribute.\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_suitable_vis_classes 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_suitable_vis_classes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Retuns a list of Vis classes that can handle obj. | "Retuns a list of Vis classes that can handle obj." | 204 | false | trevisanj/f311 | get_suitable_vis_classes | 11,737 | |
LDU_FT/dmwm/DBS/processDatasetBlocks | LDU_FT | [
"<BEGIN>\n## `inputChecks`",
"This is a function to check all the input for GET APIs.\n<END>",
"<BEGIN>\n## `validateStringInput`",
"To check if a string has the required format. This is only used for POST APIs.\n<END>",
"<BEGIN>\n## `execute`",
"Lists all primary datasets if pattern is not provided.\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the processDatasetBlocks 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 processDatasetBlocks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Utility function, that comapares blocks of a dataset at source and dst
and returns an ordered list of blocks not already at dst for migration | "Utility function, that comapares blocks of a dataset at source and dst\n and returns an ordered list of blocks not already at dst for migration" | 352 | false | dmwm/DBS | processDatasetBlocks | 11,738 | |
LDU_FT/Roastero/freshroastsr700/_initialize | LDU_FT | [
"<BEGIN>\n## `fan_speed`",
"Verifies the value is between 1 and 9 inclusively.\n<END>",
"<BEGIN>\n## `heat_setting`",
"Verifies that the heat setting is between 0 and 3.\n<END>",
"<BEGIN>\n## `heater_level`",
"Verifies that the heater_level is between 0 and heater_segments.\n Can only be called ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _initialize API.
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 _initialize API.
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... | Sends the initialization packet to the roaster. | "Sends the initialization packet to the roaster." | 61 | false | Roastero/freshroastsr700 | _initialize | 11,739 | |
LDU_FT/feliperyan/EinsteinVisionPython/train_language_model_from_dataset | LDU_FT | [
"<BEGIN>\n## `get_token`",
"Acquires a token for futher API calls, unless you already have a token this will be the first thing\n you do before you use this.\n :param email: string, the username for your EinsteinVision service, usually in email form\n :para pem_file: string, file ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the train_language_model_from_dataset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the train_language_model_from_dataset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | Trains a model given a dataset and its ID.
:param dataset_id: string, the ID for a dataset you created previously.
:param name: string, name for your model.
returns: a request object | "Trains a model given a dataset and its ID.\n :param dataset_id: string, the ID for a dataset you created previously.\n :param name: string, name for your model. \n returns: a request object" | 34 | false | feliperyan/EinsteinVisionPython | train_language_model_from_dataset | 11,740 | |
LDU_FT/onecodex/onecodex/reference | LDU_FT | [
"<BEGIN>\n## `plot_heatmap`",
"Plot heatmap of taxa abundance/count data for several samples.",
" Parameters\n ----------\n rank : {'auto', 'kingdom', 'phylum', 'class', 'order', 'family', 'genus', 'species'}, optional\n Analysis will be restricted to abundances of taxa at the sp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reference API.
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 reference API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Add a reference to the bibliography and insert a superscript number.
Parameters
----------
text : `string`, optional
The complete text of the reference, e.g. Roo, et al. "How to Python." Nature, 2019.
label : `string`, optional
A short label to describe this reference.
Notes
--... | "Add a reference to the bibliography and insert a superscript number.\n\n Parameters\n ----------\n text : `string`, optional\n The complete text of the reference, e.g. Roo, et al. \"How to Python.\" Nature, 2019.\n label : `string`, optional\n A short label to describe this reference.\n\n ... | 304 | false | onecodex/onecodex | reference | 11,741 | |
LDU_FT/django-haystack/pysolr/force_unicode | LDU_FT | [
"<BEGIN>\n## `force_unicode`",
"Forces a bytestring to become a Unicode string.\n<END>",
"<BEGIN>\n## `force_bytes`",
"Forces a Unicode string to become a bytestring.\n<END>",
"<BEGIN>\n## `unescape_html`",
"Removes HTML or XML character references and entities from a text string.",
" @param text The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the force_unicode API.
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 force_unicode API.
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... | Forces a bytestring to become a Unicode string. | "Forces a bytestring to become a Unicode string." | 102 | false | django-haystack/pysolr | force_unicode | 11,742 | |
LDU_FT/ergoithz/browsepy/secure_filename | LDU_FT | [
"<BEGIN>\n## `defaultsnamedtuple`",
"Generate namedtuple with default values.",
" :param name: name\n :param fields: iterable with field names\n :param defaults: iterable or mapping with field defaults\n :returns: defaultdict with given fields and given defaults\n :rtype: collections.defaultdict\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the secure_filename API.
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 secure_filename API.
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 rid of parent path components and special filenames.
If path is invalid or protected, return empty string.
:param path: unsafe path, only basename will be used
:type: str
:param destiny_os: destination operative system (defaults to os.name)
:type destiny_os: str
:param fs_encoding: fs path... | "Get rid of parent path components and special filenames.\n\n If path is invalid or protected, return empty string.\n\n :param path: unsafe path, only basename will be used\n :type: str\n :param destiny_os: destination operative system (defaults to os.name)\n :type destiny_os: str\n :param fs_encoding... | 207 | false | ergoithz/browsepy | secure_filename | 11,743 | |
LDU_FT/lmjohns3/downhill/make_label | LDU_FT | [
"<BEGIN>\n## `build`",
"Build and return an optimizer for the rosenbrock function.",
" In downhill, an optimizer can be constructed using the build() top-level\n function. This function requires several Theano quantities such as the loss\n being optimized and the parameters to update during optimizatio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_label API.
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 make_label API.
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... | Create a legend label for an optimization run. | "Create a legend label for an optimization run." | 79 | false | lmjohns3/downhill | make_label | 11,744 | |
LDU_FT/shichao-an/115wangpan/_req_files_move | LDU_FT | [
"<BEGIN>\n## `send`",
"Send a formatted API request",
" :param request: a formatted request object\n :type request: :class:`.Request`\n :param bool expect_json: if True, raise :class:`.InvalidAPIAccess` if\n response is not in JSON format\n :param bool ignore_content: whet... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _req_files_move API.
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 _req_files_move API.
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... | Move files or directories
:param str pid: destination directory id
:param list fids: a list of ids of files or directories to be moved | "Move files or directories\n :param str pid: destination directory id\n :param list fids: a list of ids of files or directories to be moved" | 100 | false | shichao-an/115wangpan | _req_files_move | 11,745 | |
LDU_FT/josegomezr/pqb/from_ | LDU_FT | [
"<BEGIN>\n## `from_`",
"Establece el origen de datos (y un alias opcionalmente).\n<END>",
"<BEGIN>\n## `where`",
"Establece condiciones para la consulta unidas por AND\n<END>",
"<BEGIN>\n## `order_by`",
"Indica los campos y el criterio de ordenamiento\n<END>",
"<BEGIN>\n## `where`",
"Establece condici... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_ API.
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 from_ API.
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... | [Edge-only] especifica el origen del lado | "[Edge-only] especifica el origen del lado" | 14 | false | josegomezr/pqb | from_ | 11,746 | |
LDU_FT/python-cmd2/cmd2/do_page_wrap | LDU_FT | [
"<BEGIN>\n## `rmrf`",
"Silently remove a list of directories or files\n<END>",
"<BEGIN>\n## `livehtml`",
"Launch webserver on http://localhost:8000 with rendered documentation\n<END>",
"<BEGIN>\n## `validatetag`",
"Check to make sure that a tag exists for the current HEAD and it looks like a valid version... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_page_wrap API.
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 do_page_wrap API.
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 in a text file and display its output in a pager, wrapping long lines if they don't fit.
Usage: page_wrap <file_path> | "Read in a text file and display its output in a pager, wrapping long lines if they don't fit.\n\n Usage: page_wrap <file_path>" | 425 | false | python-cmd2/cmd2 | do_page_wrap | 11,747 | |
LDU_FT/hearsaycorp/normalize/coerce_value | LDU_FT | [
"<BEGIN>\n## `path`",
"The path attribute returns a stringified, concise representation of\n the MultiFieldSelector. It can be reversed by the ``from_path``\n constructor.\n<END>",
"<BEGIN>\n## `get`",
"Creates a copy of the passed object which only contains the parts\n which are pointed... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the coerce_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the coerce_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Coerce a value to the right type for the collection, or return it if
it is already of the right type. | "Coerce a value to the right type for the collection, or return it if\n it is already of the right type." | 210 | false | hearsaycorp/normalize | coerce_value | 11,748 | |
LDU_FT/user-cont/colin/references | LDU_FT | [
"<BEGIN>\n## `run`",
"Runs the sanity checks for the target.",
" :param timeout: timeout per-check (in seconds)\n :param skips: name of checks to skip\n :param target: str (image name, ostree or dockertar)\n or ImageTarget\n or path/file-like object for dockerfile\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the references API.
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 references API.
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... | Reference name resolver (eg. /a/b/c/d@.x.y or /a/b/c/@y will search data in .x.y or y nodes)
there are used regular expressions (re.search) to match names
it uses simple references schema, do not use references to another references,
avoid usind / in reference because actual solution creates als... | "Reference name resolver (eg. /a/b/c/d@.x.y or /a/b/c/@y will search data in .x.y or y nodes)\n there are used regular expressions (re.search) to match names\n it uses simple references schema, do not use references to another references,\n avoid usind / in reference because actual solution creates... | 114 | false | user-cont/colin | references | 11,749 | |
LDU_FT/vektorlab/slacksocket/channel | LDU_FT | [
"<BEGIN>\n## `login`",
"perform API auth test returning user and team\n<END>",
"<BEGIN>\n## `user`",
"Return User object for a given Slack ID or name\n<END>",
"<BEGIN>\n## `channel`",
"Return Channel object for a given Slack ID or name\n<END>",
"<BEGIN>\n## `match`",
"lookup object in directory with a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the channel API.
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 channel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return Channel object for a given Slack ID or name | "Return Channel object for a given Slack ID or name" | 17 | false | vektorlab/slacksocket | channel | 11,750 | |
LDU_FT/coin-or/GiMPy/show_flow | LDU_FT | [
"<BEGIN>\n## `add_root`",
"API: add_root(self, root, **attrs)\n Description:\n Adds root node to the tree with name root and returns root Node\n instance.\n Input:\n root: Root node name.\n attrs: Root node attributes.\n Post:\n Changes s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_flow API.
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 show_flow API.
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... | API: relabel(self, i)
Description:
Used by max_flow_preflowpush() method for display purposed.
Post:
'color' and 'label' attribute of edges/nodes are updated. | "API: relabel(self, i)\n Description:\n Used by max_flow_preflowpush() method for display purposed.\n Post:\n 'color' and 'label' attribute of edges/nodes are updated." | 179 | false | coin-or/GiMPy | show_flow | 11,751 | |
LDU_FT/yunojuno-archive/django-package-monitor/_updateable | LDU_FT | [
"<BEGIN>\n## `create_package_version`",
"Create a new PackageVersion from a requirement. Handles errors.\n<END>",
"<BEGIN>\n## `update_from_pypi`",
"Call get_latest_version and then save the object.\n<END>",
"<BEGIN>\n## `parse_python`",
"Parse out the versions of python supported a/c classifiers.\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _updateable API.
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 _updateable API.
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... | Return True if there are available updates. | "Return True if there are available updates." | 21 | false | yunojuno-archive/django-package-monitor | _updateable | 11,752 | |
LDU_FT/ska-sa/hypercube/dim_lower_extent | LDU_FT | [
"<BEGIN>\n## `bytes_required`",
"Returns\n -------\n int\n Estimated number of bytes required by arrays registered\n on the cube, taking their extents into account.\n<END>",
"<BEGIN>\n## `register_dimension`",
"Registers a dimension on this cube.",
" .. code-block:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dim_lower_extent API.
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 dim_lower_extent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Returns the lower extent of the dimensions in args.
.. code-block:: python
t_ex, bl_ex, ch_ex = cube.dim_lower_extent('ntime', 'nbl', 'nchan')
or
.. code-block:: python
t_ex, bl_ex, ch_ex, src_ex = cube.dim_lower_extent('ntime,nbl:nchan nsrc') | "Returns the lower extent of the dimensions in args.\n\n .. code-block:: python\n\n t_ex, bl_ex, ch_ex = cube.dim_lower_extent('ntime', 'nbl', 'nchan')\n\n or\n\n .. code-block:: python\n\n t_ex, bl_ex, ch_ex, src_ex = cube.dim_lower_extent('ntime,nbl:nchan nsrc')" | 163 | false | ska-sa/hypercube | dim_lower_extent | 11,753 | |
LDU_FT/mitodl/edx-api-client/create | LDU_FT | [
"<BEGIN>\n## `get_detail`",
"Fetches course details.",
" Args:\n course_id (str): An edx course id.",
" Returns:\n CourseDetail\n<END>",
"<BEGIN>\n## `get_user_info`",
"Returns a UserInfo object for the logged in user.",
" Returns:\n UserInfo: object... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Creates a CCX
Args:
master_course_id (str): edx course id of the master course
coach_email (str): email of the user to make a coach. This user must exist on edx.
max_students_allowed (int): Maximum number of students to allow in this ccx.
title (str): Title of th... | "Creates a CCX\n\n Args:\n master_course_id (str): edx course id of the master course\n coach_email (str): email of the user to make a coach. This user must exist on edx.\n max_students_allowed (int): Maximum number of students to allow in this ccx.\n title (str): Titl... | 55 | false | mitodl/edx-api-client | create | 11,754 | |
LDU_FT/majerteam/sqla_inspect/_get_to_one_relationship_value | LDU_FT | [
"<BEGIN>\n## `get_info_field`",
"Return the info attribute of the given property\n<END>",
"<BEGIN>\n## `add_formatter`",
"Add a formatter to the registry\n if key_specific is provided, this formatter will only be used for some\n specific exports\n<END>",
"<BEGIN>\n## `render`",
"Write to the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_to_one_relationship_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_to_one_relationship_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Compute datas produced for a many to one relationship
:param obj obj: The instance we manage
:param dict column: The column description dictionnary
:returns: The associated value | "Compute datas produced for a many to one relationship\n\n :param obj obj: The instance we manage\n :param dict column: The column description dictionnary\n :returns: The associated value" | 132 | false | majerteam/sqla_inspect | _get_to_one_relationship_value | 11,755 | |
LDU_FT/nickstenning/honcho/parse | LDU_FT | [
"<BEGIN>\n## `add_process`",
"Add a process to this manager instance. The process will not be started\n until :func:`~honcho.manager.Manager.loop` is called.\n<END>",
"<BEGIN>\n## `loop`",
"Start all the added processes and multiplex their output onto the bound\n printer (which by default will p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
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 parse API.
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... | Parse the content of a .env file (a line-delimited KEY=value format) into a
dictionary mapping keys to values. | "Parse the content of a .env file (a line-delimited KEY=value format) into a\n dictionary mapping keys to values." | 15 | false | nickstenning/honcho | parse | 11,756 | |
LDU_FT/gwastro/pycbc-glue/set_output_format | LDU_FT | [
"<BEGIN>\n## `component_offsetvectors`",
"Given an iterable of offset vectors, return the shortest list of\n\tthe unique n-instrument offset vectors from which all the vectors\n\tin the input iterable can be constructed. This can be used to\n\tdetermine the minimal set of n-instrument coincs required to\n\tconst... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_output_format API.
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_output_format API.
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 output format; returns standard bits of table. These are:
ttx: how to start a title for a set of tables
xtt: how to end a title for a set of tables
tx: how to start a table
xt: how to close a table
capx: how to start a caption for the table
xcap: how to close a capti... | "Sets output format; returns standard bits of table. These are:\n ttx: how to start a title for a set of tables\n xtt: how to end a title for a set of tables\n tx: how to start a table\n xt: how to close a table\n capx: how to start a caption for the table\n xcap: how to close ... | 1,048 | true | gwastro/pycbc-glue | set_output_format | 11,757 | |
LDU_FT/project-rig/rig/hilbert | LDU_FT | [
"<BEGIN>\n## `minimise`",
"Remove from the routing table any entries which could be replaced by\n default routing.",
" Parameters\n ----------\n routing_table : [:py:class:`~rig.routing_table.RoutingTableEntry`, ...]\n Routing table from which to remove entries which could be handled by\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hilbert API.
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 hilbert API.
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... | Generator of points along a 2D Hilbert curve.
This implements the L-system as described on
`http://en.wikipedia.org/wiki/Hilbert_curve`.
Parameters
----------
level : int
Number of levels of recursion to use in generating the curve. The
resulting curve will be `(2**level)-1` wide/t... | "Generator of points along a 2D Hilbert curve.\n\n This implements the L-system as described on\n `http://en.wikipedia.org/wiki/Hilbert_curve`.\n\n Parameters\n ----------\n level : int\n Number of levels of recursion to use in generating the curve. The\n resulting curve will be `(2**level)... | 983 | false | project-rig/rig | hilbert | 11,758 | |
LDU_FT/IS-ENES-Data/esgf-pid/unpublish_all_versions | LDU_FT | [
"<BEGIN>\n## `logtrace`",
"If esgfpid.defaults.LOG_TRACE_TO_DEBUG, messages are treated\n like debug messages (with an added [trace]).\n Otherwise, they are ignored.\n<END>",
"<BEGIN>\n## `logdebug`",
"Logs messages as DEBUG,\n unless show=True and esgfpid.defaults.LOG_SHOW_TO_INFO=True,\n (then i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unpublish_all_versions 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 unpublish_all_versions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Sends a PID update request for the unpublication of all versions
of a dataset currently published at the given data node.
If the library has solr access, it will try to find all the
dataset versions and their handles from solr, and send individual
messages for each version. Otherwise, o... | "Sends a PID update request for the unpublication of all versions\n of a dataset currently published at the given data node.\n\n If the library has solr access, it will try to find all the\n dataset versions and their handles from solr, and send individual\n messages for each version. Otherw... | 67 | false | IS-ENES-Data/esgf-pid | unpublish_all_versions | 11,759 | |
LDU_FT/KarchinLab/probabilistic2020/get_frameshift_info | LDU_FT | [
"<BEGIN>\n## `compute_indel_length`",
"Computes the indel length accounting for wether it is an insertion or\n deletion.",
" Parameters\n ----------\n fs_df : pd.DataFrame\n mutation input as dataframe only containing indel mutations",
" Returns\n -------\n indel_len : pd.Series\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_frameshift_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_frameshift_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Counts frameshifts stratified by a given length.
Parameters
----------
fs_df : pd.DataFrame
indel mutations from non-coding portion
bins : int
number of different length categories for frameshifts
Returns
-------
indel_len : list
length of specific frameshift length... | "Counts frameshifts stratified by a given length.\n\n Parameters\n ----------\n fs_df : pd.DataFrame\n indel mutations from non-coding portion\n bins : int\n number of different length categories for frameshifts\n\n Returns\n -------\n indel_len : list\n length of specific fram... | 281 | false | KarchinLab/probabilistic2020 | get_frameshift_info | 11,760 | |
LDU_FT/geophysics-ubonn/crtomo_tools/main | LDU_FT | [
"<BEGIN>\n## `clear_measurements`",
"Remove all measurements from self.measurements. Reset the\n measurement counter. All ID are invalidated.\n<END>",
"<BEGIN>\n## `add_measurements`",
"Add new measurements to this instance",
" Parameters\n ----------\n measurements: numpy.ndarra... | 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... | 1. Header
2. Nodes
3. Elements: Triangles, Boundary elements
4. Element ids for adjoining boundary elements | "1. Header\n 2. Nodes\n 3. Elements: Triangles, Boundary elements\n 4. Element ids for adjoining boundary elements" | 525 | false | geophysics-ubonn/crtomo_tools | main | 11,761 | |
LDU_FT/phaethon/kamene/in6_getRandomizedIfaceId | LDU_FT | [
"<BEGIN>\n## `post_build`",
"Called implicitly before a packet is sent.\n<END>",
"<BEGIN>\n## `float_encode`",
"Convert the integer value to its IGMPv3 encoded time value if needed.",
" If value < 128, return the value specified. If >= 128, encode as a floating \n point value. Value can be 0 - 31744.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the in6_getRandomizedIfaceId 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 in6_getRandomizedIfaceId API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Implements the interface ID generation algorithm described in RFC 3041.
The function takes the Modified EUI-64 interface identifier generated
as described in RFC 4291 and an optional previous history value (the
first element of the output of this function). If no previous interface
identifier is provide... | "Implements the interface ID generation algorithm described in RFC 3041.\n The function takes the Modified EUI-64 interface identifier generated\n as described in RFC 4291 and an optional previous history value (the\n first element of the output of this function). If no previous interface\n identifier is pr... | 477 | false | phaethon/kamene | in6_getRandomizedIfaceId | 11,762 | |
LDU_FT/Iotic-Labs/py-IoticAgent/_request | LDU_FT | [
"<BEGIN>\n## `_notify_thing_lid_change`",
"Used by Thing instances to indicate that a rename operation has happened\n<END>",
"<BEGIN>\n## `register_catchall_feeddata`",
"Registers a callback that is called for all feeddata your Thing receives",
" `Example`",
" #!python\n def f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | _request amqp queue publish helper
return: RequestEvent object or None for failed to publish | "_request amqp queue publish helper\n\n return: RequestEvent object or None for failed to publish" | 643 | false | Iotic-Labs/py-IoticAgent | _request | 11,763 | |
LDU_FT/emdb-empiar/ahds/hxzip_decode | LDU_FT | [
"<BEGIN>\n## `detect_format`",
"Detect Amira file format (AmiraMesh or HyperSurface)",
" :param str fn: file name\n :param int format_bytes: number of bytes in which to search for the format [default: 50]\n :param bool verbose: verbose (default) or not\n :return str file_format: either ``AmiraMesh``... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hxzip_decode API.
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 hxzip_decode API.
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... | Decode HxZip data stream
:param int data_size: the number of items when ``data`` is uncompressed
:param str data: a raw stream of data to be unpacked
:return numpy.array output: an array of ``numpy.uint8`` | "Decode HxZip data stream\n \n :param int data_size: the number of items when ``data`` is uncompressed\n :param str data: a raw stream of data to be unpacked\n :return numpy.array output: an array of ``numpy.uint8``" | 34 | false | emdb-empiar/ahds | hxzip_decode | 11,764 | |
LDU_FT/wuher/devil/_create_mappings | LDU_FT | [
"<BEGIN>\n## `create`",
"Create object from the given data.",
" The given data may or may not have been validated prior to calling\n this function. This function will try its best in creating the object.\n If the resulting object cannot be produced, raises ``ValidationError``.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_mappings API.
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 _create_mappings API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Create property name map based on aliases. | "Create property name map based on aliases." | 193 | false | wuher/devil | _create_mappings | 11,765 | |
LDU_FT/django-getpaid/django-getpaid/get_backend_choices | LDU_FT | [
"<BEGIN>\n## `new_payment_query_listener`",
"Here we fill only two obligatory fields of payment, and leave signal handler\n<END>",
"<BEGIN>\n## `payment_status_changed_listener`",
"Here we will actually do something, when payment is accepted.\n E.g. lets change an order status.\n<END>",
"<BEGIN>\n## `reg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_backend_choices 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_backend_choices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Get active backends modules. Backend list can be filtered by
supporting given currency. | "Get active backends modules. Backend list can be filtered by\n supporting given currency." | 20 | false | django-getpaid/django-getpaid | get_backend_choices | 11,766 | |
LDU_FT/christophertbrown/bioscripts/rbh_network | LDU_FT | [
"<BEGIN>\n## `six_frame`",
"translate each sequence into six reading frames\n<END>",
"<BEGIN>\n## `best_model`",
"determine the best model: archaea, bacteria, eukarya (best score)\n<END>",
"<BEGIN>\n## `check_gaps`",
"check for large gaps between alignment windows\n<END>",
"<BEGIN>\n## `check_overlap`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rbh_network API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rbh_network API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | make the network based on rbhs and score thresholds | "make the network based on rbhs and score thresholds" | 219 | false | christophertbrown/bioscripts | rbh_network | 11,767 | |
LDU_FT/jurismarches/chopper/parse | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parses the CSS contents and returns the cleaned CSS as a string",
" :returns: The cleaned CSS\n :rtype: str\n<END>",
"<BEGIN>\n## `rel_to_abs`",
"Converts relative links from css contents to absolute links",
" :param base_url: The base page url to use for build... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
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 parse API.
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... | Returns a cleaned lxml ElementTree
:returns: Whether the cleaned HTML has matches or not
:rtype: bool | "Returns a cleaned lxml ElementTree\n\n :returns: Whether the cleaned HTML has matches or not\n :rtype: bool" | 47 | false | jurismarches/chopper | parse | 11,768 | |
LDU_FT/PierreRust/apigpio/add_callback | LDU_FT | [
"<BEGIN>\n## `u2i`",
"Converts a 32 bit unsigned number to signed.",
" uint32:= an unsigned 32 bit number",
" ...\n print(u2i(4294967272))\n -24\n print(u2i(37))\n 37\n ...\n<END>",
"<BEGIN>\n## `_u2i`",
"Converts a 32 bit unsigned number to signed. If the number\n is negative it ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_callback API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_callback API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Calls a user supplied function (a callback) whenever the
specified gpio edge is detected.
user_gpio:= 0-31.
edge:= EITHER_EDGE, RISING_EDGE (default), or FALLING_EDGE.
func:= user supplied callback function.
The user supplied callback receives three parameters, the gpio,
... | "Calls a user supplied function (a callback) whenever the\n specified gpio edge is detected.\n\n user_gpio:= 0-31.\n edge:= EITHER_EDGE, RISING_EDGE (default), or FALLING_EDGE.\n func:= user supplied callback function.\n\n The user supplied callback receives three parameters, th... | 102 | false | PierreRust/apigpio | add_callback | 11,769 | |
LDU_FT/jhorman/pledge/set_of | LDU_FT | [
"<BEGIN>\n## `pre`",
"Add a precondition check to the annotated method. The condition\n is passed the arguments from the annotated method. It does not\n need to accept all of the methods parameters. The condition\n is inspected to figure out which parameters to pass.\n<END>",
"<BEGIN>\n## `post`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_of API.
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 set_of API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Returns a function that checks that each element in a
set is of a specific type. | "Returns a function that checks that each element in a\n set is of a specific type." | 17 | false | jhorman/pledge | set_of | 11,770 | |
LDU_FT/rosshamish/catan-py/get_opts | 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_opts API.
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_opts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Validate options and apply defaults for options not supplied.
:param opts: dictionary mapping str->str.
:return: dictionary mapping str->Opt. All possible keys are present. | "Validate options and apply defaults for options not supplied.\n\n :param opts: dictionary mapping str->str.\n :return: dictionary mapping str->Opt. All possible keys are present." | 52 | false | rosshamish/catan-py | get_opts | 11,771 | |
LDU_FT/marcharper/python-ternary/merge_dicts | LDU_FT | [
"<BEGIN>\n## `normalize`",
"Normalizes input list.",
" Parameters\n ----------\n l: list\n The list to be normalized",
" Returns\n -------\n The normalized list or numpy array",
" Raises\n ------\n ValueError, if the list sums to zero\n<END>",
"<BEGIN>\n## `simplex_iterat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_dicts API.
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 merge_dicts API.
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... | Given two dicts, merge them into a new dict as a shallow copy.
Parameters
----------
base: dict
The base dictionary.
updates: dict
Secondary dictionary whose values override the base. | "Given two dicts, merge them into a new dict as a shallow copy.\n\n Parameters\n ----------\n base: dict\n The base dictionary.\n updates: dict\n Secondary dictionary whose values override the base." | 179 | false | marcharper/python-ternary | merge_dicts | 11,772 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.