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/QualiSystems/vCenterShell/wait_for_task | LDU_FT | [
"<BEGIN>\n## `get_inventory`",
"Will locate vm in vcenter and fill its uuid\n :type context: cloudshell.shell.core.context.ResourceCommandContext\n<END>",
"<BEGIN>\n## `get_snapshots`",
"Restores a virtual machine to a snapshot\n :param vim.ServiceInstance si: py_vmomi service instance\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_task API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_task API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Waits and provides updates on a vSphere task
:param cancellation_context: package.cloudshell.cp.vcenter.models.QualiDriverModels.CancellationContext
:param task:
:param action_name:
:param hide_result:
:param logger: | "Waits and provides updates on a vSphere task\n :param cancellation_context: package.cloudshell.cp.vcenter.models.QualiDriverModels.CancellationContext\n :param task:\n :param action_name:\n :param hide_result:\n :param logger:" | 231 | false | QualiSystems/vCenterShell | wait_for_task | 31,573 | |
LDU_FT/gmr/tredis/_py3_crc16 | LDU_FT | [
"<BEGIN>\n## `auth`",
"Request for authentication in a password-protected Redis server.\n Redis can be instructed to require a password before allowing clients\n to execute commands. This is done using the ``requirepass`` directive\n in the configuration file.",
" If the password doe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _py3_crc16 API.
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 _py3_crc16 API.
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... | Calculate the CRC for the value in Python 3
:param bytes value: The value to return for the CRC Checksum
:rtype: int | "Calculate the CRC for the value in Python 3\n\n :param bytes value: The value to return for the CRC Checksum\n :rtype: int" | 523 | false | gmr/tredis | _py3_crc16 | 31,574 | |
LDU_FT/guykisel/inline-plz/position | LDU_FT | [
"<BEGIN>\n## `out_of_date`",
"Check if our local latest sha matches the remote latest sha\n<END>",
"<BEGIN>\n## `position`",
"Calculate position within the PR, which is not the line number\n<END>",
"<BEGIN>\n## `load_config`",
"Load inline-plz config from yaml config file with reasonable defaults.\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the position API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the position API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Calculate position within the PR, which is not the line number | "Calculate position within the PR, which is not the line number" | 11 | false | guykisel/inline-plz | position | 31,575 | |
LDU_FT/KyleJamesWalker/yamlsettings/update | LDU_FT | [
"<BEGIN>\n## `conform_query`",
"Converts the query string from a target uri, uses\n cls.default_query to populate default arguments.",
" :param query: Unparsed query string\n :type query: urllib.parse.unsplit(uri).query\n :returns: Dictionary of parsed values, everything in cls.defau... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Update the content (i.e. keys and values) with yaml_dict. | "Update the content (i.e. keys and values) with yaml_dict." | 46 | false | KyleJamesWalker/yamlsettings | update | 31,576 | |
LDU_FT/IdentityPython/oidcendpoint/do_response | LDU_FT | [
"<BEGIN>\n## `client_authentication`",
"Deal with client authentication",
" :param request: The refresh access token request\n :param auth: Client authentication information\n :param kwargs: Extra keyword arguments\n :return: dictionary containing client id, client authentication met... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_response API.
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... | **Placeholder for the time being**
:param response_args:
:param request:
:param kwargs: request arguments
:return: Response information | "**Placeholder for the time being**\n\n :param response_args:\n :param request:\n :param kwargs: request arguments\n :return: Response information" | 180 | false | IdentityPython/oidcendpoint | do_response | 31,577 | |
LDU_FT/Autodesk/pyccc/open | LDU_FT | [
"<BEGIN>\n## `persistent_id`",
"Tags objects with a persistent ID, but do NOT emit it\n<END>",
"<BEGIN>\n## `open`",
"Return file-like object (actually opens the file for this class)\n<END>",
"<BEGIN>\n## `_open_tmpfile`",
"Open a temporary, unique file in CACHEDIR (/tmp/cyborgcache) by default.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Return file-like object
Args:
mode (str): access mode (only reading modes are supported)
encoding (str): text decoding method for text access (default: system default)
Returns:
io.BytesIO OR io.TextIOWrapper: buffer accessing the file as bytes or characters | "Return file-like object\n\n Args:\n mode (str): access mode (only reading modes are supported)\n encoding (str): text decoding method for text access (default: system default)\n\n Returns:\n io.BytesIO OR io.TextIOWrapper: buffer accessing the file as bytes or characters" | 114 | false | Autodesk/pyccc | open | 31,578 | |
LDU_FT/klmitch/bark/conversion | LDU_FT | [
"<BEGIN>\n## `pop_state`",
"Pops off the most recent state.",
" :param idx: If provided, specifies the index at which the next\n string begins.\n<END>",
"<BEGIN>\n## `add_text`",
"Adds the text from string beginning to the specified ending\n index to the format.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the conversion API.
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 conversion API.
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... | Switches into the 'conversion' state, used to parse a %
conversion.
:param idx: The format string index at which the conversion
begins. | "Switches into the 'conversion' state, used to parse a %\n conversion.\n\n :param idx: The format string index at which the conversion\n begins." | 160 | false | klmitch/bark | conversion | 31,579 | |
LDU_FT/phodge/homely/find_by_any | LDU_FT | [
"<BEGIN>\n## `clonetopath`",
"Clone the repo at <self.pushablepath> into <dest>\n Note that if self.pushablepath is None, then self.path will be used\n instead.\n<END>",
"<BEGIN>\n## `_removecleaner`",
"Remove the cleaner from the list if it already exists. Returns True if\n the cleaner w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_by_any API.
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_by_any API.
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... | how should be a string with any or all of the characters "ilc" | "how should be a string with any or all of the characters \"ilc\"" | 49 | false | phodge/homely | find_by_any | 31,580 | |
LDU_FT/projectatomic/osbs-client/get_name_and_value | LDU_FT | [
"<BEGIN>\n## `get_openshift_base_uri`",
"https://<host>[:<port>]/",
" :return: str\n<END>",
"<BEGIN>\n## `get_builder_openshift_url`",
"url of OpenShift where builder will connect\n<END>",
"<BEGIN>\n## `generate_nodeselector_dict`",
"helper method for generating nodeselector dict\n :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_name_and_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_name_and_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.
Th... | Return tuple of (label name, label value)
Raises KeyError if label doesn't exist | "Return tuple of (label name, label value)\n Raises KeyError if label doesn't exist" | 268 | false | projectatomic/osbs-client | get_name_and_value | 31,581 | |
LDU_FT/kervi/kervi-devices/set_interrupt_limits | LDU_FT | [
"<BEGIN>\n## `read_raw_temp`",
"Reads the raw (uncompensated) temperature from the sensor.\n<END>",
"<BEGIN>\n## `read_raw_pressure`",
"Reads the raw (uncompensated) pressure level from the sensor.\n<END>",
"<BEGIN>\n## `read_temperature`",
"Gets the compensated temperature in degrees celsius.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_interrupt_limits 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 set_interrupt_limits API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Set the interrupt limits to provied unsigned 16-bit threshold values. | "Set the interrupt limits to provied unsigned 16-bit threshold values." | 58 | false | kervi/kervi-devices | set_interrupt_limits | 31,582 | |
LDU_FT/ihmeuw/vivarium/split | LDU_FT | [
"<BEGIN>\n## `setup`",
"Performs this component's simulation setup.",
" The ``setup`` method is automatically called by the simulation\n framework. The framework passes in a ``builder`` object which\n provides access to a variety of framework subsystems and metadata.",
" Parameters... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split API.
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 split API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Create a new event which is a copy of this one but with a new index. | "Create a new event which is a copy of this one but with a new index." | 370 | false | ihmeuw/vivarium | split | 31,583 | |
LDU_FT/phoebe-project/phoebe2/compute_ck2004_response | LDU_FT | [
"<BEGIN>\n## `lc`",
"Create parameters for a new light curve dataset.",
" Generally, this will be used as an input to the kind argument in\n :meth:`phoebe.frontend.bundle.Bundle.add_dataset`",
" :parameter **kwargs: defaults for the values of any of the parameters\n :return: a :class:`phoebe.param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_ck2004_response 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 compute_ck2004_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Computes Castelli & Kurucz (2004) intensities across the entire
range of model atmospheres.
@path: path to the directory containing ck2004 SEDs
@verbose: switch to determine whether computing progress should
be printed on screen
Returns: n/a | "Computes Castelli & Kurucz (2004) intensities across the entire\n range of model atmospheres.\n\n @path: path to the directory containing ck2004 SEDs\n @verbose: switch to determine whether computing progress should\n be printed on screen\n\n Returns: n/a" | 1,080 | true | phoebe-project/phoebe2 | compute_ck2004_response | 31,584 | |
LDU_FT/hyde/fswrap/get_mirror | LDU_FT | [
"<BEGIN>\n## `fully_expanded_path`",
"Returns the absolutely absolute path. Calls os.(\n normpath, normcase, expandvars and expanduser).\n<END>",
"<BEGIN>\n## `depth`",
"Returns the number of ancestors of this directory.\n<END>",
"<BEGIN>\n## `ancestors`",
"Generates the parents until stop or the a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mirror API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mirror API.
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... | Returns a File or Folder object that reperesents if the entire
fragment of this directory starting with `source_root` were copied
to `target_root`.
>>> Folder('/usr/local/hyde/stuff').get_mirror('/usr/tmp',
source_root='/usr/local/hyde')
F... | "Returns a File or Folder object that reperesents if the entire\n fragment of this directory starting with `source_root` were copied\n to `target_root`.\n\n >>> Folder('/usr/local/hyde/stuff').get_mirror('/usr/tmp',\n source_root='/usr/local/hyde')\n ... | 43 | false | hyde/fswrap | get_mirror | 31,585 | |
LDU_FT/rvswift/EB/calculate_auc_covar | LDU_FT | [
"<BEGIN>\n## `approximator`",
"recursively rank queries\n :param molecules:\n :param options:\n :param sort_order:\n :param frameworks:\n :param ensemble:\n :return:\n<END>",
"<BEGIN>\n## `rank_queries`",
"rank queries by value added to existing ensemble\n :param molecules:\n :param sc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_auc_covar 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 calculate_auc_covar 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... | determine AUC covariance due to actives (covar_a) and decoys (covar_d)
:param auc_structure1: list [(id, best_score, best_query, status, fpf, tpf), ...,]
:param auc_structure2: list [(id, best_score, best_query, status, fpf, tpf), ...,]
:return (covar_a, covar_d): tuple | "determine AUC covariance due to actives (covar_a) and decoys (covar_d)\n :param auc_structure1: list [(id, best_score, best_query, status, fpf, tpf), ...,]\n :param auc_structure2: list [(id, best_score, best_query, status, fpf, tpf), ...,]\n :return (covar_a, covar_d): tuple" | 91 | false | rvswift/EB | calculate_auc_covar | 31,586 | |
LDU_FT/peerplays-network/python-peerplays/get_network | LDU_FT | [
"<BEGIN>\n## `listaccounts`",
"List accounts (for the connected network)\n<END>",
"<BEGIN>\n## `importaccount`",
"Import an account using an account password\n<END>",
"<BEGIN>\n## `eventgroups`",
"[bookie] List event groups for a sport",
" :param str sport: Sports id\n<END>",
"<BEGIN>\n## `even... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 get_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... | Identify the connected network. This call returns a
dictionary with keys chain_id, core_symbol and prefix | "Identify the connected network. This call returns a\n dictionary with keys chain_id, core_symbol and prefix" | 124 | false | peerplays-network/python-peerplays | get_network | 31,587 | |
LDU_FT/moonso/query_phenomizer/query_phenomizer | LDU_FT | [
"<BEGIN>\n## `cli`",
"Give hpo terms either on the form 'HP:0001623', or '0001623\n<END>",
"<BEGIN>\n## `parse_result`",
"Parse the result line of a phenomizer request.",
" Arguments:\n line (str): A raw output line from phenomizer",
" Returns:\n result (dict): A dictionary with the p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query_phenomizer API.
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 query_phenomizer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Query the phenomizer web tool
Arguments:
usr (str): A username for phenomizer
pwd (str): A password for phenomizer
hpo_terms (list): A list with hpo terms
Returns:
raw_answer : The raw result from phenomizer | "Query the phenomizer web tool\n \n Arguments:\n usr (str): A username for phenomizer\n pwd (str): A password for phenomizer\n hpo_terms (list): A list with hpo terms\n \n Returns:\n raw_answer : The raw result from phenomizer" | 19 | false | moonso/query_phenomizer | query_phenomizer | 31,588 | |
LDU_FT/intiocean/pyinter/daterange | LDU_FT | [
"<BEGIN>\n## `_add`",
"Add a interval to the underlying IntervalSet data store. This does not perform any tests as we assume that\n any requirements have already been checked and that this function is being called by an internal function such\n as union(), intersection() or add().\n :param ot... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the daterange API.
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 daterange API.
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 generator which creates the next value in the range on demand | "Returns a generator which creates the next value in the range on demand" | 41 | false | intiocean/pyinter | daterange | 31,589 | |
LDU_FT/ktdreyer/txbugzilla/assign | LDU_FT | [
"<BEGIN>\n## `find_tracker_url`",
"Given http://tracker.ceph.com/issues/16673 or\n tracker.ceph.com/issues/16673, return \"http://tracker.ceph.com\".\n<END>",
"<BEGIN>\n## `api_key_from_file`",
"Check bugzillarc for an API key for this Bugzilla URL.\n<END>",
"<BEGIN>\n## `call`",
"Make an XML-RPC call ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assign API.
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 assign API.
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 ... | Assign a bug to a user.
param bugid: ``int``, bug ID number.
param user: ``str``, the login name of the user to whom the bug is
assigned
returns: deferred that when fired returns True if the change succeeded,
False if the change was unnecessary (because the ... | "Assign a bug to a user.\n\n param bugid: ``int``, bug ID number.\n param user: ``str``, the login name of the user to whom the bug is\n assigned\n returns: deferred that when fired returns True if the change succeeded,\n False if the change was unnecessary (becau... | 30 | false | ktdreyer/txbugzilla | assign | 31,590 | |
LDU_FT/HubSpot/hapipy/process_queue | 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 process_queue API.
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 process_queue API.
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... | Processes all API calls since last invocation, returning a list of data
in the order the API calls were created | "Processes all API calls since last invocation, returning a list of data\n in the order the API calls were created" | 22 | false | HubSpot/hapipy | process_queue | 31,591 | |
LDU_FT/projectshift/shift-schema/add_collection_errors | LDU_FT | [
"<BEGIN>\n## `validate`",
"Validate\n Perform value validation against validation settings and return\n error object.",
" :param value: list, value to check\n :param model: parent model being validated\n :param context: object or None, validation co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_collection_errors API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_collection_errors API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Add collection errors
Accepts a list errors coming from validators attached directly,
or a list of schema results for each item in the collection.
:param property_name: str, property name
:param direct_errors: list, errors from validators attached directly
:param collection_erro... | "Add collection errors\n Accepts a list errors coming from validators attached directly,\n or a list of schema results for each item in the collection.\n\n :param property_name: str, property name\n :param direct_errors: list, errors from validators attached directly\n :param collecti... | 135 | false | projectshift/shift-schema | add_collection_errors | 31,592 | |
LDU_FT/sbg/sevenbridges-python/bulk_submit | LDU_FT | [
"<BEGIN>\n## `query`",
"Query (List) tasks. Date parameters may be both strings and python date\n objects.\n :param project: Target project. optional.\n :param status: Task status.\n :param batch: Only batch tasks.\n :param parent: Parent batch task identifier.\n :param e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bulk_submit API.
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 bulk_submit API.
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... | Create exports in bulk.
:param exports: Exports to be submitted in bulk.
:param copy_only: If true files are kept on SevenBridges bucket.
:param api: Api instance.
:return: list of ExportBulkRecord objects. | "Create exports in bulk.\n :param exports: Exports to be submitted in bulk.\n :param copy_only: If true files are kept on SevenBridges bucket.\n :param api: Api instance.\n :return: list of ExportBulkRecord objects." | 292 | false | sbg/sevenbridges-python | bulk_submit | 31,593 | |
LDU_FT/stephantul/reach/nearest_neighbor_threshold | LDU_FT | [
"<BEGIN>\n## `load`",
"r\"\"\"\n Read a file in word2vec .txt format.",
" The load function will raise a ValueError when trying to load items\n which do not conform to line lengths.",
" Parameters\n ----------\n pathtovector : string\n The path to the vecto... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nearest_neighbor_threshold 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 nearest_neighbor_threshold API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Find the nearest neighbors to some arbitrary vector.
This function is meant to be used in composition operations. The
most_similar function can only handle items that are in vocab, and
looks up their vector through a dictionary. Compositions, e.g.
"King - man + woman" are necessarily no... | "Find the nearest neighbors to some arbitrary vector.\n\n This function is meant to be used in composition operations. The\n most_similar function can only handle items that are in vocab, and\n looks up their vector through a dictionary. Compositions, e.g.\n \"King - man + woman\" are necess... | 63 | false | stephantul/reach | nearest_neighbor_threshold | 31,594 | |
LDU_FT/wdm0006/sklearn-extensions/predict | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit the model",
" Parameters\n ----------\n X : array-like of shape = [n_samples, n_features]\n The training input samples.",
" y : array-like, shape = [n_samples]\n The target values",
" Returns\n -------\n self : ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict API.
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 predict API.
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... | Predict target values for X.
Parameters
----------
X : array-like of shape = [n_samples, n_features]
The input samples.
Returns
-------
y : array of shape = [n_samples]
The predicted target value. | "Predict target values for X.\n\n Parameters\n ----------\n X : array-like of shape = [n_samples, n_features]\n The input samples.\n\n Returns\n -------\n y : array of shape = [n_samples]\n The predicted target value." | 60 | false | wdm0006/sklearn-extensions | predict | 31,595 | |
LDU_FT/etcher-be/emiz/_tdec | LDU_FT | [
"<BEGIN>\n## `unit_pos_to_spot`",
"Translates a unit position to a known parking spot",
" Args:\n unit_pos: unit position as Vec2",
" Returns: ParkingSpot object\n<END>",
"<BEGIN>\n## `_tdec`",
"Translates a 4-digit decimal temperature representation",
" Ex: 1045 -> -4.5°C 0237 -> 23.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _tdec API.
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 _tdec API.
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... | Translates a 4-digit decimal temperature representation
Ex: 1045 -> -4.5°C 0237 -> 23.7°C | "Translates a 4-digit decimal temperature representation\n\n Ex: 1045 -> -4.5°C 0237 -> 23.7°C" | 297 | false | etcher-be/emiz | _tdec | 31,596 | |
LDU_FT/IBM-Cloud/gp-python-client/gettext | LDU_FT | [
"<BEGIN>\n## `__get_user_env_vars`",
"Return the user defined environment variables\n<END>",
"<BEGIN>\n## `__parse_vcap_services_env_var`",
"Parse the ``VCAP_SERVICES`` env var and search for the necessary\r\n values\n<END>",
"<BEGIN>\n## `__get_language_match`",
"Compares ``languageCode`` to the p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gettext API.
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 gettext API.
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... | Contacts the GP service instance to find the translated value for
the provided message key.
If translated value is not available, and a fallback has been set,
the fallback will be used. If there is no fallback, the source language
value is returned. And if the message key is not fo... | "Contacts the GP service instance to find the translated value for\r\n the provided message key.\r\n\r\n If translated value is not available, and a fallback has been set,\r\n the fallback will be used. If there is no fallback, the source language\r\n value is returned. And if the message ke... | 71 | false | IBM-Cloud/gp-python-client | gettext | 31,597 | |
LDU_FT/openstax/cnx-archive/assign_document_controls_default_trigger | LDU_FT | [
"<BEGIN>\n## `redirect_legacy_content`",
"Redirect from legacy /content/id/version to new /contents/uuid@version.",
" Handles collection context (book) as well.\n<END>",
"<BEGIN>\n## `robots`",
"Return a simple \"don't index me\" robots.txt file.\n<END>",
"<BEGIN>\n## `_get_sql`",
"Returns the conten... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assign_document_controls_default_trigger API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assign_document_controls_default_trigger API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicat... | Trigger to fill in document_controls when legacy publishes.
A compatibilty trigger to fill in ``uuid`` and ``licenseid`` columns
of the ``document_controls`` table that are not
populated when inserting publications from legacy.
This uuid default is not on ``modules.uuid`` column itself,
because th... | "Trigger to fill in document_controls when legacy publishes.\n\n A compatibilty trigger to fill in ``uuid`` and ``licenseid`` columns\n of the ``document_controls`` table that are not\n populated when inserting publications from legacy.\n\n This uuid default is not on ``modules.uuid`` column itself,\n be... | 208 | false | openstax/cnx-archive | assign_document_controls_default_trigger | 31,598 | |
LDU_FT/sci-bots/pygtkhelpers/create_ui | LDU_FT | [
"<BEGIN>\n## `gcall`",
"Calls a function, with the given arguments inside Gtk's main loop.\n Example::\n gcall(lbl.set_text, \"foo\")",
" If this call would be made in a thread there could be problems, using\n it inside Gtk's main loop makes it thread safe.\n<END>",
"<BEGIN>\n## `invoke_in_mai... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_ui API.
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 create_ui API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Create the user interface
create_ui is a method called during the Delegate's
initialisation process, to create, add to, or modify any UI
created by GtkBuilder files. | "Create the user interface\n\n create_ui is a method called during the Delegate's\n initialisation process, to create, add to, or modify any UI\n created by GtkBuilder files." | 240 | false | sci-bots/pygtkhelpers | create_ui | 31,599 | |
LDU_FT/OLC-Bioinformatics/sipprverse/link_reads | LDU_FT | [
"<BEGIN>\n## `cmd2list`",
"Executes a command through the operating system and returns the output\n as a list, or on error a string with the standard error.\n EXAMPLE:\n >>> from subprocess import Popen, PIPE\n >>> CMDout2array('ls -l')\n<END>",
"<BEGIN>\n## `print_timers`",
"PRINT EXECUTION TIM... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the link_reads API.
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 link_reads API.
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 folders with relative symlinks to the desired simulated/sampled reads. These folders will contain all
the reads created for each sample, and will be processed with GeneSippr and COWBAT pipelines
:param analysistype: Current analysis type. Will either be 'simulated' or 'sampled' | "Create folders with relative symlinks to the desired simulated/sampled reads. These folders will contain all\n the reads created for each sample, and will be processed with GeneSippr and COWBAT pipelines\n :param analysistype: Current analysis type. Will either be 'simulated' or 'sampled'" | 255 | false | OLC-Bioinformatics/sipprverse | link_reads | 31,600 | |
LDU_FT/lukaszb/monolith/get_commands | LDU_FT | [
"<BEGIN>\n## `import_class`",
"Returns class from the given path.",
" For example, in order to get class located at\n ``mypackage.subpackage.MyClass``:",
" try:\n hgrepo = import_class('mypackage.subpackage.MyClass')\n except ImportError:\n # hadle error\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_commands API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_commands API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns commands stored in the registry (sorted by name). | "Returns commands stored in the registry (sorted by name)." | 23 | false | lukaszb/monolith | get_commands | 31,601 | |
LDU_FT/fossasia/AYABInterface/actions | LDU_FT | [
"<BEGIN>\n## `get`",
"Return the needle positions or None.",
" :param int line_number: the number of the line\n :rtype: list\n :return: the needle positions for a specific line specified by\n :paramref:`line_number` or :obj:`None` if no were given\n<END>",
"<BEGIN>\n## `get_bytes... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the actions API.
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 actions API.
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... | A list of actions to perform.
:return: a list of :class:`AYABInterface.actions.Action` | "A list of actions to perform.\n\n :return: a list of :class:`AYABInterface.actions.Action`" | 79 | false | fossasia/AYABInterface | actions | 31,602 | |
LDU_FT/MLAB-project/pymlab/read_i2c_block_data | LDU_FT | [
"<BEGIN>\n## `Move`",
"Move some distance units from current position\n<END>",
"<BEGIN>\n## `SPI_write_byte`",
"Writes a data to a SPI device selected by chipselect bit.\n<END>",
"<BEGIN>\n## `SPI_write`",
"Writes data to SPI device selected by chipselect bit.\n<END>",
"<BEGIN>\n## `GPIO_read`",
"Read... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_i2c_block_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_i2c_block_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | I2C block transactions do not limit the number of bytes transferred
but the SMBus layer places a limit of 32 bytes.
I2C Block Read: i2c_smbus_read_i2c_block_data()
================================================
This command reads a block of bytes from a device, from a
design... | "I2C block transactions do not limit the number of bytes transferred\n but the SMBus layer places a limit of 32 bytes.\n\n I2C Block Read: i2c_smbus_read_i2c_block_data()\n ================================================\n\n This command reads a block of bytes from a device, from a\n ... | 99 | false | MLAB-project/pymlab | read_i2c_block_data | 31,603 | |
LDU_FT/sci-bots/mpm/install_dependencies | LDU_FT | [
"<BEGIN>\n## `update_plugin_dialog`",
"Launch dialog to track status of update of specified plugin package.",
" .. versionadded:: 0.19",
" .. versionchanged:: 0.20\n Add support for updating multiple packages (update all **installed**\n plugins by default).",
" Add :data:`update_a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install_dependencies 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 install_dependencies API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Run ``on_plugin_install`` script for each plugin directory found in
specified plugins directory.
Parameters
----------
plugins_directory : str
File system path to directory containing zero or more plugin
subdirectories.
ostream : file-like
Output stream for status messages (... | "Run ``on_plugin_install`` script for each plugin directory found in\n specified plugins directory.\n\n Parameters\n ----------\n plugins_directory : str\n File system path to directory containing zero or more plugin\n subdirectories.\n ostream : file-like\n Output stream for status ... | 181 | false | sci-bots/mpm | install_dependencies | 31,604 | |
LDU_FT/taskcluster/taskcluster-client.py/getHealth | LDU_FT | [
"<BEGIN>\n## `ping`",
"Ping Server",
" Respond without doing anything.\n This endpoint is used to check that the service is up.",
" This method is ``stable``\n<END>",
"<BEGIN>\n## `githubWebHookConsumer`",
"Consume GitHub WebHook",
" Capture a GitHub event and publish it via ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getHealth API.
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 getHealth API.
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... | Get EC2 account health metrics
Give some basic stats on the health of our EC2 account
This method gives output: ``v1/health.json#``
This method is ``experimental`` | "Get EC2 account health metrics\n\n Give some basic stats on the health of our EC2 account\n\n This method gives output: ``v1/health.json#``\n\n This method is ``experimental``" | 997 | false | taskcluster/taskcluster-client.py | getHealth | 31,605 | |
LDU_FT/martinpitt/python-dbusmock/AddProperty | LDU_FT | [
"<BEGIN>\n## `AddAdapter`",
"Convenience method to add a Bluetooth adapter",
" You have to specify a device name which must be a valid part of an object\n path, e. g. \"hci0\", and an arbitrary system name (pretty hostname).",
" Returns the new object path.\n<END>",
"<BEGIN>\n## `AddDevice`",
"Co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the AddProperty API.
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 AddProperty API.
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... | Add property to this object
interface: D-Bus interface to add this to. For convenience you can
specify '' here to add the property to the object's main
interface (as specified on construction).
name: Property name.
value: Property value. | "Add property to this object\n\n interface: D-Bus interface to add this to. For convenience you can\n specify '' here to add the property to the object's main\n interface (as specified on construction).\n name: Property name.\n value: Property value." | 188 | false | martinpitt/python-dbusmock | AddProperty | 31,606 | |
LDU_FT/OLC-Bioinformatics/ConFindr/base_dict_to_string | LDU_FT | [
"<BEGIN>\n## `bbduk_trim`",
"Wrapper for using bbduk to quality trim reads. Contains arguments used in OLC Assembly Pipeline, but these can\n be overwritten by using keyword parameters.\n :param forward_in: Forward reads you want to quality trim.\n :param returncmd: If set to true, function will return t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the base_dict_to_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the base_dict_to_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.
T... | Converts a dictionary to a string. {'C': 12, 'A':4} gets converted to C:12;A:4
:param base_dict: Dictionary of bases and counts created by find_if_multibase
:return: String representing that dictionary. | "Converts a dictionary to a string. {'C': 12, 'A':4} gets converted to C:12;A:4\n :param base_dict: Dictionary of bases and counts created by find_if_multibase\n :return: String representing that dictionary." | 56 | false | OLC-Bioinformatics/ConFindr | base_dict_to_string | 31,607 | |
LDU_FT/kmadac/bitstamp-python-client/cancel_order | LDU_FT | [
"<BEGIN>\n## `_construct_url`",
"Adds the orderbook to the url if base and quote are specified.\n<END>",
"<BEGIN>\n## `_request`",
"Make a generic request, adding in any proxy defined by the instance.",
" Raises a ``requests.HTTPError`` if the response status isn't 200, and\n raises a :class:`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cancel_order API.
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 cancel_order API.
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... | Cancel the order specified by order_id.
Version 1 (default for backwards compatibility reasons):
Returns True if order was successfully canceled, otherwise
raise a BitstampError.
Version 2:
Returns dictionary of the canceled order, containing the keys:
id, type, price, ... | "Cancel the order specified by order_id.\n\n Version 1 (default for backwards compatibility reasons):\n Returns True if order was successfully canceled, otherwise\n raise a BitstampError.\n\n Version 2:\n Returns dictionary of the canceled order, containing the keys:\n id, type... | 47 | false | kmadac/bitstamp-python-client | cancel_order | 31,608 | |
LDU_FT/UCSBarchlab/PyRTL/inspect | LDU_FT | [
"<BEGIN>\n## `_initialize`",
"Sets the wire, register, and memory values to default or as specified.",
" :param register_value_map: is a map of {Register: value}.\n :param memory_value_map: is a map of maps {Memory: {address: Value}}.\n :param default_value: is the value that all unspecifie... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inspect API.
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 inspect API.
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 value of a wirevector in the last simulation cycle.
:param w: the name of the WireVector to inspect
(passing in a WireVector instead of a name is deprecated)
:return: value of w in the current step of simulation
Will throw KeyError if w does not exist in the simulation. | "Get the value of a wirevector in the last simulation cycle.\n\n :param w: the name of the WireVector to inspect\n (passing in a WireVector instead of a name is deprecated)\n :return: value of w in the current step of simulation\n\n Will throw KeyError if w does not exist in the simulati... | 416 | false | UCSBarchlab/PyRTL | inspect | 31,609 | |
LDU_FT/idlesign/uwsgiconf/set_on_exit_params | LDU_FT | [
"<BEGIN>\n## `set_exit_events`",
"Do exit on certain events",
" :param bool no_workers: Shutdown uWSGI when no workers are running.",
" :param bool idle: Shutdown uWSGI when idle.",
" :param bool reload: Force exit even if a reload is requested.",
" :param bool sig_term: Exit o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_on_exit_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_on_exit_params 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... | Set params related to process exit procedure.
:param bool skip_hooks: Skip ``EXIT`` phase hook.
.. note:: Ignored by the master.
:param bool skip_teardown: Allows skipping teardown (finalization) processes for some plugins.
.. note:: Ignored by the master.
Suppor... | "Set params related to process exit procedure.\n\n :param bool skip_hooks: Skip ``EXIT`` phase hook.\n\n .. note:: Ignored by the master.\n\n :param bool skip_teardown: Allows skipping teardown (finalization) processes for some plugins.\n\n .. note:: Ignored by the master.\n\n ... | 1,094 | true | idlesign/uwsgiconf | set_on_exit_params | 31,610 | |
LDU_FT/bjmorgan/lattice_mc/time_to_jump | LDU_FT | [
"<BEGIN>\n## `collective_dr_squared`",
"Squared sum of total displacements for these atoms.",
" Args:\n None",
" Returns:\n (Float): The square of the summed total displacements for these atoms.\n<END>",
"<BEGIN>\n## `occupations`",
"Number of these atoms occupying a sp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the time_to_jump API.
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 time_to_jump API.
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... | The timestep until the next jump.
Args:
None
Returns:
(Float): The timestep until the next jump. | "The timestep until the next jump.\n\n Args:\n None\n\n Returns:\n (Float): The timestep until the next jump." | 213 | false | bjmorgan/lattice_mc | time_to_jump | 31,611 | |
LDU_FT/brainiak/brainiak/_set_SNR_grids | LDU_FT | [
"<BEGIN>\n## `_generate_feature`",
"Generate features corresponding to signal",
" Generate a single feature, that can be inserted into the signal volume.\n A feature is a region of activation with a specific shape such as cube\n or ring",
" Parameters\n ----------",
" feature_type : str\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_SNR_grids API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_SNR_grids API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Set the grids and weights for SNR used in numerical integration
of SNR parameters. | "Set the grids and weights for SNR used in numerical integration\n of SNR parameters." | 1,513 | true | brainiak/brainiak | _set_SNR_grids | 31,612 | |
LDU_FT/note35/sinon/__get_return_value_no_withargs | LDU_FT | [
"<BEGIN>\n## `__remove_args_first_item`",
"# Todo: finding a better solution\n This is a dirty solution\n Because the first argument of inspectors' args will be itself\n For current implementation, it should be ignore\n<END>",
"<BEGIN>\n## `lastCall`",
"Return: SpyCall object for this spy... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __get_return_value_no_withargs 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_return_value_no_withargs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Pre-conditions:
(1) The user has created a stub and specified the stub behaviour
(2) The user has called the stub function with the specified "args" and "kwargs"
(3) No 'withArgs' conditions were applicable in this case
Args:
args: tuple, the arguments inputed by the... | "Pre-conditions:\n (1) The user has created a stub and specified the stub behaviour\n (2) The user has called the stub function with the specified \"args\" and \"kwargs\"\n (3) No 'withArgs' conditions were applicable in this case\n Args:\n args: tuple, the arguments inpu... | 162 | false | note35/sinon | __get_return_value_no_withargs | 31,613 | |
LDU_FT/ForensicArtifacts/artifacts/Main | LDU_FT | [
"<BEGIN>\n## `_PrintDictAsTable`",
"Prints a table of artifact definitions.",
" Args:\n src_dict (dict[str, ArtifactDefinition]): artifact definitions by name.\n<END>",
"<BEGIN>\n## `PrintStats`",
"Build stats and print in MarkDown format.\n<END>",
"<BEGIN>\n## `AsDict`",
"Represents a source ty... | 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... | The main program function.
Returns:
bool: True if successful or False if not. | "The main program function.\n\n Returns:\n bool: True if successful or False if not." | 160 | false | ForensicArtifacts/artifacts | Main | 31,614 | |
LDU_FT/laginha/django-mobileesp/detectTierTablet | LDU_FT | [
"<BEGIN>\n## `detectIphone`",
"Return detection of an iPhone",
" Detects if the current device is an iPhone.\n<END>",
"<BEGIN>\n## `detectIphoneOrIpod`",
"Return detection of an iPhone or iPod Touch",
" Detects if the current device is an iPhone or iPod Touch.\n<END>",
"<BEGIN>\n## `detect... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detectTierTablet API.
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 detectTierTablet API.
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 detection of any device in the Tablet Tier
The quick way to detect for a tier of devices.
This method detects for the new generation of
HTML 5 capable, larger screen tablets.
Includes iPad, Android (e.g., Xoom), BB Playbook, WebOS, etc. | "Return detection of any device in the Tablet Tier\n\n The quick way to detect for a tier of devices.\n This method detects for the new generation of\n HTML 5 capable, larger screen tablets.\n Includes iPad, Android (e.g., Xoom), BB Playbook, WebOS, etc." | 111 | false | laginha/django-mobileesp | detectTierTablet | 31,615 | |
LDU_FT/ethpm/py-ethpm/get_contract_instance | LDU_FT | [
"<BEGIN>\n## `fetch_uri_contents`",
"Return content-addressed URI stored at registry URI.\n<END>",
"<BEGIN>\n## `pin_assets`",
"Return a dict containing the IPFS hash, file name, and size of a file.\n<END>",
"<BEGIN>\n## `create_content_addressed_github_uri`",
"Returns a content-addressed Github \"git_url... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_contract_instance 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_contract_instance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Will return a ``Web3.contract`` instance generated from the contract type data available
in ``Package.manifest`` and the provided ``address``. The provided ``address`` must be
valid on the connected chain available through ``Package.w3``. | "Will return a ``Web3.contract`` instance generated from the contract type data available\n in ``Package.manifest`` and the provided ``address``. The provided ``address`` must be\n valid on the connected chain available through ``Package.w3``." | 133 | false | ethpm/py-ethpm | get_contract_instance | 31,616 | |
LDU_FT/seung-lab/cloud-volume/exists | LDU_FT | [
"<BEGIN>\n## `decode_kempressed`",
"subvol not bytestring since numpy conversion is done inside fpzip extension.\n<END>",
"<BEGIN>\n## `bbox2array`",
"Convenince method for creating a \n shared memory numpy array based on a CloudVolume\n and Bbox. c.f. sharedmemory.ndarray for information\n on the optional... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exists API.
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 exists API.
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 ... | Produce a summary of whether all the requested chunks exist.
bbox_or_slices: accepts either a Bbox or a tuple of slices representing
the requested volume.
Returns: { chunk_file_name: boolean, ... } | "Produce a summary of whether all the requested chunks exist.\n\n bbox_or_slices: accepts either a Bbox or a tuple of slices representing\n the requested volume. \n Returns: { chunk_file_name: boolean, ... }" | 237 | false | seung-lab/cloud-volume | exists | 31,617 | |
LDU_FT/PyMLGame/pymlgame/get_events | LDU_FT | [
"<BEGIN>\n## `update`",
"Update the screens contents in every loop.\n<END>",
"<BEGIN>\n## `render`",
"Send the current screen content to Mate Light.\n<END>",
"<BEGIN>\n## `gameloop`",
"A game loop that circles through the methods.\n<END>",
"<BEGIN>\n## `init`",
"Initialize PyMLGame. This creates a con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_events API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_events API.
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... | Get all events since the last time you asked for them. You can define a maximum which is 10 by default.
:param maximum: Maximum number of events
:type maximum: int
:return: List of events
:rtype: list | "Get all events since the last time you asked for them. You can define a maximum which is 10 by default.\n\n :param maximum: Maximum number of events\n :type maximum: int\n :return: List of events\n :rtype: list" | 63 | false | PyMLGame/pymlgame | get_events | 31,618 | |
LDU_FT/twisted/mantissa/createPort | LDU_FT | [
"<BEGIN>\n## `createUser`",
"Create a new, blank user account with the given name and domain and, if\n specified, with the given password.",
" @type localpart: C{unicode}\n @param localpart: The local portion of the username. ie, the\n C{'alice'} in C{'alice@example.com'}.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createPort API.
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 createPort API.
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 new listening port.
@type portNumber: C{int}
@param portNumber: Port number on which to listen.
@type ssl: C{bool}
@param ssl: Indicates whether this should be an SSL port or not.
@type certPath: C{str}
@param ssl: If C{ssl} is true, a path to a certificate fi... | "Create a new listening port.\n\n @type portNumber: C{int}\n @param portNumber: Port number on which to listen.\n\n @type ssl: C{bool}\n @param ssl: Indicates whether this should be an SSL port or not.\n\n @type certPath: C{str}\n @param ssl: If C{ssl} is true, a path to a cert... | 1,120 | true | twisted/mantissa | createPort | 31,619 | |
LDU_FT/jjjake/internetarchive/modify_metadata | LDU_FT | [
"<BEGIN>\n## `prepare_metadata`",
"Prepare a metadata dict for an\n :class:`S3PreparedRequest <S3PreparedRequest>` or\n :class:`MetadataPreparedRequest <MetadataPreparedRequest>` object.",
" :type metadata: dict\n :param metadata: The metadata dict to be prepared.",
" :type source_metadata: dic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the modify_metadata API.
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 modify_metadata API.
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... | Modify the metadata of an existing item on Archive.org.
Note: The Metadata Write API does not yet comply with the
latest Json-Patch standard. It currently complies with `version 02
<https://tools.ietf.org/html/draft-ietf-appsawg-json-patch-02>`__.
:type metadata: dict
:param me... | "Modify the metadata of an existing item on Archive.org.\n\n Note: The Metadata Write API does not yet comply with the\n latest Json-Patch standard. It currently complies with `version 02\n <https://tools.ietf.org/html/draft-ietf-appsawg-json-patch-02>`__.\n\n :type metadata: dict\n :... | 281 | false | jjjake/internetarchive | modify_metadata | 31,620 | |
LDU_FT/hozn/stravalib/explore_segments | LDU_FT | [
"<BEGIN>\n## `logged_in`",
"Method called by Strava (redirect) that includes parameters.\n - state\n - code\n - error\n<END>",
"<BEGIN>\n## `unmarshal`",
"Convert the value from parsed JSON structure to native python representation.",
" By default this will leave the value as-is since the JS... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the explore_segments API.
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 explore_segments API.
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 an array of up to 10 segments.
http://strava.github.io/api/v3/segments/#explore
:param bounds: list of bounding box corners lat/lon [sw.lat, sw.lng, ne.lat, ne.lng] (south,west,north,east)
:type bounds: list of 4 floats or list of 2 (lat,lon) tuples
:param activity_type: (opti... | "Returns an array of up to 10 segments.\n\n http://strava.github.io/api/v3/segments/#explore\n\n :param bounds: list of bounding box corners lat/lon [sw.lat, sw.lng, ne.lat, ne.lng] (south,west,north,east)\n :type bounds: list of 4 floats or list of 2 (lat,lon) tuples\n\n :param activity_typ... | 367 | false | hozn/stravalib | explore_segments | 31,621 | |
LDU_FT/genomoncology/related/IntegerField | LDU_FT | [
"<BEGIN>\n## `init_default`",
"Returns optional default if field is not required and\n default was not provided.",
" :param bool required: whether the field is required in a given model.\n :param default: default provided by creator of field.\n :param optional_default: default for the data type if n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the IntegerField API.
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 IntegerField API.
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... | Create new int field on a model.
:param default: any integer value
:param bool required: whether or not the object is invalid if not provided.
:param bool repr: include this field should appear in object's repr.
:param bool cmp: include this field in generated comparison.
:param string key: overrid... | "Create new int field on a model.\n\n :param default: any integer value\n :param bool required: whether or not the object is invalid if not provided.\n :param bool repr: include this field should appear in object's repr.\n :param bool cmp: include this field in generated comparison.\n :param string key: ... | 95 | false | genomoncology/related | IntegerField | 31,622 | |
LDU_FT/CGATOxford/UMI-tools/openFile | LDU_FT | [
"<BEGIN>\n## `remove_umis`",
"removes the specified nodes from the cluster and returns\n the remaining nodes\n<END>",
"<BEGIN>\n## `get_substr_slices`",
"Create slices to split a UMI into approximately equal size substrings\n Returns a list of tuples that can be passed to slice function\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the openFile API.
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 openFile API.
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... | open file in *filename* with mode *mode*.
If *create* is set, the directory containing filename
will be created if it does not exist.
gzip - compressed files are recognized by the
suffix ``.gz`` and opened transparently.
Note that there are differences in the file
like objects returned, for e... | "open file in *filename* with mode *mode*.\n\n If *create* is set, the directory containing filename\n will be created if it does not exist.\n\n gzip - compressed files are recognized by the\n suffix ``.gz`` and opened transparently.\n\n Note that there are differences in the file\n like objects retur... | 165 | false | CGATOxford/UMI-tools | openFile | 31,623 | |
LDU_FT/selenol/selenol-python/get_object_from_content | LDU_FT | [
"<BEGIN>\n## `run`",
"Run the service in infinitive loop processing requests.\n<END>",
"<BEGIN>\n## `on_message`",
"Message from the backend has been received.",
" :param message: Message string received.\n<END>",
"<BEGIN>\n## `event`",
"Create an event in the backend to be triggered given a circ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object_from_content API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object_from_content API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Get an object from the database given an entity and the content key.
:param entity: Class type of the object to retrieve.
:param key: Array that defines the path of the value inside the message. | "Get an object from the database given an entity and the content key.\n\n :param entity: Class type of the object to retrieve.\n :param key: Array that defines the path of the value inside the message." | 33 | false | selenol/selenol-python | get_object_from_content | 31,624 | |
LDU_FT/gtaylor/python-colormath/RGB_to_HSL | LDU_FT | [
"<BEGIN>\n## `get_value_tuple`",
"Returns a tuple of the color's values (in order). For example,\n an LabColor object will return (lab_l, lab_a, lab_b), where each\n member of the tuple is the float value for said variable.\n<END>",
"<BEGIN>\n## `set_observer`",
"Validates and sets the color's o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the RGB_to_HSL API.
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 RGB_to_HSL API.
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... | Converts from RGB to HSL.
H values are in degrees and are 0 to 360.
S values are a percentage, 0.0 to 1.0.
L values are a percentage, 0.0 to 1.0. | "Converts from RGB to HSL.\n\n H values are in degrees and are 0 to 360.\n S values are a percentage, 0.0 to 1.0.\n L values are a percentage, 0.0 to 1.0." | 133 | false | gtaylor/python-colormath | RGB_to_HSL | 31,625 | |
LDU_FT/CZ-NIC/yangson/_child_inst_names | LDU_FT | [
"<BEGIN>\n## `schema_root`",
"Return the root node of the receiver's schema.\n<END>",
"<BEGIN>\n## `iname`",
"Return the instance name corresponding to the receiver.\n<END>",
"<BEGIN>\n## `_node_digest`",
"Return dictionary of receiver's properties suitable for clients.\n<END>",
"<BEGIN>\n## `_iname2qna... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _child_inst_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _child_inst_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... | Return the set of instance names under the receiver. | "Return the set of instance names under the receiver." | 352 | false | CZ-NIC/yangson | _child_inst_names | 31,626 | |
LDU_FT/google/python-adb/MakeSubparser | LDU_FT | [
"<BEGIN>\n## `_get_service_connection`",
"Based on the service, get the AdbConnection for that service or create one if it doesnt exist",
" :param service:\n :param service_command: Additional service parameters to append\n :param create: If False, dont create a connection if it does not ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the MakeSubparser API.
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 MakeSubparser API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns an argparse subparser to create a 'subcommand' to adb. | "Returns an argparse subparser to create a 'subcommand' to adb." | 174 | false | google/python-adb | MakeSubparser | 31,627 | |
LDU_FT/Richienb/quilt/userinput | LDU_FT | [
"<BEGIN>\n## `userinput`",
"Get the input of the user via a universally secure method.",
" :type prompttext: string\n :param prompttext: The text to display while receiving the data.",
" :type times: integer\n :param times: The amount of times to ask the user. If value is not 1, a list will be ret... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the userinput API.
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 userinput API.
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... | Get the input of the user via a universally secure method.
:type prompttext: string
:param prompttext: The text to display while receiving the data.
:type times: integer
:param times: The amount of times to ask the user. If value is not 1, a list will be returned. Default is 1.
:return: What the ... | "Get the input of the user via a universally secure method.\n\n :type prompttext: string\n :param prompttext: The text to display while receiving the data.\n\n :type times: integer\n :param times: The amount of times to ask the user. If value is not 1, a list will be returned. Default is 1.\n\n :return: ... | 210 | false | Richienb/quilt | userinput | 31,628 | |
LDU_FT/ThomasChiroux/attowiki/view_page | LDU_FT | [
"<BEGIN>\n## `_delta_dir`",
"returns the relative path of the current directory to the git\n repository.\n This path will be added the 'filename' path to find the file.\n It current_dir is the git root, this function returns an empty string.",
" Keyword Arguments:\n <none>",
" Returns:\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the view_page API.
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 view_page API.
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... | Serve a page name.
.. note:: this is a bottle view
* if the view is called with the POST method, write the new page
content to the file, commit the modification and then display the
html rendering of the restructured text file
* if the view is called with the GET method, directly display the ... | "Serve a page name.\n\n .. note:: this is a bottle view\n\n * if the view is called with the POST method, write the new page\n content to the file, commit the modification and then display the\n html rendering of the restructured text file\n\n * if the view is called with the GET method, directly dis... | 102 | false | ThomasChiroux/attowiki | view_page | 31,629 | |
LDU_FT/Tygs/ww/at_index | LDU_FT | [
"<BEGIN>\n## `join`",
"Join values and convert to string",
" Example:",
" >>> from ww import l\n >>> lst = l('012')\n >>> lst.join(',')\n u'0,1,2'\n >>> lst.join(',', template=\"{}#\")\n u'0#,1#,2#'\n >>> string = lst.join(','... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the at_index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the at_index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return the item at the index of this iterable or raises IndexError.
WARNING: this will consume generators.
Negative indices are allowed but be aware they will cause n items to
be held in memory, where n = abs(index) | "Return the item at the index of this iterable or raises IndexError.\n\n WARNING: this will consume generators.\n\n Negative indices are allowed but be aware they will cause n items to\n be held in memory, where n = abs(index)" | 104 | false | Tygs/ww | at_index | 31,630 | |
LDU_FT/jkitzes/macroeco/comm_grid | LDU_FT | [
"<BEGIN>\n## `get_theme_dir`",
"Returns path to directory containing this package's theme.",
" This is designed to be used when setting the ``html_theme_path``\n option within Sphinx's ``conf.py`` file.\n<END>",
"<BEGIN>\n## `_geom_solve_p_from_mu`",
"For the geom_uptrunc, given mu and b, return p.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the comm_grid API.
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 comm_grid API.
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... | Calculates commonality as a function of distance for a gridded patch
Parameters
----------
{0}
divs : str
Description of how to divide x_col and y_col. Unlike SAR and EAR, only
one division can be given at a time. See notes.
metric : str
One of Sorensen or Jaccard, giving th... | "Calculates commonality as a function of distance for a gridded patch\n\n Parameters\n ----------\n {0}\n divs : str\n Description of how to divide x_col and y_col. Unlike SAR and EAR, only\n one division can be given at a time. See notes.\n metric : str\n One of Sorensen or Jaccard,... | 337 | false | jkitzes/macroeco | comm_grid | 31,631 | |
LDU_FT/jasonfharris/sysexecute/execute | LDU_FT | [
"<BEGIN>\n## `filterKWArgsForFunc`",
"Yield a reduced set of kwargs of only the valid keyword arguments for the function / constructor f\n<END>",
"<BEGIN>\n## `prettyPrintDictionary`",
"Pretty print a dictionary as simple keys and values\n<END>",
"<BEGIN>\n## `flatten`",
"flatten([[\"a\",\"btr\"],\"b\", [... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
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 execute API.
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... | execute the passed in command in the shell | "execute the passed in command in the shell" | 10 | false | jasonfharris/sysexecute | execute | 31,632 | |
LDU_FT/steffann/pylisp/from_bytes | LDU_FT | [
"<BEGIN>\n## `from_bytes`",
"Look at the type of the message, instantiate the correct class and\n let it parse the message.\n<END>",
"<BEGIN>\n## `sanitize`",
"Check if the current settings conform to the LISP specifications and\n fix them where possible.\n<END>",
"<BEGIN>\n## `calculate_authe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_bytes API.
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 from_bytes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | r'''
Parse the given packet and update properties accordingly
>>> data_hex = ('13000001ae92b5574f849cd00001ac10'
... '1f0300015cfe1cbd00200001ac101f01')
>>> data = data_hex.decode('hex')
>>> message = ControlMessage.from_bytes(data)
>>> message.message_type
... | "r'''\n Parse the given packet and update properties accordingly\n\n >>> data_hex = ('13000001ae92b5574f849cd00001ac10'\n ... '1f0300015cfe1cbd00200001ac101f01')\n >>> data = data_hex.decode('hex')\n >>> message = ControlMessage.from_bytes(data)\n >>> message.messag... | 85 | false | steffann/pylisp | from_bytes | 31,633 | |
LDU_FT/thespacedoctor/tastic/add_project | LDU_FT | [
"<BEGIN>\n## `projects`",
"*All child projects of this taskpaper object*",
" **Usage:**",
" Given a taskpaper document object (`doc`), to get a list of the project objects found within the document use:",
" .. code-block:: python",
" docProjects = doc.projects",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_project API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_project API.
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... | *Add a project to this taskpaper object*
**Key Arguments:**
- ``title`` -- the title for the project.
- ``tags`` -- tag string (*"@one @two(data)"*) or list of tags (*['one', 'two(data)']*)
- ``oldContent`` -- the old content to be replaced in parent object (user sould not n... | "*Add a project to this taskpaper object*\n\n **Key Arguments:**\n - ``title`` -- the title for the project.\n - ``tags`` -- tag string (*\"@one @two(data)\"*) or list of tags (*['one', 'two(data)']*)\n - ``oldContent`` -- the old content to be replaced in parent object (user sou... | 285 | false | thespacedoctor/tastic | add_project | 31,634 | |
LDU_FT/ascribe/transactions/sign_transaction | LDU_FT | [
"<BEGIN>\n## `_convert_time`",
"Convert a string representation of the time (as returned by blockr.io api) into unix\n timestamp",
" :param time_utc_str: string representation of the time\n :return: unix timestamp\n<END>",
"<BEGIN>\n## `get_block_raw`",
"Args:\n block: block ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign_transaction API.
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 sign_transaction API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Args:
tx: hex transaction to sign
master_password: master password for BIP32 wallets. Can be either a
master_secret or a wif
path (Optional[str]): optional path to the leaf address of the
BIP32 wallet. This allows us to retrieve private key for the
... | "Args:\n tx: hex transaction to sign\n master_password: master password for BIP32 wallets. Can be either a\n master_secret or a wif\n path (Optional[str]): optional path to the leaf address of the\n BIP32 wallet. This allows us to retrieve private key for t... | 28 | false | ascribe/transactions | sign_transaction | 31,635 | |
LDU_FT/amigocloud/python-amigocloud/geocode_addresses | LDU_FT | [
"<BEGIN>\n## `upload_file`",
"Generic method to upload files to AmigoCloud. Can be used for different\n API endpoints.\n `file_obj` could be a file-like object or a filepath.\n If the size of the file is greater than MAX_SIZE_SIMPLE_UPLOAD (8MB)\n `chunked_upload_url` will be used, oth... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geocode_addresses API.
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 geocode_addresses API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Geocode addresses in a dataset. The dataset must have a string field
with the addresses to geocode and a geometry field (points) for the
geocoding results.
:param project_id: Must be a string.
:param dataset_id: Must be a string.
:param address_field: Name of the address field in... | "Geocode addresses in a dataset. The dataset must have a string field\n with the addresses to geocode and a geometry field (points) for the\n geocoding results.\n :param project_id: Must be a string.\n :param dataset_id: Must be a string.\n :param address_field: Name of the address fi... | 10 | false | amigocloud/python-amigocloud | geocode_addresses | 31,636 | |
LDU_FT/restran/mountains/to_digital | LDU_FT | [
"<BEGIN>\n## `set_dict_none_default`",
"对字典中为None的值,重新设置默认值\n :param dict_item:\n :param default_value:\n :return:\n<END>",
"<BEGIN>\n## `auto_model_name_recognize`",
"自动将 site-user 识别成 SiteUser\n :param model_name:\n :return:\n<END>",
"<BEGIN>\n## `model_to_select_list`",
"只选择 id 和 name,用来... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_digital API.
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 to_digital API.
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... | 进制转换,从10进制转到指定机制
:param d:
:param num:
:return: | "进制转换,从10进制转到指定机制\n :param d:\n :param num:\n :return:" | 81 | false | restran/mountains | to_digital | 31,637 | |
LDU_FT/psphere-project/psphere/get_search_filter_spec | LDU_FT | [
"<BEGIN>\n## `get_options`",
"Get the options that have been set.",
" Called after the user has added all their own options\n and is ready to use the variables.\n<END>",
"<BEGIN>\n## `_get_dataobject`",
"This function only gets called if the decorated property\n doesn't have a value in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_search_filter_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.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_search_filter_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.... | Build a PropertyFilterSpec capable of full inventory traversal.
By specifying all valid traversal specs we are creating a PFS that
can recursively select any object under the given entity.
:param begin_entity: The place in the MOB to start the search.
:type begin_entity: Manage... | "Build a PropertyFilterSpec capable of full inventory traversal.\n \n By specifying all valid traversal specs we are creating a PFS that\n can recursively select any object under the given entity.\n\n :param begin_entity: The place in the MOB to start the search.\n :type begin_entity:... | 82 | false | psphere-project/psphere | get_search_filter_spec | 31,638 | |
LDU_FT/python-openxml/python-docx/_get_matching | LDU_FT | [
"<BEGIN>\n## `default_cx`",
"Native width of this image, calculated from its width in pixels and\n horizontal dots per inch (dpi).\n<END>",
"<BEGIN>\n## `default_cy`",
"Native height of this image, calculated from its height in pixels and\n vertical dots per inch (dpi).\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_matching API.
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_matching API.
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... | Return relationship of matching *reltype*, *target*, and
*is_external* from collection, or None if not found. | "Return relationship of matching *reltype*, *target*, and\n *is_external* from collection, or None if not found." | 626 | false | python-openxml/python-docx | _get_matching | 31,639 | |
LDU_FT/pixelogik/NearPy/clean_buckets | LDU_FT | [
"<BEGIN>\n## `store_vector`",
"Stores vector and JSON-serializable data in bucket with specified key.\n<END>",
"<BEGIN>\n## `store_many_vectors`",
"Store a batch of vectors.\n Stores vector and JSON-serializable data in bucket with specified key.\n<END>",
"<BEGIN>\n## `delete_vector`",
"Deletes vec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_buckets API.
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 clean_buckets API.
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... | Removes all buckets and their content for specified hash. | "Removes all buckets and their content for specified hash." | 103 | false | pixelogik/NearPy | clean_buckets | 31,640 | |
LDU_FT/diamondman/proteusisc/_get_adv_trans_stats | LDU_FT | [
"<BEGIN>\n## `_get_adv_trans_stats`",
"Utility function to fetch the transfer statistics for the last\n advanced transfer. Checking the stats appears to sync the\n controller. For details on the advanced transfer please refer\n to the documentation at\n http://diamondman.github.io/Adap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_adv_trans_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_adv_trans_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Utility function to fetch the transfer statistics for the last
advanced transfer. Checking the stats appears to sync the
controller. For details on the advanced transfer please refer
to the documentation at
http://diamondman.github.io/Adapt/cable_digilent_adept.html#bulk-requests | "Utility function to fetch the transfer statistics for the last\n advanced transfer. Checking the stats appears to sync the\n controller. For details on the advanced transfer please refer\n to the documentation at\n http://diamondman.github.io/Adapt/cable_digilent_adept.html#bulk-requests" | 114 | false | diamondman/proteusisc | _get_adv_trans_stats | 31,641 | |
LDU_FT/klmitch/framer/to_frame | LDU_FT | [
"<BEGIN>\n## `factory`",
"Generates and returns a callable suitable for passing as the\n ``protocol_factory`` parameter of the ``create_connection()``\n or ``create_server()`` loop methods. This class method\n performs some sanity checks on the arguments, and is preferred\n over using... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_frame API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_frame API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Extract a single frame from the data buffer. The consumed
data should be removed from the buffer. If no complete frame
can be read, must raise a ``NoFrames`` exception.
:param data: A ``bytearray`` instance containing the data so
far read.
:param state: An instanc... | "Extract a single frame from the data buffer. The consumed\n data should be removed from the buffer. If no complete frame\n can be read, must raise a ``NoFrames`` exception.\n\n :param data: A ``bytearray`` instance containing the data so\n far read.\n :param state: An ... | 77 | false | klmitch/framer | to_frame | 31,642 | |
LDU_FT/rackerlabs/rackspace-python-neutronclient/_merge_args | LDU_FT | [
"<BEGIN>\n## `_extract_service_catalog`",
"Set the client's service catalog from the response data.\n<END>",
"<BEGIN>\n## `exception_handler_v20`",
"Exception handler for API v2.0 client.",
" This routine generates the appropriate Neutron exception according to\n the contents of the response body.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _merge_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _merge_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Merge arguments from _extra_values into parsed_args.
If an argument value are provided in both and it is a list,
the values in _extra_values will be merged into parsed_args.
@param parsed_args: the parsed args from known options
@param _extra_values: the other parsed arguments in unknown parts
@pa... | "Merge arguments from _extra_values into parsed_args.\n\n If an argument value are provided in both and it is a list,\n the values in _extra_values will be merged into parsed_args.\n\n @param parsed_args: the parsed args from known options\n @param _extra_values: the other parsed arguments in unknown parts\... | 289 | false | rackerlabs/rackspace-python-neutronclient | _merge_args | 31,643 | |
LDU_FT/davidmogar/cucco/_parse_normalizations | LDU_FT | [
"<BEGIN>\n## `_load_from_file`",
"Load a config file from the given path.",
" Load all normalizations from the config file received as\n argument. It expects to find a YAML file with a list of\n normalizations and arguments under the key 'normalizations'.",
" Args:\n pat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_normalizations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_normalizations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Parse and yield normalizations.
Parse normalizations parameter that yield all normalizations and
arguments found on it.
Args:
normalizations: List of normalizations.
Yields:
A tuple with a parsed normalization. The first item will
contain the normal... | "Parse and yield normalizations.\n\n Parse normalizations parameter that yield all normalizations and\n arguments found on it.\n\n Args:\n normalizations: List of normalizations.\n\n Yields:\n A tuple with a parsed normalization. The first item will\n contain... | 103 | false | davidmogar/cucco | _parse_normalizations | 31,644 | |
LDU_FT/4degrees/clique/is_compatible | LDU_FT | [
"<BEGIN>\n## `assemble`",
"Assemble items in *iterable* into discreet collections.",
" *patterns* may be specified as a list of regular expressions to limit\n the returned collection possibilities. Use this when interested in\n collections that only match specific patterns. Each pattern must contain\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_compatible API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_compatible API.
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... | Return whether *collection* is compatible with this collection.
To be compatible *collection* must have the same head, tail and padding
properties as this collection. | "Return whether *collection* is compatible with this collection.\n\n To be compatible *collection* must have the same head, tail and padding\n properties as this collection." | 51 | false | 4degrees/clique | is_compatible | 31,645 | |
LDU_FT/r4fek/django-cassandra-engine/get_field_kwargs | LDU_FT | [
"<BEGIN>\n## `_discover_models`",
"Return a dict containing a list of cassandra.cqlengine.Model classes\n within installed App.\n<END>",
"<BEGIN>\n## `django_table_names`",
"Returns a list of all table names that have associated cqlengine models\n and are present in settings.INSTALLED_APPS.\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_field_kwargs API.
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_field_kwargs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Creates a default instance of a basic non-relational field. | "Creates a default instance of a basic non-relational field." | 37 | false | r4fek/django-cassandra-engine | get_field_kwargs | 31,646 | |
LDU_FT/Microsoft/ApplicationInsights-Python/type | LDU_FT | [
"<BEGIN>\n## `track_pageview`",
"Send information about the page viewed in the application (a web page for instance).",
" Args:\n name (str). the name of the page that was viewed.\\n\n url (str). the URL of the page that was viewed.\\n\n duration (int). the duration of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | The type property.
Args:
value (string). the property value. | "The type property.\n \n Args:\n value (string). the property value." | 268 | false | Microsoft/ApplicationInsights-Python | type | 31,647 | |
LDU_FT/AguaClara/aguaclara/headloss_exp | LDU_FT | [
"<BEGIN>\n## `density_water`",
"Return the density of water at a given temperature.",
" If given units, the function will automatically convert to Kelvin.\n If not given units, the function will assume Kelvin.\n<END>",
"<BEGIN>\n## `viscosity_kinematic`",
"Return the kinematic viscosity of water at a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the headloss_exp API.
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 headloss_exp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return the minor head loss (due to expansions) in a pipe.
This equation applies to both laminar and turbulent flows. | "Return the minor head loss (due to expansions) in a pipe.\n\n This equation applies to both laminar and turbulent flows." | 554 | false | AguaClara/aguaclara | headloss_exp | 31,648 | |
LDU_FT/pywbem/pywbem/CreateInstance | LDU_FT | [
"<BEGIN>\n## `_hash_item`",
"Hash an item (CIM value, CIM object), by delegating to its hash function.",
" The item may be `None`.\n<END>",
"<BEGIN>\n## `_stacklevel_above_module`",
"Return the stack level (with 1 = caller of this function) of the first\n caller that is not defined in the specified mo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the CreateInstance API.
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 CreateInstance API.
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... | Create an instance in a namespace.
This method performs the CreateInstance operation
(see :term:`DSP0200`). See :ref:`WBEM operations` for a list of all
methods performing such operations.
If the operation succeeds, this method returns.
Otherwise, this method raises an exceptio... | "Create an instance in a namespace.\n\n This method performs the CreateInstance operation\n (see :term:`DSP0200`). See :ref:`WBEM operations` for a list of all\n methods performing such operations.\n\n If the operation succeeds, this method returns.\n Otherwise, this method raises an ... | 3,983 | true | pywbem/pywbem | CreateInstance | 31,649 | |
LDU_FT/tasdikrahman/vocabulary/pronunciation | LDU_FT | [
"<BEGIN>\n## `__return_json`",
"Returns JSON data which is returned by querying the API service\n Called by\n - meaning()\n - synonym()",
" :param url: the complete formatted url which is then queried using requests\n :returns: json content being fed by the API\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pronunciation API.
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 pronunciation API.
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... | Gets the pronunciation from the Wordnik API
:params phrase: word for which pronunciation is to be found
:param format: response structure type. Defaults to: "json"
:returns: returns a list object, False if invalid phrase | "Gets the pronunciation from the Wordnik API\n\n :params phrase: word for which pronunciation is to be found\n :param format: response structure type. Defaults to: \"json\"\n :returns: returns a list object, False if invalid phrase" | 38 | false | tasdikrahman/vocabulary | pronunciation | 31,650 | |
LDU_FT/edx/i18n-tools/push | LDU_FT | [
"<BEGIN>\n## `default_config_filename`",
"Returns the default name of the configuration file.\n<END>",
"<BEGIN>\n## `read_config`",
"Returns data found in config file (as dict), or raises exception if file not found\n<END>",
"<BEGIN>\n## `rtl_langs`",
"Returns the set of translated RTL language codes pres... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the push API.
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 push API.
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... | Push translation source English files to Transifex.
Arguments name specific resources to push. Otherwise, push all the source
files. | "Push translation source English files to Transifex.\n\n Arguments name specific resources to push. Otherwise, push all the source\n files." | 117 | false | edx/i18n-tools | push | 31,651 | |
LDU_FT/pyblish/pyblish-nuke/_remap | LDU_FT | [
"<BEGIN>\n## `setup`",
"Setup integration",
" Registers Pyblish for Maya plug-ins and appends an item to the File-menu",
" Arguments:\n console (bool): Display console with GUI\n port (int, optional): Port from which to start looking for an\n available port to connect with Pybli... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _remap API.
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 _remap API.
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 ... | Prevent accidental assignment of existing members
Arguments:
object (object): Parent of new attribute
name (str): Name of new attribute
value (object): Value of new attribute
safe (bool): Whether or not to guarantee that
the new attribute was not overwritten.
... | "Prevent accidental assignment of existing members\n\n Arguments:\n object (object): Parent of new attribute\n name (str): Name of new attribute\n value (object): Value of new attribute\n safe (bool): Whether or not to guarantee that\n the new attribute was not overwritten.\n ... | 19 | false | pyblish/pyblish-nuke | _remap | 31,652 | |
LDU_FT/camsci/meteor-pi/create_or_update_export_configuration | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect to a host on a given port.\n If the hostname ends with a colon (`:') followed by a number, and\n there is no port specified, that suffix will be stripped off and the\n number interpreted as the port number to use.\n<END>",
"<BEGIN>\n## `waiting`",
"Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_or_update_export_configuration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_or_update_export_configuration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | Create a new file export configuration or update an existing one
:param ExportConfiguration export_config:
a :class:`meteorpi_model.ExportConfiguration` containing the specification for the export. If this
doesn't include a 'config_id' field it will be inserted as a new record in the da... | "Create a new file export configuration or update an existing one\n\n :param ExportConfiguration export_config:\n a :class:`meteorpi_model.ExportConfiguration` containing the specification for the export. If this\n doesn't include a 'config_id' field it will be inserted as a new record in t... | 210 | false | camsci/meteor-pi | create_or_update_export_configuration | 31,653 | |
LDU_FT/pypyr/pypyr-cli/assert_keys_type_value | LDU_FT | [
"<BEGIN>\n## `run_step`",
"Wipe the entire context.",
" Args:\n Context is a dictionary or dictionary-like.\n Does not require any specific keys in context.\n<END>",
"<BEGIN>\n## `get_parsed_context`",
"Parse input context string and returns context as dictionary.\n<END>",
"<BEGIN>\n## `r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assert_keys_type_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.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assert_keys_type_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.... | Assert that keys exist of right type and has a value.
Args:
caller: string. calling function name - this used to construct
error messages
extra_error_text: append to end of error message. This can happily
be None or ''.
*... | "Assert that keys exist of right type and has a value.\n\n Args:\n caller: string. calling function name - this used to construct\n error messages\n extra_error_text: append to end of error message. This can happily\n be None or ''.\n ... | 527 | false | pypyr/pypyr-cli | assert_keys_type_value | 31,654 | |
LDU_FT/zapier/django-rest-hooks/model_deleted | LDU_FT | [
"<BEGIN>\n## `run`",
"target: the url to receive the payload.\n payload: a python primitive data structure\n instance: a possibly null \"trigger\" instance\n hook: the defining Hook object (useful for removing)\n<END>",
"<BEGIN>\n## `model_saved`",
"Automatically triggers \... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the model_deleted API.
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 model_deleted API.
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... | Automatically triggers "deleted" actions. | "Automatically triggers \"deleted\" actions." | 22 | false | zapier/django-rest-hooks | model_deleted | 31,655 | |
LDU_FT/wooga/play-deliver/delete_and_upload_images | LDU_FT | [
"<BEGIN>\n## `list`",
"convinent access method for list.",
" service_name describes the endpoint to call\n the `list` function on.",
" images.list or apks.list.\n<END>",
"<BEGIN>\n## `build_params`",
"build a params dictionary with current editId and packageName.",
" use opti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_and_upload_images 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 delete_and_upload_images API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Delete and upload images with given image_type and language.
Function will stage delete and stage upload all
found images in matching folders. | "Delete and upload images with given image_type and language.\n\n Function will stage delete and stage upload all\n found images in matching folders." | 27 | false | wooga/play-deliver | delete_and_upload_images | 31,656 | |
LDU_FT/KelSolaar/Foundations/ordered_uniqify | LDU_FT | [
"<BEGIN>\n## `list_attributes`",
"Returns the Node attributes names.",
" Usage::",
" >>>\tnode_a = AbstractNode(\"MyNodeA\", attributeA=Attribute(), attributeB=Attribute())\n >>> node_a.list_attributes()\n ['attributeB', 'attributeA']",
" :return: Attributes na... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ordered_uniqify API.
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 ordered_uniqify API.
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... | Uniqifies the given hashable sequence while preserving its order.
:param sequence: Sequence.
:type sequence: object
:return: Uniqified sequence.
:rtype: list | "Uniqifies the given hashable sequence while preserving its order.\n\n :param sequence: Sequence.\n :type sequence: object\n :return: Uniqified sequence.\n :rtype: list" | 629 | false | KelSolaar/Foundations | ordered_uniqify | 31,657 | |
LDU_FT/dcaune/perseus-lib-python-common/realign_image | LDU_FT | [
"<BEGIN>\n## `convert_image_to_rgb_mode`",
"Convert the specified image instance to RGB mode.",
" @param image: a Python Library Image (PIL) instance to convert its\n pixel format to RGB, discarding the alpha channel.",
" @param fill_color: color to be used to fill transparent pixels when\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the realign_image API.
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 realign_image API.
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... | Realign the given image providing the specific horizontal and vertical
shifts, and crop the image providing the maximum horizontal and
vertical shifts of images of a same set so that they all have the same
size.
@param image: an instance of Python Image Library (PIL) image.
@param shift_x: horizo... | "Realign the given image providing the specific horizontal and vertical\n shifts, and crop the image providing the maximum horizontal and\n vertical shifts of images of a same set so that they all have the same\n size.\n\n\n @param image: an instance of Python Image Library (PIL) image.\n\n @param shift_... | 498 | false | dcaune/perseus-lib-python-common | realign_image | 31,658 | |
LDU_FT/awslabs/aws-sam-cli/_gen_success_message | LDU_FT | [
"<BEGIN>\n## `invoke_common_options`",
"Common CLI options shared by \"local invoke\" and \"local start-api\" commands",
" :param f: Callback passed by Click\n<END>",
"<BEGIN>\n## `get_or_default_template_file_name`",
"Default value for the template file name option is more complex than what Click can ha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _gen_success_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _gen_success_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Generate detailed success message for published applications.
Parameters
----------
publish_output : dict
Output from serverlessrepo publish_application
Returns
-------
str
Detailed success message | "Generate detailed success message for published applications.\n\n Parameters\n ----------\n publish_output : dict\n Output from serverlessrepo publish_application\n\n Returns\n -------\n str\n Detailed success message" | 708 | false | awslabs/aws-sam-cli | _gen_success_message | 31,659 | |
LDU_FT/Damgaard/PyImgur/exchange_pin | LDU_FT | [
"<BEGIN>\n## `convert_general`",
"Take a python object and convert it to the format Imgur expects.\n<END>",
"<BEGIN>\n## `to_imgur_format`",
"Convert the parameters to the format Imgur expects.\n<END>",
"<BEGIN>\n## `_get_album_or_image`",
"Return a gallery image/album depending on what the json represent... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exchange_pin API.
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 exchange_pin API.
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... | Exchange one-use pin for an access_token and request_token. | "Exchange one-use pin for an access_token and request_token." | 139 | false | Damgaard/PyImgur | exchange_pin | 31,660 | |
LDU_FT/fxsjy/jieba/add_word | LDU_FT | [
"<BEGIN>\n## `cut`",
"Global `cut` function that supports parallel processing.",
" Note that this only works using dt, custom POSTokenizer\n instances are not supported.\n<END>",
"<BEGIN>\n## `enable_parallel`",
"Change the module's `cut` and `cut_for_search` functions to the\n parallel version.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_word API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_word API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Add a word to dictionary.
freq and tag can be omitted, freq defaults to be a calculated value
that ensures the word can be cut out. | "Add a word to dictionary.\n\n freq and tag can be omitted, freq defaults to be a calculated value\n that ensures the word can be cut out." | 27 | false | fxsjy/jieba | add_word | 31,661 | |
LDU_FT/flukso/tmpo-py/_npdelta | LDU_FT | [
"<BEGIN>\n## `dbcon`",
"Set up connection before executing function, commit and close connection\n afterwards. Unless a connection already has been created.\n<END>",
"<BEGIN>\n## `add`",
"Add new sensor to the database",
" Parameters\n ----------\n sid : str\n SensorId\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _npdelta API.
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 _npdelta API.
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... | Numpy: Modifying Array Values
http://docs.scipy.org/doc/numpy/reference/arrays.nditer.html | "Numpy: Modifying Array Values\n http://docs.scipy.org/doc/numpy/reference/arrays.nditer.html" | 36 | false | flukso/tmpo-py | _npdelta | 31,662 | |
LDU_FT/mikicz/arca/get_image_tag | LDU_FT | [
"<BEGIN>\n## `get_or_create_environment`",
"Returns the path to the current Python executable.\n<END>",
"<BEGIN>\n## `validate_configuration`",
"Validates the provided settings.",
" * Checks ``inherit_image`` format.\n * Checks ``use_registry_name`` format.\n * Checks that ``apt_depende... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_image_tag API.
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_image_tag API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns the tag for images with the dependencies and requirements installed.
64-byte hexadecimal strings cannot be used as docker tags, so the prefixes are necessary.
Double hashing the dependencies and requirements hash to make the final tag shorter.
Prefixes:
* Image type:
... | "Returns the tag for images with the dependencies and requirements installed.\n\n 64-byte hexadecimal strings cannot be used as docker tags, so the prefixes are necessary.\n Double hashing the dependencies and requirements hash to make the final tag shorter.\n\n Prefixes:\n\n * Image type:\n... | 196 | false | mikicz/arca | get_image_tag | 31,663 | |
LDU_FT/videntity/django-djmongo/show_dbs | LDU_FT | [
"<BEGIN>\n## `httpauth_login_required`",
"Put this decorator before your view to check if the user is logged in\n via httpauth and return a JSON 401 error if he/she is not.\n<END>",
"<BEGIN>\n## `ip_verification_required`",
"Put this decorator before your view to check if the function is coming from an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_dbs API.
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 show_dbs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | return a list of all dbs and related collections.
Return an empty list on error. | "return a list of all dbs and related collections.\n Return an empty list on error." | 24 | false | videntity/django-djmongo | show_dbs | 31,664 | |
LDU_FT/johntfoster/bspline/d | LDU_FT | [
"<BEGIN>\n## `augknt`",
"Augment a knot vector.",
"Parameters:\n knots:\n Python list or rank-1 array, the original knot vector (without endpoint repeats)\n order:\n int, >= 0, order of spline",
"Returns:\n list_of_knots:\n rank-1 array that has (`order` + 1) copies of ``knots[0]... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the d API.
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 d API.
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... | Convenience function to compute first derivative of basis functions. 'Memoized' for speed. | "Convenience function to compute first derivative of basis functions. 'Memoized' for speed." | 62 | false | johntfoster/bspline | d | 31,665 | |
LDU_FT/okpy/ok-client/lock | LDU_FT | [
"<BEGIN>\n## `load`",
"Prepares a set of setup, test, and teardown code to be\n run in the console.",
" PARAMETERS:\n code -- list; processed lines of code. Elements in the list are\n either strings (input) or CodeAnswer objects (output)\n setup -- str; raw ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lock API.
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 lock API.
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... | Locks the given text using the given key and returns the result | "Locks the given text using the given key and returns the result" | 141 | false | okpy/ok-client | lock | 31,666 | |
LDU_FT/emirozer/fake2db/database_caller_creator | LDU_FT | [
"<BEGIN>\n## `database_caller_creator`",
"creates a mongodb database\n returns the related connection object\n which will be later used to spawn the cursor\n<END>",
"<BEGIN>\n## `database_caller_creator`",
"creates a redis connection object\n which will be later used to modify the db\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the database_caller_creator 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 database_caller_creator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | creates a mongodb database
returns the related connection object
which will be later used to spawn the cursor | "creates a mongodb database\n returns the related connection object\n which will be later used to spawn the cursor" | 44 | false | emirozer/fake2db | database_caller_creator | 31,667 | |
LDU_FT/MarcoFavorito/pythomata/from_transitions | LDU_FT | [
"<BEGIN>\n## `from_transitions`",
"Initialize a DFA without explicitly specifying the set of states and the alphabet.",
" :param initial_state: the initial state.\n :param accepting_states: the accepting state.\n :param transition_function: the transition function.\n :return: the DFA... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_transitions API.
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 from_transitions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Initialize a DFA without explicitly specifying the set of states and the alphabet.
:param initial_state: the initial state.
:param accepting_states: the accepting state.
:param transition_function: the (nondeterministic) transition function.
:return: the NFA. | "Initialize a DFA without explicitly specifying the set of states and the alphabet.\n\n :param initial_state: the initial state.\n :param accepting_states: the accepting state.\n :param transition_function: the (nondeterministic) transition function.\n :return: the NFA." | 16 | false | MarcoFavorito/pythomata | from_transitions | 31,668 | |
LDU_FT/ultradns/python_rest_api_client/create_sb_pool | LDU_FT | [
"<BEGIN>\n## `create_primary_zone`",
"Creates a new primary zone.",
" Arguments:\n account_name -- The name of the account that will contain this zone.\n zone_name -- The name of the zone. It must be unique.\n<END>",
"<BEGIN>\n## `create_primary_zone_by_upload`",
"Creates a new primary... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_sb_pool API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_sb_pool API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Creates a new SB Pool.
Arguments:
zone_name -- The zone that contains the RRSet. The trailing dot is optional.
owner_name -- The owner name for the RRSet.
If no trailing dot is supplied, the owner_name is assumed to be relative (foo).
If a trailing d... | "Creates a new SB Pool.\n\n Arguments:\n zone_name -- The zone that contains the RRSet. The trailing dot is optional.\n owner_name -- The owner name for the RRSet.\n If no trailing dot is supplied, the owner_name is assumed to be relative (foo).\n If a tra... | 69 | false | ultradns/python_rest_api_client | create_sb_pool | 31,669 | |
LDU_FT/datadesk/django-greeking/get_url | LDU_FT | [
"<BEGIN>\n## `get_url`",
"Craft the URL for a placekitten image.",
" By default they are in color. To retrieve a grayscale image, set\n the color kwarg to False.\n<END>",
"<BEGIN>\n## `placeholdit`",
"Creates a placeholder image using placehold.it",
" Usage format:",
" {% placeholdit [widt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 get_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... | Craft the URL for a placekitten image.
By default they are in color. To retrieve a grayscale image, set
the color kwarg to False. | "Craft the URL for a placekitten image.\n\n By default they are in color. To retrieve a grayscale image, set\n the color kwarg to False." | 33 | false | datadesk/django-greeking | get_url | 31,670 | |
LDU_FT/Richienb/quilt/text | LDU_FT | [
"<BEGIN>\n## `userinput`",
"Get the input of the user via a universally secure method.",
" :type prompttext: string\n :param prompttext: The text to display while receiving the data.",
" :type times: integer\n :param times: The amount of times to ask the user. If value is not 1, a list will be ret... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the text API.
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 text API.
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... | Perform changes on text files
:type path: string
:param path: The path to perform the action on
:type operation: string
:param operation: The operation to use on the file
:type content: string
:param content: The content to use with the operation | "Perform changes on text files\n\n :type path: string\n :param path: The path to perform the action on\n\n :type operation: string\n :param operation: The operation to use on the file\n\n :type content: string\n :param content: The content to use with the operation" | 210 | false | Richienb/quilt | text | 31,671 | |
LDU_FT/BreakingBytes/simkit/load_data | LDU_FT | [
"<BEGIN>\n## `register`",
"Register outputs and metadata.",
" * ``initial_value`` - used in dynamic calculations\n * ``size`` - number of elements per timestep\n * ``uncertainty`` - in percent of nominal value\n * ``variance`` - dictionary of covariances, diagonal is square of\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | load data from text file.
:param filename: name of text file to read
:type filename: str
:returns: data read from file using :func:`numpy.loadtxt`
:rtype: dict | "load data from text file.\n\n :param filename: name of text file to read\n :type filename: str\n :returns: data read from file using :func:`numpy.loadtxt`\n :rtype: dict" | 227 | false | BreakingBytes/simkit | load_data | 31,672 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.