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/fabric-bolt/fabric-bolt/get_next_input | LDU_FT | [
"<BEGIN>\n## `form_valid`",
"After the form is valid lets let people know\n<END>",
"<BEGIN>\n## `form_valid`",
"First call the parent's form valid then let the user know it worked.\n<END>",
"<BEGIN>\n## `post`",
"Create the SSH file & then return the normal get method...\n<END>",
"<BEGIN>\n## `web_hooks... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_next_input API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_next_input API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Returns the next line of input
:return: string of input | "Returns the next line of input\n :return: string of input" | 65 | false | fabric-bolt/fabric-bolt | get_next_input | 21,573 | |
LDU_FT/automl/HpBandSter/get_id2config_mapping | LDU_FT | [
"<BEGIN>\n## `get_config`",
"Function to sample a new configuration",
"\t\t\tThis function is called inside Hyperband to query a new configuration",
"\t\t\tParameters:\n\t\t\t-----------\n\t\t\tbudget: float\n\t\t\t\tthe budget for which this configuration is scheduled",
"\t\t\treturns: config\n\t\t\t\tshou... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_id2config_mapping API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_id2config_mapping API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | returns a dict where the keys are the config_ids and the values
are the actual configurations | "returns a dict where the keys are the config_ids and the values\n\t\tare the actual configurations" | 188 | false | automl/HpBandSter | get_id2config_mapping | 21,574 | |
LDU_FT/wheeler-microfluidics/dmf-control-board-firmware/find_good | LDU_FT | [
"<BEGIN>\n## `swap_default`",
"Given a `sympy` equation or equality, along with a list of symbol names,\n substitute the specified default value for each symbol for which a value is\n not provided through a keyword argument.",
" For example, consider the following equality:",
" >>> sp.pprint(H)\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_good API.
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 find_good API.
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... | Use a binary search over the range of provided actuation_steps to find the
maximum actuation voltage that is measured by the board feedback circuit
using the specified feedback resistor. | "Use a binary search over the range of provided actuation_steps to find the\n maximum actuation voltage that is measured by the board feedback circuit\n using the specified feedback resistor." | 206 | false | wheeler-microfluidics/dmf-control-board-firmware | find_good | 21,575 | |
LDU_FT/roanuz/py-cricket/get_recent_matches | LDU_FT | [
"<BEGIN>\n## `set_value`",
"Set key value to the file.",
" The fuction will be make the key and value to dictinary formate.\n If its exist then it will update the current new key value to\n the file.\n Arg:\n key : cache key\n value : cache value\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_recent_matches 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_recent_matches 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... | Calling the Recent Matches API.
Arg:
card_type: optional, default to micro_card. Accepted values are
micro_card & summary_card.
Return:
json data | "Calling the Recent Matches API.\n\n Arg:\n card_type: optional, default to micro_card. Accepted values are\n micro_card & summary_card.\n Return:\n json data" | 72 | false | roanuz/py-cricket | get_recent_matches | 21,576 | |
LDU_FT/alkivi-sas/python-alkivi-logger/_set_min_level | LDU_FT | [
"<BEGIN>\n## `debug`",
"Debug level to use and abuse when coding\n<END>",
"<BEGIN>\n## `info`",
"More important level : default for print and save\n<END>",
"<BEGIN>\n## `init_logger`",
"Create configuration for the root logger.\n<END>",
"<BEGIN>\n## `new_iteration`",
"When inside a loop logger, create... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_min_level API.
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_min_level API.
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... | Generic method to setLevel for handlers. | "Generic method to setLevel for handlers." | 25 | false | alkivi-sas/python-alkivi-logger | _set_min_level | 21,577 | |
LDU_FT/eonpatapon/contrail-api-cli/available_options | LDU_FT | [
"<BEGIN>\n## `expand_paths`",
"Return an unique list of resources or collections from a list of paths.\n Supports fq_name and wilcards resolution.",
" >>> expand_paths(['virtual-network',\n 'floating-ip/2a0a54b4-a420-485e-8372-42f70a627ec9'])\n [Collection('virtual-network'),\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the available_options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the available_options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Return options that can be used given
the current cmd line
rtype: command.Option generator | "Return options that can be used given\n the current cmd line\n\n rtype: command.Option generator" | 138 | false | eonpatapon/contrail-api-cli | available_options | 21,578 | |
LDU_FT/tensorpack/tensorpack/set_logger_dir | LDU_FT | [
"<BEGIN>\n## `CaffeLMDB`",
"Read a Caffe LMDB file where each value contains a ``caffe.Datum`` protobuf.\n Produces datapoints of the format: [HWC image, label].",
" Note that Caffe LMDB format is not efficient: it stores serialized raw\n arrays rather than JPEG images.",
" Args:\n lmdb_pat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_logger_dir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_logger_dir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Set the directory for global logging.
Args:
dirname(str): log directory
action(str): an action of ["k","d","q"] to be performed
when the directory exists. Will ask user by default.
"d": delete the directory. Note that the deletion may fail when
the direc... | "Set the directory for global logging.\n\n Args:\n dirname(str): log directory\n action(str): an action of [\"k\",\"d\",\"q\"] to be performed\n when the directory exists. Will ask user by default.\n\n \"d\": delete the directory. Note that the deletion may fail when\n ... | 1,105 | true | tensorpack/tensorpack | set_logger_dir | 21,579 | |
LDU_FT/PythonOptimizers/cygenja/__is_function_action | LDU_FT | [
"<BEGIN>\n## `set_parent`",
"Attach node to its parent.",
" Args:\n node: Parent node.",
" Note:\n ``node`` can be ``None``. In that case, the node is detached from its previous parent.\n<END>",
"<BEGIN>\n## `set_child_node`",
"Add one child node to this node.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __is_function_action API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __is_function_action API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Detect if given function is really an action function.
Args:
action_function: Function to test.
Note:
We don't care if the variable refer to a function but rather if it is callable or not. | "Detect if given function is really an action function.\n\n Args:\n action_function: Function to test.\n\n Note:\n We don't care if the variable refer to a function but rather if it is callable or not." | 132 | false | PythonOptimizers/cygenja | __is_function_action | 21,580 | |
LDU_FT/pjmark/NIMPA/orientnii | LDU_FT | [
"<BEGIN>\n## `trimim`",
"Trim and upsample PET image(s), e.g., for GPU execution,\n PVC correction, ROI sampling, etc.\n The input images 'fims' can be passed in multiple ways:\n 1. as a string of the folder containing NIfTI files\n 2. as a string of a NIfTI file path (this way a 4D image can be loade... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the orientnii API.
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 orientnii API.
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 orientation from NIfTI sform. Not fully functional yet. | "Get the orientation from NIfTI sform. Not fully functional yet." | 78 | false | pjmark/NIMPA | orientnii | 21,581 | |
LDU_FT/dedupeio/dedupe/match | LDU_FT | [
"<BEGIN>\n## `getCentroid`",
"Takes in a list of attribute values for a field,\n evaluates the centroid using the comparator,\n & returns the centroid (i.e. the 'best' value for the field)\n<END>",
"<BEGIN>\n## `getCanonicalRep`",
"Given a list of records within a duplicate cluster, constructs a\n ca... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Identifies pairs of records that refer to the same entity, returns
tuples containing a set of record ids and a confidence score as a float
between 0 and 1. The record_ids within each set should refer to the
same entity and the confidence score is the estimated probability that
the record... | "Identifies pairs of records that refer to the same entity, returns\n tuples containing a set of record ids and a confidence score as a float\n between 0 and 1. The record_ids within each set should refer to the\n same entity and the confidence score is the estimated probability that\n the r... | 136 | false | dedupeio/dedupe | match | 21,582 | |
LDU_FT/jpatrickdill/faste/timed_cache | LDU_FT | [
"<BEGIN>\n## `rr_cache`",
"Random Replacement cache decorator, implementing :class:`faste.caches.RRCache`",
" :keyword int max_size: max cache size\n<END>",
"<BEGIN>\n## `lru_cache`",
"Least Recently Used cache decorator, implementing :class:`faste.caches.LRUCache`",
" :keyword max_size: max cache s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timed_cache API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timed_cache API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Time based decorator, implementing :class:`faste.caches.TimeoutCache`
:param int timeout: Cache key timeout
:param int max_size: (keyword) max size. | "Time based decorator, implementing :class:`faste.caches.TimeoutCache`\n\n :param int timeout: Cache key timeout\n\n :param int max_size: (keyword) max size." | 22 | false | jpatrickdill/faste | timed_cache | 21,583 | |
LDU_FT/hyperledger/indy-sdk/vcx_agent_provision | LDU_FT | [
"<BEGIN>\n## `create`",
"Creates a Class representing an Issuer Credential\n :param source_id: Tag associated by user of sdk\n :param attrs: attributes that will form the credential\n :param cred_def_handle: Handle from previously created credential def object\n :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vcx_agent_provision 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 vcx_agent_provision 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... | Provision an agent in the agency, populate configuration and wallet for this agent.
Example:
import json
enterprise_config = {
'agency_url': 'http://localhost:8080',
'agency_did': 'VsKV7grR1BUE29mG2Fm2kX',
'agency_verkey': "Hezce2UWMZ3wUhVkh2LfKSs8nDzWwzs2Win7EzNN3YaR",
'wall... | "Provision an agent in the agency, populate configuration and wallet for this agent.\n Example:\n import json\n enterprise_config = {\n 'agency_url': 'http://localhost:8080',\n 'agency_did': 'VsKV7grR1BUE29mG2Fm2kX',\n 'agency_verkey': \"Hezce2UWMZ3wUhVkh2LfKSs8nDzWwzs2Win7EzNN3YaR\",\n ... | 467 | false | hyperledger/indy-sdk | vcx_agent_provision | 21,584 | |
LDU_FT/theosysbio/means/_make_f_of_x | LDU_FT | [
"<BEGIN>\n## `simulate_system`",
"Perform Gillespie SSA simulations and returns trajectories for of each species.\n Each trajectory is interpolated at the given time points.\n By default, the average amounts of species for all simulations is returned.",
" :param parameters: list of the init... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_f_of_x API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_f_of_x API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | r"""
Calculates :math:`F():math:` in eq. 12 (see Ale et al. 2013) for a specific reaction , :math:`k` and :math:`e`
:param k_vec: the vector :math:`k`
:param e_vec: the vector :math:`e`
:param reaction: the equation of the reaction {:math:`a(x) in the model}
:return: :math:`F()` | "r\"\"\"\n Calculates :math:`F():math:` in eq. 12 (see Ale et al. 2013) for a specific reaction , :math:`k` and :math:`e`\n\n :param k_vec: the vector :math:`k`\n :param e_vec: the vector :math:`e`\n :param reaction: the equation of the reaction {:math:`a(x) in the model}\n :return: :... | 244 | false | theosysbio/means | _make_f_of_x | 21,585 | |
LDU_FT/pallets/flask-sqlalchemy/reflect | LDU_FT | [
"<BEGIN>\n## `should_set_tablename`",
"Determine whether ``__tablename__`` should be automatically generated\n for a model.",
" * If no class in the MRO sets a name, one should be generated.\n * If a declared attr is found, it should be used instead.\n * If a name is found, it should be used if the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reflect API.
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 reflect API.
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... | Reflects tables from the database.
.. versionchanged:: 0.12
Parameters were added | "Reflects tables from the database.\n\n .. versionchanged:: 0.12\n Parameters were added" | 73 | false | pallets/flask-sqlalchemy | reflect | 21,586 | |
LDU_FT/skorokithakis/shortuuid/int_to_string | LDU_FT | [
"<BEGIN>\n## `int_to_string`",
"Convert a number to a string, using the given alphabet.\n The output has the most significant digit first.\n<END>",
"<BEGIN>\n## `string_to_int`",
"Convert a string to a number, using the given alphabet.\n The input is assumed to have the most significant digit first.\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the int_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.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the int_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.
The ext... | Convert a number to a string, using the given alphabet.
The output has the most significant digit first. | "Convert a number to a string, using the given alphabet.\n The output has the most significant digit first." | 17 | false | skorokithakis/shortuuid | int_to_string | 21,587 | |
LDU_FT/bwesterb/displays/layout | LDU_FT | [
"<BEGIN>\n## `sup_of_layouts`",
"Return the least layout compatible with layout1 and layout2\n<END>",
"<BEGIN>\n## `layout`",
"Calculate the widths of the columns to set the table\n<END>",
"<BEGIN>\n## `our_IsUsableForDesktopGUI`",
"A more leniant version of CGDisplayModeIsUsableForDesktopGUI\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the layout API.
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 layout API.
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 ... | Calculate the widths of the columns to set the table | "Calculate the widths of the columns to set the table" | 10 | false | bwesterb/displays | layout | 21,588 | |
LDU_FT/closeio/flask-ipblock/block_before | LDU_FT | [
"<BEGIN>\n## `block_before`",
"Check the current request and block it if the IP address it's\n coming from is blacklisted.\n<END>",
"<BEGIN>\n## `matches_ip`",
"Return True if the given IP is blacklisted, False otherwise.\n<END>",
"<BEGIN>\n## `create_from_string`",
"Converts a CIDR like 192.168.0.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the block_before API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the block_before API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Check the current request and block it if the IP address it's
coming from is blacklisted. | "Check the current request and block it if the IP address it's\n coming from is blacklisted." | 10 | false | closeio/flask-ipblock | block_before | 21,589 | |
LDU_FT/MonashBI/arcana/nodes | LDU_FT | [
"<BEGIN>\n## `satisfy`",
"Checks whether the given requirements are satisfiable within the given\n execution context",
" Parameter\n ---------\n requirements : list(Requirement)\n List of requirements to check whether they are satisfiable\n<END>",
"<BEGIN>\n## `connect`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nodes API.
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 nodes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Returns an iterator over all nodes in the tree for the specified
frequency. If no frequency is specified then all nodes are returned
Parameters
----------
frequency : str | None
The frequency of the nodes to iterate over. If None all
frequencies are returned
... | "Returns an iterator over all nodes in the tree for the specified\n frequency. If no frequency is specified then all nodes are returned\n\n Parameters\n ----------\n frequency : str | None\n The frequency of the nodes to iterate over. If None all\n frequencies are retur... | 275 | false | MonashBI/arcana | nodes | 21,590 | |
LDU_FT/PMBio/limix-backup/eighCovarianceMatrix | LDU_FT | [
"<BEGIN>\n## `PCA`",
"run PCA, retrieving the first (components) principle components\n\treturn [s0, eig, w0]\n\ts0: factors\n\tw0: weights\n<END>",
"<BEGIN>\n## `PC_varExplained`",
"Run PCA and calculate the cumulative fraction of variance\n Args:\n Y: phenotype values\n standardize: if True... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eighCovarianceMatrix 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 eighCovarianceMatrix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | compute similarity matrix using plink
Input:
cfile : the covariance matrix will be read from cfile.cov while the eigenvalues and the eigenverctors will
be written to cfile.cov.eval and cfile.cov.evec respectively | "compute similarity matrix using plink\n\n Input:\n cfile : the covariance matrix will be read from cfile.cov while the eigenvalues and the eigenverctors will\n be written to cfile.cov.eval and cfile.cov.evec respectively" | 428 | false | PMBio/limix-backup | eighCovarianceMatrix | 21,591 | |
LDU_FT/EVEprosper/ProsperCommon/get_option | LDU_FT | [
"<BEGIN>\n## `render_secrets`",
"combine a jinja template with a secret .ini file",
" Args:\n config_path (str): path to .cfg file with jinja templating\n secret_path (str): path to .ini-like secrets file",
" Returns:\n ProsperConfig: rendered configuration object\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_option API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_option API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | evaluates the requested option and returns the correct value
Notes:
Priority order
1. args given at runtile
2. <config_file>_local.cfg -- untracked config with #SECRETS
3. <config_file>.cfg -- tracked 'master' config without #SECRETS
4. environment va... | "evaluates the requested option and returns the correct value\n\n Notes:\n Priority order\n 1. args given at runtile\n 2. <config_file>_local.cfg -- untracked config with #SECRETS\n 3. <config_file>.cfg -- tracked 'master' config without #SECRETS\n 4. enviro... | 115 | false | EVEprosper/ProsperCommon | get_option | 21,592 | |
LDU_FT/jalanb/pysyte/tag | LDU_FT | [
"<BEGIN>\n## `get_caselessly`",
"Find the sought key in the given dictionary regardless of case",
" >>> things = {'Fred' : 9}\n >>> print(get_caselessly(things, 'fred'))\n 9\n<END>",
"<BEGIN>\n## `append_value`",
"Append those items to the values for that key\n<END>",
"<BEGIN>\n## `extend_values`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted doc... | Add a local tag with that name at that commit
If no commit is given, at current commit on cuurent branch
If remote is true, also push the tag to origin | "Add a local tag with that name at that commit\n\n If no commit is given, at current commit on cuurent branch\n If remote is true, also push the tag to origin" | 224 | false | jalanb/pysyte | tag | 21,593 | |
LDU_FT/TimBest/django-multi-form-view/get_forms | LDU_FT | [
"<BEGIN>\n## `are_forms_valid`",
"Check if all forms defined in `form_classes` are valid.\n<END>",
"<BEGIN>\n## `get_form_kwargs`",
"Build the keyword arguments required to instantiate the form.\n<END>",
"<BEGIN>\n## `get_initial`",
"Returns a copy of `initial` with empty initial data dictionaries for eac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_forms API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_forms API.
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... | Initializes the forms defined in `form_classes` with initial data from `get_initial()`,
kwargs from get_form_kwargs() and form instance object from `get_objects()`. | "Initializes the forms defined in `form_classes` with initial data from `get_initial()`,\n kwargs from get_form_kwargs() and form instance object from `get_objects()`." | 12 | false | TimBest/django-multi-form-view | get_forms | 21,594 | |
LDU_FT/tox-dev/tox-travis/pypy_version_monkeypatch | LDU_FT | [
"<BEGIN>\n## `travis_after`",
"Wait for all jobs to finish, then exit successfully.\n<END>",
"<BEGIN>\n## `after_config_matches`",
"Determine if this job should wait for the others.\n<END>",
"<BEGIN>\n## `get_job_statuses`",
"Wait for all the travis jobs to complete.",
" Once the other jobs are compl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pypy_version_monkeypatch 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 pypy_version_monkeypatch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Patch Tox to work with non-default PyPy 3 versions. | "Patch Tox to work with non-default PyPy 3 versions." | 51 | false | tox-dev/tox-travis | pypy_version_monkeypatch | 21,595 | |
LDU_FT/tadashi-aikawa/owlmixin/flat_map | LDU_FT | [
"<BEGIN>\n## `from_dict`",
"From dict to instance",
" :param d: Dict\n :param force_snake_case: Keys are transformed to snake case in order to compliant PEP8 if True\n :param force_cast: Cast forcibly if True\n :param restrict: Prohibit extra parameters if True\n :return: Inst... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flat_map API.
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 flat_map API.
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... | Usage:
>>> TOption(3).flat_map(lambda x: TOption(x+1)).get()
4
>>> TOption(3).flat_map(lambda x: TOption(None)).get_or(999)
999
>>> TOption(None).flat_map(lambda x: TOption(x+1)).get_or(999)
999 | "Usage:\n\n >>> TOption(3).flat_map(lambda x: TOption(x+1)).get()\n 4\n >>> TOption(3).flat_map(lambda x: TOption(None)).get_or(999)\n 999\n >>> TOption(None).flat_map(lambda x: TOption(x+1)).get_or(999)\n 999" | 248 | false | tadashi-aikawa/owlmixin | flat_map | 21,596 | |
LDU_FT/Nic30/hwtGraph/walkSignalPorts | LDU_FT | [
"<BEGIN>\n## `extractSplits`",
"convert group of indexed assignments witch are splitting signal to Split node",
" a = sig[0]\n b = sig[1]\n to\n a, b = sig",
" :param toL: dictionary {hdl object: layout object}\n<END>",
"<BEGIN>\n## `getPortSideView`",
"Returns a sublist view for all ports ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the walkSignalPorts API.
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 walkSignalPorts API.
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... | recursively walk ports without any children | "recursively walk ports without any children" | 65 | false | Nic30/hwtGraph | walkSignalPorts | 21,597 | |
LDU_FT/tammoippen/iso4217parse/by_symbol | LDU_FT | [
"<BEGIN>\n## `_data`",
"(Lazy)load index data structure for currences",
" Load the `data.json` file (created with `gen_data.py`) and index by alpha3,\n code_num, symbol and country.",
" Returns:\n Dict[str, Dict[str, Any]]: Currency data indexed by different angles\n<END>",
"<BEGIN>\n## `_sy... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the by_symbol API.
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 by_symbol API.
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 list of possible currencies for symbol; filter by country_code
Look for all currencies that use the `symbol`. If there are currencies used
in the country of `country_code`, return only those; otherwise return all
found currencies.
Parameters:
symbol: unicode Currency symbo... | "Get list of possible currencies for symbol; filter by country_code\n\n Look for all currencies that use the `symbol`. If there are currencies used\n in the country of `country_code`, return only those; otherwise return all\n found currencies.\n\n Parameters:\n symbol: unicode Curren... | 25 | false | tammoippen/iso4217parse | by_symbol | 21,598 | |
LDU_FT/saltant-org/saltant-py/put | LDU_FT | [
"<BEGIN>\n## `sync`",
"Sync this model with latest data on the saltant server.",
" Note that in addition to returning the updated object, it also\n updates the existing object.",
" Returns:\n :class:`saltant.models.base_task_type.BaseTaskType`:\n This task type i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Updates a task type on the saltant server.
Args:
id (int): The ID of the task type.
name (str): The name of the task type.
description (str): The description of the task type.
command_to_run (str): The command to run to execute the task.
environment_v... | "Updates a task type on the saltant server.\n\n Args:\n id (int): The ID of the task type.\n name (str): The name of the task type.\n description (str): The description of the task type.\n command_to_run (str): The command to run to execute the task.\n envir... | 134 | false | saltant-org/saltant-py | put | 21,599 | |
LDU_FT/mdscruggs/ga/compute_err | LDU_FT | [
"<BEGIN>\n## `eval_fitness`",
"Convert a 1-gene chromosome into an integer and calculate its fitness\n by checking it against each required factor.",
" return: fitness value\n<END>",
"<BEGIN>\n## `translate_chromosome`",
"Translate all the genes in a chromosome.",
" chromosome: a ``... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_err API.
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 compute_err API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return an error value by finding the absolute difference for each
element in a list of solution-generated y-values versus expected values.
Compounds error by 50% for each negative coefficient in the solution.
solution_y: list of y-values produced by a solution
coefficients: list of p... | "Return an error value by finding the absolute difference for each\n element in a list of solution-generated y-values versus expected values.\n\n Compounds error by 50% for each negative coefficient in the solution.\n\n solution_y: list of y-values produced by a solution\n coefficients: li... | 94 | false | mdscruggs/ga | compute_err | 21,600 | |
LDU_FT/openai/pachi-py/parseVariations | LDU_FT | [
"<BEGIN>\n## `writesgf`",
"Write the game to an SGF file after a game\n<END>",
"<BEGIN>\n## `sort`",
"Sorts 'self.data' in-place. Argument:\n\t\t- func : optional, default 'None' --\n\t\t\t- If 'func' not given, sorting will be in ascending\n\t\t\t order.\n\t\t\t- If 'func' given, it will determine the sort ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parseVariations API.
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 parseVariations API.
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... | Called when "(" encountered inside a 'GameTree', ends when a
non-matching ")" encountered. Returns a list of variation
'GameTree''s. Raises 'EndOfDataParseError' if the end of 'self.data'
is reached before the end of the enclosing 'GameTree'. | "Called when \"(\" encountered inside a 'GameTree', ends when a\n\t\t\tnon-matching \")\" encountered. Returns a list of variation\n\t\t\t'GameTree''s. Raises 'EndOfDataParseError' if the end of 'self.data'\n\t\t\tis reached before the end of the enclosing 'GameTree'." | 34 | false | openai/pachi-py | parseVariations | 21,601 | |
LDU_FT/bfontaine/term2048/getEmptyCells | LDU_FT | [
"<BEGIN>\n## `adjustColors`",
"Change a few colors depending on the mode to use. The default mode\n doesn't assume anything and avoid using white & black colors. The dark\n mode use white and avoid dark blue while the light mode use black and\n avoid yellow, to give a few examples.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getEmptyCells API.
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 getEmptyCells API.
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 a (x, y) pair for each empty cell | "return a (x, y) pair for each empty cell" | 28 | false | bfontaine/term2048 | getEmptyCells | 21,602 | |
LDU_FT/bwohlberg/sporco/printiterstats | LDU_FT | [
"<BEGIN>\n## `pyfftw_byte_aligned`",
"Construct a byte-aligned array for efficient use by :mod:`pyfftw`.\n This function is a wrapper for :func:`pyfftw.byte_align`",
" Parameters\n ----------\n array : ndarray\n Input array\n dtype : dtype, optional (default None)\n Output array dtype\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the printiterstats API.
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 printiterstats API.
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... | Print iteration statistics.
Parameters
----------
itst : namedtuple
IterationStats namedtuple as returned by :meth:`iterstats` | "Print iteration statistics.\n\n Parameters\n ----------\n itst : namedtuple\n IterationStats namedtuple as returned by :meth:`iterstats`" | 1,237 | true | bwohlberg/sporco | printiterstats | 21,603 | |
LDU_FT/serge-sans-paille/pythran/visit_Module | LDU_FT | [
"<BEGIN>\n## `check_specs`",
"Does nothing but raising PythranSyntaxError if specs\n are incompatible with the actual code\n<END>",
"<BEGIN>\n## `check_exports`",
"Does nothing but raising PythranSyntaxError if specs\n references an undefined global\n<END>",
"<BEGIN>\n## `visit_Import`",
"Check if i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_Module API.
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 visit_Module API.
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... | When we normalize call, we need to add correct import for method
to function transformation.
a.max()
for numpy array will become:
numpy.max(a)
so we have to import numpy. | "When we normalize call, we need to add correct import for method\n to function transformation.\n\n a.max()\n\n for numpy array will become:\n\n numpy.max(a)\n\n so we have to import numpy." | 547 | false | serge-sans-paille/pythran | visit_Module | 21,604 | |
LDU_FT/angr/pyvex/_pp_str | LDU_FT | [
"<BEGIN>\n## `lift`",
"This is the main body of the \"lifting\" for the instruction.\n This can/should be overriden to provide the general flow of how instructions in your arch work.\n For example, in MSP430, this is:",
" - Figure out what your operands are by parsing the addressing, and lo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pp_str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pp_str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return the pretty-printed IRSB.
:rtype: str | "Return the pretty-printed IRSB.\n\n :rtype: str" | 87 | false | angr/pyvex | _pp_str | 21,605 | |
LDU_FT/libyal/dtfabric/CreateClass | LDU_FT | [
"<BEGIN>\n## `Main`",
"The main program function.",
" Returns:\n bool: True if successful or False if not.\n<END>",
"<BEGIN>\n## `CheckDirectory`",
"Validates definition files in a directory.",
" Args:\n path (str): path of the definition file.\n extension (Optional[str]): extension of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the CreateClass API.
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 CreateClass API.
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... | Creates a new structure values class.
Args:
data_type_definition (DataTypeDefinition): data type definition.
Returns:
class: structure values class. | "Creates a new structure values class.\n\n Args:\n data_type_definition (DataTypeDefinition): data type definition.\n\n Returns:\n class: structure values class." | 373 | false | libyal/dtfabric | CreateClass | 21,606 | |
LDU_FT/crackinglandia/pype32/write | LDU_FT | [
"<BEGIN>\n## `showSectionsHeaders`",
"Prints IMAGE_SECTION_HEADER for every section present in the file.\n<END>",
"<BEGIN>\n## `getFields`",
"Returns all the class attributues.",
" @rtype: dict\n @return: A dictionary containing all the class attributes.\n<END>",
"<BEGIN>\n## `parse`",
"Re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
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 write API.
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... | Writes data from L{PE} object to a file.
@rtype: str
@return: The L{PE} stream data.
@raise IOError: If the file could not be opened for write operations. | "Writes data from L{PE} object to a file.\n \n @rtype: str\n @return: The L{PE} stream data.\n\n @raise IOError: If the file could not be opened for write operations." | 428 | false | crackinglandia/pype32 | write | 21,607 | |
LDU_FT/kalekundert/nonstdlib/sci | LDU_FT | [
"<BEGIN>\n## `keep_on_one_line`",
"Keep all the output generated within a with-block on one line. Whenever a \n new line would be printed, instead reset the cursor to the beginning of the \n line and print the new line without a line break.\n<END>",
"<BEGIN>\n## `write_color`",
"Write the given colored... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sci API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sci API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Convert the given floating point number into scientific notation, using
unicode superscript characters to nicely render the exponent. | "Convert the given floating point number into scientific notation, using \n unicode superscript characters to nicely render the exponent." | 28 | false | kalekundert/nonstdlib | sci | 21,608 | |
LDU_FT/CityOfZion/neo-python-core/SafeReadBytes | LDU_FT | [
"<BEGIN>\n## `PrivateKeyFromWIF`",
"Get the private key from a WIF key",
" Args:\n wif (str): The wif key",
" Returns:\n bytes: The private key\n<END>",
"<BEGIN>\n## `PrivateKeyFromNEP2`",
"Gets the private key from a NEP-2 encrypted private key",
" Args:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the SafeReadBytes API.
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 SafeReadBytes API.
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... | Read exactly `length` number of bytes from the stream.
Raises:
ValueError is not enough data
Returns:
bytes: `length` number of bytes | "Read exactly `length` number of bytes from the stream.\n\n Raises:\n ValueError is not enough data\n\n Returns:\n bytes: `length` number of bytes" | 175 | false | CityOfZion/neo-python-core | SafeReadBytes | 21,609 | |
LDU_FT/edeposit/edeposit.amqp.storage/compose_tree_path | LDU_FT | [
"<BEGIN>\n## `render_trees`",
"Render list of `trees` to HTML.",
" Args:\n trees (list): List of :class:`.Tree`.\n path_composer (fn reference): Function used to compose paths from UUID.\n Look at :func:`.compose_tree_path` from :mod:`.web_tools`.",
" Returns:\n str: HTML... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compose_tree_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compose_tree_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Compose absolute path for given `tree`.
Args:
pub (obj): :class:`.Tree` instance.
issn (bool, default False): Compose URL using ISSN.
Returns:
str: Absolute path of the tree, without server's address and protocol. | "Compose absolute path for given `tree`.\n\n Args:\n pub (obj): :class:`.Tree` instance.\n issn (bool, default False): Compose URL using ISSN.\n\n Returns:\n str: Absolute path of the tree, without server's address and protocol." | 140 | false | edeposit/edeposit.amqp.storage | compose_tree_path | 21,610 | |
LDU_FT/toumorokoshi/transmute-core/_build_body_schema | LDU_FT | [
"<BEGIN>\n## `from_argspec`",
"retrieve a FunctionSignature object\n from the argspec and the annotations passed.\n<END>",
"<BEGIN>\n## `split_args`",
"given a dictionary of arguments, split them into\n args and kwargs",
" note: this destroys the arg_dict passed. if you need it,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_body_schema 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 _build_body_schema 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... | body is built differently, since it's a single argument no matter what. | "body is built differently, since it's a single argument no matter what." | 100 | false | toumorokoshi/transmute-core | _build_body_schema | 21,611 | |
LDU_FT/awslabs/mxboard/_save_embedding_tsv | LDU_FT | [
"<BEGIN>\n## `close`",
"Flushes the pending events and closes the writer after it is done.\n<END>",
"<BEGIN>\n## `reopen`",
"Reopens the EventFileWriter.\n Can be called after `close()` to add more events in the same directory.\n The events will go into a new events file.\n Does nothing i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _save_embedding_tsv 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 _save_embedding_tsv 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... | Given a 2D `NDarray` or a `numpy.ndarray` as embeding,
save it in tensors.tsv under the path provided by the user. | "Given a 2D `NDarray` or a `numpy.ndarray` as embeding,\n save it in tensors.tsv under the path provided by the user." | 113 | false | awslabs/mxboard | _save_embedding_tsv | 21,612 | |
LDU_FT/camptocamp/anthem/load_csv | LDU_FT | [
"<BEGIN>\n## `define_settings`",
"Define settings like being in the interface\n Example :\n - model = 'sale.config.settings' or ctx.env['sale.config.settings']\n - values = {'default_invoice_policy': 'delivery'}\n Be careful, settings onchange are not triggered with this function.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_csv API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_csv API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Load a CSV from a file path.
:param ctx: Anthem context
:param model: Odoo model name or model klass from env
:param path: absolute or relative path to CSV file.
If a relative path is given you must provide a value for
`ODOO_DATA_PATH` in your environment
or set `--odoo-data-path` o... | "Load a CSV from a file path.\n\n :param ctx: Anthem context\n :param model: Odoo model name or model klass from env\n :param path: absolute or relative path to CSV file.\n If a relative path is given you must provide a value for\n `ODOO_DATA_PATH` in your environment\n or set `--odoo-data... | 28 | false | camptocamp/anthem | load_csv | 21,613 | |
LDU_FT/Josef-Friedrich/tmep/functions | LDU_FT | [
"<BEGIN>\n## `ex_literal`",
"An int, float, long, bool, string, or None literal with the given\n value.\n<END>",
"<BEGIN>\n## `ex_varassign`",
"Assign an expression into a single variable. The expression may\n either be an `ast.expr` object or a value to be used as a literal.\n<END>",
"<BEGIN>\n## `ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the functions API.
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 functions API.
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 dictionary containing the functions defined in this
object. The keys are function names (as exposed in templates)
and the values are Python functions. | "Returns a dictionary containing the functions defined in this\n object. The keys are function names (as exposed in templates)\n and the values are Python functions." | 72 | false | Josef-Friedrich/tmep | functions | 21,614 | |
LDU_FT/panosl/django-currencies/calculate | LDU_FT | [
"<BEGIN>\n## `get_imports`",
"See if we have been passed a set of currencies or a setting variable\n or look for settings CURRENCIES or SHOP_CURRENCIES.\n<END>",
"<BEGIN>\n## `log`",
"Both prints to stdout/stderr and the django.currencies logger\n<END>",
"<BEGIN>\n## `check_rates`",
"Local helper f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate API.
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 calculate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Converts a price in the default currency to another currency | "Converts a price in the default currency to another currency" | 57 | false | panosl/django-currencies | calculate | 21,615 | |
LDU_FT/kaustavdm/pyAvroPhonetic/fix_string_case | LDU_FT | [
"<BEGIN>\n## `count_vowels`",
"Count number of occurrences of vowels in a given string\n<END>",
"<BEGIN>\n## `count_consonants`",
"Count number of occurrences of consonants in a given string\n<END>",
"<BEGIN>\n## `is_exact`",
"Check exact occurrence of needle in haystack\n<END>",
"<BEGIN>\n## `fix_strin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fix_string_case API.
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 fix_string_case API.
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... | Converts case-insensitive characters to lower case
Case-sensitive characters as defined in config.AVRO_CASESENSITIVES
retain their case, but others are converted to their lowercase
equivalents. The result is a string with phonetic-compatible case
which will the parser will understand without confusion. | "Converts case-insensitive characters to lower case\n\n Case-sensitive characters as defined in config.AVRO_CASESENSITIVES\n retain their case, but others are converted to their lowercase\n equivalents. The result is a string with phonetic-compatible case\n which will the parser will understand without conf... | 29 | false | kaustavdm/pyAvroPhonetic | fix_string_case | 21,616 | |
LDU_FT/jfilter/text-classification-keras/_apply_options | LDU_FT | [
"<BEGIN>\n## `check_output_input`",
"Run command with arguments and return its output as a byte string.",
" If the exit code was non-zero it raises a CalledProcessError. The\n CalledProcessError object will have the return code in the returncode\n attribute and output in the output attribute.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _apply_options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _apply_options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Applies various filtering and processing options on token.
Returns:
The processed token. None if filtered. | "Applies various filtering and processing options on token.\n\n Returns:\n The processed token. None if filtered." | 104 | false | jfilter/text-classification-keras | _apply_options | 21,617 | |
LDU_FT/creare-com/pydem/save_direction | LDU_FT | [
"<BEGIN>\n## `_get_flat_ids`",
"This is a helper function to recover the coordinates of regions that have\n been labeled within an image. This function efficiently computes the\n coordinate of all regions and returns the information in a memory-efficient\n manner.",
" Parameters\n -----------\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_direction API.
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 save_direction API.
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... | Saves the direction of the slope to a file | "Saves the direction of the slope to a file" | 201 | false | creare-com/pydem | save_direction | 21,618 | |
LDU_FT/PSPC-SPAC-buyandsell/von_agent/_sync_revoc | LDU_FT | [
"<BEGIN>\n## `validate_config`",
"Call jsonschema validation to raise JSONValidation on non-compliance or silently pass.",
" :param key: validation schema key of interest\n :param config: configuration dict to validate\n<END>",
"<BEGIN>\n## `_seed2did`",
"Derive DID, as per indy-sdk, from seed.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sync_revoc API.
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 _sync_revoc API.
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... | Pick up tails file reader handle for input revocation registry identifier. If no symbolic
link is present, get the revocation registry definition to retrieve its tails file hash,
then find the tails file and link it.
Raise AbsentTails for missing corresponding tails file.
:param rr_id... | "Pick up tails file reader handle for input revocation registry identifier. If no symbolic\n link is present, get the revocation registry definition to retrieve its tails file hash,\n then find the tails file and link it.\n\n Raise AbsentTails for missing corresponding tails file.\n\n :para... | 285 | false | PSPC-SPAC-buyandsell/von_agent | _sync_revoc | 21,619 | |
LDU_FT/OCA/openupgradelib/_change_generic | LDU_FT | [
"<BEGIN>\n## `_adjust_merged_values_orm`",
"This method deals with the values on the records to be merged +\n the target record, performing operations that makes sense on the meaning\n of the model.",
" :param field_spec: Dictionary with field names as keys and forced operation\n to perform as val... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _change_generic API.
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 _change_generic API.
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... | Update known generic style res_id/res_model references | "Update known generic style res_id/res_model references" | 190 | false | OCA/openupgradelib | _change_generic | 21,620 | |
LDU_FT/Yelp/kafka-utils/donate_leadership | LDU_FT | [
"<BEGIN>\n## `get_assignment`",
"Parse the given json plan in dict format.\n<END>",
"<BEGIN>\n## `_send_consumer_aware_request`",
"Send a list of requests to the consumer coordinator for the group\n specified using the supplied encode/decode functions. As the payloads\n that use consumer-aware r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the donate_leadership API.
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 donate_leadership API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Over-loaded brokers tries to donate their leadership to one of their
followers recursively until they become balanced.
:key_terms:
used_edges: Represent list of tuple/edges (partition, prev-leader, new-leader),
which have already been used for donating leadership from
... | "Over-loaded brokers tries to donate their leadership to one of their\n followers recursively until they become balanced.\n\n :key_terms:\n used_edges: Represent list of tuple/edges (partition, prev-leader, new-leader),\n which have already been used for donating leadership from\... | 538 | false | Yelp/kafka-utils | donate_leadership | 21,621 | |
LDU_FT/AlejandroFrias/case-conversion/_normalize_words | LDU_FT | [
"<BEGIN>\n## `camelcase`",
"Return text in camelCase style.",
" Args:\n text: input string to convert case\n detect_acronyms: should attempt to detect acronyms\n acronyms: a list of acronyms to detect",
" >>> camelcase(\"hello world\")\n 'helloWorld'\n >>> camelcase(\"HELLO_HT... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _normalize_words API.
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 _normalize_words API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Normalize case of each word to PascalCase. | "Normalize case of each word to PascalCase." | 42 | false | AlejandroFrias/case-conversion | _normalize_words | 21,622 | |
LDU_FT/hickeroar/simplebayes/count_token_occurrences | LDU_FT | [
"<BEGIN>\n## `train_token`",
"Trains a particular token (increases the weight/count of it)",
" :param word: the token we're going to train\n :type word: str\n :param count: the number of occurances in the sample\n :type count: int\n<END>",
"<BEGIN>\n## `untrain_token`",
"Untrains... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count_token_occurrences 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 count_token_occurrences 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 key/value set of word/count for a given sample of text
:param words: full list of all tokens, non-unique
:type words: list
:return: key/value pairs of words and their counts in the list
:rtype: dict | "Creates a key/value set of word/count for a given sample of text\n\n :param words: full list of all tokens, non-unique\n :type words: list\n :return: key/value pairs of words and their counts in the list\n :rtype: dict" | 40 | false | hickeroar/simplebayes | count_token_occurrences | 21,623 | |
LDU_FT/tkaemming/django-subdomains/process_response | LDU_FT | [
"<BEGIN>\n## `url`",
"Resolves a URL in a template, using subdomain-based URL resolution.",
" If no subdomain is provided and a ``request`` is in the template context\n when rendering, the URL will be resolved relative to the current request's\n subdomain. If no ``request`` is provided, the URL will be... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_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 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_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 ... | Forces the HTTP ``Vary`` header onto requests to avoid having responses
cached across subdomains. | "Forces the HTTP ``Vary`` header onto requests to avoid having responses\n cached across subdomains." | 18 | false | tkaemming/django-subdomains | process_response | 21,624 | |
LDU_FT/lambdamusic/Ontospy/_rename_file | LDU_FT | [
"<BEGIN>\n## `main_cli`",
"Ontospy allows to extract and visualise ontology information included in RDF data. Use one of the commands listed below to find out more, or visit http://lambdamusic.github.io/ontospy\n<END>",
"<BEGIN>\n## `scan`",
"SCAN: get ontology data from RDF source and print out a report.\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _rename_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _rename_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Rename an ontology
2016-04-11: not a direct command anymore | "Rename an ontology\n 2016-04-11: not a direct command anymore" | 360 | false | lambdamusic/Ontospy | _rename_file | 21,625 | |
LDU_FT/fhcrc/taxtastic/filter_ranks | LDU_FT | [
"<BEGIN>\n## `action`",
"Roll back commands on a refpkg.",
" *args* should be an argparse object with fields refpkg (giving the\n path to the refpkg to operate on) and n (giving the number of\n operations to roll back).\n<END>",
"<BEGIN>\n## `taxtable_to_tree`",
"Read a CSV taxonomy from *handle* i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_ranks API.
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 filter_ranks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Find just the first rank for all the results for a given tax_id. | "Find just the first rank for all the results for a given tax_id." | 197 | false | fhcrc/taxtastic | filter_ranks | 21,626 | |
LDU_FT/asmodehn/filefinder2/_resolve_name | LDU_FT | [
"<BEGIN>\n## `strip_encoding_cookie`",
"Generator to pull lines from a text-mode file, skipping the encoding\n cookie if it is found in the first two lines.\n<END>",
"<BEGIN>\n## `source_to_unicode`",
"Converts a bytes string with python source code to unicode.\n Unicode strings are passed through uncha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _resolve_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _resolve_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Resolve a relative module name to an absolute one. | "Resolve a relative module name to an absolute one." | 64 | false | asmodehn/filefinder2 | _resolve_name | 21,627 | |
LDU_FT/lago-project/lago/_get_export_mgr | LDU_FT | [
"<BEGIN>\n## `expose`",
"Decorator to be used with :class:`SDKWrapper`. This decorator indicates\n that the wrapped method or class should be exposed in the proxied object.",
" Args:\n func(types.FunctionType/types.MethodType): function to decorate",
" Returns:\n None\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_export_mgr API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_export_mgr API.
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... | Returns:
(DiskExportManager): Handler for each disk | "Returns:\n (DiskExportManager): Handler for each disk" | 718 | false | lago-project/lago | _get_export_mgr | 21,628 | |
LDU_FT/radujica/baloo/weld_invert | LDU_FT | [
"<BEGIN>\n## `evaluate`",
"Evaluates by creating an Index containing evaluated data.",
" See `LazyResult`",
" Returns\n -------\n Index\n Index with evaluated data.\n<END>",
"<BEGIN>\n## `raw`",
"Decorator for eager functions checking input array\n and stripping a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the weld_invert API.
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 weld_invert API.
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... | Inverts a bool array.
Parameters
----------
array : numpy.ndarray or WeldObject
Input data. Assumed to be bool data.
Returns
-------
WeldObject
Representation of this computation. | "Inverts a bool array.\n\n Parameters\n ----------\n array : numpy.ndarray or WeldObject\n Input data. Assumed to be bool data.\n\n Returns\n -------\n WeldObject\n Representation of this computation." | 478 | false | radujica/baloo | weld_invert | 21,629 | |
LDU_FT/delfick/nose-of-yeti/output_for_debugging | LDU_FT | [
"<BEGIN>\n## `normalise_key`",
"Make sure key is a valid python attribute\n<END>",
"<BEGIN>\n## `use_options`",
"If extractor isn't specified, then just update self.values with options.",
" Otherwise update values with whatever the result of calling extractor with\n our template and th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the output_for_debugging 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 output_for_debugging API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | It will write the translated version of the file | "It will write the translated version of the file" | 59 | false | delfick/nose-of-yeti | output_for_debugging | 21,630 | |
LDU_FT/VisualOps/cli/start | LDU_FT | [
"<BEGIN>\n## `create_app`",
"insert app record when stack run as a app\n<END>",
"<BEGIN>\n## `create_container`",
"insert container record when create container\n<END>",
"<BEGIN>\n## `get_app_data`",
"get app data ( include name and app_data )\n<END>",
"<BEGIN>\n## `_get_config`",
"Get user docker con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API.
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 start API.
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... | Start the specified container
container
Container id
Returns boolean | "Start the specified container\n\n container\n Container id\n Returns boolean" | 90 | false | VisualOps/cli | start | 21,631 | |
LDU_FT/brocade/pynos/_get_ip_unnumbered | LDU_FT | [
"<BEGIN>\n## `local_asn`",
"Set BGP local ASN.",
" Args:\n local_as (str): Local ASN of NOS deice.\n rbridge_id (str): The rbridge ID of the device on which BGP will be\n configured in a VCS fabric.\n get (bool): Get config instead of editing config. (True,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_ip_unnumbered 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_ip_unnumbered API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Get and merge the `ip unnumbered` config from an interface.
You should not use this method.
You probably want `Interface.ip_unnumbered`.
Args:
unnumbered_type: XML document with the XML to get the donor type.
unnumbered_name: XML document with the XML to get the donor n... | "Get and merge the `ip unnumbered` config from an interface.\n\n You should not use this method.\n You probably want `Interface.ip_unnumbered`.\n\n Args:\n unnumbered_type: XML document with the XML to get the donor type.\n unnumbered_name: XML document with the XML to get the... | 711 | false | brocade/pynos | _get_ip_unnumbered | 21,632 | |
LDU_FT/modlinltd/django-advanced-filters/get_field_values_list | LDU_FT | [
"<BEGIN>\n## `changelist_view`",
"Add advanced_filters form to changelist context\n<END>",
"<BEGIN>\n## `filter_by_user`",
"All filters that should be displayed to a user (by users/group)\n<END>",
"<BEGIN>\n## `query`",
"De-serialize, decode and return an ORM query stored in b64_query.\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_field_values_list 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_field_values_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Iterate over a (possibly nested) dict, and return a list
of all children queries, as a dict of the following structure:
{
'field': 'some_field__iexact',
'value': 'some_value',
'value_from': 'optional_range_val1',
'value_to': 'optional_range_val2',
... | "Iterate over a (possibly nested) dict, and return a list\n of all children queries, as a dict of the following structure:\n {\n 'field': 'some_field__iexact',\n 'value': 'some_value',\n 'value_from': 'optional_range_val1',\n 'value_to': 'optional_range_val2',\n... | 37 | false | modlinltd/django-advanced-filters | get_field_values_list | 21,633 | |
LDU_FT/pavlov99/jsonapi/merge_metas | LDU_FT | [
"<BEGIN>\n## `default`",
"Encode JSON.",
" :return str: A JSON encoded string\n<END>",
"<BEGIN>\n## `dump_document`",
"Get document for model_instance.",
" redefine dump rule for field x: def dump_document_x",
" :param django.db.models.Model instance: model instance\n :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_metas API.
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_metas API.
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 meta parameters.
next meta has priority over current, it will overwrite attributes.
:param class or None meta: class with properties.
:return class: merged meta. | "Merge meta parameters.\n\n next meta has priority over current, it will overwrite attributes.\n\n :param class or None meta: class with properties.\n :return class: merged meta." | 63 | false | pavlov99/jsonapi | merge_metas | 21,634 | |
LDU_FT/IDSIA/sacred/command | LDU_FT | [
"<BEGIN>\n## `open_resource`",
"Open a file and also save it as a resource.",
" Opens a file, reports it to the observers as a resource, and returns\n the opened file.",
" In Sacred terminology a resource is a file that the experiment needed\n to access during a run. In case of a M... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Decorator to define a new command for this Ingredient or Experiment.
The name of the command will be the name of the function. It can be
called from the command-line or by using the run_command function.
Commands are automatically also captured functions.
The command can be given a pr... | "Decorator to define a new command for this Ingredient or Experiment.\n\n The name of the command will be the name of the function. It can be\n called from the command-line or by using the run_command function.\n\n Commands are automatically also captured functions.\n\n The command can be gi... | 284 | false | IDSIA/sacred | command | 21,635 | |
LDU_FT/guaix-ucm/numina/range_validator | LDU_FT | [
"<BEGIN>\n## `combine`",
"Combine HDUList objects using algorithm 'method\n<END>",
"<BEGIN>\n## `logging_from_debugplot`",
"Set debugging level based on debugplot value.",
" Parameters\n ----------\n debugplot : int\n Debugging level for messages and plots. For details see\n '... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the range_validator API.
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 range_validator API.
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... | Generates a function that validates that a number is within range
Parameters
==========
minval: numeric, optional:
Values strictly lesser than `minval` are rejected
maxval: numeric, optional:
Values strictly greater than `maxval` are rejected
Returns
=======
A function that... | "Generates a function that validates that a number is within range\n\n Parameters\n ==========\n minval: numeric, optional:\n Values strictly lesser than `minval` are rejected\n maxval: numeric, optional:\n Values strictly greater than `maxval` are rejected\n\n Returns\n =======\n A f... | 605 | false | guaix-ucm/numina | range_validator | 21,636 | |
LDU_FT/CameronLonsdale/lantern/_load_ngram | LDU_FT | [
"<BEGIN>\n## `frequency_to_probability`",
"Transform a ``frequency_map`` into a map of probability using the sum of all frequencies as the total.",
" Example:\n >>> frequency_to_probability({'a': 2, 'b': 2})\n {'a': 0.5, 'b': 0.5}",
" Args:\n frequency_map (dict): The dictionary to ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_ngram API.
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 _load_ngram API.
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... | Dynamically import the python module with the ngram defined as a dictionary.
Since bigger ngrams are large files its wasteful to always statically import them if they're not used. | "Dynamically import the python module with the ngram defined as a dictionary.\n Since bigger ngrams are large files its wasteful to always statically import them if they're not used." | 131 | false | CameronLonsdale/lantern | _load_ngram | 21,637 | |
LDU_FT/joytunes/JTLocalize/handle_duplications | LDU_FT | [
"<BEGIN>\n## `handle_duplications`",
"Omits the duplications in the strings files.\n Keys that appear more than once, will be joined to one appearance and the omit will be documented.",
" Args:\n file_path (str): The path to the strings file.\n<END>",
"<BEGIN>\n## `add_comments`",
"Add comm... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_duplications 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 handle_duplications 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... | Omits the duplications in the strings files.
Keys that appear more than once, will be joined to one appearance and the omit will be documented.
Args:
file_path (str): The path to the strings file. | "Omits the duplications in the strings files.\n Keys that appear more than once, will be joined to one appearance and the omit will be documented.\n\n Args:\n file_path (str): The path to the strings file." | 104 | false | joytunes/JTLocalize | handle_duplications | 21,638 | |
LDU_FT/getpelican/pelican-plugins/get_oldest_filename | LDU_FT | [
"<BEGIN>\n## `get_gif`",
"Returns dict with gif informations from the API.\n<END>",
"<BEGIN>\n## `main`",
"Doing the regex parsing and running the create_html function.\n<END>",
"<BEGIN>\n## `filetime_from_git`",
"Update modification and creation times from git\n<END>",
"<BEGIN>\n## `update_hash_from_st... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_oldest_filename API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_oldest_filename API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Get the original filename of this content. Implies follow | "Get the original filename of this content. Implies follow" | 247 | false | getpelican/pelican-plugins | get_oldest_filename | 21,639 | |
LDU_FT/requests/requests-kerberos/authenticate_user | LDU_FT | [
"<BEGIN>\n## `get_version`",
"Simple function to extract the current version using regular expressions.\n<END>",
"<BEGIN>\n## `_negotiate_value`",
"Extracts the gssapi authentication token from the appropriate header\n<END>",
"<BEGIN>\n## `_get_channel_bindings_application_data`",
"https://tools.ietf.org/... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Handles user authentication with gssapi/kerberos | "Handles user authentication with gssapi/kerberos" | 23 | false | requests/requests-kerberos | authenticate_user | 21,640 | |
LDU_FT/davidsoncasey/quiver/regex_check | LDU_FT | [
"<BEGIN>\n## `regex_check`",
"A quick regular expression check to see that the input is sane",
" Args:\n equation_str (str): String of equation to be parsed by sympify\n function. Expected to be valid Python.",
" Raises:\n BadInputError: If input does not look safe to parse as an equati... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the regex_check API.
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 regex_check API.
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... | A quick regular expression check to see that the input is sane
Args:
equation_str (str): String of equation to be parsed by sympify
function. Expected to be valid Python.
Raises:
BadInputError: If input does not look safe to parse as an equation. | "A quick regular expression check to see that the input is sane\n \n Args:\n equation_str (str): String of equation to be parsed by sympify\n function. Expected to be valid Python.\n \n Raises:\n BadInputError: If input does not look safe to parse as an equation." | 24 | false | davidsoncasey/quiver | regex_check | 21,641 | |
LDU_FT/pypa/setuptools/reinitialize_command | LDU_FT | [
"<BEGIN>\n## `indentedBlock`",
"Helper method for defining space-delimited indentation blocks, such as\r\n those used to define block statements in Python source code.\r",
" Parameters:\r\n - blockStatementExpr - expression defining syntax of statement that\r\n is repeated within the indent... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reinitialize_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reinitialize_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Supplement reinitialize_command to work around
http://bugs.python.org/issue20819 | "Supplement reinitialize_command to work around\n http://bugs.python.org/issue20819" | 565 | false | pypa/setuptools | reinitialize_command | 21,642 | |
LDU_FT/goldsborough/ecstasy/beautify | LDU_FT | [
"<BEGIN>\n## `codify`",
"Gets escape-codes for flag combinations.",
"\tArguments:\n\t\tcombination (int): Either a single integer-convertible flag\n\t\t\t\t\t\t or an OR'd flag-combination.\n\tReturns:\n\t\tA semi-colon-delimited string of appropriate escape sequences.",
"\tRaises:\n\t\terrors.FlagError if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the beautify API.
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 beautify API.
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... | Wraps together all actions needed to beautify a string, i.e.
parse the string and then stringify the phrases (replace tags
with formatting codes).
Arguments:
string (str): The string to beautify/parse.
Returns:
The parsed, stringified and ultimately beautified string.
Raises:
errors.ArgumentError ... | "Wraps together all actions needed to beautify a string, i.e.\n\t\tparse the string and then stringify the phrases (replace tags\n\t\twith formatting codes).\n\n\t\tArguments:\n\t\t\tstring (str): The string to beautify/parse.\n\n\t\tReturns:\n\t\t\tThe parsed, stringified and ultimately beautified string.\n\n\t\tRaise... | 71 | false | goldsborough/ecstasy | beautify | 21,643 | |
LDU_FT/flo-compbio/genometools/read_msigdb_xml | LDU_FT | [
"<BEGIN>\n## `sum`",
"Sum over rows or columns.",
" Overrides the default `pandas.DataFrame.sum()` function to prevent\n temporary in-memory copies.\n<END>",
"<BEGIN>\n## `get_heatmap`",
"Generate a heatmap (`ExpHeatmap`) of the matrix.",
" See :class:`ExpHeatmap` constructor for keyw... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_msigdb_xml API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_msigdb_xml API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Read the complete MSigDB database from an XML file.
The XML file can be downloaded from here:
http://software.broadinstitute.org/gsea/msigdb/download_file.jsp?filePath=/resources/msigdb/5.0/msigdb_v5.0.xml
Parameters
----------
path: str
The path name of the XML fil... | "Read the complete MSigDB database from an XML file.\n\n The XML file can be downloaded from here:\n http://software.broadinstitute.org/gsea/msigdb/download_file.jsp?filePath=/resources/msigdb/5.0/msigdb_v5.0.xml\n\n Parameters\n ----------\n path: str\n The path name of th... | 496 | false | flo-compbio/genometools | read_msigdb_xml | 21,644 | |
LDU_FT/wind-python/windpowerlib/reduce_wind_speed | LDU_FT | [
"<BEGIN>\n## `reduce_wind_speed`",
"r\"\"\"\n Reduces wind speed by a wind efficiency curve.",
" The wind efficiency curves are provided in the windpowerlib and were\n calculated in the dena-Netzstudie II and in the work of Knorr\n (see [1]_ and [2]_).",
" Parameters\n ----------\n wind_s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reduce_wind_speed API.
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 reduce_wind_speed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | r"""
Reduces wind speed by a wind efficiency curve.
The wind efficiency curves are provided in the windpowerlib and were
calculated in the dena-Netzstudie II and in the work of Knorr
(see [1]_ and [2]_).
Parameters
----------
wind_speed : pandas.Series or numpy.array
Wind speed tim... | "r\"\"\"\n Reduces wind speed by a wind efficiency curve.\n\n The wind efficiency curves are provided in the windpowerlib and were\n calculated in the dena-Netzstudie II and in the work of Knorr\n (see [1]_ and [2]_).\n\n Parameters\n ----------\n wind_speed : pandas.Series or numpy.array\n ... | 249 | false | wind-python/windpowerlib | reduce_wind_speed | 21,645 | |
LDU_FT/carpedm20/ndrive/do_get | LDU_FT | [
"<BEGIN>\n## `login`",
"Log in Naver and get cookie",
" Agrs:\n user_id: Naver account's login id\n password: Naver account's login password",
" Returns:\n True: Login success\n False: Login failed",
" Remarks:\n self.cookie is a di... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Copy file from Ndrive to local file and print out out the metadata.
Examples:
Ndrive> get file.txt ~/ndrive-file.txt | "Copy file from Ndrive to local file and print out out the metadata.\n\n Examples:\n Ndrive> get file.txt ~/ndrive-file.txt" | 170 | false | carpedm20/ndrive | do_get | 21,646 | |
LDU_FT/moonso/vcf_parser/split_genotype | LDU_FT | [
"<BEGIN>\n## `build_models_dict`",
"Take a list with annotated genetic inheritance patterns for each\n family and returns a dictionary with family_id as key and a list of\n genetic models as value.",
" Args:\n annotated_models : A list on the form ['1:AD','2:AR_comp|AD_dn']",
" Returns:\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_genotype API.
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 split_genotype API.
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... | Take a genotype call and make a new one that is working for the new
splitted variant
Arguments:
genotype (str): The original genotype call
gt_format (str): The format of the gt call
alternative_number (int): What genotype call should we return
allele_symbol (str): How should... | "Take a genotype call and make a new one that is working for the new\n splitted variant\n \n Arguments:\n genotype (str): The original genotype call\n gt_format (str): The format of the gt call\n alternative_number (int): What genotype call should we return\n allele_symbol (str): Ho... | 71 | false | moonso/vcf_parser | split_genotype | 21,647 | |
LDU_FT/svenkreiss/databench/get | LDU_FT | [
"<BEGIN>\n## `color`",
"triangles.",
" Colors:\n - http://paletton.com/#uid=70l150klllletuehUpNoMgTsdcs shade 2\n<END>",
"<BEGIN>\n## `on`",
"Decorator for action handlers.",
" The action name is inferred from the function name.",
" This also decorates the method with `tornado.gen.coroutine`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Render the List-of-Analyses overview page. | "Render the List-of-Analyses overview page." | 86 | false | svenkreiss/databench | get | 21,648 | |
LDU_FT/ynop/audiomate/concatenate | LDU_FT | [
"<BEGIN>\n## `load`",
"Load and return the corpus from the given path.",
" Args:\n path (str): Path to the data set to load.",
" Returns:\n Corpus: The loaded corpus",
" Raises:\n IOError: When the data set is invalid, for example because required files ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the concatenate API.
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 concatenate API.
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... | Take a list of stats from different sets of data points and
merge the stats for getting stats overall data points.
Args:
list_of_stats (iterable): A list containing stats for different sets of data points.
Returns:
DataStats: Stats calculated overall sets of data points... | "Take a list of stats from different sets of data points and\n merge the stats for getting stats overall data points.\n\n Args:\n list_of_stats (iterable): A list containing stats for different sets of data points.\n\n Returns:\n DataStats: Stats calculated overall sets of dat... | 619 | false | ynop/audiomate | concatenate | 21,649 | |
LDU_FT/NiklasRosenstein-Python/nr-deprecated/clear | LDU_FT | [
"<BEGIN>\n## `skip`",
"Must be called from within `__enter__()`. Performs some magic to have a\n #ContextSkipped exception be raised the moment the with context is entered.\n The #ContextSkipped must then be handled in `__exit__()` to suppress the\n propagation of the exception.",
" > Important: This functi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clear API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clear API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Removes all pending Jobs from the queue and return them in a list. This
method does **no**t call #Job.cancel() on any of the jobs. If you want
that, use #cancel_all() or call it manually. | "Removes all pending Jobs from the queue and return them in a list. This\n method does **no**t call #Job.cancel() on any of the jobs. If you want\n that, use #cancel_all() or call it manually." | 305 | false | NiklasRosenstein-Python/nr-deprecated | clear | 21,650 | |
LDU_FT/rainwoodman/kdcount/reduce | LDU_FT | [
"<BEGIN>\n## `compute_sum_values`",
"Return the sum1_ij and sum2_ij values given\n the input indices and data instances.",
" Notes\n -----\n This is called in `Binning.update_sums` to compute\n the `sum1` and `sum2` contributions for indices `(i,j)`",
" Parameters\n ----------\n i,j : ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reduce API.
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 reduce API.
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 ... | The internal reduce function that sums the results from various
processors | "The internal reduce function that sums the results from various\n processors" | 69 | false | rainwoodman/kdcount | reduce | 21,651 | |
LDU_FT/mardiros/pyshop/release_urls | LDU_FT | [
"<BEGIN>\n## `update_model`",
"trivial implementation for simple data in the form,\n using the model prefix.\n<END>",
"<BEGIN>\n## `locale_negotiator`",
"Locale negotiator base on the `Accept-Language` header\n<END>",
"<BEGIN>\n## `main`",
"Get a PyShop WSGI application configured with settings.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the release_urls API.
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 release_urls API.
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... | Retrieve a list of download URLs for the given package release.
Returns a list of dicts with the following keys:
url
packagetype ('sdist', 'bdist', etc)
filename
size
md5_digest
downloads
has_sig
python_version (required version, or 'source', or 'any')... | "Retrieve a list of download URLs for the given package release.\n Returns a list of dicts with the following keys:\n url\n packagetype ('sdist', 'bdist', etc)\n filename\n size\n md5_digest\n downloads\n has_sig\n python_version (required version, or 'source',... | 135 | false | mardiros/pyshop | release_urls | 21,652 | |
LDU_FT/MolSSI-BSE/basis_set_exchange/validate_data | LDU_FT | [
"<BEGIN>\n## `read_gbasis`",
"Reads gbasis-formatted file data and converts it to a dictionary with the\n usual BSE fields",
" Note that the gbasis format does not store all the fields we\n have, so some fields are left blank\n<END>",
"<BEGIN>\n## `read_molcas`",
"Reads molcas-formatted fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_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 ext... | Validates json basis set data against a schema
Parameters
----------
file_type : str
Type of file to read. May be 'component', 'element', 'table', or 'references'
bs_data:
Data to be validated
Raises
------
RuntimeError
If the file_type is not valid (and/or a schema... | "Validates json basis set data against a schema\n\n Parameters\n ----------\n file_type : str\n Type of file to read. May be 'component', 'element', 'table', or 'references'\n bs_data:\n Data to be validated\n\n Raises\n ------\n RuntimeError\n If the file_type is not valid (an... | 408 | false | MolSSI-BSE/basis_set_exchange | validate_data | 21,653 | |
LDU_FT/slimkrazy/python-google-places/name | LDU_FT | [
"<BEGIN>\n## `_fetch_remote_file`",
"Retrieves a file from a URL.",
" Returns a tuple (mimetype, filename, data)\n<END>",
"<BEGIN>\n## `geocode_location`",
"Converts a human-readable location to lat-lng.",
" Returns a dict with lat and lng keys.",
" keyword arguments:\n location -- A human-r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Returns the human-readable name of the place. | "Returns the human-readable name of the place." | 72 | false | slimkrazy/python-google-places | name | 21,654 | |
LDU_FT/fake-name/ChromeController/Debugger_setPauseOnExceptions | LDU_FT | [
"<BEGIN>\n## `close_chromium`",
"Close the remote chromium instance.",
"\t\tThis command is normally executed as part of the class destructor.\n\t\tIt can be called early without issue, but calling ANY class functions\n\t\tafter the remote chromium instance is shut down will have unknown effects.",
"\t\tNote ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Debugger_setPauseOnExceptions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Debugger_setPauseOnExceptions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Function path: Debugger.setPauseOnExceptions
Domain: Debugger
Method name: setPauseOnExceptions
Parameters:
Required arguments:
'state' (type: string) -> Pause on exceptions mode.
No return value.
Description: Defines pause on exceptions state. Can be set to stop on all exceptions, uncaugh... | "Function path: Debugger.setPauseOnExceptions\n\t\t\tDomain: Debugger\n\t\t\tMethod name: setPauseOnExceptions\n\t\t\n\t\t\tParameters:\n\t\t\t\tRequired arguments:\n\t\t\t\t\t'state' (type: string) -> Pause on exceptions mode.\n\t\t\tNo return value.\n\t\t\n\t\t\tDescription: Defines pause on exceptions state. Can be ... | 709 | false | fake-name/ChromeController | Debugger_setPauseOnExceptions | 21,655 | |
LDU_FT/payu-org/payu/copy_file | LDU_FT | [
"<BEGIN>\n## `set_model_pathnames`",
"Define the paths associated with this model.\n<END>",
"<BEGIN>\n## `archive`",
"Store model output to laboratory archive.\n<END>",
"<BEGIN>\n## `parse`",
"Parse the command line inputs and execute the subcommand.\n<END>",
"<BEGIN>\n## `get_model_type`",
"Determine... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns flag which says to copy rather than link a file. | "Returns flag which says to copy rather than link a file." | 78 | false | payu-org/payu | copy_file | 21,656 | |
LDU_FT/user-cont/conu/usage | LDU_FT | [
"<BEGIN>\n## `clean`",
"remove the directory we operated on",
" :return: None\n<END>",
"<BEGIN>\n## `initialize`",
"create the directory if needed and configure it",
" :return: None\n<END>",
"<BEGIN>\n## `_set_selinux_context`",
"Set SELinux context or fields using chcon program. Raises ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the usage API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the usage API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Provide output of `s2i usage`
:return: str | "Provide output of `s2i usage`\n\n :return: str" | 487 | false | user-cont/conu | usage | 21,657 | |
LDU_FT/rohankapoorcom/zm-py/_zm_request | LDU_FT | [
"<BEGIN>\n## `active`",
"Indicate if this RunState is currently active.\n<END>",
"<BEGIN>\n## `_zm_request`",
"Perform a request to the ZoneMinder API.\n<END>",
"<BEGIN>\n## `get_monitors`",
"Get a list of Monitors from the ZoneMinder API.\n<END>",
"<BEGIN>\n## `get_run_states`",
"Get a list of RunSta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _zm_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _zm_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Perform a request to the ZoneMinder API. | "Perform a request to the ZoneMinder API." | 33 | false | rohankapoorcom/zm-py | _zm_request | 21,658 | |
LDU_FT/JarryShaw/PyPCAPKit/_read_data_type_none | LDU_FT | [
"<BEGIN>\n## `_missing_`",
"Lookup function used when value is not found.\n<END>",
"<BEGIN>\n## `count`",
"S.count(value) -> integer -- return number of occurrences of value\n<END>",
"<BEGIN>\n## `index`",
"S.index(value, [start, [stop]]) -> integer -- return first index of value.\n Raises Value... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_data_type_none API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_data_type_none API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Read IPv6-Route unknown type data.
Structure of IPv6-Route unknown type data [RFC 8200][RFC 5095]:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Next Header | Hdr Ext Len | Routing Type | Segments Left |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-... | "Read IPv6-Route unknown type data.\n\n Structure of IPv6-Route unknown type data [RFC 8200][RFC 5095]:\n +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n | Next Header | Hdr Ext Len | Routing Type | Segments Left |\n +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-... | 733 | false | JarryShaw/PyPCAPKit | _read_data_type_none | 21,659 | |
LDU_FT/swevm/scaleio-py/snapshots | LDU_FT | [
"<BEGIN>\n## `get`",
"Returns a `list` of all the `System` objects to the cluster. Updates every time - no caching.\n :return: a `list` of all the `System` objects known to the cluster.\n :rtype: list\n<END>",
"<BEGIN>\n## `set_sds_name`",
"Set name for SDS\n :param name: Name of SDS\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the snapshots API.
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 snapshots API.
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 all Volumes of type Snapshot. Updates every time - no caching.
:return: a `list` of all the `ScaleIO_Volume` that have a are of type Snapshot.
:rtype: list | "Get all Volumes of type Snapshot. Updates every time - no caching.\n :return: a `list` of all the `ScaleIO_Volume` that have a are of type Snapshot.\n :rtype: list" | 113 | false | swevm/scaleio-py | snapshots | 21,660 | |
LDU_FT/BDNYC/astrodbkit/get_bibtex | LDU_FT | [
"<BEGIN>\n## `dict_tovot`",
"Converts dictionary table **tabdata** to a VOTable with name **tabname**",
" Parameters\n ----------\n tabdata: list\n SQL query dictionary list from running query_dict.execute()\n tabname: str\n The name of the VOTable to be created\n phot: bool\n Para... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_bibtex API.
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_bibtex API.
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... | Grab bibtex entry from NASA ADS
Parameters
----------
id: int or str
The id or shortname from the PUBLICATIONS table to search
fetch: bool
Whether or not to return the bibtex string in addition to printing (default: False)
table: str
Table nam... | "Grab bibtex entry from NASA ADS\n\n Parameters\n ----------\n id: int or str\n The id or shortname from the PUBLICATIONS table to search\n fetch: bool\n Whether or not to return the bibtex string in addition to printing (default: False)\n table: str\n ... | 166 | false | BDNYC/astrodbkit | get_bibtex | 21,661 | |
LDU_FT/palantir/typedjsonrpc/params | LDU_FT | [
"<BEGIN>\n## `from_error`",
"Wraps another Exception in an InternalError.",
" :param exc_info: The exception info for the wrapped exception\n :type exc_info: (type, object, traceback)\n :type json_encoder: json.JSONEncoder\n :type debug_url: str | None\n :rtype: InternalError"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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.
The extracted ... | The parameters for this method in a JSON-compatible format
:rtype: list[dict[str, str]] | "The parameters for this method in a JSON-compatible format\n\n :rtype: list[dict[str, str]]" | 73 | false | palantir/typedjsonrpc | params | 21,662 | |
LDU_FT/gplepage/gvar/fmt_chi2 | LDU_FT | [
"<BEGIN>\n## `deriv`",
"Compute *n*-th derivative of ``self``.",
" :param n: Number of derivatives.\n :type n: positive integer\n :returns: *n*-th derivative of ``self``.\n<END>",
"<BEGIN>\n## `integ`",
"Compute *n*-th indefinite integral of ``self``.",
" If *x0* is specified, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fmt_chi2 API.
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 fmt_chi2 API.
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 string containing ``chi**2/dof``, ``dof`` and ``Q`` from ``f``.
Assumes ``f`` has attributes ``chi2``, ``dof`` and ``Q``. The
logarithm of the Bayes factor will also be printed if ``f`` has
attribute ``logGBF``. | "Return string containing ``chi**2/dof``, ``dof`` and ``Q`` from ``f``.\n\n Assumes ``f`` has attributes ``chi2``, ``dof`` and ``Q``. The\n logarithm of the Bayes factor will also be printed if ``f`` has\n attribute ``logGBF``." | 206 | false | gplepage/gvar | fmt_chi2 | 21,663 | |
LDU_FT/ArabellaTech/django-basic-cms/is_first_root | LDU_FT | [
"<BEGIN>\n## `move_page`",
"Move the page to the requested target, at the given\n position.\n<END>",
"<BEGIN>\n## `sub_menu`",
"Render the children of the requested page with the sub_menu\n template.\n<END>",
"<BEGIN>\n## `parse_placeholder`",
"Parse the `PlaceholderNode` parameters.",
" Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_first_root API.
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_first_root API.
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 ``True`` if this page is the first root pages. | "Return ``True`` if this page is the first root pages." | 91 | false | ArabellaTech/django-basic-cms | is_first_root | 21,664 | |
LDU_FT/hobson/pug-invest/get_column_labels | LDU_FT | [
"<BEGIN>\n## `log_loss`",
"Log of the loss (error) summed over all entries",
" The negative of the logarithm of the frequency (probability) of the predicted\n label given the true binary label for a category.",
" Arguments:\n predicted (np.array of float): 2-D table of probabilities for each\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_column_labels API.
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_column_labels API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Retrieve the column labels/keys from any DataFrame or QuerySet-like table object
>>> from collections import OrderedDict
>>> get_column_labels(OrderedDict(zip('ABC', pd.np.arange(12).reshape((3,4)))))
['A', 'B', 'C'] | "Retrieve the column labels/keys from any DataFrame or QuerySet-like table object\n\n >>> from collections import OrderedDict\n >>> get_column_labels(OrderedDict(zip('ABC', pd.np.arange(12).reshape((3,4)))))\n ['A', 'B', 'C']" | 205 | false | hobson/pug-invest | get_column_labels | 21,665 | |
LDU_FT/rosenbrockc/acorn/_split_object | LDU_FT | [
"<BEGIN>\n## `cascade`",
"Restores a sequence of string definitions using the first entry as the\n original and then applying a series of :func:`~acorn.logging.diff.restore`\n calls.",
" Args:\n sequence (list): of results returned by\n :func:`~acorn.logging.diff.compress`, except that ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _split_object API.
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 _split_object API.
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... | Splits the specified object into its modules, classes, methods and
functions so that it can be decorated more easily. For extension
modules/classes that can't have attributes set, the object's dictionary is
modified to point to a derived-type version.
Args:
pobj: object instance returned from t... | "Splits the specified object into its modules, classes, methods and\n functions so that it can be decorated more easily. For extension\n modules/classes that can't have attributes set, the object's dictionary is\n modified to point to a derived-type version.\n\n Args:\n pobj: object instance returned... | 263 | false | rosenbrockc/acorn | _split_object | 21,666 | |
LDU_FT/raphaelvallat/pingouin/epsilon | LDU_FT | [
"<BEGIN>\n## `plot_blandaltman`",
"Generate a Bland-Altman plot to compare two sets of measurements.",
" Parameters\n ----------\n x, y : np.array or list\n First and second measurements.\n agreement : float\n Multiple of the standard deviation to plot limit of agreement bounds.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the epsilon API.
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 epsilon API.
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... | Epsilon adjustement factor for repeated measures.
Parameters
----------
data : pd.DataFrame
DataFrame containing the repeated measurements.
``data`` must be in wide-format. To convert from wide to long format,
use the :py:func:`pandas.pivot_table` function.
correction : string
... | "Epsilon adjustement factor for repeated measures.\n\n Parameters\n ----------\n data : pd.DataFrame\n DataFrame containing the repeated measurements.\n ``data`` must be in wide-format. To convert from wide to long format,\n use the :py:func:`pandas.pivot_table` function.\n correction :... | 1,159 | true | raphaelvallat/pingouin | epsilon | 21,667 | |
LDU_FT/hadrianl/huobi/get_symbols | LDU_FT | [
"<BEGIN>\n## `async_request`",
"异步并发请求\n :param reqs: 请求列表\n :return:\n<END>",
"<BEGIN>\n## `get_kline`",
"获取KLine\n :param symbol\n :param period: 可选值:{1min, 5min, 15min, 30min, 60min, 1day, 1mon, 1week, 1year }\n :param size: 可选值: [1,2000]\n :return:\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_symbols API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_symbols API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | 获取支持的交易对
:param site:
:return: | "获取支持的交易对\n :param site:\n :return:" | 108 | false | hadrianl/huobi | get_symbols | 21,668 | |
LDU_FT/alephdata/memorious/size | LDU_FT | [
"<BEGIN>\n## `size`",
"Total operations pending for this crawler\n<END>",
"<BEGIN>\n## `read_word`",
"OCR a single word from an image. Useful for captchas.\n Image should be pre-processed to remove noise etc.\n<END>",
"<BEGIN>\n## `read_char`",
"OCR a single character from an image. Useful for capt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the size API.
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 size API.
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... | Total operations pending for this crawler | "Total operations pending for this crawler" | 71 | false | alephdata/memorious | size | 21,669 | |
LDU_FT/inspirehep/plotextractor/map_images_in_tex | LDU_FT | [
"<BEGIN>\n## `get_context`",
"Get context.",
" Given a relevant string from a TeX file, this function will extract text\n from it as far as it is deemed contextually relevant, either backwards or\n forwards in the text.\n The level of relevance allowed is configurable. When it reaches some\n poin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_images_in_tex API.
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 map_images_in_tex API.
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 caption and context for image references found in TeX sources. | "Return caption and context for image references found in TeX sources." | 80 | false | inspirehep/plotextractor | map_images_in_tex | 21,670 | |
LDU_FT/unixorn/logrus/mkdir_p | LDU_FT | [
"<BEGIN>\n## `humanTime`",
"Convert seconds to something more human-friendly\n<END>",
"<BEGIN>\n## `humanTimeConverter`",
"Cope whether we're passed a time in seconds on the command line or via stdin\n<END>",
"<BEGIN>\n## `findSubCommand`",
"Given a list ['foo','bar', 'baz'], attempts to create a command ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mkdir_p API.
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 mkdir_p API.
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... | Mimic `mkdir -p` since os module doesn't provide one.
:param str path: directory to create | "Mimic `mkdir -p` since os module doesn't provide one.\n\n :param str path: directory to create" | 14 | false | unixorn/logrus | mkdir_p | 21,671 | |
LDU_FT/cs50/check50/load_config | LDU_FT | [
"<BEGIN>\n## `install_dependencies`",
"Install all packages in dependency list via pip.\n<END>",
"<BEGIN>\n## `install_translations`",
"Add check translations according to ``config`` as a fallback to existing translations\n<END>",
"<BEGIN>\n## `await_results`",
"Ping {url} until it returns a results paylo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Load configuration file from ``check_dir / ".cs50.yaml"``, applying
defaults to unspecified values.
:param check_dir: directory from which to load config file
:type check_dir: str / Path
:rtype: dict | "Load configuration file from ``check_dir / \".cs50.yaml\"``, applying\n defaults to unspecified values.\n\n :param check_dir: directory from which to load config file\n :type check_dir: str / Path\n :rtype: dict" | 125 | false | cs50/check50 | load_config | 21,672 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.