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/pmacosta/pcsv/_tofloat
LDU_FT
[ "<BEGIN>\n## `dsort`", "r\"\"\"\n Sort file data.", " :param fname: Name of the comma-separated values file to sort\n :type fname: FileNameExists_", " :param order: Sort order\n :type order: :ref:`CsvColFilter`", " :param has_header: Flag that indicates whether the comma-separated\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _tofloat API. 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 _tofloat API. 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...
Convert to float if object is a float string.
"Convert to float if object is a float string."
171
false
pmacosta/pcsv
_tofloat
8,273
LDU_FT/xolox/python-coloredlogs/adjust_level
LDU_FT
[ "<BEGIN>\n## `install`", "Enable colored terminal output for Python's :mod:`logging` module.", " :param level: The default logging level (an integer or a string with a\n level name, defaults to :data:`DEFAULT_LOG_LEVEL`).\n :param logger: The logger to which the stream handler should be a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the adjust_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the adjust_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 extr...
Increase a logger's verbosity up to the requested level. :param logger: The logger to change (a :class:`~logging.Logger` object). :param level: The log level to enable (a string or number). This function is used by functions like :func:`install()`, :func:`increase_verbosity()` and :func:`.enable_syste...
"Increase a logger's verbosity up to the requested level.\n\n :param logger: The logger to change (a :class:`~logging.Logger` object).\n :param level: The log level to enable (a string or number).\n\n This function is used by functions like :func:`install()`,\n :func:`increase_verbosity()` and :func:`.enabl...
191
false
xolox/python-coloredlogs
adjust_level
8,274
LDU_FT/penguinmenac3/starttf/feed
LDU_FT
[ "<BEGIN>\n## `easy_train_and_evaluate`", "Train and evaluate your model without any boilerplate code.", " 1) Write your data using the starttf.tfrecords.autorecords.write_data method.\n 2) Create your hyper parameter file containing all required fields and then load it using\n starttf.utils.hyper_p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the feed API. 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 feed API. 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...
Set the input(s) for the next operation by replacing the terminal nodes. The arguments can be either layer names or the actual layers.
"Set the input(s) for the next operation by replacing the terminal nodes.\n The arguments can be either layer names or the actual layers."
120
false
penguinmenac3/starttf
feed
8,275
LDU_FT/Yelp/detect-secrets/_get_secrets_to_compare
LDU_FT
[ "<BEGIN>\n## `determine_file_type`", ":param filename: str", " :rtype: FileType\n<END>", "<BEGIN>\n## `write_baseline_to_file`", ":type filename: str\n :type data: dict\n :rtype: None\n<END>", "<BEGIN>\n## `load_baseline_from_string`", "Initializes a SecretsCollection object from string.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_secrets_to_compare 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_secrets_to_compare API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
:rtype: list(tuple) :param: tuple is in the following format: filename: str; filename where identified secret is found secret: dict; PotentialSecret json representation is_secret_removed: bool; has the secret been removed from the new baseline?
":rtype: list(tuple)\n :param: tuple is in the following format:\n filename: str; filename where identified secret is found\n secret: dict; PotentialSecret json representation\n is_secret_removed: bool; has the secret been removed from the\n new baseline?"
194
false
Yelp/detect-secrets
_get_secrets_to_compare
8,276
LDU_FT/lipoja/URLExtract/update_when_older
LDU_FT
[ "<BEGIN>\n## `_get_default_cache_dir`", "Returns default cache directory (data directory)", " :raises: CacheFileError when default cached file does not is exist\n :return: path to default cache directory\n :rtype: str\n<END>", "<BEGIN>\n## `_get_default_cache_file_path`", "Returns defau...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_when_older API. 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 update_when_older API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Update TLD list cache file if the list is older than number of days given in parameter `days` or if does not exist. :param int days: number of days from last change :return: True if update was successful, False otherwise :rtype: bool
"Update TLD list cache file if the list is older than\n number of days given in parameter `days` or if does not exist.\n\n :param int days: number of days from last change\n :return: True if update was successful, False otherwise\n :rtype: bool"
71
false
lipoja/URLExtract
update_when_older
8,277
LDU_FT/xsleonard/pystmark/_verify_dict_list
LDU_FT
[ "<BEGIN>\n## `send`", "Send a message.", " :param message: Message to send.\n :type message: `dict` or :class:`Message`\n :param api_key: Your Postmark API key. Required, if `test` is not `True`.\n :param secure: Use the https scheme for the Postmark API.\n Defaults to `True`\n :param test...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _verify_dict_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. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _verify_dict_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. The...
Validate a list of `dict`, ensuring it has specific keys and no others. :param values: A list of `dict` to validate. :param keys: A list of keys to validate each `dict` against. :param name: Name describing the values, to show in error messages.
"Validate a list of `dict`, ensuring it has specific keys\n and no others.\n\n :param values: A list of `dict` to validate.\n :param keys: A list of keys to validate each `dict` against.\n :param name: Name describing the values, to show in error messages."
113
false
xsleonard/pystmark
_verify_dict_list
8,278
LDU_FT/minio/minio-py/_list_incomplete_uploads
LDU_FT
[ "<BEGIN>\n## `run`", "Continously receive tasks and execute them\n<END>", "<BEGIN>\n## `result`", "Stop threads and return the result of all called tasks\n<END>", "<BEGIN>\n## `xml_marshal_bucket_constraint`", "Marshal's bucket constraint based on *region*.", " :param region: Region name of a given b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _list_incomplete_uploads 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 _list_incomplete_uploads API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
List incomplete uploads list all previously uploaded incomplete multipart objects. :param bucket_name: Bucket name to list uploaded objects. :param prefix: String specifying objects returned must begin with. :param recursive: If yes, returns all incomplete objects for a specified prefix. ...
"List incomplete uploads list all previously uploaded incomplete multipart objects.\n\n :param bucket_name: Bucket name to list uploaded objects.\n :param prefix: String specifying objects returned must begin with.\n :param recursive: If yes, returns all incomplete objects for a specified prefix.\n...
331
false
minio/minio-py
_list_incomplete_uploads
8,279
LDU_FT/Duke-GCB/lando-messaging/close
LDU_FT
[ "<BEGIN>\n## `raise_on_major_version_mismatch`", "Raises error if major version is different. Other wise logs the difference.\n :param work_request: WorkRequest: request that had a different version\n :param local_version: str: our version string that does not match message.version\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API. 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 close API. 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...
Close internal connection to AMQP if connected.
"Close internal connection to AMQP if connected."
50
false
Duke-GCB/lando-messaging
close
8,280
LDU_FT/azraq27/gini/process_string
LDU_FT
[ "<BEGIN>\n## `matches_from_list`", "Returns the members of ``options`` that best matches ``item``. Will prioritize\n exact matches, then filename-style matching, then fuzzy matching. Returns a tuple of item,\n index, match type, and fuzziness (if applicable)", " :item: string to match\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_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 ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_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 ex...
Searches the string (or list of strings) for an action word (a :class:`Concept` that has and ``action`` attached to it), then calls the appropriate function with a dictionary of the identified words (according to ``vocab``). For examples, see ``demo.py``
"Searches the string (or list of strings) for an action word (a :class:`Concept` that has and ``action`` attached\n to it), then calls the appropriate function with a dictionary of the identified words (according to ``vocab``).\n \n For examples, see ``demo.py``"
23
false
azraq27/gini
process_string
8,281
LDU_FT/PyHDI/Pyverilog/p_lpartselect
LDU_FT
[ "<BEGIN>\n## `_create_opt_rule`", "Given a rule name, creates an optional ply.yacc rule\n for it. The name of the optional rule is\n <rulename>_opt\n<END>", "<BEGIN>\n## `p_pragma_assign`", "pragma : LPAREN TIMES ID EQUALS expression TIMES RPAREN\n<END>", "<BEGIN>\n## `p_moduledef`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_lpartselect API. 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 p_lpartselect API. 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...
lpartselect : identifier LBRACKET expression COLON expression RBRACKET
"lpartselect : identifier LBRACKET expression COLON expression RBRACKET"
210
false
PyHDI/Pyverilog
p_lpartselect
8,282
LDU_FT/mongolab/dex/watch_logfile
LDU_FT
[ "<BEGIN>\n## `generate_query_report`", "Generates a comprehensive report on the raw query\n<END>", "<BEGIN>\n## `_ensure_index_cache`", "Adds a collections index entries to the cache if not present\n<END>", "<BEGIN>\n## `_generate_query_analysis`", "Translates a raw query object into a Dex query analysis\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the watch_logfile API. 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 watch_logfile API. 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...
Analyzes queries from the tail of a given log file
"Analyzes queries from the tail of a given log file"
30
false
mongolab/dex
watch_logfile
8,283
LDU_FT/bodylabs/lace/copy
LDU_FT
[ "<BEGIN>\n## `copy`", "Returns a deep copy with all of the numpy arrays copied\n If only is a list of strings, i.e. ['f', 'v'], then only those properties will be copied\n<END>", "<BEGIN>\n## `concatenate`", "Concatenates an arbitrary number of meshes.", " Currently supports vertices, vertex c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy API. 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 copy API. 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 a deep copy with all of the numpy arrays copied If only is a list of strings, i.e. ['f', 'v'], then only those properties will be copied
"Returns a deep copy with all of the numpy arrays copied\n If only is a list of strings, i.e. ['f', 'v'], then only those properties will be copied"
133
false
bodylabs/lace
copy
8,284
LDU_FT/what-studio/profiling/stop
LDU_FT
[ "<BEGIN>\n## `by_own_time_per_call`", "Sorting by exclusive elapsed time per call in descending order.\n<END>", "<BEGIN>\n## `result`", "Gets the frozen statistics to serialize by Pickle.\n<END>", "<BEGIN>\n## `dump`", "Saves the profiling result to a file", " :param dump_filename: path to a file...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Stops the instance. :raises RuntimeError: has not been started. :raises TypeError: :meth:`run` is not canonical.
"Stops the instance.\n\n :raises RuntimeError: has not been started.\n :raises TypeError: :meth:`run` is not canonical."
83
false
what-studio/profiling
stop
8,285
LDU_FT/abingham/spor/build_score_matrix
LDU_FT
[ "<BEGIN>\n## `_open_repo`", "Open and return the repository containing the specified file.", " The file is specified by looking up `path_key` in `args`. This value or\n `None` is passed to `open_repository`.", " Returns: A `Repository` instance.", " Raises:\n ExitError: If there is a prob...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_score_matrix 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_score_matrix 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...
Calculate the score and traceback matrices for two input sequences and scoring functions. Returns: A tuple of (score-matrix, traceback-matrix). Each entry in the score-matrix is a numeric score. Each entry in the traceback-matrix is a logical ORing of the direction bitfields.
"Calculate the score and traceback matrices for two input sequences and\n scoring functions.\n\n Returns: A tuple of (score-matrix, traceback-matrix). Each entry in the\n score-matrix is a numeric score. Each entry in the traceback-matrix is a\n logical ORing of the direction bitfields."
85
false
abingham/spor
build_score_matrix
8,286
LDU_FT/bear/ronkyuu/discoverEndpoint
LDU_FT
[ "<BEGIN>\n## `findMentions`", "Find all <a /> elements in the given html for a post. Only scan html element matching all criteria in look_in.", " optionally the content to be scanned can be given as an argument.", " If any have an href attribute that is not from the\n one of the items in exclude_doma...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the discoverEndpoint API. 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 discoverEndpoint API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Discover any WebMention endpoint for a given URL. :param link: URL to discover WebMention endpoint :param test_urls: optional flag to test URLs for validation :param headers: optional headers to send with any web requests :type headers dict :param timeout: optional timeout for web requests :typ...
"Discover any WebMention endpoint for a given URL.\n\n :param link: URL to discover WebMention endpoint\n :param test_urls: optional flag to test URLs for validation\n :param headers: optional headers to send with any web requests\n :type headers dict\n :param timeout: optional timeout for web requests\n...
26
false
bear/ronkyuu
discoverEndpoint
8,287
LDU_FT/euske/pdfminer/fsplit
LDU_FT
[ "<BEGIN>\n## `nextline`", "Fetches a next line that ends either with \\\\r or \\\\n.\n<END>", "<BEGIN>\n## `revreadlines`", "Fetches a next line backward.", " This is used to locate the trailers at the end of a file.\n<END>", "<BEGIN>\n## `nextobject`", "Yields a list of objects.", " Ret...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fsplit API. 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 fsplit API. 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 ...
Split a list into two classes according to the predicate.
"Split a list into two classes according to the predicate."
45
false
euske/pdfminer
fsplit
8,288
LDU_FT/Tanganelli/CoAPthon3/proxy_uri
LDU_FT
[ "<BEGIN>\n## `etag`", "Set the ETag of the resource.", " :param etag: the ETag\n<END>", "<BEGIN>\n## `payload`", "Get the payload of the resource according to the content type specified by required_content_type or\n \"text/plain\" by default.", " :return: the payload.\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the proxy_uri API. 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 proxy_uri API. 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 Proxy-Uri option of a request. :return: the Proxy-Uri values or None if not specified by the request :rtype : String
"Get the Proxy-Uri option of a request.\n\n :return: the Proxy-Uri values or None if not specified by the request\n :rtype : String"
478
false
Tanganelli/CoAPthon3
proxy_uri
8,289
LDU_FT/drdoctr/doctr/generate_ssh_key
LDU_FT
[ "<BEGIN>\n## `encrypt_variable`", "Encrypt an environment variable for ``build_repo`` for Travis", " ``variable`` should be a bytes object, of the form ``b'ENV=value'``.", " ``build_repo`` is the repo that ``doctr deploy`` will be run from. It\n should be like 'drdoctr/doctr'.", " ``tld`` should...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_ssh_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_ssh_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Generates an SSH deploy public and private key. Returns (private key, public key), a tuple of byte strings.
"Generates an SSH deploy public and private key.\n\n Returns (private key, public key), a tuple of byte strings."
128
false
drdoctr/doctr
generate_ssh_key
8,290
LDU_FT/ambitioninc/django-query-builder/insert
LDU_FT
[ "<BEGIN>\n## `get_sql`", "Generates the JOIN sql for the join tables and join condition", " :rtype: str\n :return: the JOIN sql for the join tables and join condition\n<END>", "<BEGIN>\n## `set_left_table`", "Sets the left table for this join clause. If no table is specified, the first table\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert API. 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 insert API. 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 ...
Inserts records into the db # TODO: implement this
"Inserts records into the db\n # TODO: implement this"
251
false
ambitioninc/django-query-builder
insert
8,291
LDU_FT/nschloe/optimesh/energy
LDU_FT
[ "<BEGIN>\n## `quasi_newton_uniform_lloyd`", "Relaxed Lloyd's algorithm. omega=1 leads to Lloyd's algorithm, overrelaxation\n omega=2 gives good results. Check out", " Xiao Xiao,\n Over-Relaxation Lloyd Method For Computing Centroidal Voronoi Tessellations,\n Master's thesis,\n <https://scholarcom...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the energy API. 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 energy API. 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 mesh energy is defined as E = int_Omega |u_l(x) - u(x)| rho(x) dx where u(x) = ||x||^2 and u_l is its piecewise linearization on the mesh.
"The mesh energy is defined as\n\n E = int_Omega |u_l(x) - u(x)| rho(x) dx\n\n where u(x) = ||x||^2 and u_l is its piecewise linearization on the mesh."
53
false
nschloe/optimesh
energy
8,292
LDU_FT/Apitax/Apitax/rename_driver_script
LDU_FT
[ "<BEGIN>\n## `get_driver_blacklist`", "Retrieve the blacklist in the driver", " Retrieve the blacklist in the driver # noqa: E501", " :param driver: The driver to use for the request. ie. github\n :type driver: str", " :rtype: Response\n<END>", "<BEGIN>\n## `get_driver_config`", "Retrieve th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rename_driver_script 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 rename_driver_script API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Rename a script Rename a script # noqa: E501 :param name: Get status of a driver with this name :type name: str :param rename: The data needed to save this script :type rename: dict | bytes :rtype: Response
"Rename a script\n\n Rename a script # noqa: E501\n\n :param name: Get status of a driver with this name\n :type name: str\n :param rename: The data needed to save this script\n :type rename: dict | bytes\n\n :rtype: Response"
137
false
Apitax/Apitax
rename_driver_script
8,293
LDU_FT/IdentityPython/oidcendpoint/setup_session
LDU_FT
[ "<BEGIN>\n## `client_authentication`", "Deal with client authentication", " :param request: The refresh access token request\n :param auth: Client authentication information\n :param kwargs: Extra keyword arguments\n :return: dictionary containing client id, client authentication met...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_session API. 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 setup_session API. 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...
Setting up a user session :param endpoint_context: :param areq: :param uid: :param acr: :param client_id: :param salt: :param authn_event: A already made AuthnEvent :return:
"Setting up a user session\n\n :param endpoint_context:\n :param areq:\n :param uid:\n :param acr:\n :param client_id:\n :param salt:\n :param authn_event: A already made AuthnEvent\n :return:"
180
false
IdentityPython/oidcendpoint
setup_session
8,294
LDU_FT/simpleai-team/simpleai/precision
LDU_FT
[ "<BEGIN>\n## `_all_expander`", "Expander that expands all nodes on the fringe.\n<END>", "<BEGIN>\n## `beam`", "Beam search.", " beam_size is the size of the beam.\n If iterations_limit is specified, the algorithm will end after that\n number of iterations. Else, it will continue until it can't find...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the precision API. 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 precision API. 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...
Runs the classifier for each example in `testset` and verifies that the classification is correct using the `target`. Returns a number between 0.0 and 1.0 with the precision of classification for this test set.
"Runs the classifier for each example in `testset`\n and verifies that the classification is correct\n using the `target`.\n\n Returns a number between 0.0 and 1.0 with the\n precision of classification for this test set."
130
false
simpleai-team/simpleai
precision
8,295
LDU_FT/kxgames/glooey/relay_events_from
LDU_FT
[ "<BEGIN>\n## `make_grid`", "Return rectangles for each cell in the specified grid. The rectangles are \n returned in a dictionary where the keys are (row, col) tuples.\n<END>", "<BEGIN>\n## `lorem_ipsum`", "Return the given amount of \"Lorem ipsum...\" text.\n<END>", "<BEGIN>\n## `relay_events_from`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the relay_events_from API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the relay_events_from API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Configure this handler to re-dispatch events from another handler. This method configures this handler dispatch an event of type *event_type* whenever *originator* dispatches events of the same type or any of the types in *more_event_types*. Any arguments passed to the original even...
"Configure this handler to re-dispatch events from another handler.\n\n This method configures this handler dispatch an event of type \n *event_type* whenever *originator* dispatches events of the same type \n or any of the types in *more_event_types*. Any arguments passed to the \n origina...
21
false
kxgames/glooey
relay_events_from
8,296
LDU_FT/Cog-Creators/Red-Lavalink/add
LDU_FT
[ "<BEGIN>\n## `wait_until_ready`", "Waits for the underlying node to become ready.", " If no_raise is set, returns false when a timeout occurs instead of propogating TimeoutError.\n A timeout of None means to wait indefinitely.\n<END>", "<BEGIN>\n## `connect`", "Connects to the voice channel as...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Adds a track to the queue. Parameters ---------- requester : discord.User User who requested the track. track : Track Result from any of the lavalink track search methods.
"Adds a track to the queue.\n\n Parameters\n ----------\n requester : discord.User\n User who requested the track.\n track : Track\n Result from any of the lavalink track search methods."
103
false
Cog-Creators/Red-Lavalink
add
8,297
LDU_FT/MacHu-GWU/uszipcode-project/from_query
LDU_FT
[ "<BEGIN>\n## `from_query`", "Execute an ORM style query, and return the result in\n :class:`prettytable.PrettyTable`.", " :param query: an ``sqlalchemy.orm.Query`` object.\n :param engine: an ``sqlalchemy.engine.base.Engine`` object.\n :param limit: int, limit rows to return.", " :return: a ``p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_query API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_query API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Execute an ORM style query, and return the result in :class:`prettytable.PrettyTable`. :param query: an ``sqlalchemy.orm.Query`` object. :param engine: an ``sqlalchemy.engine.base.Engine`` object. :param limit: int, limit rows to return. :return: a ``prettytable.PrettyTable`` object **中文文档** ...
"Execute an ORM style query, and return the result in\n :class:`prettytable.PrettyTable`.\n\n :param query: an ``sqlalchemy.orm.Query`` object.\n :param engine: an ``sqlalchemy.engine.base.Engine`` object.\n :param limit: int, limit rows to return.\n\n :return: a ``prettytable.PrettyTable`` object\n\n ...
208
false
MacHu-GWU/uszipcode-project
from_query
8,298
LDU_FT/kristianfoerster/melodist/disaggregate_wind
LDU_FT
[ "<BEGIN>\n## `calc_precipitation_stats`", "Calculates precipitation statistics for the cascade model while aggregating hourly observations", " Parameters\n ----------\n months : Months for each seasons to be used for statistics (array of numpy array, default=1-12, e.g., [np.arange(12...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disaggregate_wind API. 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 disaggregate_wind API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Disaggregate wind speed. Parameters ---------- method : str, optional Disaggregation method. ``equal`` Mean daily wind speed is duplicated for the 24 hours of the day. (Default) ``cosine`` Distributes daily mean wind speed us...
"Disaggregate wind speed.\n\n Parameters\n ----------\n method : str, optional\n Disaggregation method.\n\n ``equal``\n Mean daily wind speed is duplicated for the 24 hours of the day. (Default)\n\n ``cosine``\n Distributes daily mean w...
205
false
kristianfoerster/melodist
disaggregate_wind
8,299
LDU_FT/coagulant/django-twitter-tag/get_search_cache_key
LDU_FT
[ "<BEGIN>\n## `enrich`", "Apply the local presentation logic to the fetched data.\n<END>", "<BEGIN>\n## `get_user_cache_key`", "Generate suitable key to cache twitter tag context\n<END>", "<BEGIN>\n## `get_search_cache_key`", "Generate suitable key to cache twitter tag context\n<END>", "<BEGIN>\n## `urli...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_search_cache_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_search_cache_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Generate suitable key to cache twitter tag context
"Generate suitable key to cache twitter tag context"
10
false
coagulant/django-twitter-tag
get_search_cache_key
8,300
LDU_FT/googleapis/google-auth-library-python/with_claims
LDU_FT
[ "<BEGIN>\n## `_convert_oauth2_credentials`", "Converts to :class:`google.oauth2.credentials.Credentials`.", " Args:\n credentials (Union[oauth2client.client.OAuth2Credentials,\n oauth2client.client.GoogleCredentials]): The credentials to\n convert.", " Returns:\n goog...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the with_claims API. 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 with_claims API. 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...
Returns a copy of these credentials with modified claims. Args: issuer (str): The `iss` claim. If unspecified the current issuer claim will be used. subject (str): The `sub` claim. If unspecified the current subject claim will be used. additio...
"Returns a copy of these credentials with modified claims.\n\n Args:\n issuer (str): The `iss` claim. If unspecified the current issuer\n claim will be used.\n subject (str): The `sub` claim. If unspecified the current subject\n claim will be used.\n ...
311
false
googleapis/google-auth-library-python
with_claims
8,301
LDU_FT/costastf/locationsharinglib/apply
LDU_FT
[ "<BEGIN>\n## `get_shared_people`", "Retrieves all people that share their location with this account\n<END>", "<BEGIN>\n## `get_authenticated_person`", "Retrieves the person associated with this account\n<END>", "<BEGIN>\n## `get_coordinates_by_nickname`", "Retrieves a person's coordinates by nickname\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply API. 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 apply API. 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...
Apply parsed patch, optionally stripping leading components from file paths. `root` parameter specifies working dir. return True on success
"Apply parsed patch, optionally stripping leading components\n from file paths. `root` parameter specifies working dir.\n return True on success"
61
false
costastf/locationsharinglib
apply
8,302
LDU_FT/pantsbuild/pants/get_target_from_spec
LDU_FT
[ "<BEGIN>\n## `load_file_contents`", "Loads config from the given string payloads.", " A handful of seed values will be set to act as if specified in the loaded config file's DEFAULT\n section, and be available for use in substitutions. The caller may override some of these\n seed values.", " :par...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_target_from_spec API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_target_from_spec API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Converts `spec` into an address and returns the result of `get_target` :API: public
"Converts `spec` into an address and returns the result of `get_target`\n\n :API: public"
3,372
true
pantsbuild/pants
get_target_from_spec
8,303
LDU_FT/AASHE/python-membersuite-api-client/request_session
LDU_FT
[ "<BEGIN>\n## `get_subscriptions`", "Fetches all subscriptions from Membersuite of a particular\n `publication_id` if set.\n<END>", "<BEGIN>\n## `get_org_types`", "Retrieves all current OrganizationType objects\n<END>", "<BEGIN>\n## `package_org_types`", "Loops through MS objects returned from queri...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request_session API. 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 request_session API. 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...
Performs initial request to initialize session and get session id necessary to construct all future requests. :return: Session ID to be placed in header of all other requests.
"Performs initial request to initialize session and get session id\n necessary to construct all future requests.\n :return: Session ID to be placed in header of all other requests."
46
false
AASHE/python-membersuite-api-client
request_session
8,304
LDU_FT/jaraco/keyrings.alt/_unlock
LDU_FT
[ "<BEGIN>\n## `_ensure_file_path`", "Ensure the storage path exists.\n If it doesn't, create it with \"go-rwx\" permissions.\n<END>", "<BEGIN>\n## `delete_password`", "Delete the password for the username of the service.\n<END>", "<BEGIN>\n## `get_password`", "Get password of the username for the se...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _unlock API. 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 _unlock API. 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...
Unlock this keyring by getting the password for the keyring from the user.
"Unlock this keyring by getting the password for the keyring from the\n user."
43
false
jaraco/keyrings.alt
_unlock
8,305
LDU_FT/bschollnick/semantic_url/change_subpage
LDU_FT
[ "<BEGIN>\n## `norm_page_cnt`", "Normalize a integer (page).", " * Ensure that it is greater than Zero, and is not None.\n - If less than 1, or None, set it to 1", " * if max_number is None, then do not check for max_number\n * if greater than max_number, reset it to be max_number\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the change_subpage API. 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 change_subpage API. 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...
Args: * offset - Integer - The positive / negative change to apply to the page. * max_page_count - The maximum number of pages available. * nom - None on Max or Min - If max number of pages reached, return none instead of forcing back into range. Returns: Boolean...
"Args:\n * offset - Integer - The positive / negative change to apply\n to the page.\n * max_page_count - The maximum number of pages available.\n * nom - None on Max or Min - If max number of pages reached,\n return none instead of forcing back into range.\n\n Returns:\n ...
61
false
bschollnick/semantic_url
change_subpage
8,306
LDU_FT/Fortran-FOSS-Programmers/ford/prune
LDU_FT
[ "<BEGIN>\n## `line_to_variables`", "Returns a list of variables declared in the provided line of code. The\n line of code should be provided as a string.\n<END>", "<BEGIN>\n## `parse_type`", "Gets variable type, kind, length, and/or derived-type attributes from a\n variable declaration.\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prune API. 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 prune API. 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...
Remove anything which shouldn't be displayed.
"Remove anything which shouldn't be displayed."
76
false
Fortran-FOSS-Programmers/ford
prune
8,307
LDU_FT/priestc/giotto/get_data_for_model
LDU_FT
[ "<BEGIN>\n## `get_response`", "High level function for getting a response. This is what the concrete\n controller should call. Returns a controller specific response.\n<END>", "<BEGIN>\n## `get_data_response`", "Execute the model and view, and handle the cache.\n Returns controller-agnostic resp...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_data_for_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_data_for_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
In comes args and kwargs expected for the model. Out comes the data from this invocation that will go to the model. In other words, this function does the "data negotiation" between the controller and the model.
"In comes args and kwargs expected for the model. Out comes the data from\n this invocation that will go to the model.\n In other words, this function does the \"data negotiation\" between the\n controller and the model."
75
false
priestc/giotto
get_data_for_model
8,308
LDU_FT/cltl/KafNafParserPy/create_from_targets
LDU_FT
[ "<BEGIN>\n## `set_id`", "Set the property identifier\n @type pid: string\n @param pid: property identifier\n<END>", "<BEGIN>\n## `add_property`", "Adds a new property to the property layer\n @type pid: string\n @param pid: property identifier\n @type label: string\n @...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_from_targets 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 create_from_targets 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...
Adds new targets to the span that are defined in a list @type list_targs: list @param list_targs: list of Ctargets
"Adds new targets to the span that are defined in a list\n @type list_targs: list\n @param list_targs: list of Ctargets"
270
false
cltl/KafNafParserPy
create_from_targets
8,309
LDU_FT/CartoDB/cartoframes/get_map_name
LDU_FT
[ "<BEGIN>\n## `get_scheme_cartocss`", "Get TurboCARTO CartoCSS based on input parameters\n<END>", "<BEGIN>\n## `custom`", "Create a custom scheme.", " Args:\n colors (list of str): List of hex values for styling data\n bins (int, optional): Number of bins to style by. If not given, the\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_map_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_map_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 extr...
Creates a map named based on supplied parameters
"Creates a map named based on supplied parameters"
217
false
CartoDB/cartoframes
get_map_name
8,310
LDU_FT/denniskempin/safetynet/FindParentMember
LDU_FT
[ "<BEGIN>\n## `_ValidateValue`", "Validate a single value with type_check.\n<END>", "<BEGIN>\n## `_ParseTypeCheckString`", "Convert string version of a type_check into a python instance.", " Type checks can be either defined directly in python code or in a string.\n The syntax is exactly the same since we ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the FindParentMember API. 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 FindParentMember API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Returns member by name from parent class if it exists.
"Returns member by name from parent class if it exists."
27
false
denniskempin/safetynet
FindParentMember
8,311
LDU_FT/toastdriven/alligator/build_backend
LDU_FT
[ "<BEGIN>\n## `run_forever`", "Causes the worker to run either forever or until the\n ``Worker.max_tasks`` are reached.\n<END>", "<BEGIN>\n## `to_call`", "Sets the function & its arguments to be called when the task is\n processed.", " Ex::", " task.to_call(my_function, 1, '...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_backend API. 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 build_backend API. 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...
Given a DSN, returns an instantiated backend class. Ex:: backend = gator.build_backend('locmem://') # ...or... backend = gator.build_backend('redis://127.0.0.1:6379/0') :param conn_string: A DSN for connecting to the queue. Passed along to the backend. ...
"Given a DSN, returns an instantiated backend class.\n\n Ex::\n\n backend = gator.build_backend('locmem://')\n # ...or...\n backend = gator.build_backend('redis://127.0.0.1:6379/0')\n\n :param conn_string: A DSN for connecting to the queue. Passed along\n to the...
181
false
toastdriven/alligator
build_backend
8,312
LDU_FT/Autodesk/pyccc/put
LDU_FT
[ "<BEGIN>\n## `persistent_id`", "Tags objects with a persistent ID, but do NOT emit it\n<END>", "<BEGIN>\n## `open`", "Return file-like object (actually opens the file for this class)\n<END>", "<BEGIN>\n## `_open_tmpfile`", "Open a temporary, unique file in CACHEDIR (/tmp/cyborgcache) by default.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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...
Write the file to the given path Args: filename (str): path to write this file to encoding (str): file encoding (default: system default) Returns: LocalFile: reference to the copy of the file stored at ``filename``
"Write the file to the given path\n\n Args:\n filename (str): path to write this file to\n encoding (str): file encoding (default: system default)\n\n Returns:\n LocalFile: reference to the copy of the file stored at ``filename``"
114
false
Autodesk/pyccc
put
8,313
LDU_FT/rfverbruggen/rachiopy/getForecast
LDU_FT
[ "<BEGIN>\n## `seasonalAdjustment`", "Seasonal adjustment for a schedule rule (watering time).", " This adjustment amount will be applied to the overall run time of the\n selected schedule while overriding any current adjustments.\n<END>", "<BEGIN>\n## `get`", "Retrieve the information for a sc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getForecast API. 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 getForecast API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Retrieve current and predicted forecast.
"Retrieve current and predicted forecast."
24
false
rfverbruggen/rachiopy
getForecast
8,314
LDU_FT/20c/munge/read
LDU_FT
[ "<BEGIN>\n## `find_datafile`", "find all matching data files in search_path\n search_path: path of directories to load from\n codecs: allow to override from list of installed\n returns array of tuples (codec_object, filename)\n<END>", "<BEGIN>\n## `load_datafile`", "find datafile and load them from c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
read config from config_dir if config_dir is None, clear to default config clear will clear to default before reading new file
"read config from config_dir\n if config_dir is None, clear to default config\n clear will clear to default before reading new file"
25
false
20c/munge
read
8,315
LDU_FT/yero13/na3x/agg_multi_func
LDU_FT
[ "<BEGIN>\n## `agg_multi_func`", "Aggregates several functions\n :param values: list of objects (dict)\n :param agg_field: target field to calculate aggregates\n :param agg_funcs: list of aggregate functions\n :param group_by: field used to determine group\n :return: dict {agg_fu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the agg_multi_func API. 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 agg_multi_func API. 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...
Aggregates several functions :param values: list of objects (dict) :param agg_field: target field to calculate aggregates :param agg_funcs: list of aggregate functions :param group_by: field used to determine group :return: dict {agg_func0: value, agg_func1: agg_value, ...}
"Aggregates several functions\n :param values: list of objects (dict)\n :param agg_field: target field to calculate aggregates\n :param agg_funcs: list of aggregate functions\n :param group_by: field used to determine group\n :return: dict {agg_func0: value, agg_func1: agg_value, ...}...
82
false
yero13/na3x
agg_multi_func
8,316
LDU_FT/nerdvegas/rez/visit_versions
LDU_FT
[ "<BEGIN>\n## `add_node`", "Add given node to the graph.", " @attention: While nodes can be of any type, it's strongly recommended to use only\n numbers and single-line strings as node identifiers if you intend to use write().", " @type node: node\n @param node: Node identifier.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_versions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_versions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Visit each version in the range, and apply a function to each. This is for advanced usage only. If `func` returns a `Version`, this call will change the versions in place. It is possible to change versions in a way that is nonsensical - for example setting an upper bound to a ...
"Visit each version in the range, and apply a function to each.\n\n This is for advanced usage only.\n\n If `func` returns a `Version`, this call will change the versions in\n place.\n\n It is possible to change versions in a way that is nonsensical - for\n example setting an upper bo...
2,330
true
nerdvegas/rez
visit_versions
8,317
LDU_FT/nabetama/slacky/access
LDU_FT
[ "<BEGIN>\n## `create`", "https://api.slack.com/methods/channels.create\n<END>", "<BEGIN>\n## `history`", "https://api.slack.com/methods/channels.history\n<END>", "<BEGIN>\n## `info`", "https://api.slack.com/methods/channels.info\n<END>", "<BEGIN>\n## `invite`", "https://api.slack.com/methods/channels....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the access API. 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 access API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
https://api.slack.com/methods/oauth.access
"https://api.slack.com/methods/oauth.access"
60
false
nabetama/slacky
access
8,318
LDU_FT/bububa/pyTOP/get_host
LDU_FT
[ "<BEGIN>\n## `ordersku_update`", "taobao.trade.ordersku.update 更新交易订单的销售属性", " 需要商家或以上权限才可调用此接口,可重复调用本接口更新交易备注,本接口同时具有添加备注的功能\n<END>", "<BEGIN>\n## `get`", "taobao.topats.result.get 获取异步任务结果", " 使用指南:http://open.taobao.com/doc/detail.htm?id=30 ", " - 1.此接口用于获取异步任务处理的结果,传入的task_id必需属...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_host API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_host API. 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...
Given a url, return its scheme, host and port (None if it's not there). For example: :: >>> get_host('http://google.com/mail/') ('http', 'google.com', None) >>> get_host('google.com:80') ('http', 'google.com', 80)
"Given a url, return its scheme, host and port (None if it's not there).\n\n For example: ::\n\n >>> get_host('http://google.com/mail/')\n ('http', 'google.com', None)\n >>> get_host('google.com:80')\n ('http', 'google.com', 80)"
619
false
bububa/pyTOP
get_host
8,319
LDU_FT/realestate-com-au/dashmat/read
LDU_FT
[ "<BEGIN>\n## `generate_dashboard_js`", "Given a dashboard, make the bundle javascript for it", " We also do some caching so we don't generate the javascript when nothing has changed", " First we generate the dashboard es6 content with dashboard.make_dashboard_module()\n we then write this to disk if ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Reads a given number of characters from the response. :param size: The number of characters to read, or "None" to read the entire response. :type size: ``integer`` or "None"
"Reads a given number of characters from the response.\n\n :param size: The number of characters to read, or \"None\" to read the\n entire response.\n :type size: ``integer`` or \"None\""
173
false
realestate-com-au/dashmat
read
8,320
LDU_FT/juju/charm-helpers/file_contents_safe
LDU_FT
[ "<BEGIN>\n## `get_ubuntu_release_from_sentry`", "Get Ubuntu release codename from sentry unit.", " :param sentry_unit: amulet sentry/service unit pointer\n :returns: list of strings - release codename, failure message\n<END>", "<BEGIN>\n## `validate_services`", "Validate that lists of commands...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_contents_safe 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 file_contents_safe 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 file contents from a sentry unit. Wrap amulet file_contents with retry logic to address races where a file checks as existing, but no longer exists by the time file_contents is called. Return None if file not found. Optionally raise if fatal is True.
"Get file contents from a sentry unit. Wrap amulet file_contents\n with retry logic to address races where a file checks as existing,\n but no longer exists by the time file_contents is called.\n Return None if file not found. Optionally raise if fatal is True."
1,689
true
juju/charm-helpers
file_contents_safe
8,321
LDU_FT/night-crawler/django-docker-helpers/get
LDU_FT
[ "<BEGIN>\n## `get`", ":param variable_path: a delimiter-separated path to a nested value\n :param default: default value if there's no object by specified path\n :param coerce_type: cast a type of a value to a specified one\n :param coercer: perform a type casting with specified callback\n ...
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...
:param variable_path: a delimiter-separated path to a nested value :param default: default value if there's no object by specified path :param coerce_type: cast a type of a value to a specified one :param coercer: perform a type casting with specified callback :param kwargs: additional a...
":param variable_path: a delimiter-separated path to a nested value\n :param default: default value if there's no object by specified path\n :param coerce_type: cast a type of a value to a specified one\n :param coercer: perform a type casting with specified callback\n :param kwargs: additio...
141
false
night-crawler/django-docker-helpers
get
8,322
LDU_FT/bigchaindb/bigchaindb/load_validation_plugin
LDU_FT
[ "<BEGIN>\n## `get`", "API endpoint to retrieve a list of links to transaction\n outputs.", " Returns:\n A :obj:`list` of :cls:`str` of links to outputs.\n<END>", "<BEGIN>\n## `run_configure`", "Run a script to configure the current node.\n<END>", "<BEGIN>\n## `run_election...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_validation_plugin 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 load_validation_plugin API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Find and load the chosen validation plugin. Args: name (string): the name of the entry_point, as advertised in the setup.py of the providing package. Returns: an uninstantiated subclass of ``bigchaindb.validation.AbstractValidationRules``
"Find and load the chosen validation plugin.\n\n Args:\n name (string): the name of the entry_point, as advertised in the\n setup.py of the providing package.\n\n Returns:\n an uninstantiated subclass of ``bigchaindb.validation.AbstractValidationRules``"
398
false
bigchaindb/bigchaindb
load_validation_plugin
8,323
LDU_FT/ofek/depq/insert
LDU_FT
[ "<BEGIN>\n## `binary_insert`", "Traditional binary search. Performance: O(n log n)\n<END>", "<BEGIN>\n## `insert`", "Adds item to DEPQ with given priority by performing a binary\n search on the concurrently rotating deque. Amount rotated R of\n DEPQ of length n would be n <= R <= 3n/2. Performan...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert API. 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 insert API. 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 ...
Adds item to DEPQ with given priority by performing a binary search on the concurrently rotating deque. Amount rotated R of DEPQ of length n would be n <= R <= 3n/2. Performance: O(n)
"Adds item to DEPQ with given priority by performing a binary\n search on the concurrently rotating deque. Amount rotated R of\n DEPQ of length n would be n <= R <= 3n/2. Performance: O(n)"
22
false
ofek/depq
insert
8,324
LDU_FT/consbio/parserutils/get_element_attributes
LDU_FT
[ "<BEGIN>\n## `create_element_tree`", "Creates an ElementTree from elem_or_name, updated it with text and attributes.\n If elem_or_name is None, a permanently empty ElementTree is returned.\n :param elem_or_name: an Element or the name of the root element tag\n :param text: optional text with which to upd...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_element_attributes 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_element_attributes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
:return: all the attributes for the parsed element if it has any, or an empty dict
":return: all the attributes for the parsed element if it has any, or an empty dict"
127
false
consbio/parserutils
get_element_attributes
8,325
LDU_FT/atarashansky/self-assembling-manifold/load_data
LDU_FT
[ "<BEGIN>\n## `preprocess_data`", "Log-normalizes and filters the expression data.", " Parameters\n ----------", " div : float, optional, default 1\n The factor by which the gene expression will be divided prior to\n log normalization.", " downsample : float,...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Loads the specified data file. The file can be a table of read counts (i.e. '.csv' or '.txt'), with genes as rows and cells as columns by default. The file can also be a pickle file (output from 'save_sparse_data') or an h5ad file (output from 'save_anndata'). This function that loads t...
"Loads the specified data file. The file can be a table of\n read counts (i.e. '.csv' or '.txt'), with genes as rows and cells\n as columns by default. The file can also be a pickle file (output from\n 'save_sparse_data') or an h5ad file (output from 'save_anndata').\n\n This function that l...
125
false
atarashansky/self-assembling-manifold
load_data
8,326
LDU_FT/sassoftware/epdb/set_trace_cond
LDU_FT
[ "<BEGIN>\n## `configure`", "Configure which kinds of exceptions trigger plugin.\n<END>", "<BEGIN>\n## `set_trace_cond`", "Sets a condition for set_trace statements that have the\n specified marker. A condition can either callable, in\n which case it should take one argument, which is the\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_trace_cond API. 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_trace_cond API. 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...
Sets a condition for set_trace statements that have the specified marker. A condition can be either callable, in which case it should take one argument, which is the number of times set_trace(marker) has been called, or it can be a number, in which case the break will ...
"Sets a condition for set_trace statements that have the\n specified marker. A condition can be either callable, in\n which case it should take one argument, which is the\n number of times set_trace(marker) has been called,\n or it can be a number, in which case the break wi...
31
false
sassoftware/epdb
set_trace_cond
8,327
LDU_FT/mohamedattahri/PyXMLi/__set_quantity
LDU_FT
[ "<BEGIN>\n## `c14n`", "Applies c14n to the xml input\n @param xml: str\n @return: str\n<END>", "<BEGIN>\n## `sign`", "Return xmldsig XML string from xml_string of XML.\n @param xml: str of bytestring xml to sign\n @param private: publicKey Private key\n @param public: publicKey Public key\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __set_quantity API. 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_quantity API. 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...
Sets the quantity @param value:str
"Sets the quantity\n @param value:str"
102
false
mohamedattahri/PyXMLi
__set_quantity
8,328
LDU_FT/google/pyringe/iter_locals
LDU_FT
[ "<BEGIN>\n## `StartExecServer`", "Opens a socket in /tmp, execs data from it and writes results back.\n<END>", "<BEGIN>\n## `ThreadsWithRunningExecServers`", "Returns a list of tids of inferior threads with open exec servers.\n<END>", "<BEGIN>\n## `Backtrace`", "Get a backtrace of the current position.\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_locals API. 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 iter_locals API. 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...
Yield a sequence of (name,value) pairs of PyObjectPtr instances, for the local variables of this frame
"Yield a sequence of (name,value) pairs of PyObjectPtr instances, for\n the local variables of this frame"
142
false
google/pyringe
iter_locals
8,329
LDU_FT/ggaughan/pipe2py/broadcast
LDU_FT
[ "<BEGIN>\n## `repr_args`", "formats a list of function arguments prettily but as working code", " (kwargs are tuples (argname, argvalue)\n<END>", "<BEGIN>\n## `repr_arg`", "formats a function argument prettily but as working code", " unicode encodable as ascii is formatted as str\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the broadcast API. 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 broadcast API. 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...
copies an iterable and delivers the items to multiple functions /--> foo2bar(_INPUT) --> \ / \ _INPUT ---> foo2baz(_INPUT) ---> _OUTPUT \ / \--> foo2qux(_INPUT) --> / One way to construct such a flow in code would be::...
"copies an iterable and delivers the items to multiple functions\n\n /--> foo2bar(_INPUT) --> \\\n / \\\n _INPUT ---> foo2baz(_INPUT) ---> _OUTPUT\n \\ /\n \\--> foo2qux(_INPUT) --> /\n\n One way to construct such a flow in co...
257
false
ggaughan/pipe2py
broadcast
8,330
LDU_FT/unfoldingWord-dev/python-gogs-client/remove_repo_from_team
LDU_FT
[ "<BEGIN>\n## `json_get`", "Retrieves the key from a parsed_json dictionary, or raises an exception if the\n key is not present\n<END>", "<BEGIN>\n## `append_url`", "Append path to base_url in a sensible way.\n<END>", "<BEGIN>\n## `authenticated_user`", "Returns the user authenticated by ``auth``", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_repo_from_team API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_repo_from_team API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Remove repo from team. :param auth.Authentication auth: authentication object, must be admin-level :param str team_id: Team's id :param str repo_name: Name of the repo to be removed from the team :raises NetworkFailure: if there is an error communicating with the server :raises ...
"Remove repo from team.\n\n :param auth.Authentication auth: authentication object, must be admin-level\n :param str team_id: Team's id\n :param str repo_name: Name of the repo to be removed from the team\n :raises NetworkFailure: if there is an error communicating with the server\n :...
123
false
unfoldingWord-dev/python-gogs-client
remove_repo_from_team
8,331
LDU_FT/jaraco/keyrings.alt/_init_file
LDU_FT
[ "<BEGIN>\n## `_ensure_file_path`", "Ensure the storage path exists.\n If it doesn't, create it with \"go-rwx\" permissions.\n<END>", "<BEGIN>\n## `delete_password`", "Delete the password for the username of the service.\n<END>", "<BEGIN>\n## `get_password`", "Get password of the username for the se...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Initialize a new password file and set the reference password.
"Initialize a new password file and set the reference password."
43
false
jaraco/keyrings.alt
_init_file
8,332
LDU_FT/quantumlib/Cirq/auto_delete_pr_branch
LDU_FT
[ "<BEGIN>\n## `_absorb_z_into_w`", "Absorbs a Z^t gate into a W(a) flip.", " [Where W(a) is shorthand for PhasedX(phase_exponent=a).]", " Uses the following identity:\n ───W(a)───Z^t───\n ≡ ───W(a)───────────Z^t/2──────────Z^t/2─── (split Z)\n ≡ ───W(a)───W(a)───Z^-t/2───W(a)───Z^t/2...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auto_delete_pr_branch 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 auto_delete_pr_branch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
References: https://developer.github.com/v3/git/refs/#delete-a-reference
"References:\n https://developer.github.com/v3/git/refs/#delete-a-reference"
1,764
true
quantumlib/Cirq
auto_delete_pr_branch
8,333
LDU_FT/AnalogJ/lexicon/_list_records_in_zone
LDU_FT
[ "<BEGIN>\n## `_authenticate`", "Authenticate with netcup server. Must be called first.\n<END>", "<BEGIN>\n## `_create_record`", "Create record. If it already exists, do nothing.\n<END>", "<BEGIN>\n## `_list_records`", "List all records. Return an empty list if no records found.\n ``rtype``, ``name`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _list_records_in_zone 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 _list_records_in_zone API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Iterates over all records of the zone and returns a list of records filtered by record type, name and content. The list is empty if no records found.
"Iterates over all records of the zone and returns a list of records filtered\n by record type, name and content. The list is empty if no records found."
218
false
AnalogJ/lexicon
_list_records_in_zone
8,334
LDU_FT/trolldbois/ctypeslib/make_ctypes_convertor
LDU_FT
[ "<BEGIN>\n## `init_fundamental_types`", "Registers all fundamental typekind handlers\n<END>", "<BEGIN>\n## `_handle_fundamental_types`", "Handles POD types nodes.\n see init_fundamental_types for the registration.\n<END>", "<BEGIN>\n## `_array_handler`", "Handles all array types.\n Resolves ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_ctypes_convertor API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_ctypes_convertor API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Fix clang types to ctypes convertion for this parsing isntance. Some architecture dependent size types ahve to be changed if the target architecture is not the same as local
"Fix clang types to ctypes convertion for this parsing isntance.\n Some architecture dependent size types ahve to be changed if the target\n architecture is not the same as local"
88
false
trolldbois/ctypeslib
make_ctypes_convertor
8,335
LDU_FT/SeabornGames/Table/list_to_obj
LDU_FT
[ "<BEGIN>\n## `list_to_obj`", ":param list_: list of list or list of dictionary to use as the\n source\n :param columns: list of strings to label the columns when\n converting to str\n :param row_columns: list of columns in the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_to_obj API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_to_obj API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
:param list_: list of list or list of dictionary to use as the source :param columns: list of strings to label the columns when converting to str :param row_columns: list of columns in the actually data :param tab: ...
":param list_: list of list or list of dictionary to use as the\n source\n :param columns: list of strings to label the columns when\n converting to str\n :param row_columns: list of columns in the actually data\n :param tab:...
93
false
SeabornGames/Table
list_to_obj
8,336
LDU_FT/pyGrowler/Growler/routerify
LDU_FT
[ "<BEGIN>\n## `create`", "Create a new prototype object with the argument as the source\n prototype.", " .. Note:", " This does not `initialize` the newly created object any\n more than setting its prototype.\n Calling the __init__ method is usually unnecessary as...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the routerify API. 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 routerify API. 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...
Scan through attributes of object parameter looking for any which match a route signature. A router will be created and added to the object with parameter. Args: obj (object): The object (with attributes) from which to setup a router Returns: Router: The router created from...
"Scan through attributes of object parameter looking for any which\n match a route signature.\n A router will be created and added to the object with parameter.\n\n Args:\n obj (object): The object (with attributes) from which to\n setup a router\n\n Returns:\n Router: The router cr...
203
false
pyGrowler/Growler
routerify
8,337
LDU_FT/the01/paps-settings/get_version
LDU_FT
[ "<BEGIN>\n## `get_file_hash`", "Generate hash for given file", " :param file_path: Path to file\n :type file_path: str\n :param block_size: Size of block to be read at once (default: 1024)\n :type block_size: int\n :param hasher: Use specific hasher, defaults to md5 (default: None)\n :type has...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Parse the version information from the init file
"Parse the version information from the init file"
40
false
the01/paps-settings
get_version
8,338
LDU_FT/molmod/molmod/yield_pair_gradients
LDU_FT
[ "<BEGIN>\n## `atom_criteria`", "An auxiliary function to construct a dictionary of Criteria\n<END>", "<BEGIN>\n## `_check_symbols`", "the size must be the same as the length of the array numbers and all elements must be strings\n<END>", "<BEGIN>\n## `from_geometry`", "Construct a MolecularGraph object bas...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the yield_pair_gradients 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 yield_pair_gradients API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Yields pairs ((s'(r_ij), grad_i v(bar{r}_ij))
"Yields pairs ((s'(r_ij), grad_i v(bar{r}_ij))"
657
false
molmod/molmod
yield_pair_gradients
8,339
LDU_FT/EmbodiedCognition/py-c3d/_write_metadata
LDU_FT
[ "<BEGIN>\n## `write`", "Write binary header data to a file handle.", " This method writes exactly 512 bytes to the beginning of the given file\n handle.", " Parameters\n ----------\n handle : file handle\n The given handle will be reset to 0 using `seek` and then ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write_metadata API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write_metadata API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Write metadata to a file handle. Parameters ---------- handle : file Write metadata and C3D motion frames to the given file handle. The writer does not close the handle.
"Write metadata to a file handle.\n\n Parameters\n ----------\n handle : file\n Write metadata and C3D motion frames to the given file handle. The\n writer does not close the handle."
61
false
EmbodiedCognition/py-c3d
_write_metadata
8,340
LDU_FT/polysquare/cmake-ast/_print_details
LDU_FT
[ "<BEGIN>\n## `run`", "Set up language runtimes and pass control to python project script.\n<END>", "<BEGIN>\n## `_node`", "Return an _AbstractSyntaxTreeNode with some elements defaulted.\n<END>", "<BEGIN>\n## `_recurse`", "Recursive print worker - recurses the AST and prints each node.\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _print_details API. 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 _print_details API. 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...
Return a function that prints node details.
"Return a function that prints node details."
66
false
polysquare/cmake-ast
_print_details
8,341
LDU_FT/radical-cybertools/radical.entk/visit
LDU_FT
[ "<BEGIN>\n## `resolve_placeholders`", "**Purpose**: Substitute placeholders in staging attributes of a Task with actual paths to the corresponding tasks.", " :arguments:\n :path: string describing the staging paths, possibly containing a placeholder\n :placeholder_dict: dictionary holding the v...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit API. 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 visit API. 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...
Visit directory, create distutil tuple Add distutil tuple for each directory using this format: (destination, [dirname/file1, dirname/file2, ...]) distutil will copy later file1, file2, ... info destination.
"Visit directory, create distutil tuple\n Add distutil tuple for each directory using this format:\n (destination, [dirname/file1, dirname/file2, ...])\n distutil will copy later file1, file2, ... info destination."
146
false
radical-cybertools/radical.entk
visit
8,342
LDU_FT/martin-majlis/Wikipedia-API/sections
LDU_FT
[ "<BEGIN>\n## `page`", "Constructs Wikipedia page with title `title`.", " Creating `WikipediaPage` object is always the first step for extracting any information.", " Example::", " wiki_wiki = wikipediaapi.Wikipedia('en')\n page_py = wiki_wiki.page('Python_(programming_lan...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sections API. 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 sections API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns all sections of the curent page. :return: List of :class:`WikipediaPageSection`
"Returns all sections of the curent page.\n\n :return: List of :class:`WikipediaPageSection`"
55
false
martin-majlis/Wikipedia-API
sections
8,343
LDU_FT/spacetelescope/drizzlepac/_getInputImage
LDU_FT
[ "<BEGIN>\n## `check_and_get_data`", "Verify that all specified files are present. If not, retrieve them from MAST.", " Parameters\n ----------\n input_list : list\n List of one or more calibrated fits images that will be used for catalog generation.", " Returns\n =======\n total_input...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _getInputImage API. 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 _getInputImage API. 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...
Factory function to return appropriate imageObject class instance
"Factory function to return appropriate imageObject class instance"
1,138
true
spacetelescope/drizzlepac
_getInputImage
8,344
LDU_FT/20c/munge/write
LDU_FT
[ "<BEGIN>\n## `find_datafile`", "find all matching data files in search_path\n search_path: path of directories to load from\n codecs: allow to override from list of installed\n returns array of tuples (codec_object, filename)\n<END>", "<BEGIN>\n## `load_datafile`", "find datafile and load them from c...
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 config to config_dir using config_name
"writes config to config_dir using config_name"
25
false
20c/munge
write
8,345
LDU_FT/Zaeb0s/epoll-socket-server/_subthread_handle_accepted
LDU_FT
[ "<BEGIN>\n## `handle_readable`", "Return True: The client is re-registered to the selector object.\n Return False: The server disconnects the client.\n<END>", "<BEGIN>\n## `_mainthread_accept_clients`", "Accepts new clients and sends them to the to _handle_accepted within a subthread\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _subthread_handle_accepted API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _subthread_handle_accepted API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Gets accepted clients from the queue object and sets up the client socket. The client can then be found in the clients dictionary with the socket object as the key.
"Gets accepted clients from the queue object and sets up the client socket.\n The client can then be found in the clients dictionary with the socket object\n as the key."
10
false
Zaeb0s/epoll-socket-server
_subthread_handle_accepted
8,346
LDU_FT/xaptum/xtt-python/to_bytes
LDU_FT
[ "<BEGIN>\n## `create_ecdsap256_key_pair`", "Create a new ECDSAP256 key pair.", " :returns: a tuple of the public and private keys\n<END>", "<BEGIN>\n## `to_bytes`", "Converts the string to a bytes type, if not already.", " :s: the string to convert to bytes\n :returns: `str` on Python2 and `bytes...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_bytes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_bytes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Converts the string to a bytes type, if not already. :s: the string to convert to bytes :returns: `str` on Python2 and `bytes` on Python3.
"Converts the string to a bytes type, if not already.\n\n :s: the string to convert to bytes\n :returns: `str` on Python2 and `bytes` on Python3."
26
false
xaptum/xtt-python
to_bytes
8,347
LDU_FT/SiLab-Bonn/online_monitor/_setup_backend
LDU_FT
[ "<BEGIN>\n## `parse_args`", "Parse an argument string", " http://stackoverflow.com/questions/18160078/\n how-do-you-write-tests-for-the-argparse-portion-of-a-python-module\n<END>", "<BEGIN>\n## `_factory`", "Load a module of a given base class type", " Parameter\n --------\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _setup_backend API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _setup_backend API. 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...
Send sockets facing services (e.g. online monitor, other forwarders)
"Send sockets facing services (e.g. online monitor, other forwarders)"
21
false
SiLab-Bonn/online_monitor
_setup_backend
8,348
LDU_FT/eagleflo/mpyq/extract
LDU_FT
[ "<BEGIN>\n## `read_table`", "Read either the hash or block table of a MPQ archive.\n<END>", "<BEGIN>\n## `get_hash_table_entry`", "Get the hash table entry corresponding to a given filename.\n<END>", "<BEGIN>\n## `extract`", "Extract all the files inside the MPQ archive in memory.\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract API. 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 extract API. 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...
Extract all the files inside the MPQ archive in memory.
"Extract all the files inside the MPQ archive in memory."
16
false
eagleflo/mpyq
extract
8,349
LDU_FT/mikeboers/sitetools/expand_user
LDU_FT
[ "<BEGIN>\n## `_process_pth`", "Process a ``.pth`` file similar to site.addpackage(...).\n<END>", "<BEGIN>\n## `add_site_list`", "Add a list of pseudo site-packages to :data:`python:sys.path`.", " This centers the list on ``sys.path`` around the current environment.\n I.e. if this environment is in the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expand_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expand_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 extra...
Roughly the same as os.path.expanduser, but you can pass a default user.
"Roughly the same as os.path.expanduser, but you can pass a default user."
43
false
mikeboers/sitetools
expand_user
8,350
LDU_FT/mdavidsaver/p4p/get
LDU_FT
[ "<BEGIN>\n## `_sync`", "I will wait until all pending handlers cothreads have completed\n<END>", "<BEGIN>\n## `close`", "Close PV, disconnecting any clients.", " :param bool destroy: Indicate \"permanent\" closure. Current clients will not see subsequent open().\n :param bool sync: When block...
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...
Begin Fetch of current value of a PV :param name: A single name string or list of name strings :param request: A :py:class:`p4p.Value` or string to qualify this request, or None to use a default. :param callable handler: Completion notification. Called with a Value, RemoteError, or Cancelled ...
"Begin Fetch of current value of a PV\n\n :param name: A single name string or list of name strings\n :param request: A :py:class:`p4p.Value` or string to qualify this request, or None to use a default.\n :param callable handler: Completion notification. Called with a Value, RemoteError, or Cancel...
201
false
mdavidsaver/p4p
get
8,351
LDU_FT/mikeywaites/flask-arrested/delete_object
LDU_FT
[ "<BEGIN>\n## `process`", "Process the provided data and invoke :meth:`Handler.handle` method for this\n Handler class.", " :params data: The data being processed.\n :returns: self\n :rtype: :class:`Handler`", " .. code-block:: python", " def post(self, *args, **...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_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 delete_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...
Deletes an object from the session by calling session.delete and then commits the changes to the database. :param obj: The SQLAlchemy instance being deleted :returns: None
"Deletes an object from the session by calling session.delete and then commits\n the changes to the database.\n\n :param obj: The SQLAlchemy instance being deleted\n :returns: None"
99
false
mikeywaites/flask-arrested
delete_object
8,352
LDU_FT/pirate/mesh-networking/run
LDU_FT
[ "<BEGIN>\n## `_generate_MAC`", "generate a non-guaranteed-unique mac address\n<END>", "<BEGIN>\n## `run`", "runloop that gets triggered by node.start()\n reads new packets off the link and feeds them to recv()\n<END>", "<BEGIN>\n## `recv`", "run incoming packet through the filters, then place it in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
runloop that reads packets off the node's incoming packet buffer (node.inq)
"runloop that reads packets off the node's incoming packet buffer (node.inq)"
44
false
pirate/mesh-networking
run
8,353
LDU_FT/ly0/baidupcsapi/delete
LDU_FT
[ "<BEGIN>\n## `__err_handler`", "百度网盘下载错误控制\n :param act: 出错时的行为, 有 download\n :param errno: 出错时的errno,这个要配合act才有实际意义\n :param callback: 返回时的调用函数, 为空时返回None\n :param args: 给callback函数的参数tuple\n :param kwargs: 给callback函数的带名参数字典", " 在本函数调用后一定可以解决提交过来的问题, 在外部不需要重复检查是否存在原问题...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
删除文件或文件夹 :param path_list: 待删除的文件或文件夹列表,每一项为服务器路径 :type path_list: list
"删除文件或文件夹\n\n :param path_list: 待删除的文件或文件夹列表,每一项为服务器路径\n :type path_list: list"
222
false
ly0/baidupcsapi
delete
8,354
LDU_FT/a1ezzz/wasp-general/has_capabilities
LDU_FT
[ "<BEGIN>\n## `connect`", ":meth:`.WNetworkClientProto.connect` method implementation\n<END>", "<BEGIN>\n## `scheme_specification`", ":meth:`.WSchemeHandler.scheme_specification` method implementation\n<END>", "<BEGIN>\n## `upload_file`", ":meth:`.WNetworkClientProto.upload_file` method implementation\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_capabilities API. 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 has_capabilities API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Overrides original :meth:`.WCapabilitiesHolder.has_capabilities` method to support :class:`.WNetworkClientCapabilities` as a capability value
"Overrides original :meth:`.WCapabilitiesHolder.has_capabilities` method to support\n\t\t:class:`.WNetworkClientCapabilities` as a capability value"
917
false
a1ezzz/wasp-general
has_capabilities
8,355
LDU_FT/playpauseandstop/rororo/validate_request
LDU_FT
[ "<BEGIN>\n## `str_to_timedelta`", "Convert string value to timedelta instance according to the given format.", " If format not set function tries to load timedelta using default\n ``TIMEDELTA_FORMAT`` and then both of magic \"full\" formats.", " You should also specify list of formats and function tr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_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 ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_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 ...
r"""Validate request data against request schema from module. :param data: Request data. :param \*additional: Additional data dicts to be merged with base request data. :param merged_class: When additional data dicts supplied method by default will return mer...
"r\"\"\"Validate request data against request schema from module.\n\n :param data: Request data.\n :param \\*additional:\n Additional data dicts to be merged with base request data.\n :param merged_class:\n When additional data dicts supplied method by default will return\n ...
128
false
playpauseandstop/rororo
validate_request
8,356
LDU_FT/CygnusNetworks/pypureomapi/write
LDU_FT
[ "<BEGIN>\n## `parse_chain`", "Creates a new parser that executes the passed parsers (args) with the\n\tprevious results and yields a tuple of the results.", "\t>>> list(parse_chain(lambda: (None, 1), lambda one: (None, 2)))\n\t[None, None, (1, 2)]", "\t@param args: parsers\n\t@returns: parser\n<END>", "<BEG...
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...
Send all of data to the connection. @type data: bytes @raises socket.error:
"Send all of data to the connection.\n\n\t\t@type data: bytes\n\t\t@raises socket.error:"
114
false
CygnusNetworks/pypureomapi
write
8,357
LDU_FT/exa-analytics/exa/pandas_dataframe
LDU_FT
[ "<BEGIN>\n## `_create`", "Globally called function for creating the isotope/element API.\n<END>", "<BEGIN>\n## `read_tarball`", "Read a (possibly compressed) tarball archive and return a dictionary of\n editors.", " .. code-block:: python", " eds = read_tarball(path, classes=MyEditor) # Al...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pandas_dataframe API. 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 pandas_dataframe API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Returns the result of tab-separated pandas.read_csv on a subset of the file. Args: start (int): line number where structured data starts stop (int): line number where structured data stops ncol (int or list): the number of columns in the structured da...
"Returns the result of tab-separated pandas.read_csv on\n a subset of the file.\n\n Args:\n start (int): line number where structured data starts\n stop (int): line number where structured data stops\n ncol (int or list): the number of columns in the structured\n ...
194
false
exa-analytics/exa
pandas_dataframe
8,358
LDU_FT/ome/omego/bin
LDU_FT
[ "<BEGIN>\n## `entry_point`", "External entry point which calls main() and\n if Stop is raised, calls sys.exit()\n<END>", "<BEGIN>\n## `open_url`", "Open a URL using an opener that will simulate a browser user-agent\n url: The URL\n httpuser, httppassword: HTTP authentication credentials (either both ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bin API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bin API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Runs the omero command-line client with an array of arguments using the old environment
"Runs the omero command-line client with an array of arguments using the\n old environment"
72
false
ome/omego
bin
8,359
LDU_FT/weld-project/weld/array
LDU_FT
[ "<BEGIN>\n## `to_weld_type`", "Summary", " Args:\n weld_type (TYPE): Description\n dim (TYPE): Description", " Returns:\n TYPE: Description\n<END>", "<BEGIN>\n## `evaluate`", "Summary", " Args:\n verbose (bool, optional): Description\n decode (bool...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the array API. 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 array API. 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...
Wrapper around weldarray - first create np.array and then convert to weldarray.
"Wrapper around weldarray - first create np.array and then convert to\n weldarray."
210
false
weld-project/weld
array
8,360
LDU_FT/jldbc/pybaseball/batting_stats_range
LDU_FT
[ "<BEGIN>\n## `process_win_streak`", "Convert \"+++\"/\"---\" formatted win/loss streak column into a +/- integer column\n<END>", "<BEGIN>\n## `split_request`", "Splits Statcast queries to avoid request timeouts\n<END>", "<BEGIN>\n## `statcast_pitcher`", "Pulls statcast pitch-level data from Baseball Savan...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the batting_stats_range 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 batting_stats_range API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Get all batting stats for a set time range. This can be the past week, the month of August, anything. Just supply the start and end date in YYYY-MM-DD format.
"Get all batting stats for a set time range. This can be the past week, the\n month of August, anything. Just supply the start and end date in YYYY-MM-DD\n format."
46
false
jldbc/pybaseball
batting_stats_range
8,361
LDU_FT/corpusops/pdbclone/user_line
LDU_FT
[ "<BEGIN>\n## `parse_gdb_version`", "r\"\"\"Parse the gdb version from the gdb header.", " From GNU coding standards: the version starts after the last space of the\n first line.", " >>> DOCTEST_GDB_VERSIONS = [\n ... r'~\"GNU gdb (GDB) 7.5.1\\n\"',\n ... r'~\"GNU gdb (Sourcery CodeBench Lite 20...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_line API. 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 user_line API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
This function is called when we stop or break at this line.
"This function is called when we stop or break at this line."
129
false
corpusops/pdbclone
user_line
8,362
LDU_FT/robertmartin8/PyPortfolioOpt/ema_historical_return
LDU_FT
[ "<BEGIN>\n## `negative_sharpe`", "Calculate the negative Sharpe ratio of a portfolio", " :param weights: asset weights of the portfolio\n :type weights: np.ndarray\n :param expected_returns: expected return of each asset\n :type expected_returns: pd.Series\n :param cov_matrix: the covariance matr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ema_historical_return 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 ema_historical_return API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Calculate the exponentially-weighted mean of (daily) historical returns, giving higher weight to more recent data. :param prices: adjusted closing prices of the asset, each row is a date and each column is a ticker/id. :type prices: pd.DataFrame :param frequency: number of time perio...
"Calculate the exponentially-weighted mean of (daily) historical returns, giving\n higher weight to more recent data.\n\n :param prices: adjusted closing prices of the asset, each row is a date\n and each column is a ticker/id.\n :type prices: pd.DataFrame\n :param frequency: number of tim...
90
false
robertmartin8/PyPortfolioOpt
ema_historical_return
8,363
LDU_FT/thomasdelaet/python-velbus/sync_clock
LDU_FT
[ "<BEGIN>\n## `_name_messages_complete`", "Check if all name messages have been received\n<END>", "<BEGIN>\n## `populate`", "-DB1 last bit = local_control\n -DB1 bit 2+3 = status_mode\n -DB1 bit 4 = auto send\n -DB1 bit 5+6+7 = mode\n -DB1 ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sync_clock API. 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 sync_clock API. 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...
This will send all the needed messages to sync the cloc
"This will send all the needed messages to sync the cloc"
38
false
thomasdelaet/python-velbus
sync_clock
8,364
LDU_FT/CyberReboot/vent/on_get
LDU_FT
[ "<BEGIN>\n## `gpu_queue`", "Queued up containers waiting for GPU resources\n<END>", "<BEGIN>\n## `file_queue`", "Processes files that have been added from the rq-worker, starts plugins\n that match the mime type for the new file.\n<END>", "<BEGIN>\n## `inventory`", "Return a dictionary of the inventory...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_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 on_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 ...
Send a GET request to get the list of all available network interfaces
"Send a GET request to get the list of all available network interfaces"
141
false
CyberReboot/vent
on_get
8,365
LDU_FT/AutomatedTester/Bugsy/component
LDU_FT
[ "<BEGIN>\n## `get`", "Get a bug from Bugzilla. If there is a login token created during\n object initialisation it will be part of the query string passed to\n Bugzilla", " :param bug_number: Bug Number that will be searched. If found will\n return ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the component API. 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 component API. 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...
r""" When search() is called it will limit results to items in a component. :param component: items passed in will be turned into a list :returns: :class:`Search`
"r\"\"\"\n When search() is called it will limit results to items in a component.\n\n :param component: items passed in will be turned into a list\n :returns: :class:`Search`"
44
false
AutomatedTester/Bugsy
component
8,366
LDU_FT/GNS3/gns3-server/adapter_add_nio_binding
LDU_FT
[ "<BEGIN>\n## `_asyncio_open_serial_windows`", "Open a windows named pipe", " :returns: An IO like object\n<END>", "<BEGIN>\n## `_asyncio_open_serial_unix`", "Open a unix socket or a windows named pipe", " :returns: An IO like object\n<END>", "<BEGIN>\n## `_choose_capture_side`", "Run capture on ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the adapter_add_nio_binding 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 adapter_add_nio_binding API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Adds an adapter NIO binding. :param adapter_number: adapter number :param nio: NIO instance to add to the slot/port
"Adds an adapter NIO binding.\n\n\n :param adapter_number: adapter number\n :param nio: NIO instance to add to the slot/port"
1,412
true
GNS3/gns3-server
adapter_add_nio_binding
8,367
LDU_FT/erinn/comodo_api/collect
LDU_FT
[ "<BEGIN>\n## `_create_error`", "Construct an error message in jsend format.", " :param int status_code: The status code to translate into an error message\n :return: A dictionary in jsend format with the error and the code\n :rtype: dict\n<END>", "<BEGIN>\n## `get_cert_types`", "Collect...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Poll for certificate availability after submission. :param int cert_id: The certificate ID :param str format_type: The format type to use (example: 'X509 PEM Certificate only') :return: The certificate_id or the certificate depending on whether the certificate is ready (check status code) ...
"Poll for certificate availability after submission.\n\n :param int cert_id: The certificate ID\n :param str format_type: The format type to use (example: 'X509 PEM Certificate only')\n :return: The certificate_id or the certificate depending on whether the certificate is ready (check status code)\...
15
false
erinn/comodo_api
collect
8,368
LDU_FT/timdiels/pytil/hash
LDU_FT
[ "<BEGIN>\n## `load`", "Load configuration (from configuration files).", " Parameters\n ----------\n path : ~pathlib.Path or None\n Path to configuration file, which must exist; or path to directory\n containing a configuration file; or None.", " Returns\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hash API. 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 hash API. 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...
Hash file or directory. Parameters ---------- path : ~pathlib.Path File or directory to hash. hash_function : ~typing.Callable[[], hash object] Function which creates a hashlib hash object when called. Defaults to ``hashlib.sha512``. Returns ------- hash object ...
"Hash file or directory.\n\n Parameters\n ----------\n path : ~pathlib.Path\n File or directory to hash.\n hash_function : ~typing.Callable[[], hash object]\n Function which creates a hashlib hash object when called. Defaults to\n ``hashlib.sha512``.\n\n Returns\n -------\n has...
147
false
timdiels/pytil
hash
8,369
LDU_FT/tchellomello/python-arlo/http_stream
LDU_FT
[ "<BEGIN>\n## `query`", "Return a JSON object or raw session.", " :param url: Arlo API URL\n :param method: Specify the method GET, POST or PUT. Default is GET.\n :param extra_params: Dictionary to be appended on request.body\n :param extra_headers: Dictionary to be apppended on requ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the http_stream API. 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 http_stream API. 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...
Generate stream for a given record video. :param chunk: chunk bytes to read per time :returns generator object
"Generate stream for a given record video.\n\n :param chunk: chunk bytes to read per time\n :returns generator object"
69
false
tchellomello/python-arlo
http_stream
8,370
LDU_FT/micolous/python-slackrealtime/find_im_by_user_name
LDU_FT
[ "<BEGIN>\n## `sendCommand`", "Sends a raw command to the Slack server, generating a message ID automatically.\n<END>", "<BEGIN>\n## `sendChatMessage`", "Sends a chat message to a given id, user, group or channel.", "\t\tIf the API token is not a bot token (xoxb), ``send_with_api`` may be set\n\t\tto True. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_im_by_user_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_im_by_user_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. ...
Finds the ID of the IM with a particular user by name, with the option to automatically create a new channel if it doesn't exist.
"Finds the ID of the IM with a particular user by name, with the option\n\t\tto automatically create a new channel if it doesn't exist."
27
false
micolous/python-slackrealtime
find_im_by_user_name
8,371
LDU_FT/cdgriffith/Reusables/remove_file_handlers
LDU_FT
[ "<BEGIN>\n## `datetime_format`", "Replaces format style phrases (listed in the dt_exps dictionary)\n with this datetime instance's information.", " .. code :: python", " reusables.datetime_format(\"Hey, it's {month-full} already!\")\n \"Hey, it's March already!\"", " :param desired_fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_file_handlers API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_file_handlers API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Remove only file handlers from the specified logger. Will go through and close each handler for safety. :param logger: logging name or object to modify, defaults to root logger
"Remove only file handlers from the specified logger. Will go through\n and close each handler for safety.\n\n :param logger: logging name or object to modify, defaults to root logger"
320
false
cdgriffith/Reusables
remove_file_handlers
8,372